Change the fact inventory::Model to one that is a constant keyed off player.entity #53
Closed
opened 2 months ago by zedshaw
·
0 comments
Loading…
Reference in new issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Right now my inventory system DNDLoot can't be generic because the status_ui is using get_theinventory::Model but loot_ui is using a model in the world. To make it generic I just have to put the model in the world keyed off the player's entity id and then I can just pass the ids for the inventory to generic functions that know how to do all the operations.