mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
26 lines
608 B
Plaintext
26 lines
608 B
Plaintext
/obj/item/device/assembly/igniter
|
|
name = "igniter"
|
|
desc = "A small electronic device able to ignite combustable substances."
|
|
icon_state = "igniter"
|
|
m_amt = 500
|
|
g_amt = 50
|
|
w_amt = 10
|
|
origin_tech = "magnets=1"
|
|
|
|
secured = 1
|
|
|
|
|
|
activate()
|
|
if(!..()) return 0//Cooldown check
|
|
var/turf/location = get_turf(loc)
|
|
if(location) location.hotspot_expose(1000,1000)
|
|
var/datum/effect/effect/system/spark_spread/s = new /datum/effect/effect/system/spark_spread
|
|
s.set_up(3, 1, src)
|
|
s.start()
|
|
return 1
|
|
|
|
|
|
attack_self(mob/user as mob)
|
|
activate()
|
|
add_fingerprint(user)
|
|
return |