Skip to content

Commit a11d6f8

Browse files
committed
Sawmills process wood into lumber
1 parent 9861540 commit a11d6f8

7 files changed

Lines changed: 15 additions & 4 deletions

File tree

addons/overthrow_main.pbo

4.73 KB
Binary file not shown.

addons/overthrow_main/CfgWeapons.hpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,16 @@ class CfgWeapons {
3535
class ItemInfo: InventoryItem_Base_F {
3636
mass = 250;
3737
};
38+
};
39+
class OT_Lumber: OT_ItemCore {
40+
scope = 2;
41+
picture = "\overthrow_main\ui\items\wood_x_ca.paa";
42+
displayName = "Lumber";
43+
descriptionShort = "Lumber or timber is a type of wood that has been processed into beams and planks, a stage in the process of wood production.";
44+
descriptionUse = "";
45+
class ItemInfo: InventoryItem_Base_F {
46+
mass = 200;
47+
};
3848
};
3949
class OT_Steel: OT_ItemCore {
4050
scope = 2;

addons/overthrow_main/campaign/missions/OverthrowMpLivonia.Enoch/data/economy.sqf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ OT_economicData = [
55
[[5180.36,10351,0],"Gliniska Farm"],
66
[[1352.23,8005,0],"Topolin Farm"],
77
[[1223.91,8923.21,0],"Topolin Quarry"],
8-
[[5210.57,5668.39,0],"Huta Sawmill"]
8+
[[5210.57,5668.39,0],"Huta Sawmill","OT_Wood","OT_Lumber"]
99
];
1010
OT_factoryPos = [7343.56,2838.22,0];
1111
OT_factoryVehicleSpawn = [7350.82,2841.75,0];

addons/overthrow_main/campaign/missions/OverthrowMpTanoa.Tanoa/data/economy.sqf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ OT_economicData = [
44
[[9456.82,7552.04,0],"Lami Lumberyard","","OT_Wood"],
55
[[8389.24,10229.8,0],"Tanoa Sugar Company","OT_Sugarcane","OT_Sugar"],
66
[[10945.1,7860.1,0],"Kotomo Banana Plantation","","ACE_Banana"],
7-
[[11761.2,6949.91,0],"Sawmill","OT_Wood"],
7+
[[11761.2,6949.91,0],"Sawmill","OT_Wood","OT_Lumber"],
88
[[5511.58,11888.2,0],"Saint-Julien Lumberyard","","OT_Wood"],
99
[[8878.1,11889.1,0],"Galili Lumberyard","","OT_Wood"],
1010
[[12507.4,7820.99,0],"Ouméré Banana Plantations","","ACE_Banana"],

addons/overthrow_main/campaign/missions/OverthrowSpTanoa.Tanoa/data/economy.sqf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ OT_economicData = [
44
[[9456.82,7552.04,0],"Lami Lumberyard","","OT_Wood"],
55
[[8389.24,10229.8,0],"Tanoa Sugar Company","OT_Sugarcane","OT_Sugar"],
66
[[10945.1,7860.1,0],"Kotomo Banana Plantation","","ACE_Banana"],
7-
[[11761.2,6949.91,0],"Sawmill","OT_Wood"],
7+
[[11761.2,6949.91,0],"Sawmill","OT_Wood","OT_Lumber"],
88
[[5511.58,11888.2,0],"Saint-Julien Lumberyard","","OT_Wood"],
99
[[8878.1,11889.1,0],"Galili Lumberyard","","OT_Wood"],
1010
[[12507.4,7820.99,0],"Ouméré Banana Plantations","","ACE_Banana"],

addons/overthrow_main/functions/factions/fn_factionNATO.sqf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ publicVariable "OT_nextNATOTurn";
242242
if(count _flag > 0) then{
243243
deleteVehicle (_flag select 0);
244244
};
245+
deleteMarker format["natofob%1",str _pos];
245246
};
246247
}foreach(_fobs);
247248

addons/overthrow_main/functions/fn_initVar.sqf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ OT_NATOwait = 500; //Half the Average time between NATO orders
156156
OT_CRIMwait = 500; //Half the Average time between crim changes
157157
OT_jobWait = 60;
158158

159-
OT_Resources = ["OT_Wood","OT_Steel","OT_Plastic","OT_Sugarcane","OT_Sugar","OT_Fertilizer"];
159+
OT_Resources = ["OT_Wood","OT_Steel","OT_Plastic","OT_Sugarcane","OT_Sugar","OT_Fertilizer","OT_Lumber","OT_Wine","OT_Grapes","OT_Olives"];
160160

161161
OT_item_CargoContainer = "B_Slingload_01_Cargo_F";
162162

0 commit comments

Comments
 (0)