# dina

$brodila = {
	sexpartkno = 0
	if accessible_property['city_apartment'] > 0:
		gt'korr','start'
	elseif accessible_property['old_town_apartment'] = 1:
		gt'korr2x','start'
	else
		gt'city_residential', 'start'
	end
}

$brodilr = {
	if mid($start_type,1,2) = 'sg' and accessible_property['parents_home'] = 4:
		gt 'pav_residential'
	elseif accessible_property['old_town_apartment'] = 1:
		gt'pushkin_sq'
	else
		gt'city_residential','start'
	end
}

$brodilk = {
	if accessible_property['city_apartment'] > 0:
		gt'kuhr','start'
	elseif accessible_property['old_town_apartment']= 1:
		gt'kuhr2x','start'
	else
		gt'city_residential', 'start'
	end
}

$brodils = {
	if accessible_property['city_apartment'] > 0:
		gt'sitr','start'
	elseif accessible_property['old_town_apartment'] = 1:
		gt'sitr2x','start'
	elseif mid($start_type,1,2) = 'sg' and accessible_property['parents_home'] = 4:
		gt 'sitrPar'
	else
		gt'city_residential', 'start'
	end
}

!!This sets the default descriptors and folder names for each default image set
$bodimgsets[0] = 'starving'
$bodimgsets[1] = 'underweight'
$bodimgsets[2] = 'slender'
$bodimgsets[3] = 'healthy'
$bodimgsets[4] = 'cute'
$bodimgsets[5] = 'chubby'
$bodimgsets[6] = 'overweight'
$bodimgsets[7] = 'fat'
$bodimgsets[8] = 'OOPS'
$bodimgsets[9] = 'default_low'
$bodimgsets[10] = 'starving'
$bodimgsets[11] = 'slight'
$bodimgsets[12] = 'skinny'
$bodimgsets[13] = 'toned'
$bodimgsets[14] = 'cute'
$bodimgsets[15] = 'curvy'
$bodimgsets[16] = 'overweight'
$bodimgsets[17] = 'fat'
$bodimgsets[18] = 'OOPS'
$bodimgsets[19] = 'default_mid'
$bodimgsets[20] = 'starving'
$bodimgsets[21] = 'wiry'
$bodimgsets[22] = 'lean'
$bodimgsets[23] = 'ripped'
$bodimgsets[24] = 'muscular'
$bodimgsets[25] = 'herculean'
$bodimgsets[26] = 'stocky'
$bodimgsets[27] = 'heavy set'
$bodimgsets[28] = 'OOPS'
$bodimgsets[29] = 'default_high'
$bodimgsets[30] = 'pregnant, but not showing'
$bodimgsets[31] = 'glowing'
$bodimgsets[32] = 'starting to show'
$bodimgsets[33] = 'clearly showing'
$bodimgsets[34] = 'fairly pregnant'
$bodimgsets[35] = 'quite pregnant'
$bodimgsets[36] = 'very pregnant'
$bodimgsets[37] = 'extremely pregnant'
$bodimgsets[38] = 'ready to pop'
$bodimgsets[39] = 'default_preg'

!!This sets the first 3 sets to not override images 0, 6 and 7
imgset0ovr[0] = 0
imgset0ovr[1] = 0
imgset0ovr[2] = 0
imgset6ovr[0] = 0
imgset6ovr[1] = 0
imgset6ovr[2] = 0
imgset7ovr[0] = 0
imgset7ovr[1] = 0
imgset7ovr[2] = 0
!!Sets the default image set count if it is 0
if bodsetcnt <= 0: bodsetcnt = 3

$week[1] = 'Monday'
$week[2] = 'Tuesday'
$week[3] = 'Wednesday'
$week[4] = 'Thursday'
$week[5] = 'Friday'
$week[6] = 'Saturday'
$week[7] = 'Sunday'

$dogpot = {
	gs 'boyStat', 'A191'
}

$rexpot = {
	gs 'boyStat', 'A166'
}

$hypnoDaychange = {
	!!if for some reason hypnoTime is too high
	if hypnoTime > 15:hypnoTime = 15
	timeTresh = 76 - 4*hypnoTime
	!!Withdrawal effect begings if too strong influence and no visitation
	if daystart-hypnoDay > 7:
		if hypnoAddict = 1:
			hypnoWithdrawal = 1
		elseif hypnoAddict = 2:
			hypnoWithdrawal = 2
		end
	end
	!!daily weaning of therapist influence
	if hypnoStrength > 0: hypnoStrength -= 1
	if hypnoTime > 0 and hypnoStrength = 0:
		if hypnoAddict = 0:
			hypnoStrength = 19
			hypnoTime -= 1
		elseif hypnoAddict = 1:
			if rand(0,1) = 0:
				hypnoStrength = 19
				hypnoTime -= 1
				if hypnoTime < 7:hypnoAddict = 0 & hypnoWithdrawal = 0
			end
		else
			if rand(0,4) = 0:
				hypnoStrength = 19
				hypnoTime -= 1
				if hypnoTime < 10:hypnoAddict = 1 & hypnoWithdrawal = 1
			end
		end
	end
}

$hypnoAddiction = {
	if cumloc[0] = 1 or cumloc[3] = 1:
		killvar 'missCum'
		if hypnoAddict = 1:
			pcs_mood += 5
		else
			pcs_mood += 10
		end
	else
		missCum += 1
	end

	if missCum > timeTresh:
		if hypnoAddict = 1:
			pcs_mood -= 5
			pcs_horny += 10
		else
			pcs_mood -= 10
			pcs_horny += 20
		end
	end

	if hypnoWithdrawal > 0:
		if hypnoWithdrawal = 1:
			if missCum >= timeTresh:
				sprt_deg -= 2*hypnoAddict
				pcs_mood -= 10
			else
				if rand(0,1) = 0:sprt_deg -= hypnoAddict
				pcs_mood -= 5
			end
		end
	end
}

!!---------------

$prezik = {
	if mc_inventory['equipped_condoms'] > 0:
		if mc_inventory['bad_condoms'] > 0:
			if rand(1,mc_inventory['equipped_condoms']) <= mc_inventory['bad_condoms']: mc_inventory['bad_condoms'] -= 1 & noprotect = 1
		else
			noprotect = 0
		end
		mc_inventory['equipped_condoms'] -= 1
	elseif mc_inventory['equipped_condoms'] < 0:
		mc_inventory['equipped_condoms'] = 0
	end
}

$ferteggfather = {
	if fertegg > 0:
		if thinkpreg = 0 and knowpreg = 0 and sparrppt[sparrtemp] > 0:
			if cumarrkno[cumarrtemp] = 1:
				if arrcomp('$cumfthname',$boy) = -1:
					i = arrsize('$cumfthname')
					$cumfthname[i] = $boy
					cumtime[i] = 1
				else
					i = arrpos('$cumfthname', $boy)
					cumtime[i] += 1
				end
			elseif cumarrkno[cumarrtemp] = 0:
				cumtime[0] += 1
			end
		end
	end
}

--- dina ---------------------------------

