Add wearables API
This commit is contained in:
parent
9e63d7fe3a
commit
5e4d2924e4
14 changed files with 181 additions and 0 deletions
22
mods/rgt_armor/init.lua
Normal file
22
mods/rgt_armor/init.lua
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
|
||||
|
||||
rgt_cosmetics.register_wearable {
|
||||
name = "ic",
|
||||
attachments = {
|
||||
{
|
||||
mesh = "rgt_armor_torso.gltf",
|
||||
textures = {"rgt_iron_chestplate.png"},
|
||||
bone = "Body"
|
||||
},
|
||||
{
|
||||
mesh = "rgt_armor_right_arm.gltf",
|
||||
textures = {"rgt_iron_chestplate.png"},
|
||||
bone = "RightArm"
|
||||
},
|
||||
{
|
||||
mesh = "rgt_armor_left_arm.gltf",
|
||||
textures = {"rgt_iron_chestplate.png"},
|
||||
bone = "LeftArm"
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue