[Solved] Failed to load mods: Error in assignID, item with name 'solidified-hydrogen-ore' does not exist.

Place to get help with not working mods / modding interface.
Post Reply
matthyno
Manual Inserter
Manual Inserter
Posts: 4
Joined: Mon Mar 30, 2020 5:15 pm
Contact:

[Solved] Failed to load mods: Error in assignID, item with name 'solidified-hydrogen-ore' does not exist.

Post by matthyno »

I've been trying to make a custom ore (solidified hydrogen ore) but I keep getting this error.
The error image and github is below:
Image
https://github.com/MatthyPlayz/factorio-clicheishish
Last edited by matthyno on Tue Mar 31, 2020 2:11 pm, edited 1 time in total.

User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3700
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: Failed to load mods: Error in assignID, item with name 'solidified-hydrogen-ore' does not exist.

Post by DaveMcW »

Code: Select all

local solidifiedHydrogenOre = table.deepcopy(data.raw.resource["iron-ore"])
should be

Code: Select all

local solidifiedHydrogenOre = table.deepcopy(data.raw.item["iron-ore"])

matthyno
Manual Inserter
Manual Inserter
Posts: 4
Joined: Mon Mar 30, 2020 5:15 pm
Contact:

Re: Failed to load mods: Error in assignID, item with name 'solidified-hydrogen-ore' does not exist.

Post by matthyno »

that seems to have done it! thank you so much :D

Post Reply

Return to “Modding help”