Adds a forum and wiki button to the game interface.

Set the urls within config.txt. Both buttons do nothing by default, you have to set the urls yourself.

Removed two unused txt files that I forgot to remove.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3502 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
elly1989@rocketmail.com
2012-04-25 03:29:55 +00:00
parent 0361469168
commit 0d14417a07
8 changed files with 90 additions and 6 deletions
+9 -1
View File
@@ -2,7 +2,7 @@
var/server_name = null // server name (for world name / status)
var/server_suffix = 0 // generate numeric suffix based on server port
var/log_ooc = 0 // log OOC channek
var/log_ooc = 0 // log OOC channel
var/log_access = 0 // log login/logout
var/log_say = 0 // log client say
var/log_admin = 0 // log admin actions
@@ -49,6 +49,8 @@
var/server
var/banappeals
var/wikiurl
var/forumurl
//Alert level description
var/alert_desc_green = "All threats to the station have passed. Security may not have weapons visible, privacy laws are once again fully enforced."
@@ -215,6 +217,12 @@
if ("banappeals")
config.banappeals = value
if ("wikiurl")
config.wikiurl = value
if ("forumurl")
config.forumurl = value
if ("guest_jobban")
config.guest_jobban = 1
-1
View File
@@ -75,7 +75,6 @@
onclose(user, "trans_valve")
return
//CARN: MARKER
Topic(href, href_list)
..()
if ( usr.stat || usr.restrained() )
+6
View File
@@ -122,6 +122,12 @@ HOSTEDBY Yournamehere
## set a server location for world reboot. Don't include the byond://, just give the address and port.
# SERVER ss13.example.com:2506
## forum address
# FORUMURL http://justanotherday.example.com
## Wiki address
# WIKIURL http://www.nanotrasen.com/wiki/index.php
## Ban appeals URL - usually for a forum or wherever people should go to contact your admins.
# BANAPPEALS http://justanotherday.example.com
-1
View File
@@ -1 +0,0 @@
<B>Boom boom tap, a-Boom boomboom tap</B>
View File
+15
View File
@@ -0,0 +1,15 @@
/client/verb/wiki()
set name = "wiki"
set desc = "Visit the wiki."
set hidden = 1
if( config.wikiurl )
src << link(config.wikiurl)
return
/client/verb/forum()
set name = "forum"
set desc = "Visit the forum."
set hidden = 1
if( config.forumurl )
src << link(config.forumurl)
return
+59 -3
View File
@@ -1171,10 +1171,66 @@ window "rpane"
splitter = 50
show-splitter = true
lock = none
elem "forumb"
type = BUTTON
pos = 260,0
size = 60x16
anchor1 = none
anchor2 = none
font-family = ""
font-size = 0
font-style = ""
text-color = #000000
background-color = none
is-visible = true
is-disabled = false
is-transparent = false
is-default = false
border = none
drop-zone = false
right-click = false
saved-params = "is-checked"
on-size = ""
text = "Forum"
image = ""
command = "forum"
is-flat = false
stretch = false
is-checked = false
group = "rpanemode"
button-type = pushbutton
elem "wikib"
type = BUTTON
pos = 195,0
size = 60x16
anchor1 = none
anchor2 = none
font-family = ""
font-size = 0
font-style = ""
text-color = #000000
background-color = none
is-visible = true
is-disabled = false
is-transparent = false
is-default = false
border = none
drop-zone = false
right-click = false
saved-params = "is-checked"
on-size = ""
text = "Wiki"
image = ""
command = "wiki"
is-flat = false
stretch = false
is-checked = false
group = "rpanemode"
button-type = pushbutton
elem "textb"
type = BUTTON
pos = 0,0
size = 60x20
size = 60x16
anchor1 = none
anchor2 = none
font-family = ""
@@ -1202,7 +1258,7 @@ window "rpane"
elem "browseb"
type = BUTTON
pos = 65,0
size = 60x20
size = 60x16
anchor1 = none
anchor2 = none
font-family = ""
@@ -1230,7 +1286,7 @@ window "rpane"
elem "infob"
type = BUTTON
pos = 130,0
size = 60x20
size = 60x16
anchor1 = none
anchor2 = none
font-family = ""
+1
View File
@@ -1067,6 +1067,7 @@
#include "code\WorkInProgress\mapload\reader.dm"
#include "code\WorkInProgress\organs\implants.dm"
#include "code\WorkInProgress\organs\organs.dm"
#include "interface\interface.dm"
#include "interface\skin.dmf"
#include "maps\tgstation.2.0.8.dmm"
// END_INCLUDE