mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
Attack Chain Migration: /obj/item/card (#27556)
* the work so far * She returns on my TRUE till I ITEM_INTERACT_SUCCESS * do this too (rip good commit name) * Did you know? You can stamp ID cards!
This commit is contained in:
@@ -89,18 +89,19 @@
|
||||
|
||||
/obj/item/megaphone/cmag_act(mob/user)
|
||||
if(HAS_TRAIT(src, TRAIT_CMAGGED))
|
||||
return
|
||||
return FALSE
|
||||
if(user)
|
||||
to_chat(user, "<span class='warning'>You drip some yellow ooze into [src]'s voice synthesizer, gunking it up.</span>")
|
||||
playsound(src, "sparks", 75, TRUE, SHORT_RANGE_SOUND_EXTRARANGE)
|
||||
ADD_TRAIT(src, TRAIT_CMAGGED, CLOWN_EMAG)
|
||||
return TRUE
|
||||
|
||||
/obj/item/megaphone/emag_act(mob/user)
|
||||
if(emagged)
|
||||
return
|
||||
return FALSE
|
||||
if(HAS_TRAIT(src, TRAIT_CMAGGED)) // one at a time
|
||||
to_chat(user, "<span class='warning'>You go to short out [src], but it's covered in yellow ooze! You don't want to gunk up your emag!</span>")
|
||||
return
|
||||
return FALSE
|
||||
to_chat(user, "<span class='danger'>You short out [src]'s dampener circuits.</span>")
|
||||
emagged = TRUE
|
||||
span = "reallybig userdanger" // really obvious, but also really loud
|
||||
|
||||
Reference in New Issue
Block a user