mirror of
https://asciireactor.com/factorio/adamo-nuclear.git
synced 2024-11-25 00:55:06 +00:00
Added some settings and a new trolling recipe function that I still need to finish.
This commit is contained in:
parent
dfb8f802a7
commit
f31f6c1785
@ -1,3 +1,12 @@
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 0.2.0
|
||||
Date: 2020-06-22
|
||||
|
||||
Changes:
|
||||
- Added algorithm to replace vanilla uranium items with Adamo
|
||||
Nuclear uranium items.
|
||||
- Added boolean settings for recipe overrides.
|
||||
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 0.1.3
|
||||
Date: 2020-02-04
|
||||
|
@ -13,13 +13,11 @@ replace_recipe_io(
|
||||
)
|
||||
|
||||
if appmod and type(appmod) == "table" then
|
||||
appmod
|
||||
.blacklist["centrifuge"] = true
|
||||
appmod.blacklist["centrifuge"] = true
|
||||
end
|
||||
|
||||
if appmod and type(appmod) == "table" then
|
||||
appmod
|
||||
.blacklist["adamo-nuclear-production-reactor"] = true
|
||||
appmod.blacklist["adamo-nuclear-production-reactor"] = true
|
||||
end
|
||||
|
||||
data.raw.item["centrifuge"].subgroup = "adamo-nuclear-production-machine"
|
||||
@ -170,7 +168,9 @@ atomic_bomb.icon =
|
||||
"__adamo-nuclear__/graphics/icons/fission-rocket.png"
|
||||
atomic_bomb.icon_size = 32
|
||||
|
||||
if data.raw.recipe["uranium-transport-belt"] then
|
||||
|
||||
if settings.startup["adamo-nuclear-uranium-belt-recipe-override"].value then
|
||||
if data.raw.recipe["uranium-transport-belt"] then
|
||||
data.raw.recipe["uranium-transport-belt"].normal.energy_required = 50
|
||||
data.raw.recipe["uranium-transport-belt"].normal.ingredients =
|
||||
{
|
||||
@ -191,8 +191,8 @@ if data.raw.recipe["uranium-transport-belt"] then
|
||||
}
|
||||
data.raw.recipe["uranium-transport-belt"].normal.result_count = 100
|
||||
data.raw.recipe["uranium-transport-belt"].expensive.result_count = 100
|
||||
end
|
||||
if data.raw.recipe["uranium-underground-belt"] then
|
||||
end
|
||||
if data.raw.recipe["uranium-underground-belt"] then
|
||||
data.raw.recipe["uranium-underground-belt"].energy_required = 100
|
||||
data.raw.recipe["uranium-underground-belt"].ingredients =
|
||||
{
|
||||
@ -203,8 +203,8 @@ if data.raw.recipe["uranium-underground-belt"] then
|
||||
{type="item", name="electric-engine-unit", amount=100}
|
||||
}
|
||||
data.raw.recipe["uranium-underground-belt"].result_count = 100
|
||||
end
|
||||
if data.raw.recipe["uranium-splitter"] then
|
||||
end
|
||||
if data.raw.recipe["uranium-splitter"] then
|
||||
data.raw.recipe["uranium-splitter"].energy_required = 200
|
||||
data.raw.recipe["uranium-splitter"].ingredients =
|
||||
{
|
||||
@ -216,6 +216,7 @@ if data.raw.recipe["uranium-splitter"] then
|
||||
{type="item", name="electric-engine-unit", amount=100}
|
||||
}
|
||||
data.raw.recipe["uranium-splitter"].result_count = 100
|
||||
end
|
||||
end
|
||||
|
||||
reactor_item.icon =
|
||||
|
@ -97,3 +97,11 @@ centrifuge=Sorts isotopes by mass.
|
||||
nuclear-reactor=Reacts by a fast neutron spectrum.
|
||||
adamo-nuclear-thermal-reactor=Reacts by a moderated neutron spectrum.
|
||||
adamo-nuclear-production-reactor=Sorts and irradiates material using a pool reactor. Has a water-based particle accelerator.
|
||||
|
||||
[mod-setting-name]
|
||||
adamo-nuclear-recipe-trolling=Replace vanilla uranium in recipes.
|
||||
adamo-nuclear-uranium-belt-recipe-override=Override uranium belt recipes.
|
||||
|
||||
[mod-setting-description]
|
||||
adamo-nuclear-recipe-trolling=Search all recipes, replacing vanilla uranium ingredients and results with equivalent Adamo Nuclear materials.
|
||||
adamo-nuclear-uranium-belt-recipe-override=Alter ingredients in uranium belt recipes to be consistent with nuclear materials calculations.
|
Loading…
Reference in New Issue
Block a user