mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-15 04:32:56 +03:00
Move make fire place to modular_build
This commit is contained in:
@@ -68,8 +68,9 @@ class PartWoodPile : CA_Magazine
|
||||
class ItemActions {
|
||||
class Build {
|
||||
text = $STR_ACTIONS_MAKEFIRE;
|
||||
script = "spawn player_makeFire;"; //Do not use player_build because we have no ghost preview model for Land_Fire_DZ yet
|
||||
use[] = {"PartWoodPile"};
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemMatchbox"};
|
||||
create = "Land_Fire_DZ";
|
||||
};
|
||||
class Crafting
|
||||
{
|
||||
|
||||
@@ -104,18 +104,9 @@ class Land_Fire_DZ : Land_Fire {
|
||||
transportMaxMagazines = 1;
|
||||
transportMaxWeapons = 0;
|
||||
transportMaxBackpacks = 0;
|
||||
offset[] = {0,1,0};
|
||||
constructioncount = 1;
|
||||
class UserActions {
|
||||
/*
|
||||
class upgrade {
|
||||
displayNameDefault = "Create Base Fire";
|
||||
displayName = "Create Base Fire";
|
||||
position = "ohniste";
|
||||
radius = 3;
|
||||
onlyForPlayer = 0;
|
||||
condition = "alive this";
|
||||
statement = "[this] spawn object_upgradeFireplace";
|
||||
};
|
||||
*/
|
||||
class lightup {
|
||||
displayNameDefault = $STR_ACTIONS_LIGHTFIRE;
|
||||
displayName = $STR_ACTIONS_LIGHTFIRE;
|
||||
@@ -135,13 +126,6 @@ class Land_Fire_DZ : Land_Fire {
|
||||
statement = "[this,false] call dayz_inflame";
|
||||
};
|
||||
};
|
||||
/*
|
||||
class Upgrade {
|
||||
requiredTools[] = {"ItemEtool"};
|
||||
requiredParts[] = {"ItemLog", "ItemLog", "ItemStone", "ItemStone", "ItemStone"};
|
||||
create = "Base_Fire_DZ";
|
||||
};
|
||||
*/
|
||||
};
|
||||
|
||||
class Base_Fire_DZ : Land_Fire {
|
||||
|
||||
@@ -25,12 +25,6 @@ class ItemMatchbox : ItemMatchbox_base
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Use
|
||||
{
|
||||
text = $STR_ACTIONS_MAKEFIRE;
|
||||
script = "spawn player_makeFire;"; //Do not use player_build because we have no ghost preview model for Land_Fire_DZ yet
|
||||
use[] = {"PartWoodPile"};
|
||||
};
|
||||
class Combine {
|
||||
text = $STR_ANTIBIOTICS_COMBINE;
|
||||
script = "spawn player_combineMatches;";
|
||||
|
||||
Reference in New Issue
Block a user