mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2026-08-22 20:26:47 +01:00
Morrowinventory Port (#75)
This commit is contained in:
@@ -8,6 +8,10 @@ PROCESSING_SUBSYSTEM_DEF(dcs)
|
||||
comp_lookup = SSdcs.comp_lookup
|
||||
|
||||
/datum/controller/subsystem/processing/dcs/proc/GetElement(list/arguments)
|
||||
//skyrat edit
|
||||
if(!istype(arguments) || !arguments.len)
|
||||
return
|
||||
//
|
||||
var/datum/element/eletype = arguments[1]
|
||||
var/element_id = eletype
|
||||
|
||||
|
||||
@@ -689,6 +689,11 @@ SUBSYSTEM_DEF(job)
|
||||
if(!permitted)
|
||||
continue
|
||||
var/obj/item/I = new G.path
|
||||
//skyrat edit
|
||||
if(G.has_colors)
|
||||
if(the_mob.client.prefs.color_gear[G.name])
|
||||
I.color = the_mob.client.prefs.color_gear[G.name]
|
||||
//
|
||||
if(!M.equip_to_slot_if_possible(I, G.slot, disable_warning = TRUE, bypass_equip_delay_self = TRUE)) // If the job's dresscode compliant, try to put it in its slot, first
|
||||
if(iscarbon(M))
|
||||
var/mob/living/carbon/C = M
|
||||
|
||||
Reference in New Issue
Block a user