aenemenate/Landlord

Implement item ownership

Closed this issue · 0 comments

If an item is owned, its ownerID value will be set to some value > 0.

A new function will be added to Creature, called Creature.ClaimItem(Item item). This function will set item.OwnerID = Creature.ID;

A new interaction will be added to the item/equipment menu in which you can claim items. Any items spawned in a creature's inventory will automatically be claimed by it. Any items you craft will be claimed by your. Claiming is instant and takes no time but it is announced over the message console.

Your net worth will consider claimed items within your property as well as buildings within your property as well as a certain value number * your property in square meters.

Claiming items which have already been claimed is not possible unless you are standing on your own property.