[Solved] Some items missing from items/entities file in base

Place to get help with not working mods / modding interface.
Post Reply
Homusubi
Burner Inserter
Burner Inserter
Posts: 17
Joined: Wed Mar 30, 2016 10:48 am
Contact:

[Solved] Some items missing from items/entities file in base

Post by Homusubi »

I can't seem to find the code for some items (e.g. steam engines) in the items.lua or entities.lua files in the vanilla game. Where have they gone?

Also, is it possible (for someone who couldn't code if his life depended on it) to create a machine which produces power, but by consuming a certain fluid resource, without producing anything other than electricity?
Last edited by Homusubi on Thu Mar 31, 2016 11:12 am, edited 1 time in total.

Koub
Global Moderator
Global Moderator
Posts: 7226
Joined: Fri May 30, 2014 8:54 am
Contact:

Re: Some items missing from items/entities file in base

Post by Koub »

Some items are declared in the "demo" files, which are referred to in the "non demo" game files.
I wouldn't be surprised if it was the case for what you're looking for.
Koub - Please consider English is not my native language.

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

Re: Some items missing from items/entities file in base

Post by DaveMcW »

Homusubi wrote:Also, is it possible (for someone who couldn't code if his life depended on it) to create a machine which produces power, but by consuming a certain fluid resource, without producing anything other than electricity?
No. Steam engines take any fluid, and it must be heated first. There are ways to hack it in if you could code.

Homusubi
Burner Inserter
Burner Inserter
Posts: 17
Joined: Wed Mar 30, 2016 10:48 am
Contact:

Re: Some items missing from items/entities file in base

Post by Homusubi »

Thanks, I've found all the items I was looking for!

Re: power generation, I've found a way around it, but it would require the ability to use liquids as a fuel. Can this be done, and, if not, which part of the code do I have to change in order to make it work?

EDIT: if I can't do this, how do I make a pseudo-boiler that outputs water at 100 degrees?


Homusubi
Burner Inserter
Burner Inserter
Posts: 17
Joined: Wed Mar 30, 2016 10:48 am
Contact:

Re: Some items missing from items/entities file in base

Post by Homusubi »

You just saved my mod with that second link. Thanks!

Post Reply

Return to “Modding help”