+205
-208
@@ -1,215 +1,212 @@
|
||||
//Please use mob or src (not usr) in these procs. This way they can be called in the same fashion as procs.
|
||||
/client/verb/wiki()
|
||||
set name = "wiki"
|
||||
set desc = "Visit the wiki."
|
||||
set hidden = 1
|
||||
if(config.wikiurl)
|
||||
if(alert("This will open the wiki in your browser. Are you sure?",,"Yes","No")=="No")
|
||||
return
|
||||
src << link(config.wikiurl)
|
||||
else
|
||||
to_chat(src, "<span class='danger'>The wiki URL is not set in the server configuration.</span>")
|
||||
return
|
||||
|
||||
/client/verb/forum()
|
||||
set name = "forum"
|
||||
set desc = "Visit the forum."
|
||||
set hidden = 1
|
||||
if(config.forumurl)
|
||||
if(alert("This will open the forum in your browser. Are you sure?",,"Yes","No")=="No")
|
||||
return
|
||||
src << link(config.forumurl)
|
||||
else
|
||||
to_chat(src, "<span class='danger'>The forum URL is not set in the server configuration.</span>")
|
||||
return
|
||||
|
||||
/client/verb/rules()
|
||||
set name = "rules"
|
||||
set desc = "Show Server Rules."
|
||||
set hidden = 1
|
||||
if(config.rulesurl)
|
||||
if(alert("This will open the rules in your browser. Are you sure?",,"Yes","No")=="No")
|
||||
return
|
||||
src << link(config.rulesurl)
|
||||
else
|
||||
to_chat(src, "<span class='danger'>The rules URL is not set in the server configuration.</span>")
|
||||
return
|
||||
|
||||
/client/verb/github()
|
||||
set name = "github"
|
||||
set desc = "Visit Github"
|
||||
set hidden = 1
|
||||
if(config.githuburl)
|
||||
if(alert("This will open the Github repository in your browser. Are you sure?",,"Yes","No")=="No")
|
||||
return
|
||||
src << link(config.githuburl)
|
||||
else
|
||||
to_chat(src, "<span class='danger'>The Github URL is not set in the server configuration.</span>")
|
||||
return
|
||||
|
||||
/client/verb/reportissue()
|
||||
set name = "report-issue"
|
||||
set desc = "Report an issue"
|
||||
set hidden = 1
|
||||
if(config.githuburl)
|
||||
var/message = "This will open the Github issue reporter in your browser. Are you sure?"
|
||||
if(GLOB.revdata.testmerge.len)
|
||||
message += "<br>The following experimental changes are active and are probably the cause of any new or sudden issues you may experience. If possible, please try to find a specific thread for your issue instead of posting to the general issue tracker:<br>"
|
||||
message += GLOB.revdata.GetTestMergeInfo(FALSE)
|
||||
if(tgalert(src, message, "Report Issue","Yes","No")=="No")
|
||||
return
|
||||
src << link("[config.githuburl]/issues/new")
|
||||
else
|
||||
to_chat(src, "<span class='danger'>The Github URL is not set in the server configuration.</span>")
|
||||
return
|
||||
|
||||
/client/verb/hotkeys_help()
|
||||
set name = "hotkeys-help"
|
||||
set category = "OOC"
|
||||
|
||||
var/adminhotkeys = {"<font color='purple'>
|
||||
Admin:
|
||||
\tF5 = Aghost (admin-ghost)
|
||||
\tF6 = player-panel
|
||||
\tF7 = admin-pm
|
||||
\tF8 = Invisimin
|
||||
</font>"}
|
||||
|
||||
mob.hotkey_help()
|
||||
|
||||
if(holder)
|
||||
//Please use mob or src (not usr) in these procs. This way they can be called in the same fashion as procs.
|
||||
/client/verb/wiki()
|
||||
set name = "wiki"
|
||||
set desc = "Visit the wiki."
|
||||
set hidden = 1
|
||||
if(config.wikiurl)
|
||||
if(alert("This will open the wiki in your browser. Are you sure?",,"Yes","No")=="No")
|
||||
return
|
||||
src << link(config.wikiurl)
|
||||
else
|
||||
to_chat(src, "<span class='danger'>The wiki URL is not set in the server configuration.</span>")
|
||||
return
|
||||
|
||||
/client/verb/forum()
|
||||
set name = "forum"
|
||||
set desc = "Visit the forum."
|
||||
set hidden = 1
|
||||
if(config.forumurl)
|
||||
if(alert("This will open the forum in your browser. Are you sure?",,"Yes","No")=="No")
|
||||
return
|
||||
src << link(config.forumurl)
|
||||
else
|
||||
to_chat(src, "<span class='danger'>The forum URL is not set in the server configuration.</span>")
|
||||
return
|
||||
|
||||
/client/verb/rules()
|
||||
set name = "rules"
|
||||
set desc = "Show Server Rules."
|
||||
set hidden = 1
|
||||
if(config.rulesurl)
|
||||
if(alert("This will open the rules in your browser. Are you sure?",,"Yes","No")=="No")
|
||||
return
|
||||
src << link(config.rulesurl)
|
||||
else
|
||||
to_chat(src, "<span class='danger'>The rules URL is not set in the server configuration.</span>")
|
||||
return
|
||||
|
||||
/client/verb/github()
|
||||
set name = "github"
|
||||
set desc = "Visit Github"
|
||||
set hidden = 1
|
||||
if(config.githuburl)
|
||||
if(alert("This will open the Github repository in your browser. Are you sure?",,"Yes","No")=="No")
|
||||
return
|
||||
src << link(config.githuburl)
|
||||
else
|
||||
to_chat(src, "<span class='danger'>The Github URL is not set in the server configuration.</span>")
|
||||
return
|
||||
|
||||
/client/verb/reportissue()
|
||||
set name = "report-issue"
|
||||
set desc = "Report an issue"
|
||||
set hidden = 1
|
||||
if(config.githuburl)
|
||||
var/message = "This will open the Github issue reporter in your browser. Are you sure?"
|
||||
if(GLOB.revdata.testmerge.len)
|
||||
message += "<br>The following experimental changes are active and are probably the cause of any new or sudden issues you may experience. If possible, please try to find a specific thread for your issue instead of posting to the general issue tracker:<br>"
|
||||
message += GLOB.revdata.GetTestMergeInfo(FALSE)
|
||||
if(tgalert(src, message, "Report Issue","Yes","No")=="No")
|
||||
return
|
||||
src << link("[config.githuburl]/issues/new")
|
||||
else
|
||||
to_chat(src, "<span class='danger'>The Github URL is not set in the server configuration.</span>")
|
||||
return
|
||||
|
||||
/client/verb/hotkeys_help()
|
||||
set name = "hotkeys-help"
|
||||
set category = "OOC"
|
||||
|
||||
var/adminhotkeys = {"<font color='purple'>
|
||||
Admin:
|
||||
\tF5 = Aghost (admin-ghost)
|
||||
\tF6 = player-panel
|
||||
\tF7 = admin-pm
|
||||
\tF8 = Invisimin
|
||||
</font>"}
|
||||
|
||||
mob.hotkey_help()
|
||||
|
||||
if(holder)
|
||||
to_chat(src, adminhotkeys)
|
||||
|
||||
/client/verb/changelog()
|
||||
set name = "Changelog"
|
||||
set category = "OOC"
|
||||
|
||||
/client/verb/changelog()
|
||||
set name = "Changelog"
|
||||
set category = "OOC"
|
||||
var/datum/asset/changelog = get_asset_datum(/datum/asset/simple/changelog)
|
||||
changelog.send(src)
|
||||
src << browse('html/changelog.html', "window=changes;size=675x650")
|
||||
if(prefs.lastchangelog != GLOB.changelog_hash)
|
||||
prefs.lastchangelog = GLOB.changelog_hash
|
||||
prefs.save_preferences()
|
||||
winset(src, "infowindow.changelog", "font-style=;")
|
||||
|
||||
|
||||
/mob/proc/hotkey_help()
|
||||
//h = talk-wheel has a nonsense tag in it because \th is an escape sequence in BYOND.
|
||||
var/hotkey_mode = {"<font color='purple'>
|
||||
Hotkey-Mode: (hotkey-mode must be on)
|
||||
\tTAB = toggle hotkey-mode
|
||||
\ta = left
|
||||
\ts = down
|
||||
\td = right
|
||||
\tw = up
|
||||
\tq = drop
|
||||
\te = equip
|
||||
\tr = throw
|
||||
\tm = me
|
||||
\tt = say
|
||||
\t<B></B>h = talk-wheel
|
||||
\to = OOC
|
||||
\tb = resist
|
||||
\tx = swap-hand
|
||||
\tz = activate held object (or y)
|
||||
\tf = cycle-intents-left
|
||||
\tg = cycle-intents-right
|
||||
\t1 = help-intent
|
||||
\t2 = disarm-intent
|
||||
\t3 = grab-intent
|
||||
\t4 = harm-intent
|
||||
\tNumpad = Body target selection (Press 8 repeatedly for Head->Eyes->Mouth)
|
||||
\tAlt(HOLD) = Alter movement intent
|
||||
</font>"}
|
||||
|
||||
var/other = {"<font color='purple'>
|
||||
Any-Mode: (hotkey doesn't need to be on)
|
||||
\tCtrl+a = left
|
||||
\tCtrl+s = down
|
||||
\tCtrl+d = right
|
||||
\tCtrl+w = up
|
||||
\tCtrl+q = drop
|
||||
\tCtrl+e = equip
|
||||
\tCtrl+r = throw
|
||||
\tCtrl+b = resist
|
||||
\tCtrl+h = talk-wheel
|
||||
\tCtrl+o = OOC
|
||||
\tCtrl+x = swap-hand
|
||||
\tCtrl+z = activate held object (or Ctrl+y)
|
||||
\tCtrl+f = cycle-intents-left
|
||||
\tCtrl+g = cycle-intents-right
|
||||
\tCtrl+1 = help-intent
|
||||
\tCtrl+2 = disarm-intent
|
||||
\tCtrl+3 = grab-intent
|
||||
\tCtrl+4 = harm-intent
|
||||
\tCtrl+'+/-' OR
|
||||
\tShift+Mousewheel = Ghost zoom in/out
|
||||
\tDEL = pull
|
||||
\tINS = cycle-intents-right
|
||||
\tHOME = drop
|
||||
\tPGUP = swap-hand
|
||||
\tPGDN = activate held object
|
||||
\tEND = throw
|
||||
\tCtrl+Numpad = Body target selection (Press 8 repeatedly for Head->Eyes->Mouth)
|
||||
</font>"}
|
||||
|
||||
src << browse('html/changelog.html', "window=changes;size=675x650")
|
||||
if(prefs.lastchangelog != GLOB.changelog_hash)
|
||||
prefs.lastchangelog = GLOB.changelog_hash
|
||||
prefs.save_preferences()
|
||||
winset(src, "infowindow.changelog", "font-style=;")
|
||||
|
||||
|
||||
/mob/proc/hotkey_help()
|
||||
var/hotkey_mode = {"<font color='purple'>
|
||||
Hotkey-Mode: (hotkey-mode must be on)
|
||||
\tTAB = toggle hotkey-mode
|
||||
\ta = left
|
||||
\ts = down
|
||||
\td = right
|
||||
\tw = up
|
||||
\tq = drop
|
||||
\te = equip
|
||||
\tr = throw
|
||||
\tm = me
|
||||
\tt = say
|
||||
\to = OOC
|
||||
\tb = resist
|
||||
\tx = swap-hand
|
||||
\tz = activate held object (or y)
|
||||
\tf = cycle-intents-left
|
||||
\tg = cycle-intents-right
|
||||
\t1 = help-intent
|
||||
\t2 = disarm-intent
|
||||
\t3 = grab-intent
|
||||
\t4 = harm-intent
|
||||
\tNumpad = Body target selection (Press 8 repeatedly for Head->Eyes->Mouth)
|
||||
\tAlt(HOLD) = Alter movement intent
|
||||
</font>"}
|
||||
|
||||
var/other = {"<font color='purple'>
|
||||
Any-Mode: (hotkey doesn't need to be on)
|
||||
\tCtrl+a = left
|
||||
\tCtrl+s = down
|
||||
\tCtrl+d = right
|
||||
\tCtrl+w = up
|
||||
\tCtrl+q = drop
|
||||
\tCtrl+e = equip
|
||||
\tCtrl+r = throw
|
||||
\tCtrl+b = resist
|
||||
\tCtrl+o = OOC
|
||||
\tCtrl+x = swap-hand
|
||||
\tCtrl+z = activate held object (or Ctrl+y)
|
||||
\tCtrl+f = cycle-intents-left
|
||||
\tCtrl+g = cycle-intents-right
|
||||
\tCtrl+1 = help-intent
|
||||
\tCtrl+2 = disarm-intent
|
||||
\tCtrl+3 = grab-intent
|
||||
\tCtrl+4 = harm-intent
|
||||
\tCtrl+'+/-' OR
|
||||
\tShift+Mousewheel = Ghost zoom in/out
|
||||
\tDEL = pull
|
||||
\tINS = cycle-intents-right
|
||||
\tHOME = drop
|
||||
\tPGUP = swap-hand
|
||||
\tPGDN = activate held object
|
||||
\tEND = throw
|
||||
\tCtrl+Numpad = Body target selection (Press 8 repeatedly for Head->Eyes->Mouth)
|
||||
</font>"}
|
||||
|
||||
to_chat(src, hotkey_mode)
|
||||
to_chat(src, other)
|
||||
|
||||
/mob/living/silicon/robot/hotkey_help()
|
||||
//h = talk-wheel has a nonsense tag in it because \th is an escape sequence in BYOND.
|
||||
var/hotkey_mode = {"<font color='purple'>
|
||||
Hotkey-Mode: (hotkey-mode must be on)
|
||||
\tTAB = toggle hotkey-mode
|
||||
\ta = left
|
||||
\ts = down
|
||||
\td = right
|
||||
\tw = up
|
||||
\tq = unequip active module
|
||||
\tm = me
|
||||
\tt = say
|
||||
\t<B></B>h = talk-wheel
|
||||
\to = OOC
|
||||
\tx = cycle active modules
|
||||
\tb = resist
|
||||
\tz = activate held object (or y)
|
||||
\tf = cycle-intents-left
|
||||
\tg = cycle-intents-right
|
||||
\t1 = activate module 1
|
||||
\t2 = activate module 2
|
||||
\t3 = activate module 3
|
||||
\t4 = toggle intents
|
||||
</font>"}
|
||||
|
||||
var/other = {"<font color='purple'>
|
||||
Any-Mode: (hotkey doesn't need to be on)
|
||||
\tCtrl+a = left
|
||||
\tCtrl+s = down
|
||||
\tCtrl+d = right
|
||||
\tCtrl+w = up
|
||||
\tCtrl+q = unequip active module
|
||||
\tCtrl+x = cycle active modules
|
||||
\tCtrl+b = resist
|
||||
\tCtrl+h = talk-wheel
|
||||
\tCtrl+o = OOC
|
||||
\tCtrl+z = activate held object (or Ctrl+y)
|
||||
\tCtrl+f = cycle-intents-left
|
||||
\tCtrl+g = cycle-intents-right
|
||||
\tCtrl+1 = activate module 1
|
||||
\tCtrl+2 = activate module 2
|
||||
\tCtrl+3 = activate module 3
|
||||
\tCtrl+4 = toggle intents
|
||||
\tDEL = pull
|
||||
\tINS = toggle intents
|
||||
\tPGUP = cycle active modules
|
||||
\tPGDN = activate held object
|
||||
</font>"}
|
||||
|
||||
|
||||
/mob/living/silicon/robot/hotkey_help()
|
||||
//h = talk-wheel has a nonsense tag in it because \th is an escape sequence in BYOND.
|
||||
var/hotkey_mode = {"<font color='purple'>
|
||||
Hotkey-Mode: (hotkey-mode must be on)
|
||||
\tTAB = toggle hotkey-mode
|
||||
\ta = left
|
||||
\ts = down
|
||||
\td = right
|
||||
\tw = up
|
||||
\tq = unequip active module
|
||||
\tm = me
|
||||
\tt = say
|
||||
\t<B></B>h = talk-wheel
|
||||
\to = OOC
|
||||
\tx = cycle active modules
|
||||
\tb = resist
|
||||
\tz = activate held object (or y)
|
||||
\tf = cycle-intents-left
|
||||
\tg = cycle-intents-right
|
||||
\t1 = activate module 1
|
||||
\t2 = activate module 2
|
||||
\t3 = activate module 3
|
||||
\t4 = toggle intents
|
||||
</font>"}
|
||||
|
||||
var/other = {"<font color='purple'>
|
||||
Any-Mode: (hotkey doesn't need to be on)
|
||||
\tCtrl+a = left
|
||||
\tCtrl+s = down
|
||||
\tCtrl+d = right
|
||||
\tCtrl+w = up
|
||||
\tCtrl+q = unequip active module
|
||||
\tCtrl+x = cycle active modules
|
||||
\tCtrl+b = resist
|
||||
\tCtrl+h = talk-wheel
|
||||
\tCtrl+o = OOC
|
||||
\tCtrl+z = activate held object (or Ctrl+y)
|
||||
\tCtrl+f = cycle-intents-left
|
||||
\tCtrl+g = cycle-intents-right
|
||||
\tCtrl+1 = activate module 1
|
||||
\tCtrl+2 = activate module 2
|
||||
\tCtrl+3 = activate module 3
|
||||
\tCtrl+4 = toggle intents
|
||||
\tDEL = pull
|
||||
\tINS = toggle intents
|
||||
\tPGUP = cycle active modules
|
||||
\tPGDN = activate held object
|
||||
</font>"}
|
||||
|
||||
to_chat(src, hotkey_mode)
|
||||
to_chat(src, other)
|
||||
|
||||
// Needed to circumvent a bug where .winset does not work when used on the window.on-size event in skins.
|
||||
// Used by /datum/html_interface/nanotrasen (code/modules/html_interface/nanotrasen/nanotrasen.dm)
|
||||
/client/verb/_swinset(var/x as text)
|
||||
set name = ".swinset"
|
||||
set hidden = 1
|
||||
winset(src, null, x)
|
||||
|
||||
// Needed to circumvent a bug where .winset does not work when used on the window.on-size event in skins.
|
||||
// Used by /datum/html_interface/nanotrasen (code/modules/html_interface/nanotrasen/nanotrasen.dm)
|
||||
/client/verb/_swinset(var/x as text)
|
||||
set name = ".swinset"
|
||||
set hidden = 1
|
||||
winset(src, null, x)
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@ GLOBAL_LIST_EMPTY(menulist)
|
||||
|
||||
/datum/verbs/menu/GetList()
|
||||
return GLOB.menulist
|
||||
|
||||
|
||||
/datum/verbs/menu/HandleVerb(list/entry, verbpath, client/C)
|
||||
var/datum/verbs/menu/verb_true_parent = GLOB.menulist[verblist[verbpath]]
|
||||
var/true_checkbox = verb_true_parent.checkbox
|
||||
|
||||
@@ -103,10 +103,6 @@ macro "default"
|
||||
name = "CTRL+G"
|
||||
command = "a-intent right"
|
||||
is-disabled = false
|
||||
elem
|
||||
name = "CTRL+H"
|
||||
command = "talk-wheel"
|
||||
is-disabled = false
|
||||
elem
|
||||
name = "CTRL+O"
|
||||
command = "ooc"
|
||||
@@ -369,14 +365,6 @@ macro "hotkeys"
|
||||
name = "CTRL+G"
|
||||
command = "a-intent right"
|
||||
is-disabled = false
|
||||
elem
|
||||
name = "H"
|
||||
command = "talk-wheel"
|
||||
is-disabled = false
|
||||
elem
|
||||
name = "CTRL+H"
|
||||
command = "talk-wheel"
|
||||
is-disabled = false
|
||||
elem
|
||||
name = "M"
|
||||
command = "me"
|
||||
@@ -619,10 +607,6 @@ macro "robot-default"
|
||||
name = "CTRL+B"
|
||||
command = "resist"
|
||||
is-disabled = false
|
||||
elem
|
||||
name = "CTRL+H"
|
||||
command = "talk-wheel"
|
||||
is-disabled = false
|
||||
elem
|
||||
name = "CTRL+O"
|
||||
command = "ooc"
|
||||
@@ -841,14 +825,6 @@ macro "robot-hotkeys"
|
||||
name = "CTRL+B"
|
||||
command = "resist"
|
||||
is-disabled = false
|
||||
elem
|
||||
name = "H"
|
||||
command = "talk-wheel"
|
||||
is-disabled = false
|
||||
elem
|
||||
name = "CTRL+H"
|
||||
command = "talk-wheel"
|
||||
is-disabled = false
|
||||
elem
|
||||
name = "M"
|
||||
command = "me"
|
||||
|
||||
@@ -28,7 +28,6 @@ em {font-style: normal; font-weight: bold;}
|
||||
.ooc { font-weight: bold;}
|
||||
.adminobserverooc {color: #0099cc; font-weight: bold;}
|
||||
.adminooc {color: #700038; font-weight: bold;}
|
||||
.looc { font-weight: bold;}
|
||||
|
||||
.adminobserver {color: #996600; font-weight: bold;}
|
||||
.admin {color: #386aff; font-weight: bold;}
|
||||
@@ -134,7 +133,6 @@ h1.alert, h2.alert {color: #000000;}
|
||||
.alien {color: #543354;}
|
||||
.noticealien {color: #00c000;}
|
||||
.alertalien {color: #00c000; font-weight: bold;}
|
||||
.borer {color: #543354; font-style: italic;}
|
||||
.changeling {color: #800080; font-style: italic;}
|
||||
|
||||
.interface {color: #330033;}
|
||||
@@ -144,6 +142,7 @@ h1.alert, h2.alert {color: #000000;}
|
||||
.robot {font-family: "Courier New", cursive, sans-serif;}
|
||||
|
||||
.command_headset {font-weight: bold; font-size: 3;}
|
||||
.small {font-size: 1;}
|
||||
.big {font-size: 3;}
|
||||
.reallybig {font-size: 4;}
|
||||
.greentext {color: #00FF00; font-size: 3;}
|
||||
@@ -160,8 +159,5 @@ BIG IMG.icon {width: 32px; height: 32px;}
|
||||
.drone {color: #848482;}
|
||||
.monkey {color: #975032;}
|
||||
.swarmer {color: #2C75FF;}
|
||||
|
||||
.love {color: #FF69Bf;}
|
||||
.lovebold {color: #FF69Bf; font-weight: bold;}
|
||||
.resonate {color: #298F85;}
|
||||
</style>"}
|
||||
|
||||
Reference in New Issue
Block a user