@;@ RHP_name: The Underground Waterfall @;@ Adapted from LORD Cavern's Waterfall RHP Script. @;@ By Donald Tidmore @;@ For The Outlands Tavern v1.3+ @;@ Email: ktidmore@bellsouth.net, donald.tidmore@usa.net @;@ URL: http://camelot.legendarydragons.com/Scripts/ @;@ @;@@PROGRAM@ OUTLANDS @;@@VERSION@ 1.80 @;@@NAME@ The Underground Waterfall @;@@SCRIPTVERSION 1.15 @SHOW@ `!While exploring the nooks and crannys of the `6Tavern, `!you are magically transported to a different location. `!You start to explore it, being an adventurous warrior. `!You come across a underground `%Waterfall! `!You are standing at the edge of the stream, at `!the bottom of the waterfall. `# Move into the waterfall?`l @YESNO@ @##N `!You chicken out and leave. @END@ @##Y `!You advance into the waterfall `6... `# It feels nice and cool. @RANDOM@ 4 @##4 `!You feel no different, only wetter. `# You shake yourself off and leave. @END@ @##3 `@All of the sudden, you get knocked on your head! `! You go unconscious, and almost drown! `!You wake up, and swim to the surface of the river! `# The near-death experience made you `$smarter, `#however `# you are `@VERY `%tired. You realize you could have `@died`%!! @VARIABLE1@ =EXPERIENCE%10 @EXPERIENCE@ +VARIABLE1 @;@ 11/07/08: replaced invalid EXPERIENCE +%10 command. @;@ Code computes 10% of Experience, stores it in VARIABLE1. @;@ Then it adds that amount to the EXPERIENCE stat. @HITPOINTS@ =1 `!You squish back to the main tunnel -- `#feeling `6weak, `#but `6wiser. `!You notice that your `0Hit-Points `!have `#dropped `!to `$1 `%point`0!! `!And, you now have `$@*@EXPERIENCE@*@ `%Experience Points`0!! @GOTO@ @#ENDING @##1 `!You walk out and `%feel `6healthier! `!That really envigorated you! @HITMAX@ +25 @;@ Rewrote HITMAX statement 03/14/08. [FULLY VERIFIED] `# You skip around until you find the main tunnel. @GOTO@ @#ENDING @##2 `!You find a hidden passage! `!In it lies a treasure chest! `#Open the chest?`l @YESNO@ @##N `!You decide to leave the chest a mystery and leave. @END@ @##Y `!All the while you are prying it open, you wonder what `!could be in it! `#You slowly open it to reveal`l `6 @DELAY@ .`l @DELAY@ .`l @DELAY@ .`l @DELAY@ .`l @DELAY@ .`l @RANDOM@ 3 @##1 `#a puddle of `%water. `! Darn, the chest was empty of treasure! `!You trudge back to the main tunnel. @GOTO@ @#ENDING @##2 `%a sharp Knife! `# It's a little rusty, but should help you to clear the `# Forest underbrush, to find things to kill! @FOREST@ +10 @;@ Rewrote FOREST statement 03/25/08. [FULLY VERIFIED] `!You wave the knife around, and head back to the main tunnel. @GOTO@ @#ENDING @##3 `@A TRAP! `!An arrow shoots out of the chest and into your arm! `# You are really hurt, and you're not as strong. @HITPOINTS@ =1 @VARIABLE1@ =STRENGTH%25 @STRENGTH@ -VARIABLE1 @;@ 11/07/08: replaced invalid STRENGTH -%25 command. @;@ Code computes 25% of STRENGTH, stores it in VARIABLE1. @;@ Then it subtracts that amount from the STRENGTH stat. @;@ Rewrote STRENGTH statement 03/25/08. [FULLY VERIFIED] `!You stagger in pain back to the main tunnel. `6Your `0Hit-Points `6!have dropped down to `@ONE `0point `6now. `%You now have `$@*@STRENGTH@*@ `0Strength Points. @#ENDING `%Feeling quite different from the adventure, you step `%across a small crevice in the tunnel floor, and find `%yourself standing again in the crowded `!Outlands Tavern. @END@ @;@ Created otwater.rhp copy of Lordcave script to start debugging @;@ situations where Lord Cavern script is deducting player's entire @;@ experience stat instead of a portion of the stat. @;@ Redesigned 07/22/2004 for normal usage in the IGM. @;@ 07/22: Using %10 in Exp command line works now. As did %+10, and %-10. @;@ Note for others: %10 will always do addition operation. @;@ To subtract the value, use the - symbol. Ex.: %-80 @;@ Verified Player fights, Defense code. @;@ Verified Forest fights, SKill Points code. @;@ Verified Skill Use Points, Max Hitpoints codes. @;@ Verified Cave Search, Forest Search codes. @;@ Verified Gold, Bank, Charm, DrunkLevel codes. @;@ Verified Kids, Lays, Visits, Gems, Kills codes. @;@ Notes: LEVEL, WINS, and CLASS are not change-able by scripts. @;@ Renamed script The Underground Waterfall on 12/07/2004. @;@ 04/21/07: Added Email info, web-site info to headers. @;@ 06/27/2007: replaced web-site URL. v1.05. @;@ @HITPOINTS@ %-80 @;@ Replaced HITPOINTS statement 12/15/07. Does not work. @;@ @STRENGTH@ %-17 @;@ Replaced command 12/15/07. is not working properly. @;@ Changed to v1.08 for script. 12/15/2007. @;@ @STRENGTH@ -50 cmd disabled 12/16/07. Will not work correctly. @;@ Added statement showing new Exp Points status 12/16/07. @;@ 03/14/08. Changed VERSION code to 1.8. Changed ScriptVersion to 1.08. @;@ 03/14/08. Rewrote all math operation RHP codes used by script. @;@ Added the SHOW statements to various RHP command lines. @;@ 03/25/08. Rewrote Experience, Strength RHP code statements. @;@ Verified that use of %xx codes works properly in RHPTEST. @;@ Changed script to v1.10. All code works properly now. @;@ 11/07/08: fixed error in Experience Points handling. v1.12 @;@ Also fixed error in Strength points handling. @;@ 04/19/09: Minor editing. @;@ 10/10/09: used v1.15 @;@ 11/30/09: Changed VERSION to 1.80. No SCRIPTVERSION change.