mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Changed the default maptext colour to white. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4689 316c924e-a436-60f5-8080-3fe189b3f50e
132 lines
3.3 KiB
Plaintext
132 lines
3.3 KiB
Plaintext
/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/a_intent_left()
|
|
set name = "a-intent-left"
|
|
set hidden = 1
|
|
|
|
if(ishuman(usr) || istype(usr,/mob/living/carbon/alien/humanoid) || islarva(usr))
|
|
switch(usr.a_intent)
|
|
if("help")
|
|
usr.a_intent = "hurt"
|
|
usr.hud_used.action_intent.icon_state = "intent_hurt"
|
|
if("disarm")
|
|
usr.a_intent = "help"
|
|
usr.hud_used.action_intent.icon_state = "intent_help"
|
|
if("grab")
|
|
usr.a_intent = "disarm"
|
|
usr.hud_used.action_intent.icon_state = "intent_disarm"
|
|
if("hurt")
|
|
usr.a_intent = "grab"
|
|
usr.hud_used.action_intent.icon_state = "intent_grab"
|
|
else if(issilicon(usr))
|
|
if(usr.a_intent == "help")
|
|
usr.a_intent = "hurt"
|
|
usr.hud_used.action_intent.icon_state = "harm"
|
|
else
|
|
usr.a_intent = "help"
|
|
usr.hud_used.action_intent.icon_state = "help"
|
|
|
|
/client/verb/a_intent_right()
|
|
set name = "a-intent-right"
|
|
set hidden = 1
|
|
|
|
if(ishuman(usr) || istype(usr,/mob/living/carbon/alien/humanoid) || islarva(usr))
|
|
switch(usr.a_intent)
|
|
if("help")
|
|
usr.a_intent = "disarm"
|
|
usr.hud_used.action_intent.icon_state = "intent_disarm"
|
|
if("disarm")
|
|
usr.a_intent = "grab"
|
|
usr.hud_used.action_intent.icon_state = "intent_grab"
|
|
if("grab")
|
|
usr.a_intent = "hurt"
|
|
usr.hud_used.action_intent.icon_state = "intent_hurt"
|
|
if("hurt")
|
|
usr.a_intent = "help"
|
|
usr.hud_used.action_intent.icon_state = "intent_help"
|
|
else if(issilicon(usr))
|
|
if(usr.a_intent == "help")
|
|
usr.a_intent = "hurt"
|
|
usr.hud_used.action_intent.icon_state = "harm"
|
|
else
|
|
usr.a_intent = "help"
|
|
usr.hud_used.action_intent.icon_state = "help"
|
|
|
|
|
|
/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 = east
|
|
\tw = up
|
|
\tq = drop
|
|
\te = equip
|
|
\tr = throw
|
|
\tt = say
|
|
\tx = swap-hand
|
|
\tf = cycle-intents-left
|
|
\tg = cycle-intents-right
|
|
</font>"}
|
|
|
|
var/other = {"<font color='purple'>
|
|
Any-Mode: (hotkey doesn't need to be on)
|
|
\tCtrl+a = left
|
|
\tCtrl+s = down
|
|
\tCtrl+d = east
|
|
\tCtrl+w = up
|
|
\tCtrl+q = drop
|
|
\tCtrl+e = equip
|
|
\tCtrl+r = throw
|
|
\tCtrl+x = swap-hand
|
|
\tCtrl+f = cycle-intents-left
|
|
\tCtrl+g = cycle-intents-right
|
|
</font>"}
|
|
|
|
var/admin = {"<font color='purple'>
|
|
Admin:
|
|
\tF5 = toggle-admin-observe (WIP)
|
|
\tF6 = player-panel-new
|
|
\tF7 = admin-pm
|
|
\tF8 = (WIP)
|
|
</font>"}
|
|
|
|
src << hotkey_mode
|
|
src << other
|
|
if(holder)
|
|
src << admin
|