def unlocked_use( self, camp: gears.GearHeadCampaign ): # Perform this waypoint's special action. fieldhq.backpack.ItemExchangeWidget.create_and_invoke(camp, camp.first_active_pc(), self.contents) if self.OPEN_TERRAIN: scene = self.scene if scene and scene.on_the_map(*self.pos): scene.set_decor(self.pos[0], self.pos[1], self.OPEN_TERRAIN)
def unlocked_use(self, camp: gears.GearHeadCampaign): # Perform this waypoint's special action. fieldhq.backpack.ItemExchangeWidget.create_and_invoke( camp, camp.first_active_pc(), self.contents)