Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit c9b14cb

Browse files
authored
[Admin] edits the gamemode panel to show a storyteller's description (#22905)
* Update gamemode_subsystem.dm * Update gamemode_subsystem.dm
1 parent 67d919e commit c9b14cb

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

yogstation/code/modules/storytellers/gamemode_subsystem.dm

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -893,10 +893,14 @@ SUBSYSTEM_DEF(gamemode)
893893
total_valid_antags++
894894

895895
var/round_started = SSticker.HasRoundStarted()
896-
var/list/dat = list()
897-
dat += "Storyteller: [storyteller ? "[storyteller.name]" : "None"] "
898-
dat += " <a href='?src=[REF(src)];panel=main;action=halt_storyteller' [halted_storyteller ? "class='linkOn'" : ""]>HALT Storyteller</a> <a href='?src=[REF(src)];panel=main;action=open_stats'>Event Panel</a> <a href='?src=[REF(src)];panel=main;action=set_storyteller'>Set Storyteller</a> <a href='?src=[REF(src)];panel=main'>Refresh</a>"
899-
dat += "<BR><font color='#888888'><i>Storyteller determines points gained, event chances, and is the entity responsible for rolling events.</i></font>"
896+
var/list/dat = list()
897+
dat += "<BR><a href='?src=[REF(src)];panel=main;action=halt_storyteller' [halted_storyteller ? "class='linkOn'" : ""]>HALT Storyteller</a> <a href='?src=[REF(src)];panel=main;action=open_stats'>Event Panel</a> <a href='?src=[REF(src)];panel=main;action=set_storyteller'>Set Storyteller</a> <a href='?src=[REF(src)];panel=main'>Refresh</a>"
898+
if(storyteller)
899+
dat += "<BR>Storyteller: [storyteller.name]"
900+
dat += "<BR>Description: [storyteller.desc]"
901+
else
902+
dat += "<BR><b>No Storyteller Selected</b>"
903+
dat += "<font color='#888888'><i>Storyteller determines points gained, event chances, and is the entity responsible for rolling events.</i></font>"
900904
dat += "<BR>Active Players: [active_players] (Head: [head_crew], Sec: [sec_crew], Eng: [eng_crew], Med: [med_crew])"
901905
dat += "<BR>Antagonist Count vs Maximum: [total_valid_antags] / [get_antag_cap()]"
902906
dat += "<HR>"

0 commit comments

Comments
 (0)