Page 1 of 1

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

Posted: Mon Dec 09, 2019 2:57 am
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.

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

Posted: Mon Dec 09, 2019 6:32 am
by Bilka
The base game doesn't use the script rendering for anything.