Files
Yogstation/interface/skin.dmf
Ling 50e3477a6e Rips out the old keybind system and ports a better version from /tg/ (#17216)
* Initial version

Ripped out old version and added new version

* Update some of the keybinds

* More changes

* Added hotkey sanity checks

* Misc. fixes and features

* Small fix

* Refactor keys_held

* Adds emote keybinds

* Small spelling fixes

* I always forget this one

* Add 1 second cooldown on emotes

* Fix DME

* Don't spam

* Make linter happy

* New MC init
2023-01-04 15:55:09 +00:00

429 lines
9.3 KiB
Plaintext

macro "default"
menu "menu"
elem
name = "&File"
command = ""
saved-params = "is-checked"
elem
name = "&Quick screenshot\tF2"
command = ".screenshot auto"
category = "&File"
saved-params = "is-checked"
elem
name = "&Save screenshot as...\tShift+F2"
command = ".screenshot"
category = "&File"
saved-params = "is-checked"
elem
name = ""
command = ""
category = "&File"
saved-params = "is-checked"
elem "reconnectbutton"
name = "&Reconnect"
command = ".reconnect"
category = "&File"
saved-params = "is-checked"
elem
name = "&Quit\tAlt-F4"
command = ".quit"
category = "&File"
saved-params = "is-checked"
elem
name = "&Help"
command = ""
saved-params = "is-checked"
elem
name = "&Admin Help\tF1"
command = "adminhelp"
category = "&Help"
saved-params = "is-checked"
window "mainwindow"
elem "mainwindow"
type = MAIN
pos = 0,0
size = 640x440
anchor1 = none
anchor2 = none
is-default = true
saved-params = "pos;size;is-minimized;is-maximized"
icon = 'icons\\ss13_64.png'
macro = "default"
menu = "menu"
elem "split"
type = CHILD
pos = 3,0
size = 634x417
anchor1 = 0,0
anchor2 = 100,100
saved-params = "splitter"
left = "mapwindow"
right = "infowindow"
is-vert = true
elem "input"
type = INPUT
pos = 5,420
size = 595x20
anchor1 = 0,100
anchor2 = 100,100
background-color = #d3b5b5
is-default = true
saved-params = "command"
elem "saybutton"
type = BUTTON
pos = 600,420
size = 40x20
anchor1 = 100,100
anchor2 = none
saved-params = "is-checked"
text = "Chat"
command = ".winset \"saybutton.is-checked=true ? input.command=\"!say \\\"\" : input.command=\"\"saybutton.is-checked=true ? mebutton.is-checked=false\"\"saybutton.is-checked=true ? oocbutton.is-checked=false\""
button-type = pushbox
elem "oocbutton"
type = BUTTON
pos = 520,420
size = 40x20
anchor1 = 100,100
anchor2 = none
saved-params = "is-checked"
text = "OOC"
command = ".winset \"oocbutton.is-checked=true ? input.command=\"!ooc \\\"\" : input.command=\"\"oocbutton.is-checked=true ? mebutton.is-checked=false\"\"oocbutton.is-checked=true ? saybutton.is-checked=false\""
button-type = pushbox
elem "mebutton"
type = BUTTON
pos = 560,420
size = 40x20
anchor1 = 100,100
anchor2 = none
saved-params = "is-checked"
text = "Me"
command = ".winset \"mebutton.is-checked=true ? input.command=\"!me \\\"\" : input.command=\"\"mebutton.is-checked=true ? saybutton.is-checked=false\"\"mebutton.is-checked=true ? oocbutton.is-checked=false\""
button-type = pushbox
elem "asset_cache_browser"
type = BROWSER
pos = 0,0
size = 200x200
anchor1 = none
anchor2 = none
is-visible = false
saved-params = ""
auto-format = false
elem "tooltip"
type = BROWSER
pos = 0,0
size = 999x999
anchor1 = none
anchor2 = none
is-visible = false
saved-params = ""
window "mapwindow"
elem "mapwindow"
type = MAIN
pos = 0,0
size = 640x480
anchor1 = none
anchor2 = none
saved-params = "pos;size;is-minimized;is-maximized"
is-pane = true
elem "map"
type = MAP
pos = 0,0
size = 640x480
anchor1 = 0,0
anchor2 = 100,100
font-family = "Arial"
font-size = 7
text-color = none
is-default = true
saved-params = "zoom;letterbox;zoom-mode"
style = ".center { text-align: center; } .maptext { font-family: 'Small Fonts'; font-size: 7px; -dm-text-outline: 1px black; color: white; line-height: 1.1; } .command_headset { font-weight: bold;\tfont-size: 8px; } .small { font-size: 6px; } .big { font-size: 8px; } .reallybig { font-size: 8px; } .extremelybig { font-size: 8px; } .greentext { color: #00FF00; font-size: 7px; } .redtext { color: #FF0000; font-size: 7px; } .clown { color: #FF69Bf; font-size: 7px; font-weight: bold; } .his_grace { color: #15D512; } .hypnophrase { color: #0d0d0d; font-weight: bold; } .yell { font-weight: bold; } .italics { font-size: 6px; }"
window "infowindow"
elem "infowindow"
type = MAIN
pos = 281,0
size = 640x480
anchor1 = none
anchor2 = none
background-color = none
saved-params = "pos;size;is-minimized;is-maximized"
is-pane = true
outer-size = 656x538
inner-size = 640x499
elem "demoview"
type = BUTTON
pos = 480,5
size = 80x20
anchor1 = 75,0
anchor2 = 88,0
background-color = none
saved-params = "is-checked"
text = "View Replay"
command = "demoview"
elem "info"
type = CHILD
pos = 0,30
size = 640x445
anchor1 = 0,0
anchor2 = 100,100
background-color = none
saved-params = "splitter"
left = "statwindow"
right = "outputwindow"
is-vert = false
elem "changelog"
type = BUTTON
pos = 0,5
size = 80x20
anchor1 = 0,0
anchor2 = 13,0
background-color = none
saved-params = "is-checked"
text = "Changelog"
command = "changelog"
elem "rules"
type = BUTTON
pos = 80,5
size = 80x20
anchor1 = 13,0
anchor2 = 25,0
background-color = none
saved-params = "is-checked"
text = "Rules"
command = "rules"
elem "wiki"
type = BUTTON
pos = 160,5
size = 80x20
anchor1 = 25,0
anchor2 = 38,0
background-color = none
saved-params = "is-checked"
text = "Wiki"
command = "wiki"
elem "forum"
type = BUTTON
pos = 240,5
size = 80x20
anchor1 = 38,0
anchor2 = 50,0
background-color = none
saved-params = "is-checked"
text = "Forum"
command = "forum"
elem "github"
type = BUTTON
pos = 320,5
size = 80x20
anchor1 = 50,0
anchor2 = 63,0
background-color = none
saved-params = "is-checked"
text = "Github"
command = "github"
elem "report-issue"
type = BUTTON
pos = 400,5
size = 80x20
anchor1 = 63,0
anchor2 = 75,0
background-color = none
saved-params = "is-checked"
text = "Report Issue"
command = "report-issue"
elem "tickets"
type = BUTTON
pos = 560,5
size = 80x20
anchor1 = 88,0
anchor2 = 100,0
background-color = none
saved-params = "is-checked"
text = "Tickets"
command = "tickets"
window "outputwindow"
elem "outputwindow"
type = MAIN
pos = 0,0
size = 640x480
anchor1 = none
anchor2 = none
background-color = #ffffff
saved-params = "pos;size;is-minimized;is-maximized"
is-pane = true
elem "browseroutput"
type = BROWSER
pos = 0,0
size = 640x480
anchor1 = 0,0
anchor2 = 100,100
is-visible = false
is-disabled = true
saved-params = ""
elem "output"
type = OUTPUT
pos = 0,0
size = 640x480
anchor1 = 0,0
anchor2 = 100,100
is-default = true
saved-params = ""
window "popupwindow"
elem "popupwindow"
type = MAIN
pos = 281,0
size = 120x120
anchor1 = none
anchor2 = none
is-visible = false
saved-params = "pos;size;is-minimized;is-maximized"
statusbar = false
can-resize = false
window "preferences_window"
elem "preferences_window"
type = MAIN
pos = 281,0
size = 1280x1000
anchor1 = none
anchor2 = none
is-visible = false
saved-params = "pos;size;is-minimized;is-maximized"
statusbar = false
elem "preferences_browser"
type = BROWSER
pos = 0,0
size = 960x1008
anchor1 = 0,0
anchor2 = 75,100
saved-params = ""
elem "character_preview_map"
type = MAP
pos = 960,0
size = 320x1000
anchor1 = 90,0
anchor2 = 75,100
right-click = true
saved-params = "zoom;letterbox;zoom-mode"
window "statwindow"
elem "statwindow"
type = MAIN
pos = 372,0
size = 640x480
anchor1 = none
anchor2 = none
saved-params = "pos;size;is-minimized;is-maximized"
is-pane = true
elem "statbrowser"
type = BROWSER
pos = 0,0
size = 640x480
anchor1 = 0,0
anchor2 = 100,100
is-visible = false
saved-params = ""
window "Telecomms IDE"
elem "Telecomms IDE"
type = MAIN
pos = 281,0
size = 569x582
anchor1 = none
anchor2 = none
text-color = #eeeeee
background-color = #222222
is-visible = false
saved-params = "pos;size;is-minimized;is-maximized"
title = "TCS IDE"
statusbar = false
on-close = "exittcs"
elem "button5"
type = BUTTON
pos = 209,464
size = 70x20
anchor1 = 37,80
anchor2 = 49,83
text-color = #eeeeee
background-color = #555555
saved-params = "is-checked"
text = "Clear Memory"
command = "tcsclearmem"
elem "button4"
type = BUTTON
pos = 157,464
size = 52x20
anchor1 = 28,80
anchor2 = 37,83
text-color = #eeeeee
background-color = #555555
saved-params = "is-checked"
text = "Revert"
command = "tcsrevert"
elem "button3"
type = BUTTON
pos = 105,464
size = 52x20
anchor1 = 18,80
anchor2 = 28,83
text-color = #eeeeee
background-color = #555555
saved-params = "is-checked"
text = "Execute"
command = "tcsrun"
elem "tcserror"
type = OUTPUT
pos = 0,488
size = 566x94
anchor1 = 0,84
anchor2 = 99,100
font-family = "sans-serif"
font-size = 9
text-color = #eeeeee
background-color = #333334
saved-params = "max-lines"
elem "button2"
type = BUTTON
pos = 53,464
size = 52x20
anchor1 = 9,80
anchor2 = 18,83
text-color = #eeeeee
background-color = #555555
saved-params = "is-checked"
text = "Compile"
command = "tcscompile"
elem "button1"
type = BUTTON
pos = 0,464
size = 53x20
anchor1 = 0,80
anchor2 = 9,83
text-color = #eeeeee
background-color = #555555
saved-params = "is-checked"
text = "Save"
command = "tcssave"
elem "tcscode"
type = INPUT
pos = 0,0
size = 569x464
anchor1 = 0,0
anchor2 = 100,80
font-family = "Courier"
font-size = 10
text-color = #eeeeee
background-color = #333334
saved-params = ""
command = "cancel"
multi-line = true
no-command = true