Author Topic: Using Items To Disarm/Steal Another  (Read 882 times)

I'm looking for some kind of melee-range item or tool that when used on another player, will remove the item they currently have selected from their inventory and add it to your own.

Pretty simple, yet after hours of searching I can't seem to find a similar item that already exists. Anybody know of one?

If someone were to create this:
Stealing an item when your inventory is full will cause the player who loses the item to drop it on the ground.
Trying to steal an item when the player has nothing would just result in an error message.

I realize this doesn't have too much practical use for most scenarios, perhaps it should be admin-only? Doesn't really matter for my purposes.

I realize this doesn't have too much practical use for most scenarios, perhaps it should be admin-only? Doesn't really matter for my purposes.
no

this could have good potential
I say it should be a throwable item so that after you throw it out of your inventory you have room to obtain the stolen item

The addItem and removeItem events handle inventory pretty well.  I would suggest those as references for anyone making this addon.

I say it should be a throwable item so that after you throw it out of your inventory you have room to obtain the stolen item

Yeah that would be neat. Perhaps it should only do this if your inventory is full, though. I'd like to have a version that in some way doesn't consume itself on use, unless necessary.

Apologies for the late response and bump, been pretty busy lately.

Action melee has this trait iirc

I say it should be a throwable item so that after you throw it out of your inventory you have room to obtain the stolen item
Just replace the item with the stolen weapon.
If you're making the weapon, your have control over the code, you don't need to use hacks like that