Few regulations
This commit is contained in:
parent
7ac0d1ac6e
commit
71c7d58b83
@ -56,11 +56,11 @@ minetest.register_node("nsspf:boletus_edulis_fungusdirt", {
|
|||||||
items = {
|
items = {
|
||||||
{
|
{
|
||||||
items = {'node "nsspf:boletus_edulis_spores" 1'},
|
items = {'node "nsspf:boletus_edulis_spores" 1'},
|
||||||
rarity = 20
|
rarity = 16
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
groups = {crumbly = 3},
|
groups = {crumbly = 3, not_in_creative_inventory =1},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("nsspf:cantharellus_cibarius", {
|
minetest.register_node("nsspf:cantharellus_cibarius", {
|
||||||
@ -121,11 +121,11 @@ minetest.register_node("nsspf:cantharellus_cibarius_fungusdirt", {
|
|||||||
items = {
|
items = {
|
||||||
{
|
{
|
||||||
items = {'node "nsspf:cantharellus_cibarius_spores" 1'},
|
items = {'node "nsspf:cantharellus_cibarius_spores" 1'},
|
||||||
rarity = 15
|
rarity = 12
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
groups = {crumbly = 3},
|
groups = {crumbly = 3, not_in_creative_inventory =1},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("nsspf:suillus_grevillei", {
|
minetest.register_node("nsspf:suillus_grevillei", {
|
||||||
@ -190,7 +190,7 @@ minetest.register_node("nsspf:suillus_grevillei_fungusdirt", {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
groups = {crumbly = 3},
|
groups = {crumbly = 3, not_in_creative_inventory =1},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("nsspf:morchella_conica", {
|
minetest.register_node("nsspf:morchella_conica", {
|
||||||
@ -251,11 +251,11 @@ minetest.register_node("nsspf:morchella_conica_fungusdirt", {
|
|||||||
items = {
|
items = {
|
||||||
{
|
{
|
||||||
items = {'node "nsspf:morchella_conica_spores" 1'},
|
items = {'node "nsspf:morchella_conica_spores" 1'},
|
||||||
rarity = 14
|
rarity = 12
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
groups = {crumbly = 3},
|
groups = {crumbly = 3, not_in_creative_inventory =1},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("nsspf:russula_xerampelina", {
|
minetest.register_node("nsspf:russula_xerampelina", {
|
||||||
@ -320,7 +320,7 @@ minetest.register_node("nsspf:russula_xerampelina_fungusdirt", {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
groups = {crumbly = 3},
|
groups = {crumbly = 3, not_in_creative_inventory =1},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("nsspf:boletus_pinophilus", {
|
minetest.register_node("nsspf:boletus_pinophilus", {
|
||||||
@ -384,11 +384,11 @@ minetest.register_node("nsspf:boletus_pinophilus_fungusdirt", {
|
|||||||
items = {
|
items = {
|
||||||
{
|
{
|
||||||
items = {'node "nsspf:boletus_pinophilus_spores" 1'},
|
items = {'node "nsspf:boletus_pinophilus_spores" 1'},
|
||||||
rarity = 20
|
rarity = 16
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
groups = {crumbly = 3},
|
groups = {crumbly = 3, not_in_creative_inventory =1},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("nsspf:boletus_satanas", {
|
minetest.register_node("nsspf:boletus_satanas", {
|
||||||
@ -449,11 +449,11 @@ minetest.register_node("nsspf:boletus_satanas_fungusdirt", {
|
|||||||
items = {
|
items = {
|
||||||
{
|
{
|
||||||
items = {'node "nsspf:boletus_satanas_spores" 1'},
|
items = {'node "nsspf:boletus_satanas_spores" 1'},
|
||||||
rarity = 20
|
rarity = 18
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
groups = {crumbly = 3},
|
groups = {crumbly = 3, not_in_creative_inventory =1},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("nsspf:amanita_phalloides", {
|
minetest.register_node("nsspf:amanita_phalloides", {
|
||||||
@ -518,7 +518,7 @@ minetest.register_node("nsspf:amanita_muscaria_fungusdirt", {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
groups = {crumbly = 3},
|
groups = {crumbly = 3, not_in_creative_inventory =1},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("nsspf:amanita_muscaria", {
|
minetest.register_node("nsspf:amanita_muscaria", {
|
||||||
@ -583,7 +583,7 @@ minetest.register_node("nsspf:amanita_phalloides_fungusdirt", {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
groups = {crumbly = 3},
|
groups = {crumbly = 3, not_in_creative_inventory =1},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("nsspf:tuber_melanosporum_fungusdirt", {
|
minetest.register_node("nsspf:tuber_melanosporum_fungusdirt", {
|
||||||
@ -597,11 +597,11 @@ minetest.register_node("nsspf:tuber_melanosporum_fungusdirt", {
|
|||||||
items = {
|
items = {
|
||||||
{
|
{
|
||||||
items = {'node "nsspf:tuber_melanosporum_spores" 1'},
|
items = {'node "nsspf:tuber_melanosporum_spores" 1'},
|
||||||
rarity = 20
|
rarity = 16
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
groups = {crumbly = 3},
|
groups = {crumbly = 3, not_in_creative_inventory =1},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("nsspf:tuber_magnatum_pico_fungusdirt", {
|
minetest.register_node("nsspf:tuber_magnatum_pico_fungusdirt", {
|
||||||
@ -619,7 +619,7 @@ minetest.register_node("nsspf:tuber_magnatum_pico_fungusdirt", {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
groups = {crumbly = 3},
|
groups = {crumbly = 3, not_in_creative_inventory =1},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("nsspf:tuber_borchii_fungusdirt", {
|
minetest.register_node("nsspf:tuber_borchii_fungusdirt", {
|
||||||
@ -633,11 +633,11 @@ minetest.register_node("nsspf:tuber_borchii_fungusdirt", {
|
|||||||
items = {
|
items = {
|
||||||
{
|
{
|
||||||
items = {'node "nsspf:tuber_borchii_spores" 1'},
|
items = {'node "nsspf:tuber_borchii_spores" 1'},
|
||||||
rarity = 10
|
rarity = 12
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
groups = {crumbly = 3},
|
groups = {crumbly = 3, not_in_creative_inventory =1},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("nsspf:terfezia_arenaria_fungusdirt", {
|
minetest.register_node("nsspf:terfezia_arenaria_fungusdirt", {
|
||||||
@ -651,11 +651,11 @@ minetest.register_node("nsspf:terfezia_arenaria_fungusdirt", {
|
|||||||
items = {
|
items = {
|
||||||
{
|
{
|
||||||
items = {'node "nsspf:terfezia_arenaria_spores" 1'},
|
items = {'node "nsspf:terfezia_arenaria_spores" 1'},
|
||||||
rarity = 10
|
rarity = 8
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
groups = {crumbly = 3},
|
groups = {crumbly = 3, not_in_creative_inventory =1},
|
||||||
})
|
})
|
||||||
|
|
||||||
--Saprotrophic fungi that live on trees
|
--Saprotrophic fungi that live on trees
|
||||||
@ -985,11 +985,11 @@ minetest.register_node("nsspf:macrolepiota_procera_fungusdirt", {
|
|||||||
items = {
|
items = {
|
||||||
{
|
{
|
||||||
items = {'node "nsspf:macrolepiota_procera_spores" 1'},
|
items = {'node "nsspf:macrolepiota_procera_spores" 1'},
|
||||||
rarity = 21
|
rarity = 12
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
groups = {crumbly = 3},
|
groups = {crumbly = 3, not_in_creative_inventory =1},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("nsspf:psilocybe_cubensis", {
|
minetest.register_node("nsspf:psilocybe_cubensis", {
|
||||||
@ -1050,11 +1050,11 @@ minetest.register_node("nsspf:psilocybe_cubensis_fungusdirt", {
|
|||||||
items = {
|
items = {
|
||||||
{
|
{
|
||||||
items = {'node "nsspf:psilocybe_cubensis_spores" 1'},
|
items = {'node "nsspf:psilocybe_cubensis_spores" 1'},
|
||||||
rarity = 9
|
rarity = 16
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
groups = {crumbly = 3},
|
groups = {crumbly = 3, not_in_creative_inventory =1},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("nsspf:lycoperdon_pyriforme", {
|
minetest.register_node("nsspf:lycoperdon_pyriforme", {
|
||||||
@ -1115,11 +1115,11 @@ minetest.register_node("nsspf:lycoperdon_pyriforme_fungusdirt", {
|
|||||||
items = {
|
items = {
|
||||||
{
|
{
|
||||||
items = {'node "nsspf:lycoperdon_pyriforme_spores" 1'},
|
items = {'node "nsspf:lycoperdon_pyriforme_spores" 1'},
|
||||||
rarity = 5
|
rarity = 4
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
groups = {crumbly = 3},
|
groups = {crumbly = 3, not_in_creative_inventory =1},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("nsspf:gyromitra_esculenta", {
|
minetest.register_node("nsspf:gyromitra_esculenta", {
|
||||||
@ -1184,7 +1184,7 @@ minetest.register_node("nsspf:gyromitra_esculenta_fungusdirt", {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
groups = {crumbly = 3},
|
groups = {crumbly = 3, not_in_creative_inventory =1},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("nsspf:coprinus_atramentarius", {
|
minetest.register_node("nsspf:coprinus_atramentarius", {
|
||||||
@ -1249,7 +1249,7 @@ minetest.register_node("nsspf:coprinus_atramentarius_fungusdirt", {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
groups = {crumbly = 3},
|
groups = {crumbly = 3, not_in_creative_inventory =1},
|
||||||
})
|
})
|
||||||
|
|
||||||
--jungle fungi
|
--jungle fungi
|
||||||
@ -1502,11 +1502,11 @@ minetest.register_node("nsspf:clitocybe_glacialis_fungusdirt", {
|
|||||||
items = {
|
items = {
|
||||||
{
|
{
|
||||||
items = {'node "nsspf:clitocybe_glacialis_spores" 1'},
|
items = {'node "nsspf:clitocybe_glacialis_spores" 1'},
|
||||||
rarity = 30
|
rarity = 16
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
groups = {crumbly = 3},
|
groups = {crumbly = 3, not_in_creative_inventory =1},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("nsspf:hygrophorus_goetzii", {
|
minetest.register_node("nsspf:hygrophorus_goetzii", {
|
||||||
@ -1567,11 +1567,11 @@ minetest.register_node("nsspf:hygrophorus_goetzii_fungusdirt", {
|
|||||||
items = {
|
items = {
|
||||||
{
|
{
|
||||||
items = {'node "nsspf:hygrophorus_goetzii_spores" 1'},
|
items = {'node "nsspf:hygrophorus_goetzii_spores" 1'},
|
||||||
rarity = 20
|
rarity = 14
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
groups = {crumbly = 3},
|
groups = {crumbly = 3, not_in_creative_inventory =1},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("nsspf:plectania_nannfeldtii", {
|
minetest.register_node("nsspf:plectania_nannfeldtii", {
|
||||||
@ -1636,7 +1636,7 @@ minetest.register_node("nsspf:plectania_nannfeldtii_fungusdirt", {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
groups = {crumbly = 3},
|
groups = {crumbly = 3, not_in_creative_inventory =1},
|
||||||
})
|
})
|
||||||
|
|
||||||
function nsspf_register_recipes (name)
|
function nsspf_register_recipes (name)
|
||||||
|
14
spawn.lua
14
spawn.lua
@ -33,7 +33,7 @@ function nsspf_register_mycorrhizalmycelium (name, descr, tree, int, ch, spread)
|
|||||||
minetest.register_node("nsspf:"..name.."_mycelium", {
|
minetest.register_node("nsspf:"..name.."_mycelium", {
|
||||||
description = descr,
|
description = descr,
|
||||||
tiles = {"mycorrhizalmycelium.png"},
|
tiles = {"mycorrhizalmycelium.png"},
|
||||||
groups = {crumbly = 2},
|
groups = {crumbly = 2, not_in_creative_inventory =1},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("nsspf:"..name.."_spores", {
|
minetest.register_craftitem("nsspf:"..name.."_spores", {
|
||||||
@ -171,7 +171,7 @@ function nsspf_register_tuber (name, descr, tree, int, ch, gnam, spread)
|
|||||||
minetest.register_node("nsspf:"..name.."_tuber_mycelium", {
|
minetest.register_node("nsspf:"..name.."_tuber_mycelium", {
|
||||||
description = descr,
|
description = descr,
|
||||||
tiles = {"tuber_mycelium.png"},
|
tiles = {"tuber_mycelium.png"},
|
||||||
groups = {crumbly = 2},
|
groups = {crumbly = 2, not_in_creative_inventory =1},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_abm({
|
minetest.register_abm({
|
||||||
@ -196,7 +196,7 @@ function nsspf_register_tuber (name, descr, tree, int, ch, gnam, spread)
|
|||||||
minetest.set_node({x = pos.x, y = pos.y, z = pos.z}, {name = "nsspf:"..name.."_tuber_mycelium"})
|
minetest.set_node({x = pos.x, y = pos.y, z = pos.z}, {name = "nsspf:"..name.."_tuber_mycelium"})
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
--[[
|
|
||||||
minetest.register_abm({
|
minetest.register_abm({
|
||||||
nodenames = {"nsspf:"..name.."_tuber_mycelium"},
|
nodenames = {"nsspf:"..name.."_tuber_mycelium"},
|
||||||
neighbors = {"air","default:water_source"},
|
neighbors = {"air","default:water_source"},
|
||||||
@ -208,12 +208,12 @@ function nsspf_register_tuber (name, descr, tree, int, ch, gnam, spread)
|
|||||||
minetest.get_node_timer(pos):start(300)
|
minetest.get_node_timer(pos):start(300)
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
]]
|
|
||||||
minetest.register_node("nsspf:"..name.."_fruit", {
|
minetest.register_node("nsspf:"..name.."_fruit", {
|
||||||
description = descr.." Truffle",
|
description = descr.." Truffle",
|
||||||
tiles = {"default_dirt.png"},
|
tiles = {"default_dirt.png"},
|
||||||
drop = "nsspf:"..name,
|
drop = "nsspf:"..name,
|
||||||
groups = {crumbly = 3},
|
groups = {crumbly = 3, not_in_creative_inventory =1},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_abm({
|
minetest.register_abm({
|
||||||
@ -370,7 +370,7 @@ function nsspf_register_saprotrophicground (name, descr, int, ch, spread)
|
|||||||
minetest.register_node("nsspf:"..name.."_mycelium", {
|
minetest.register_node("nsspf:"..name.."_mycelium", {
|
||||||
description = descr,
|
description = descr,
|
||||||
tiles = {"saprotrophic_mycelium.png"},
|
tiles = {"saprotrophic_mycelium.png"},
|
||||||
groups = {crumbly = 2},
|
groups = {crumbly = 2, not_in_creative_inventory =1},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("nsspf:"..name.."_spores", {
|
minetest.register_craftitem("nsspf:"..name.."_spores", {
|
||||||
@ -526,7 +526,7 @@ function nsspf_register_snowbankfungi (name, descr, int, ch, spread)
|
|||||||
minetest.register_node("nsspf:"..name.."_mycelium", {
|
minetest.register_node("nsspf:"..name.."_mycelium", {
|
||||||
description = descr,
|
description = descr,
|
||||||
tiles = {"snowbank_mycelium.png"},
|
tiles = {"snowbank_mycelium.png"},
|
||||||
groups = {crumbly = 2},
|
groups = {crumbly = 2, not_in_creative_inventory =1},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("nsspf:"..name.."_spores", {
|
minetest.register_craftitem("nsspf:"..name.."_spores", {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user