Bug - Not A Bug Scratch and sniff stickers removed when unequipping weapon

Winterbay

Active member
Following a line of discussion in /hardcore I went to try out the encountered problem. Equiping a scratch 'n' sniff weapon equip fails unless you are specific enough (fair enough)
Code:
> equip scratch 'n' sniff

scratch 'n'     sniff apple sticker
scratch 'n' sniff dragon sticker
scratch 'n'     sniff rock band sticker
scratch 'n' sniff unicorn sticker
scratch     'n' sniff upc sticker
scratch 'n' sniff wrestler sticker

[scratch     'n' sniff] has too many matches.

Nothing in there about the weapon though.

his works however:
Code:
> equip scratch 'n' sniff cr

Wielding     scratch 'n' sniff crossbow...
Equipment changed.

Going in the other direction is the wierd and possibly bad part since:

Code:
> unequip scratch 'n' sniff cr

Taking     off scratch 'n' sniff crossbow...
Equipment changed.
works as above but

Code:
> unequip scratch 'n' sniff

Taking     off scratch 'n' sniff crossbow...
Equipment changed.
Taking off     scratch 'n' sniff UPC sticker...
Equipment changed.
Taking off     scratch 'n' sniff UPC sticker...
Equipment changed.
Taking off     scratch 'n' sniff UPC sticker...
Equipment changed.
leads to not only the weapon being unequipped but also all the stickers to be removed.

This feels like a non-intended behaviour. Is it?
 
The way UnequipCommand() is currently coded, it will unequip every piece of equipment whose name contains foo if you type unequip foo in the gCLI.
Code:
> unequip scratch

Taking off scratch 'n' sniff crossbow...
Equipment changed.
Taking off scratch 'n' sniff apple sticker...
Equipment changed.
Taking off scratch 'n' sniff wrestler sticker...
Equipment changed.
Taking off scratch 'n' sniff dragon sticker...
Equipment changed.
Code:
> unequip hodg

Taking off Hodgman's porkpie hat...
Equipment changed.
Taking off Hodgman's whackin' stick...
Equipment changed.
Taking off Hodgman's imaginary hamster...
Equipment changed.
Taking off Hodgman's disgusting technicolor overcoat...
Equipment changed.
Taking off Hodgman's lobsterskin pants...
Equipment changed.
Taking off Hodgman's lucky sock...
Equipment changed.
Taking off Hodgman's bow tie...
Equipment changed.
It works as expected, although it does lead to this kind of confusion. The best way to avoid this would be to use unequip weapon instead.
 
Last edited:
Back
Top