add a few edibles to the primordial layer

This commit is contained in:
FaceDeer 2020-12-01 00:08:38 -07:00
parent f5954dfdc5
commit d2ed498f45
10 changed files with 95 additions and 1 deletions

View File

@ -72,3 +72,9 @@ df_primordial_items.doc.plant_matter_usage = df_primordial_items.doc.packed_root
--
--df_primordial_items.doc.thorn_desc =
--df_primordial_items.doc.thorn_usage =
df_primordial_items.doc.primordial_fruit_desc = S("This strange fruit from the depths has absorbed healthful energies.")
df_primordial_items.doc.primordial_fruit_usage = S("Eating this fruit will improve your vitality.")
df_primordial_items.doc.glowtato_desc = S("A strangely glowing starchy nodule from a plant that grew deeper than any plant has a right to.")
df_primordial_items.doc.glowtato_usage = S("Much energy is contained in this tuber. It tastes surprisingly good, too. You could cook with it but any change in its pure state would only reduce its value.")

View File

@ -0,0 +1,23 @@
local S = df_primordial_items.S
minetest.register_craftitem("df_primordial_items:primordial_fruit", {
description = S("Primordial Fruit"),
_doc_items_longdesc = df_primordial_items.doc.primordial_fruit_desc,
_doc_items_usagehelp = df_primordial_items.doc.primordial_fruit_usage,
inventory_image = "dfcaverns_primordial_fruit.png",
groups = {food = 8},
sound = {eat = {name = "df_farming_gummy_chew", gain = 1.0}},
on_use = minetest.item_eat(8),
_hunger_ng = {heals = 8},
})
minetest.register_craftitem("df_primordial_items:glowtato", {
description = S("Glowtato"),
_doc_items_longdesc = df_primordial_items.doc.glowtato_desc,
_doc_items_usagehelp = df_primordial_items.doc.glowtato_usage,
inventory_image = "dfcaverns_glowtato.png",
sound = {eat = {name = "df_farming_chomp_crunch", gain = 1.0}},
groups = {food = 8, dfcaverns_cookable = 1},
on_use = minetest.item_eat(8),
_hunger_ng = {satiates = 8},
})

View File

@ -92,6 +92,19 @@ minetest.register_node("df_primordial_items:glow_pods", {
groups = {snappy = 3, flora = 1, attached_node = 1, flammable = 1, primordial_fungal_plant = 1, light_sensitive_fungus = 13},
paramtype = "light",
drawtype = "plantlike",
drop = {
max_items = 2,
items = {
{
rarity = 3,
items = {"df_primordial_items:primordial_fruit"},
},
{
rarity = 3,
items = {"df_primordial_items:primordial_fruit"},
},
},
},
buildable_to = true,
is_ground_content = false,
walkable = false,

View File

@ -14,4 +14,5 @@ dofile(modpath.."/giant_fern.lua")
dofile(modpath.."/fungal_nodes.lua")
dofile(modpath.."/ceiling_fungus.lua")
dofile(modpath.."/primordial_mushroom.lua")
dofile(modpath.."/giant_mycelium.lua")
dofile(modpath.."/giant_mycelium.lua")
dofile(modpath.."/edibles.lua")

View File

@ -61,6 +61,19 @@ minetest.register_node("df_primordial_items:glow_plant_1", {
is_ground_content = false,
walkable = false,
light_source = 6,
drop = {
max_items = 2,
items = {
{
rarity = 3,
items = {"df_primordial_items:primordial_fruit"},
},
{
rarity = 3,
items = {"df_primordial_items:primordial_fruit"},
},
},
},
sounds = df_primordial_items.sounds.leaves,
use_texture_alpha = true,
sunlight_propagates = true,
@ -80,6 +93,7 @@ minetest.register_node("df_primordial_items:glow_plant_2", {
buildable_to = true,
is_ground_content = false,
walkable = false,
drop = "df_primordial_items:glowtato",
light_source = 6,
sounds = df_primordial_items.sounds.leaves,
use_texture_alpha = true,
@ -97,6 +111,7 @@ minetest.register_node("df_primordial_items:glow_plant_3", {
_dfcaverns_dead_node = df_primordial_items.node_names.dry_shrub,
paramtype = "light",
drawtype = "plantlike",
drop = "df_primordial_items:glowtato 2",
buildable_to = true,
is_ground_content = false,
walkable = false,

View File

@ -16,9 +16,12 @@ Primordial Fungal Orb=Urpilzkugel
### doc.lua ###
A strangely glowing starchy nodule from a plant that grew deeper than any plant has a right to.=
#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE
Compared to the behemoths found elsewhere in the deep places of the world, the giant mushrooms of the primordial jungles are on the smaller side - often overwhelmed by the green plants that grow in the mysterious light below. Still, they can become substantial resources.=Im Vergleich zu den Giganten, die anderswo in den Tiefen der Welt zu finden sind, sind die riesigen Pilze des Urdschungels eher klein - oft überwältigt von den grünen Pflanzen, die im mysteriösen Licht unten wachsen. Dennoch können sie zu erheblichen Ressourcen werden.
Eating this fruit will improve your vitality.=
#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE
Fibers extracted from gigantic fungal hyphae.=Fasern aus riesigen Pilzhyphen.
@ -34,6 +37,8 @@ Ivy is climbable, if it hangs close enough to the ground it can serve as a path
#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE
Like wood of the surface world, primordial jungle trees can be chopped and carved as building material or as fuel.=Ursprüngliche Dschungelbäume können wie Holz der Oberflächenwelt als Baumaterial oder als Brennstoff gehackt und geschnitzt werden.
Much energy is contained in this tuber. It tastes surprisingly good, too. You could cook with it but any change in its pure state would only reduce its value.=
#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE
Much like a rope, hyphae have fibers inside that can be unraveled and used for a variety of crafts.=Ähnlich wie ein Seil haben Hyphen Fasern im Inneren, die entwirrt und für eine Vielzahl von Handwerken verwendet werden können.
@ -88,6 +93,8 @@ These fibrous plants that grow in the deep appear similar to grass at a glance,
#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE
These hanging roots are climbable.=Diese hängenden Wurzeln sind kletterbar.
This strange fruit from the depths has absorbed healthful energies.=
#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE
When a fern grows to such sizes its stem becomes dense enough to be used as a form of wood.=Wenn ein Farn so groß wird, wird sein Stamm dicht genug, um als Holzform verwendet zu werden.
@ -98,6 +105,11 @@ When left uncultivated mycelial soil will sprout all manner of strange wild fung
When left uncultivated primordial jungle soil will sprout all manner of strange wild plants.=Wenn sie nicht kultiviert werden, sprießen alle Arten von seltsamen Wildpflanzen aus dem ursprünglichen Dschungelboden.
### edibles.lua ###
Glowtato=
Primordial Fruit=
### fungal_nodes.lua ###
#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE

View File

@ -16,9 +16,12 @@ Primordial Fungal Orb=Globo fungino primordiale
### doc.lua ###
A strangely glowing starchy nodule from a plant that grew deeper than any plant has a right to.=
#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE
Compared to the behemoths found elsewhere in the deep places of the world, the giant mushrooms of the primordial jungles are on the smaller side - often overwhelmed by the green plants that grow in the mysterious light below. Still, they can become substantial resources.=Rispetto ai behemoth che si trovano altrove nelle profondità del mondo, i funghi giganti delle giungle primordiali sono sul lato più piccolo, spesso sopraffatti dalle piante verdi che crescono nella misteriosa luce sottostante. Tuttavia, possono diventare risorse sostanziali.
Eating this fruit will improve your vitality.=
#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE
Fibers extracted from gigantic fungal hyphae.=Fibre estratte da gigantesche ife fungine.
@ -34,6 +37,8 @@ Ivy is climbable, if it hangs close enough to the ground it can serve as a path
#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE
Like wood of the surface world, primordial jungle trees can be chopped and carved as building material or as fuel.=Come il legno del mondo di superficie, gli alberi della giungla primordiale possono essere tagliati e intagliati come materiale da costruzione o come combustibile.
Much energy is contained in this tuber. It tastes surprisingly good, too. You could cook with it but any change in its pure state would only reduce its value.=
#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE
Much like a rope, hyphae have fibers inside that can be unraveled and used for a variety of crafts.=Proprio come una corda, le ife hanno fibre all'interno che possono essere svelate e utilizzate per una varietà di mestieri.
@ -88,6 +93,8 @@ These fibrous plants that grow in the deep appear similar to grass at a glance,
#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE
These hanging roots are climbable.=Queste radici pendenti sono scalabili.
This strange fruit from the depths has absorbed healthful energies.=
#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE
When a fern grows to such sizes its stem becomes dense enough to be used as a form of wood.=Quando una felce raggiunge tali dimensioni, il suo gambo diventa abbastanza denso da essere usato come una forma di legno.
@ -98,6 +105,11 @@ When left uncultivated mycelial soil will sprout all manner of strange wild fung
When left uncultivated primordial jungle soil will sprout all manner of strange wild plants.=Se lasciato incolto, il terreno della giungla primordiale germoglierà ogni sorta di strane piante selvatiche.
### edibles.lua ###
Glowtato=
Primordial Fruit=
### fungal_nodes.lua ###
#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE

View File

@ -13,8 +13,11 @@ Primordial Fungal Orb=
### doc.lua ###
A strangely glowing starchy nodule from a plant that grew deeper than any plant has a right to.=
Compared to the behemoths found elsewhere in the deep places of the world, the giant mushrooms of the primordial jungles are on the smaller side - often overwhelmed by the green plants that grow in the mysterious light below. Still, they can become substantial resources.=
Eating this fruit will improve your vitality.=
Fibers extracted from gigantic fungal hyphae.=
Fungal fibers have infiltrated the ground in a spongy mass, making the soil half mineral and half living matter.=
@ -25,6 +28,8 @@ Ivy is climbable, if it hangs close enough to the ground it can serve as a path
Like wood of the surface world, primordial jungle trees can be chopped and carved as building material or as fuel.=
Much energy is contained in this tuber. It tastes surprisingly good, too. You could cook with it but any change in its pure state would only reduce its value.=
Much like a rope, hyphae have fibers inside that can be unraveled and used for a variety of crafts.=
Much like the giant mushrooms of higher cavern layers, these can be carved into woody material for use as fuel or for building things. The grain of these primordial mushrooms is knurled.=
@ -61,6 +66,8 @@ These fibrous plants that grow in the deep appear similar to grass at a glance,
These hanging roots are climbable.=
This strange fruit from the depths has absorbed healthful energies.=
When a fern grows to such sizes its stem becomes dense enough to be used as a form of wood.=
When left uncultivated mycelial soil will sprout all manner of strange wild fungi.=
@ -68,6 +75,11 @@ When left uncultivated mycelial soil will sprout all manner of strange wild fung
When left uncultivated primordial jungle soil will sprout all manner of strange wild plants.=
### edibles.lua ###
Glowtato=
Primordial Fruit=
### fungal_nodes.lua ###
Dirt with Primordial Mycelium=

Binary file not shown.

After

Width:  |  Height:  |  Size: 698 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 619 B