mirror of
https://github.com/minetest-mods/craftguide.git
synced 2024-11-26 12:33:43 +01:00
Change sign texture
This commit is contained in:
parent
6b76c8c10f
commit
22787e41e3
14
init.lua
14
init.lua
@ -1,7 +1,5 @@
|
|||||||
craftguide = {}
|
craftguide = {}
|
||||||
|
|
||||||
craftguide.background = "craftguide_bg_full.png"
|
|
||||||
|
|
||||||
local pdata = {}
|
local pdata = {}
|
||||||
local core = core
|
local core = core
|
||||||
|
|
||||||
@ -73,6 +71,8 @@ craftguide.group_stereotypes = {
|
|||||||
mesecon_conductor_craftable = "mesecons:wire_00000000_off",
|
mesecon_conductor_craftable = "mesecons:wire_00000000_off",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
craftguide.background = "craftguide_bg_full.png"
|
||||||
|
|
||||||
local function table_replace(t, val, new)
|
local function table_replace(t, val, new)
|
||||||
for k, v in pairs(t) do
|
for k, v in pairs(t) do
|
||||||
if v == val then
|
if v == val then
|
||||||
@ -909,17 +909,17 @@ else
|
|||||||
description = S("Crafting Guide Sign"),
|
description = S("Crafting Guide Sign"),
|
||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
tiles = {"craftguide_sign.png"},
|
tiles = {"craftguide_sign.png"},
|
||||||
inventory_image = "craftguide_sign_inv.png",
|
inventory_image = "craftguide_sign.png",
|
||||||
wield_image = "craftguide_sign_inv.png",
|
wield_image = "craftguide_sign.png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "wallmounted",
|
paramtype2 = "wallmounted",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
groups = {oddly_breakable_by_hand = 1, flammable = 3},
|
groups = {oddly_breakable_by_hand = 1, flammable = 3},
|
||||||
node_box = {
|
node_box = {
|
||||||
type = "wallmounted",
|
type = "wallmounted",
|
||||||
wall_top = {-0.4375, 0.4375, -0.3125, 0.4375, 0.5, 0.3125},
|
wall_top = {-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||||
wall_bottom = {-0.4375, -0.5, -0.3125, 0.4375, -0.4375, 0.3125},
|
wall_bottom = {-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5},
|
||||||
wall_side = {-0.5, -0.3125, -0.4375, -0.4375, 0.3125, 0.4375}
|
wall_side = {-0.5, -0.5, -0.5, -0.4375, 0.5, 0.5}
|
||||||
},
|
},
|
||||||
|
|
||||||
on_construct = function(pos)
|
on_construct = function(pos)
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 685 B After Width: | Height: | Size: 894 B |
Binary file not shown.
Before Width: | Height: | Size: 685 B |
Loading…
Reference in New Issue
Block a user