mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-06-01 03:20:03 -04:00
Depollute the code - 03
This commit is contained in:
parent
4b99c82c73
commit
c32552f8ef
2 changed files with 3 additions and 3 deletions
|
@ -326,7 +326,7 @@ if fire_enabled then
|
||||||
interval = 7,
|
interval = 7,
|
||||||
chance = 12,
|
chance = 12,
|
||||||
catch_up = false,
|
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"})
|
local p = minetest.find_node_near(pos, 1, {"air"})
|
||||||
if p then
|
if p then
|
||||||
minetest.set_node(p, {name = "fire:basic_flame"})
|
minetest.set_node(p, {name = "fire:basic_flame"})
|
||||||
|
@ -343,7 +343,7 @@ if fire_enabled then
|
||||||
interval = 5,
|
interval = 5,
|
||||||
chance = 18,
|
chance = 18,
|
||||||
catch_up = false,
|
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"})
|
local p = minetest.find_node_near(pos, 1, {"group:flammable"})
|
||||||
if not p then
|
if not p then
|
||||||
return
|
return
|
||||||
|
|
|
@ -71,7 +71,7 @@ minetest.register_craftitem("map:mapping_kit", {
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "map:mapping_kit",
|
output = "map:mapping_kit",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"default:glass", "default:paper", "default:stick"},
|
{"default:glass", "default:paper", "group:stick"},
|
||||||
{"default:steel_ingot", "default:paper", "default:steel_ingot"},
|
{"default:steel_ingot", "default:paper", "default:steel_ingot"},
|
||||||
{"group:wood", "default:paper", "dye:black"},
|
{"group:wood", "default:paper", "dye:black"},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue