0.0.6 - changed the packing script
This commit is contained in:
parent
fd89b67f8f
commit
70c7214ea4
46
README.md
46
README.md
@ -1,22 +1,24 @@
|
|||||||
More Uranium-235 (original by NancyBDrew)
|
More Uranium-235
|
||||||
This mod makes it easier to get Uranium-235 by greatly increasing the ratio of U235 to U238 produced by uranium processing.
|
This mod makes it easier to get Uranium-235 by greatly increasing the ratio of U235 to U238 produced by uranium processing.
|
||||||
|
|
||||||
This helps you bypass Kovarex enrichment, though as a downside you won't have as much U238.
|
This helps you bypass Kovarex enrichment, though as a downside you won't have as much U238.
|
||||||
|
|
||||||
This mod sets the ratio to 5% U235 95% U238.
|
This mod sets the ratio to 5% U235 95% U238.
|
||||||
|
|
||||||
## Versions
|
## Versions
|
||||||
* 0.0.5 - adding 2 more recipes. One for recyceling and one for enrichment.
|
* 0.0.6 - messed up with the version number
|
||||||
* 0.0.4 - complete rewrite for 2.0 with some recycle functions
|
* 0.0.5 - adding 2 more recipes. One for recyceling and one for enrichment.
|
||||||
* 0.0.3 05/95 produce
|
* 0.0.4 - complete rewrite for 2.0 with some recycle functions
|
||||||
* 0.0.2 50/50 produce
|
* 0.0.1 - 0.0.3 (original by NancyBDrew)
|
||||||
* 0.0.1 Initial release
|
* 0.0.3 05/95 produce
|
||||||
|
* 0.0.2 50/50 produce
|
||||||
## Infos
|
* 0.0.1 Initial release
|
||||||
|
|
||||||
#### 0.0.5
|
## Infos
|
||||||
The icons I used are AI generated cause I would say I'm unable to create something of my own. I'm really really sorry for that.
|
|
||||||
|
#### 0.0.5
|
||||||
## License
|
The icons I used are AI generated cause I would say I'm unable to create something of my own. I'm really really sorry for that.
|
||||||
|
|
||||||
MIT license
|
## License
|
||||||
|
|
||||||
|
MIT license
|
||||||
|
48
pack.ps1
48
pack.ps1
@ -1,19 +1,31 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
Write-Host "PACK MOD"
|
|
||||||
$code = Get-Content .\src\info.json -Raw | ConvertFrom-Json
|
New-Item -ItemType Directory -Force -Path dist
|
||||||
|
|
||||||
$name = $code.name + "_" + $code.version
|
$7zipPath = "$env:ProgramFiles\7-Zip\7z.exe"
|
||||||
Write-Host ("Packing as $name")
|
|
||||||
|
if (-not (Test-Path -Path $7zipPath -PathType Leaf)) {
|
||||||
rm tmp -r -force
|
throw "7 zip executable '$7zipPath' not found"
|
||||||
mkdir tmp
|
}
|
||||||
cp -r src tmp
|
|
||||||
cp README.md tmp/src
|
Set-Alias Start-SevenZip $7zipPath
|
||||||
mv "tmp/src" "tmp/$name"
|
|
||||||
cd tmp
|
Write-Host "PACK MOD"
|
||||||
Compress-Archive "./$name" "../dist/$name.zip"
|
|
||||||
cd ..
|
$code = Get-Content .\src\info.json -Raw | ConvertFrom-Json
|
||||||
|
|
||||||
|
$name = $code.name + "_" + $code.version
|
||||||
|
Write-Host ("Packing as $name")
|
||||||
|
|
||||||
|
rm tmp -r -force
|
||||||
|
mkdir tmp
|
||||||
|
cp -r src tmp
|
||||||
|
cp README.md tmp/src
|
||||||
|
mv "tmp/src" "tmp/$name"
|
||||||
|
cd tmp
|
||||||
|
Start-SevenZip a -tzip "../dist/$name.zip" "./$name"
|
||||||
|
cd ..
|
||||||
rm tmp -r -force
|
rm tmp -r -force
|
@ -1,2 +1,2 @@
|
|||||||
require("prototypes.recipe")
|
require("prototypes.recipe")
|
||||||
require("prototypes.technology")
|
require("prototypes.technology")
|
@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"name": "more-u235_50_50",
|
"name": "more-u235_50_50",
|
||||||
"version": "0.0.5",
|
"version": "0.0.6",
|
||||||
"factorio_version": "2.0",
|
"factorio_version": "2.0",
|
||||||
"title": "More Uranium-235 05/95",
|
"title": "More Uranium-235 05/95",
|
||||||
"author": "Theenoro",
|
"author": "Theenoro",
|
||||||
"description": "original by Eric Stansifer, Increases ratio of U235 to U238 produced by uranium processing",
|
"description": "original by Eric Stansifer, Increases ratio of U235 to U238 produced by uranium processing",
|
||||||
"dependencies": ["base"]
|
"dependencies": ["base"]
|
||||||
}
|
}
|
||||||
|
@ -1,13 +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
|
mu-uer=Uranium enrichment
|
||||||
|
|
||||||
[technology-name]
|
[technology-name]
|
||||||
mu-u235=Uran 235 1/20 centrifuging
|
mu-u235=Uran 235 1/20 centrifuging
|
||||||
mu-dufc=Recycle depleted uran fuel cell
|
mu-dufc=Recycle depleted uran fuel cell
|
||||||
|
|
||||||
[technology-description]
|
[technology-description]
|
||||||
mu-u235=A perfect way to get the exact amount of Uran235 and Uran238
|
mu-u235=A perfect way to get the exact amount of Uran235 and Uran238
|
||||||
mu-dufc=Recycle depleted uran fuel cell
|
mu-dufc=Recycle depleted uran fuel cell
|
||||||
mu-uer=@TODO
|
mu-uer=@TODO
|
||||||
|
@ -1,58 +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,
|
||||||
subgroup = "energy",
|
subgroup = "energy",
|
||||||
ingredients =
|
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-235", amount = 1},
|
||||||
{type = "item", name = "uranium-238", amount = 19},
|
{type = "item", name = "uranium-238", amount = 19},
|
||||||
},
|
},
|
||||||
},{
|
},{
|
||||||
type = "recipe",
|
type = "recipe",
|
||||||
name = "mu-dufc",
|
name = "mu-dufc",
|
||||||
category = "centrifuging",
|
category = "centrifuging",
|
||||||
icon = "__more-u235_50_50__/graphics/recycle_ico.png",
|
icon = "__more-u235_50_50__/graphics/recycle_ico.png",
|
||||||
icon_size = 128,
|
icon_size = 128,
|
||||||
enabled = false,
|
enabled = false,
|
||||||
energy_required = 30,
|
energy_required = 30,
|
||||||
subgroup = "energy",
|
subgroup = "energy",
|
||||||
ingredients =
|
ingredients =
|
||||||
{
|
{
|
||||||
{type = "item", name = "depleted-uranium-fuel-cell", amount = 10},
|
{type = "item", name = "depleted-uranium-fuel-cell", amount = 10},
|
||||||
},
|
},
|
||||||
results =
|
results =
|
||||||
{
|
{
|
||||||
{type = "item", name = "uranium-238", amount = 10},
|
{type = "item", name = "uranium-238", amount = 10},
|
||||||
},
|
},
|
||||||
},{
|
},{
|
||||||
type = "recipe",
|
type = "recipe",
|
||||||
name = "mu-uer",
|
name = "mu-uer",
|
||||||
category = "centrifuging",
|
category = "centrifuging",
|
||||||
subgroup = "energy",
|
subgroup = "energy",
|
||||||
icon = "__more-u235_50_50__/graphics/recycle_ico.png",
|
icon = "__more-u235_50_50__/graphics/recycle_ico.png",
|
||||||
icon_size = 128,
|
icon_size = 128,
|
||||||
enabled = false,
|
enabled = false,
|
||||||
energy_required = 30,
|
energy_required = 30,
|
||||||
ingredients =
|
ingredients =
|
||||||
{
|
{
|
||||||
{type = "item", name = "uranium-235", amount = 1},
|
{type = "item", name = "uranium-235", amount = 1},
|
||||||
{type = "item", name = "uranium-238", amount = 59},
|
{type = "item", name = "uranium-238", amount = 59},
|
||||||
},
|
},
|
||||||
results =
|
results =
|
||||||
{
|
{
|
||||||
{type = "item", name = "uranium-238", amount = 38},
|
{type = "item", name = "uranium-238", amount = 38},
|
||||||
{type = "item", name = "uranium-235", amount = 2}
|
{type = "item", name = "uranium-235", amount = 2}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
})
|
})
|
@ -1,56 +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",
|
type = "unlock-recipe",
|
||||||
recipe = "mu-uer"
|
recipe = "mu-uer"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
prerequisites = {"nuclear-fuel-reprocessing"},
|
prerequisites = {"nuclear-fuel-reprocessing"},
|
||||||
unit =
|
unit =
|
||||||
{
|
{
|
||||||
count = 50,
|
count = 50,
|
||||||
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,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
})
|
})
|
Loading…
Reference in New Issue
Block a user