Add more standard groups

master
Wuzzy 2017-02-07 03:07:37 +01:00
parent 94f257028e
commit 928e58346d
3 changed files with 10 additions and 5 deletions

5
API.md
View File

@ -56,6 +56,11 @@ These groups are used mostly for informational purposes
* `liquid=3`: Lava
* `clock=1`: Clock
* `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
* `music_record`: Music Disc (rating is track ID)
* `tnt=1`: Block is TNT

View File

@ -54,7 +54,7 @@ minetest.register_node("beds:bed_bottom", {
paramtype = "light",
paramtype2 = "facedir",
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(),
node_box = {
type = "fixed",

View File

@ -503,7 +503,7 @@ minetest.register_node("doors:trapdoor", {
paramtype = "light",
stack_max = 64,
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(),
drop = "doors:trapdoor",
node_box = {
@ -549,7 +549,7 @@ minetest.register_node("doors:trapdoor_open", {
paramtype = "light",
paramtype2 = "facedir",
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(),
drop = "doors:trapdoor",
node_box = {
@ -626,7 +626,7 @@ minetest.register_node("doors:iron_trapdoor", {
is_ground_content = false,
stack_max = 64,
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(),
drop = "doors:iron_trapdoor",
node_box = {
@ -672,7 +672,7 @@ minetest.register_node("doors:iron_trapdoor_open", {
paramtype2 = "facedir",
is_ground_content = false,
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(),
drop = "doors:iron_trapdoor",
node_box = {