Skip to content
This repository has been archived by the owner on Apr 30, 2018. It is now read-only.

Add Items to Chests? #55

Open
dretax opened this issue Aug 14, 2014 · 1 comment
Open

Add Items to Chests? #55

dretax opened this issue Aug 14, 2014 · 1 comment

Comments

@dretax
Copy link
Contributor

dretax commented Aug 14, 2014

How about adding these new methods:

Entity.AddItem("StringName", quantity);
Entity.RemoveItem("StringName", quantity);
Entity.Contains("StringName");

@balu92
Copy link
Contributor

balu92 commented Sep 16, 2014

we can do now, don't we?:

if(Entity.hasInventory) {
    Entity.Inventory.AddItem("StringName", quantity);
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants