From 5a037d8b75b91d11e3adb366127a73a428141ae7 Mon Sep 17 00:00:00 2001 From: bbirchnz Date: Sat, 8 Jan 2022 11:58:53 +1100 Subject: [PATCH] Add windsocks to FARPs cherry-pick from 39152eab3c25d9355f0009003dcbc10ad1818641 --- gen/groundobjectsgen.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gen/groundobjectsgen.py b/gen/groundobjectsgen.py index c477924d..221862ac 100644 --- a/gen/groundobjectsgen.py +++ b/gen/groundobjectsgen.py @@ -648,6 +648,15 @@ class HelipadGenerator: ), heading=heading, ) + self.m.static_group( + country=country, + name=(name_i + "_ws"), + _type=Fortification.Windsock, + position=pad.position.point_from_heading( + helipad.heading.degrees + 45, 35 + ), + heading=pad.heading, + ) class GroundObjectsGenerator: