Added missing building types for tree generation

This commit is contained in:
marstr 2024-09-03 16:06:37 +02:00
parent 09aa3670fb
commit a1391cbc5e

View File

@ -622,7 +622,7 @@ class mstr_layergen:
# We will do some super magic here to let houses look more realistic # We will do some super magic here to let houses look more realistic
if self._tag == "building": 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: if self._value in vls:
# Generate a new image # Generate a new image
details = Image.new("RGBA", (self._imgsize, self._imgsize)) details = Image.new("RGBA", (self._imgsize, self._imgsize))