mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-26 12:53:47 +01:00
Add more standard groups
parent
94f257028e
commit
928e58346d
5
API.md
5
API.md
@ -56,6 +56,11 @@ These groups are used mostly for informational purposes
|
|||||||
* `liquid=3`: Lava
|
* `liquid=3`: Lava
|
||||||
* `clock=1`: Clock
|
* `clock=1`: Clock
|
||||||
* `compass`: Compass (rating doesn't matter)
|
* `compass`: Compass (rating doesn't matter)
|
||||||
|
* `book=1`: Book
|
||||||
|
* `pane=1`: Node is a “pane”-like node glass pane or iron bars
|
||||||
|
* `bed=1`: Bed
|
||||||
|
* `door=1`: Door
|
||||||
|
* `door=2`: Trapdoor
|
||||||
* `rail=1`: Rail
|
* `rail=1`: Rail
|
||||||
* `music_record`: Music Disc (rating is track ID)
|
* `music_record`: Music Disc (rating is track ID)
|
||||||
* `tnt=1`: Block is TNT
|
* `tnt=1`: Block is TNT
|
||||||
|
@ -54,7 +54,7 @@ minetest.register_node("beds:bed_bottom", {
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
stack_max = 1,
|
stack_max = 1,
|
||||||
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=3,deco_block=1},
|
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=3,bed=1,deco_block=1},
|
||||||
sounds = mcl_core.node_sound_wood_defaults(),
|
sounds = mcl_core.node_sound_wood_defaults(),
|
||||||
node_box = {
|
node_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
|
@ -503,7 +503,7 @@ minetest.register_node("doors:trapdoor", {
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
stack_max = 64,
|
stack_max = 64,
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,mesecon_effector_on=1,door=1},
|
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,mesecon_effector_on=1,door=2},
|
||||||
sounds = mcl_core.node_sound_wood_defaults(),
|
sounds = mcl_core.node_sound_wood_defaults(),
|
||||||
drop = "doors:trapdoor",
|
drop = "doors:trapdoor",
|
||||||
node_box = {
|
node_box = {
|
||||||
@ -549,7 +549,7 @@ minetest.register_node("doors:trapdoor_open", {
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
pointable = true,
|
pointable = true,
|
||||||
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,mesecon_effector_on=1,door=1},
|
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,mesecon_effector_on=1,door=2},
|
||||||
sounds = mcl_core.node_sound_wood_defaults(),
|
sounds = mcl_core.node_sound_wood_defaults(),
|
||||||
drop = "doors:trapdoor",
|
drop = "doors:trapdoor",
|
||||||
node_box = {
|
node_box = {
|
||||||
@ -626,7 +626,7 @@ minetest.register_node("doors:iron_trapdoor", {
|
|||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
stack_max = 64,
|
stack_max = 64,
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,mesecon_effector_on=1,door=1},
|
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,mesecon_effector_on=1,door=2},
|
||||||
sounds = mcl_core.node_sound_wood_defaults(),
|
sounds = mcl_core.node_sound_wood_defaults(),
|
||||||
drop = "doors:iron_trapdoor",
|
drop = "doors:iron_trapdoor",
|
||||||
node_box = {
|
node_box = {
|
||||||
@ -672,7 +672,7 @@ minetest.register_node("doors:iron_trapdoor_open", {
|
|||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
pointable = true,
|
pointable = true,
|
||||||
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,door=1,mesecon_effector_on=1},
|
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,door=2,mesecon_effector_on=1},
|
||||||
sounds = mcl_core.node_sound_wood_defaults(),
|
sounds = mcl_core.node_sound_wood_defaults(),
|
||||||
drop = "doors:iron_trapdoor",
|
drop = "doors:iron_trapdoor",
|
||||||
node_box = {
|
node_box = {
|
||||||
|
Loading…
Reference in New Issue
Block a user