forked from mtcontrib/basic_signs
add plastic sign (white)
This commit is contained in:
parent
d35bc1e515
commit
9da5a40bef
|
@ -173,3 +173,11 @@ minetest.register_craft( {
|
|||
},
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
output = "basic_signs:sign_wall_plastic 3",
|
||||
recipe = {
|
||||
{ "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" },
|
||||
{ "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" },
|
||||
{ "", "default:steel_ingot", "" }
|
||||
},
|
||||
})
|
||||
|
|
23
init.lua
23
init.lua
|
@ -77,6 +77,29 @@ signs_lib.register_sign("basic_signs:sign_wall_obsidian_glass", {
|
|||
|
||||
minetest.register_alias("locked_sign:sign_wall_locked", "basic_signs:sign_wall_locked")
|
||||
|
||||
signs_lib.register_sign("basic_signs:sign_wall_plastic", {
|
||||
description = S("Plastic Sign"),
|
||||
yard_mesh = "signs_lib_standard_sign_yard_two_sticks.obj",
|
||||
tiles = {
|
||||
"basic_signs_sign_wall_plastic.png",
|
||||
"basic_signs_sign_wall_plastic_edges.png",
|
||||
"basic_signs_pole_mount_plastic.png",
|
||||
nil,
|
||||
"default_steel_block.png" -- the sticks on back of the yard sign model
|
||||
},
|
||||
inventory_image = "basic_signs_sign_wall_plastic_inv.png",
|
||||
default_color = "0",
|
||||
entity_info = "standard",
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
groups = {snappy = 3, flammable = 2},
|
||||
allow_hanging = true,
|
||||
allow_widefont = true,
|
||||
allow_onpole = true,
|
||||
allow_onpole_horizontal = true,
|
||||
allow_yard = true,
|
||||
use_texture_alpha = true,
|
||||
})
|
||||
|
||||
-- array : color, translated color, default text color
|
||||
|
||||
local sign_colors = {
|
||||
|
|
BIN
textures/basic_signs_pole_mount_plastic.png
Normal file
BIN
textures/basic_signs_pole_mount_plastic.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 913 B |
BIN
textures/basic_signs_sign_wall_plastic.png
Normal file
BIN
textures/basic_signs_sign_wall_plastic.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 159 B |
BIN
textures/basic_signs_sign_wall_plastic_edges.png
Normal file
BIN
textures/basic_signs_sign_wall_plastic_edges.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 348 B |
BIN
textures/basic_signs_sign_wall_plastic_inv.png
Normal file
BIN
textures/basic_signs_sign_wall_plastic_inv.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 116 B |
Loading…
Reference in New Issue
Block a user