mirror of
https://github.com/LoneWolfHT/grenades_basic.git
synced 2024-08-20 12:54:08 +02:00
Fix oopsie
This commit is contained in:
parent
6baa50a374
commit
8d47d8d64f
14
crafts.lua
14
crafts.lua
@ -50,7 +50,7 @@ if not minetest.get_modpath("ctf_crafting") then
|
|||||||
else
|
else
|
||||||
crafting.register_recipe({
|
crafting.register_recipe({
|
||||||
type = "inv",
|
type = "inv",
|
||||||
output = "ctf_grenades:grenade_regular 1",
|
output = "grenades_basic:regular 1",
|
||||||
items = { "default:steel_ingot 5", "default:iron_lump" },
|
items = { "default:steel_ingot 5", "default:iron_lump" },
|
||||||
always_known = true,
|
always_known = true,
|
||||||
level = 1,
|
level = 1,
|
||||||
@ -58,7 +58,7 @@ else
|
|||||||
|
|
||||||
crafting.register_recipe({
|
crafting.register_recipe({
|
||||||
type = "inv",
|
type = "inv",
|
||||||
output = "ctf_grenades:grenade_smoke 1",
|
output = "grenades_basic:smoke 1",
|
||||||
items = { "default:steel_ingot 5", "default:coal_lump 4" },
|
items = { "default:steel_ingot 5", "default:coal_lump 4" },
|
||||||
always_known = true,
|
always_known = true,
|
||||||
level = 1,
|
level = 1,
|
||||||
@ -66,15 +66,15 @@ else
|
|||||||
|
|
||||||
crafting.register_recipe({
|
crafting.register_recipe({
|
||||||
type = "inv",
|
type = "inv",
|
||||||
output = "ctf_grenades:grenade_flashbang 1",
|
output = "grenades_basic:flashbang 1",
|
||||||
items = { "default:steel_ingot 5", "default:torch 5" },
|
items = { "default:steel_ingot 5", "default:torch 5" },
|
||||||
always_known = true,
|
always_known = true,
|
||||||
level = 1,
|
level = 1,
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
if minetest.get_modpath("ctf_treasure") then
|
if minetest.get_modpath("treasurer") then
|
||||||
treasurer.register_treasure("ctf_grenades:grenade_regular", 0.4, 2, 1)
|
treasurer.register_treasure("grenades_basic:regular", 0.4, 2, 1)
|
||||||
treasurer.register_treasure("ctf_grenades:grenade_smoke", 0.4, 2, 1)
|
treasurer.register_treasure("grenades_basic:smoke", 0.4, 2, 1)
|
||||||
treasurer.register_treasure("ctf_grenades:grenade_flashbang", 0.4, 2, 1)
|
treasurer.register_treasure("grenades_basic:flashbang", 0.4, 2, 1)
|
||||||
end
|
end
|
Loading…
Reference in New Issue
Block a user