mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 22:17:32 +01:00
Removes the 1s option from flashbangs (#26079)
* flashbang 1s gone * time defines * Update code/game/objects/items/weapons/grenades/flashbang.dm Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> Signed-off-by: 1080pCat <96908085+1080pCat@users.noreply.github.com> * Update code/game/objects/items/weapons/grenades/flashbang.dm Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> Signed-off-by: 1080pCat <96908085+1080pCat@users.noreply.github.com> --------- Signed-off-by: 1080pCat <96908085+1080pCat@users.noreply.github.com> Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
This commit is contained in:
@@ -27,6 +27,20 @@
|
||||
bang(T, src, range)
|
||||
qdel(src)
|
||||
|
||||
/obj/item/grenade/flashbang/screwdriver_act(mob/living/user, obj/item/I)
|
||||
switch(det_time)
|
||||
if(0.1 SECONDS)
|
||||
det_time = 3 SECONDS
|
||||
to_chat(user, "<span class='notice'>You set [src] for 3 second detonation time.</span>")
|
||||
if(3 SECONDS)
|
||||
det_time = 5 SECONDS
|
||||
to_chat(user, "<span class='notice'>You set [src] for 5 second detonation time.</span>")
|
||||
if(5 SECONDS)
|
||||
det_time = 0.1 SECONDS
|
||||
to_chat(user, "<span class='notice'>You set [src] for instant detonation.</span>")
|
||||
add_fingerprint(user)
|
||||
return TRUE
|
||||
|
||||
/**
|
||||
* Creates a flashing effect that blinds and deafens mobs within range
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user