Page 1 of 1

Getting an error I just don't understand.

Posted: Sat Jul 08, 2017 2:24 am
by LazyFridge
This is probably an extreme noob issue, but I just don't understand why I'm get this error.

Image

Any help would be appreciated. I have a fairly good understanding of Lua, as I've used it in the past, but a lot of things have been going over my head. :? Any help is appreciated!

Edit: The attatchment of the entire mod is there now. I know its probably all screwed up, but its my first mod, bound to be mistakes. :)

Re: Getting an error I just don't understand.

Posted: Sat Jul 08, 2017 9:46 am
by darkfrei
Can you attach your mod?

Re: Getting an error I just don't understand.

Posted: Sat Jul 08, 2017 6:01 pm
by LazyFridge
darkfrei wrote:Can you attach your mod?
I edited the original post, its attached now. My first little experimental mod, go easy on me. haha

Re: Getting an error I just don't understand.

Posted: Sun Jul 09, 2017 8:36 am
by prg
So...

Code: Select all

Error while loading entity prototype "Single_house" (assembling-machine): Key "crafting_categories" not found in property tree at ROOT.assembling-machine.Single_house
Pretty much what it sounds like. Your "Single_house" prototype definition is missing the "crafting_categories" key (and a few others.) All prototypes of type "assembling-machine" require those. Check the base mod definitions for how it should look.

Re: Getting an error I just don't understand.

Posted: Sun Jul 09, 2017 9:56 am
by LazyFridge
prg wrote:So...

Code: Select all

Error while loading entity prototype "Single_house" (assembling-machine): Key "crafting_categories" not found in property tree at ROOT.assembling-machine.Single_house
Pretty much what it sounds like. Your "Single_house" prototype definition is missing the "crafting_categories" key (and a few others.) All prototypes of type "assembling-machine" require those. Check the base mod definitions for how it should look.
Sweet! I feel like a dummy. Thanks a million! Got it working. :)