mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2026-08-28 23:26:43 +01:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
@@ -77,8 +77,17 @@ PROCESSING_SUBSYSTEM_DEF(station)
|
||||
var/datum/station_trait/trait_instance = new trait_type()
|
||||
can_fire = can_fire || trait_instance.trait_processes
|
||||
station_traits += trait_instance
|
||||
log_game("Station Trait: [trait_instance.name] chosen for this round.")
|
||||
if(!trait_instance.blacklist)
|
||||
return
|
||||
for(var/i in trait_instance.blacklist)
|
||||
var/datum/station_trait/trait_to_remove = i
|
||||
selectable_traits_by_types[initial(trait_to_remove.trait_type)] -= trait_to_remove
|
||||
|
||||
/// Update station trait lobby buttons for clients who joined before we initialised this subsystem
|
||||
/datum/controller/subsystem/processing/station/proc/display_lobby_traits()
|
||||
for (var/mob/dead/new_player/player as anything in GLOB.new_player_list)
|
||||
var/datum/hud/new_player/observer_hud = player.hud_used
|
||||
if (!istype(observer_hud))
|
||||
continue
|
||||
observer_hud.show_station_trait_buttons()
|
||||
|
||||
@@ -169,7 +169,7 @@ SUBSYSTEM_DEF(ticker)
|
||||
start_at = world.time + (CONFIG_GET(number/lobby_countdown) * 10)
|
||||
for(var/client/C in GLOB.clients)
|
||||
window_flash(C, ignorepref = TRUE) //let them know lobby has opened up.
|
||||
to_chat(world, "<span class='boldnotice'>Welcome to [station_name()]!</span>")
|
||||
to_chat(world, span_boldnotice("Welcome to [station_name()]!"))
|
||||
send2chat(new /datum/tgs_message_content("New round starting on [SSmapping.config.map_name]!"), CONFIG_GET(string/chat_announce_new_game))
|
||||
current_state = GAME_STATE_PREGAME
|
||||
//SPLURT EDIT - Bring back old panel
|
||||
@@ -445,7 +445,7 @@ SUBSYSTEM_DEF(ticker)
|
||||
if (living.client.prefs && living.client.prefs.auto_ooc)
|
||||
if (living.client.prefs.chat_toggles & CHAT_OOC)
|
||||
living.client.prefs.chat_toggles ^= CHAT_OOC
|
||||
var/atom/movable/screen/splash/S = new(living.client, TRUE)
|
||||
var/atom/movable/screen/splash/S = new(null, living.client, TRUE)
|
||||
S.Fade(TRUE)
|
||||
living.client.init_verbs()
|
||||
livings += living
|
||||
|
||||
@@ -76,7 +76,7 @@ SUBSYSTEM_DEF(title)
|
||||
for(var/thing in GLOB.clients)
|
||||
if(!thing)
|
||||
continue
|
||||
var/atom/movable/screen/splash/S = new(thing, FALSE)
|
||||
var/atom/movable/screen/splash/S = new(null, thing, FALSE)
|
||||
S.Fade(FALSE,FALSE)
|
||||
|
||||
// Save the sound path
|
||||
|
||||
Reference in New Issue
Block a user