what do i get if i find the error first? hahahaha
enternal glory and possibly a hidden refferene in flavour text ?
ok, it’s something
-
Worker.lua:
local BaseJob = require 'stonehearth.jobs.base_job’
local CraftingJob = require 'stonehearth.jobs.crafting_job’
radiant.mixin(WorkerClass, BaseJob, CraftingJob)
you had a missing “stonehearth” to know where are those jobs from -
Manifest:
"controllers":{
"class:worker": "file(jobs/worker/worker.lua)"
}
your worker json had the controller lua but the manifest not
The result:
Something is still missing but you can start the game with those codes xD
This is not right. You need to have one main class and another to add to it. Just remove the basejob, it is already included in the craftingjob
didn’t know that thanks
btw, just learning how lua code works lol
and only tried to fix the startup crashes
after that, is up to you @Wouter_Sikkema
I’d like to thank you all in helping out :), I’ll give it a shot omorrow with this and let you know!