Skip to content

Commit

Permalink
removed faction from rod tower
Browse files Browse the repository at this point in the history
  • Loading branch information
Marx Mustermann committed Jun 15, 2024
1 parent 36a7026 commit 9aaf30c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/itemFolder/military/rodTower.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,13 @@ def __init__(self):

super().__init__(display="/\\")
self.charges = 0
self.faction = None

def apply(self, character=None):
if self.charges < 1:
if character:
character.addMessage("no charges")
return

foundChars = []
for checkChar in self.container.characters:
if checkChar.faction == self.faction:
continue

foundChars.append(checkChar)

neighbours = []
for offset in ((1,0,0),(-1,0,0),(0,1,0),(0,-1,0)):
neighbours.append(self.getPosition(offset=offset))
Expand Down

0 comments on commit 9aaf30c

Please sign in to comment.