-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Create babylon_mines.txt * Lignite PMs * Update 13_australasia.txt * Children yearn for the mines * Discovery Channel * Lignite mine in NSW now works :3 * The Mines Yearn for the Children Lignite mines added around the world. Mines and discovery event localized. * Re-encoded txt files to UTF-8 BOM * Babylon -> Imperia renaming complete * Revival Updated to 1.6 Imperia naming Functionally complete * Vanilla mine sprites * Now appears on map * Basic 1.8 compatch * Update basic building syntax * Lignite base pmg localisation drawn from coal mining loc * Lignite mine explosives pmg + loc * More pollution for lignite mining operations Should really be applied where the lignite coal is burned, but... We only have 1 coal good type. This is the next best solution. * Some major lignite deposits added Eastern Europe / Russia + Ethiopia + Costa Rica deposits added * Chinese and Indonesian lignite deposits added * Remove references to command building * Removal of outdated innovation multipliers * Reformatted all files to common sense * Ownership pmg removed * Lignite modifier_types localisation * Comments on base output * Reformatted all files to common sense * Added trigger for base option in the lignite discovery event * Lignite to 70% input/output + steam donkey pm + icon * Vanilla indian city_types * Lignite (and charcoal to get of that error) meshes for India * Reformatted all files to common sense * Lignite-specific train automation PMs * Reformatted all files to common sense --------- Co-authored-by: Crushita <[email protected]> Co-authored-by: Crushita <[email protected]> Co-authored-by: Danarca <[email protected]>
- Loading branch information
1 parent
f5ca46f
commit a0cc5f5
Showing
35 changed files
with
1,383 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
bg_lignite_mining = { | ||
parent_group = bg_mining | ||
default_building = building_lignite_mine | ||
discoverable_resource = yes | ||
can_use_slaves = yes | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
building_lignite_mine = { | ||
building_group = bg_lignite_mining | ||
icon = "gfx/interface/icons/building_icons/lignite_mine.dds" | ||
city_type = mine | ||
levels_per_mesh = 5 | ||
required_construction = construction_cost_medium | ||
terrain_manipulator = mining | ||
unlocking_technologies = { | ||
prospecting | ||
} | ||
|
||
production_method_groups = { | ||
pmg_mining_equipment_building_lignite_mine | ||
pmg_explosives_building_lignite_mine | ||
pmg_steam_automation_building_lignite_mine | ||
pmg_train_automation_building_lignite_mine | ||
} | ||
ownership_type = self | ||
background = "gfx/interface/icons/building_icons/backgrounds/building_panel_bg_mining.dds" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
BUILDINGS = { | ||
s:STATE_NEW_SOUTH_WALES = { | ||
region_state:NSW = { | ||
create_building = { | ||
building = "building_lignite_mine" | ||
level = 2 | ||
reserves = 1 | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Root = State | ||
on_imperia_resource_discovered = { | ||
events = { | ||
lignite.1 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
pmg_mining_equipment_building_lignite_mine = { | ||
texture = "gfx/interface/icons/generic_icons/mixed_icon_base.dds" | ||
production_methods = { | ||
pm_picks_and_shovels_building_lignite_mine | ||
pm_atmospheric_engine_pump_building_lignite_mine | ||
pm_condensing_engine_pump_building_lignite_mine | ||
pm_diesel_pump_building_lignite_mine | ||
} | ||
} | ||
|
||
pmg_explosives_building_lignite_mine = { | ||
texture = "gfx/interface/icons/generic_icons/mixed_icon_base.dds" | ||
production_methods = { | ||
pm_no_explosives | ||
pm_nitroglycerin_building_lignite_mine | ||
pm_dynamite_building_lignite_mine | ||
} | ||
} | ||
|
||
pmg_steam_automation_building_lignite_mine = { | ||
texture = "gfx/interface/icons/generic_icons/mixed_icon_automation.dds" | ||
production_methods = { | ||
pm_no_steam_automation | ||
pm_steam_donkey_building_lignite_mine | ||
} | ||
} | ||
|
||
pmg_train_automation_building_lignite_mine = { | ||
texture = "gfx/interface/icons/generic_icons/mixed_icon_automation.dds" | ||
production_methods = { | ||
pm_road_carts | ||
pm_rail_transport_lignite_mine | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,205 @@ | ||
# Lignite input and coal output values are 70% of normal coal mine values | ||
# Except for pollution, which is ~35% higher in general, and a further +5 in the production PMs. Steam donkey "just" gets 5+5 pollution | ||
# And engines for the steam donkey, which are the usual value | ||
pm_picks_and_shovels_building_lignite_mine = { | ||
texture = "gfx/interface/icons/production_method_icons/picks_and_shovels.dds" | ||
# Most harmful form of coal, pollution wise. 30 - 40% more polluting | ||
# Since we only have 1 coal good, this should be represented in the mining pms | ||
state_modifiers = { | ||
# Normally no pollution this early, give 5 pollution | ||
workforce_scaled = { | ||
state_pollution_generation_add = 5 # 0 in normal coal mine | ||
} | ||
} | ||
building_modifiers = { | ||
workforce_scaled = { | ||
# input goods | ||
goods_input_tools_add = 3.5 # 5 in normal coal mine | ||
# output goods | ||
goods_output_coal_add = 17.5 # 25 in normal coal mine | ||
} | ||
level_scaled = { | ||
building_employment_shopkeepers_add = 500 | ||
building_employment_laborers_add = 4500 | ||
} | ||
} | ||
} | ||
|
||
pm_atmospheric_engine_pump_building_lignite_mine = { | ||
texture = "gfx/interface/icons/production_method_icons/pumps.dds" | ||
unlocking_technologies = { | ||
atmospheric_engine | ||
} | ||
state_modifiers = { | ||
# Normally 5 pollution, give 11.75 pollution ((5*1.35)+5) | ||
workforce_scaled = { | ||
state_pollution_generation_add = 11.75 # 5 in normal coal mine | ||
} | ||
} | ||
building_modifiers = { | ||
workforce_scaled = { | ||
# input goods | ||
goods_input_tools_add = 7 # 10 in normal coal mine | ||
# output goods | ||
goods_output_coal_add = 28 # 40 in normal coal mine | ||
} | ||
level_scaled = { | ||
building_employment_shopkeepers_add = 500 | ||
building_employment_laborers_add = 3750 | ||
building_employment_machinists_add = 500 | ||
building_employment_engineers_add = 250 | ||
} | ||
} | ||
} | ||
|
||
pm_condensing_engine_pump_building_lignite_mine = { | ||
texture = "gfx/interface/icons/production_method_icons/condensing_engine_pump.dds" | ||
unlocking_technologies = { | ||
watertube_boiler | ||
} | ||
state_modifiers = { | ||
workforce_scaled = { | ||
state_pollution_generation_add = 18.5 # 10 in normal coal mine ((10*1.35)+5) | ||
} | ||
} | ||
building_modifiers = { | ||
workforce_scaled = { | ||
# input goods | ||
goods_input_tools_add = 10.5 # 15 in normal coal mine | ||
# output goods | ||
goods_output_coal_add = 42 # 60 in normal coal mine | ||
} | ||
level_scaled = { | ||
building_employment_shopkeepers_add = 500 | ||
building_employment_laborers_add = 3000 | ||
building_employment_machinists_add = 1000 | ||
building_employment_engineers_add = 500 | ||
} | ||
} | ||
} | ||
|
||
pm_diesel_pump_building_lignite_mine = { | ||
texture = "gfx/interface/icons/production_method_icons/diesel_pump.dds" | ||
unlocking_technologies = { | ||
compression_ignition | ||
} | ||
state_modifiers = { | ||
workforce_scaled = { | ||
state_pollution_generation_add = 25.25 # 15 in normal coal mine ((15*1.35)+5) | ||
} | ||
} | ||
building_modifiers = { | ||
workforce_scaled = { | ||
# input goods | ||
goods_input_tools_add = 10.5 # 15 in normal coal mine | ||
goods_input_oil_add = 3.5 # 5 in normal coal mine | ||
# output goods | ||
goods_output_coal_add = 63 # 90 in normal coal mine | ||
} | ||
level_scaled = { | ||
building_employment_shopkeepers_add = 500 | ||
building_employment_laborers_add = 2250 | ||
building_employment_machinists_add = 1500 | ||
building_employment_engineers_add = 750 | ||
} | ||
} | ||
} | ||
|
||
pm_nitroglycerin_building_lignite_mine = { | ||
texture = "gfx/interface/icons/production_method_icons/nitroglycerin.dds" | ||
unlocking_technologies = { | ||
nitroglycerin | ||
} | ||
state_modifiers = { | ||
workforce_scaled = { | ||
state_pollution_generation_add = 6.75 # 5 in normal coal mine (5*1.35) | ||
} | ||
} | ||
building_modifiers = { | ||
workforce_scaled = { | ||
# input goods | ||
goods_input_explosives_add = 3.5 # 5 in normal coal mine | ||
# output goods | ||
goods_output_coal_add = 10.5 # 15 in normal coal mine | ||
} | ||
level_scaled = { | ||
building_employment_engineers_add = 250 | ||
} | ||
unscaled = { | ||
building_laborers_mortality_mult = 0.3 | ||
building_machinists_mortality_mult = 0.2 | ||
building_engineers_mortality_mult = 0.1 | ||
} | ||
} | ||
} | ||
|
||
pm_dynamite_building_lignite_mine = { | ||
texture = "gfx/interface/icons/production_method_icons/dynamite.dds" | ||
unlocking_technologies = { | ||
dynamite | ||
} | ||
state_modifiers = { | ||
workforce_scaled = { | ||
state_pollution_generation_add = 13.5 # 10 in normal coal mine (10*1.35) | ||
} | ||
} | ||
building_modifiers = { | ||
workforce_scaled = { | ||
goods_input_explosives_add = 7 # 10 in normal coal mine | ||
# output goods | ||
goods_output_coal_add = 17.5 # 25 in normal coal mine | ||
} | ||
level_scaled = { | ||
building_employment_engineers_add = 250 | ||
} | ||
} | ||
} | ||
|
||
pm_steam_donkey_building_lignite_mine = { | ||
texture = "gfx/interface/icons/production_method_icons/steam_donkey.dds" | ||
unlocking_technologies = { | ||
steam_donkey | ||
} | ||
disallowing_laws = { | ||
law_industry_banned | ||
} | ||
state_modifiers = { | ||
workforce_scaled = { | ||
state_pollution_generation_add = 10 # 5 in normal coal mine (5+5) | ||
} | ||
} | ||
building_modifiers = { | ||
workforce_scaled = { | ||
# input goods | ||
goods_input_engines_add = 1 | ||
goods_output_coal_add = -2.1 # -3 in normal coal mine | ||
} | ||
level_scaled = { | ||
building_employment_laborers_add = -1000 | ||
} | ||
} | ||
} | ||
|
||
pm_rail_transport_lignite_mine = { | ||
texture = "gfx/interface/icons/production_method_icons/rail_transport.dds" | ||
state_modifiers = { | ||
workforce_scaled = { | ||
state_pollution_generation_add = 10 | ||
} | ||
} | ||
|
||
unlocking_technologies = { | ||
railways | ||
} | ||
|
||
building_modifiers = { | ||
workforce_scaled = { | ||
# input goods | ||
goods_input_transportation_add = 3.5 # 5 in normal coal mine | ||
} | ||
|
||
level_scaled = { | ||
building_employment_laborers_add = -1000 | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.