add tank machinegun nerf opt

This commit is contained in:
Peter 2019-01-16 14:32:15 +08:00
parent 2bc071887e
commit 14e7485226
4 changed files with 15 additions and 2 deletions

View File

@ -309,6 +309,10 @@ if settings.startup["017-lds"].value then
end
end
if settings.startup["017-tank-gun-nerf"].value then
data.raw["gun"]["tank-machine-gun"].attack_parameters.damage_modifier = 1
end
--HUGE THANKS to Dimava for the following changes
--Added options for some changes (for modded users)

View File

@ -1,6 +1,6 @@
{
"name": "017_science",
"version": "0.0.17",
"version": "0.0.18",
"factorio_version": "0.16",
"title": "0.17 science conversion",
"author": "npc_strider(morley376)",

View File

@ -28,6 +28,7 @@ high-tech-science-pack=Utility science pack
017-techtree=Science-pack technologies and techtree
017-nuclear-reprocessing-discount=nuclear-fuel-reprocessing technology discount
017-rocket-victory=No-rocket victory
017-tank-gun-nerf=Tank machinegun nerf
017-green-cost=Logistics science pack technology cost
017-chem-cost=Chemical science pack technology cost
017-purple-cost=Production science pack technology cost
@ -52,8 +53,9 @@ high-tech-science-pack=Utility science pack
017-lds-num=(Default 5, Min 1, Max 32) When steel-plate is not present in vanilla 'high tech' equipment recipes, the cost is determined by the number of "processing-unit"s. math.ceil(n("processing-unit")/thissetting)
017-pack-type-rebalancing=(Default enabled) Enable the rebalancing of high-end technologies into production/utility 'categories' (FFF-275). For example, level-3 modules no longer use utility science and will use production science instead as they increase production.
017-techtree=(Default enabled) Enable the 0.17 techtree. Science packs are now unlocked by dedicated technologies and the rocket-silo no longer requires rocket-speed-5 as a prerequisite (FFF-275 & FFF-245). NOTE: Technologies are dynamically assigned a 'science pack technology' as a prerequisite through script (to work with mods). This may not reflect release tech paths.
017-rocket-victory=(Default enabled) The victory condition for the game no longer requires a payload (satellite) (FFF-275).
017-nuclear-reprocessing-discount=(Default 1000, Min 0, Max 1400) This number is subtracted from the current cost of nuclear-fuel-reprocessing technology (1500). FFF-275 hints at a major discount to this technology ("The Nuclear fuel cell reprocessing is also drastically cheaper") but does not specify an amount.
017-rocket-victory=(Default enabled) The victory condition for the game no longer requires a payload (satellite) (FFF-275).
017-tank-gun-nerf=(Default enabled) FFF-275 states that the 100% damage bonus the tank machinegun provides will be removed.
017-green-cost=(Default 50, Min 0, Max INF.) This value is NOT official and is an estimate based on the difficulty of similar technologies. Default based off steel-processing difficulty
017-chem-cost=(Default 200, Min 0, Max INF.) This value is NOT official and is an estimate based on the difficulty of similar technologies. Default based off advanced-electronics difficulty
017-purple-cost=(Default 250, Min 0, Max INF.) This value is NOT official and is an estimate based on the difficulty of similar technologies. Default based off advanced-material-processing-2 difficulty.

View File

@ -101,6 +101,13 @@ data:extend(
setting_type = "startup",
default_value = true,
order = "npc-me"
},
{
type = "bool-setting",
name = "017-tank-gun-nerf",
setting_type = "startup",
default_value = true,
order = "npc-mf"
},
{
type = "int-setting",