liamelkafe.qsrc 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # liamelkafe
  2. if $ARGS[0] = 'start':
  3. $location_type = 'indoors'
  4. gs 'stat'
  5. '<center><img <<$set_imgh>> src="images/locations/oldtown/cafe/larek.jpg" ></center>'
  6. 'You enter a tiny cafe, consisting of very little floor space packed with small tables.'
  7. if hour > 11 and hour < 13:
  8. 'The cafe is packed with people eating their afternoon meal.'
  9. if stallionQ = 1: stallionQ = 2
  10. elseif hour > 16 and hour < 18:
  11. 'The cafe is packed with people eating their evening meal.'
  12. if stallionQ = 1: stallionQ = 2
  13. end
  14. if money > 45:
  15. act 'Sit down for a meal': money -= 45 & gt 'liamelkafe', 'food'
  16. end
  17. act 'Leave':gt 'liames'
  18. end
  19. if $ARGS[0] = 'food':
  20. $metka = 'food'
  21. $loc = 'liamelkafe'
  22. '<center><img <<$set_imgh>> src="images/locations/oldtown/cafe/larek.jpg" ></center>'
  23. act 'Order food':gs 'food_menu', 'diner'
  24. act 'Order drinks':gs 'beverage_menu', 'diner'
  25. if stallionQ = 2:
  26. if FocH > FocH > (Foch_Max - 10):
  27. stallionQ = 3
  28. FocH = Foch_Max
  29. EggRH += 300
  30. elseif ovulate > 12:
  31. stallionQ = 3
  32. end
  33. end
  34. 'The tiny cafe is wonderfully situated and you enjoy the beautiful scenery as you eat.'
  35. if stallionQ = 0: StallionQ = 1
  36. act 'Leave the table':gt 'liamelkafe', 'start'
  37. end
  38. --- liamelkafe ---------------------------------