Lumberjack (script)

From Elanthipedia
Revision as of 21:26, 25 June 2016 by TRIMACK (talk | contribs) (Created page with "{{Script |cat=crafting, survival, utility |fe=StormFront |auth=Sagadin }} ==Description== This script is meant to simplify the process of lumberjacking. Simply go to a room ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Lumberjack (script)
Category crafting,survival,utility
Front-end StormFront
Author Sagadin


Description

This script is meant to simplify the process of lumberjacking. Simply go to a room where there is lumber, start the script, and follow the prompts! Also, this script is very useful in conjunction with my lumber script. Check it out if you would like to simplify that process.

Script

Begin:
	put glance
	match watch axe
	match wield nothing
	matchwait

Wield:
	put wield my axe
	Goto watch

Watch:
	put watch forest
	match chop certain that continued lumberjacking will be quite safe.
	match notree no trees are available
	match wait Roundtime
	matchwait

Chop:
	Echo ***********************************************
	Echo ** If it is safe to chop, enter 1.           
	Echo ** If signs of danger have occured, enter 2. 
	Echo ***********************************************
	match Swing 1
	match Danger 2
	matchwait

Swing:
	put chop tree
	match stick stick
	match log log
	match branch branch
	match limb limb
	match notree rotted core
	match notree unable to find a tree
	match chop Roundtime:
	match swing ...wait
	matchwait

Stick:
	wait 2
	put get stick
	put stow stick
	goto chop

Log:
	wait 2
	put get log
	put stow log
	goto chop

Branch:
	wait 2
	put get branch
	put stow branch
	goto chop

Limb:
	wait 2
	put get limb
	put stow limb
	goto chop

Danger:
	put watch forest danger
	match watch stack a pile of stones
	match danger unable
	matchwait

Wait:
	Echo ******************************
	Echo ** Waiting 30 seconds for danger to pass
	Echo ******************************
	pause 30
	goto Watch

NoTree:
	put watch forest careful
	match chop marker to direct
	match End no additional resources
	matchwait

End:
	Echo
	Echo
	Echo You've harvested all the wood available from this room.
	Echo
	ECho