mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
The path has changed from /obj/item/weapon/mousetrap to /obj/item/device/assembly/mousetrap Deleted mousetraps.dm, and removed the original define from weapon.dm Added a new /obj/item proc, on_found(). It's called when pockets are emptied, and whenever someone looks in a storage item. Currently used only by mousetraps and facehuggers~ Updated the map with path changes. Updated the changelog. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4969 316c924e-a436-60f5-8080-3fe189b3f50e
20 lines
458 B
Plaintext
20 lines
458 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"
|
|
|
|
activate()
|
|
if(!..()) return 0//Cooldown check
|
|
var/turf/location = get_turf(loc)
|
|
if(location) location.hotspot_expose(1000,1000)
|
|
return 1
|
|
|
|
|
|
attack_self(mob/user as mob)
|
|
activate()
|
|
add_fingerprint(user)
|
|
return |