rendering.get_all_ids() doesn't show me everything?

Place to get help with not working mods / modding interface.
Honktown
Smart Inserter
Smart Inserter
Posts: 1058
Joined: Thu Oct 03, 2019 7:10 am
Contact:

rendering.get_all_ids() doesn't show me everything?

Post by Honktown »

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.
I have mods! I guess!
Link
Bilka
Factorio Staff
Factorio Staff
Posts: 3464
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: rendering.get_all_ids() doesn't show me everything?

Post by Bilka »

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.
Post Reply

Return to “Modding help”