Requires the nuclear codes to unanchor an armed nuke (#17879)

This commit is contained in:
Qwertytoforty
2022-06-06 16:51:38 -04:00
committed by GitHub
parent ca0f0ed9e8
commit 052ea35dd7
@@ -362,6 +362,9 @@ GLOBAL_VAR(bomb_set)
to_chat(usr, "<span class='warning'>There is nothing to anchor to!</span>")
return FALSE
else
if(!yes_code && anchored && timing)
to_chat(usr, "<span class='warning'>The code is required to unanchor [src] when armed!</span>")
return
anchored = !(anchored)
if(anchored)
visible_message("<span class='warning'>With a steely snap, bolts slide out of [src] and anchor it to the flooring.</span>")