Armageddon General Discussion Board

General => Code Discussion => Topic started by: gestan on August 26, 2003, 04:47:33 PM

Title: Bug with sheathing swords on knife-belts.
Post by: gestan on August 26, 2003, 04:47:33 PM
I already reported this using the 'bug' command in game, but wanted to draw a little more attention to it, and get some responses from others.

The problem is, when trying to 'load' a sword onto a knife-belt, the code apparently assumes you wish to place the sword into the knife slots instead of hanging it off the belt. However, if you first wield the sword, then sheath it in the knife-belt everything goes smooth. The same applies for unloading the sword, the game assumes you wish to unload something from the knife slot, and doesnt allow you to unload the sword. Although you can still 'draw' the sword, and then 'remove' it to your inventory.

Just wondering if anyone else had noticed this, or if a staff memeber could give me confirmation that its being fixed. Thanks.
Title: Bug with sheathing swords on knife-belts.
Post by: spawnloser on August 26, 2003, 04:53:23 PM
That sounds right to me...otherwise the mud would have to ask you which way you wanted it done whenever you wanted to put something in/on the belt.
Title: Bug with sheathing swords on knife-belts.
Post by: X-D on August 26, 2003, 05:08:58 PM
Nothing to fix, sheath and load are two different things.
Something to be sheathed must be wielded or held as far as I know and something to be loaded must be in inventory.

Most likely it works that way to call the scripts, it would also explain why a loaded item must be drawn using draw weapon item command while a item sheathed on the belt can be called with a simple draw item.
Title: Bug with sheathing swords on knife-belts.
Post by: Xygax on August 26, 2003, 05:29:03 PM
Just use "sheath sword" instead of "sheath sword belt".  The first will hang your weapons from your belt, the second will put them inside it.
Title: Bug with sheathing swords on knife-belts.
Post by: Armaddict on August 26, 2003, 09:50:27 PM
And if you're trying to do it directly from inventory, use 'wear sword on belt'