# boy_updater

if $ARGS[0] = 'home_update':
	if $npc_residence[$boy] = '':
		if npc_residence[$boy] = 1:
			npc_finance[$boy] = 0
			$npc_residence[$boy] = 'pav_res'
		elseif npc_residence[$boy] = 2:
			npc_finance[$boy] = 0
			$npc_residence[$boy] = 'student_dorms'
		elseif npc_residence[$boy] = 3:
			npc_finance[$boy] = rand(1,2)
			$npc_residence[$boy] = 'city_res'
		elseif npc_residence[$boy] = 4:
			npc_finance[$boy] = 2
			$npc_residence[$boy] = 'city_center'
		end
	end
end

if $ARGS[0] = 'fav_body_part':
	if $npc_fav_body_part[$boy] = '':
		if rand(1,4) = 1:
			$npc_fav_body_part[$boy] = 'pussy'
		elseif rand(1,3) = 1:
			$npc_fav_body_part[$boy] = 'tits'
		elseif rand(1,2) = 2:
			$npc_fav_body_part[$boy] = 'ass'
		else
			$npc_fav_body_part[$boy] = 'thighs'
		end
	end
end

if $ARGS[0] = 'dick_update':
	if $npc_dick_desc[$boy] = '':
		if npc_dick[$boy] < 10:
			if $npc_thdick[$boy] = 'skinny' or $npc_thdick[$boy] = 'slim':
				$npc_dick_desc[$boy] = 'tiny'
			elseif $npc_thdick[$boy] = 'well proportioned' or $npc_thdick[$boy] = 'thicker than average':
				$npc_dick_desc[$boy] = 'short'
			elseif $npc_thdick[$boy] = 'thick' or $npc_thdick[$boy] = 'massive' or $npc_thdick[$boy] = 'monstrous':
				$npc_dick_desc[$boy] = 'chode'
			end
		elseif npc_dick[$boy] < 16:
			if $npc_thdick[$boy] = 'skinny' or $npc_thdick[$boy] = 'slim':
				$npc_dick_desc[$boy] = 'skinny'
			elseif $npc_thdick[$boy] = 'well proportioned' or $npc_thdick[$boy] = 'thicker than average':
				$npc_dick_desc[$boy] = 'normal'
			elseif $npc_thdick[$boy] = 'thick' or $npc_thdick[$boy] = 'massive' or $npc_thdick[$boy] = 'monstrous':
				$npc_dick_desc[$boy] = 'thick'
			end
		elseif npc_dick[$boy] < 20:
			if $npc_thdick[$boy] = 'skinny' or $npc_thdick[$boy] = 'slim':
				$npc_dick_desc[$boy] = 'long'
			elseif $npc_thdick[$boy] = 'well proportioned' or $npc_thdick[$boy] = 'thicker than average':
				$npc_dick_desc[$boy] = 'huge'
			elseif $npc_thdick[$boy] = 'thick' or $npc_thdick[$boy] = 'massive' or $npc_thdick[$boy] = 'monstrous':
				$npc_dick_desc[$boy] = 'enormous'
			end

		else
			if $npc_thdick[$boy] = 'skinny' or $npc_thdick[$boy] = 'slim':
				$npc_dick_desc[$boy] = 'lengthy'
			elseif $npc_thdick[$boy] = 'well proportioned' or $npc_thdick[$boy] = 'thicker than average':
				$npc_dick_desc[$boy] = 'gigantic'
			elseif $npc_thdick[$boy] = 'thick' or $npc_thdick[$boy] = 'massive' or $npc_thdick[$boy] = 'monstrous':
				$npc_dick_desc[$boy] = 'monster'
			end
		end
	end
end

if $ARGS[0] = 'stamina_update':
	if npc_sex_stamina[$boy] = 0: npc_sex_stamina[$boy] = rand(1,10)
end

if $ARGS[0] = 'humor_update':
	if $npc_humor[$boy] = '':
		if npc_humor[$boy] = 1:
			$npc_humor[$boy] = 'childish'
		elseif npc_humor[$boy] = 2:
			$npc_humor[$boy] = 'perverted'
		elseif npc_humor[$boy] = 3:
			$npc_humor[$boy] = 'intellectual'
		end
	end
end


if $ARGS[0] = 'schedule_update':
	if npc_start_free_time[$boy] = 0:
		if npc_finance[$boy] = 0:
			if rand(1,3) = 1:
				npc_start_free_time[$boy] = 8
				npc_end_free_time[$boy] = 12
				
				npc_work_start[$boy] = 13
				npc_work_end[$boy] = 21
				
			elseif rand(1,2) = 1:
				npc_start_free_time[$boy] = 15
				npc_end_free_time[$boy] = 20
				
				npc_work_start[$boy] = 6
				npc_work_end[$boy] = 14
			else
				npc_start_free_time[$boy] = 18
				npc_end_free_time[$boy] = 22
				
				npc_work_start[$boy] = 9
				npc_work_end[$boy] = 17
			end
			npc_day_off[$boy] = rand(1,7)
		elseif npc_finance[$boy] = 1:
			if rand(1,2) = 1:
				npc_start_free_time[$boy] = 8
				npc_end_free_time[$boy] = 12
				
				npc_work_start[$boy] = 13
				npc_work_end[$boy] = 21
			else
				npc_start_free_time[$boy] = 18
				npc_end_free_time[$boy] = 22
				
				npc_work_start[$boy] = 9
				npc_work_end[$boy] = 17
			end
		elseif npc_finance[$boy] = 2:
			if rand(1,2) = 1:
				npc_start_free_time[$boy] = 8
				npc_end_free_time[$boy] = 12
				
				npc_work_start[$boy] = 13
				npc_work_end[$boy] = 21
			else
				npc_start_free_time[$boy] = 18
				npc_end_free_time[$boy] = 22
				
				npc_work_start[$boy] = 9
				npc_work_end[$boy] = 17
			end
		end
	end
end

if $ARGS[0] = 'unique_NPC_stat_seed':
	if $boy = 'A11':
		
	end
end


if $ARGS[0] = 'vasily_seed':
	if npc_sex_ev_seeded['A11'] ! 1:
		npc_sex_ev_seeded['A11'] = 1
		$npc_rel_type['A11'] = 'fuckbuddy'
		$npc_apt_bedroom['A11'] = '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/shulginhome/vasily_room.jpg"></center>'
		$npc_apt_kitchen['A11'] = '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/shulginhome/kuh.jpg"></center>'
		$npc_apt_livingroom['A11'] = '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/shulginhome/bigroom.jpg"></center>'
		$npc_apt_bathroom['A11'] = '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/shulginhome/vanna.jpg"></center>'
		$npc_apt_hall['A11'] = '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/shulginhome/korr.jpg"></center>'
		$npc_humor['A11'] = 'perverted'
		npc_smoker['A11'] = 2
		npc_latesleeper['A11'] = 1
		npc_risktaker['A11'] = 1
		npc_messy['A11'] = 1
		npc_arrogant['A11'] = 1
!!		npc_selfish['A11'] = 1
		npc_fav_pos['A11'] = 2
		$npc_fav_pos['A11'] = 'doggy'
		npc_sex_speed['A11'] = 2
		npc_dirty_lover['A11'] = 1
		npc_cum_pref['A11'] = 1
		$npc_cum_pref['A11'] = 'creampie'
		npc_tit_pref['A11'] = 3
		npc_bush_pref['A11'] = 1
		$npc_fav_body_part['A11'] = 'tits'
		npc_sexdrive['A11'] = 4
		npc_sex_stamina['A11'] = 5
	end
end


--- boy_updater ---------------------------------