Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
Merge pull request Mojave-Sun#78 from Koshenko/title_icon
Browse files Browse the repository at this point in the history
Server title, icon, and splashscreen
  • Loading branch information
Hekzder authored May 4, 2020
2 parents 094067e + 7c2303b commit e1f5481
Show file tree
Hide file tree
Showing 8 changed files with 1,245 additions and 4 deletions.
8 changes: 7 additions & 1 deletion code/game/turfs/closed/_closed.dm
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,13 @@
*/

..()
icon_state = "title_loading"
icon_state = "transition"
addtimer(CALLBACK(src, .proc/swap_splashscreen, 'fallout/icons/title_roll.dmi', ""), 5 SECONDS)
addtimer(CALLBACK(src, .proc/swap_splashscreen, 'fallout/icons/splashscreen.dmi', "title_loading"), 40 SECONDS)

/turf/closed/indestructible/splashscreen/proc/swap_splashscreen(new_icon, new_icon_state)
icon = new_icon
icon_state = new_icon_state

/turf/closed/indestructible/splashscreen/vv_edit_var(var_name, var_value)
. = ..()
Expand Down
4 changes: 2 additions & 2 deletions config/config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ $include antag_rep.txt
# There are various options which are hard-locked for security reasons.

## Server name: This appears at the top of the screen in-game and in the BYOND hub. Uncomment and replace 'tgstation' with the name of your choice.
SERVERNAME Bad Deathclaw
SERVERNAME Mojave Sun

## Server SQL name: This is the name used to identify the server to the SQL DB, distinct from SERVERNAME as it must be at most 32 characters.
# SERVERSQLNAME tgstation

## Station name: The name of the station as it is referred to in-game. If commented out, the game will generate a random name instead.
STATIONNAME Desert Wasteland
STATIONNAME Post-Apocalyptic Wasteland

## Put on byond hub: Uncomment this to put your server on the byond hub.
#HUB
Expand Down
Binary file added fallout/icons/title_roll.dmi
Binary file not shown.
Binary file added fallout/icons/turf/walls/metal.dmi
Binary file not shown.
Binary file added fallout/icons/turf/walls/metal_low.dmi
Binary file not shown.
Binary file added icons/mojave_sun.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,235 changes: 1,235 additions & 0 deletions icons/mojave_sun.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion interface/skin.dmf
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ window "mainwindow"
anchor2 = none
is-default = true
saved-params = "pos;size;is-minimized;is-maximized"
icon = 'icons\\tg_32.png'
icon = 'icons\\mojave_sun.png'
macro = "default"
menu = "menu"
elem "split"
Expand Down

0 comments on commit e1f5481

Please sign in to comment.