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?
Well, it’s definitely not the 24x24 single map tile. I traveled northwest for 2 days, I covered about 5 times the size of the default overmap view distance, with debug_vision going, and I didn’t see any elves. Each night at midnight I got the message about elves spawning and no errors. I’m going to start a new character (my bio-infiltrator is getting boring, he’s to strong) with elf-mod. We’ll see what happens.
If it’s some unimaginable distance away…by the time I get there, there will be a lot of elves around ;). In which case, the mod probably needs a bit of refining. Go figure haha.
Edit: Well, it definitely interferes with the stats thru skills mod. Probably triggers on the same event…I’ll take a look. Yeah, they both trigger on on_day_passed. I don’t know lua in the slightest. I’m turning it off, maybe someone with knowledge can work it out.