0.0.5 - added build, packed some stuff..

This commit is contained in:
Theenoro 2024-11-02 00:32:34 +01:00
parent 9bf75d9985
commit 99336d0d62
12 changed files with 140 additions and 117 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
dist
tmp

5
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,5 @@
{
"Lua.diagnostics.globals": [
"data"
]
}

8
pack.bat Normal file
View File

@ -0,0 +1,8 @@
powershell rm tmp -r -force
powershell mkdir tmp
powershell cp -r src tmp
powershell mv tmp/src tmp/more-u235_extended
cd tmp
powershell Compress-Archive ./more-u235_extended ../dist/more-u235_extended.zip
cd ..
powershell rm tmp -r -force

View File

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 33 KiB

View File

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View File

@ -1,11 +1,13 @@
[recipe-name] [recipe-name]
mu-u235_1_20=Uran 235 1/20 mu-u235_1_20=Uran 235 1/20
mu-dufc=Recycle depleted uran fuel cell mu-dufc=Recycle depleted uran fuel cell
mu-uer=Uranium enrichment
[technology-name]
mu-u235=Uran 235 1/20 centrifuging [technology-name]
mu-dufc=Recycle depleted uran fuel cell mu-u235=Uran 235 1/20 centrifuging
mu-dufc=Recycle depleted uran fuel cell
[technology-description]
mu-u235=A perfect way to get the exact amount of Uran235 and Uran238 [technology-description]
mu-dufc=Recycle depleted uran fuel cell mu-u235=A perfect way to get the exact amount of Uran235 and Uran238
mu-dufc=Recycle depleted uran fuel cell
mu-uer=@TODO

View File

@ -1,55 +1,58 @@
data:extend({ data:extend({
{ {
type = "recipe", type = "recipe",
name = "mu-u235_1_20", name = "mu-u235_1_20",
category = "centrifuging", category = "centrifuging",
icon = "__more-u235_50_50__/graphics/processing.png", icon = "__more-u235_50_50__/graphics/processing.png",
icon_size = 128, icon_size = 128,
enabled = false, enabled = false,
energy_required = 30, energy_required = 30,
ingredients = subgroup = "energy",
{ ingredients =
{type = "item", name = "uranium-ore", amount = 20}, {
}, {type = "item", name = "uranium-ore", amount = 20},
results = },
{ results =
{type = "item", name = "uranium-235", amount = 1}, {
{type = "item", name = "uranium-238", amount = 19}, {type = "item", name = "uranium-235", amount = 1},
}, {type = "item", name = "uranium-238", amount = 19},
},{ },
type = "recipe", },{
name = "mu-dufc", type = "recipe",
category = "centrifuging", name = "mu-dufc",
icon = "__more-u235_50_50__/graphics/recycle_ico.png", category = "centrifuging",
icon_size = 128, icon = "__more-u235_50_50__/graphics/recycle_ico.png",
enabled = false, icon_size = 128,
energy_required = 30, enabled = false,
ingredients = energy_required = 30,
{ subgroup = "energy",
{type = "item", name = "depleted-uranium-fuel-cell", amount = 10}, ingredients =
}, {
results = {type = "item", name = "depleted-uranium-fuel-cell", amount = 10},
{ },
{type = "item", name = "uranium-238", amount = 10}, results =
}, {
},{ {type = "item", name = "uranium-238", amount = 10},
type = "recipe", },
name = "mu-dufc", },{
category = "centrifuging", type = "recipe",
icon = "__more-u235_50_50__/graphics/recycle_ico.png", name = "mu-uer",
icon_size = 128, category = "centrifuging",
enabled = false, subgroup = "energy",
energy_required = 30, icon = "__more-u235_50_50__/graphics/recycle_ico.png",
ingredients = icon_size = 128,
{ enabled = false,
{type = "item", name = "uranium-235", amount = 1}, energy_required = 30,
{type = "item", name = "uranium-238", amount = 59}, ingredients =
}, {
results = {type = "item", name = "uranium-235", amount = 1},
{ {type = "item", name = "uranium-238", amount = 59},
{type = "item", name = "uranium-238", amount = 38}, },
{type = "item", name = "uranium-235", amount = 2} results =
}, {
} {type = "item", name = "uranium-238", amount = 38},
{type = "item", name = "uranium-235", amount = 2}
},
}
}) })

View File

@ -1,53 +1,56 @@
data:extend({ data:extend({
{ {
type = "technology", type = "technology",
name = "mu-u235", name = "mu-u235",
icon_size = 256, icon_size = 256,
icon = "__more-u235_50_50__/graphics/processing.png", icon = "__more-u235_50_50__/graphics/processing.png",
effects = effects =
{ {
{ {
type = "unlock-recipe", type = "unlock-recipe",
recipe = "mu-u235_1_20" recipe = "mu-u235_1_20"
}, },
}, },
prerequisites = {"uranium-processing"}, prerequisites = {"uranium-processing"},
unit = unit =
{ {
count = 200, count = 200,
ingredients = ingredients =
{ {
{"automation-science-pack", 1}, {"automation-science-pack", 1},
{"logistic-science-pack", 1}, {"logistic-science-pack", 1},
{"chemical-science-pack", 1}, {"chemical-science-pack", 1},
{"production-science-pack", 1} {"production-science-pack", 1}
}, },
time = 40, time = 40,
} }
},{ },{
type = "technology", type = "technology",
name = "mu-dufc", name = "mu-dufc",
icon_size = 128, icon_size = 128,
icon = "__more-u235_50_50__/graphics/recycle_ico.png", icon = "__more-u235_50_50__/graphics/recycle_ico.png",
effects = effects =
{ {
{ {
type = "unlock-recipe", type = "unlock-recipe",
recipe = "mu-dufc" recipe = "mu-dufc"
}, },{
}, type = "unlock-recipe",
prerequisites = {"nuclear-fuel-reprocessing"}, recipe = "mu-uer"
unit = }
{ },
count = 50, prerequisites = {"nuclear-fuel-reprocessing"},
ingredients = unit =
{ {
{"automation-science-pack", 1}, count = 50,
{"logistic-science-pack", 1}, ingredients =
{"chemical-science-pack", 1}, {
{"production-science-pack", 1} {"automation-science-pack", 1},
}, {"logistic-science-pack", 1},
time = 40, {"chemical-science-pack", 1},
} {"production-science-pack", 1}
}, },
time = 40,
}
},
}) })

View File

Before

Width:  |  Height:  |  Size: 7.2 KiB

After

Width:  |  Height:  |  Size: 7.2 KiB