finish default dep removal
This commit is contained in:
parent
35a3be337d
commit
c350f40405
|
@ -298,8 +298,7 @@ local function step(pos, fields)
|
||||||
t.score, close, buttons }
|
t.score, close, buttons }
|
||||||
|
|
||||||
|
|
||||||
meta:set_string("formspec", concat(scr)
|
meta:set_string("formspec", concat(scr))
|
||||||
..default.gui_bg..default.gui_bg_img..default.gui_slots)
|
|
||||||
meta:set_string("tetris", minetest.serialize(t))
|
meta:set_string("tetris", minetest.serialize(t))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -326,8 +325,7 @@ minetest.register_node("computers:tetris_arcade", {
|
||||||
on_construct = function(pos)
|
on_construct = function(pos)
|
||||||
local meta = minetest.get_meta(pos)
|
local meta = minetest.get_meta(pos)
|
||||||
meta:set_string("formspec", formsize
|
meta:set_string("formspec", formsize
|
||||||
.."button[2,2.5;2,2;new;"..minetest.formspec_escape(S("New Game")).."]"
|
.."button[2,2.5;2,2;new;"..minetest.formspec_escape(S("New Game")).."]")
|
||||||
..default.gui_bg..default.gui_bg_img..default.gui_slots)
|
|
||||||
end,
|
end,
|
||||||
on_timer = function(pos)
|
on_timer = function(pos)
|
||||||
return step(pos, nil)
|
return step(pos, nil)
|
||||||
|
|
|
@ -17,7 +17,7 @@ minetest.register_node("home_workshop_machines:3dprinter_bedflinger", {
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
walkable = true,
|
walkable = true,
|
||||||
groups = {snappy=3, ud_param2_colorable = 1},
|
groups = {snappy=3, ud_param2_colorable = 1},
|
||||||
sound = default.node_sound_wood_defaults(),
|
sound = default and default.node_sound_wood_defaults() or nil,
|
||||||
drawtype = "mesh",
|
drawtype = "mesh",
|
||||||
mesh = "home_workshop_machines_3dprinter_bedflinger.obj",
|
mesh = "home_workshop_machines_3dprinter_bedflinger.obj",
|
||||||
paramtype2 = "colorwallmounted",
|
paramtype2 = "colorwallmounted",
|
||||||
|
@ -47,7 +47,7 @@ minetest.register_node("home_workshop_machines:3dprinter_corexy", {
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
walkable = true,
|
walkable = true,
|
||||||
groups = {snappy=3, ud_param2_colorable = 1},
|
groups = {snappy=3, ud_param2_colorable = 1},
|
||||||
sound = default.node_sound_wood_defaults(),
|
sound = default and default.node_sound_wood_defaults() or nil,
|
||||||
drawtype = "mesh",
|
drawtype = "mesh",
|
||||||
mesh = "home_workshop_machines_3dprinter_corexy.obj",
|
mesh = "home_workshop_machines_3dprinter_corexy.obj",
|
||||||
paramtype2 = "colorwallmounted",
|
paramtype2 = "colorwallmounted",
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
name = home_workshop_machines
|
name = home_workshop_machines
|
||||||
depends = default, unifieddyes
|
depends = unifieddyes
|
||||||
|
optional_depends = default
|
||||||
optional_depends = screwdriver
|
optional_depends = screwdriver
|
||||||
|
|
Loading…
Reference in New Issue