Log in

View Full Version : Useherbs funkiness



moongiftgiver
03-28-2015, 11:44 AM
Just updated my lich and then I updated my scripts...

This is now what I get with USEHERBS. Any idea how to fix it?

If I haven't got a "herbsack" set. I get this:
>;useherbs in bin
--- Lich: useherbs active.
--- Lich: error: can't convert NilClass to String (NilClass#to_str gives NilClass)
useherbs:1123:in `escape'
useherbs:1123:in `block in script'
--- Lich: useherbs has exited.


If I set a "herbsack" it won't look anywhere but in that herbsack:

;useherbs in bin
--- Lich: useherbs active.
In the seashell-edged shoulderbag you see a wingstem potion, a rune staff, a rations kit, a travel guide token, a bottle of deep green perfume, a bottle of deep green perfume and a bottle of deep green perfume.
R>
Missing herb for minor limb scar.

some cactacae spine, some prickly cactacae spine, tincture of cactacae, gelatinous elk fat tart, manroot tea, spotted toadstool ale, flagon of Bearded Ladies' ale, barrel of Bearded Ladies' ale


Just so you know I'm not crazy....

You tap some cactacae spine in an herbal remedy donation bin.

Tillmen
03-28-2015, 01:43 PM
What room is that in?

Tillmen
03-28-2015, 01:53 PM
Never mind. Should be fixed now.

Kellon
03-29-2015, 02:02 PM
Received the following error in TSC today:
[go2: travel time: 0:00:03]
--- Lich: go2 has exited.
--- Lich: useherbs active.
[useherbs: error: failed to find herb container (bin)]
--- Lich: useherbs has exited.
and
--- Lich: useherbs active.
[useherbs: error: failed to find herb container (bench)]
--- Lich: useherbs has exited.
--- Lich: useherbs active.

Tillmen
03-29-2015, 03:35 PM
I just tested it with both the bin and the bench and it worked, so I'm not sure what the problem is, unless there were more than 100 things on the floor.

True
04-03-2015, 05:37 PM
I also can't specify my own worn containers for this.

Used to be able to, now it only defaults to one.

I previously would ;useherbs robe or ;useherbs satchel or ;useherbs bench