home *** CD-ROM | disk | FTP | other *** search
/ ZZTV 9 / zztv9.zip / Tavernen.txt < prev    next >
Text File  |  2004-06-02  |  1KB  |  41 lines

  1. $Tavern Engine v1.0
  2. $by
  3. $Jazzy2290
  4.  
  5. Feel free to use and/or modify this
  6. engine; just give me some credit lest I
  7. hunt you down and flame you. :P )
  8.  
  9. This is somewhat lenghty, but simple to
  10. understand. It uses the basic Store engine
  11. to start off with. However, those things
  12. in the background aren't just for
  13. decoration; the @Keeper will actually go
  14. up to one. During this time, @Barkeep
  15.  #locks itself. It then /i's
  16. the exact number of steps the @Keeper
  17. takes (including /i's), then #unlocks. At
  18. that moment, the @Keeper sends it a
  19. message to change shape and #zap touches
  20. the appropriate amount of times.
  21. Now, the @Barkeep should at this time
  22. look like a "pint", and allow you to
  23. drink it yourself. It then #clears and
  24.  #sets the flag 'drink', which lets the
  25. @Door let you out. It then #char's back
  26. and #restores touch, allowing you to drink
  27. again. Also note that Beer and Ale #take 6
  28. health, Booze #takes 11 health, and Wine
  29.  #gives 30 health. 
  30. Why? To see if you're 'drunk', in which
  31. case (When it can't #take the right
  32. amount of health) it uses the label td
  33. (Too drunk) to display a message and end
  34. the game. Furthermore, MAKE SURE that
  35. @Barkeep AND @Keeper are at the same
  36. cycle,(preferably #cycle 1,) as this is
  37. very important! If they aren't in sync,
  38. this WILL NOT WORK!
  39. If you still don't understand, just edit
  40. the objects.
  41.