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
Burner Generator Entity Prototype has no Burner Prototype
Re: Burner Generator Entity Prototype has no Burner Prototype
In data stage it's done such as:
For burner generator prototype it will be: gives error
It looks like a bug.
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())
It looks like a bug.
Re: Burner Generator Entity Prototype has no Burner Prototype
Fixed for the next release.
If you want to get ahold of me I'm almost always on Discord.