def __init__(self, description="", reg=None, *args, **kwargs): from region import Node Thing.__init__(self, *args, **kwargs) self.reg = reg self.map_node: Optional[Node] = None self.traits.add(trait.location()) self.description = description
def generate_items(self): # self.reg.make_boss(location=self) d = self.decor_dict d["bed"] = Thing( location=self, names=["wooden bed", "bed"], ) d["curtains"] = Item( location=self, names=["bead curtains", "curtains"], )
def generate_items(self): d = self.decor_dict d["bedroll"] = Thing(self, "bedroll") d["lamp"] = Item(self, Name("lamp", "lamp lantern"))
def generate_items(self): d = self.decor_dict d["table"] = Thing(self, "table") d["crate"] = Thing(self, Name("stool", "stool crate cushion bag"))
def generate_items(self): d = self.decor_dict d["table"] = Thing(location=self, names=["table"]) d["scraps"] = Item(location=self, names=["scraps", "debris"])
def generate_items(self): d = self.decor_dict d["beds"] = Thing(location=self, name="bed", othernames=["beds"])
def generate_items(self): d = self.decor_dict d["bones"] = Item(location=self, name="bones") d["chest"] = Item(location=self, name="chest") d["chest"].price = 1500 d["pedestal"] = Thing(location=self, name="pedestal")
def generate_items(self): for item_name in self.basic_items: self.decor_dict[item_name] = Item(location=self, name=item_name) for thing_name in self.basic_things: self.decor_dict[thing_name] = Thing(location=self, name=thing_name)