mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-10 01:22:41 +00:00
* initial checkin * Add everything but maps * update paths * Patches some minor bugs across twohanded things * remove a stowaway * Update code/__DEFINES/dcs/signals.dm Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> * Contra review * Fix kc * hopefully fix file perms * Fix file perms * revert line-endings * uh? * Trying once again to fix file formats * henri review 1 * henri review 2 * update from master * Removes override that breaks modsuits * re-add reference --------- Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
39 lines
736 B
Plaintext
39 lines
736 B
Plaintext
/datum/wires/explosive
|
|
wire_count = 1
|
|
proper_name = "Explosive"
|
|
window_x = 320
|
|
window_y = 50
|
|
|
|
/datum/wires/explosive/New(atom/_holder)
|
|
wires = list(WIRE_EXPLODE)
|
|
return ..()
|
|
|
|
/datum/wires/explosive/proc/explode()
|
|
return
|
|
|
|
/datum/wires/explosive/on_pulse(wire)
|
|
switch(wire)
|
|
if(WIRE_EXPLODE)
|
|
explode()
|
|
..()
|
|
|
|
/datum/wires/explosive/on_cut(wire, mend)
|
|
switch(wire)
|
|
if(WIRE_EXPLODE)
|
|
if(!mend)
|
|
explode()
|
|
..()
|
|
|
|
/datum/wires/explosive/gibtonite
|
|
holder_type = /obj/item/gibtonite
|
|
|
|
/datum/wires/explosive/gibtonite/interactable(mob/user)
|
|
return TRUE
|
|
|
|
/datum/wires/explosive/gibtonite/on_cut(wire, mend)
|
|
return
|
|
|
|
/datum/wires/explosive/gibtonite/explode()
|
|
var/obj/item/gibtonite/P = holder
|
|
P.GibtoniteReaction(null, 2)
|