Changes in meadow patches, added building:house in defines.py. Added appropriate textures for houses.

This commit is contained in:
marstr 2024-09-02 11:45:30 +02:00
parent a4c0291e74
commit 66b8fabd8c
14 changed files with 3 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 488 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 511 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 578 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 555 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 512 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 542 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 534 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 556 KiB

View File

@ -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)
] ]

View File

@ -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")