used in more glass
This commit is contained in:
parent
09e2090bfc
commit
781cccafb7
6 changed files with 21 additions and 4 deletions
|
|
@ -74,14 +74,25 @@ util.replace_some_ingredient("glass", "sand", 3, "alumina", 1)
|
||||||
-- aai
|
-- aai
|
||||||
util.multiply_recipe("glass-from-sand", 4)
|
util.multiply_recipe("glass-from-sand", 4)
|
||||||
util.replace_some_ingredient("glass-from-sand", "sand", 3, "alumina", 1)
|
util.replace_some_ingredient("glass-from-sand", "sand", 3, "alumina", 1)
|
||||||
|
util.set_category("glass-from-sand", "basic-founding")
|
||||||
-- se
|
-- se
|
||||||
util.replace_some_ingredient("se-glass-vulcanite", "sand", 3, "alumina", 1)
|
util.replace_some_ingredient("se-glass-vulcanite", "sand", 3, "alumina", 1)
|
||||||
|
|
||||||
|
-- sand-and-glass
|
||||||
|
util.multiply_recipe("sng-glass-plate", 4)
|
||||||
|
util.replace_some_ingredient("sng-glass-plate", "sng-sand", 3, "alumina", 1)
|
||||||
|
util.set_category("sng-glass-plate", "basic-founding")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if not mods.Krastorio2 then
|
if not mods.Krastorio2 then
|
||||||
util.set_to_founding("glass")
|
util.set_to_founding("glass")
|
||||||
util.set_to_founding("glass-from-sand")
|
util.set_to_founding("glass-from-sand")
|
||||||
util.set_to_founding("se-glass-vulcanite")
|
util.set_to_founding("se-glass-vulcanite")
|
||||||
|
util.set_to_founding("sng-glass-plate")
|
||||||
end
|
end
|
||||||
|
|
||||||
-- End glass
|
-- End glass
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -414,5 +414,4 @@ if mods.bztitanium then
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,8 @@
|
||||||
Version: 0.3.4
|
Version: 0.3.4
|
||||||
Date: 2022-07-04
|
Date: 2022-07-04
|
||||||
Changes:
|
Changes:
|
||||||
|
- Sand & Glass: recipe requires alumina, in foundry
|
||||||
|
- 248K: motlen glass requires alumina
|
||||||
- K2 Shelter uses aluminum cable
|
- K2 Shelter uses aluminum cable
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 0.3.3
|
Version: 0.3.3
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,10 @@ end
|
||||||
-- Remove 248k titanium plate
|
-- Remove 248k titanium plate
|
||||||
util.remove_raw("item", al2)
|
util.remove_raw("item", al2)
|
||||||
|
|
||||||
|
-- glass uses alumina
|
||||||
|
util.multiply_recipe("fi_arc_glass_recipe", 2)
|
||||||
|
util.replace_some_ingredient("fi_arc_glass_recipe", "silica", 2, "alumina", 1)
|
||||||
|
|
||||||
-- Stone purification should produce even outputs now
|
-- Stone purification should produce even outputs now
|
||||||
util.add_to_ingredient("el_purify_stone_recipe", "stone", 5)
|
util.add_to_ingredient("el_purify_stone_recipe", "stone", 5)
|
||||||
util.add_to_ingredient("el_purify_stone_recipe", "water", 50)
|
util.add_to_ingredient("el_purify_stone_recipe", "water", 50)
|
||||||
|
|
|
||||||
|
|
@ -551,7 +551,7 @@ end
|
||||||
-- Set recipe category
|
-- Set recipe category
|
||||||
function util.set_category(recipe_name, category)
|
function util.set_category(recipe_name, category)
|
||||||
if me.bypass[recipe_name] then return end
|
if me.bypass[recipe_name] then return end
|
||||||
if data.raw.recipe[recipe_name] then
|
if data.raw.recipe[recipe_name] and data.raw["recipe-category"][category] then
|
||||||
me.add_modified(recipe_name)
|
me.add_modified(recipe_name)
|
||||||
data.raw.recipe[recipe_name].category = category
|
data.raw.recipe[recipe_name].category = category
|
||||||
end
|
end
|
||||||
|
|
@ -601,7 +601,7 @@ end
|
||||||
|
|
||||||
-- Add crafting category to an entity
|
-- Add crafting category to an entity
|
||||||
function util.add_crafting_category(entity_type, entity, category)
|
function util.add_crafting_category(entity_type, entity, category)
|
||||||
if data.raw[entity_type][entity] then
|
if data.raw[entity_type][entity] and data.raw["recipe-category"][category] then
|
||||||
for i, existing in pairs(data.raw[entity_type][entity].crafting_categories) do
|
for i, existing in pairs(data.raw[entity_type][entity].crafting_categories) do
|
||||||
if existing == category then
|
if existing == category then
|
||||||
log(entity.." not adding "..category.." -- duplicate")
|
log(entity.." not adding "..category.." -- duplicate")
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
"homepage": "",
|
"homepage": "",
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
"base >= 1.1.0",
|
"base >= 1.1.0",
|
||||||
"bzfoundry",
|
"bzfoundry >= 0.2.1",
|
||||||
"? bztitanium >= 1.0.3",
|
"? bztitanium >= 1.0.3",
|
||||||
"? bzlead",
|
"? bzlead",
|
||||||
"? bzzirconium >= 0.5.4",
|
"? bzzirconium >= 0.5.4",
|
||||||
|
|
@ -17,6 +17,7 @@
|
||||||
"? space-exploration",
|
"? space-exploration",
|
||||||
"? aai-industry",
|
"? aai-industry",
|
||||||
"? Krastorio2",
|
"? Krastorio2",
|
||||||
|
"? sand-and-glass",
|
||||||
"? 248k",
|
"? 248k",
|
||||||
"? deadlock-beltboxes-loaders",
|
"? deadlock-beltboxes-loaders",
|
||||||
"? DeadlockCrating"
|
"? DeadlockCrating"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue