switch trail mod to footprints mod

This commit is contained in:
FaceDeer
2020-02-19 21:07:15 -07:00
parent 947cb72f5a
commit 7ddf1ff7cb
23 changed files with 62 additions and 336 deletions

View File

@ -187,7 +187,7 @@ minetest.register_craft({
---------
-- Trample support
if minetest.get_modpath("trail") and trail and trail.register_trample_node then
if minetest.get_modpath("footprints") then
minetest.register_node("df_farming:wheat_trampled", {
description = S("Flattened Cave Wheat"),
tiles = {"dfcaverns_cave_wheat_flattened.png"},
@ -207,19 +207,19 @@ if minetest.get_modpath("trail") and trail and trail.register_trample_node then
sounds = default.node_sound_leaves_defaults(),
})
trail.register_trample_node("df_farming:cave_wheat_5", {
footprints.register_trample_node("df_farming:cave_wheat_5", {
trampled_node_name = "df_farming:wheat_trampled",
randomize_trampled_param2 = true,
})
trail.register_trample_node("df_farming:cave_wheat_6", {
footprints.register_trample_node("df_farming:cave_wheat_6", {
trampled_node_name = "df_farming:wheat_trampled",
randomize_trampled_param2 = true,
})
trail.register_trample_node("df_farming:cave_wheat_7", {
footprints.register_trample_node("df_farming:cave_wheat_7", {
trampled_node_name = "df_farming:wheat_trampled",
randomize_trampled_param2 = true,
})
trail.register_trample_node("df_farming:cave_wheat_8", {
footprints.register_trample_node("df_farming:cave_wheat_8", {
trampled_node_name = "df_farming:wheat_trampled",
randomize_trampled_param2 = true,
})

View File

@ -4,89 +4,51 @@
### cave_wheat.lua ###
Cave Straw=Grano di caverna
Cave Wheat=Grano di caverna
Cave Wheat Flour=Farina di grano di caverna
Cave Wheat Seed=Seme di grano di caverna
Dwarven Bread=Pane nanico
Flattened Cave Wheat=Grano di caverna
### cooking.lua ###
Cave Wheat Flour Biscuit=Farina di grano di caverna
Cave Wheat Flour Bun=Farina di grano di caverna
Cave Wheat Flour Pancake=Farina di grano di caverna
Cave Wheat Seed Loaf=Seme di grano di caverna
Cave Wheat Seed Puffs=Seme di grano di caverna
Cave Wheat Seed Risotto=Seme di grano di caverna
Dimple Cup Spore Flatbread=Spora di coppa increspata
Dimple Cup Spore Roll=Spora di coppa increspata
Dimple Cup Spore Scone=Spora di coppa increspata
Dwarven Syrup Delight=Secchio di sciroppo nanico
Dwarven Syrup Jellies=Sciroppo nanico
Dwarven Syrup Taffy=Sciroppo nanico
Pig Tail Spore Casserole=Spora di coda di maiale
Pig Tail Spore Sandwich=Spora di coda di maiale
Pig Tail Spore Tofu=Spora di coda di maiale
Plump Helmet Mince=Elmo rotondo
Plump Helmet Roast=Elmo rotondo
Plump Helmet Spawn Jambalaya=Prole di elmo rotondo
Plump Helmet Spawn Soup=Prole di elmo rotondo
Plump Helmet Sprout Stew=Prole di elmo rotondo
Plump Helmet Stalk Sausage=Prole di elmo rotondo
Quarry Bush Leaf Croissant=Foglia di cespuglio di cava
Quarry Bush Leaf Spicy Bun=Foglia di cespuglio di cava
Rock Nut Bread=Noce di roccia
Rock Nut Cake=Noce di roccia
Rock Nut Cookie=Noce di roccia
Stuffed Quarry Bush Leaf=Foglia di cespuglio di cava
Sweet Pod Spore Brule=Spora di baccello dolce
Sweet Pod Spore Dumplings=Spore di baccello dolce
Sweet Pod Spore Single Crust Pie=Spore di baccello dolce
Sweet Pod Sugar Cookie=Zucchero di baccello dolce
Sweet Pod Sugar Gingerbread=Zucchero di baccello dolce
Sweet Pod Sugar Roll=Zucchero di baccello dolce
### dimple_cup.lua ###
Dimple Cup=Coppa increspata
Dimple Cup Spores=Spore di coppa increspata
### doc.lua ###
@ -106,7 +68,6 @@ Bread baked from cave wheat flour is tough and durable. A useful ration for long
Cave wheat is literally a breed of grain-producing grass that somehow lost its ability to photosynthesize and adapted to a more fungal style of life.=
Cave wheat seed ground into a powder suitable for cooking.=
Crushing them in a bucket squeezes out a flavorful syrup.=
Dead fungus quickly decays into an unrecognizable mess. It can be used as weak fuel or terrible decor.=
@ -130,7 +91,6 @@ Quarry bush leaves and nodules (called 'rock nuts') can be harvested and are edi
Quarry bush leaves can be used as an ingredient in foodstuffs.=
Sweet pod sugar has a pink tint to it.=
Sweet pod syrup is thick and flavorful.=
Sweet pods grow in rich soil, and once they reach maturity they draw that supply of nutrients up to concentrate it in their fruiting bodies. They turn bright red when ripe and can be processed in a variety of ways to extract the sugars they contain.=
@ -157,48 +117,36 @@ When milled, sweet pods produce a granular sugary substance.=
While they can be eaten fresh, they can be monotonous fare and are perhaps better appreciated as part of a more complex prepared dish.=
### pig_tail.lua ###
Flattened Pig Tail=Coda di maiale
Pig Tail=Coda di maiale
Pig Tail Spore=Spora di coda di maiale
Pig tail thread=Filo di coda di maiale
### plants.lua ###
Cavern Fungi=Funghi di caverna
Dead Fungus=Fungo morto
### plump_helmet.lua ###
Plump Helmet=Elmo rotondo
Plump Helmet Spawn=Prole di elmo rotondo
### quarry_bush.lua ###
Quarry Bush=Cespuglio di cava
Quarry Bush Leaves=Foglie di cespuglio di cava
Rock Nuts=Noci di roccia
### sweet_pod.lua ###
Dwarven Syrup Bucket=Secchio di sciroppo nanico
Dwarven Syrup Source=Fonte di sciroppo nanico
Flowing Dwarven Syrup=Sciroppo nanico che scorre
Sweet Pod=Baccello dolce
Sweet Pod Spores=Spore di baccello dolce
Sweet Pod Sugar=Zucchero di baccello dolce
Sweet Pods=Baccelli dolci

View File

@ -4,89 +4,51 @@
### cave_wheat.lua ###
Cave Straw=
Cave Wheat=
Cave Wheat Flour=
Cave Wheat Seed=
Dwarven Bread=
Flattened Cave Wheat=
### cooking.lua ###
Cave Wheat Flour Biscuit=
Cave Wheat Flour Bun=
Cave Wheat Flour Pancake=
Cave Wheat Seed Loaf=
Cave Wheat Seed Puffs=
Cave Wheat Seed Risotto=
Dimple Cup Spore Flatbread=
Dimple Cup Spore Roll=
Dimple Cup Spore Scone=
Dwarven Syrup Delight=
Dwarven Syrup Jellies=
Dwarven Syrup Taffy=
Pig Tail Spore Casserole=
Pig Tail Spore Sandwich=
Pig Tail Spore Tofu=
Plump Helmet Mince=
Plump Helmet Roast=
Plump Helmet Spawn Jambalaya=
Plump Helmet Spawn Soup=
Plump Helmet Sprout Stew=
Plump Helmet Stalk Sausage=
Quarry Bush Leaf Croissant=
Quarry Bush Leaf Spicy Bun=
Rock Nut Bread=
Rock Nut Cake=
Rock Nut Cookie=
Stuffed Quarry Bush Leaf=
Sweet Pod Spore Brule=
Sweet Pod Spore Dumplings=
Sweet Pod Spore Single Crust Pie=
Sweet Pod Sugar Cookie=
Sweet Pod Sugar Gingerbread=
Sweet Pod Sugar Roll=
### dimple_cup.lua ###
Dimple Cup=
Dimple Cup Spores=
### doc.lua ###
@ -106,7 +68,6 @@ Bread baked from cave wheat flour is tough and durable. A useful ration for long
Cave wheat is literally a breed of grain-producing grass that somehow lost its ability to photosynthesize and adapted to a more fungal style of life.=
Cave wheat seed ground into a powder suitable for cooking.=
Crushing them in a bucket squeezes out a flavorful syrup.=
Dead fungus quickly decays into an unrecognizable mess. It can be used as weak fuel or terrible decor.=
@ -130,7 +91,6 @@ Quarry bush leaves and nodules (called 'rock nuts') can be harvested and are edi
Quarry bush leaves can be used as an ingredient in foodstuffs.=
Sweet pod sugar has a pink tint to it.=
Sweet pod syrup is thick and flavorful.=
Sweet pods grow in rich soil, and once they reach maturity they draw that supply of nutrients up to concentrate it in their fruiting bodies. They turn bright red when ripe and can be processed in a variety of ways to extract the sugars they contain.=
@ -157,48 +117,36 @@ When milled, sweet pods produce a granular sugary substance.=
While they can be eaten fresh, they can be monotonous fare and are perhaps better appreciated as part of a more complex prepared dish.=
### pig_tail.lua ###
Flattened Pig Tail=
Pig Tail=
Pig Tail Spore=
Pig tail thread=
### plants.lua ###
Cavern Fungi=
Dead Fungus=
### plump_helmet.lua ###
Plump Helmet=
Plump Helmet Spawn=
### quarry_bush.lua ###
Quarry Bush=
Quarry Bush Leaves=
Rock Nuts=
### sweet_pod.lua ###
Dwarven Syrup Bucket=
Dwarven Syrup Source=
Flowing Dwarven Syrup=
Sweet Pod=
Sweet Pod Spores=
Sweet Pod Sugar=
Sweet Pods=

View File

@ -1,4 +1,4 @@
name = df_farming
description = Adds farmable underground plants that die in sunlight. Also includes various cooking reactions.
depends = default
optional_depends = farming, cottages, bucket, dynamic_liquid, wool, doc, crafting, trail
optional_depends = farming, cottages, bucket, dynamic_liquid, wool, doc, crafting, footprints

View File

@ -120,7 +120,7 @@ minetest.register_craft({
burntime = 1,
})
if minetest.get_modpath("trail") and trail and trail.register_trample_node then
if minetest.get_modpath("footprints") then
minetest.register_node("df_farming:pig_tail_trampled", {
description = S("Flattened Pig Tail"),
tiles = {"dfcaverns_pig_tail_flattened.png"},
@ -140,19 +140,19 @@ if minetest.get_modpath("trail") and trail and trail.register_trample_node then
sounds = default.node_sound_leaves_defaults(),
})
trail.register_trample_node("df_farming:pig_tail_5", {
footprints.register_trample_node("df_farming:pig_tail_5", {
trampled_node_name = "df_farming:pig_tail_trampled",
randomize_trampled_param2 = true,
})
trail.register_trample_node("df_farming:pig_tail_6", {
footprints.register_trample_node("df_farming:pig_tail_6", {
trampled_node_name = "df_farming:pig_tail_trampled",
randomize_trampled_param2 = true,
})
trail.register_trample_node("df_farming:pig_tail_7", {
footprints.register_trample_node("df_farming:pig_tail_7", {
trampled_node_name = "df_farming:pig_tail_trampled",
randomize_trampled_param2 = true,
})
trail.register_trample_node("df_farming:pig_tail_8", {
footprints.register_trample_node("df_farming:pig_tail_8", {
trampled_node_name = "df_farming:pig_tail_trampled",
randomize_trampled_param2 = true,
})