Changes in meadow patches, added building:house in defines.py. Added appropriate textures for houses.
BIN
Textures/building/common/brd/b3.png
Normal file
After Width: | Height: | Size: 1.0 MiB |
BIN
Textures/building/common/brd/b4.png
Normal file
After Width: | Height: | Size: 1.0 MiB |
BIN
Textures/building/common/ptc/b3_p1.png
Normal file
After Width: | Height: | Size: 488 KiB |
BIN
Textures/building/common/ptc/b3_p2.png
Normal file
After Width: | Height: | Size: 511 KiB |
BIN
Textures/building/common/ptc/b4_p1.png
Normal file
After Width: | Height: | Size: 578 KiB |
BIN
Textures/building/common/ptc/b4_p2.png
Normal file
After Width: | Height: | Size: 555 KiB |
BIN
Textures/building/house/brd/b1.png
Normal file
After Width: | Height: | Size: 1.1 MiB |
BIN
Textures/building/house/brd/b2.png
Normal file
After Width: | Height: | Size: 1.1 MiB |
BIN
Textures/building/house/ptc/b1_p1.png
Normal file
After Width: | Height: | Size: 512 KiB |
BIN
Textures/building/house/ptc/b1_p2.png
Normal file
After Width: | Height: | Size: 542 KiB |
BIN
Textures/building/house/ptc/b2_p1.png
Normal file
After Width: | Height: | Size: 534 KiB |
BIN
Textures/building/house/ptc/b2_p2.png
Normal file
After Width: | Height: | Size: 556 KiB |
@ -145,6 +145,7 @@ mstr_ortho_layers = [
|
|||||||
("building", "office", "building", "office"),
|
("building", "office", "building", "office"),
|
||||||
("building", "retail", "building", "industrial"),
|
("building", "retail", "building", "industrial"),
|
||||||
("building", "industrial", "building", "industrial"),
|
("building", "industrial", "building", "industrial"),
|
||||||
|
("building", "house", "building", "house"),
|
||||||
("building", "yes", "building", "common")
|
("building", "yes", "building", "common")
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -213,5 +214,6 @@ mstr_mask_blur = [
|
|||||||
("building", "office", 1),
|
("building", "office", 1),
|
||||||
("building", "retail", 1),
|
("building", "retail", 1),
|
||||||
("building", "industrial", 1),
|
("building", "industrial", 1),
|
||||||
|
("building", "house", 1),
|
||||||
("building", "yes", 1)
|
("building", "yes", 1)
|
||||||
]
|
]
|
||||||
|
@ -366,7 +366,7 @@ class mstr_layergen:
|
|||||||
|
|
||||||
# Here we need to do some magic to make some features look more natural
|
# Here we need to do some magic to make some features look more natural
|
||||||
if (self._tag == "landuse" and self._value == "meadow") or (self._tag == "natural" and self._value == "grassland") or (self._tag == "natural" and self._value == "heath"):
|
if (self._tag == "landuse" and self._value == "meadow") or (self._tag == "natural" and self._value == "grassland") or (self._tag == "natural" and self._value == "heath"):
|
||||||
amt = randrange(1,3)
|
amt = randrange(1,5)
|
||||||
for i in range(1, amt):
|
for i in range(1, amt):
|
||||||
ptc = randrange(1, 7)
|
ptc = randrange(1, 7)
|
||||||
img = Image.open(mstr_datafolder + "Textures\\tile\\completion\\p" + str(ptc)+".png")
|
img = Image.open(mstr_datafolder + "Textures\\tile\\completion\\p" + str(ptc)+".png")
|
||||||
|