hmm, i'll start looking into it, thank you for all the info.
about the equipment, indeed i was using armor by default and only changing in compatibility files if needed:
for equipment_grid.lua
old code:
{code}
local spidertronmk2_grid = {
type = "equipment-grid",
name = "spidertronmk2-grid",
width = smk2w,
height = smk2h,
equipment_categories = {"armor"}
}
local spidertronmk3_grid = {
type = "equipment-grid",
name = "spidertronmk3-grid",
width = smk3w,
height = smk3h,
equipment_categories = {"armor"}
}
local spidertron_builder_grid = {
type = "equipment-grid",
name = "spidertron-builder-grid",
width = sbuildw,
height = sbuildh,
equipment_categories = {"armor"}
}
local immolator_grid = {
type = "equipment-grid",
name = "immolator-grid",
width = immw,
height = immh,
equipment_categories = {"armor"}
}
{code}
the new code should be:
{code}
local basic_equipment_categories = data.raw["equipment-grid"]["spidertron-equipment-grid"].equipment_categories
local spidertronmk2_grid = {
type = "equipment-grid",
name = "spidertronmk2-grid",
width = smk2w,
height = smk2h,
equipment_categories = basic_equipment_categories
}
local spidertronmk3_grid = {
type = "equipment-grid",
name = "spidertronmk3-grid",
width = smk3w,
height = smk3h,
equipment_categories = basic_equipment_categories
}
local spidertron_builder_grid = {
type = "equipment-grid",
name = "spidertron-builder-grid",
width = sbuildw,
height = sbuildh,
equipment_categories = basic_equipment_categories
}
local immolator_grid = {
type = "equipment-grid",
name = "immolator-grid",
width = immw,
height = immh,
equipment_categories = basic_equipment_categories
}
{code}
this change should help any compatibility issues with other mods more easier,
i'll commit this change on github, but i'll wait a bit more until i make a new version cause i am interested in the auto aim for the healing beam. (the problem with code from other mods is that i'm legally not allowed to use it depending on what kind of license they have, i'll need to look more into it)