Use CopyConfig to make the Bartender vest duplicates

This commit is contained in:
Jean-Baptiste Emmanuel Zorg 2025-03-28 17:36:27 +01:00
parent 1a185e0318
commit a30dcbd182

View file

@ -1065,65 +1065,24 @@ var AssetFemale3DCG = [
},
{
Name: "BartenderVest",
InventoryID: 1225,
Value: -1,
BuyGroup: "BartenderVest",
ParentItem: "SuitBartenderVest",
DynamicGroupName: "Suit",
Gender: "F",
Prerequisite: ["HasBreasts"],
Priority: 27,
Top: 182,
Left: 125,
DefaultColor: ["#893939", "#897E66"],
PoseMapping: {
...AssetPoseMapping.Cloth
CopyConfig: {
GroupName: "Suit",
AssetName: "BartenderVest",
BuyGroup: true,
},
Layer: [
{
Name: "Vest",
PoseMapping: {
BackBoxTie: "BackBoxTie",
BackCuffs: "BackBoxTie",
BackElbowTouch: "BackBoxTie",
OverTheHead: "OverTheHead",
TapedHands: "BackBoxTie",
Yoked: "Yoked",
AllFours: "AllFours",
Hogtied: "Hogtied",
},
AllowColorize: true,
},
{
Name: "Buttons",
ParentGroup: {},
PoseMapping: {
BackBoxTie: "BackBoxTie",
BackCuffs: "BackBoxTie",
BackElbowTouch: "BackBoxTie",
OverTheHead: "OverTheHead",
TapedHands: "BackBoxTie",
Yoked: "Yoked",
AllFours: PoseType.HIDE,
Hogtied: PoseType.HIDE,
},
AllowColorize: true,
},
{
Name: "BHog",
PoseMapping: {
BackBoxTie: PoseType.HIDE,
BackCuffs: PoseType.HIDE,
BackElbowTouch: PoseType.HIDE,
OverTheHead: PoseType.HIDE,
TapedHands: PoseType.HIDE,
Yoked: PoseType.HIDE,
AllFours: "Hogtied",
Hogtied: "Hogtied",
},
CopyLayerColor: "Buttons",
},
],
Value: -1,
DynamicGroupName: "Suit",
},
{
Name: "BartenderVestM",
CopyConfig: {
GroupName: "Suit",
AssetName: "BartenderVestM",
BuyGroup: true,
},
Value: -1,
DynamicGroupName: "Suit",
Priority: 27,
},
{
Name: "TennisShirt1",
@ -3759,69 +3718,6 @@ var AssetFemale3DCG = [
{ Name: "Buttons", AllowColorize: true },
],
},
{
Name: "BartenderVestM",
InventoryID: 1225,
Value: -1,
BuyGroup: "BartenderVest",
ParentItem: "SuitBartenderVestM",
DynamicGroupName: "Suit",
Gender: "M",
Prerequisite: ["HasFlatChest"],
Priority: 27,
Top: 182,
Left: 125,
DefaultColor: ["#606060", "Default"],
PoseMapping: {
...AssetPoseMapping.Cloth
},
Layer: [
{
Name: "Vest",
PoseMapping: {
BackBoxTie: "BackBoxTie",
BackCuffs: "BackBoxTie",
BackElbowTouch: "BackBoxTie",
OverTheHead: "OverTheHead",
TapedHands: "BackBoxTie",
Yoked: "Yoked",
AllFours: "AllFours",
Hogtied: "Hogtied",
},
AllowColorize: true,
},
{
Name: "Buttons",
ParentGroup: {},
PoseMapping: {
BackBoxTie: "BackBoxTie",
BackCuffs: "BackBoxTie",
BackElbowTouch: "BackBoxTie",
OverTheHead: "OverTheHead",
TapedHands: "BackBoxTie",
Yoked: "BackBoxTie",
AllFours: PoseType.HIDE,
Hogtied: PoseType.HIDE,
},
AllowColorize: true,
},
{
Name: "BHog",
ParentGroup: {},
PoseMapping: {
BackBoxTie: PoseType.HIDE,
BackCuffs: PoseType.HIDE,
BackElbowTouch: PoseType.HIDE,
OverTheHead: PoseType.HIDE,
TapedHands: PoseType.HIDE,
Yoked: PoseType.HIDE,
AllFours: "Hogtied",
Hogtied: "Hogtied",
},
CopyLayerColor: "Buttons",
},
],
},
],
Color: [
"Default",
@ -5437,8 +5333,6 @@ var AssetFemale3DCG = [
InventoryID: 1225,
Value: 12,
BuyGroup: "BartenderVest",
ParentItem: "SuitBartenderVest",
DynamicGroupName: "Suit",
Gender: "F",
Prerequisite: ["HasBreasts"],
Priority: 29,
@ -5446,33 +5340,26 @@ var AssetFemale3DCG = [
Left: 125,
DefaultColor: ["#893939", "#897E66"],
PoseMapping: {
...AssetPoseMapping.Cloth
...AssetPoseMapping.Cloth,
BackBoxTie: "BackBoxTie",
BackCuffs: "BackBoxTie",
BackElbowTouch: "BackBoxTie",
OverTheHead: "OverTheHead",
TapedHands: "BackBoxTie",
Yoked: "Yoked",
AllFours: "AllFours",
Hogtied: "Hogtied",
},
InheritPoseMappingFields: true,
Layer: [
{
Name: "Vest",
PoseMapping: {
BackBoxTie: "BackBoxTie",
BackCuffs: "BackBoxTie",
BackElbowTouch: "BackBoxTie",
OverTheHead: "OverTheHead",
TapedHands: "BackBoxTie",
Yoked: "Yoked",
AllFours: "AllFours",
Hogtied: "Hogtied",
},
AllowColorize: true,
},
{
Name: "Buttons",
ParentGroup: {},
PoseMapping: {
BackBoxTie: "BackBoxTie",
BackCuffs: "BackBoxTie",
BackElbowTouch: "BackBoxTie",
OverTheHead: "OverTheHead",
TapedHands: "BackBoxTie",
Yoked: "Yoked",
AllFours: PoseType.HIDE,
Hogtied: PoseType.HIDE,
},
@ -5481,6 +5368,8 @@ var AssetFemale3DCG = [
{
Name: "BHog",
PoseMapping: {
BaseLower: PoseType.HIDE,
BaseUpper: PoseType.HIDE,
BackBoxTie: PoseType.HIDE,
BackCuffs: PoseType.HIDE,
BackElbowTouch: PoseType.HIDE,
@ -5536,33 +5425,26 @@ var AssetFemale3DCG = [
Left: 125,
DefaultColor: ["#606060", "Default"],
PoseMapping: {
...AssetPoseMapping.Cloth
...AssetPoseMapping.Cloth,
BackBoxTie: "BackBoxTie",
BackCuffs: "BackBoxTie",
BackElbowTouch: "BackBoxTie",
OverTheHead: "OverTheHead",
TapedHands: "BackBoxTie",
Yoked: "Yoked",
AllFours: "AllFours",
Hogtied: "Hogtied",
},
InheritPoseMappingFields: true,
Layer: [
{
Name: "Vest",
PoseMapping: {
BackBoxTie: "BackBoxTie",
BackCuffs: "BackBoxTie",
BackElbowTouch: "BackBoxTie",
OverTheHead: "OverTheHead",
TapedHands: "BackBoxTie",
Yoked: "Yoked",
AllFours: "AllFours",
Hogtied: "Hogtied",
},
AllowColorize: true,
},
{
Name: "Buttons",
ParentGroup: {},
PoseMapping: {
BackBoxTie: "BackBoxTie",
BackCuffs: "BackBoxTie",
BackElbowTouch: "BackBoxTie",
OverTheHead: "OverTheHead",
TapedHands: "BackBoxTie",
Yoked: "BackBoxTie",
AllFours: PoseType.HIDE,
Hogtied: PoseType.HIDE,
},
@ -5572,6 +5454,8 @@ var AssetFemale3DCG = [
Name: "BHog",
ParentGroup: {},
PoseMapping: {
BaseLower: PoseType.HIDE,
BaseUpper: PoseType.HIDE,
BackBoxTie: PoseType.HIDE,
BackCuffs: PoseType.HIDE,
BackElbowTouch: PoseType.HIDE,