# mod_bestmod
!input mod entry point here. this will be checked on every location, please keep it clean and brief to avoid game lag
if $loc = 'Gadsarai' and $metka = '' and menu_off = 0: '
Sitting near the barn is your grandparents'' large dog, named Bandit'
if $loc = 'Miroslava' and npc_QW['A60'] >= 30 and hour < 19 and month >= 5 and month <= 9 and MiraLoc ! 3: gs 'mod_bestmod_mira', 'third_wish'
if $loc = 'zoomagazine' and $metka = 'start' and menu_off = 0: gs 'mod_bestmod_petshop', 'buy_dog'
if $curloc = 'korr' and sobaka = 1 and menu_off = 0:'Your dog, <<$namesob>>, is lying on the floor near the entrance.'
if $curloc = 'korr2x' and sobaka = 1 and menu_off = 0:'Near the entrance to the bedroom is your dog, <<$namesob>>'
if ($loc = 'sitr' or $loc = 'sitr2x') and menu_off = 0: gs 'mod_bestmod_sitr'
if ($loc = 'kuhr' or $loc = 'kuhr2x') and menu_off = 0: gs 'mod_bestmod_kuhr'
if $loc = 'kafe' and metka = 'start' and menu_off = 0 and QWdogReiq = 3 and week = 7 and hour >= 12: act 'Sit down and wait for Margaret': gt 'mod_bestmod_margo', 'margo'
!! Probably replace houserabrand with another random factor which takes into account PC's
!! beast exp and relationship with pet.
if $curloc = 'bed' and ((bm_pet_dog_rel > 10 and pcs_horny > 60) or (pcs_horny > 80 and alko > 3) or bm_beast['exp'] > 6) and housrA = 1 and bm_dog_once_day ! daystart and rand(0, 100) < 4: gt 'mod_bestmod_bed', 'sog1'
if $loc = 'glake' and $selact = 'Go sunbathing (1:00)' and $clothingworntype = 'nude' and bm_beast['exp'] > 0 and rand(1,10) = 5: gt 'mod_bestmod_lake_dog', 'start'
if $loc = 'postdeliveries' and $ARGS[0] = '10':
if banditfrend = 1:
act 'Try to calm the dog':
cla
*clr
pcs_mood += 10
gs 'stat'
if temper > 0: '