mod_bestmod.qsrc 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # mod_bestmod
  2. !input mod entry point here. this will be checked on every location, please keep it clean and brief to avoid game lag
  3. if bm_cheatBandit = 1 and npc_horny['A800'] < 100: npc_horny['A800'] = 100
  4. if $loc = 'gadsarai' and $loc_arg = '' and menu_off = 0:
  5. gs 'mod_bestmod_gadsarai', 'bandit'
  6. '<br>Sitting near the barn is your grandparents <a href="exec:gt ''mod_bestmod_bandit''">large dog, named Bandit</a>'
  7. end
  8. if $loc = 'miroslava' and npc_QW['A60'] = 20 and hour < 19 and month >= 5 and month <= 9 and MiraLoc ! 3: gs 'mod_bestmod_mira', 'third_wish'
  9. if $loc = 'zoomagazine' and $loc_arg = 'start' and menu_off = 0: gs 'mod_bestmod_petshop', 'buy_dog'
  10. if $loc = 'korr' and rex['owned'] = 1 and menu_off = 0:'Your dog, <a href="exec:gt ''mod_bestmod_petdog'', ''start''"><<$rex[''name'']>></a>, is lying on the floor near the entrance.'
  11. if $loc = 'korr' and rex['owned'] = 1 and menu_off = 0:'Near the entrance to the bedroom is your <a href="exec:gt ''mod_bestmod_petdog'',''start''"><<$rex[''name'']>></a>'
  12. if $loc = 'sitr' and menu_off = 0: gs 'mod_bestmod_sitr'
  13. if $loc = 'sitr2x' and menu_off = 0: gs 'mod_bestmod_sitr2x'
  14. if $loc = 'kuhr' and menu_off = 0: gs 'mod_bestmod_kuhr'
  15. if $loc = 'kuhr2x' and menu_off = 0: gs 'mod_bestmod_kuhr2x'
  16. if $loc = 'city_kafe' and $loc_arg = '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'
  17. if $loc = 'post_deliveries' and $ARGS[0] = '10':
  18. if banditfrend = 1:
  19. act 'Try to calm the dog':
  20. cla
  21. *clr
  22. pcs_mood += 10
  23. gs 'stat'
  24. if temper > 0: '<center><img <<$set_imgh>> src="images/locations/shared/postoffice/happydog.jpg"></center>'
  25. if temper <= 0: '<center><img <<$set_imgh>> src="images/locations/shared/postoffice/happydogw.jpg"></center>'
  26. 'Your encounters with Bandit have taught you a thing or two about dogs, and somewhat to your own surprise the dog responds very well to your soothing voice: "Shhh! Who''s a good boy?"'
  27. 'The dog quiets down almost immediately, and when you enter the yard it comes at you wagging its tail. You give it a soft pat on the head, just as the owner comes out of his house: "Wha... how di..."'
  28. 'He looks at his dog, and back to you, completely baffled. After you collect his signature, you give the dog another pat on the head and continue your round with a smile on your face.'
  29. act 'Continue your round':gt 'post_deliveries', 'resume'
  30. end
  31. end
  32. end
  33. if $curloc = 'bed' and zoo > 6 and STRPOS('bedr,bedr2x,korr,korr2x',$loc) > 0 and dogday ! daystart and rand(0,24) = 0:gt 'mod_bestmod_bed', 'sog1'
  34. --- mod_bestmod ---------------------------------