Skip to content

Is it possible to empty the player’s inventory? #982

Answered by dorkster
BuzzLEquerre asked this question in Q&A
Discussion options

You must be logged in to vote

There are a few things that would prevent you from implementing that as you describe:

  1. The "safe" would need to be the player's stash, as that's the only persistent item container available.
  2. There's no implemented way to automatically transfer things to the player's stash.

I think you could get close, though. You could prompt the player to remove their gear themselves. The event that allows entry to the arena could use requires_not_item for all pieces of equipment. Although, that approach won't work if you use generated items, since you can't know the IDs ahead of time. Also, it might be kind of tedious if you have a lot of items.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@BuzzLEquerre
Comment options

Answer selected by BuzzLEquerre
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants