From e9c8fd845d30ac77dd669243bfbdd80c74a92e8a Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Thu, 24 Dec 2020 12:30:29 +0100 Subject: [PATCH] [MIRROR] Shuttle Manipulator now gives admins the option to prevent shuttle purchases when they change the emergency shuttle. (#2298) * Butthurt Admin Prevention (#55661) It's a story as old as time itself. Admin loads a new shuttle, decorates it, and then shuttle catastrophe triggers and the admin gets deeply, deeply owned. With this, you can set what emergency shuttle they picked and prevent any more changes to the shuttle! * Shuttle Manipulator now gives admins the option to prevent shuttle purchases when they change the emergency shuttle. Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com> --- code/controllers/subsystem/shuttle.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/controllers/subsystem/shuttle.dm b/code/controllers/subsystem/shuttle.dm index c9604c0d42d..2110c57cabf 100644 --- a/code/controllers/subsystem/shuttle.dm +++ b/code/controllers/subsystem/shuttle.dm @@ -937,3 +937,7 @@ SUBSYSTEM_DEF(shuttle) log_admin("[key_name(usr)] load/replaced [mdp] with the shuttle manipulator.") SSblackbox.record_feedback("text", "shuttle_manipulator", 1, "[mdp.name]") shuttle_loading = FALSE + if(emergency == mdp) //you just changed the emergency shuttle, there are events in game + captains that can change your snowflake choice. + var/set_purchase = alert(usr, "Do you want to also disable shuttle purchases/random events that would change the shuttle?", "Butthurt Admin Prevention", "Yes, disable purchases/events", "No, I want to possibly get owned") + if(set_purchase == "Yes, disable purchases/events") + SSshuttle.shuttle_purchased = SHUTTLEPURCHASE_FORCED