mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
It bothered me that there was no hotkey for emote that wasn't on the function row. Y is now me. Activate-held-item is now only Z instead of Z and Y. The hotkeys-help verb in OOC tab is changed to include the changes above, and the previously unmentioned function row hotkeys that are pertinent to players. (Admin verbs are unmentioned)
101 lines
2.2 KiB
Plaintext
101 lines
2.2 KiB
Plaintext
//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
|
|
src << "\red The wiki URL is not set in the server configuration."
|
|
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
|
|
src << "\red The forum URL is not set in the server configuration."
|
|
return
|
|
|
|
#define RULES_FILE "config/rules.html"
|
|
/client/verb/rules()
|
|
set name = "Rules"
|
|
set desc = "Show Server Rules."
|
|
set hidden = 1
|
|
src << browse(file(RULES_FILE), "window=rules;size=480x320")
|
|
#undef RULES_FILE
|
|
|
|
/client/verb/hotkeys_help()
|
|
set name = "hotkeys-help"
|
|
set category = "OOC"
|
|
|
|
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
|
|
\tt = say
|
|
\ty = emote
|
|
\tx = swap-hand
|
|
\tz = activate held object
|
|
\tf = cycle-intents-left
|
|
\tg = cycle-intents-right
|
|
\t1 = help-intent
|
|
\t2 = disarm-intent
|
|
\t3 = grab-intent
|
|
\t4 = harm-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+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
|
|
\tF1 = adminhelp
|
|
\tF2 = ooc
|
|
\tF3 = say
|
|
\tF4 = emote
|
|
\tDEL = pull
|
|
\tINS = cycle-intents-right
|
|
\tHOME = drop
|
|
\tPGUP = swap-hand
|
|
\tPGDN = activate held object
|
|
\tEND = throw
|
|
</font>"}
|
|
|
|
var/admin = {"<font color='purple'>
|
|
Admin:
|
|
\tF5 = Aghost (admin-ghost)
|
|
\tF6 = player-panel-new
|
|
\tF7 = admin-pm
|
|
\tF8 = Invisimin
|
|
</font>"}
|
|
|
|
src << hotkey_mode
|
|
src << other
|
|
if(holder)
|
|
src << admin
|