1
0

popu.qsrc 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. # popu
  2. if $ARGS[0] = 'start':
  3. cla
  4. *clr
  5. clr
  6. minut += 5
  7. gs 'stat'
  8. if night_mode = 1:
  9. fcolor = rgb(255, 255, 255)
  10. bcolor = rgb(0, 0, 0)
  11. lcolor = rgb(106, 90, 205)
  12. elseif night_mode = 2:
  13. fcolor = rgb(255, 255, 255)
  14. bcolor = rgb(20, 20, 20)
  15. lcolor = rgb(106, 90, 205)
  16. else
  17. fcolor = rgb(0, 0, 0)
  18. bcolor = rgb(255, 255, 255)
  19. lcolor = rgb(106, 90, 205)
  20. end
  21. '<center><img <<$set_imgh>> src="images/beast/zoo/parrot2.jpg"></center>'
  22. '<center><<$namepopu>> sitting in his cell.</center>'
  23. act 'Leave':dynamic $brodila
  24. act 'Release window':
  25. popugai = 0
  26. minut += 10
  27. dynamic $brodila
  28. end
  29. end
  30. if $ARGS[0] = 'start2':
  31. cla
  32. *clr
  33. clr
  34. minut += 5
  35. gs 'stat'
  36. if night_mode = 1:
  37. fcolor = rgb(255, 255, 255)
  38. bcolor = rgb(0, 0, 0)
  39. lcolor = rgb(106, 90, 205)
  40. elseif night_mode = 2:
  41. fcolor = rgb(255, 255, 255)
  42. bcolor = rgb(20, 20, 20)
  43. lcolor = rgb(106, 90, 205)
  44. else
  45. fcolor = rgb(0, 0, 0)
  46. bcolor = rgb(255, 255, 255)
  47. lcolor = rgb(106, 90, 205)
  48. end
  49. '<center><img <<$set_imgh>> src="images/beast/zoo/parrot2.jpg"></center>'
  50. '<center><<$namepopu2>> sitting in his cell.</center>'
  51. act 'Leave':gt $loc, $metka
  52. act 'Release window':
  53. if daystart - parbuydate > 30:
  54. 'You have become too attached to <<$namepopu2>>. You can''t bring yourself to release him'
  55. else
  56. 'You say goodbye to <<$namepopu2>> and release him'
  57. popugai2 = 0
  58. minut += 10
  59. end
  60. end
  61. end
  62. --- popu ---------------------------------