Skip to content
Snippets Groups Projects
Commit eac23c17 authored by Egli Adrian (IT-SCI-API-PFI)'s avatar Egli Adrian (IT-SCI-API-PFI)
Browse files

building

parent daca3092
No related branches found
No related tags found
No related merge requests found
...@@ -433,6 +433,8 @@ class PILSVG(PILGL): ...@@ -433,6 +433,8 @@ class PILSVG(PILGL):
if (col + row) % 10 > 2: if (col + row) % 10 > 2:
pilTrack = self.dScenery[0] pilTrack = self.dScenery[0]
else: else:
if (col + row + col * row) % 2 == 0:
a = (a + (col + row + col * row)) % len(self.dBuildings)
pilTrack = self.dBuildings[a] pilTrack = self.dBuildings[a]
elif (self.background_grid[col][row] > 5) or ((col ** 3 + row ** 2 + col * row) % 10 == 0): elif (self.background_grid[col][row] > 5) or ((col ** 3 + row ** 2 + col * row) % 10 == 0):
a = int(self.background_grid[col][row]) - 5 a = int(self.background_grid[col][row]) - 5
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment