Makes the character preview not be intended for ants (#9948)

This commit is contained in:
fernerr
2020-09-13 02:03:40 -03:00
committed by GitHub
parent 8066964d8d
commit 35c45cb459
5 changed files with 18 additions and 3 deletions
@@ -195,7 +195,7 @@ var/global/list/valid_bloodtypes = list("A+", "A-", "B+", "B-", "AB+", "AB-", "O
out += "<br>"
out += "Species: <a href='?src=\ref[src];show_species=1'>[pref.species]</a><br>"
out += "Blood Type: <a href='?src=\ref[src];blood_type=1'>[pref.b_type]</a><br>"
out += "<a href='?src=\ref[src];cycle_bg=1'>Cycle background</a><br>"
out += "<a href='?src=\ref[src];cycle_bg=1'>Cycle preview background</a><br>"
if(has_flag(mob_species, HAS_SKIN_TONE))
out += "Skin Tone: <a href='?src=\ref[src];skin_tone=1'>[-pref.s_tone + 35]/220</a><br>"
out += "Disabilities: <a href='?src=\ref[src];trait_add=1'>Adjust</a><br>"
+13 -2
View File
@@ -158,7 +158,17 @@ datum/preferences
var/datum/category_collection/player_setup_collection/player_setup
var/bgstate = "000"
var/list/bgstate_options = list("000", "FFF", "steel", "white", "plating", "reinforced")
var/list/bgstate_options = list(
"fffff",
"000",
"new_steel",
"dark2",
"wood",
"wood_light",
"grass_alt",
"new_reinforced",
"new_white"
)
/datum/preferences/New(client/C)
new_setup()
@@ -276,8 +286,9 @@ datum/preferences
var/obj/screen/BG= LAZYACCESS(char_render_holders, "BG")
if(!BG)
BG = new
BG.appearance_flags = TILE_BOUND|PIXEL_SCALE|NO_CLIENT_COLOR
BG.layer = TURF_LAYER
BG.icon = 'icons/effects/128x48.dmi'
BG.icon = 'icons/turf/total_floors.dmi'
LAZYSET(char_render_holders, "BG", BG)
client.screen |= BG
BG.icon_state = bgstate