I was hoping to find light sources, but when I load my game and call rendering.get_all_ids, I get six back, and all of them are text.
I'm doing an "is the character in darkness" test, and since I can't get lamp intensity/size from item_prototypes, I was hoping I could check if a light exists at a position and use information from that. I got a list of all mods and did rendering.get_all_ids(mod) for each but I only get ids back from the current mod.
rendering.get_all_ids() doesn't show me everything?
rendering.get_all_ids() doesn't show me everything?
I have mods! I guess!
Link
Link
Re: rendering.get_all_ids() doesn't show me everything?
The base game doesn't use the script rendering for anything.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.