Skip to content

Commit

Permalink
power plant does not require workforce (workforce = 0)
Browse files Browse the repository at this point in the history
  • Loading branch information
ademblon committed Nov 27, 2023
1 parent fc340c9 commit d501e35
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ lroai_perform_for_every_building_type = {
lroai_perform_for_building_type = { effect = $effect$ key = building_shipyards id = 43
class = 6 counter = 43 order = 8 limit = 5 workforce = 1 allocate = 1 branching = 1 scaling = 0 }
lroai_perform_for_building_type = { effect = $effect$ key = building_power_plant id = 44
class = 6 counter = 44 order = 4 limit = 5 workforce = 1 allocate = 1 branching = 1 scaling = 0 }
class = 6 counter = 44 order = 4 limit = 5 workforce = 0 allocate = 1 branching = 1 scaling = 0 }
lroai_perform_for_building_type = { effect = $effect$ key = building_electrics_industry id = 45
class = 6 counter = 45 order = 8 limit = 5 workforce = 1 allocate = 1 branching = 1 scaling = 1 }
lroai_perform_for_building_type = { effect = $effect$ key = building_arms_industry id = 46
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ lroai_is_true_for_any_building_type = {
lroai_is_true_for_building_type = { trigger = $trigger$ key = building_shipyards id = 43
class = 6 counter = 43 order = 8 limit = 5 workforce = 1 allocate = 1 branching = 1 scaling = 0 }
lroai_is_true_for_building_type = { trigger = $trigger$ key = building_power_plant id = 44
class = 6 counter = 44 order = 4 limit = 5 workforce = 1 allocate = 1 branching = 1 scaling = 0 }
class = 6 counter = 44 order = 4 limit = 5 workforce = 0 allocate = 1 branching = 1 scaling = 0 }
lroai_is_true_for_building_type = { trigger = $trigger$ key = building_electrics_industry id = 45
class = 6 counter = 45 order = 8 limit = 5 workforce = 1 allocate = 1 branching = 1 scaling = 1 }
lroai_is_true_for_building_type = { trigger = $trigger$ key = building_arms_industry id = 46
Expand Down
2 changes: 1 addition & 1 deletion tools/vanilla_building_types.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ var buildings = [ '',
["building_steel_mills", 41, 6, false, 6, 5, dc, true, 10, true, false],
["building_motor_industry", 42, 6, false, 7, 5, dc, true, false, true, true],
["building_shipyards", 43, 6, false, 8, 5, dc, true, false, true, false],
["building_power_plant", 44, 6, false, 4, 5, dc, true, false, true, false],
["building_power_plant", 44, 6, false, 4, 5, dc, false, false, true, false],
["building_electrics_industry", 45, 6, false, 8, 5, dc, true, false, true, true],
["building_arms_industry", 46, 6, false, 7, 5, dc, true, 5, true, false],
["building_munition_plants", 47, 6, false, 7, 5, dc, true, 5, true, false],
Expand Down

0 comments on commit d501e35

Please sign in to comment.