Skip to content

Commit

Permalink
Merge pull request #101 from Artemchik542/ui-lil-improve
Browse files Browse the repository at this point in the history
Немного улучшает интерфейс игрового окна (раунд 2)
  • Loading branch information
Huz2e authored Jun 17, 2024
2 parents 8a41af4 + cd8f1e5 commit 2c8fc40
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/client/verbs/who.dm
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
msg += "</tr></table>"

msg += "<b>Total Players: [length(Lines)]</b>"
to_chat(src, "<span class='infoplain'>[msg]</span>")
to_chat(src, examine_block(span_infoplain(msg))) // MASSMETA EDIT (lil bit better ui)

/client/verb/adminwho()
set category = "Admin"
Expand Down
32 changes: 32 additions & 0 deletions interface/skin.dmf
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,38 @@ menu "menu"
category = "&Help"
saved-params = "is-checked"

// MASSMETA ADDITION (lil bit better ui)
elem
name = "Refresh TGUI"
command = "refresh-tgui"
category = "&Help"
saved-params = "is-checked"
elem
name = "Fix Chat"
command = "fix-chat"
category = "&Help"
saved-params = "is-checked"
elem
name = "Fit Viewport"
command = "fit-viewport"
category = "&Help"
saved-params = "is-checked"
elem
name = "&Players"
command = ""
saved-params = "is-checked"
elem
name = "All Players"
command = "who"
category = "&Players"
saved-params = "is-checked"
elem
name = "Admins Online"
command = "adminwho"
category = "&Players"
saved-params = "is-checked"

// EDIT END

window "mainwindow"
elem "mainwindow"
Expand Down

0 comments on commit 2c8fc40

Please sign in to comment.