First pass on custom loadouts.

This commit is contained in:
Zuhayr
2014-06-25 15:47:38 +09:30
parent 46cc33b32c
commit 515e78f760
4 changed files with 64 additions and 5 deletions
+4 -2
View File
@@ -73,8 +73,9 @@ datum/preferences
var/r_eyes = 0 //Eye color
var/g_eyes = 0 //Eye color
var/b_eyes = 0 //Eye color
var/species = "Human"
var/species = "Human" //Species datum to use.
var/language = "None" //Secondary language
var/datum/gear //Custom/fluff item loadout.
//Mob preview
var/icon/preview_icon = null
@@ -104,7 +105,6 @@ datum/preferences
// maps each organ to either null(intact), "cyborg" or "amputated"
// will probably not be able to do this for head and torso ;)
var/list/organ_data = list()
var/list/player_alt_titles = new() // the default name of a job like "Medical Doctor"
var/flavor_text = ""
@@ -132,6 +132,8 @@ datum/preferences
gender = pick(MALE, FEMALE)
real_name = random_name(gender)
gear = new /datum/gear()
/datum/preferences
proc/ZeroSkills(var/forced = 0)
for(var/V in SKILLS) for(var/datum/skill/S in SKILLS[V])
+43
View File
@@ -0,0 +1,43 @@
/datum/gear
display_name
display_icon //Icon for preview.
display_icon_name //Icon state for preview.
path //Path to item.
cost //Number of points used.
//Standard gear datums.
/datum/gear/tie_horrible
display_name = "Horrible tie"
display_icon = 'icons/obj/clothing/ties.dmi'
display_icon_name = "horribletie"
path = /obj/item/clothing/tie/horrible
cost = 2
//Species-specific gear datums.
/datum/gear/zhan_furs
display_name = "Zhan-Khazan furs"
display_icon = ''
display_icon_name = "zhan_furs"
path = /obj/item/clothing/suit/tajaran/furs
cost = 3
/datum/gear/zhan_scarf
display_name = "Zhan-Khazan headscarf"
display_icon = ''
display_icon_name = "zhan_scarf"
path = /obj/item/clothing/head/tajaran/scarf
cost = 2
/datum/gear/unathi_robe
display_name = "Roughspun robe"
display_icon = ''
display_icon_name = ""
path =
cost = 3
/datum/gear/unathi_mantle
display_name = "Hide mantle"
display_icon = ''
display_icon_name = ""
path =
cost = 2