mirror of
https://github.com/mt-mods/home_workshop_modpack.git
synced 2024-12-24 01:40:34 +01:00
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 }
|
||||
|
||||
|
||||
meta:set_string("formspec", concat(scr)
|
||||
..default.gui_bg..default.gui_bg_img..default.gui_slots)
|
||||
meta:set_string("formspec", concat(scr))
|
||||
meta:set_string("tetris", minetest.serialize(t))
|
||||
end
|
||||
|
||||
@ -326,8 +325,7 @@ minetest.register_node("computers:tetris_arcade", {
|
||||
on_construct = function(pos)
|
||||
local meta = minetest.get_meta(pos)
|
||||
meta:set_string("formspec", formsize
|
||||
.."button[2,2.5;2,2;new;"..minetest.formspec_escape(S("New Game")).."]"
|
||||
..default.gui_bg..default.gui_bg_img..default.gui_slots)
|
||||
.."button[2,2.5;2,2;new;"..minetest.formspec_escape(S("New Game")).."]")
|
||||
end,
|
||||
on_timer = function(pos)
|
||||
return step(pos, nil)
|
||||
|
@ -17,7 +17,7 @@ minetest.register_node("home_workshop_machines:3dprinter_bedflinger", {
|
||||
paramtype = "light",
|
||||
walkable = true,
|
||||
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",
|
||||
mesh = "home_workshop_machines_3dprinter_bedflinger.obj",
|
||||
paramtype2 = "colorwallmounted",
|
||||
@ -47,7 +47,7 @@ minetest.register_node("home_workshop_machines:3dprinter_corexy", {
|
||||
paramtype = "light",
|
||||
walkable = true,
|
||||
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",
|
||||
mesh = "home_workshop_machines_3dprinter_corexy.obj",
|
||||
paramtype2 = "colorwallmounted",
|
||||
|
@ -1,3 +1,4 @@
|
||||
name = home_workshop_machines
|
||||
depends = default, unifieddyes
|
||||
depends = unifieddyes
|
||||
optional_depends = default
|
||||
optional_depends = screwdriver
|
||||
|
Loading…
Reference in New Issue
Block a user