Hey,
the function get_item_localised_name from the quality mod is awesome, but it would be even better if it was a utils function.
Greetz,
Luzifer
Move get_item_localised_name from the quality mod to core utils
- LuziferSenpai
- Filter Inserter
- Posts: 383
- Joined: Tue Jul 08, 2014 10:06 am
- Contact:
Re: Move get_item_localised_name from the quality mod to core utils
That would force the get_prototype function to be in util and that's honestly the one I feel needs to be in there more
But yeah I do think they are simple and useful enough functions to deserve to be canon utilities
But yeah I do think they are simple and useful enough functions to deserve to be canon utilities
-
- Fast Inserter
- Posts: 156
- Joined: Fri Sep 09, 2022 4:33 pm
- Contact:
Re: Move get_item_localised_name from the quality mod to core utils
+1, i dont understand why it isn't there already
If you need to reach me, message me on discord.
I make qol mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903
If you have a mod idea, I can look into it.
I make qol mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903
If you have a mod idea, I can look into it.
- IsaacOscar
- Filter Inserter
- Posts: 843
- Joined: Sat Nov 09, 2024 2:36 pm
- Contact:
Re: Move get_item_localised_name from the quality mod to core utils
Several of my otherwise simple mods have had to define my own get_prototypes function (which retuens an array so you can either loop over everything, or get a specific prototype), so I was very surprised it's not already in utils.
Re: Move get_item_localised_name from the quality mod to core utils
I agree that this would be nice to have in lualib. In the meantime, I have added some similar things to flib for getting localised names and prototypes by base type.
Don't forget, you're here forever.