Hi,
i'm the first one who downloaded your attached file at all tolook really into it.
------------------------------------------------------------------------------------------------------------------------------
First i recognized is, you didn't named the folder right.
It has to have the same name like in the info.json, followed by an underscore and the version number.
info.json -> name: Rampant Armor MK4
zip name: Rampant Armor MK4_0.0.1
folder name: RampantArmorMK4_0.0.1 -> correct: Rampant Armor MK4_0.0.1
------------------------------------------------------------------------------------------------------------------------------
You don't need to require any file from other mods, requiring your own files can all happen in data.lua as you have set the correct dependency to RampantArsenal.
------------------------------------------------------------------------------------------------------------------------------
Now the real magic is the technology name. As you correctly found out the name in Technologies.lua. You overlooked the function in TechnologiesUtils. This function adds "rampant-arsenal-technology-" before the given name.
------------------------------------------------------------------------------------------------------------------------------
Currently i have a path error with your mod which i have to look into. Hopefully it's not because the spaces in your mod name.
I suppose you copied some code and forgot to change the image references.
prototypes\item\power-armor-mk4.lua - change
Code: Select all
icon = "__Power Armor MK4__/graphics/icons/power-armor-mk4.png",
to
Code: Select all
icon = "__Rampant Armor MK4__/graphics/icons/power-armor-mk4.png",
prototypes\technology\power-armor-mk4.lua - change
Code: Select all
icon = "__Power Armor MK4__/graphics/technology/power-armor-mk4.png",
to
Code: Select all
icon = "__Rampant Armor MK4__/graphics/technology/power-armor-mk4.png",
------------------------------------------------------------------------------------------------------------------------------
Not sure what your migration .json is for, do you like to share your intention?
------------------------------------------------------------------------------------------------------------------------------
Hint: For compatibility you could add "adv-generator" to equipment_categories in prototypes\equipment\equipment-grid2.lua
This allows to put the Nuclear Generator into the armor.
------------------------------------------------------------------------------------------------------------------------------
Tldr: Correct technology name is rampant-arsenal-technology-power-armor-mk3 instead of power-armor-mk3
Cu, steinio.