PDA

View Full Version : Bigshot Wand woes.



Shari
08-22-2013, 01:24 PM
Not sure what is going on here. But it doesn't seem to register that I've pulled one from my container and keeps trying to grab one when my hands are full. Any thoughts?

[bigshot]>get aqua wand from my kit
You remove an aquamarine wand from in your cedar kit.
>
[bigshot]>get aqua wand from my kit
You need a free hand to pick that up.
>
| ERROR: Timed out looking for wand.
[bigshot]>get aqua wand from my kit
You need a free hand to pick that up.
>
| ERROR: Timed out looking for wand.
[bigshot]>get aqua wand from my kit
You need a free hand to pick that up.

Rolton-Sammich
08-22-2013, 04:08 PM
I've never used Bigshot or read the code before, but I'm bored so here you go.

It issues commands to get the wand variable from your 'fresh wand container.' And then it's supposed to be checking your hands for the wand (second line here):


wand = ( @WAND && @WAND !~ /^\s*$/ ) ? @WAND : 'wand'
until( (GameObj.right_hand.name.to_s + GameObj.left_hand.name.to_s) =~ /#{wand}/i )
result = dothistimeout( "get #{wand} from my #{@FRESH_WAND_CONTAINER}", 3, /You remove|You slip|Get what/ )
if( result =~ /Get what/ )
message("ERROR: Couldn't find fresh wand. Gonna rest."); $bigshot_should_rest = true; return;
elsif(result.nil?)
message("ERROR: Timed out looking for wand."); return;
end
end


And that would work fine if the wand variable were "wand" or "iron wand." But you have it defined as "aqua wand."

Bigshot is looking at what you're holding in your hands, checking to see whether you are holding an "aqua wand". Which you aren't.

In conclusion, for the user: specify that as "aquamarine wand" instead.

Shari
08-22-2013, 05:26 PM
You are a gem. Thank you!