Change ItemPrototype.tier to be of type int
Change ItemPrototype.tier to be of type int
This is probably a bit nitpicky, but I would feel better if the .tier attribute on ItemPrototypes was an interger and not a float. It seems like that would make more sense and reduce the surface for error, especially across mods. Unless there is a reason for it to be a float that I'm not aware of.
Re: Change ItemPrototype.tier to be of type int
What is the use case of this change?
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Re: Change ItemPrototype.tier to be of type int
Makes me not have to worry about some mod setting a tier of 0.001256 and having to have code to deal with it. Makes it simpler if I can assume that that number will always be an int. Just a small quality of life improvement, and it makes the modding interface cleaner I guess.
Re: Change ItemPrototype.tier to be of type int
Okay, changed for the next version.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.