65 {
66 string iconPath = "set:dayz_inventory image:missing";
67 switch (m_IconIndex)
68 {
69 case EConstructionTools.TOOL_MOUNT_WIRE:
70 iconPath = "set:dayz_inventory image:plierstools";
71 break
72
73 case EConstructionTools.TOOL_NAIL:
74 iconPath = "set:dayz_inventory image:hammertools";
75 break
76
77 case EConstructionTools.TOOL_DIG_BASE:
78 iconPath = "set:dayz_inventory image:shoveltools";
79 break
80
81 case EConstructionTools.TOOL_MOUNT_LOG:
82 iconPath = "set:dayz_inventory image:hammertools";
83 break
84
85 case EConstructionTools.TOOL_HEAVY:
86 iconPath = "set:dayz_inventory image:sladgehammertools";
87 break
88
89 case EConstructionTools.TOOL_EXCAVATION:
90 iconPath = "set:dayz_inventory image:pickaxetools";
91 break
92
93 case EConstructionTools.TOOL_HANDS:
94 iconPath = "set:dayz_inventory image:hands";
95 m_GhostSlot.SetColor(0xD0FFFFFF);
96 break
97
98 case EConstructionTools.TOOL_BRICKLAYING:
99 iconPath = "set:dayz_inventory image:bricklayingtools";
100 break
101 }
102
103 m_GhostSlot.LoadImageFile(0, iconPath);
104 m_GhostSlot.SetImage(0);
105 }