30 {
32 if ( player )
33 {
34 ConstructionActionData construction_action_data = player.GetConstructionActionData();
36
37 if ( constrution_part )
38 {
39 string ret = "";
40 switch (constrution_part.
GetName())
41 {
42 case "leather":
43 ret = "#build_shelter_leather";
44 break;
45
46 case "fabric":
47 ret = "#build_shelter_fabric";
48 break;
49
50 case "stick":
51 ret = "#build_shelter_stick";
52 break;
53 }
54 }
55 }
56
57 return ret;
58 }
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)