Refactor TOC registries for traits and body locations

This commit is contained in:
guiriguy
2025-12-18 22:46:57 +01:00
committed by GitHub
parent 27d9b3a513
commit acd2e9c547

View File

@@ -1,15 +1,16 @@
TOC_Registries = { _TOCRegistries = {}
Traits = {
Amputee_Hand = CharacterTrait.register("toc:amputee_hand"), _TOCRegistries.traits = {
Amputee_Forearm = CharacterTrait.register("toc:amputee_forearm"), Amputee_Hand = CharacterTrait.register("toc:amputee_hand"),
Amputee_Upperarm = CharacterTrait.register("toc:amputee_upperarm") Amputee_ForeArm = CharacterTrait.register("toc:amputee_forearm"),
} Amputee_UpperArm = CharacterTrait.register("toc:amputee_upperarm"),
} }
_TOCRegistries.bodylocations = {
ItemBodyLocation.register("toc:TOC_Arm_L") TOC_Arm_L = ItemBodyLocation.register("toc:toc_arm_l"),
ItemBodyLocation.register("toc:TOC_Arm_R") TOC_Arm_R = ItemBodyLocation.register("toc:toc_arm_r"),
ItemBodyLocation.register("toc:TOC_ArmProst_L") TOC_ArmProst_L = ItemBodyLocation.register("toc:toc_armprost_l"),
ItemBodyLocation.register("toc:TOC_ArmProst_R") TOC_ArmProst_R = ItemBodyLocation.register("toc:toc_armprost_r"),
ItemBodyLocation.register("toc:TOC_ArmAccessory_L") TOC_ArmAccessory_L = ItemBodyLocation.register("toc:toc_armaccessory_l"),
ItemBodyLocation.register("toc:TOC_ArmAccessory_R") TOC_ArmAccessory_R = ItemBodyLocation.register("toc:toc_armaccessory_r"),
}