Swim Brook (script)

From Elanthipedia
Jump to navigation Jump to search
Swim Brook (script)
Category training,survival
Front-end Genie
Author Isharon


Description

This script trains swimming in the brook near Crossing.

Start the script in the room outside of Crossing's Western Gate (Mycthengelde, Flatlands).


Required Genie Settings

The script hums. You need to open your character's variables file and define the variable for hum. For example:

#var {playsong} {concerto flashy}

I also recommend adding my humming triggers:

#trigger {^You finish playing} {#send play $playsong on my $instrument}
#trigger {^You should stop playing before you do that|^You are a bit too busy performing to do that} {#send stop play;#send 1 $lastcommand}

Script

put #class racial on
put #class rp on
put #class arrive off
put #class combat off
put #class joust off
action send retreat when closes to .+ range on you
send demeanor reserved
waitforre ^You adopt a reserved demeanor
put avoid !drag
waitforre ^You're now avoiding
put avoid !hold
waitforre ^You're now avoiding
put avoid !join
waitforre ^You're now avoiding

to:
move go path
move west
move west
move northwest
move west
move west
move northwest
move west
move west
move southwest
move west
move west
move northwest
move northwest
move west
move west
move northwest
move west
move west
move go shallow brook

swim:
send swim west
pause
send swim west
pause
move go shallow brook
send swim east
pause
send swim east
pause
move go shallow brook

skill.check:
if $Athletics.LearningRate > 33 then
goto back
else
goto swim

back:
send echo YOU ARE MIND LOCKED IN ATHLETICS. NOW RETURNING TO CROSSING.
put #play MindLocked

move swim east
move east
move east
move southeast
move east
move east
move southeast
move southeast
move east
move east
move northeast
move east
move east
move southeast
move east
move east
move southeast
move east
move east
move go well-worn path
move go western gate
move east
move east
move east
move east
move east
move east
move east
move east
move east
move south
move south
move south
move south
move south
move south
move southeast

put #class arrive off
put avoid drag
waitforre ^You're now allowing
put avoid hold
waitforre ^You're now allowing
put avoid join
waitforre ^You're now allowing