]> marstr Code Repo - orthographic/commitdiff
Added missing building types for tree generation
authormarstr <marcus@marstr.online>
Tue, 3 Sep 2024 14:06:37 +0000 (16:06 +0200)
committermarstr <marcus@marstr.online>
Tue, 3 Sep 2024 14:06:37 +0000 (16:06 +0200)
layergen.py

index 1f482e61dc5068eaf6d10dbe72b389987b5af6a1..7bc2703e95f94207fefb1e7e89154f94e51d5163 100644 (file)
@@ -622,7 +622,7 @@ class mstr_layergen:
 
             # We will do some super magic here to let houses look more realistic
             if self._tag == "building":
-                vls = [ "detached", "hotel", "farm", "semidetached_house", "apartments", "civic", "office", "retail", "industrial", "house", "school" ]
+                vls = [ "detached", "hotel", "farm", "semidetached_house", "apartments", "civic", "office", "retail", "industrial", "house", "school", "yes" ]
                 if self._value in vls:
                     # Generate a new image
                     details = Image.new("RGBA", (self._imgsize, self._imgsize))