mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-16 17:44:25 +01:00
Adds more tails into the game (#17496)
* More tails Includes a savefile migration as well Adds more tails from downstream Notes for later to make deconflicting easier: To be removed: modular_chomp/icons/mob/vore/tails.dmi icons/mob/vore/tails_ch.dmi modular_chomp/icons/mob/vore/Tails64x32.dmi icons/mob/vore/taurs_yw.dmi code/modules/vore/appearance/sprite_accessories_taur_yw.dm icons/mob/vore/tails_yw.dmi code/modules/vore/appearance/sprite_accessories_yw.dm (The tails here) sprite_accessories_tail_ch.dm sprite_accessories_tail.dm * YOU TOO * Adds Qaavos and Anteater Longtails * Update sprite_accessories_tail.dm
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
/// Changes a few tails to their new paths.
|
||||
/datum/preferences/proc/migration_17_tails(datum/json_savefile/S)
|
||||
for(var/slot in 1 to CONFIG_GET(number/character_slots))
|
||||
var/list/prefs = S.get_entry("character[slot]", null)
|
||||
if(!islist(prefs))
|
||||
continue
|
||||
prefs["tail_style"] = replacetext(prefs["tail_style"], "Kitsune 3 tails - colorable", "Kitsune 3 tails, colorable")
|
||||
prefs["tail_style"] = replacetext(prefs["tail_style"], "Kitsune 9 tails - colorable", "Kitsune 9 tails, colorable")
|
||||
|
||||
prefs["tail_style"] = replacetext(prefs["tail_style"], "Male teshari tail(Pattern)", "Teshari male tail pattern")
|
||||
prefs["tail_style"] = replacetext(prefs["tail_style"], "Female teshari tail(Pattern)", "Teshari female tail pattern")
|
||||
|
||||
prefs["tail_style"] = replacetext(prefs["tail_style"], "Male teshari tail(Pattern, Alt.)", "Teshari male tail alt. pattern")
|
||||
prefs["tail_style"] = replacetext(prefs["tail_style"], "Female teshari tail(Pattern, Alt.)", "Teshari fem tail alt. pattern")
|
||||
|
||||
prefs["tail_style"] = replacetext(prefs["tail_style"], "feathered Raptor, duel colorable", "feathered Raptor, dual colorable")
|
||||
S.set_entry("character[slot]", prefs)
|
||||
|
||||
S.save()
|
||||
@@ -1,5 +1,5 @@
|
||||
#define SAVEFILE_VERSION_MIN 8
|
||||
#define SAVEFILE_VERSION_MAX 16
|
||||
#define SAVEFILE_VERSION_MAX 17
|
||||
|
||||
/*
|
||||
SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Carn
|
||||
@@ -79,6 +79,15 @@ SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Car
|
||||
log_debug("[client_ckey] preferences successfully migrated from [current_version] to v16.")
|
||||
to_chat(client, span_danger("v16 savefile migration complete."))
|
||||
|
||||
// Migration for old named tails so downstream doesn't have their savefiles borked
|
||||
if(current_version < 17)
|
||||
log_debug("[client_ckey] preferences migrating from [current_version] to v17....")
|
||||
to_chat(client, span_danger("Migrating savefile from version [current_version] to v17..."))
|
||||
|
||||
migration_17_tails(S)
|
||||
|
||||
log_debug("[client_ckey] preferences successfully migrated from [current_version] to v17.")
|
||||
to_chat(client, span_danger("v17 savefile migration complete."))
|
||||
|
||||
/datum/preferences/proc/update_character(current_version, list/save_data)
|
||||
// Migration from BYOND savefiles to JSON: Important milemark.
|
||||
|
||||
Reference in New Issue
Block a user