Adds Medal Commendations!
This commit is contained in:
1
code/_globalvars/lists/medals.dm
Executable file
1
code/_globalvars/lists/medals.dm
Executable file
@@ -0,0 +1 @@
|
||||
GLOBAL_LIST_EMPTY(commendations)
|
||||
0
code/controllers/subsystem/ticker.dm
Normal file → Executable file
0
code/controllers/subsystem/ticker.dm
Normal file → Executable file
15
code/controllers/subsystem/ticker.dm.rej
Normal file
15
code/controllers/subsystem/ticker.dm.rej
Normal 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
8
code/datums/outfit.dm
Normal file → Executable 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
4
code/modules/jobs/job_types/captain.dm
Normal file → Executable 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
|
||||
*/
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user