Scraping (script): Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
m (Created page with '<pre> #script setup echo This script brought to you by Kraggur. set prefined on setvariable scraper [hide scraper]. setvariable putpouch [skull]. setvariable getpouch [backpack]…')
 
m (added category of "Outfitting")
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Script
|cat=Crafting, Outfitting
|fe=YASSE
|auth=[[User:Hithrael|Hithrael]]
}}
<pre>
<pre>
#script setup
#script setup
echo This script brought to you by Kraggur.
echo This script brought to you by Kraggur (v1.1)


set prefined on
set prefined on
setvariable scraper [hide scraper].
setvariable scraper [hide scraper]
setvariable putpouch [skull].
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 22:
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 37:
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 you stuff
match get carefully fit
match drop new bundle
match drop new bundle
match drop try to stuff
match drop try to stuff
put bundle my %hide
put put %skin in %tight
matchwait
matchwait


drop:
drop:
pause
pause
put drop my %hide
put drop %skin
goto rummage
goto rummage


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



Latest revision as of 12:29, 23 May 2016

Scraping (script)
Category Crafting,Outfitting
Front-end YASSE
Author Hithrael
#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