mod_bestmod_petshop.qsrc 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # mod_bestmod_petshop
  2. if $ARGS[0] = 'buy_dog':
  3. 'Dog - 3000 <b>₽</b>'
  4. if money >= 3000 and rex['owned'] = 0:
  5. act 'Buy a dog (3000 <b>₽</b>)':
  6. cla & *clr
  7. menu_off = 1
  8. '<center><img <<$set_imgh>> src="mod/bestmod/images/beast/zoo/695_small.jpg"></center>'
  9. if home_owned[1] > 0:
  10. act 'Hello, I would like to get a dog':
  11. cla
  12. *clr
  13. '<center><img <<$set_imgh>> src="mod/bestmod/images/beast/zoo/695_small.jpg"></center>'
  14. '<center><b>Sorry, but we only have male dogs.</b></center>'
  15. act 'Buy a dog':
  16. cla
  17. *clr
  18. minut += 10
  19. rex['owned'] = 1
  20. money -= 3000
  21. '<center><img <<$set_imgh>> src="mod/bestmod/images/beast/zoo/dog1.jpg" width = 600 height = 500 ></center>'
  22. '<center><b>You bought a Dalmatian dog.</b></center>'
  23. $rex['name'] = input ('I''ll call the dog...')
  24. if $rex['name'] = '':$rex['name'] = 'Spot'
  25. gs 'npcgeneratec', 0, $rex['name'], rand(1,4)
  26. gs 'npcpreservec', $npclastgenerated
  27. $petID = $npclastsaved
  28. $npc_firstname[$npclastsaved] = $rex['name']
  29. $npc_nickname[$npclastsaved] = $rex['name']
  30. $npc_lastname[$npclastsaved] = $rex['name']
  31. $npc_usedname[$npclastsaved] = $rex['name']
  32. $npc_notes[$npclastsaved] = 'The dog you purchased from the pet shop.'
  33. npc_spermpot[$npclastsaved] = -1
  34. $npc_thdick[$npclastsaved] = 'knotted'
  35. npc_dick[$npclastsaved] = 7
  36. npc_sexskill[$npclastsaved] = 0
  37. act 'Move away from the counter':gt 'zoomagazine', 'start'
  38. end
  39. end
  40. else
  41. 'You need to have your own place before you can buy a dog.'
  42. end
  43. act 'Move away from the counter': minut += 5 & gt 'zoomagazine', 'start'
  44. end
  45. end
  46. end
  47. --- mod_bestmod_petshop ---------------------------------