diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2015-10-25 11:56:28 +0000 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2015-10-25 11:56:28 +0000 |
commit | 11d2399a6246857dca52c0bb467f55617330a9c9 (patch) | |
tree | 4f71e69ab064ff1b8ac2d38687f2f9723e235806 /plantlife.lua | |
parent | 922b782dc948200eaf37d20b1d9e2bef2e2d93ca (diff) |
Added fire flower to fiery biome
Diffstat (limited to 'plantlife.lua')
-rw-r--r-- | plantlife.lua | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/plantlife.lua b/plantlife.lua index 44e5281..5a444fe 100644 --- a/plantlife.lua +++ b/plantlife.lua @@ -1,3 +1,31 @@ +-- Fire Flower +minetest.register_node("ethereal:fire_flower", { + description = "Fire Flower", + drawtype = "plantlike", + tiles = { "ethereal_fire_flower.png" }, + inventory_image = "ethereal_fire_flower.png", + wield_image = "ethereal_fire_flower.png", + paramtype = "light", + light_source = 5, + sunlight_propagates = true, + walkable = false, + damage_per_second = 2, + groups = {snappy = 1, oddly_breakable_by_hand = 3, igniter = 2}, + sounds = default.node_sound_leaves_defaults(), + selection_box = { + type = "fixed", + fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5}, + }, + on_punch = function(pos, node, puncher) + --local item = puncher:get_wielded_item() + --local itemname = item:get_name() + puncher:punch(puncher, 1.0, { + full_punch_interval = 1.0, + damage_groups = {fleshy = 2} + }, nil) + end, +}) + -- Fern (boston) minetest.register_node("ethereal:fern", { description = "Fern", |