-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lignite Coal #354
Merged
Merged
Lignite Coal #354
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
258d035
Create babylon_mines.txt
Danarca 436eec8
Lignite PMs
Danarca dadaa06
Update 13_australasia.txt
Danarca d4a0375
Children yearn for the mines
Danarca 8b29629
Discovery Channel
Danarca ced6274
Lignite mine in NSW now works :3
Danarca 8a732b7
The Mines Yearn for the Children
Crushita d7cd65b
Re-encoded txt files to UTF-8 BOM
Crushita be0e737
Merge branch 'Imperia-Core' into Imperia-Coal-Traits
Danarca 99e7220
Babylon -> Imperia renaming complete
Danarca 3f32d41
Revival
Danarca 2f87e5c
Vanilla mine sprites
Danarca 3e1f77f
Now appears on map
Danarca 684ef1d
Merge branch 'Imperia-Core' into Imperia-Coal-Traits
Danarca 84eed8e
Basic 1.8 compatch
Danarca 4ff67f3
Update basic building syntax
Danarca 32a796b
Lignite base pmg localisation drawn from coal mining loc
Danarca 9941dea
Lignite mine explosives pmg + loc
Danarca f87e9c1
More pollution for lignite mining operations
Danarca 6cd950f
Some major lignite deposits added
Danarca 901d84d
Chinese and Indonesian lignite deposits added
Danarca ec53146
Remove references to command building
Danarca b1affff
Removal of outdated innovation multipliers
Danarca 8e53524
Reformatted all files to common sense
Danarca 79bd5b8
Ownership pmg removed
Danarca a93c766
Lignite modifier_types localisation
Danarca d1f8eca
Merge branch 'Imperia-Coal-Traits' of https://github.com/Imperia-Deve…
Danarca 5bfae2d
Comments on base output
Danarca 0aa39af
Reformatted all files to common sense
Danarca 9e940d3
Added trigger for base option in the lignite discovery event
Danarca e13399f
Merge branch 'Imperia-Coal-Traits' of https://github.com/Imperia-Deve…
Danarca c910b14
Lignite to 70% input/output + steam donkey pm + icon
Danarca 2747461
Vanilla indian city_types
Danarca d0754ff
Lignite (and charcoal to get of that error) meshes for India
Danarca 693fd44
Reformatted all files to common sense
Danarca 50cbb47
Lignite-specific train automation PMs
Danarca 6b71f07
Reformatted all files to common sense
Danarca File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the profitibilty graph compared to some other buildings:
Check if that is desirable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's only 4 main production methods in the primary group though, whats that 5th one? Because that is definitely not intended :s
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's era level, not production method order.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, actually... If anything, 3 and 4 should be higher.. Didnt see 5 on the normal coal mine was that high as well.
I.. Think we may have to go over the balancing collectively during the meeting :s