From 587e2b252654b9e0c6ab0767f12659a7536e48b7 Mon Sep 17 00:00:00 2001 From: fluxionary <25628292+fluxionary@users.noreply.github.com> Date: Wed, 23 Aug 2023 22:00:18 -0700 Subject: [PATCH] Set item description as infotext for item entities (#13728) --- builtin/game/item_entity.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/builtin/game/item_entity.lua b/builtin/game/item_entity.lua index 624fd4b11..b7b291c43 100644 --- a/builtin/game/item_entity.lua +++ b/builtin/game/item_entity.lua @@ -69,6 +69,7 @@ core.register_entity(":__builtin:item", { automatic_rotate = math.pi * 0.5 * 0.2 / size, wield_item = self.itemstring, glow = glow, + infotext = stack:get_description(), }) -- cache for usage in on_step