mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-24 17:11:40 +00:00
Knock now unbolts doors as well as opens them. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@880 316c924e-a436-60f5-8080-3fe189b3f50e
24 lines
437 B
Plaintext
24 lines
437 B
Plaintext
/obj/spell/knock
|
|
name = "Knock"
|
|
desc = "This spell opens nearby doors and does not require wizard garb."
|
|
|
|
school = "transmutation"
|
|
recharge = 100
|
|
clothes_req = 0
|
|
invocation = "AULIE OXIN FIERA"
|
|
invocation_type = "whisper"
|
|
range = 3
|
|
|
|
/obj/spell/knock/Click()
|
|
..()
|
|
|
|
if(!cast_check())
|
|
return
|
|
|
|
invocation()
|
|
|
|
for(var/obj/machinery/door/G in oview(usr,range))
|
|
spawn(1)
|
|
G:locked = 0
|
|
G.open()
|
|
return |