Jump to content

RemoveItem ReplaceItem Commands


Recommended Posts

Poking around in some files, I noticed this in game events..

RemoveItems - Removes the items from the player.
            items_location - The location that is affected by this. (Toolbelt, Backpack, Both, Equipment, All).
            remove_item_tag - The tag of the items you want removed.


ReplaceItems - Replaces the specified items with another item.
            items_location - The location that is affected by this. (Toolbelt, Backpack, Both, Equipment, All).
            replaced_by_item - The item that you replace the tagged items with.
            replace_item_tag - The item tag for the items that should be replaced.

Was curious about wanting to remove a certain number of items from a players inventory after completing a task.
Anyone ever use these and got them to work?

I'd like to remove 100 yuccafibers from a person's inv after they gathered them in the quests.xml file

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...