I started back in the forge, trying to make my perfect mithril hammer. I got sick of seeing all the useless screen scroll... SOOOOOOOOOOOOO, I did this.
Code:
forgeaction = proc { |server_string|
if server_string.strip.length == 0
nil
next
end
case server_string
when /begin pumping to set the wheel spinning|you press it against the spinning stone|dust rises from the spinning wheel as you grind|internal strength fully recovers|begin to lose touch with your internal sources|You swap|You begin to trace|you feel pleased with yourself at having cleaned|may order a .*? of this item|for your patronage|ask about the price|silvers you offer in payment|Sold for \d+ silvers|You carefully trace|sparks leap from the spinning wheel|around you see a grinder that may suit your|focus deep within yourself, searching for untapped sources|feel a great deal stronger|feel fully energetic|you still have some time remaining, the clerk directs you|press it against the spinning wheel|hum of the spinning wheel and the scent|reducing areas of roughness to a polished|pause to press a tube of diamond dust paste|straighten up from working at the polishing wheel|#{Char.name} is using the polisher right|pause to examine both pieces closely|pick up a file and file|eternity you realize that the scribed pattern has been chewed|decide the safest thing to do now is to|you get to your feet|cost you \d+ silvers|you set to work assembling your|upon fitting the two pieces together/
nil
else
server_string
end
}
DownstreamHook.remove('forgesquelch')
DownstreamHook.add('forgesquelch', forgeaction)
before_dying { UpstreamHook.remove('forgesquelch'); }
Stuff that at the top of YOUR forge script, and be a happier person.