mirror of
https://github.com/minetest-mods/3d_armor.git
synced 2024-11-22 12:43:42 +01:00
use player_api
to register player model
This commit is contained in:
parent
a9b8bc4ddd
commit
217926da58
@ -18,6 +18,7 @@ read_globals = {
|
|||||||
|
|
||||||
-- deps
|
-- deps
|
||||||
"default",
|
"default",
|
||||||
|
"player_api",
|
||||||
"minetest",
|
"minetest",
|
||||||
"unified_inventory",
|
"unified_inventory",
|
||||||
"wardrobe",
|
"wardrobe",
|
||||||
|
@ -299,7 +299,7 @@ end
|
|||||||
|
|
||||||
-- Armor Player Model
|
-- Armor Player Model
|
||||||
|
|
||||||
default.player_register_model("3d_armor_character.b3d", {
|
player_api.register_model("3d_armor_character.b3d", {
|
||||||
animation_speed = 30,
|
animation_speed = 30,
|
||||||
textures = {
|
textures = {
|
||||||
armor.default_skin..".png",
|
armor.default_skin..".png",
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
name = 3d_armor
|
name = 3d_armor
|
||||||
depends = default
|
depends = default, player_api
|
||||||
optional_depends = player_monoids, armor_monoid, pova, fire, ethereal, bakedclay, moreores, nether
|
optional_depends = player_monoids, armor_monoid, pova, fire, ethereal, bakedclay, moreores, nether
|
||||||
description = Adds craftable armor that is visible to other players.
|
description = Adds craftable armor that is visible to other players.
|
||||||
|
Loading…
Reference in New Issue
Block a user