street_signs/signs_class_om.lua
Vanessa Dannenberg f0df211bd8 use signs_lib.standard_steel_groups for all signs
(adding "not_in_creative_inventory" as needed)
2019-09-14 17:43:53 -04:00

26 lines
708 B
Lua

-- Class-OM signs
local S = signs_lib.gettext
local cbox
for _, d in ipairs({"l", "c", "r"}) do
cbox = signs_lib.make_selection_boxes(12, 36, nil)
minetest.register_node("street_signs:sign_object_marker_type3_"..d, {
description = "OM3-"..string.upper(d)..": Type 3 object marker",
paramtype = "light",
sunlight_propagates = true,
paramtype2 = "wallmounted",
drawtype = "mesh",
node_box = cbox,
selection_box = cbox,
mesh = "street_signs_object_marker_type_3.obj",
tiles = { "street_signs_object_marker_type3_"..d..".png",
"street_signs_sign_edge.png"
},
inventory_image = "street_signs_object_marker_type3_"..d.."_inv.png",
groups = signs_lib.standard_steel_groups,
})
end