mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
[MIRROR] more missing tags (#9918)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
3d40810955
commit
c0ee2c30d3
@@ -626,7 +626,7 @@
|
||||
/client/proc/disconnect_with_message(var/message = "You have been intentionally disconnected by the server.<br>This may be for security or administrative reasons.")
|
||||
message = "<head><title>You Have Been Disconnected</title></head><body><hr><center><b>[message]</b></center><hr><br>If you feel this is in error, you can contact an administrator out-of-game (for example, on Discord).</body>"
|
||||
window_flash(src)
|
||||
src << browse(message,"window=dropmessage;size=480x360;can_close=1")
|
||||
src << browse("<html>[message]</html>","window=dropmessage;size=480x360;can_close=1")
|
||||
qdel(src)
|
||||
|
||||
/// Keydown event in a tgui window this client has open. Has keycode passed to it.
|
||||
|
||||
@@ -1255,7 +1255,7 @@ var/global/list/valid_bloodtypes = list("A+", "A-", "B+", "B-", "AB+", "AB-", "O
|
||||
if(!pref.species_preview || !(pref.species_preview in GLOB.all_species))
|
||||
pref.species_preview = SPECIES_HUMAN
|
||||
var/datum/species/current_species = GLOB.all_species[pref.species_preview]
|
||||
var/dat = "<body>"
|
||||
var/dat = "<html><body>"
|
||||
dat += "<center><h2>[current_species.name] \[<a href='byond://?src=\ref[src];show_species=1'>change</a>\]</h2></center><hr/>"
|
||||
dat += "<table padding='8px'>"
|
||||
dat += "<tr>"
|
||||
@@ -1323,7 +1323,7 @@ var/global/list/valid_bloodtypes = list("A+", "A-", "B+", "B-", "AB+", "AB-", "O
|
||||
dat += "<font color='red'><b>You cannot play as this species.</br><small>This species is not available for play as a station race..</small></b></font></br>"
|
||||
if(!restricted || check_rights(R_ADMIN|R_EVENT, 0) || current_species.spawn_flags & SPECIES_WHITELIST_SELECTABLE) //VOREStation Edit: selectability
|
||||
dat += "\[<a href='byond://?src=\ref[src];set_species=[pref.species_preview]'>select</a>\]"
|
||||
dat += "</center></body>"
|
||||
dat += "</center></body></html>"
|
||||
|
||||
user << browse(dat, "window=species;size=700x400")
|
||||
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
return ..()
|
||||
|
||||
/datum/category_item/player_setup_item/general/flavor/proc/SetFlavorText(mob/user)
|
||||
var/HTML = "<body>"
|
||||
var/HTML = "<html><body>"
|
||||
HTML += "<tt><center>"
|
||||
HTML += span_bold("Set Flavor Text") + " <hr />"
|
||||
HTML += "Note: This is not *literal* flavor of your character. This is visual description of what they look like. <hr />"
|
||||
@@ -129,12 +129,12 @@
|
||||
HTML += TextPreview(pref.flavor_texts["feet"])
|
||||
HTML += "<br>"
|
||||
HTML += "<hr />"
|
||||
HTML += "<tt>"
|
||||
HTML += "<tt></body></html>"
|
||||
user << browse(HTML, "window=flavor_text;size=430x300")
|
||||
return
|
||||
|
||||
/datum/category_item/player_setup_item/general/flavor/proc/SetFlavourTextRobot(mob/user)
|
||||
var/HTML = "<body>"
|
||||
var/HTML = "<html><body>"
|
||||
HTML += "<tt><center>"
|
||||
HTML += span_bold("Set Robot Flavour Text") + " <hr />"
|
||||
HTML += "<br></center>"
|
||||
@@ -146,6 +146,6 @@
|
||||
HTML += TextPreview(pref.flavour_texts_robot[module])
|
||||
HTML += "<br>"
|
||||
HTML += "<hr />"
|
||||
HTML += "<tt>"
|
||||
HTML += "<tt></body></html>"
|
||||
user << browse(HTML, "window=flavour_text_robot;size=430x300")
|
||||
return
|
||||
|
||||
@@ -214,7 +214,7 @@ var/list/preferences_datums = list()
|
||||
dat += "<br><HR></center>"
|
||||
dat += player_setup.content(user)
|
||||
|
||||
dat += "</html></body>"
|
||||
dat += "</body></html>"
|
||||
//user << browse(dat, "window=preferences;size=635x736")
|
||||
winshow(user, "preferences_window", TRUE)
|
||||
var/datum/browser/popup = new(user, "preferences_browser", "Character Setup", 800, 800)
|
||||
|
||||
Reference in New Issue
Block a user