better war dec checks, added custom war declarations from TG

This commit is contained in:
uraniummeltdown
2017-02-10 21:55:54 +04:00
parent c82c1924c9
commit 4cb4b6be82
2 changed files with 46 additions and 17 deletions
+2
View File
@@ -8,6 +8,7 @@
shuttleId = "syndicate"
possible_destinations = "syndicate_away;syndicate_z5;syndicate_z3;syndicate_ne;syndicate_nw;syndicate_n;syndicate_se;syndicate_sw;syndicate_s"
var/challenge = FALSE
var/moved = FALSE
/obj/machinery/computer/shuttle/syndicate/recall
name = "syndicate shuttle recall terminal"
@@ -18,6 +19,7 @@
if(challenge && world.time < SYNDICATE_CHALLENGE_TIMER)
to_chat(usr, "<span class='warning'>You've issued a combat challenge to the station! You've got to give them at least [round(((SYNDICATE_CHALLENGE_TIMER - world.time) / 10) / 60)] more minutes to allow them to prepare.</span>")
return 0
moved = TRUE
..()
/obj/machinery/computer/shuttle/syndicate/drop_pod