Page 1 of 1

Accept ghost_name as well as inner_name to create_entity

Posted: Sun Jul 29, 2018 9:30 pm
by Therax
Most places in the API, an entity-ghost is referred to as having a ghost_name to describe the actual entity to be built: find_entities_filtered, LuaEntity. The exception is LuaSurface::create_entity, which requires that the parameter be "inner_name".

"inner_name" needs to be retained for backwards compatibility with existing mods, but it would be nice if create_entity would also accept ghost_name for consistency with the rest of the API.

Re: Accept ghost_name as well as inner_name to create_entity

Posted: Sat Aug 11, 2018 7:21 am
by Rseding91
Ok. I added it for 0.17.