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?
[Solved] Some items missing from items/entities file in base
[Solved] Some items missing from items/entities file in base
Last edited by Homusubi on Thu Mar 31, 2016 11:12 am, edited 1 time in total.
Re: Some items missing from items/entities file in base
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.
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.
Re: Some items missing from items/entities file in base
No. Steam engines take any fluid, and it must be heated first. There are ways to hack it in if you could code.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?
Re: Some items missing from items/entities file in base
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?
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?
Re: Some items missing from items/entities file in base
You just saved my mod with that second link. Thanks!