Perform build checks before removing magazines

Also allow tents and stashes to be built without a plot pole (same as
1051).
This commit is contained in:
ebaydayz
2016-04-28 15:32:32 -04:00
parent 034d898880
commit d2ba027863
2 changed files with 19 additions and 5 deletions

View File

@@ -1,4 +1,19 @@
// DayZ tents are defined in \dayz_equip\configs\Storage.hpp
class DZ_storage_base : Land_A_tent {
//Base class for all tents and stashes. Only included here to add Epoch values.
scope=public;
armor = 5;
displayname = $STR_VEH_NAME_STASH;
icon = "";
mapsize = 3;
transportMaxMagazines = 0;
transportMaxWeapons = 0;
transportMaxBackpacks = 0;
// Epoch values
constructioncount = 1;
requireplot = 0;
nounderground = 0;
};
class DomeTentStorage_base;
class DesertTentStorage: DomeTentStorage_base {