Bigger ready up panel (#8964)

This commit is contained in:
Wowzewow (Wezzy)
2020-06-03 17:06:10 +08:00
committed by GitHub
parent 9da475706d
commit b44554ae5d
3 changed files with 59 additions and 17 deletions
@@ -27,25 +27,15 @@ INITIALIZE_IMMEDIATE(/mob/abstract/new_player)
new_player_panel_proc()
/mob/abstract/new_player/proc/new_player_panel_proc()
var/output = "<div align='center'><B>Welcome to the [station_name()]!</B><br>"
var/output = "<div align='center'><hr1><B>Welcome to the [station_name()]!</B></hr1><br>"
var/character_name = client.prefs.real_name
if(character_name)
output += "<i>You will board as <b>[character_name]</b>.</i><br>"
if(current_map.description)
output += "<i>[current_map.description]</i><hr>"
output += "<a href='byond://?src=\ref[src];show_preferences=1'>Setup Character</A> "
if(ROUND_IS_STARTED)
output += "<a href='byond://?src=\ref[src];late_join=1'>Join the Game!</A> "
output += "<a href='byond://?src=\ref[src];manifest=1'>View the Crew Manifest</A> "
else
if(ready)
output += "<a href='byond://?src=\ref[src];ready=0'>Un-Ready</a> "
else
output += "<a href='byond://?src=\ref[src];ready=1'>Ready Up</a> "
output += "<a href='byond://?src=\ref[src];observe=1'>Observe</A> "
if(ROUND_IS_STARTED)
output += "<a href='byond://?src=\ref[src];manifest=1'>View the Crew Manifest</A> "
if(!IsGuestKey(src.key))
establish_db_connection(dbcon)
@@ -66,9 +56,19 @@ INITIALIZE_IMMEDIATE(/mob/abstract/new_player)
else
output += "<a href='byond://?src=\ref[src];showpoll=1'>Show Player Polls</A>"
if(character_name)
output += "<hr>You will board as <b>[character_name]</b><br>"
if(ROUND_IS_STARTED)
output += "<a href='byond://?src=\ref[src];late_join=1'>Join the Game</A> "
else
if(ready)
output += "<a href='byond://?src=\ref[src];ready=0'>Un-Ready</a> "
else
output += "<a href='byond://?src=\ref[src];ready=1'>Ready Up</a> "
output += "</div>"
send_theme_resources(src)
src << browse(enable_ui_theme(src, output),"window=playersetup;size=400x280;can_close=0")
src << browse(enable_ui_theme(src, output),"window=playersetup;size=560x280;can_close=0")
/mob/abstract/new_player/Stat()
..()
@@ -0,0 +1,41 @@
################################
# Example Changelog File
#
# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb.
#
# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.)
# When it is, any changes listed below will disappear.
#
# Valid Prefixes:
# bugfix
# wip (For works in progress)
# tweak
# soundadd
# sounddel
# rscadd (general adding of nice things)
# rscdel (general deleting of nice things)
# imageadd
# imagedel
# maptweak
# spellcheck (typo fixes)
# experiment
# balance
# admin
# backend
# security
# refactor
#################################
# Your name.
author: Wowzewow (Wezzy)
# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again.
delete-after: True
# Any changes you've made. See valid prefix list above.
# INDENT WITH TWO SPACES. NOT TABS. SPACES.
# SCREW THIS UP AND IT WON'T WORK.
# Also, all entries are changed into a single [] after a master changelog generation. Just remove the brackets when you add new entries.
# Please surround your changes in double quotes ("), as certain characters otherwise screws up compiling. The quotes will not show up in the changelog.
changes:
- rscadd: "Makes the ready up panel bigger. Tweaks the primer."
+4 -3
View File
@@ -1,9 +1,10 @@
/datum/map/aurora
name = "Aurora"
full_name = "NSS Aurora"
description = "The NSS Aurora is a phoron research and extraction station. It houses facilities for studying all manner of ways to acquire phoron, \
even ways one may think impossible to be related to acquiring the element. It is located on the 361224 Colossus asteroid, \
known for its anomalous and phoron rich nature, partly due to its own location in the Romanovich Cloud."
description = "You're aboard the <b>NSS Aurora</b>, a state-of-the-art station specializing in phoron research and acquisition. \
It is staffed by Nanotrasen personnel and contractors from competing megacorporations. \
Orbiting at the very edge of the Tau Ceti system, approximately 12 light-years away from Sol, \
it is under the joint administration of the Republic of Biesel and the trans-stellar corporate conglomerate NanoTrasen."
path = "aurora"
lobby_screens = list("aurora_asteroid", "aurora_postcard")