Depollute the code - 03
This commit is contained in:
parent
feea0b2e55
commit
53a9a5903c
|
@ -326,7 +326,7 @@ if fire_enabled then
|
|||
interval = 7,
|
||||
chance = 12,
|
||||
catch_up = false,
|
||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||
action = function(pos)
|
||||
local p = minetest.find_node_near(pos, 1, {"air"})
|
||||
if p then
|
||||
minetest.set_node(p, {name = "fire:basic_flame"})
|
||||
|
@ -343,7 +343,7 @@ if fire_enabled then
|
|||
interval = 5,
|
||||
chance = 18,
|
||||
catch_up = false,
|
||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||
action = function(pos)
|
||||
local p = minetest.find_node_near(pos, 1, {"group:flammable"})
|
||||
if not p then
|
||||
return
|
||||
|
|
|
@ -51,7 +51,6 @@ local function add_simple_flower(name, desc, box, f_groups)
|
|||
paramtype = "light",
|
||||
walkable = false,
|
||||
buildable_to = true,
|
||||
stack_max = 99,
|
||||
groups = f_groups,
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
selection_box = {
|
||||
|
|
|
@ -71,7 +71,7 @@ minetest.register_craftitem("map:mapping_kit", {
|
|||
minetest.register_craft({
|
||||
output = "map:mapping_kit",
|
||||
recipe = {
|
||||
{"default:glass", "default:paper", "default:stick"},
|
||||
{"default:glass", "default:paper", "group:stick"},
|
||||
{"default:steel_ingot", "default:paper", "default:steel_ingot"},
|
||||
{"group:wood", "default:paper", "dye:black"},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue