mindstorm8191 / danidle

Factory Idle style game, that doesn't yet have a name. Combine basic resources to get more advanced resources, and climb up the tech ladder
4 stars 0 forks source link

Todo: Add displayed text to all items #28

Open mindstorm8191 opened 6 years ago

mindstorm8191 commented 6 years ago

We are using the name field of all items for in-code management of them, but for displaying them on-screen it is a bit weird. Rather than modifying all the names to a more readable format (which would most likely cause a lot of bugs until all the names are ironed out), we want to add a new field to all items, holding a displayed name that is different than the in-code name.

Doing this will require updating all places that create new items (which is basically every block), as well as some block display code, where item names are used.