mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
[MIRROR] Warn player about cost of implant uplink (#5471)
* Warn player about cost of implant uplink (#58872) Co-authored-by: celotajstg <celotajstg@ users.noreply.github.com> * Warn player about cost of implant uplink Co-authored-by: Celotajs <81999976+celotajstg@users.noreply.github.com> Co-authored-by: celotajstg <celotajstg@ users.noreply.github.com>
This commit is contained in:
co-authored by
celotajstg
Celotajs
parent
060d4cadcb
commit
30914b8b5f
@@ -315,7 +315,7 @@ GLOBAL_LIST_EMPTY(preferences_datums)
|
||||
dat += "<BR><b>Temporal Scarring:</b><BR><a href='?_src_=prefs;preference=persistent_scars'>[(persistent_scars) ? "Enabled" : "Disabled"]</A>"
|
||||
dat += "<a href='?_src_=prefs;preference=clear_scars'>Clear scar slots</A>"
|
||||
|
||||
dat += "<br><b>Uplink Spawn Location:</b><BR><a href ='?_src_=prefs;preference=uplink_loc;task=input'>[uplink_spawn_loc]</a><BR></td>"
|
||||
dat += "<br><b>Uplink Spawn Location:</b><BR><a href ='?_src_=prefs;preference=uplink_loc;task=input'>[uplink_spawn_loc == UPLINK_IMPLANT ? UPLINK_IMPLANT_WITH_PRICE : uplink_spawn_loc]</a><BR></td>"
|
||||
if (user.client.get_exp_living(TRUE) >= PLAYTIME_VETERAN)
|
||||
dat += "<br><b>Don The Ultimate Gamer Cloak?:</b><BR><a href ='?_src_=prefs;preference=playtime_reward_cloak'>[(playtime_reward_cloak) ? "Enabled" : "Disabled"]</a><BR></td>"
|
||||
var/use_skintones = pref_species.use_skintones
|
||||
@@ -1509,7 +1509,8 @@ GLOBAL_LIST_EMPTY(preferences_datums)
|
||||
if("uplink_loc")
|
||||
var/new_loc = input(user, "Choose your character's traitor uplink spawn location:", "Character Preference") as null|anything in GLOB.uplink_spawn_loc_list
|
||||
if(new_loc)
|
||||
uplink_spawn_loc = new_loc
|
||||
// This is done to prevent affecting saves
|
||||
uplink_spawn_loc = new_loc == UPLINK_IMPLANT_WITH_PRICE ? UPLINK_IMPLANT : uplink_spawn_loc
|
||||
|
||||
if("playtime_reward_cloak")
|
||||
if (user.client.get_exp_living(TRUE) >= PLAYTIME_VETERAN)
|
||||
|
||||
@@ -489,7 +489,7 @@ SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Car
|
||||
skin_tone = sanitize_inlist(skin_tone, GLOB.skin_tones)
|
||||
backpack = sanitize_inlist(backpack, GLOB.backpacklist, initial(backpack))
|
||||
jumpsuit_style = sanitize_inlist(jumpsuit_style, GLOB.jumpsuitlist, initial(jumpsuit_style))
|
||||
uplink_spawn_loc = sanitize_inlist(uplink_spawn_loc, GLOB.uplink_spawn_loc_list, initial(uplink_spawn_loc))
|
||||
uplink_spawn_loc = sanitize_inlist(uplink_spawn_loc, GLOB.uplink_spawn_loc_list_save, initial(uplink_spawn_loc))
|
||||
playtime_reward_cloak = sanitize_integer(playtime_reward_cloak)
|
||||
features["mcolor"] = sanitize_hexcolor(features["mcolor"], 3, 0)
|
||||
features["ethcolor"] = copytext_char(features["ethcolor"], 1, 7)
|
||||
|
||||
Reference in New Issue
Block a user