mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-07-17 07:00:22 +02:00
initial commit
subgame + mods
This commit is contained in:
41
mods/plantlife_modpack/mushroom/compat.lua
Executable file
41
mods/plantlife_modpack/mushroom/compat.lua
Executable file
@ -0,0 +1,41 @@
|
||||
|
||||
-- Redefine grass and dirt nodes
|
||||
|
||||
minetest.override_item("default:dirt", {
|
||||
drop = {
|
||||
max_items = 2,
|
||||
items = {
|
||||
{
|
||||
items = {"mushroom:spore1"},
|
||||
rarity = 40,
|
||||
},
|
||||
{
|
||||
items = {"mushroom:spore2"},
|
||||
rarity = 40,
|
||||
},
|
||||
{
|
||||
items = {"default:dirt"},
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.override_item("default:dirt_with_grass", {
|
||||
drop = {
|
||||
max_items = 2,
|
||||
items = {
|
||||
{
|
||||
items = {"mushroom:spore1"},
|
||||
rarity = 40,
|
||||
},
|
||||
{
|
||||
items = {"mushroom:spore2"},
|
||||
rarity = 40,
|
||||
},
|
||||
{
|
||||
items = {"default:dirt"},
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user