Adds Byond medal and scoreboard support and tracking for megafauna kills.

This commit is contained in:
Shadowlight213
2016-07-18 17:02:49 -07:00
parent 789e908416
commit e79cebbbef
12 changed files with 193 additions and 2 deletions
+5
View File
@@ -30,6 +30,11 @@ var/global/comms_allowed = 0 //By default, the server does not allow messages to
var/global/cross_address = "byond://" //This needs to be global as the message sent contains the comms key.
var/global/cross_allowed = 0 //Don't bother attempting to send if the address wasn't set.
var/global/medal_hub = null
var/global/medal_pass = " "
var/global/medals_enabled = TRUE //will be auto set to false if the game fails contacting the medal hub to prevent unneeded calls.
//This was a define, but I changed it to a variable so it can be changed in-game.(kept the all-caps definition because... code...) -Errorage
var/MAX_EX_DEVESTATION_RANGE = 3
var/MAX_EX_HEAVY_RANGE = 7