61 {
62 ConstructionActionData construction_action_data = player.GetConstructionActionData();
64
65 if ( constrution_part )
66 {
67 switch (constrution_part.
GetName())
68 {
69 case "leather":
70 m_Text =
"#build_shelter_leather";
71 break;
72
73 case "fabric":
74 m_Text =
"#build_shelter_fabric";
75 break;
76
77 case "stick":
78 m_Text =
"#build_shelter_stick";
79 break;
80 }
81 }
82 }
void ConstructionPart(string name, string part_name, string main_part_name, int id, bool is_built, bool is_base, bool is_gate, array< string > required_parts)
ConstructionPart GetBuildPartNoToolAtIndex(int idx)