mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
First part of cultist update. Only one new rune, but got the mechanics sorted out.
Possible rev bugfix. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@259 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -219,14 +219,19 @@ FLASHBANG
|
||||
|
||||
/obj/item/weapon/flashbang/attackby(obj/item/weapon/W as obj, mob/user as mob)
|
||||
if (istype(W, /obj/item/weapon/screwdriver))
|
||||
if (src.det_time == 100)
|
||||
src.det_time = 30
|
||||
user.show_message("\blue You set the flashbang for 3 second detonation time.")
|
||||
src.desc = "It is set to detonate in 3 seconds."
|
||||
else
|
||||
src.det_time = 100
|
||||
user.show_message("\blue You set the flashbang for 10 second detonation time.")
|
||||
src.desc = "It is set to detonate in 10 seconds."
|
||||
switch(src.det_time)
|
||||
if ("1")
|
||||
src.det_time = 30
|
||||
user.show_message("\blue You set the flashbang for 3 second detonation time.")
|
||||
src.desc = "It is set to detonate in 3 seconds."
|
||||
if ("30")
|
||||
src.det_time = 100
|
||||
user.show_message("\blue You set the flashbang for 10 second detonation time.")
|
||||
src.desc = "It is set to detonate in 10 seconds."
|
||||
if ("100")
|
||||
src.det_time = 1
|
||||
user.show_message("\blue You set the flashbang for instant detonation.")
|
||||
src.desc = "It is set to detonate instantly."
|
||||
src.add_fingerprint(user)
|
||||
return
|
||||
|
||||
|
||||
@@ -64,8 +64,10 @@ MOP
|
||||
user << "\blue You have finished mopping!"
|
||||
src.reagents.reaction(A,1,10)
|
||||
A.clean_blood()
|
||||
for(var/obj/rune/R in A)
|
||||
del(R)
|
||||
mopcount++
|
||||
else if (istype(A, /obj/decal/cleanable/blood) || istype(A, /obj/overlay) || istype(A, /obj/decal/cleanable/xenoblood) )
|
||||
else if (istype(A, /obj/decal/cleanable/blood) || istype(A, /obj/overlay) || istype(A, /obj/decal/cleanable/xenoblood) || istype(A, /obj/rune) )
|
||||
for(var/mob/O in viewers(user, null))
|
||||
O.show_message(text("\red <B>[user] begins to clean [A]</B>"), 1)
|
||||
sleep(20)
|
||||
|
||||
Reference in New Issue
Block a user