Add initial_properties to entity
This commit is contained in:
parent
314eae8754
commit
f5beb59b54
16
init.lua
16
init.lua
@ -1353,13 +1353,15 @@ minetest.register_node("schemedit:void", {
|
||||
|
||||
-- [entity] Visible schematic border
|
||||
minetest.register_entity("schemedit:display", {
|
||||
visual = "upright_sprite",
|
||||
textures = {get_border_texture()},
|
||||
visual_size = {x=10, y=10},
|
||||
pointable = false,
|
||||
physical = false,
|
||||
static_save = false,
|
||||
glow = minetest.LIGHT_MAX,
|
||||
initial_properties = {
|
||||
visual = "upright_sprite",
|
||||
textures = {get_border_texture()},
|
||||
visual_size = {x=10, y=10},
|
||||
pointable = false,
|
||||
physical = false,
|
||||
static_save = false,
|
||||
glow = minetest.LIGHT_MAX,
|
||||
},
|
||||
|
||||
on_step = function(self, dtime)
|
||||
if not self.id then
|
||||
|
Loading…
x
Reference in New Issue
Block a user