From c43ff119a2af3d42b02d3bcd32f169903d3f2c40 Mon Sep 17 00:00:00 2001 From: datlo Date: Sat, 11 Aug 2018 12:39:12 +0100 Subject: [PATCH] Updates announcement Simplified wizard fed announcement on cast, updated spell description Made the spell impossible to improve (quality of life since it can't be refunded) Fixed a bug on one_access airlocks --- code/datums/spells/knock.dm | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/code/datums/spells/knock.dm b/code/datums/spells/knock.dm index f6dee122710..301dd5086b2 100644 --- a/code/datums/spells/knock.dm +++ b/code/datums/spells/knock.dm @@ -34,13 +34,14 @@ /obj/effect/proc_holder/spell/aoe_turf/knock/greater name = "Greater Knock" - desc = "On first cast, will remove access restrictions on all airlocks on the Cyberiad, and announce this spell's use and your arrival to the station. On any further cast, will open all doors in sight. Cannot be refunded once bought!" + desc = "On first cast, will remove access restrictions on all airlocks on the Cyberiad, and announce this spell's use to the station. On any further cast, will open all doors in sight. Cannot be refunded once bought!" charge_max = 200 invocation = "MAIOR OXIN FIERA" invocation_type = "shout" range = 7 - cooldown_min = 40 //40 deciseconds reduction per rank + level_max = 0 //Cannot be improved, quality of life since can't be refunded + cooldown_min = 200 var/used = FALSE /obj/effect/proc_holder/spell/aoe_turf/knock/greater/cast(list/targets, mob/user = usr) @@ -49,10 +50,8 @@ for(var/obj/machinery/door/airlock/A in airlocks) if(is_station_level(A.z)) A.req_access = list() - if(is_station_level(usr.z)) - command_announcement.Announce("We have noticed several issues inhibiting productivity on your station, and would like to help resolve them! We have already improved your airlock access system. No longer will you be unable to get what you need, as of now you can go anywhere you want! One of our employees should already be on-site to further improve your station. Have a pleasant day!", "Greetings!", 'sound/misc/notice2.ogg', , , "Space Wizard Federation Message") - else - command_announcement.Announce("We have noticed several issues inhibiting productivity on your station, and would like to help resolve them! We have already improved your airlock access system. No longer will you be unable to get what you need, as of now you can go anywhere you want! We are sending one of our employees to further improve your station. Have a pleasant day!", "Greetings!", 'sound/misc/notice2.ogg', , , "Space Wizard Federation Message") + A.req_one_access = list() + command_announcement.Announce("We have removed all access requirements on your station's airlocks. You can thank us later!", "Greetings!", 'sound/misc/notice2.ogg', , , "Space Wizard Federation Message") else ..() return \ No newline at end of file