I'm wondering what file or files should be changed to adjust the default spawn behavior of mobs, I'm mainly interested in changing if a mob spawns as passive or aggressive. Hopefully I don't need to patch or replace too many files, the fewer the better for high compatibility and low maintenance as Starbound updates.
I already acomplished it in my Animal Guards mod. You need to edit .monstertype file or your monster. For making it friendly to you and all friendly npc you need to add or change this line to look like this: in sequence: "baseParameters" : { "damageTeamType" : "friendly", } that's all