@@ -286,4 +286,4 @@ GLOBAL_LIST_INIT(greyscale_limb_types, list("human","moth","lizard","pod","plant
|
|||||||
GLOBAL_LIST_INIT(prosthetic_limb_types, list("xion","bishop","cybersolutions","grayson","hephaestus","nanotrasen","talon"))
|
GLOBAL_LIST_INIT(prosthetic_limb_types, list("xion","bishop","cybersolutions","grayson","hephaestus","nanotrasen","talon"))
|
||||||
|
|
||||||
//list of eye types, corresponding to a respective left and right icon state for the set of eyes
|
//list of eye types, corresponding to a respective left and right icon state for the set of eyes
|
||||||
GLOBAL_LIST_INIT(eye_types, list("normal", "insect"))
|
GLOBAL_LIST_INIT(eye_types, list("normal", "insect", "moth", "double", "double2", "cyclops"))
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
// You do not need to raise this if you are adding new values that have sane defaults.
|
// You do not need to raise this if you are adding new values that have sane defaults.
|
||||||
// Only raise this value when changing the meaning/format/name/layout of an existing value
|
// Only raise this value when changing the meaning/format/name/layout of an existing value
|
||||||
// where you would want the updater procs below to run
|
// where you would want the updater procs below to run
|
||||||
#define SAVEFILE_VERSION_MAX 36
|
#define SAVEFILE_VERSION_MAX 37
|
||||||
|
|
||||||
/*
|
/*
|
||||||
SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Carn
|
SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Carn
|
||||||
@@ -204,10 +204,19 @@ SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Car
|
|||||||
if(S["species"] == "lizard")
|
if(S["species"] == "lizard")
|
||||||
features["mam_snouts"] = features["snout"]
|
features["mam_snouts"] = features["snout"]
|
||||||
|
|
||||||
if(current_version < 36)
|
if(current_version < 36) //introduction of heterochromia
|
||||||
left_eye_color = S["eye_color"]
|
left_eye_color = S["eye_color"]
|
||||||
right_eye_color = S["eye_color"]
|
right_eye_color = S["eye_color"]
|
||||||
|
|
||||||
|
if(current_version < 37) //introduction of chooseable eye types/sprites
|
||||||
|
if(S["species"] == "insect")
|
||||||
|
left_eye_color = "#000000"
|
||||||
|
right_eye_color = "#000000"
|
||||||
|
if(chosen_limb_id == "moth" || chosen_limb_id == "moth_not_greyscale") //these actually have slightly different eyes!
|
||||||
|
eye_type = "moth"
|
||||||
|
else
|
||||||
|
eye_type = "insect"
|
||||||
|
|
||||||
/datum/preferences/proc/load_path(ckey,filename="preferences.sav")
|
/datum/preferences/proc/load_path(ckey,filename="preferences.sav")
|
||||||
if(!ckey)
|
if(!ckey)
|
||||||
return
|
return
|
||||||
|
|||||||
@@ -591,7 +591,9 @@ GLOBAL_LIST_EMPTY(roundstart_race_names)
|
|||||||
else
|
else
|
||||||
var/left_state = DEFAULT_LEFT_EYE_STATE
|
var/left_state = DEFAULT_LEFT_EYE_STATE
|
||||||
var/right_state = DEFAULT_RIGHT_EYE_STATE
|
var/right_state = DEFAULT_RIGHT_EYE_STATE
|
||||||
if(GLOB.eye_types[eye_type])
|
message_admins("okay so our eye type is [eye_type] and we can index it to know [GLOB.eye_types[eye_type]]")
|
||||||
|
if(eye_type in GLOB.eye_types)
|
||||||
|
message_admins("to know that it's in!")
|
||||||
left_state = eye_type + "_left_eye"
|
left_state = eye_type + "_left_eye"
|
||||||
right_state = eye_type + "_right_eye"
|
right_state = eye_type + "_right_eye"
|
||||||
var/mutable_appearance/left_eye = mutable_appearance('icons/mob/eyes.dmi', left_state, -BODY_LAYER)
|
var/mutable_appearance/left_eye = mutable_appearance('icons/mob/eyes.dmi', left_state, -BODY_LAYER)
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 431 B After Width: | Height: | Size: 473 B |
Binary file not shown.
|
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 44 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 91 KiB After Width: | Height: | Size: 91 KiB |
Reference in New Issue
Block a user