Burner Generator Entity Prototype has no Burner Prototype

This subforum contains all the issues which we already resolved.
Post Reply
mika89
Burner Inserter
Burner Inserter
Posts: 9
Joined: Tue Nov 26, 2019 7:18 pm
Contact:

Burner Generator Entity Prototype has no Burner Prototype

Post by mika89 »

hi!

shouldn't the entity-prototype of the burner-generator have the burner_prototype field set?

/c game.print(game.entity_prototypes["burner-generator"].burner_prototype)

returns nil.
i don't know if thats a bug or feature :)

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

Re: Burner Generator Entity Prototype has no Burner Prototype

Post by darkfrei »

In data stage it's done such as:
2020-02-15T14_22_45-_D__Factorio_0.18_factorio-current.log - Notepad++.png
2020-02-15T14_22_45-_D__Factorio_0.18_factorio-current.log - Notepad++.png (18.36 KiB) Viewed 1918 times

Code: Select all

/c log (game.player.selected.help())

Code: Select all

/c log (game.player.selected.prototype.help())

For burner generator prototype it will be:
burner generator prototype help
And the

Code: Select all

/c log (game.player.selected.prototype.burner_prototype.help())
gives error :(
It looks like a bug.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13176
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Burner Generator Entity Prototype has no Burner Prototype

Post by Rseding91 »

Fixed for the next release.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”