refactor: changes to StaticData and registries
This commit is contained in:
@@ -48,15 +48,6 @@ StaticData.PARTS_STR = {
|
||||
"UpperArm"
|
||||
}
|
||||
|
||||
-- TODO make it a bit more elegant
|
||||
StaticData.MOD_BODYLOCS_BASE_IND_STR = {
|
||||
TOC_ArmProst_L = "toc_armprost_l",
|
||||
TOC_ArmProst_R = "toc_armprost_r",
|
||||
TOC_Arm_L = "toc:toc_arm_l",
|
||||
TOC_Arm_R = "toc:toc_arm_r",
|
||||
|
||||
--TOC_LegProst = "TOC_LegProst",
|
||||
}
|
||||
|
||||
-- No "MAX" here.
|
||||
StaticData.IGNORED_BODYLOCS_BPT = {
|
||||
|
||||
@@ -7,10 +7,11 @@ _TOCRegistries.traits = {
|
||||
}
|
||||
|
||||
_TOCRegistries.bodylocations = {
|
||||
TOC_Arm_L = ItemBodyLocation.register("toc:toc_arm_l"),
|
||||
TOC_Arm_R = ItemBodyLocation.register("toc:toc_arm_r"),
|
||||
TOC_ArmProst_L = ItemBodyLocation.register("toc:toc_armprost_l"),
|
||||
TOC_ArmProst_R = ItemBodyLocation.register("toc:toc_armprost_r"),
|
||||
TOC_ArmAccessory_L = ItemBodyLocation.register("toc:toc_armaccessory_l"),
|
||||
TOC_ArmAccessory_R = ItemBodyLocation.register("toc:toc_armaccessory_r"),
|
||||
TOC_Arm_L = ItemBodyLocation.register("toc:Arm_L"),
|
||||
TOC_Arm_R = ItemBodyLocation.register("toc:Arm_R"),
|
||||
TOC_ArmProst_L = ItemBodyLocation.register("toc:ArmProst_L"),
|
||||
TOC_ArmProst_R = ItemBodyLocation.register("toc:ArmProst_R"),
|
||||
TOC_ArmAccessory_L = ItemBodyLocation.register("toc:ArmAccessory_L"),
|
||||
TOC_ArmAccessory_R = ItemBodyLocation.register("toc:ArmAccessory_R"),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user