mirror of
https://github.com/ElCeejo/animalia.git
synced 2025-04-30 05:21:40 -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,
|
||||
consumable_nodes = {
|
||||
["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 = {
|
||||
offset = {x = 0, y = 0.7, z = 0.0},
|
||||
|
@ -221,4 +223,4 @@ creatura.register_mob("animalia:cow", {
|
|||
end
|
||||
})
|
||||
|
||||
creatura.register_spawn_egg("animalia:cow", "cac3a1" ,"464438")
|
||||
creatura.register_spawn_egg("animalia:cow", "cac3a1" ,"464438")
|
||||
|
|
|
@ -136,7 +136,9 @@ creatura.register_mob("animalia:horse", {
|
|||
follow = follows,
|
||||
consumable_nodes = {
|
||||
["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 = {
|
||||
bone = "Neck.CTRL",
|
||||
|
@ -316,4 +318,4 @@ creatura.register_mob("animalia:horse", {
|
|||
end
|
||||
})
|
||||
|
||||
creatura.register_spawn_egg("animalia:horse", "ebdfd8" ,"653818")
|
||||
creatura.register_spawn_egg("animalia:horse", "ebdfd8" ,"653818")
|
||||
|
|
|
@ -19,7 +19,9 @@ local destroyable_crops = {}
|
|||
minetest.register_on_mods_loaded(function()
|
||||
for name in pairs(minetest.registered_nodes) do
|
||||
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"})
|
||||
end
|
||||
end
|
||||
|
@ -173,4 +175,4 @@ creatura.register_mob("animalia:pig", {
|
|||
end
|
||||
})
|
||||
|
||||
creatura.register_spawn_egg("animalia:pig", "e0b1a7" ,"cc9485")
|
||||
creatura.register_spawn_egg("animalia:pig", "e0b1a7" ,"cc9485")
|
||||
|
|
|
@ -52,14 +52,10 @@ creatura.register_mob("animalia:reindeer", {
|
|||
},
|
||||
follow = follows,
|
||||
consumable_nodes = {
|
||||
{
|
||||
name = "default:dirt_with_grass",
|
||||
replacement = "default:dirt"
|
||||
},
|
||||
{
|
||||
name = "default:dry_dirt_with_dry_grass",
|
||||
replacement = "default:dry_dirt"
|
||||
}
|
||||
["default:dirt_with_grass"] = "default: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 = {
|
||||
offset = {x = 0, y = 0.7, z = 0},
|
||||
|
@ -163,4 +159,4 @@ creatura.register_mob("animalia:reindeer", {
|
|||
end
|
||||
})
|
||||
|
||||
creatura.register_spawn_egg("animalia:reindeer", "cac3a1" ,"464438")
|
||||
creatura.register_spawn_egg("animalia:reindeer", "cac3a1" ,"464438")
|
||||
|
|
|
@ -98,7 +98,10 @@ creatura.register_mob("animalia:sheep", {
|
|||
follow = follows,
|
||||
consumable_nodes = {
|
||||
["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 = {
|
||||
offset = {x = 0, y = 0.41, z = 0},
|
||||
|
@ -273,4 +276,4 @@ creatura.register_mob("animalia:sheep", {
|
|||
end
|
||||
})
|
||||
|
||||
creatura.register_spawn_egg("animalia:sheep", "f4e6cf", "e1ca9b")
|
||||
creatura.register_spawn_egg("animalia:sheep", "f4e6cf", "e1ca9b")
|
||||
|
|
Loading…
Add table
Reference in a new issue