Add orange version of W7-3aP and left- and right-pointing W1-6

master
Vanessa Dannenberg 2018-10-03 01:17:02 -04:00
parent c9fcf1c577
commit a00f1563c4
7 changed files with 84 additions and 1 deletions

View File

@ -305,6 +305,50 @@ for _, onpole in ipairs({"", "_onpole"}) do
cbox = street_signs.make_selection_boxes(48, 24, onpole)
minetest.register_node("street_signs:sign_large_arrow_left"..onpole, {
description = "W1-6: Large arrow pointing left",
paramtype = "light",
sunlight_propagates = true,
paramtype2 = "wallmounted",
drawtype = "mesh",
node_box = cbox,
selection_box = cbox,
mesh = "street_signs_generic_sign_48x24"..onpole..".obj",
tiles = { "street_signs_large_arrow_left.png",
"street_signs_sign_edge.png",
pole_mount_tex
},
inventory_image = "street_signs_large_arrow_left_inv.png",
wield_image = "street_signs_large_arrow_left_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_large_arrow_left"
})
minetest.register_node("street_signs:sign_large_arrow_right"..onpole, {
description = "W1-6: Large arrow pointing right",
paramtype = "light",
sunlight_propagates = true,
paramtype2 = "wallmounted",
drawtype = "mesh",
node_box = cbox,
selection_box = cbox,
mesh = "street_signs_generic_sign_48x24"..onpole..".obj",
tiles = { "street_signs_large_arrow_right.png",
"street_signs_sign_edge.png",
pole_mount_tex
},
inventory_image = "street_signs_large_arrow_right_inv.png",
wield_image = "street_signs_large_arrow_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_large_arrow_right"
})
minetest.register_node("street_signs:sign_two_direction_large_arrow"..onpole, {
description = "W1-7: Two direction large arrow",
paramtype = "light",
@ -722,7 +766,7 @@ for _, onpole in ipairs({"", "_onpole"}) do
cbox = street_signs.make_selection_boxes(24, 18, onpole, 0, 9.75, 0)
minetest.register_node("street_signs:sign_distance_2_lines"..onpole, {
description = "W7-3aP: Blank distance sign (like \"Next X Miles\", 2 lines)",
description = "W7-3aP: Blank distance sign (like \"Next X Miles\", 2 lines, yellow)",
paramtype = "light",
sunlight_propagates = true,
paramtype2 = "wallmounted",
@ -759,6 +803,45 @@ for _, onpole in ipairs({"", "_onpole"}) do
drop = "street_signs:sign_distance_2_lines"
})
minetest.register_node("street_signs:sign_distance_2_lines_orange"..onpole, {
description = "W7-3aP: Blank distance sign (like \"Next X Miles\", 2 lines, orange)",
paramtype = "light",
sunlight_propagates = true,
paramtype2 = "wallmounted",
drawtype = "mesh",
node_box = cbox,
selection_box = cbox,
mesh = "street_signs_generic_sign_24x18_top"..onpole..".obj",
tiles = { "street_signs_distance_2_lines_orange.png",
"street_signs_sign_edge.png",
pole_mount_tex
},
inventory_image = "street_signs_distance_2_lines_orange_inv.png",
wield_image = "street_signs_distance_2_lines_orange_inv.png",
groups = {choppy=2, dig_immediate=2, not_in_creative_inventory = nci},
default_color = "0",
on_construct = street_signs.construct_sign,
on_destruct = street_signs.destruct_sign,
after_place_node = street_signs.after_place_node,
on_receive_fields = street_signs.receive_fields,
on_punch = street_signs.update_sign,
on_rotate = on_rotate,
number_of_lines = 2,
horiz_scaling = 1.8,
vert_scaling = 1.25,
line_spacing = 1,
font_size = 31,
x_offset = 12,
y_offset = 12,
chars_per_line = 20,
entity_info = {
mesh = "street_signs_generic_sign_24x18_top_entity"..onpole..".obj",
yaw = street_signs.wallmounted_yaw
},
drop = "street_signs:sign_distance_2_lines_orange"
})
cbox = street_signs.make_selection_boxes(30, 30, onpole)
minetest.register_node("street_signs:sign_rr_grade_crossing_advance"..onpole, {

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB