Skip to content

Commit

Permalink
0.1.4 Best Compatibility so far.
Browse files Browse the repository at this point in the history
  • Loading branch information
SGZ-Creations committed Jun 2, 2023
1 parent 55be47b commit 3afaa53
Show file tree
Hide file tree
Showing 8 changed files with 171 additions and 15 deletions.
9 changes: 8 additions & 1 deletion lib/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
---------------------------------------------------------------------------------------------------
Version: 0.1.4
Date: 02.06.2023
Changes:
- RampantArsenal Message change due to Blockage removed.
Compatibility:
- Better Support: K2, Ramant Aresenal, Nanobots.
---------------------------------------------------------------------------------------------------
Version: 0.1.3
Date: 14.05.2023
Fixes:
Expand All @@ -10,7 +17,7 @@ Date: 10.05.2023
- Fixed Depencies to make Power Armour & Replacer mod recognize this mod.
- Forgot to Dissable file(s) i excluded.
Info:
- The for lib mod needing name due to invalid name unde uploade.
- The lib mod needing new name due to invalid name under uploade.
---------------------------------------------------------------------------------------------------
Version: 0.1.1
Date: 10.05.2023
Expand Down
149 changes: 149 additions & 0 deletions lib/compatibility/Misc/misc.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,149 @@
if mods["Nanobots"] then
data:extend({
{
type = "technology",
name = "nv-bi_mk1",
icon_size = 256, icon_mipmaps = 4,
icons = util.technology_icon_constant_equipment("__Power-Armour-Replacer__/texture/tech/belt-immunity-night-vision-equipment.png"),
prerequisites = {"armour_3"},
effects =
{
{
type = "unlock-recipe",
recipe = "nv_mk1"
},
{
type = "unlock-recipe",
recipe = "bi_mk1"
},
{
type = "unlock-recipe",
recipe = "equipment-bot-chip-feeder"
},
{
type = "unlock-recipe",
recipe = "equipment-bot-chip-nanointerface"
},
{
type = "unlock-recipe",
recipe = "equipment-bot-chip-launcher"
},
{
type = "unlock-recipe",
recipe = "equipment-bot-chip-trees"
},
{
type = "unlock-recipe",
recipe = "equipment-bot-chip-items"
},
},
unit =
{
count = 500,
ingredients = {
{"automation-science-pack", 1},
{"logistic-science-pack", 1},
{"military-science-pack", 1},
},
time = 15
},
order = "g-g"
},
});
end

if mods["Krastorio2"] then
data:extend({
{
type = "technology",
name = "nv-bi_mk1",
icon_size = 256, icon_mipmaps = 4,
icons = util.technology_icon_constant_equipment("__Power-Armour-Replacer__/texture/tech/belt-immunity-night-vision-equipment.png"),
prerequisites = {"armour_3"},
effects =
{
{
type = "unlock-recipe",
recipe = "nv_mk1"
},
{
type = "unlock-recipe",
recipe = "bi_mk1"
},
{
type = "unlock-recipe",
recipe = "vehicle-roboport"
},
},
unit =
{
count = 500,
ingredients = {
{"automation-science-pack", 1},
{"logistic-science-pack", 1},
{"military-science-pack", 1},
},
time = 15
},
order = "g-g"
},
});
end

if mods["Krastorio2"] and mods["Nanobots"] then
data:extend({
{
type = "technology",
name = "nv-bi_mk1",
icon_size = 256, icon_mipmaps = 4,
icons = util.technology_icon_constant_equipment("__Power-Armour-Replacer__/texture/tech/belt-immunity-night-vision-equipment.png"),
prerequisites = {"armour_3"},
effects =
{
{
type = "unlock-recipe",
recipe = "nv_mk1"
},
{
type = "unlock-recipe",
recipe = "bi_mk1"
},
{
type = "unlock-recipe",
recipe = "equipment-bot-chip-feeder"
},
{
type = "unlock-recipe",
recipe = "equipment-bot-chip-nanointerface"
},
{
type = "unlock-recipe",
recipe = "equipment-bot-chip-launcher"
},
{
type = "unlock-recipe",
recipe = "equipment-bot-chip-trees"
},
{
type = "unlock-recipe",
recipe = "equipment-bot-chip-items"
},
{
type = "unlock-recipe",
recipe = "vehicle-roboport"
},
},
unit =
{
count = 500,
ingredients = {
{"automation-science-pack", 1},
{"logistic-science-pack", 1},
{"military-science-pack", 1},
},
time = 15
},
order = "g-g"
},
});
end
4 changes: 2 additions & 2 deletions lib/compatibility/SpaceMod/SpaceMod_tech.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if mods["SpaceMod"] then
},
prerequisites =
{
"shields_5",
"shield_5",
"space-construction",
},
unit =
Expand Down Expand Up @@ -50,7 +50,7 @@ if mods["SpaceMod"] then
},
prerequisites =
{
"shields_5",
"shield_5",
"space-construction",
},
unit =
Expand Down
Empty file.
2 changes: 1 addition & 1 deletion lib/compatibility/vanilla/vanilla_tech.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ data:extend({
recipe = "spidertron-remote"
}
},
prerequisites =
prerequisites =
{
"military-4",
"exoskeleton_5",
Expand Down
10 changes: 5 additions & 5 deletions lib/data-final-fixes.lua
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
--require("util")

-- Vanilla
require("compatibility.vanilla.vanilla_recipes")
require("compatibility.vanilla.vanilla_tech")

--TeleportationEquipment Mod
--require("compatibility.teleportation-equipment.teleportation_tech")

--osm-radioactivity Mod
--require("compatibility.osm-radioactivity.radioactivity_tech")

--Insectitron Mod

--SpaceMod Mod
require("compatibility.SpaceMod.SpaceMod_recipes")

--Any-else
require("compatibility.Misc.misc")
12 changes: 6 additions & 6 deletions lib/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
"name": "par_lib",
"title": "P.A.R Library",
"factorio_version": "1.1",
"version": "0.1.3",
"version": "0.1.4",
"author": "SGZ_Creations",
"contact": "https://discord.gg/tbxnpsxkDM",
"homepage": "https://github.com/SGZ-Creations/MK10-Armours",
"dependencies":
[
"base >= 1.1.80",
"Power-Armour-Replacer >= 0.1.28",
"? Insectitron >= 1.1.1",
"? SpaceMod >= 1.1.1",
"? TeleportationEquipment >= 1.0.3",
"? osm-radioactivity >= 1.1.42"
"Power-Armour-Replacer >= 0.1.31",
"(?) Insectitron >= 1.1.1",
"(?) SpaceMod >= 1.1.1",
"(?) TeleportationEquipment >= 1.0.3",
"(?) osm-radioactivity >= 1.1.42"
],
"description":"Compatibility & Fixes for all mods in my mod pack",
"package": {
Expand Down
File renamed without changes.

0 comments on commit 3afaa53

Please sign in to comment.