Skip to content

Does InventoryItem contain the whole prototype? #309

@olivatooo

Description

@olivatooo

Hi I have a question, I noticed that item_slot checks for:

func can_hold_item(item: InventoryItem) -> bool:
if protoset != item.protoset:

does this mean that if my game have 1000 items then I'll have 1000 copies of protoset?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions