forked from minetest/minetest_game
Default: Make some plant nodes non-flammable
This commit is contained in:
parent
0d3bca790c
commit
7d55320d5c
@ -14,7 +14,7 @@ language (for example pinewood and pine wood) the underscore form should be used
|
|||||||
|
|
||||||
Stone
|
Stone
|
||||||
-----
|
-----
|
||||||
(1. Material 2. Cobble variant 3. Brick variant [4. Modified forms])
|
(1. Material 2. Cobble variant 3. Brick variant 4. Modified forms)
|
||||||
|
|
||||||
default:stone
|
default:stone
|
||||||
default:cobble
|
default:cobble
|
||||||
@ -33,7 +33,7 @@ default:obsidianbrick
|
|||||||
|
|
||||||
Soft / Non-Stone
|
Soft / Non-Stone
|
||||||
----------------
|
----------------
|
||||||
(1. Material [2. Modified forms])
|
(1. Material 2. Modified forms)
|
||||||
|
|
||||||
default:dirt
|
default:dirt
|
||||||
default:dirt_with_grass
|
default:dirt_with_grass
|
||||||
@ -55,7 +55,7 @@ default:ice
|
|||||||
|
|
||||||
Trees
|
Trees
|
||||||
-----
|
-----
|
||||||
(1. Trunk 2. Fabricated trunk 3. Leaves 4. Sapling [5. Fruits])
|
(1. Trunk 2. Fabricated trunk 3. Leaves 4. Sapling 5. Fruits)
|
||||||
|
|
||||||
default:tree
|
default:tree
|
||||||
default:wood
|
default:wood
|
||||||
@ -82,9 +82,10 @@ default:aspen_tree
|
|||||||
default:aspen_wood
|
default:aspen_wood
|
||||||
default:aspen_leaves
|
default:aspen_leaves
|
||||||
default:aspen_sapling
|
default:aspen_sapling
|
||||||
|
|
||||||
Ores
|
Ores
|
||||||
----
|
----
|
||||||
(1. In stone 2. Block)
|
(1. In stone 2. Blocks)
|
||||||
|
|
||||||
default:stone_with_coal
|
default:stone_with_coal
|
||||||
default:coalblock
|
default:coalblock
|
||||||
@ -107,6 +108,7 @@ default:diamondblock
|
|||||||
|
|
||||||
Plantlife (non-cubic)
|
Plantlife (non-cubic)
|
||||||
---------------------
|
---------------------
|
||||||
|
|
||||||
default:cactus
|
default:cactus
|
||||||
default:papyrus
|
default:papyrus
|
||||||
default:dry_shrub
|
default:dry_shrub
|
||||||
@ -139,6 +141,7 @@ default:lava_flowing
|
|||||||
|
|
||||||
Tools / "Advanced" crafting / Non-"natural"
|
Tools / "Advanced" crafting / Non-"natural"
|
||||||
-------------------------------------------
|
-------------------------------------------
|
||||||
|
|
||||||
default:torch
|
default:torch
|
||||||
|
|
||||||
default:chest
|
default:chest
|
||||||
@ -169,6 +172,7 @@ default:meselamp
|
|||||||
|
|
||||||
Misc
|
Misc
|
||||||
----
|
----
|
||||||
|
|
||||||
default:cloud
|
default:cloud
|
||||||
default:nyancat
|
default:nyancat
|
||||||
default:nyancat_rainbow
|
default:nyancat_rainbow
|
||||||
@ -884,7 +888,7 @@ minetest.register_node("default:cactus", {
|
|||||||
tiles = {"default_cactus_top.png", "default_cactus_top.png",
|
tiles = {"default_cactus_top.png", "default_cactus_top.png",
|
||||||
"default_cactus_side.png"},
|
"default_cactus_side.png"},
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
groups = {snappy = 1, choppy = 3, flammable = 2},
|
groups = {snappy = 1, choppy = 3},
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
on_place = minetest.rotate_node,
|
on_place = minetest.rotate_node,
|
||||||
})
|
})
|
||||||
@ -942,7 +946,7 @@ minetest.register_node("default:junglegrass", {
|
|||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
buildable_to = true,
|
buildable_to = true,
|
||||||
groups = {snappy = 3, flammable = 2, flora = 1, attached_node = 1},
|
groups = {snappy = 3, flora = 1, attached_node = 1},
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
selection_box = {
|
selection_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
@ -963,7 +967,7 @@ minetest.register_node("default:grass_1", {
|
|||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
buildable_to = true,
|
buildable_to = true,
|
||||||
groups = {snappy = 3, flammable = 3, flora = 1, attached_node = 1},
|
groups = {snappy = 3, flora = 1, attached_node = 1},
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
selection_box = {
|
selection_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
@ -992,8 +996,8 @@ for i = 2, 5 do
|
|||||||
walkable = false,
|
walkable = false,
|
||||||
buildable_to = true,
|
buildable_to = true,
|
||||||
drop = "default:grass_1",
|
drop = "default:grass_1",
|
||||||
groups = {snappy = 3, flammable = 3, flora = 1,
|
groups = {snappy = 3, flora = 1, attached_node = 1,
|
||||||
attached_node = 1, not_in_creative_inventory = 1},
|
not_in_creative_inventory = 1},
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
selection_box = {
|
selection_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
|
@ -31,7 +31,6 @@ minetest.register_alias("flowers:flower_dandelion_white", "flowers:dandelion_whi
|
|||||||
local function add_simple_flower(name, desc, box, f_groups)
|
local function add_simple_flower(name, desc, box, f_groups)
|
||||||
-- Common flowers' groups
|
-- Common flowers' groups
|
||||||
f_groups.snappy = 3
|
f_groups.snappy = 3
|
||||||
f_groups.flammable = 2
|
|
||||||
f_groups.flower = 1
|
f_groups.flower = 1
|
||||||
f_groups.flora = 1
|
f_groups.flora = 1
|
||||||
f_groups.attached_node = 1
|
f_groups.attached_node = 1
|
||||||
@ -134,7 +133,7 @@ minetest.register_node("flowers:mushroom_red", {
|
|||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
buildable_to = true,
|
buildable_to = true,
|
||||||
groups = {snappy = 3, flammable = 3, attached_node = 1},
|
groups = {snappy = 3, attached_node = 1},
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
on_use = minetest.item_eat(-5),
|
on_use = minetest.item_eat(-5),
|
||||||
selection_box = {
|
selection_box = {
|
||||||
@ -153,7 +152,7 @@ minetest.register_node("flowers:mushroom_brown", {
|
|||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
buildable_to = true,
|
buildable_to = true,
|
||||||
groups = {snappy = 3, flammable = 3, attached_node = 1},
|
groups = {snappy = 3, attached_node = 1},
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
on_use = minetest.item_eat(1),
|
on_use = minetest.item_eat(1),
|
||||||
selection_box = {
|
selection_box = {
|
||||||
|
Loading…
Reference in New Issue
Block a user