Commit Graph

24 Commits

Author SHA1 Message Date
AirwavesMan
eec3be93ca Fix humanity gain on trading
Thx @Schalldampfer
2021-02-01 09:00:38 +01:00
AirwavesMan
4f106220b2 Update the trade item system
The trading system to trade zombies parts and get in return bio meat got updated.
Server admins can add a humanity value as 5th value in the array. Also heros and bandits trade dogs tags now and players get humanity from them. This can be edited by server admins too.
2020-09-09 17:43:57 +02:00
A Man
57a1f3cfa9 Localize and clean up trade_items_wo_db 2019-12-03 23:54:04 +01:00
ebaydayz
33672d99ee Lower or remove nutrition hit for some actions #1857
Fixes #1857
2017-01-06 13:27:22 -05:00
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
134a614255 Remove FNC_getPlayerUID
It's been over two years since it was added. All servers should be
updated to steam ID by now.
2016-08-23 15:40:26 -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
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
33e9c7669b GetPlayerUID compile, update skin change 2014-07-17 14:29:17 -04:00
icomrade
3491e4462d Add variable 2014-06-30 12:46:06 -04:00
icomrade
6f8efd8428 Legacy UID 2014-06-30 11:53:14 -04: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
Zac Surplice
6a58370670 small change 2013-11-27 15:42:38 +11: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
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
vbawol
42c33bcf14 private array + one fix 2013-07-01 13:31:18 -05:00
vbawol
70f839c298 Humanity changes for killing zeds and more.
[ADDED] +5 humanity for killing zombie, -10 for gutting, +20 for
exchanging zombie parts for biomeat.
2013-07-01 10:24:42 -05:00
vbawol
483279c126 Organize files a bit and removed non source pbo's 2013-06-24 06:26:15 -05:00