[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>
This commit is contained in:
SkyratBot
2020-12-24 12:30:29 +01:00
committed by GitHub
parent 449c45a0d7
commit e9c8fd845d
+4
View File
@@ -937,3 +937,7 @@ SUBSYSTEM_DEF(shuttle)
log_admin("[key_name(usr)] load/replaced [mdp] with the shuttle manipulator.</span>")
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