Page 1 of 1

option to filter LuaEntity members by entity type

Posted: Sun May 25, 2025 3:06 am
by engineer-in-a-box
I was thinking that since there are so many, I thought it would be useful to include an option to filter the members of LuaEntity by which types of entities can use them

Re: option to filter LuaEntity members by entity type

Posted: Sun May 25, 2025 3:08 am
by PennyJim
And please put it in the machine readable api so external programs can do the same

Re: option to filter LuaEntity members by entity type

Posted: Sun May 25, 2025 3:11 am
by protocol_1903
+1, i am not quite a fan of synonym searching the docs page every time i want to find something.

Re: option to filter LuaEntity members by entity type

Posted: Sun May 25, 2025 5:13 am
by curiosity
I think, there were plans to split the LuaEntity class entirely? Or maybe that was for LuaEntityPrototype.

Re: option to filter LuaEntity members by entity type

Posted: Sun May 25, 2025 6:12 pm
by engineer-in-a-box
curiosity wrote: Sun May 25, 2025 5:13 am I think, there were plans to split the LuaEntity class entirely? Or maybe that was for LuaEntityPrototype.
Yep, boskid has mentioned trying to do that, but he said that it just makes things more complicated for no benefit