Scraping (script): Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
m (Updated to 1.1 for compliance with at least part of the messaging for the new bundles.)
m (modified to work with new bundles, including ending when bundle is empty)
Line 4: Line 4:


set prefined on
set prefined on
setvariable scraper [hide scraper].
setvariable scraper [hide scraper]
setvariable putpouch [belt].
setvariable putpouch [belt]
setvariable getpouch [backpack]
setvariable speed quick
setvariable speed quick
setvariable tight [tight bundle]
setvariable lumpy [lumpy bundle]

action [As you remove the last one, your bundling rope drops to the ground since your hands are full.] goto end


start:
start:
Line 14: Line 17:
pause
pause


sorter:
rummage:
match errorhandler While it's closed?
save rummage
match open While it's closed?
match end there is nothing in there like that.
match end there is nothing in there like that.
match setskin You rummage through
match setskin You rummage through
put rum /s my %getpouch
put rum /s my %lumpy
matchwait

open:
save open
match rummage You open your
match rummage That is already open.
put open my %getpouch
matchwait
matchwait


Line 37: Line 32:
get:
get:
save get
save get
match scrape You get
match scrape You carefully
match rummage What were you referring to?
match sorter What were you referring to?
put get my %skin from my %getpouch
put get my %skin from my %lumpy
matchwait
matchwait


scrape:
scrape:
match dostuff as clean as you can make it
match dostuff as clean as you can make it
match scrape roundtime
match dostuff That really isn't going to help anything.
match dostuff That really isn't going to help anything.
match dostuff There's no need for further scraping.
match dostuff There's no need for further scraping.
match notskinnable You'll need a hide, pelt, or skin to scrape.
match scrape roundtime
match pausing ...wait
match pausing ...wait
match pausing type ahead
match pausing type ahead
put scrape %skin with scraper %speed
put scrape %skin with scraper %speed
matchwait

notskinnable:
match getnotskinnable You carefully
match sorter What were you referring to?
put put %skin in %tight
matchwait

getnotskinnable:
match sorter What were you referring to?
match notskinnable You carefully
put get my %skin from my %lumpy
matchwait
matchwait


dostuff:
dostuff:
pause
pause
match rummage carefully fit
match get carefully fit
match drop new bundle
match drop new bundle
match drop try to stuff
match drop try to stuff
put put %skin in %tight
put bundle
matchwait
matchwait


Line 73: Line 81:
end:
end:
put put my %scraper in my %putpouch
put put my %scraper in my %putpouch
pause
put stow rope
exit
exit


Line 78: Line 88:
boxmessage Error #$errornumber$ occurred on the line #$errorline$ : $line$
boxmessage Error #$errornumber$ occurred on the line #$errorline$ : $line$
EXIT
EXIT
</pre>

Revision as of 00:24, 14 October 2010

#script setup
echo This script brought to you by Kraggur (v1.1)

set prefined on
setvariable scraper [hide scraper]
setvariable putpouch [belt]
setvariable speed quick
setvariable tight [tight bundle]
setvariable lumpy [lumpy bundle]

action [As you remove the last one, your bundling rope drops to the ground since your hands are full.] goto end 

start:
save start
put get my %scraper from my %putpouch
pause

sorter:
match errorhandler While it's closed?
match end there is nothing in there like that.
match setskin You rummage through
put rum /s my %lumpy
matchwait

setskin:
save setskin
GETWORDFROM "." -1
SETVARIABLE skin %w
goto get

get:
save get
match scrape You carefully
match sorter What were you referring to?
put get my %skin from my %lumpy
matchwait

scrape:
match dostuff as clean as you can make it
match dostuff That really isn't going to help anything.
match dostuff There's no need for further scraping.
match notskinnable You'll need a hide, pelt, or skin to scrape.
match scrape roundtime
match pausing ...wait
match pausing type ahead
put scrape %skin with scraper %speed
matchwait

notskinnable:
match getnotskinnable You carefully 
match sorter What were you referring to?
put put %skin in %tight
matchwait

getnotskinnable:
match sorter What were you referring to?
match notskinnable You carefully
put get my %skin from my %lumpy
matchwait

dostuff:
pause
match get carefully fit
match drop new bundle
match drop try to stuff
put put %skin in %tight
matchwait

drop:
pause
put drop %skin
goto rummage

pausing:
pause 5
goto scrape



end:
put put my %scraper in my %putpouch
pause
put stow rope
exit

errorhandler:
boxmessage Error #$errornumber$ occurred on the line #$errorline$ : $line$
EXIT