As in the title. I am creating a custom dungeon in Tiled and I would now like to add NPCs. I learned how to do so on the starbounder wiki. They spawn and behave nicely like I want them to. The problem is they seem to be on some sort of random expiry clock. I made a clone of the village guard npc and and cut out all of the race configurations and put override items and armor, the npc is perfectly fine, no bugs but here's my code for those interested Code: { "type" : "spacepirate", "baseType" : "base", "damageTeamType" : "friendly", "scriptConfig" : { "behavior" : "villageguard", "behaviorConfig" : { "greetingChance" : 0.67, "hostileDamageTeam" : { "type" : "enemy", "team" : 1 } }, "personalities" : [ [1.0, { "personality" : "normal", "reactions" : {} }] ], "dialog" : { "greeting" : "/dialog/converse.config:greeting", "converse" : "/dialog/converse.config:converse" } }, "items" : { "override" : [ [0, [ { "head" : [ { "name" : "bandithat1" }, { "name" : "eyepatchhead" }, { "name" : "buccaneerhead" } ], "chest" : [ { "name" : "explorerchest" } ], "legs" : [ { "name" : "explorerlegs" } ], "primary" : [ "npcshotgun", "npcassaultrifle", "npcpistol", "npcsniperrifle" ] } ] ] ] }, "statusControllerSettings" : { "stats" : { "maxHealth" : { "baseValue" : 100.0 }, "powerMultiplier" : { "baseValue" : 0.5 }, "protection" : { "baseValue" : 1.0 }, "healthRegen" : { "baseValue" : 0.1 } } } } They eventually will die for some reason I can't figure it out. Thoughts?
Check your log file. Its called starbound.log (no numbers) Starbound/storage You can paste it here using pastebin.com
I checked, nothing relating to npcs. EDIT: The NPCs are behaving normally, managed to pinpoint a lua script failure related to greetings. cloned a different npc and its working for some reason so i'll stick with that.