Commit Graph

37 Commits

Author SHA1 Message Date
ebaydayz
c2b16f0828 Consolidate DZE_ActionInProgress and r_action_count to one variable
There is no point in having two variables for the same purpose.

It is also pointless to keep an action count tally like r_action_count
was doing, since it is only ever checked for being 0 or 1. Any count
higher or lower than that is irrelevant.

I will make this change in vanilla too.
2016-08-25 15:38:27 -04:00
ebaydayz
fd2eb14c5e Give inTraderCity a default value
There is no point in setting inTraderCity = "Any"; since you can use the
isInTraderCity variable to check if a player is in any trader city. Also
"Any" will return false for isNil, so the only time "Unknown Trader
City" was being used was when the player had not entered any city yet.
If they left a known trader and went to an unknown one the RPT message
would say "bought x at Any". Now it will correctly say "Unknown Trader"
anytime a purchase is made without inTraderCity being set.
2016-07-29 15:48:51 -04:00
ebaydayz
2f98fc0451 Prevent MeleeMagazines being counted by BIS_fnc_inv 2016-05-03 13:35:50 -04:00
ebaydayz
5157228e67 Update all cutText to dayz_rollingMessages 2016-04-16 15:47:49 -04:00
ebaydayz
91f9b3e33b Make UI toggleable between three options
Admin can choose vanilla, classic epoch or classic epoch dark.

dayz_hungerThirst was replaced with dayz_NutritionSystem
2016-03-29 19:54:19 -04:00
ebaydayz
e2e6e79394 Minor formatting cleanup 2016-03-21 17:58:23 -04:00
ebaydayz
2803847aa0 Remove more unused strings 2016-03-10 14:33:16 -05:00
icomrade
c3ed4e49e1 Replace sleep with uiSleep
see the below links for more info. uiSleep is based off of a more
accurate method of tracking time, whereas sleep can fluctuate depending
on application performance since it is based on framerate.
https://community.bistudio.com/wiki/uiSleep
https://community.bistudio.com/wiki/sleep_vs_uiSleep
https://community.bistudio.com/wiki/sleep
2016-02-17 13:03:17 -05:00
icomrade
e54b9983dd Replace forEach with Count
Use count where you do not need _forEachIndex variable, it's quicker
than forEach.
2014-05-27 15:37:57 -04:00
Cornyfisch
881362d237 Moved gear logic 2014-05-13 00:49:02 +02:00
Cornyfisch
4d6055af8b Check trade requirements before animation 2014-05-12 19:09:14 +02:00
[VB]AWOL
bf3154dd2b added missing ) 2014-03-12 10:42:13 -05:00
[VB]AWOL
217636511a fix #1128 should work but needs tested. 2014-03-06 16:16:08 -06:00
[VB]AWOL
c0a9f28c07 comment out more debug 2014-02-27 09:34:57 -06:00
[VB]AWOL
6111f9f402 fixes #1042 2014-01-30 11:47:44 -06:00
[VB]AWOL
b4dfed3546 finalized trader changes 2014-01-27 16:47:34 -06:00
[VB]AWOL
3c08c40e2e fixed abort 2014-01-26 20:12:06 -06:00
[VB]AWOL
474e96e9ac add new trade system for items
will auto convert to highest bar count

also line 289 fixes Error ==: Type Array when tagging friendly
2014-01-26 13:04:56 -06:00
ctc.Sebi
152054da94 Update trade_items.sqf 2014-01-07 16:35:28 +01:00
Zac Surplice
1309758166 remove copper 2013-12-23 17:43:47 +11:00
Zac Surplice
6a58370670 small change 2013-11-27 15:42:38 +11:00
[VB]AWOL
a46cec0036 fixes to trading 2013-11-26 22:25:53 -06:00
[VB]AWOL
84874daa18 added thirst and hunger loss to all medic animation 2013-11-26 16:08:10 -06:00
[VB]AWOL
e92d212d16 added logging to swap object and changed to getPlayerUID 2013-11-26 14:12:23 -06:00
[VB]AWOL
86d1053012 fixed #755 2013-11-24 18:41:27 -06:00
[VB]AWOL
0062836019 fixed #648 2013-11-17 14:40:50 -06:00
[VB]AWOL
79c671cb51 missing publicvariableserver 2013-11-17 00:48:46 -06:00
[VB]AWOL
26f9238cf9 need quotes if using isnil 2013-11-17 00:24:29 -06:00
Skaronator
253d5ccc39 New Logsystem Script Side 2013-11-16 15:42:52 +01:00
Zac Surplice
7b802a38a5 localization fix 2013-11-12 11:53:16 +11:00
Zac Surplice
9a601182bb localization #3 2013-11-07 02:05:05 +11:00
Zac Surplice
cf2cdc037a localization #2 2013-11-06 19:34:53 +11:00
[VB]AWOL
aa14a03c4e added server side logging of purchases of vehicles and removals 2013-10-27 10:22:29 -05:00
Zac Surplice
d3f7e67647 player_build.sqf Enhancements and PV renames 2013-10-07 10:56:47 +11:00
[VB]AWOL
a0d5574dfe 1.0.2.12 developer build 2013-09-08 20:30:32 -05:00
vbawol
91b05db8e0 1.0.1.2 Release
+ [CHANGED] commented out many diag_logs
+ [CHANGED] bandit status is now at -5000 instead of -2000
2013-06-26 09:11:30 -05:00
vbawol
483279c126 Organize files a bit and removed non source pbo's 2013-06-24 06:26:15 -05:00