Adds Medal Commendations!

This commit is contained in:
CitadelStationBot
2017-06-08 20:39:15 -05:00
parent 00790c0fdd
commit 1bdda132e7
6 changed files with 27 additions and 2 deletions

View File

@@ -0,0 +1 @@
GLOBAL_LIST_EMPTY(commendations)

0
code/controllers/subsystem/ticker.dm Normal file → Executable file
View File

View File

@@ -0,0 +1,15 @@
diff a/code/controllers/subsystem/ticker.dm b/code/controllers/subsystem/ticker.dm (rejected hunks)
@@ -613,6 +615,13 @@ SUBSYSTEM_DEF(ticker)
mode.declare_station_goal_completion()
CHECK_TICK
+ //medals, placed far down so that people can actually see the commendations.
+ if(GLOB.commendations)
+ to_chat(world, "<b><font size=3>Medal Commendations:</font></b>")
+ for (var/com in GLOB.commendations)
+ to_chat(world, com)
+
+ CHECK_TICK
//Collects persistence features
SSpersistence.CollectData()

8
code/datums/outfit.dm Normal file → Executable file
View File

@@ -22,6 +22,7 @@
var/internals_slot = null //ID of slot containing a gas tank
var/list/backpack_contents = null // In the list(path=count,otherpath=count) format
var/list/implants = null
var/accessory = null
var/can_be_admin_equipped = TRUE // Set to FALSE if your outfit requires runtime parameters
@@ -64,6 +65,13 @@
if(suit_store)
H.equip_to_slot_or_del(new suit_store(H),slot_s_store)
if(accessory)
var/obj/item/clothing/under/U = H.w_uniform
if(U)
U.attach_accessory(new accessory(H))
else
WARNING("Unable to equip accessory [accessory] in outfit [name]. No uniform present!")
if(l_hand)
H.put_in_l_hand(new l_hand(H))
if(r_hand)

4
code/modules/jobs/job_types/captain.dm Normal file → Executable file
View File

@@ -46,8 +46,8 @@ Captain
dufflebag = /obj/item/weapon/storage/backpack/dufflebag/captain
implants = list(/obj/item/weapon/implant/mindshield)
accessory = /obj/item/clothing/accessory/medal/gold/captain
/*
Head of Personnel
*/

View File

@@ -111,6 +111,7 @@
#include "code\_globalvars\lists\flavor_misc.dm"
#include "code\_globalvars\lists\maintenance_loot.dm"
#include "code\_globalvars\lists\mapping.dm"
#include "code\_globalvars\lists\medals.dm"
#include "code\_globalvars\lists\mobs.dm"
#include "code\_globalvars\lists\names.dm"
#include "code\_globalvars\lists\objects.dm"