mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 04:57:12 +01:00
TG: 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. Revision: r3502 Author: elly1...@rocketmail.com
This commit is contained in:
@@ -1183,6 +1183,7 @@
|
||||
#include "code\WorkInProgress\virus2\monkeydispensor.dm"
|
||||
#include "code\WorkInProgress\virus2\Prob.dm"
|
||||
#include "code\WorkInProgress\Wrongnumber\weldbackpack.dm"
|
||||
#include "interface\interface.dm"
|
||||
#include "interface\skin.dmf"
|
||||
#include "maps\tgstation.2.0.8.dmm"
|
||||
// END_INCLUDE
|
||||
|
||||
@@ -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."
|
||||
@@ -218,6 +220,12 @@
|
||||
if ("banappeals")
|
||||
config.banappeals = value
|
||||
|
||||
if ("wikiurl")
|
||||
config.wikiurl = value
|
||||
|
||||
if ("forumurl")
|
||||
config.forumurl = value
|
||||
|
||||
if ("guest_jobban")
|
||||
config.guest_jobban = 1
|
||||
|
||||
|
||||
@@ -75,7 +75,6 @@
|
||||
onclose(user, "trans_valve")
|
||||
return
|
||||
|
||||
//CARN: MARKER
|
||||
Topic(href, href_list)
|
||||
..()
|
||||
if ( usr.stat || usr.restrained() )
|
||||
|
||||
@@ -126,6 +126,12 @@ GUEST_JOBBAN 1
|
||||
## 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://baystation12.net/forums/
|
||||
|
||||
## Wiki address
|
||||
# WIKIURL http://baystation12.net/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 +0,0 @@
|
||||
<B>Boom boom tap, a-Boom boomboom tap</B>
|
||||
@@ -47,6 +47,28 @@ Stuff which is in development and not yet visible to players or just code relate
|
||||
should be listed in the changelog upon commit though. Thanks. -->
|
||||
|
||||
<!-- To take advantage of the pretty new format (well it was new when I wrote this anyway), open the "add-to-changelog.html" file in any browser and add the stuff and then generate the html code and paste it here -->
|
||||
<div class="commit sansserif">
|
||||
<h2 class="date">06 May 2012</h2>
|
||||
<h3 class="author">TG updated:</h3>
|
||||
<ul class="changes bgimages16">
|
||||
<li class="rscadd">Artificers can now create cult floors.</li>
|
||||
<li class="rscadd">Added soil to plant seeds in. Make it by crushing up sandstone. Soil does not have indicators like trays do! Watch your plants carefully! </li>
|
||||
<li class="rscadd">Added money trees. When life gives you lemons, mutate them into cash. </li>
|
||||
<li class="rscadd">RnD can create a new tool for botanists: The floral somatoray. Has two modes. Use it on your plants to induce mutations or boost yield. </li>
|
||||
<li class="rscadd">Added chawanmushi recipe and beet soup recipes. </li>
|
||||
<li class="rscadd">Added 1% chance for a species mutation whenever a plant's stats mutate.</li>
|
||||
<li class="rscadd">New PDAs for the botanists and librarian. Sprites for cartridges for both too. </li>
|
||||
<li class="tweak">You can now only have ONE decal of blood per tile. This is to fix the millions of blood effect items that spawned to lag anyone who right clicked them. The most recently created blood item will be the one that remains. This does not effect gibs. </li>
|
||||
<li class="tweak">Hand tools now fit on your belt slot. </li>
|
||||
<li class="tweak">Changelings faking death can no longer have their brains cut out. </li>
|
||||
<li class="tweak">Updated the barman's shotgun, it acts like a double-barrel now, and he can saw it off. </li>
|
||||
<li class="imageadd">New sprites for lots of medical computers! </li>
|
||||
<li class="imageadd">New carrot in-tray sprites. </li>
|
||||
<li class="bugfix">Soulstones can no longer capture the manifested ghosts. No more infinite constructs. </li>
|
||||
<li class="bugfix">Changes rev objectives to use the proper objective so heads being off station actually works. </li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="commit sansserif">
|
||||
<h2 class="date">05 May 2012</h2>
|
||||
<h3 class="author">Erthilo updated:</h3>
|
||||
|
||||
@@ -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
|
||||
+60
-4
@@ -1340,10 +1340,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 = ""
|
||||
@@ -1371,7 +1427,7 @@ window "rpane"
|
||||
elem "browseb"
|
||||
type = BUTTON
|
||||
pos = 65,0
|
||||
size = 60x20
|
||||
size = 60x16
|
||||
anchor1 = none
|
||||
anchor2 = none
|
||||
font-family = ""
|
||||
@@ -1379,7 +1435,7 @@ window "rpane"
|
||||
font-style = ""
|
||||
text-color = #000000
|
||||
background-color = none
|
||||
is-visible = false
|
||||
is-visible = true
|
||||
is-disabled = false
|
||||
is-transparent = false
|
||||
is-default = false
|
||||
@@ -1399,7 +1455,7 @@ window "rpane"
|
||||
elem "infob"
|
||||
type = BUTTON
|
||||
pos = 130,0
|
||||
size = 60x20
|
||||
size = 60x16
|
||||
anchor1 = none
|
||||
anchor2 = none
|
||||
font-family = ""
|
||||
|
||||
Reference in New Issue
Block a user