DayZ Scripts
v1.21.156300 ยท Jun 20, 2023
 
Loading...
Searching...
No Matches
ActionConstants.c
Go to the documentation of this file.
4{
5 const float DEFAULT = 1;
6 const float DISINFECT = 10;
7 const float EAT_SMALL = 10;
8 const float EAT_NORMAL = 15;
9 const float EAT_BIG = 25;
10 const float FILL_LIQUID = 200;
11 const float POUR_LIQUID = 100;
12 const float DRAIN_LIQUID = 100;
13 const float DRINK = 65;
14 const float BLOOD = 50;
15 const float SALINE = 100;
16 const float FUEL = 500;
17 const float FIREPLACE_EXTINGUISHER = 200;
18 const float FIREPLACE_LIQUID = 100;
19 const float GARDEN_FERTILIZE = 10;
20 const float GARDEN_WATER = 150;
21 const float GARDEN_DISINFECT_PLANT = 0.06;
22};
23
27{
28 const float DEFAULT = 1;
29 const float DEFAULT_PICK = 1.5;
30 const float DEFAULT_FILL = 8;
31 const float DEFAULT_SORT = 2;
32 const float DEFAULT_CONSTRUCT = 5;
33 const float DEFAULT_DECONSTRUCT = 15;
34 const float DEFAULT_REPAIR_CYCLE = 5;
35 const float DEFAULT_DESTROY = 60;
36 const float DEFAULT_PLACE = 0;
37 const float DEFAULT_DEPLOY = 5;
38 const float DEFAULT_CRAFT = 6;
39
40 const float BANDAGE = 4;
41 const float ADD_FUEL_TO_TORCH = 4;
42 const float APPLY_SPLINT = 10;
43 const float SEW_WOUNDS = 2;
44 const float SEW_CUTS = 8;
45 const float COLLECT_BLOOD = 10;
46 const float COLLECT_SAMPLE = 3;
47 const float TEST_BLOOD = 5;
48 const float DEFIBRILATE = 3;
49 const float INJECT = 3;
50 const float MEASURE_TEMP = 12;
51 const float CHECK_PULSE = 5;
52 const float COVER_HEAD = 0.5;
53 const float RESTRAIN = 10;
54 const float UNRESTRAIN = 20;
55 const float SHAVE = 12.75;
56 const float SKIN = 10;
57
64 const float BASEBUILDING_REPAIR_FAST = 3;
66 const float BASEBUILDING_REPAIR_SLOW = 10;
67
68 const float DRINK_POND = 2.0;
69 const float DRINK_WELL = 3.5;
70
71 const float DIG_GARDEN = 4;
72 const float DIG_STASH = 10;
73 const float DIG_WORMS = 10;
74
75 const float BURY_ASHES = 6;
76 const float BURY_BODY = 12;
77
78 const float LOCK = 2;
79 const float UNLOCK = 2;
80 const float UNPACK = 2;
81 const float WASH_HANDS = 3;
82 const float WRING = 8;
83 const float DISARM_MINE = 15;
86
87 const float MAG_EMPTY = 0.5;
88 const float MAG_LOAD = 0.5;
89
90 const float FIREPLACE_IGNITE = 4;
91 //const float FIREPLACE_HANDDRILL = 8;
92 const float SALINE = 2;
93 const float BLOOD = 2;
94
95 const float START_ENGINE = 0.5;
96 //const float INFINITE = -1;
97
98 const float EXPLOSIVE_ARM = 6;
99};
100
104{
105 const float SMALL = 1.3;
106 const float DEFAULT = 2.0;
107 const float REPAIR = 3.0;
108 const float LARGE = 8.0;
109 const float LADDERS = 1.3;
110 const float BASEBUILDING = 20;
111 const float BASEBUILDING_SHORT = 1.0;
112 const float EXPLOSIVE_REMOTE_ACTIVATION = 100.0;
113};
114
118{
119 const float ROUGH_LOW = 0.01;
120 const float ROUGH_MEDIUM = 0.02;
121 const float ROUGH_HIGH = 0.03;
122 const float PRECISE_LOW = -0.01;
123 const float PRECISE_MEDIUM = -0.02;
124 const float PRECISE_HIGH = -0.03;
125};
126
130{
131 const float BUILD = 4;
132 const float DISMANTLE = 8;
133 const float REPAIR = 3;
134 const float DESTROY = 25;
135 const float SAW_LOCK = 150;
136 const float SKINNING = 4;
137 const float SAW_PLANKS = 4;
138 const float DEFUSE_TOOLS = 2;
139};
140
144{
145 const string SEA = "sea";
146 const string FRESH = "fresh_water";
147 const string STILL = "still_water";
148
149 const string ALL = string.Format("%1|%2|%3", UAWaterType.SEA, UAWaterType.FRESH, UAWaterType.STILL);
150}
151
154class UAMisc
155{
156 const float FLAG_STEP_INCREMENT = 0.2; //0..1
157};
FLAG_STEP_INCREMENT
const float DISMANTLE
const float SAW_LOCK
const float SAW_PLANKS
const float DESTROY
const float DEFUSE_TOOLS
const float SKINNING
const float LADDERS
const float DEFAULT
const float REPAIR
const float EXPLOSIVE_REMOTE_ACTIVATION
const float SMALL
const float LARGE
const float BASEBUILDING_SHORT
const float BASEBUILDING
const float GARDEN_DISINFECT_PLANT
const float GARDEN_WATER
const float DRAIN_LIQUID
const float FIREPLACE_LIQUID
const float EAT_NORMAL
const float GARDEN_FERTILIZE
const float EAT_SMALL
const float DISINFECT
const float POUR_LIQUID
const float FIREPLACE_EXTINGUISHER
const float FILL_LIQUID
const float PRECISE_MEDIUM
const float DEFAULT_SORT
const float BASEBUILDING_CONSTRUCT_SLOW
const float START_ENGINE
const float SALINE
const float BASEBUILDING_REPAIR_MEDIUM
const float BLOOD
const float WRING
const float INJECT
const float DEFAULT
const float DEFAULT_CRAFT
const float DEFAULT_PICK
const float DIG_STASH
const float LOCK
const float UNRESTRAIN
const float APPLY_SPLINT
const float DEFAULT_REPAIR_CYCLE
const float COLLECT_SAMPLE
const float DEFAULT_CONSTRUCT
const float EXPLOSIVE_ARM
const float DIG_GARDEN
const float MAG_LOAD
const float ADD_FUEL_TO_TORCH
const float DISARM_MINE
const float DEFAULT_DEPLOY
const float UNPACK
const float DEFAULT_FILL
const float SKIN
const float BASEBUILDING_CONSTRUCT_MEDIUM
const float DISARM_EXPLOSIVE_REMOTE_UNPAIRED
const float DEFAULT_PLACE
const float BASEBUILDING_CONSTRUCT_FAST
const float MAG_EMPTY
const float SEW_WOUNDS
const float BANDAGE
const float SHAVE
const float SEW_CUTS
const float DISARM_EXPLOSIVE_REMOTE_PAIRED
const float UNLOCK
const float BASEBUILDING_REPAIR_FAST
const float WASH_HANDS
const float BASEBUILDING_REPAIR_SLOW
const float MEASURE_TEMP
const float TEST_BLOOD
const float RESTRAIN
const float DEFAULT_DESTROY
const float BASEBUILDING_DECONSTRUCT_MEDIUM
const float BURY_ASHES
const float BASEBUILDING_DECONSTRUCT_FAST
const float CHECK_PULSE
const float DRINK_WELL
const float BURY_BODY
const float COLLECT_BLOOD
const float BASEBUILDING_DECONSTRUCT_SLOW
const float DRINK_POND
const float FIREPLACE_IGNITE
const float COVER_HEAD
const float DEFAULT_DECONSTRUCT
const float DIG_WORMS
const float DEFIBRILATE
const string STILL
const string SEA
const string ALL
const string FRESH
fake
static proto string Format(string fmt, void param1=NULL, void param2=NULL, void param3=NULL, void param4=NULL, void param5=NULL, void param6=NULL, void param7=NULL, void param8=NULL, void param9=NULL)
Gets n-th character from string.