Gadhouse 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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 ''clothing'', ''view_clothing_list'', ''wardrobe''">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':minut += 5 & gt 'Gaddvor'
  15. act 'Eat':
  16. cla
  17. *clr
  18. frost = 0
  19. minut += 30
  20. health += 10
  21. manna += 20
  22. wipo += 5
  23. salo += 1
  24. gs 'stat'
  25. '<center><img src="images/pics/food.jpg"></center>'
  26. if energy >= 30:
  27. fat += 5
  28. 'You can no longer eat.'
  29. elseif energy >= 20 and energy < 30:
  30. fat += 3
  31. energy += 10
  32. 'You pushed through the power of a meal.'
  33. elseif energy < 20:
  34. energy += 20
  35. !!fat = fat + 1
  36. 'You gladly ate cooked food.'
  37. end
  38. if water >= 20:
  39. 'You don''t need any more tea.'
  40. elseif water < 20:
  41. water += 20
  42. 'You gladly drank a cup of tea.'
  43. end
  44. gs 'stat'
  45. act 'Get up from the table':gt $locM, $metkaM
  46. end
  47. dynamic $d_read_book
  48. if indorf = 1:
  49. 'The room resting parents.'
  50. if week = 7:
  51. if hour >= 20:gt 'farmhomeride'
  52. end
  53. end
  54. if monthbabkapay ! month:
  55. monthbabkapay = month
  56. money += 2000
  57. gs 'stat'
  58. 'Grandma gives you two thousand.'
  59. end
  60. --- Gadhouse ---------------------------------