Gadhouse 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. # Gadhouse
  2. $metkaM = $ARGS[0]
  3. $locM = $CURLOC
  4. $metka = $ARGS[0]
  5. $loc = $CURLOC
  6. '<center><H4>cottage</H4></center>'
  7. '<center><img src="images/qwest/gadukino/izba.jpg"></center>'
  8. 'Simple village hut. In a small room is <a href="exec:gt ''loker'', ''start''">cupboard</a> and <a href="exec:gt ''bedPar''">bed</a> where you can sleep. In a large room is <a href="exec:gt ''tvPar''">tv_set</a>. TV stands next to an ancient <a href="exec:gt ''mirror'', ''start''">trellis</a>'
  9. clr
  10. gs 'stat'
  11. fcolor = rgb(0, 0, 0)
  12. bcolor = rgb(255, 255, 255)
  13. lcolor = rgb(106, 90, 205)
  14. act 'Go outside':
  15. minut += 5
  16. gt 'Gaddvor'
  17. end
  18. act 'Eat':
  19. cla
  20. *clr
  21. gs 'stat'
  22. frost = 0
  23. '<center><img src="images/pics/food.jpg"></center>'
  24. set minut += 30
  25. set health += 10
  26. set manna += 20
  27. wipo += 5
  28. salo += 1
  29. if energy >= 30:
  30. set fat += 5
  31. 'You can no longer have.'
  32. end
  33. if energy >= 20 and energy < 30:
  34. set fat += 3
  35. set energy += 10
  36. 'You pushed through the power of a meal.'
  37. end
  38. if energy < 20:
  39. set energy += 20
  40. !!set fat = fat + 1
  41. 'You gladly ate cooked food.'
  42. end
  43. if water >= 20:'Tea in you no longer climbs.'
  44. if water < 20:
  45. 'You gladly drank a cup of tea.'
  46. set water += 20
  47. end
  48. gs 'stat'
  49. act 'Get up from the table':gt $locM, $metkaM
  50. end
  51. dynamic $d_read_book
  52. if indorf = 1:
  53. 'The room resting parents.'
  54. if week = 7:
  55. if hour >= 20:gt 'farmhomeride'
  56. end
  57. end
  58. if monthbabkapay ! month:
  59. monthbabkapay = month
  60. money += 2000
  61. gs 'stat'
  62. 'Grandma gives you two thousand.'
  63. end
  64. --- Gadhouse ---------------------------------