Settings and Typo corrections
This commit is contained in:
parent
3dc41de35e
commit
867a4ad097
@ -162,7 +162,7 @@ minetest.register_craft({
|
||||
recipe = {h,h,h,h,h,h},
|
||||
})
|
||||
|
||||
if jpizza.has_depends.dungeon_loot then
|
||||
if jpizza.has_depends.dungeon_loot and minetest.settings:get_bool("jelys_pizzaria.enable_dungeon_loot") then
|
||||
|
||||
--Cheese
|
||||
dungeon_loot.register({
|
||||
|
@ -421,8 +421,8 @@ if jpizza.has_depends.stairs then
|
||||
"jelys_pizzaria_reinforced_brick.png^[transformFX",
|
||||
"jelys_pizzaria_reinforced_brick.png"
|
||||
},
|
||||
"Reinforced Brick stair",
|
||||
"Reinforced Brick slab",
|
||||
"Reinforced Brick Stair",
|
||||
"Reinforced Brick Slab",
|
||||
default.node_sound_stone_defaults(),
|
||||
false
|
||||
)
|
||||
|
2
oven.lua
2
oven.lua
@ -261,7 +261,7 @@ minetest.register_node("jelys_pizzaria:pizza_oven_fueled", {
|
||||
after_destruct = after_destruct,
|
||||
on_punch = function(pos, node, player)
|
||||
local itemstack = player:get_wielded_item()
|
||||
if itemstack:get_name() == "default:torch" then
|
||||
if itemstack:get_name() == "default:torch" or itemstack:get_name() == "fire:flint_and_steel" then
|
||||
swap_node(pos, "jelys_pizzaria:pizza_oven_active")
|
||||
start_timer(pos, 0)
|
||||
end
|
||||
|
2
settingtypes.txt
Normal file
2
settingtypes.txt
Normal file
@ -0,0 +1,2 @@
|
||||
# Whether pizza items should appear in dungeon chests, disabling will make the rare "haiac pizza" unobtainable, (Requires dungeon_loot)
|
||||
jelys_pizzaria.enable_dungeon_loot (Add Pizza items to dungeon_loot table) bool true
|
Loading…
x
Reference in New Issue
Block a user