mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Malf announcement type change.
Malf announcements are now command instead of priority announcements. This will make them be logged by newscasters. Fixes #11325.
This commit is contained in:
@@ -85,7 +85,7 @@
|
|||||||
|
|
||||||
/datum/game_mode/malfunction/verb/advanced_encryption_hack()
|
/datum/game_mode/malfunction/verb/advanced_encryption_hack()
|
||||||
set category = "Software"
|
set category = "Software"
|
||||||
set name = "Advanced Encrypthion Hack"
|
set name = "Advanced Encryption Hack"
|
||||||
set desc = "75 CPU - Attempts to bypass encryption on Central Command Quantum Relay, giving you ability to fake centcom messages. Has chance of failing."
|
set desc = "75 CPU - Attempts to bypass encryption on Central Command Quantum Relay, giving you ability to fake centcom messages. Has chance of failing."
|
||||||
var/price = 75
|
var/price = 75
|
||||||
var/mob/living/silicon/ai/user = usr
|
var/mob/living/silicon/ai/user = usr
|
||||||
@@ -106,15 +106,12 @@
|
|||||||
announce_hack_failure(user, "quantum message relay")
|
announce_hack_failure(user, "quantum message relay")
|
||||||
return
|
return
|
||||||
|
|
||||||
var/datum/announcement/priority/command/AN = new/datum/announcement/priority/command()
|
command_announcement.Announce(text, title)
|
||||||
AN.title = title
|
|
||||||
AN.Announce(text)
|
|
||||||
|
|
||||||
|
|
||||||
/datum/game_mode/malfunction/verb/elite_encryption_hack()
|
/datum/game_mode/malfunction/verb/elite_encryption_hack()
|
||||||
set category = "Software"
|
set category = "Software"
|
||||||
set name = "Elite Encryption Hack"
|
set name = "Elite Encryption Hack"
|
||||||
set desc = "200 CPU - Allows you to hack station's ALERTCON system, changing alert level. Has high chance of failijng."
|
set desc = "200 CPU - Allows you to hack station's ALERTCON system, changing alert level. Has high chance of failing."
|
||||||
var/price = 200
|
var/price = 200
|
||||||
var/mob/living/silicon/ai/user = usr
|
var/mob/living/silicon/ai/user = usr
|
||||||
if(!ability_prechecks(user, price))
|
if(!ability_prechecks(user, price))
|
||||||
|
|||||||
Reference in New Issue
Block a user