]> git.lizzy.rs Git - signs_lib.git/blob - standard_signs.lua
added a proper register-sign API call
[signs_lib.git] / standard_signs.lua
1 -- Definitions for standard minetest_game wooden and steel wall signs
2
3 signs_lib.register_sign("default:sign_wall_wood", {
4         description = "Wooden wall sign",
5         inventory_image = "signs_lib_sign_wall_wooden_inv.png",
6         tiles = {
7                 "signs_lib_sign_wall_wooden.png",
8                 "signs_lib_sign_wall_wooden_edges.png",
9         },
10         entity_info = "standard"
11 })
12
13 signs_lib.register_sign("default:sign_wall_steel", {
14         description = "Steel wall sign",
15         inventory_image = "signs_lib_sign_wall_steel_inv.png",
16         tiles = {
17                 "signs_lib_sign_wall_steel.png",
18                 "signs_lib_sign_wall_steel_edges.png",
19         },
20         groups = signs_lib.standard_steel_groups,
21         sounds = signs_lib.standard_steel_sign_sounds,
22         locked = true,
23         entity_info = "standard"
24 })
25
26 -- insert the old wood sign-on-fencepost into signs_lib's conversion LBM
27
28 table.insert(signs_lib.old_fenceposts_with_signs, "signs:sign_post")
29 signs_lib.old_fenceposts["signs:sign_post"] = "default:fence_wood"
30 signs_lib.old_fenceposts_replacement_signs["signs:sign_post"] = "default:sign_wall_wood_onpole"