aboutsummaryrefslogtreecommitdiff
path: root/crates/fparkan-runtime/src/lib.rs
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2026-11-14 20:50:17 +0300
committerValentin Popov <valentin@popov.link>2026-11-14 20:50:17 +0300
commita124d9021e14c4e2b68b72aa70dc1508abe7c2c8 (patch)
tree635a4be0e9b59235492b3eccad3b227395242eb1 /crates/fparkan-runtime/src/lib.rs
parent1218625643bb22e00c1e2e85458c0098ac4ed6f1 (diff)
downloadfparkan-a124d9021e14c4e2b68b72aa70dc1508abe7c2c8.tar.xz
fparkan-a124d9021e14c4e2b68b72aa70dc1508abe7c2c8.zip
fix(production): let separate factories build concurrently
Reserve each slot at order time and advance one order per live factory. Hostile completion no longer changes the player's status. A stock Two Fortresses regression starts the player's factory during an enemy job and observes completions from both.
Diffstat (limited to 'crates/fparkan-runtime/src/lib.rs')
-rw-r--r--crates/fparkan-runtime/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/fparkan-runtime/src/lib.rs b/crates/fparkan-runtime/src/lib.rs
index 1c1d61c3..480149f6 100644
--- a/crates/fparkan-runtime/src/lib.rs
+++ b/crates/fparkan-runtime/src/lib.rs
@@ -76,7 +76,7 @@ pub use mission_events::{
pub use player_motion::{
plan_player_motion, plan_player_motion_with_collision, PlayerMotion, PlayerMotionStep,
};
-pub use player_status::{player_status, PlayerStatus};
+pub use player_status::{is_player_clan, player_status, PlayerStatus};
pub use player_weapon::{prepared_warbot_weapons, starting_player_weapons, PlayerWeapons};
pub use production::{
clan_factory_schemes, factory_schemes, order_clan_factory_scheme, order_factory_robot,