Getting an error I just don't understand.

Place to get help with not working mods / modding interface.
Post Reply
LazyFridge
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sat Jul 08, 2017 2:18 am
Contact:

Getting an error I just don't understand.

Post 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. :)
Attachments
Civilization_Mod_0.1.0.rar
Entire mod i have so far :x
(286.08 KiB) Downloaded 79 times
Last edited by LazyFridge on Sat Jul 08, 2017 5:59 pm, edited 1 time in total.

User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2903
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

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

Post by darkfrei »

Can you attach your mod?

LazyFridge
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sat Jul 08, 2017 2:18 am
Contact:

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

Post 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

User avatar
prg
Filter Inserter
Filter Inserter
Posts: 947
Joined: Mon Jan 19, 2015 12:39 am
Contact:

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

Post 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.
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!

LazyFridge
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sat Jul 08, 2017 2:18 am
Contact:

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

Post 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. :)

Post Reply

Return to “Modding help”