Page 1 of 1
Burner option for all buildings
Posted: Sun Jun 12, 2016 9:43 pm
by Wakaba-chan
Hello,
Now I'm making mod that removes all the electricity from the game and make all structures working on fuel.
But when I make
Code: Select all
...energy_source =
{
type = "burner",
...
for
- Lamp
- Radar
- Small pump
- Roboport
that's does not work. I mean, no fuel slot appears. Is it possible this would be fixed in future releases or should I dig into Lua and do some completely new entities by myself?
p.s. I hope I post this question on correct forum, fix me if I did it wrong.
Re: Burner option for all buildings
Posted: Sun Jun 12, 2016 9:46 pm
by daniel34
Moved from Frequently Suggested / Link Collections to Modding help.
Re: Burner option for all buildings
Posted: Sun Jun 12, 2016 9:51 pm
by Arch666Angel
Wakaba-chan wrote:Hello,
Now I'm making mod that removes all the electricity from the game and make all structures working on fuel.
But when I make
Code: Select all
...energy_source =
{
type = "burner",
...
for
- Lamp
- Radar
- Small pump
- Roboport
that's does not work. I mean, no fuel slot appears. Is it possible this would be fixed in future releases or should I dig into Lua and do some completely new entities by myself?
p.s. I hope I post this question on correct forum, fix me if I did it wrong.
You cannot define new entity types yourself, because they are hardcoded into the actual game logic. There are workaround with having two entities as one, where one acts as electricity producing burner entity and the other as a light giving lamp for example (there is a torch mod out there that does this).
Re: Burner option for all buildings
Posted: Sun Jun 12, 2016 10:01 pm
by Wakaba-chan
Arch666Angel wrote:Wakaba-chan wrote:Hello,
Now I'm making mod that removes all the electricity from the game and make all structures working on fuel.
But when I make
Code: Select all
...energy_source =
{
type = "burner",
...
for
- Lamp
- Radar
- Small pump
- Roboport
that's does not work. I mean, no fuel slot appears. Is it possible this would be fixed in future releases or should I dig into Lua and do some completely new entities by myself?
p.s. I hope I post this question on correct forum, fix me if I did it wrong.
You cannot define new entity types yourself, because they are hardcoded into the actual game logic. There are workaround with having two entities as one, where one acts as electricity producing burner entity and the other as a light giving lamp for example (there is a torch mod out there that does this).
Well, I assumed something like this and that's why I wanted to ask for developers if it's possible that they will fix current entities? In which forum/thread could I ask this?