mirror of
https://github.com/ElCeejo/animalia.git
synced 2025-04-30 13:31:39 -04:00
Consumable nodes for Hades Revisited.
This commit is contained in:
parent
7d2ed80f98
commit
96e313989b
5 changed files with 22 additions and 17 deletions
|
@ -86,7 +86,9 @@ creatura.register_mob("animalia:cow", {
|
||||||
follow = follows,
|
follow = follows,
|
||||||
consumable_nodes = {
|
consumable_nodes = {
|
||||||
["default:dirt_with_grass"] = "default:dirt",
|
["default:dirt_with_grass"] = "default:dirt",
|
||||||
["default:dry_dirt_with_dry_grass"] = "default:dry_dirt"
|
["default:dry_dirt_with_dry_grass"] = "default:dry_dirt",
|
||||||
|
["hades_core:dirt_with_grass"] = "hades_core:dirt_with_grass_l3",
|
||||||
|
["hades_core:dirt_with_grass_l3"] = "hades_core:dirt_with_grass_l1",
|
||||||
},
|
},
|
||||||
head_data = {
|
head_data = {
|
||||||
offset = {x = 0, y = 0.7, z = 0.0},
|
offset = {x = 0, y = 0.7, z = 0.0},
|
||||||
|
|
|
@ -136,7 +136,9 @@ creatura.register_mob("animalia:horse", {
|
||||||
follow = follows,
|
follow = follows,
|
||||||
consumable_nodes = {
|
consumable_nodes = {
|
||||||
["default:dirt_with_grass"] = "default:dirt",
|
["default:dirt_with_grass"] = "default:dirt",
|
||||||
["default:dry_dirt_with_dry_grass"] = "default:dry_dirt"
|
["default:dry_dirt_with_dry_grass"] = "default:dry_dirt",
|
||||||
|
["hades_core:dirt_with_grass"] = "hades_core:dirt_with_grass_l3",
|
||||||
|
["hades_core:dirt_with_grass_l3"] = "hades_core:dirt_with_grass_l1",
|
||||||
},
|
},
|
||||||
head_data = {
|
head_data = {
|
||||||
bone = "Neck.CTRL",
|
bone = "Neck.CTRL",
|
||||||
|
|
|
@ -19,7 +19,9 @@ local destroyable_crops = {}
|
||||||
minetest.register_on_mods_loaded(function()
|
minetest.register_on_mods_loaded(function()
|
||||||
for name in pairs(minetest.registered_nodes) do
|
for name in pairs(minetest.registered_nodes) do
|
||||||
if name:match("^crops:")
|
if name:match("^crops:")
|
||||||
or name:match("^farming:") then
|
or name:match("^farming:")
|
||||||
|
or name:match("^hades_farming:")
|
||||||
|
or name:match("^hades_extrafarming:") then
|
||||||
table.insert(destroyable_crops, {name = name, replacement = "air"})
|
table.insert(destroyable_crops, {name = name, replacement = "air"})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -52,14 +52,10 @@ creatura.register_mob("animalia:reindeer", {
|
||||||
},
|
},
|
||||||
follow = follows,
|
follow = follows,
|
||||||
consumable_nodes = {
|
consumable_nodes = {
|
||||||
{
|
["default:dirt_with_grass"] = "default:dirt",
|
||||||
name = "default:dirt_with_grass",
|
["default:dry_dirt_with_dry_grass"] = "default:dry_dirt",
|
||||||
replacement = "default:dirt"
|
["hades_core:dirt_with_grass"] = "hades_core:dirt_with_grass_l3",
|
||||||
},
|
["hades_core:dirt_with_grass_l3"] = "hades_core:dirt_with_grass_l1",
|
||||||
{
|
|
||||||
name = "default:dry_dirt_with_dry_grass",
|
|
||||||
replacement = "default:dry_dirt"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
head_data = {
|
head_data = {
|
||||||
offset = {x = 0, y = 0.7, z = 0},
|
offset = {x = 0, y = 0.7, z = 0},
|
||||||
|
|
|
@ -98,7 +98,10 @@ creatura.register_mob("animalia:sheep", {
|
||||||
follow = follows,
|
follow = follows,
|
||||||
consumable_nodes = {
|
consumable_nodes = {
|
||||||
["default:dirt_with_grass"] = "default:dirt",
|
["default:dirt_with_grass"] = "default:dirt",
|
||||||
["default:dry_dirt_with_dry_grass"] = "default:dry_dirt"
|
["default:dry_dirt_with_dry_grass"] = "default:dry_dirt",
|
||||||
|
["hades_core:dirt_with_grass"] = "hades_core:dirt_with_grass_l3",
|
||||||
|
["hades_core:dirt_with_grass_l3"] = "hades_core:dirt_with_grass_l2",
|
||||||
|
["hades_core:dirt_with_grass_l2"] = "hades_core:dirt_with_grass_l1",
|
||||||
},
|
},
|
||||||
head_data = {
|
head_data = {
|
||||||
offset = {x = 0, y = 0.41, z = 0},
|
offset = {x = 0, y = 0.41, z = 0},
|
||||||
|
|
Loading…
Add table
Reference in a new issue