Let Shovel build sandbags, fix errors with toolbox

This commit is contained in:
icomrade
2016-04-26 18:55:30 -04:00
parent bf9140f1b5
commit 53320178f1
2 changed files with 10 additions and 2 deletions

View File

@@ -13,6 +13,14 @@ class ItemShovel : ItemCore
class ItemActions
{
class Build
{
text = "Build Sandbag Fence";
script = "; ['ItemShovel','Build'] spawn player_build; r_action_count = r_action_count + 1;";
require[] = {"ItemShovel"};
consume[] = {"ItemSandbag"};
create = "Sandbag1_DZ";
};
class Use
{
text = $STR_CREATE_STASH;