Skip to content

Commit

Permalink
Add compatibility for equipment from "Power Armor MK3" & "Portable Po…
Browse files Browse the repository at this point in the history
…wer" (#650)

* Add compatibility for equipment from "Power Armor MK3" & "Portable Power"

Add compatibility for Power Armor MK3 & Portable Power equipment.

* Update changelog.txt

* Update info.json
  • Loading branch information
Aerospacesmith authored Aug 4, 2021
1 parent 15acfaf commit f7d8061
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
5 changes: 5 additions & 0 deletions angelsaddons-mobility/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
---------------------------------------------------------------------------------------------------
Version: 0.0.9
Date: 03.08.2021
Features:
- Added compatibility for grid equipment from "Power Armor MK3" & "Portable Power" mods
---------------------------------------------------------------------------------------------------
Version: 0.0.8
Date: 26.05.2021
Bugfixes:
Expand Down
2 changes: 1 addition & 1 deletion angelsaddons-mobility/info.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angelsaddons-mobility",
"version": "0.0.8",
"version": "0.0.9",
"factorio_version": "1.1",
"title": "Angel's Addons - Mass Transit",
"author": "Arch666Angel, lovely_santa",
Expand Down
13 changes: 13 additions & 0 deletions angelsaddons-mobility/prototypes/equipment-updates.lua
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,19 @@ if mods["Krastorio2"] then
funcs.update_equipment("roboport-equipment", "vehicle-roboport", "angels-basegame-construction")
end

if mods["Power Armor MK3"] then
funcs.update_equipment("energy-shield-equipment", "pamk3-esmk3", "angels-basegame-defense")

funcs.update_equipment("battery-equipment", "pamk3-battmk3", "angels-basegame-energy")
funcs.update_equipment("generator-equipment", "pamk3-pnr", "angels-basegame-energy")
funcs.update_equipment("generator-equipment", "pamk3-se", "angels-basegame-energy")
end

if mods["Portable_power"] then
funcs.update_equipment("generator-equipment", "portable-generator-equipment", "angels-basegame-energy")
funcs.update_equipment("generator-equipment", "portable-reactor-equipment", "angels-basegame-energy")
end

if angelsmods.petrochem then
local OV = angelsmods.functions.OV
if angelsmods.addons.mobility.petrotrain.tier_amount > 1 then
Expand Down

0 comments on commit f7d8061

Please sign in to comment.