mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 15:08:02 +01:00
Nuka cola speed buff nerf (#14815)
* Nuka cola now gives radiation * Moxian review Co-authored-by: moxian <moxian@users.noreply.github.com> * Nerf speed, remove radiation Co-authored-by: moxian <moxian@users.noreply.github.com>
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
#define GOTTAGOFAST 32
|
||||
#define IGNORESLOWDOWN 128
|
||||
#define IGNORE_SPEED_CHANGES 256
|
||||
#define GOTTAGONOTSOFAST 512 //This is used for nukacola, mormal meth is a "1" speed up, nuka is 0.5 and they don't stack, feel free to use this one somewhere else
|
||||
#define GODMODE 4096
|
||||
#define FAKEDEATH 8192 //Replaces stuff like changeling.changeling_fakedeath
|
||||
#define XENO_HOST 16384 //Tracks whether we're gonna be a baby alien's mummy.
|
||||
|
||||
@@ -228,6 +228,8 @@
|
||||
if(has_gravity(H))
|
||||
if(H.status_flags & GOTTAGOFAST)
|
||||
. -= 1
|
||||
else if(H.status_flags & GOTTAGONOTSOFAST)
|
||||
. -= 0.5
|
||||
|
||||
var/ignoreslow = FALSE
|
||||
if((H.status_flags & IGNORESLOWDOWN) || (RUN in H.mutations))
|
||||
|
||||
@@ -73,11 +73,11 @@
|
||||
update_flags |= M.Druggy(30, FALSE)
|
||||
M.AdjustDizzy(5)
|
||||
M.SetDrowsy(0)
|
||||
M.status_flags |= GOTTAGOFAST
|
||||
M.status_flags |= GOTTAGONOTSOFAST
|
||||
return ..() | update_flags
|
||||
|
||||
/datum/reagent/consumable/drink/cold/nuka_cola/on_mob_delete(mob/living/M)
|
||||
M.status_flags &= ~GOTTAGOFAST
|
||||
M.status_flags &= ~GOTTAGONOTSOFAST
|
||||
..()
|
||||
|
||||
/datum/reagent/consumable/drink/cold/spacemountainwind
|
||||
|
||||
Reference in New Issue
Block a user