Update vanilla building

Vanilla commit:

ad0d514118
This commit is contained in:
ebayShopper
2017-12-04 13:49:12 -05:00
parent 5ca381e95a
commit b39a15cdd7
8 changed files with 310 additions and 48 deletions

View File

@@ -34,7 +34,7 @@
class Build
{
text = $STR_BUILD_CAMONET;
script = "; ['ItemCamoNetGrey','Build'] spawn player_build;";
script = "; ['ItemCamoNetGrey','Build'] spawn player_buildPlaceables;";
require[] = {"ItemToolbox"};
consume[] = {"ItemCamoNetGrey"};
create = "CamoNet_DZ";

View File

@@ -25,7 +25,7 @@ class ItemSandbag : CA_Magazine
class Build2
{
text = $STR_CREATE_STASH;
script = "; [_id,'Build2'] spawn player_build;";
script = "; [_id,'Build2'] spawn player_buildPlaceables;";
require[] = {"ItemEtool"};
consume[] = {"ItemSandbag"};
create = "StashSmall";

View File

@@ -17,7 +17,7 @@ class ItemWire : CA_Magazine
script = "spawn player_build;";
require[] = {"ItemToolbox"};
consume[] = {"ItemWire"};
create = "Fort_RazorWire"; // 1.8.7 uses Wire_cat1
create = "Fort_RazorWire"; // vanilla uses Wire_cat1
byPass = "byPassRoadCheck";
};
};

View File

@@ -9,10 +9,11 @@ class ItemWorkBench : CA_Magazine
descriptionShort = $STR_BLD_desc_ItemWorkBench;//"A Folded Workbench, required for House Building and Some Crafting"
vehicle = "WorkBench";
sfx = "tentunpack";
class ItemActions {
class Build {
text = $STR_BLD_build_ItemWorkBench;//"place WorkBench"
script = "; ['ItemWorkBench','Build'] spawn player_build;";
script = "; ['ItemWorkBench','Build'] spawn player_buildPlaceables;";
require[] = {};
consume[] = {"ItemWorkBench"};
create = "WorkBench";