<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://gswiki-archive.gs-game.uk/index.php?action=history&amp;feed=atom&amp;title=Forging_%28script%29</id>
	<title>Forging (script) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://gswiki-archive.gs-game.uk/index.php?action=history&amp;feed=atom&amp;title=Forging_%28script%29"/>
	<link rel="alternate" type="text/html" href="https://gswiki-archive.gs-game.uk/index.php?title=Forging_(script)&amp;action=history"/>
	<updated>2026-11-11T21:48:52Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://gswiki-archive.gs-game.uk/index.php?title=Forging_(script)&amp;diff=7257&amp;oldid=prev</id>
		<title>imported&gt;GS4-KEIOS: 7 revisions: Krakiipedia Import</title>
		<link rel="alternate" type="text/html" href="https://gswiki-archive.gs-game.uk/index.php?title=Forging_(script)&amp;diff=7257&amp;oldid=prev"/>
		<updated>2014-12-31T17:44:33Z</updated>

		<summary type="html">&lt;p&gt;7 revisions: Krakiipedia Import&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Script&lt;br /&gt;
 | title = Forging script&lt;br /&gt;
 | author = [[User:BELATHUS|Andy]]&lt;br /&gt;
 | compat = SF&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BEGIN:&lt;br /&gt;
 if_2 goto V-%1%&lt;br /&gt;
 if_1 goto PRE-INFORM&lt;br /&gt;
 echo Making a %W_TYPE made from a %METAL %BAR with a %WOOD %BLOCK handle to %TRASH%.&lt;br /&gt;
 pause 2&lt;br /&gt;
 goto HILT&lt;br /&gt;
&lt;br /&gt;
PRE-INFORM:&lt;br /&gt;
 ECHO [Making a %W_TYPE%. Starting tag will be: %1%.  The finished product will be a %W_FINISH%.]&lt;br /&gt;
 ECHO [The %BLADE% will be made from %METAL% (a %BAR%).  The %HILT% will be made from %WOOD% (a %BLOCK%).]&lt;br /&gt;
 ECHO [Production type will be %TRASH%.  If set to &amp;quot;stow&amp;quot; best pieces will be kept in your %FORGEBP%.]&lt;br /&gt;
 ECHO [To change these settings, end the script and enter the item to change followed by the value.]&lt;br /&gt;
 ECHO [To retain these settings, enter the command, YES. For a list of options, type NOTE.]&lt;br /&gt;
  match %1 A good positive attitude never hurts.&lt;br /&gt;
  match HELP How about B flat?&lt;br /&gt;
  matchwait&lt;br /&gt;
&lt;br /&gt;
HELP:&lt;br /&gt;
 ECHO [There are many, many variables that this script requires to run properly...]&lt;br /&gt;
 EXIT&lt;br /&gt;
&lt;br /&gt;
V-W_TYPE:&lt;br /&gt;
V-W_FINISH:&lt;br /&gt;
V-BLADE:&lt;br /&gt;
V-HILT:&lt;br /&gt;
V-METAL:&lt;br /&gt;
V-BAR:&lt;br /&gt;
V-WOOD:&lt;br /&gt;
V-BLOCK:&lt;br /&gt;
V-TRASH:&lt;br /&gt;
 setvariable %1 %2%&lt;br /&gt;
 goto PRE-INFORM&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
####### HILT #######&lt;br /&gt;
HILT:&lt;br /&gt;
 put glance&lt;br /&gt;
  match HIL_BB_EMPTY You glance down at your empty hands.&lt;br /&gt;
  match HIL_BB_SWAP You glance down to see a %WOOD %BLOCK in your right hand and nothing in your left hand.&lt;br /&gt;
  match HIL_BB_SWAP You glance down to see a leftover %WOOD %BLOCK in your right hand and nothing in your left hand.&lt;br /&gt;
  match HIL_BB_SWAP You glance down to see a ground %WOOD %BLOCK in your right hand and nothing in your left hand.&lt;br /&gt;
  match HIL_ETCH You glance down to see nothing in your right hand and a %WOOD %BLOCK in your left hand.&lt;br /&gt;
  match HIL_ETCH You glance down to see nothing in your right hand and a leftover %WOOD %BLOCK in your left hand.&lt;br /&gt;
  match HIL_ETCH You glance down to see nothing in your right hand and a ground %WOOD %BLOCK in your left hand.&lt;br /&gt;
  match HIL_GRIND You glance down to see nothing in your right hand and a scribed maoral block in your left hand.&lt;br /&gt;
  matchwait&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HIL_TOOTHPICK:&lt;br /&gt;
 put put toothpick in bin&lt;br /&gt;
&lt;br /&gt;
HIL_BB_EMPTY:&lt;br /&gt;
 pause&lt;br /&gt;
 put get my %WOOD %BLOCK&lt;br /&gt;
  match HIL_BB_SWAP You remove&lt;br /&gt;
  match HIL_NEED_MATERIAL Get what?&lt;br /&gt;
  match HIL_BB_SWAP You already have that.&lt;br /&gt;
  matchwait&lt;br /&gt;
&lt;br /&gt;
HIL_BB_SWAP:&lt;br /&gt;
 put swap&lt;br /&gt;
 goto HIL_ETCH&lt;br /&gt;
&lt;br /&gt;
HIL_ETCH:&lt;br /&gt;
 put stare %HILT%-glyph&lt;br /&gt;
  match NO_APRON You realize that you really should put on an apron before proceeding.&lt;br /&gt;
  match HIL_GRIND pattern onto the surface of the&lt;br /&gt;
  match HIL_TOO_SMALL Before the design is complete you reach an edge of the&lt;br /&gt;
  matchwait&lt;br /&gt;
&lt;br /&gt;
HIL_TOO_SMALL:&lt;br /&gt;
 pause&lt;br /&gt;
 put put my %BLOCK in bin&lt;br /&gt;
 goto HIL_BB_EMPTY&lt;br /&gt;
&lt;br /&gt;
HIL_GRIND:&lt;br /&gt;
 pause&lt;br /&gt;
 put turn grinder&lt;br /&gt;
#  match HIL_GRIND ...wait&lt;br /&gt;
#  match HIL_GRINDING You set your right foot against the already moving rocker pedal&lt;br /&gt;
#  matchwait&lt;br /&gt;
&lt;br /&gt;
HIL_GRINDING:&lt;br /&gt;
  match HIL_TOOTHPICK In the blink of an eye the %WOOD %BLOCK is ground to almost nothing.&lt;br /&gt;
  Match HIL_%TRASH finish your work and stand up&lt;br /&gt;
  match HIL_ETCH You decide the safest thing to do now is to re-scribe the %WOOD %BLOCK with the glyph and try again.&lt;br /&gt;
  match HIL_BEST_%TRASH You smile as you realize that this piece is the very best that you can create.&lt;br /&gt;
  match HIL_WORKSHOP_GRIND The grinding wheel doesn&amp;#039;t budge!  Most likely the rent on this workshop has expired.&lt;br /&gt;
  matchwait&lt;br /&gt;
&lt;br /&gt;
HIL_BEST_STOW:&lt;br /&gt;
# pause&lt;br /&gt;
# put stow my %BLOCK&lt;br /&gt;
# put lean polisher&lt;br /&gt;
#  match HIL_STOW at the polishing wheel and run your fingers over the smooth surface of your %WOOD hammer-head.&lt;br /&gt;
#  matchwait&lt;br /&gt;
 echo BEST!&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
HIL_BEST_TRASH:&lt;br /&gt;
HIL_STOW:&lt;br /&gt;
 put stow my %W_TYPE%-%HILT%&lt;br /&gt;
 put stow my %WOOD %BLOCK&lt;br /&gt;
 goto BLADE&lt;br /&gt;
&lt;br /&gt;
HIL_TRASH:&lt;br /&gt;
 put put my %W_TYPE%-%HILT% in bin&lt;br /&gt;
 goto HILT&lt;br /&gt;
&lt;br /&gt;
HIL_NEED_MATERIAL:&lt;br /&gt;
 echo *** GO BUY MORE SHIT! ***&lt;br /&gt;
 move out&lt;br /&gt;
 put order 3&lt;br /&gt;
 put buy&lt;br /&gt;
 move go workshop&lt;br /&gt;
 goto HIL_BB_EMPTY&lt;br /&gt;
&lt;br /&gt;
HIL_WORKSHOP_GRIND:&lt;br /&gt;
 move out&lt;br /&gt;
 move go workshop&lt;br /&gt;
 goto HIL_GRIND&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
####### BLADE #######&lt;br /&gt;
BLADE:&lt;br /&gt;
 pause&lt;br /&gt;
 put look&lt;br /&gt;
  match F_BLADE Forge]&lt;br /&gt;
  match F_GO Workshop]&lt;br /&gt;
  matchwait&lt;br /&gt;
&lt;br /&gt;
F_GO:&lt;br /&gt;
 move go door&lt;br /&gt;
F_BLADE:&lt;br /&gt;
 put look in trough&lt;br /&gt;
  match FB_WATER_%METAL In the trough you see a cork plug and some water.&lt;br /&gt;
  match FB_BUCKET_%METAL In the trough you see a cork plug.&lt;br /&gt;
  match FB_OIL_%METAL In the trough you see a cork plug and some oil.&lt;br /&gt;
  matchwait&lt;br /&gt;
&lt;br /&gt;
FB_TROUGH_BRONZE:&lt;br /&gt;
 put stow %BAR&lt;br /&gt;
FB_BUCKET_BRONZE:&lt;br /&gt;
 put get bucket&lt;br /&gt;
  pause&lt;br /&gt;
 goto FB_DETECT&lt;br /&gt;
&lt;br /&gt;
FB_TROUGH_STEEL:&lt;br /&gt;
 put stow %BAR&lt;br /&gt;
FB_WATER_STEEL:&lt;br /&gt;
 put pull plug&lt;br /&gt;
FB_BUCKET_STEEL:&lt;br /&gt;
 put get my tempering oil&lt;br /&gt;
  match FB_BUCKET_STEEL_POUR You remove a&lt;br /&gt;
  match FB_TEMPERING_OIL_GET Get what?&lt;br /&gt;
  match FB_BUCKET_STEEL_POUR You already have that.&lt;br /&gt;
  matchwait&lt;br /&gt;
&lt;br /&gt;
FB_BUCKET_STEEL_POUR:&lt;br /&gt;
 put pour oil in trough&lt;br /&gt;
  pause&lt;br /&gt;
 goto FB_DETECT&lt;br /&gt;
&lt;br /&gt;
FB_TEMPERING_OIL_GET:&lt;br /&gt;
 echo *** More Materials!&lt;br /&gt;
 move go door&lt;br /&gt;
 move out&lt;br /&gt;
 put order 5&lt;br /&gt;
 put buy&lt;br /&gt;
 SetVariable METAL steel&lt;br /&gt;
 SetVariable BAR slab&lt;br /&gt;
 move go workshop&lt;br /&gt;
 move go door&lt;br /&gt;
 goto FB_BUCKET_STEEL_POUR&lt;br /&gt;
&lt;br /&gt;
FB_WATER_BRONZE:&lt;br /&gt;
FB_OIL_BRONZE:&lt;br /&gt;
FB_OIL_STEEL:&lt;br /&gt;
FB_DETECT:&lt;br /&gt;
 put glance&lt;br /&gt;
  match   FB_EMPTY        You glance down at your empty hands.&lt;br /&gt;
  match   FB_GET_HAMMER_2 You glance down to see nothing in your right hand and a flattened %METAL %BAR in your left hand&lt;br /&gt;
  match   FB_GET_BAR      forging-hammer in your right hand and nothing in your left hand.&lt;br /&gt;
  match   FB_TONG         forging-hammer in your right hand and a scribed %METAL %BAR in your left hand.&lt;br /&gt;
  match   FB_TONG         forging-hammer in your right hand and a hammered %METAL %BAR in your left hand.&lt;br /&gt;
  matchre FB_GET_HAMMER   /see nothing in your right hand and a[ \t\n\r\f\v]*[a-zA-Z0-9_]* %METAL %BAR in your left hand./&lt;br /&gt;
  matchre FB_START        /forging-hammer in your right hand and a[ \t\n\r\f\v]*[a-zA-Z0-9_]* %METAL %BAR in your left hand./&lt;br /&gt;
  matchre FB_SWAP         /see a[ \t\n\r\f\v]*[a-zA-Z0-9_]* %METAL %BAR in your right hand and nothing in your left hand./&lt;br /&gt;
  matchwait&lt;br /&gt;
&lt;br /&gt;
FB_START_TRASH:&lt;br /&gt;
 move go door&lt;br /&gt;
 put put %BAR in bin&lt;br /&gt;
 move go door&lt;br /&gt;
 put get my %METAL %BAR&lt;br /&gt;
 goto FB_START&lt;br /&gt;
&lt;br /&gt;
FB_GET_BAR:&lt;br /&gt;
 put get my %METAL %BAR&lt;br /&gt;
  match FB_DETECT You remove&lt;br /&gt;
  match FB_MORE_%METAL Get what?&lt;br /&gt;
  matchwait&lt;br /&gt;
&lt;br /&gt;
FB_EMPTY:&lt;br /&gt;
 put get my %METAL %BAR&lt;br /&gt;
  match FB_SWAP You remove&lt;br /&gt;
  match FB_MORE_%METAL Get what?&lt;br /&gt;
  matchwait&lt;br /&gt;
&lt;br /&gt;
FB_MORE_BRONZE:&lt;br /&gt;
 echo *** More Materials!&lt;br /&gt;
 move go door&lt;br /&gt;
 move out&lt;br /&gt;
 put order 2&lt;br /&gt;
 put buy&lt;br /&gt;
 SetVariable METAL bronze&lt;br /&gt;
 SetVariable BAR bar&lt;br /&gt;
 move go workshop&lt;br /&gt;
 move go door&lt;br /&gt;
 goto FB_DETECT&lt;br /&gt;
&lt;br /&gt;
FB_MORE_STEEL:&lt;br /&gt;
 echo *** More Materials!&lt;br /&gt;
 move go door&lt;br /&gt;
 move out&lt;br /&gt;
 put order 4&lt;br /&gt;
 put buy&lt;br /&gt;
 SetVariable METAL steel&lt;br /&gt;
 SetVariable BAR slab&lt;br /&gt;
 move go workshop&lt;br /&gt;
 move go door&lt;br /&gt;
 goto FB_DETECT&lt;br /&gt;
&lt;br /&gt;
FB_SWAP:&lt;br /&gt;
 put swap&lt;br /&gt;
 goto FB_DETECT&lt;br /&gt;
&lt;br /&gt;
FB_GET_HAMMER:&lt;br /&gt;
 put remove forging-hammer&lt;br /&gt;
 goto FB_DETECT&lt;br /&gt;
&lt;br /&gt;
FB_START:&lt;br /&gt;
 put stare %BLADE%-glyph&lt;br /&gt;
  match FB_DETECT Your material is marked with a pattern, next you&amp;#039;ll need to shape it somehow.&lt;br /&gt;
  match FB_START_TRASH onto the surface of the bronze.  Before the design is complete you reach an edge of the&lt;br /&gt;
  matchwait&lt;br /&gt;
&lt;br /&gt;
FB_EXPIRED:&lt;br /&gt;
 pause&lt;br /&gt;
 move go door&lt;br /&gt;
 move out&lt;br /&gt;
 move go workshop&lt;br /&gt;
 move go door&lt;br /&gt;
 goto FB_TONG&lt;br /&gt;
 &lt;br /&gt;
FB_GET_HAMMER_2:&lt;br /&gt;
 put remove forging-hammer&lt;br /&gt;
FB_TONG:&lt;br /&gt;
 pause&lt;br /&gt;
 put get tong&lt;br /&gt;
  match FB_TONG You finish this round of work on your %METAL %BAR and set the tongs on the anvil, realizing that there&amp;#039;s&lt;br /&gt;
  match FB_TROUGH_%METAL The tempering trough is empty!&lt;br /&gt;
  match FB_START You decide the safest thing to do now is to re-scribe the&lt;br /&gt;
  match FB_EXPIRED The tongs don&amp;#039;t budge!  Most likely the rent on this workshop has expired.&lt;br /&gt;
  match FB_%TRASH Turning the %METAL %W_TYPE%-%BLADE% you nod, satisfied with your work.&lt;br /&gt;
  match FB_GET_BAR With a single, faulty blow of your hammer, you&amp;#039;ve totally shattered your&lt;br /&gt;
  match FB_BEST_%TRASH A moment of close inspection is all you need to tell that you have done your best work this time.&lt;br /&gt;
  matchwait&lt;br /&gt;
&lt;br /&gt;
FB_STOW:&lt;br /&gt;
 put wear forging&lt;br /&gt;
 move go door&lt;br /&gt;
 goto POL_BOTH&lt;br /&gt;
&lt;br /&gt;
FB_BEST_STOW:&lt;br /&gt;
 echo [ BEST! ]&lt;br /&gt;
 put put my left in my %FORGEBP&lt;br /&gt;
 setvariable %BESTBLADE TRUE&lt;br /&gt;
 goto BLADE&lt;br /&gt;
&lt;br /&gt;
FB_BEST_TRASH:&lt;br /&gt;
FB_TRASH:&lt;br /&gt;
 move go door&lt;br /&gt;
 put put my %W_TYPE%-%BLADE% in bin&lt;br /&gt;
 move go door&lt;br /&gt;
 goto F_BLADE&lt;br /&gt;
&lt;br /&gt;
####### POLISHING #######&lt;br /&gt;
POLISH:&lt;br /&gt;
POL_BOTH:&lt;br /&gt;
 put glance&lt;br /&gt;
  match POL_BLADE      You glance down to see nothing in your right hand and a rough %METAL %W_TYPE%-%BLADE% in your left hand.&lt;br /&gt;
  match POL_BLADE_SWAP You glance down to see a rough %METAL %W_TYPE%-%BLADE% in your right hand and nothing in your left hand.&lt;br /&gt;
  match POL_HILT       You glance down to see nothing in your right hand and a rough %WOOD %W_TYPE%-%HILT% in your left hand.&lt;br /&gt;
  match POL_GET        You glance down at your empty hands.&lt;br /&gt;
  match POL_STOW_BLADE You glance down to see nothing in your right hand and a finished %METAL %W_TYPE%-%BLADE% in your left hand.&lt;br /&gt;
  match VISE           You glance down to see nothing in your right hand and a finished %WOOD %W_TYPE%-%HILT% in your left hand.&lt;br /&gt;
  matchwait&lt;br /&gt;
&lt;br /&gt;
POL_GET:&lt;br /&gt;
 put get my %W_TYPE%-%BLADE% from my %container&lt;br /&gt;
POL_BLADE_SWAP:&lt;br /&gt;
 put swap&lt;br /&gt;
POL_BLADE:&lt;br /&gt;
 put lean polisher&lt;br /&gt;
  match POL_STOW_BLADE run your fingers over the smooth surface of your&lt;br /&gt;
  match POL_BLADE_TIME The polishing wheel doesn&amp;#039;t budge!  Most likely the rent on this workshop has expired.&lt;br /&gt;
  matchwait&lt;br /&gt;
&lt;br /&gt;
POL_BLADE_TIME:&lt;br /&gt;
 move out&lt;br /&gt;
 move go workshop&lt;br /&gt;
 goto POL_BLADE&lt;br /&gt;
&lt;br /&gt;
POL_STOW_BLADE:&lt;br /&gt;
 pause&lt;br /&gt;
 put stow %W_TYPE%-%BLADE%&lt;br /&gt;
POL_GET_2:&lt;br /&gt;
 put get my %W_TYPE%-%HILT% from my %container&lt;br /&gt;
 put swap&lt;br /&gt;
&lt;br /&gt;
POL_HILT:&lt;br /&gt;
 put lean polisher&lt;br /&gt;
  match BH_VISE run your fingers over the smooth surface of your&lt;br /&gt;
  match POL_HILT_TIME The polishing wheel doesn&amp;#039;t budge!  Most likely the rent on this workshop has expired.&lt;br /&gt;
  matchwait&lt;br /&gt;
&lt;br /&gt;
POL_HILT_TIME:&lt;br /&gt;
 move out&lt;br /&gt;
 move go workshop&lt;br /&gt;
 goto POL_HILT&lt;br /&gt;
&lt;br /&gt;
####### BLADE-HILT VISE #######&lt;br /&gt;
VISE:&lt;br /&gt;
BH_VISE:&lt;br /&gt;
 pause&lt;br /&gt;
 put glance&lt;br /&gt;
  match BH_POLISH_HILT The item in your right hand is not ready for assembly.&lt;br /&gt;
  match BH_GET_HILT You glance down to see nothing in your right hand and a finished %METAL %W_TYPE%-%BLADE% in your left hand.&lt;br /&gt;
  match BH_USE_VISE see a finished %METAL %W_TYPE%-%BLADE% in your right hand and a finished %WOOD %W_TYPE%-%HILT% in your left &lt;br /&gt;
  match BH_GET_BLADE You glance down to see nothing in your right hand and a finished %WOOD %W_TYPE%-%HILT% in your left hand.&lt;br /&gt;
  matchwait&lt;br /&gt;
&lt;br /&gt;
BH_WORKSHOP:&lt;br /&gt;
 move out&lt;br /&gt;
 move go workshop&lt;br /&gt;
 goto BH_USE_VISE&lt;br /&gt;
&lt;br /&gt;
BH_GET_HILT:&lt;br /&gt;
 put get %WOOD %W_TYPE%-%HILT%&lt;br /&gt;
 goto BH_USE_VISE&lt;br /&gt;
BH_GET_BLADE:&lt;br /&gt;
 put get %METAL %W_TYPE%-%BLADE%&lt;br /&gt;
 goto BH_USE_VISE&lt;br /&gt;
&lt;br /&gt;
BH_USE_VISE_SWAP:&lt;br /&gt;
 put swap&lt;br /&gt;
BH_USE_VISE:&lt;br /&gt;
 pause&lt;br /&gt;
 put turn vise&lt;br /&gt;
  match BH_USE_VISE_SWAP You need to be holding the blade or head part in your left hand in order to use the vise successfully.&lt;br /&gt;
  match BH_USE_VISE tighten it snugly, and take another try at it.&lt;br /&gt;
  match BH_%TRASH You nod, satisfied with the piece you&amp;#039;ve created.&lt;br /&gt;
  match BH_TRASH You remove the assembled item from the vise and look it over with some apprehension.&lt;br /&gt;
  match BH_WORKSHOP The vise doesn&amp;#039;t budge!  Most likely the rent on this workshop has expired.&lt;br /&gt;
  match BH_BEST_%TRASH You smile as you realize that this piece is probably the best that you can create.&lt;br /&gt;
  match BH_POLISH_HILT The item in your right hand is not ready for assembly.&lt;br /&gt;
  matchwait&lt;br /&gt;
&lt;br /&gt;
BH_STOW:&lt;br /&gt;
 echo *** Seems you&amp;#039;re done. ***&lt;br /&gt;
 put stow right&lt;br /&gt;
 put stow left&lt;br /&gt;
 goto HILT&lt;br /&gt;
&lt;br /&gt;
BH_BEST_STOW:&lt;br /&gt;
 echo *** BEST! ***&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
BH_BEST_TRASH:&lt;br /&gt;
BH_TRASH:&lt;br /&gt;
 put put %W_FINISH in bin&lt;br /&gt;
 goto HILT&lt;br /&gt;
&lt;br /&gt;
BH_POLISH_HILT:&lt;br /&gt;
 put stow %W_TYPE%-%BLADE%&lt;br /&gt;
 put swap&lt;br /&gt;
 put lean polisher&lt;br /&gt;
  waitfor run your fingers over the smooth surface of your&lt;br /&gt;
 goto BH_VISE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
####### HAMMER #######&lt;br /&gt;
HAMMER:&lt;br /&gt;
H-HEAD:&lt;br /&gt;
 put glance&lt;br /&gt;
  match   HHE_BB_EMPTY   You glance down at your empty hands.&lt;br /&gt;
  match   HHE_BB_SWAP    You glance down to see a %METAL %BAR in your right hand and nothing in your left hand.&lt;br /&gt;
  match   HHE_BB_SWAP    You glance down to see a leftover %METAL %BAR in your right hand and nothing in your left hand.&lt;br /&gt;
  match   HHE_ETCH       see nothing in your right hand and a scribed %METAL %BAR in your left hand.&lt;br /&gt;
  matchre HHE_ETCH       /see nothing in your right hand and a[ \t\n\r\f\v]*[a-zA-Z0-9_]* %METAL %BAR in your left hand./&lt;br /&gt;
  matchwait&lt;br /&gt;
&lt;br /&gt;
HHE_TOOTHPICK:&lt;br /&gt;
 put put toothpick in bin&lt;br /&gt;
 goto HHA_BB_EMPTY&lt;br /&gt;
&lt;br /&gt;
HHE_BB_EMPTY:&lt;br /&gt;
 put get my %METAL %BAR&lt;br /&gt;
  match   HHE_BB_MATERIALS_%METAL Get what?&lt;br /&gt;
  matchre HHE_BB_SWAP /You (get|remove)/&lt;br /&gt;
 matchwait&lt;br /&gt;
  &lt;br /&gt;
HHE_BB_MATERIALS_BRONZE:&lt;br /&gt;
 echo *** GO BUY MORE SHIT! ***&lt;br /&gt;
 move out&lt;br /&gt;
 put order 2&lt;br /&gt;
 put buy&lt;br /&gt;
 SetVariable METAL bronze&lt;br /&gt;
 SetVariable BAR bar&lt;br /&gt;
 move go workshop&lt;br /&gt;
 goto HHE_BB_SWAP&lt;br /&gt;
&lt;br /&gt;
HHE_BB_MATERIALS_STEEL:&lt;br /&gt;
 echo *** GO BUY MORE SHIT! ***&lt;br /&gt;
 move out&lt;br /&gt;
 put order 4&lt;br /&gt;
 put buy&lt;br /&gt;
 SetVariable METAL steel&lt;br /&gt;
 SetVariable BAR slab&lt;br /&gt;
 move go workshop&lt;br /&gt;
 goto HHE_BB_SWAP&lt;br /&gt;
 &lt;br /&gt;
HHE_BB_SWAP:&lt;br /&gt;
 put swap&lt;br /&gt;
 goto HHE_ETCH&lt;br /&gt;
&lt;br /&gt;
HHE_ETCH:&lt;br /&gt;
 put stare forging-hammer head-glyph&lt;br /&gt;
  match NO_APRON You realize that you really should put on an apron before proceeding.&lt;br /&gt;
  match HHE_GRIND You carefully trace the forging-hammer pattern onto the surface of the %METAL in your hand.&lt;br /&gt;
  match HHE_TOO_SMALL Before the design is complete you reach an edge of the %BAR and realize it is too small.&lt;br /&gt;
  matchwait&lt;br /&gt;
&lt;br /&gt;
HHE_TOO_SMALL:&lt;br /&gt;
 put put my %METAL %BAR in bin&lt;br /&gt;
 goto HHE_BB_EMPTY&lt;br /&gt;
&lt;br /&gt;
HHE_GRIND:&lt;br /&gt;
 pause&lt;br /&gt;
 put turn grinder&lt;br /&gt;
#  match HHE_GRIND ...wait&lt;br /&gt;
#  match HHE_GRINDING You set your right foot against the already moving rocker pedal&lt;br /&gt;
# matchwait&lt;br /&gt;
 &lt;br /&gt;
HHE_GRINDING:&lt;br /&gt;
  Match HHE_GROUND You nod, satisfied with the piece you&amp;#039;ve created.&lt;br /&gt;
  match HHE_ETCH You decide the safest thing to do now is to re-scribe the %METAL %BAR with the glyph and try again.&lt;br /&gt;
  match HHE_BEST You smile as you realize that this piece is the very best that you can create.&lt;br /&gt;
  match HHE_TOOTHPICK In the blink of an eye the %WOOD %BLOCK is ground to almost nothing.&lt;br /&gt;
  match HHE_WORKSHOP_GRIND The grinding wheel doesn&amp;#039;t budge!  Most likely the rent on this workshop has expired.&lt;br /&gt;
  matchwait&lt;br /&gt;
&lt;br /&gt;
HHE_BEST:&lt;br /&gt;
HHE_GROUND:&lt;br /&gt;
 pause&lt;br /&gt;
 put stow my %METAL %BAR&lt;br /&gt;
 put lean polisher&lt;br /&gt;
  match HHE_STOW_%TRASH at the polishing wheel and run your fingers over the smooth surface of your %METAL hammer-head.&lt;br /&gt;
  matchwait&lt;br /&gt;
&lt;br /&gt;
HHE_STOW_TRASH:&lt;br /&gt;
 put stow my hammer-head&lt;br /&gt;
 goto H-HANDLE&lt;br /&gt;
 &lt;br /&gt;
HHE_STOW_BEST:&lt;br /&gt;
 put put my hammer-head in my %FORGEBP&lt;br /&gt;
 echo [Created a superior piece]&lt;br /&gt;
 setvariable BESTHHEAD True&lt;br /&gt;
 goto H_HEAD&lt;br /&gt;
&lt;br /&gt;
HHE_WORKSHOP_GRIND:&lt;br /&gt;
 move out&lt;br /&gt;
 move go workshop&lt;br /&gt;
 goto HHE_GRIND&lt;br /&gt;
&lt;br /&gt;
NO_APRON:&lt;br /&gt;
 echo *** You heard the man. ***&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
####### HAMMER-HANDLE GRINDING #######&lt;br /&gt;
HANDLE:&lt;br /&gt;
H-HANDLE:&lt;br /&gt;
 put glance&lt;br /&gt;
  match HHA_GRIND You glance down to see nothing in your right hand and a scribed %WOOD% %BLOCK% in your left hand.&lt;br /&gt;
  match HHA_BB_EMPTY You glance down at your empty hands.&lt;br /&gt;
  match HHA_BB_SWAP You glance down to see a %WOOD% %BLOCK% in your right hand and nothing in your left hand.&lt;br /&gt;
  match HHA_BB_SWAP You glance down to see a leftover %WOOD% %BLOCK% in your right hand and nothing in your left hand.&lt;br /&gt;
  match HHA_ETCH You glance down to see nothing in your right hand and a %WOOD% %BLOCK% in your left hand.&lt;br /&gt;
  match HHA_ETCH You glance down to see nothing in your right hand and a leftover %WOOD% %BLOCK% in your left hand.&lt;br /&gt;
  match HHA_ETCH You glance down to see nothing in your right hand and a ground %WOOD% %BLOCK% in your left hand.&lt;br /&gt;
  matchwait&lt;br /&gt;
&lt;br /&gt;
HHA_TOOTHPICK:&lt;br /&gt;
 put put toothpick in bin&lt;br /&gt;
 goto HHA_BB_EMPTY&lt;br /&gt;
&lt;br /&gt;
HHA_BB_EMPTY:&lt;br /&gt;
 put get my %WOOD %BLOCK&lt;br /&gt;
  match HHA_BB_MATERIALS_%WOOD Get what?&lt;br /&gt;
  matchre HHA_BB_SWAP /You (get|remove)/&lt;br /&gt;
  matchwait&lt;br /&gt;
&lt;br /&gt;
HHA_BB_MATERIALS_STEEL:&lt;br /&gt;
 echo [Forge: Purchasing more steel.]&lt;br /&gt;
 move out&lt;br /&gt;
 put order 4&lt;br /&gt;
 put buy&lt;br /&gt;
 SetVariable WOOD steel&lt;br /&gt;
 SetVariable BLOCK slab&lt;br /&gt;
 move go workshop&lt;br /&gt;
 goto HHA_BB_SWAP&lt;br /&gt;
&lt;br /&gt;
HHA_BB_MATERIALS_HAON:&lt;br /&gt;
HHA_BB_MATERIALS_MONIR:&lt;br /&gt;
HHA_BB_MATERIALS_MODWIR:&lt;br /&gt;
HHA_BB_MATERIALS_MAORAL:&lt;br /&gt;
 put out&lt;br /&gt;
  match HHA_BB_MATERIALS_HAON_SAVE [Ta&amp;#039;Illistim Forging Supply Shop]&lt;br /&gt;
  match HHA_BB_MATERIALS_MAORAL_SAVE [Wehnimer&amp;#039;s Landing Forging Supply Shop]&lt;br /&gt;
  match HHA_BB_MATERIALS_MODWIR_SAVE [Icemule Trace Forging Supply Shop]&lt;br /&gt;
  match HHA_BB_MATERIALS_MAPLE_SAVE [Kharam Dzu Forging Supply Shop]&lt;br /&gt;
  match HHA_BB_MATERIALS_HICKORY_SAVE [Solhaven Forging Supply Shop]&lt;br /&gt;
  matchwait&lt;br /&gt;
  &lt;br /&gt;
HHA_BB_MATERIALS_HAON_SAVE:&lt;br /&gt;
 echo [Forge: Purchasing more haon, if you&amp;#039;re in Ta&amp;#039;Illistim.]&lt;br /&gt;
 SetVariable WOOD haon&lt;br /&gt;
 SetVariable BLOCK block&lt;br /&gt;
 goto HHA_BB_MATERIALS_BUY&lt;br /&gt;
 &lt;br /&gt;
HHA_BB_MATERIALS_MAORAL_SAVE:&lt;br /&gt;
 echo [Forge: Purchasing more maoral, if you&amp;#039;re in The Landing.]&lt;br /&gt;
 SetVariable WOOD maoral&lt;br /&gt;
 SetVariable BLOCK block&lt;br /&gt;
 goto HHA_BB_SWAP&lt;br /&gt;
&lt;br /&gt;
HHA_BB_MATERIALS_MODWIR_SAVE:&lt;br /&gt;
 echo [Forge: Purchasing more modwir, if you&amp;#039;re in Teras.]&lt;br /&gt;
 SetVariable WOOD modwir&lt;br /&gt;
 SetVariable BLOCK block&lt;br /&gt;
 goto HHA_BB_SWAP&lt;br /&gt;
 &lt;br /&gt;
HHA_BB_MATERIALS_MAPLE_SAVE:&lt;br /&gt;
 echo [Forge: Purchasing more maple, if you&amp;#039;re in Icemule.]&lt;br /&gt;
 SetVariable WOOD monir&lt;br /&gt;
 SetVariable BLOCK block&lt;br /&gt;
 goto HHA_BB_SWAP&lt;br /&gt;
&lt;br /&gt;
HHA_BB_MATERIALS_HICKORY_SAVE:&lt;br /&gt;
 echo [Forge: Purchasing more hickory, if you&amp;#039;re in Solhaven.]&lt;br /&gt;
 SetVariable WOOD hickory&lt;br /&gt;
 SetVariable BLOCK block&lt;br /&gt;
 goto HHA_BB_SWAP&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HHA_BB_MATERIALS_BUY:&lt;br /&gt;
 put order 3&lt;br /&gt;
 put buy&lt;br /&gt;
 move go workshop&lt;br /&gt;
 goto HHA_BB_SWAP&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HHA_BB_MATERIALS_STEEL:&lt;br /&gt;
 echo [Forge: Purchasing a bronze bar.]&lt;br /&gt;
 move out&lt;br /&gt;
 put order 2&lt;br /&gt;
 put buy&lt;br /&gt;
 SetVariable WOOD bronze&lt;br /&gt;
 SetVariable BLOCK bar&lt;br /&gt;
 move go workshop&lt;br /&gt;
 goto HHA_BB_SWAP&lt;br /&gt;
&lt;br /&gt;
HHA_BB_SWAP:&lt;br /&gt;
 put swap&lt;br /&gt;
 goto HHA_ETCH&lt;br /&gt;
&lt;br /&gt;
HHA_ETCH:&lt;br /&gt;
 put stare forging-hammer handle-glyph&lt;br /&gt;
  match NO_APRON You realize that you really should put on an apron before proceeding.&lt;br /&gt;
  match HHA_GRIND You carefully trace the forging-hammer pattern onto the surface of the %WOOD in your hand.&lt;br /&gt;
  match HHA_TOO_SMALL Before the design is complete you reach an edge of the %BLOCK and realize it is too small.&lt;br /&gt;
  matchwait&lt;br /&gt;
&lt;br /&gt;
HHA_TOO_SMALL:&lt;br /&gt;
 put put my %BLOCK% in bin&lt;br /&gt;
 goto HHA_BB_EMPTY&lt;br /&gt;
&lt;br /&gt;
HHA_GRIND:&lt;br /&gt;
 pause&lt;br /&gt;
 put turn grinder&lt;br /&gt;
#  match HHA_GRIND ...wait&lt;br /&gt;
#  match HHA_GRINDING You set your right foot against the already moving rocker&lt;br /&gt;
# matchwait&lt;br /&gt;
  &lt;br /&gt;
HHA_GRINDING:&lt;br /&gt;
# ECHO [FORGING: Waiting...]&lt;br /&gt;
  Match HHA_GROUND_%TRASH You nod, satisfied with the piece you&amp;#039;ve created.&lt;br /&gt;
  match HHA_BEST_%TRASH You smile as you realize that this piece is the very best that you can create.&lt;br /&gt;
  match HHA_ETCH You decide the safest thing to do now is to re-scribe the %WOOD %BLOCK with the glyph and try again.&lt;br /&gt;
  match HHA_TOOTHPICK In the blink of an eye the %WOOD %BLOCK is ground to almost nothing.&lt;br /&gt;
  match HHA_WORKSHOP_GRIND The grinding wheel doesn&amp;#039;t budge!  Most likely the rent on this workshop has expired.&lt;br /&gt;
  matchwait&lt;br /&gt;
&lt;br /&gt;
HHA_BEST_STOW:&lt;br /&gt;
 pause&lt;br /&gt;
 put stow my %BLOCK%&lt;br /&gt;
 put lean polisher&lt;br /&gt;
  match HHA_STOW_BEST the polishing wheel and run your fingers over the smooth surface of your %WOOD hammer-handle.&lt;br /&gt;
  matchwait&lt;br /&gt;
&lt;br /&gt;
HHA_BEST_TRASH:&lt;br /&gt;
HHA_GROUND_TRASH:&lt;br /&gt;
 pause&lt;br /&gt;
 put put my hammer-handle in bin&lt;br /&gt;
 goto HANDLE&lt;br /&gt;
&lt;br /&gt;
HHA_GROUND_STOW:&lt;br /&gt;
 pause&lt;br /&gt;
 put stow my %BLOCK&lt;br /&gt;
 put lean polisher&lt;br /&gt;
  match HHA_STOW_NORMAL the polishing wheel and run your fingers over the smooth surface of your %WOOD hammer-handle.&lt;br /&gt;
  matchwait&lt;br /&gt;
&lt;br /&gt;
HHA_STOW_NORMAL:&lt;br /&gt;
 put stow my hammer-handle&lt;br /&gt;
 goto H-COMBINE&lt;br /&gt;
&lt;br /&gt;
HHA_STOW_BEST:&lt;br /&gt;
 put put my hammer-handle in my %FORGEBP%&lt;br /&gt;
 echo [Forge: Made a superior part.]&lt;br /&gt;
 setvariable BESTHHANDLE True&lt;br /&gt;
 goto H-HANDLE&lt;br /&gt;
&lt;br /&gt;
HHA_WORKSHOP_GRIND:&lt;br /&gt;
 move out&lt;br /&gt;
 move go workshop&lt;br /&gt;
 goto HHA_GRIND&lt;br /&gt;
&lt;br /&gt;
####### FORGING-HAMMER VISE #######&lt;br /&gt;
H-COMBINE:&lt;br /&gt;
 put glance&lt;br /&gt;
 match HC_VISE down to see a finished %WOOD hammer-handle in your right hand and a finished %METAL hammer-head in your left hand.&lt;br /&gt;
 match HC_VISE down to see a finished %METAL hammer-head in your right hand and a finished %WOOD hammer-handle in your left hand.&lt;br /&gt;
 match HC_GET_HEAD You glance down to see a finished %WOOD hammer-handle in your right hand and nothing in your left hand.&lt;br /&gt;
 match HC_GET_HANDLE_SWAP You glance down to see a finished %METAL hammer-head in your right hand and nothing in your left hand.&lt;br /&gt;
 match HC_GET_HANDLE You glance down to see nothing in your right hand and a finished %METAL hammer-head in your left hand.&lt;br /&gt;
 match HC_GET_HEAD_SWAP You glance down to see nothing in your right hand and a finished %WOOD hammer-handle in your left hand.&lt;br /&gt;
 match HC_GET You glance down at your empty hands.&lt;br /&gt;
 matchwait&lt;br /&gt;
&lt;br /&gt;
HC_GET:&lt;br /&gt;
 put get my hammer-handle from my %container&lt;br /&gt;
HC_GET_HEAD:&lt;br /&gt;
 put get hammer-head from my %container&lt;br /&gt;
 goto HC_VISE&lt;br /&gt;
HC_GET_HANDLE_SWAP:&lt;br /&gt;
 put get hammer-handle&lt;br /&gt;
 put swap&lt;br /&gt;
 goto HC_VISE&lt;br /&gt;
HC_GET_HANDLE:&lt;br /&gt;
 put get hammer-handle&lt;br /&gt;
 goto HC_VISE&lt;br /&gt;
HC_GET_HEAD_SWAP:&lt;br /&gt;
 put get hammer-head&lt;br /&gt;
 put swap&lt;br /&gt;
 goto HC_VISE&lt;br /&gt;
&lt;br /&gt;
HC_VISE:&lt;br /&gt;
 pause&lt;br /&gt;
 put turn vise&lt;br /&gt;
  match HC_VISE You decide the safest thing to do now is to re-set the hammer-head in the vise&lt;br /&gt;
  match HC_VISE is using the vise right now.  You&amp;#039;ll have to wait until he has finished.&lt;br /&gt;
  match HC_%TRASH You nod, satisfied with the piece you&amp;#039;ve created.&lt;br /&gt;
  match HC_BEST_%TRASH You smile as you realize that this piece is probably the best that you can create.&lt;br /&gt;
  matchwait&lt;br /&gt;
&lt;br /&gt;
HC_STOW:&lt;br /&gt;
  echo ***DONE!  Next job?***&lt;br /&gt;
  exit&lt;br /&gt;
&lt;br /&gt;
HC_TRASH:&lt;br /&gt;
HC_BEST_TRASH:&lt;br /&gt;
 put forging-hammer in bin&lt;br /&gt;
 goto HAMMER&lt;br /&gt;
 &lt;br /&gt;
HC_BEST_STOW:&lt;br /&gt;
 echo [Forge: A good hammer, we hope.]&lt;br /&gt;
 exit&lt;br /&gt;
 &lt;br /&gt;
SETUP:&lt;br /&gt;
 put remove %ARMOR&lt;br /&gt;
 put stow %ARMOR&lt;br /&gt;
  pause&lt;br /&gt;
 put get apron&lt;br /&gt;
 put wear apron&lt;br /&gt;
  pause&lt;br /&gt;
 put get forging-hammer&lt;br /&gt;
 put wear forging-hammer&lt;br /&gt;
 exit&lt;br /&gt;
 &lt;br /&gt;
UNSETUP:&lt;br /&gt;
 put remove apron&lt;br /&gt;
 put put apron in my %FORGEBP&lt;br /&gt;
  pause&lt;br /&gt;
 put remove forging-hammer&lt;br /&gt;
 put put forging-hammer in my %FORGEBP&lt;br /&gt;
  pause&lt;br /&gt;
 put get my %ARMOR&lt;br /&gt;
 put wear my %ARMOR&lt;br /&gt;
 exit&lt;br /&gt;
 &lt;br /&gt;
 LABELERROR:&lt;br /&gt;
  echo [There was an error.]&lt;br /&gt;
  exit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;GS4-KEIOS</name></author>
	</entry>
</feed>