59 if (GetCompEM().IsWorking())
61 item.SetObjectMaterial(
item.GetHiddenSelectionIndex(
"xlights_glass_r"),
"dz\\gear\\camping\\data\\christmas_lights_red_on.rvmat");
62 item.SetObjectMaterial(
item.GetHiddenSelectionIndex(
"xlights_glass_g"),
"dz\\gear\\camping\\data\\christmas_lights_green_on.rvmat");
63 item.SetObjectMaterial(
item.GetHiddenSelectionIndex(
"xlights_glass_b"),
"dz\\gear\\camping\\data\\christmas_lights_blue_on.rvmat");
64 item.SetObjectMaterial(
item.GetHiddenSelectionIndex(
"xlights_glass_y"),
"dz\\gear\\camping\\data\\christmas_lights_yellow_on.rvmat");
65 item.SetObjectTexture(
item.GetHiddenSelectionIndex(
"xlights_glass_r"),
"dz\\gear\\camping\\data\\christmas_lights_string_ca.paa");
66 item.SetObjectTexture(
item.GetHiddenSelectionIndex(
"xlights_glass_g"),
"dz\\gear\\camping\\data\\christmas_lights_string_ca.paa");
67 item.SetObjectTexture(
item.GetHiddenSelectionIndex(
"xlights_glass_b"),
"dz\\gear\\camping\\data\\christmas_lights_string_ca.paa");
68 item.SetObjectTexture(
item.GetHiddenSelectionIndex(
"xlights_glass_y"),
"dz\\gear\\camping\\data\\christmas_lights_string_ca.paa");
80 item.SetObjectMaterial(
item.GetHiddenSelectionIndex(
"xlights_glass_r"),
"dz\\gear\\camping\\data\\christmass_ligths_string.rvmat");
81 item.SetObjectMaterial(
item.GetHiddenSelectionIndex(
"xlights_glass_g"),
"dz\\gear\\camping\\data\\christmass_ligths_string.rvmat");
82 item.SetObjectMaterial(
item.GetHiddenSelectionIndex(
"xlights_glass_b"),
"dz\\gear\\camping\\data\\christmass_ligths_string.rvmat");
83 item.SetObjectMaterial(
item.GetHiddenSelectionIndex(
"xlights_glass_y"),
"dz\\gear\\camping\\data\\christmass_ligths_string.rvmat");
84 item.SetObjectTexture(
item.GetHiddenSelectionIndex(
"xlights_glass_r"),
"dz\\gear\\camping\\data\\christmas_lights_string_ca.paa");
85 item.SetObjectTexture(
item.GetHiddenSelectionIndex(
"xlights_glass_g"),
"dz\\gear\\camping\\data\\christmas_lights_string_ca.paa");
86 item.SetObjectTexture(
item.GetHiddenSelectionIndex(
"xlights_glass_b"),
"dz\\gear\\camping\\data\\christmas_lights_string_ca.paa");
87 item.SetObjectTexture(
item.GetHiddenSelectionIndex(
"xlights_glass_y"),
"dz\\gear\\camping\\data\\christmas_lights_string_ca.paa");
94 item.SetObjectMaterial(
item.GetHiddenSelectionIndex(
"xlights_glass_r"),
"");
95 item.SetObjectMaterial(
item.GetHiddenSelectionIndex(
"xlights_glass_g"),
"");
96 item.SetObjectMaterial(
item.GetHiddenSelectionIndex(
"xlights_glass_b"),
"");
97 item.SetObjectMaterial(
item.GetHiddenSelectionIndex(
"xlights_glass_y"),
"");
98 item.SetObjectTexture(
item.GetHiddenSelectionIndex(
"xlights_glass_r"),
"");
99 item.SetObjectTexture(
item.GetHiddenSelectionIndex(
"xlights_glass_g"),
"");
100 item.SetObjectTexture(
item.GetHiddenSelectionIndex(
"xlights_glass_b"),
"");
101 item.SetObjectTexture(
item.GetHiddenSelectionIndex(
"xlights_glass_y"),
"");
103 item.SetAnimationPhase(
"Cord_plugged", 1);
104 item.SetAnimationPhase(
"Cord_folded", 1);