add right-pointing variant of R10-3a

This commit is contained in:
Vanessa Dannenberg 2018-09-30 06:54:12 -04:00
parent 20f4246d48
commit 7af53c2cda
3 changed files with 23 additions and 1 deletions

View File

@ -1236,7 +1236,7 @@ for _, onpole in ipairs({"", "_onpole"}) do
cbox = street_signs.make_selection_boxes(9, 15, onpole, 0, 0, -1.25)
minetest.register_node("street_signs:sign_ped_push_button_to_cross_r10_3a"..onpole, {
description = "R10-3a: Pedestrians, push button to cross",
description = "R10-3a: Pedestrians, push button to cross (pointing left)",
paramtype = "light",
sunlight_propagates = true,
paramtype2 = "wallmounted",
@ -1257,6 +1257,28 @@ for _, onpole in ipairs({"", "_onpole"}) do
drop = "street_signs:sign_ped_push_button_to_cross_r10_3a"
})
minetest.register_node("street_signs:sign_ped_push_button_to_cross_r10_3a_right"..onpole, {
description = "R10-3a: Pedestrians, push button to cross (pointing right)",
paramtype = "light",
sunlight_propagates = true,
paramtype2 = "wallmounted",
drawtype = "mesh",
node_box = cbox,
selection_box = cbox,
mesh = "street_signs_generic_sign_9x15"..onpole..".obj",
tiles = { "street_signs_ped_push_button_to_cross_r10_3a_right.png",
"street_signs_sign_edge.png",
pole_mount_tex
},
inventory_image = "street_signs_ped_push_button_to_cross_r10_3a_right_inv.png",
wield_image = "street_signs_ped_push_button_to_cross_r10_3a_right_inv.png",
groups = {choppy=2, dig_immediate=2, not_in_creative_inventory = nci},
default_color = "0",
after_place_node = street_signs.after_place_node,
on_rotate = on_rotate,
drop = "street_signs:sign_ped_push_button_to_cross_r10_3a_right"
})
minetest.register_node("street_signs:sign_ped_push_button_to_cross_r10_3e"..onpole, {
description = "R10-3e: Pedestrians, push button to cross (pointing right)",
paramtype = "light",

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB