aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/map/Province.cpp
diff options
context:
space:
mode:
author Joel Machens <ajmach6@gmail.com>2023-10-03 23:32:13 +0200
committer Joel Machens <ajmach6@gmail.com>2023-10-03 23:32:13 +0200
commit88b29173f9ec49f6145b0d5bef678499f450d4d7 (patch)
tree0964c6cb728c4a48d633d4c5ae4092116e6768e6 /src/openvic-simulation/map/Province.cpp
parent470d8c45522543aa161b3b98c5e6991024c8a5af (diff)
Fix positions.txt Edge Cases
Diffstat (limited to 'src/openvic-simulation/map/Province.cpp')
-rw-r--r--src/openvic-simulation/map/Province.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/openvic-simulation/map/Province.cpp b/src/openvic-simulation/map/Province.cpp
index b0717b9..199e472 100644
--- a/src/openvic-simulation/map/Province.cpp
+++ b/src/openvic-simulation/map/Province.cpp
@@ -82,8 +82,13 @@ bool Province::load_positions(BuildingManager const& building_manager, ast::Node
},
"naval_base", ZERO_OR_ONE, [this](ast::NodeCPtr node) -> bool {
return expect_fixed_point(assign_variable_callback(positions.navalbase_rotation))(node);
- }
- )
+ },
+ "aeroplane_factory", ZERO_OR_ONE, [](ast::NodeCPtr _) -> bool { return true; } /* see below */
+ ),
+ /* the below are esoteric clausewitz leftovers that either have no impact or whose functionality is lost to time */
+ "spawn_railway_track", ZERO_OR_ONE, [](ast::NodeCPtr _) -> bool { return true; },
+ "railroad_visibility", ZERO_OR_ONE, [](ast::NodeCPtr _) -> bool { return true; },
+ "building_nudge", ZERO_OR_ONE, [](ast::NodeCPtr _) -> bool { return true; }
)(root);
}