->[quote=“Malkeus, post:18, topic:10466”][quote=“Random_dragon, post:17, topic:10466”]Ah, interesting.
That reminds me, the documentation for the game has an “example mod” that spawns elves over time. I wish I knew how to un-defunct it…[/quote]
Ah, that one was easy
The data.json has an entry for the ‘elf’ monster in it, which is missing the default_faction data entry. Adding [ “default_faction”:“zombie”, ] below “species”:“ZOMBIE”, will let it load without error. I waited a day and the lua code seems to have executed properly as well. Haven’t found an elf yet though.[/quote][quote=“Random_dragon, post:19, topic:10466”]Ah, how odd. PR the fix then? o3o[/quote][quote=“Malkeus, post:20, topic:10466”]hmm, guess i can do that. I’ll see if I can’t find one of these elves first though[/quote][quote=“Random_dragon, post:21, topic:10466”]Aye. Because I tried it some time ago and the LUA spat out an error at the point it was supposed to spawn an elf.[/quote]
I can’t seem to find an elf, but I’m not getting any errors either in game or in the debug.log. I’ve let several days pass, and every night at midnight the lua seems to be executing properly, if the message I’m seeing in-game is any indicator. Where did you see the error?