Search found 1 match
- Wed Feb 07, 2018 5:16 pm
- Forum: Ren'Py Cookbook
- Topic: Inventory System (or: How to Store Data in a Useful Way)
- Replies: 16
- Views: 28029
Re: Inventory System (or: How to Store Data in a Useful Way)
i did this and it didn't work. What am i doing wrong: class Item(object): def __init__(self, name, weight): self.name = name self.weight = weight class InvItem(object): def __init__(self, item, amount): self.item = item self.amount = amount class Container(object): def __init__(self, weight_max): se...