mirror of
https://github.com/tacigar/maidroid.git
synced 2024-11-16 07:10:21 +01:00
Divide scope
This commit is contained in:
parent
83d2c0ca94
commit
88ee24b140
|
@ -3,11 +3,13 @@
|
||||||
-- https://github.com/tacigar/maidroid
|
-- https://github.com/tacigar/maidroid
|
||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
|
|
||||||
local dye_item_map = {
|
do -- register egg writer
|
||||||
["dye:red"] = "maidroid:maidroid_mk1_egg",
|
|
||||||
}
|
|
||||||
|
|
||||||
local formspec = { -- want to change.
|
local dye_item_map = {
|
||||||
|
["dye:red"] = "maidroid:maidroid_mk1_egg",
|
||||||
|
}
|
||||||
|
|
||||||
|
local formspec = { -- want to change.
|
||||||
["inactive"] = "size[8,9]"
|
["inactive"] = "size[8,9]"
|
||||||
.. default.gui_bg
|
.. default.gui_bg
|
||||||
.. default.gui_bg_img
|
.. default.gui_bg_img
|
||||||
|
@ -50,9 +52,9 @@ local formspec = { -- want to change.
|
||||||
.. "list[current_player;main;0,5;8,1;]"
|
.. "list[current_player;main;0,5;8,1;]"
|
||||||
.. "list[current_player;main;0,6.2;8,3;8]"
|
.. "list[current_player;main;0,6.2;8,3;8]"
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|
||||||
local tiles = {
|
local tiles = {
|
||||||
["active"] = {
|
["active"] = {
|
||||||
"default_stone.png",
|
"default_stone.png",
|
||||||
},
|
},
|
||||||
|
@ -60,9 +62,9 @@ local tiles = {
|
||||||
["inactive"] = {
|
["inactive"] = {
|
||||||
"default_stone.png",
|
"default_stone.png",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
local node_box = {
|
local node_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {
|
fixed = {
|
||||||
{-0.4375, -0.3125, -0.4375, -0.375, 0.4375, 0.4375},
|
{-0.4375, -0.3125, -0.4375, -0.375, 0.4375, 0.4375},
|
||||||
|
@ -74,16 +76,16 @@ local node_box = {
|
||||||
{ -0.25, -0.5, -0.3125, 0.25, -0.3125, 0.3125},
|
{ -0.25, -0.5, -0.3125, 0.25, -0.3125, 0.3125},
|
||||||
{-0.3125, -0.5, -0.25, 0.3125, -0.3125, 0.25},
|
{-0.3125, -0.5, -0.25, 0.3125, -0.3125, 0.25},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
local selection_box = {
|
local selection_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {
|
fixed = {
|
||||||
{-0.4375, -0.5, -0.4375, 0.4375, 0.4375, 0.4375},
|
{-0.4375, -0.5, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
maidroid_tool.register_writer("maidroid_tool:egg_writer", {
|
maidroid_tool.register_writer("maidroid_tool:egg_writer", {
|
||||||
description = "maidroid tool : egg writer",
|
description = "maidroid tool : egg writer",
|
||||||
formspec = formspec,
|
formspec = formspec,
|
||||||
tiles = tiles,
|
tiles = tiles,
|
||||||
|
@ -92,4 +94,10 @@ maidroid_tool.register_writer("maidroid_tool:egg_writer", {
|
||||||
duration = 40,
|
duration = 40,
|
||||||
empty_itemname = "maidroid:empty_egg",
|
empty_itemname = "maidroid:empty_egg",
|
||||||
dye_item_map = dye_item_map,
|
dye_item_map = dye_item_map,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
end -- register egg writer
|
||||||
|
|
||||||
|
do -- register a definition of an egg entity
|
||||||
|
|
||||||
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user