@@ -31,7 +31,6 @@ core.register_entity(":__builtin:item", {
31
31
spritediv = {x = 1 , y = 1 },
32
32
initial_sprite_basepos = {x = 0 , y = 0 },
33
33
is_visible = false ,
34
- infotext = " " ,
35
34
},
36
35
37
36
itemstring = ' ' ,
@@ -51,7 +50,6 @@ core.register_entity(":__builtin:item", {
51
50
local c = s
52
51
local itemtable = stack :to_table ()
53
52
local itemname = nil
54
- local description = " "
55
53
if itemtable then
56
54
itemname = stack :to_table ().name
57
55
end
@@ -60,7 +58,6 @@ core.register_entity(":__builtin:item", {
60
58
if core .registered_items [itemname ] then
61
59
item_texture = core .registered_items [itemname ].inventory_image
62
60
item_type = core .registered_items [itemname ].type
63
- description = core .registered_items [itemname ].description
64
61
end
65
62
local prop = {
66
63
is_visible = true ,
@@ -69,7 +66,6 @@ core.register_entity(":__builtin:item", {
69
66
visual_size = {x = s , y = s },
70
67
collisionbox = {- c , - c , - c , c , c , c },
71
68
automatic_rotate = math.pi * 0.5 ,
72
- infotext = description ,
73
69
}
74
70
self .object :set_properties (prop )
75
71
end ,
0 commit comments