rpherbig / dr-scripts

A series of Lich 5 (https://github.com/elanthia-online/lich-5) scripts for use with DragonRealms (http://www.play.net/dr/). Donations are welcome (http://www.paypal.me/rcuhljr)!
GNU General Public License v2.0
52 stars 177 forks source link

Forging workorders in the crossing pulls the wrong oil from the wrong container, stalling script #1016

Closed arkrail closed 7 years ago

arkrail commented 7 years ago
forge]>tie my tongs to my forger belt

You attach some articulated covellite tongs with a tempered finish to your forger's belt.
You feel fully attuned to the mana streams again.

[forge]>push tub

Wisps of hot smoke curl up from the tub as you slip the plain pliers into it.

The worked metal looks to be in need of some oil to preserve and protect it.
Roundtime: 24 sec.

[forge]>get pliers from anvil

You get some unfinished bronze plain pliers from atop an iron anvil.

[forge]>get my oil

You get some oil from inside your haversack.

[forge]>pour my oil on my pliers

You pour all of your oil onto the ground.
That was the last of your oil.
You feel fully attuned to the mana streams again.

[forge: *** No match was found after 15 seconds, dumping info]

[forge: messages seen length: 8]

[forge: message: You pour all of your oil onto the ground.]

[forge: message: That was the last of your oil.]

[forge: message: Osrel Meraud  (81%)]

[forge: message: Persistence of Mana  (OM)]

[forge: message: Revelation  (Indefinite)]

[forge: message: Osrel Meraud  (81%)]

[forge: message: Persistence of Mana  (OM)]

[forge: message: Revelation  (Indefinite)]

[forge: checked against [/Roundtime/i, /Applying the final touches/i, /You can't pour/i]]

[forge]>put my oil in my duffel bag

What were you referring to?

--- Lich: forge has exited.

[workorders]>get my forging logbook

You get a forging work order logbook from inside your duffel bag.

[workorders]>bundle my pliers with my logbook

Only completed items can be bundled with the work order.

[workorders: *** No match was found after 15 seconds, dumping info]

[workorders: messages seen length: 5]

Also the appropriate section from my yaml:

forge_container: duffel bag
train_workorders:
- Tailoring
- Blacksmithing
crafting_container: duffel bag
knitting_tools:
- knitting needle
favor_goal: 55
favor_god: Kertigen
immortal_aspect: raven
tithe: true
water_holder: chalice
flint_lighter: sword
theurgy_supply_container: haversack
rpherbig commented 7 years ago

It looks like forge needs to get oil from the crafting container

rpherbig commented 7 years ago

Huh, I guess forge already uses the get_crafting_item helper, but that helper does not use your crafting bag. That surprises me since stow_crafting_item does use your crafting bag...

rpherbig commented 7 years ago

Closing in favor of #1035