Add wearables API

This commit is contained in:
Signal 2025-10-10 23:46:01 -04:00
parent 9e63d7fe3a
commit 5e4d2924e4
14 changed files with 181 additions and 0 deletions

22
mods/rgt_armor/init.lua Normal file
View 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"
}
}
}