diff --git a/code/game/gamemodes/miniantags/guardian/guardian.dm b/code/game/gamemodes/miniantags/guardian/guardian.dm index 17d7187f439..387cd03aceb 100644 --- a/code/game/gamemodes/miniantags/guardian/guardian.dm +++ b/code/game/gamemodes/miniantags/guardian/guardian.dm @@ -271,6 +271,7 @@ var/used = FALSE var/theme = "magic" var/mob_name = "Guardian Spirit" + var/confirmation_message = "The cards are still unused. Do you wish to use them?" var/use_message = "You shuffle the deck..." var/used_message = "All the cards seem to be blank now." var/failure_message = "..And draw a card! It's...blank? Maybe you should try again later." @@ -295,6 +296,10 @@ if(used == TRUE) to_chat(user, "[used_message]") return + var/choice = alert(user, "[confirmation_message]",, "Yes", "No") + if(choice == "No") + to_chat(user, "You decide against using the [name].") + return used = TRUE to_chat(user, "[use_message]") var/list/mob/dead/observer/candidates = pollCandidates("Do you want to play as the [mob_name] of [user.real_name]?", ROLE_GUARDIAN, 0, 100) @@ -384,6 +389,7 @@ icon_state = "combat_hypo" theme = "tech" mob_name = "Holoparasite" + confirmation_message = "The injector still contains holoparasites. Do you wish to use it?" use_message = "You start to power on the injector..." used_message = "The injector has already been used." failure_message = "...ERROR. BOOT SEQUENCE ABORTED. AI FAILED TO INTIALIZE. PLEASE CONTACT SUPPORT OR TRY AGAIN LATER." @@ -424,6 +430,7 @@ theme = "bio" mob_name = "Scarab Swarm" use_message = "The eggs begin to twitch..." + confirmation_message = "These eggs are still dormant. Do you wish to activate them?" used_message = "The cluster already hatched." failure_message = "...but soon settles again. Guess they weren't ready to hatch after all." color_list = list("Rose" = "#F62C6B",