Page 1 of 1

LuaEntity.custom_description

Posted: Mon Aug 10, 2020 5:33 pm
by micromario
You can currently use LuaItem.custom_description to set a custom localised string as the description

It would be nice if we could also use this on entities

Re: LuaEntity.custom_description

Posted: Tue Aug 11, 2020 1:59 pm
by Rseding91
custom_description only works for the item-with-tags item type. Every other item type in the game doesn't support the property. In that same way: no entities support custom descriptions and if we wanted them to we would have to add it to each one, save, load, and handle showing it in any place where descriptions are shown.

I don't see that happening.