Compare commits

...

4 Commits

  1. 7
      .github/DOWNLOADING.md
  2. 50
      Dockerfile
  3. 20
      README.md
  4. 19216
      _maps/map_files/NoStation/NoStation.dmm
  5. 68
      _maps/map_files/NoStation/job_changes.dm
  6. 8
      _maps/nostation.json
  7. 490
      _maps/shuttles/arrival_ert_restoration.dmm
  8. 2
      code/controllers/subsystem/shuttle.dm
  9. 4
      code/datums/shuttles.dm
  10. 3
      code/modules/jobs/map_changes/map_changes.dm
  11. 4
      config/config.txt
  12. 12
      config/dbconfig.txt
  13. 4
      config/maps.txt
  14. 7
      dependencies.sh
  15. 28
      docker-compose.yml

7
.github/DOWNLOADING.md

@ -1,6 +1,10 @@
## DOWNLOADING
There are a number of ways to download the source code. Some are described here, an alternative all-inclusive guide is also located at https://www.tgstation13.org/wiki/Downloading_the_source_code
Option 0:
`docker-compose up -d`
Option 1:
Follow this: https://www.tgstation13.org/wiki/Setting_up_git
@ -11,11 +15,8 @@ hassle if you want to make any changes at all, so it's not recommended.)
Option 3: Download a pre-compiled nightly at https://tgstation13.download/nightlies/ (same caveats as option 2)
*Warning: option 4 is out of date, and not maintained, use at your own risk*
Option 4: Use our docker image that tracks the master branch (See commits for build status. Again, same caveats as option 2)
```
docker run -d -p <your port>:1337 -v /path/to/your/config:/tgstation/config -v /path/to/your/data:/tgstation/data tgstation/tgstation <dream daemon options i.e. -public or -params>
```

50
Dockerfile

@ -3,27 +3,27 @@ FROM tgstation/byond:513.1526 as base
FROM base as rust_g
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
git \
ca-certificates
&& apt-get install -y --no-install-recommends \
git \
ca-certificates
WORKDIR /rust_g
RUN apt-get install -y --no-install-recommends \
libssl-dev \
pkg-config \
curl \
gcc-multilib \
&& curl https://sh.rustup.rs -sSf | sh -s -- -y --default-host i686-unknown-linux-gnu \
&& git init \
&& git remote add origin https://github.com/tgstation/rust-g
libssl-dev \
pkg-config \
curl \
gcc-multilib \
&& curl https://sh.rustup.rs -sSf | sh -s -- -y --default-host i686-unknown-linux-gnu \
&& git init \
&& git remote add origin https://github.com/tgstation/rust-g
COPY dependencies.sh .
RUN /bin/bash -c "source dependencies.sh \
&& git fetch --depth 1 origin \$RUST_G_VERSION" \
&& git checkout FETCH_HEAD \
&& ~/.cargo/bin/cargo build --release
&& git fetch --depth 1 origin \$RUST_G_VERSION" \
&& git checkout FETCH_HEAD \
&& ~/.cargo/bin/cargo build --release
FROM base as dm_base
@ -34,7 +34,7 @@ FROM dm_base as build
COPY . .
RUN DreamMaker -max_errors 0 tgstation.dme \
&& tools/deploy.sh /deploy \
&& tools/deploy.sh /deploy \
&& rm /deploy/*.dll
FROM dm_base
@ -42,17 +42,17 @@ FROM dm_base
EXPOSE 1337
RUN apt-get update \
&& apt-get install -y --no-install-recommends software-properties-common \
&& add-apt-repository ppa:ubuntu-toolchain-r/test \
&& apt-get update \
&& apt-get upgrade -y \
&& apt-get dist-upgrade -y \
&& apt-get install -y --no-install-recommends \
libmariadb2 \
mariadb-client \
libssl1.0.0 \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /root/.byond/bin
&& apt-get install -y --no-install-recommends software-properties-common \
&& add-apt-repository ppa:ubuntu-toolchain-r/test \
&& apt-get update \
&& apt-get upgrade -y \
&& apt-get dist-upgrade -y \
&& apt-get install -y --no-install-recommends \
libmariadb2 \
mariadb-client \
libssl1.0.0 \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /root/.byond/bin
COPY --from=rust_g /rust_g/target/release/librust_g.so /root/.byond/bin/rust_g
COPY --from=build /deploy ./

20
README.md

@ -1,25 +1,26 @@
## /tg/station codebase
[![Build Status](https://travis-ci.org/tgstation/tgstation.png)](https://travis-ci.org/tgstation/tgstation)
[![Build Status](https://travis-ci.org/tgstation/tgstation.png)](https://travis-ci.org/tgstation/tgstation)
[![Percentage of issues still open](https://isitmaintained.com/badge/open/tgstation/tgstation.svg)](https://isitmaintained.com/project/tgstation/tgstation "Percentage of issues still open")
[![Average time to resolve an issue](https://isitmaintained.com/badge/resolution/tgstation/tgstation.svg)](https://isitmaintained.com/project/tgstation/tgstation "Average time to resolve an issue")
![Coverage](https://img.shields.io/badge/coverage---3%25-red.svg)
[![forthebadge](https://forthebadge.com/images/badges/built-with-resentment.svg)](https://forthebadge.com) [![forthebadge](https://forthebadge.com/images/badges/contains-technical-debt.svg)](https://user-images.githubusercontent.com/8171642/50290880-ffef5500-043a-11e9-8270-a2e5b697c86c.png) [![forinfinityandbyond](https://user-images.githubusercontent.com/5211576/29499758-4efff304-85e6-11e7-8267-62919c3688a9.gif)](https://www.reddit.com/r/SS13/comments/5oplxp/what_is_the_main_problem_with_byond_as_an_engine/dclbu1a)
* **Website:** https://www.tgstation13.org
* **Code:** https://github.com/tgstation/tgstation
* **Wiki:** https://tgstation13.org/wiki/Main_Page
* **Codedocs:** https://codedocs.tgstation13.org/
* **/tg/station Discord:** https://tgstation13.org/phpBB/viewforum.php?f=60
* **Coderbus Discord:** https://discord.gg/Vh8TJp9
* ~~**IRC:** irc://irc.rizon.net/coderbus~~ (dead)
- **Website:** https://www.tgstation13.org
- **Code:** https://github.com/tgstation/tgstation
- **Wiki:** https://tgstation13.org/wiki/Main_Page
- **Codedocs:** https://codedocs.tgstation13.org/
- **/tg/station Discord:** https://tgstation13.org/phpBB/viewforum.php?f=60
- **Coderbus Discord:** https://discord.gg/Vh8TJp9
- ~~**IRC:** irc://irc.rizon.net/coderbus~~ (dead)
This is the codebase for the /tg/station flavoured fork of SpaceStation 13.
Space Station 13 is a paranoia-laden round-based roleplaying game set against the backdrop of a nonsensical, metal death trap masquerading as a space station, with charming spritework designed to represent the sci-fi setting and its dangerous undertones. Have fun, and survive!
## DOWNLOADING
[Downloading](.github/DOWNLOADING.md)
[Running on the server](.github/RUNNING_A_SERVER.md)
@ -27,6 +28,7 @@ Space Station 13 is a paranoia-laden round-based roleplaying game set against th
[Maps and Away Missions](.github/MAPS_AND_AWAY_MISSIONS.md)
## Requirements for contributors
[Guidelines for Contributors](.github/CONTRIBUTING.md)
[/tg/station HACKMD account](https://hackmd.io/@tgstation) - Design documentation here
@ -48,6 +50,6 @@ See LICENSE and GPLv3.txt for more details.
The TGS DMAPI API is licensed as a subproject under the MIT license.
See the footer of [code/__DEFINES/tgs.dm](./code/__DEFINES/tgs.dm) and [code/modules/tgs/LICENSE](./code/modules/tgs/LICENSE) for the MIT license.
See the footer of [code/\_\_DEFINES/tgs.dm](./code/__DEFINES/tgs.dm) and [code/modules/tgs/LICENSE](./code/modules/tgs/LICENSE) for the MIT license.
All assets including icons and sound are under a [Creative Commons 3.0 BY-SA license](https://creativecommons.org/licenses/by-sa/3.0/) unless otherwise indicated.

19216
_maps/map_files/NoStation/NoStation.dmm

File diff suppressed because it is too large

68
_maps/map_files/NoStation/job_changes.dm

@ -0,0 +1,68 @@
#define JOB_MODIFICATION_MAP_NAME "NoStation"
/datum/job/assistant/New()
..()
MAP_JOB_CHECK
outfit = /datum/outfit/centcom/centcom_intern
/datum/job/clown/New()
..()
MAP_JOB_CHECK
outfit = /datum/outfit/centcom/ert/clown
/datum/job/janitor/New()
..()
MAP_JOB_CHECK
outfit = /datum/outfit/centcom/ert/janitor/heavy
/datum/job/doctor/New()
..()
MAP_JOB_CHECK
outfit = /datum/outfit/centcom/ert/medic/alert
/datum/job/engineer/New()
..()
MAP_JOB_CHECK
outfit = /datum/outfit/centcom/ert/engineer/alert
/datum/job/captain/New()
..()
MAP_JOB_CHECK
outfit = /datum/outfit/centcom/ert/commander/alert
/datum/job/chaplain/New()
..()
MAP_JOB_CHECK
outfit = /datum/outfit/centcom/ert/chaplain
/datum/job/officer/New()
..()
MAP_JOB_CHECK
outfit = /datum/outfit/centcom/ert/security
MAP_REMOVE_JOB(atmos)
MAP_REMOVE_JOB(bartender)
MAP_REMOVE_JOB(hydro)
MAP_REMOVE_JOB(cargo_tech)
MAP_REMOVE_JOB(chemist)
MAP_REMOVE_JOB(chief_engineer)
MAP_REMOVE_JOB(cmo)
MAP_REMOVE_JOB(cook)
MAP_REMOVE_JOB(curator)
MAP_REMOVE_JOB(detective)
MAP_REMOVE_JOB(geneticist)
MAP_REMOVE_JOB(hop)
MAP_REMOVE_JOB(hos)
MAP_REMOVE_JOB(lawyer)
MAP_REMOVE_JOB(mime)
MAP_REMOVE_JOB(mining)
MAP_REMOVE_JOB(paramedic)
MAP_REMOVE_JOB(prisoner)
MAP_REMOVE_JOB(psychologist)
MAP_REMOVE_JOB(qm)
MAP_REMOVE_JOB(rd)
MAP_REMOVE_JOB(roboticist)
MAP_REMOVE_JOB(scientist)
MAP_REMOVE_JOB(miner)
MAP_REMOVE_JOB(virologist)
MAP_REMOVE_JOB(warden)

8
_maps/nostation.json

@ -0,0 +1,8 @@
{
"map_name": "NoStation",
"map_path": "map_files/NoStation",
"map_file": "NoStation.dmm",
"shuttles": {
"cargo": "cargo_delta"
}
}

490
_maps/shuttles/arrival_ert_restoration.dmm

@ -0,0 +1,490 @@
//MAP CONVERTED BY dmm2tgm.py THIS HEADER COMMENT PREVENTS RECONVERSION, DO NOT REMOVE
"a" = (
/turf/closed/wall/mineral/plastitanium,
/area/shuttle/arrival)
"b" = (
/turf/closed/wall/mineral/titanium/nodiagonal,
/area/shuttle/arrival)
"c" = (
/turf/closed/wall/mineral/titanium,
/area/shuttle/arrival)
"d" = (
/obj/machinery/door/airlock/shuttle{
name = "Arrival Shuttle Airlock"
},
/obj/effect/turf_decal/stripes/line,
/obj/effect/turf_decal/stripes/line{
dir = 1
},
/turf/open/floor/mineral/plastitanium,
/area/shuttle/arrival)
"e" = (
/obj/structure/sign/nanotrasen,
/turf/closed/wall/mineral/titanium,
/area/shuttle/arrival)
"f" = (
/obj/structure/window/shuttle,
/obj/structure/grille,
/turf/open/floor/plating,
/area/shuttle/arrival)
"g" = (
/turf/template_noop,
/area/template_noop)
"h" = (
/obj/structure/sign/warning/fire,
/turf/closed/wall/mineral/titanium,
/area/shuttle/arrival)
"i" = (
/obj/effect/turf_decal/delivery,
/obj/item/pizzabox/margherita,
/obj/item/pizzabox/meat,
/obj/item/pizzabox/mushroom,
/obj/item/pizzabox/pineapple,
/obj/item/pizzabox/vegetable,
/turf/open/floor/mineral/plastitanium,
/area/shuttle/arrival)
"j" = (
/obj/effect/turf_decal/bot,
/obj/structure/chair/comfy/shuttle,
/obj/machinery/light{
icon_state = "tube";
dir = 1
},
/turf/open/floor/mineral/plastitanium,
/area/shuttle/arrival)
"k" = (
/obj/effect/turf_decal/bot,
/obj/structure/chair/comfy/shuttle,
/turf/open/floor/mineral/plastitanium,
/area/shuttle/arrival)
"l" = (
/obj/effect/turf_decal/bot,
/obj/structure/chair/comfy/shuttle,
/obj/machinery/status_display/evac{
pixel_y = 32
},
/obj/machinery/light{
icon_state = "tube";
dir = 1
},
/turf/open/floor/mineral/plastitanium,
/area/shuttle/arrival)
"m" = (
/obj/effect/turf_decal/stripes/line{
dir = 8
},
/obj/effect/turf_decal/stripes/line{
dir = 4
},
/turf/open/floor/noslip,
/area/shuttle/arrival)
"n" = (
/obj/structure/shuttle/engine/propulsion/left{
dir = 8
},
/obj/effect/turf_decal/stripes/line{
dir = 8
},
/turf/open/floor/plating/airless,
/area/shuttle/arrival)
"o" = (
/obj/structure/window/shuttle,
/obj/structure/grille,
/obj/structure/shuttle/engine/heater{
dir = 8
},
/turf/open/floor/plating,
/area/shuttle/arrival)
"q" = (
/obj/effect/turf_decal/delivery,
/obj/item/storage/toolbox/mechanical,
/obj/item/storage/toolbox/emergency,
/obj/item/storage/toolbox/electrical,
/obj/item/storage/box/silver_ids,
/obj/item/storage/box/PDAs{
pixel_x = 4;
pixel_y = 4
},
/obj/structure/closet/crate,
/turf/open/floor/mineral/plastitanium,
/area/shuttle/arrival)
"r" = (
/obj/effect/turf_decal/stripes/line{
dir = 8
},
/obj/effect/turf_decal/stripes/corner{
dir = 4
},
/obj/effect/turf_decal/stripes/corner,
/turf/open/floor/noslip,
/area/shuttle/arrival)
"s" = (
/obj/effect/turf_decal/delivery,
/obj/structure/closet/crate/secure/weapon,
/obj/item/holo/esword,
/obj/item/gun/ballistic/revolver,
/obj/item/ammo_box/a357,
/obj/item/ammo_box/a357,
/obj/item/gun/ballistic/revolver,
/obj/item/holo/esword,
/turf/open/floor/mineral/plastitanium,
/area/shuttle/arrival)
"t" = (
/obj/effect/turf_decal/bot,
/obj/effect/turf_decal/stripes/corner{
dir = 8
},
/obj/machinery/light/small{
dir = 8
},
/obj/machinery/suit_storage_unit/ert,
/turf/open/floor/mineral/plastitanium,
/area/shuttle/arrival)
"u" = (
/obj/structure/shuttle/engine/propulsion{
dir = 8
},
/obj/effect/turf_decal/stripes/line{
dir = 8
},
/obj/docking_port/mobile/arrivals{
dir = 4;
name = "ERT restoration shuttle";
perma_docked = 1
},
/turf/open/floor/plating/airless,
/area/shuttle/arrival)
"w" = (
/obj/effect/turf_decal/stripes/line{
dir = 1
},
/obj/effect/turf_decal/stripes/line,
/turf/open/floor/noslip,
/area/shuttle/arrival)
"x" = (
/obj/effect/turf_decal/bot,
/obj/structure/chair/comfy/shuttle{
dir = 1
},
/obj/machinery/light,
/turf/open/floor/mineral/plastitanium,
/area/shuttle/arrival)
"y" = (
/obj/machinery/requests_console{
department = "Arrival shuttle";
name = "Arrivals Shuttle console"
},
/turf/closed/wall/mineral/titanium/nodiagonal,
/area/shuttle/arrival)
"z" = (
/obj/structure/flora/ausbushes/grassybush,
/obj/structure/flora/ausbushes/lavendergrass,
/obj/structure/flora/ausbushes/ywflowers,
/obj/structure/flora/ausbushes/fernybush,
/obj/structure/window/shuttle,
/turf/open/floor/grass,
/area/shuttle/arrival)
"A" = (
/obj/machinery/vending/wallmed{
name = "Emergency NanoMed";
use_power = 0
},
/turf/closed/wall/mineral/titanium/nodiagonal,
/area/shuttle/arrival)
"B" = (
/obj/effect/turf_decal/bot,
/obj/structure/chair/comfy/shuttle{
dir = 1
},
/obj/machinery/status_display/evac{
pixel_y = -32
},
/obj/machinery/light,
/turf/open/floor/mineral/plastitanium,
/area/shuttle/arrival)
"C" = (
/obj/item/radio/intercom{
pixel_x = 28
},
/obj/effect/turf_decal/stripes/corner,
/obj/effect/turf_decal/stripes/corner{
dir = 1
},
/obj/effect/turf_decal/stripes/corner{
dir = 8
},
/obj/effect/turf_decal/stripes/corner{
dir = 4
},
/turf/open/floor/noslip,
/area/shuttle/arrival)
"D" = (
/obj/effect/turf_decal/stripes/line,
/obj/machinery/door/airlock/shuttle{
name = "Arrival Shuttle Airlock"
},
/obj/effect/turf_decal/stripes/line{
dir = 1
},
/obj/effect/turf_decal/delivery,
/turf/open/floor/mineral/plastitanium,
/area/shuttle/arrival)
"E" = (
/obj/effect/turf_decal/stripes/line{
dir = 4
},
/obj/effect/turf_decal/stripes/line{
dir = 8
},
/turf/open/floor/noslip,
/area/shuttle/arrival)
"F" = (
/turf/open/floor/noslip,
/area/shuttle/arrival)
"G" = (
/obj/structure/shuttle/engine/propulsion/right{
dir = 8
},
/obj/effect/turf_decal/stripes/line{
dir = 8
},
/turf/open/floor/plating/airless,
/area/shuttle/arrival)
"H" = (
/obj/machinery/door/airlock/shuttle{
name = "Arrival Shuttle Airlock"
},
/turf/open/floor/plating,
/area/shuttle/arrival)
"I" = (
/obj/effect/turf_decal/stripes/line{
dir = 8
},
/turf/open/floor/noslip,
/area/shuttle/arrival)
"J" = (
/obj/effect/turf_decal/stripes/line{
dir = 8
},
/obj/effect/turf_decal/stripes/corner,
/obj/effect/turf_decal/stripes/corner{
dir = 4
},
/turf/open/floor/noslip,
/area/shuttle/arrival)
"K" = (
/obj/effect/turf_decal/stripes/line,
/obj/effect/turf_decal/stripes/line{
dir = 1
},
/turf/open/floor/noslip,
/area/shuttle/arrival)
"L" = (
/obj/machinery/status_display/ai,
/turf/closed/wall/mineral/titanium,
/area/shuttle/arrival)
"M" = (
/obj/effect/turf_decal/bot,
/obj/effect/turf_decal/stripes/corner{
dir = 1
},
/obj/machinery/light/small{
dir = 8
},
/obj/machinery/suit_storage_unit/ert,
/turf/open/floor/mineral/plastitanium,
/area/shuttle/arrival)
"N" = (
/obj/effect/turf_decal/bot,
/obj/structure/chair/comfy/shuttle{
dir = 1
},
/turf/open/floor/mineral/plastitanium,
/area/shuttle/arrival)
"O" = (
/obj/effect/turf_decal/stripes/corner{
dir = 4
},
/obj/effect/turf_decal/stripes/corner{
dir = 8
},
/obj/effect/turf_decal/stripes/corner{
dir = 1
},
/obj/effect/turf_decal/stripes/corner,
/turf/open/floor/noslip,
/area/shuttle/arrival)
"P" = (
/obj/effect/turf_decal/delivery,
/obj/item/tank/jetpack/oxygen,
/obj/item/tank/jetpack/oxygen,
/obj/item/tank/jetpack/oxygen,
/obj/item/tank/jetpack/oxygen,
/obj/structure/closet/crate,
/turf/open/floor/mineral/plastitanium,
/area/shuttle/arrival)
"R" = (
/obj/structure/grille,
/obj/structure/window/shuttle,
/turf/open/floor/plating,
/area/shuttle/arrival)
"S" = (
/obj/effect/turf_decal/stripes/line,
/obj/effect/turf_decal/stripes/line{
dir = 1
},
/obj/machinery/door/airlock/shuttle{
name = "Arrival Shuttle Airlock"
},
/turf/open/floor/plating,
/area/shuttle/arrival)
"U" = (
/obj/effect/turf_decal/delivery,
/obj/item/disk/tech_disk/debug,
/obj/item/circuitboard/machine/autolathe,
/obj/item/circuitboard/machine/techfab/department,
/obj/structure/closet/crate,
/turf/open/floor/mineral/plastitanium,
/area/shuttle/arrival)
"V" = (
/obj/effect/turf_decal/delivery,
/obj/structure/closet/crate/critter,
/mob/living/simple_animal/pet/cat/Runtime,
/turf/open/floor/mineral/plastitanium,
/area/shuttle/arrival)
"Y" = (
/obj/effect/turf_decal/bot,
/obj/machinery/suit_storage_unit/ert,
/turf/open/floor/mineral/plastitanium,
/area/shuttle/arrival)
"Z" = (
/obj/effect/turf_decal/delivery,
/turf/open/floor/mineral/plastitanium,
/area/shuttle/arrival)
(1,1,1) = {"
a
a
n
u
G
a
a
"}
(2,1,1) = {"
b
h
o
o
o
h
b
"}
(3,1,1) = {"
c
V
U
q
Z
P
c
"}
(4,1,1) = {"
d
m
r
m
J
E
H
"}
(5,1,1) = {"
e
j
w
s
K
x
e
"}
(6,1,1) = {"
f
k
w
y
K
N
f
"}
(7,1,1) = {"
R
k
w
z
K
N
f
"}
(8,1,1) = {"
R
k
w
A
K
N
f
"}
(9,1,1) = {"
c
l
w
i
K
B
c
"}
(10,1,1) = {"
S
E
C
E
O
E
H
"}
(11,1,1) = {"
b
c
c
D
L
c
b
"}
(12,1,1) = {"
c
e
t
I
M
e
c
"}
(13,1,1) = {"
g
c
Y
F
Y
c
g
"}
(14,1,1) = {"
g
c
f
f
f
c
g
"}

2
code/controllers/subsystem/shuttle.dm

@ -19,7 +19,7 @@ SUBSYSTEM_DEF(shuttle)
var/obj/docking_port/mobile/emergency/emergency
var/obj/docking_port/mobile/arrivals/arrivals
var/obj/docking_port/mobile/emergency/backup/backup_shuttle
var/emergencyCallTime = 6000 //time taken for emergency shuttle to reach the station when called (in deciseconds)
var/emergencyCallTime = 3000 //time taken for emergency shuttle to reach the station when called (in deciseconds)
var/emergencyDockTime = 1800 //time taken for emergency shuttle to leave again once it has docked (in deciseconds)
var/emergencyEscapeTime = 1200 //time taken for emergency shuttle to reach a safe distance after leaving station (in deciseconds)
var/area/emergencyLastCallLoc

4
code/datums/shuttles.dm

@ -576,6 +576,10 @@
suffix = "omega"
name = "arrival shuttle (Omega)"
/datum/map_template/shuttle/arrival/ert_restoration
suffix = "ert_restoration"
name = "ert shuttle (NoStation)"
/datum/map_template/shuttle/aux_base/default
suffix = "default"
name = "auxilliary base (Default)"

3
code/modules/jobs/map_changes/map_changes.dm

@ -5,3 +5,6 @@
#include "..\..\..\..\_maps\map_files\IceBoxStation\job_changes.dm"
#undef JOB_MODIFICATION_MAP_NAME
#include "..\..\..\..\_maps\map_files\NoStation\job_changes.dm"
#undef JOB_MODIFICATION_MAP_NAME

4
config/config.txt

@ -195,7 +195,7 @@ NORESPAWN
HOSTEDBY Yournamehere
## Uncomment this to stop people connecting to your server without a registered ckey. (i.e. guest-* are all blocked from connecting)
GUEST_BAN
#GUEST_BAN
## Comment this out to disable checking for the cid randomizer dll. (disabled if database isn't enabled or connected)
CHECK_RANDOMIZER
@ -214,7 +214,7 @@ CHECK_RANDOMIZER
#IPINTEL_DOMAIN check.getipintel.net
## Uncomment to allow web client connections
#ALLOW_WEBCLIENT
ALLOW_WEBCLIENT
## Uncomment to restrict web client connections to byond members
## This makes for a nice pay gate to cut down on ban evading, as the webclient's cid system isn't that great

12
config/dbconfig.txt

@ -3,17 +3,17 @@
## administration, and the in game library.
## Should SQL be enabled? Uncomment to enable
#SQL_ENABLED
SQL_ENABLED
## Server the MySQL database can be found at.
## Examples: localhost, 200.135.5.43, www.mysqldb.com, etc.
ADDRESS localhost
ADDRESS mariadb
## MySQL server port (default is 3306).
PORT 3306
## Database for all SQL functions, not just feedback.
FEEDBACK_DATABASE feedback
FEEDBACK_DATABASE tgstation
## Prefix to be added to the name of every table, older databases will require this be set to erro_
## Note, this does not change the table names in the database, you will have to do that yourself.
@ -21,13 +21,13 @@ FEEDBACK_DATABASE feedback
## FEEDBACK_TABLEPREFIX
## FEEDBACK_TABLEPREFIX SS13_
## Remove "SS13_" if you are using the standard schema file.
FEEDBACK_TABLEPREFIX SS13_
FEEDBACK_TABLEPREFIX
## Username/Login used to access the database.
FEEDBACK_LOGIN username
FEEDBACK_LOGIN tgstation
## Password used to access the database.
FEEDBACK_PASSWORD password
FEEDBACK_PASSWORD tgpassword
## Time in seconds for asynchronous queries to timeout
## Set to 0 for infinite

4
config/maps.txt

@ -39,3 +39,7 @@ endmap
map multiz_debug
endmap
map nostation
default
endmap

7
dependencies.sh

@ -3,13 +3,6 @@
#Project dependencies file
#Final authority on what's required to fully build the project
# byond version
# Extracted from the Dockerfile. Change by editing Dockerfile's FROM command.
LIST=($(sed -n 's/.*byond:\([0-9]\+\)\.\([0-9]\+\).*/\1 \2/p' Dockerfile))
export BYOND_MAJOR=${LIST[0]}
export BYOND_MINOR=${LIST[1]}
unset LIST
#rust_g git tag
export RUST_G_VERSION=0.4.5

28
docker-compose.yml

@ -0,0 +1,28 @@
version: "2"
services:
tgstation:
image: hamcha/tgstation:latest
build: .
ports:
- 1337:1337
restart: always
volumes:
- "tgstation-config:/tgstation/config"
- "tgstation-data:/tgstation/data"
labels: []
mariadb:
image: mariadb
restart: always
volumes:
- "mariadb-data:/var/lib/mysql"
- "./SQL/tgstation_schema.sql:/docker-entrypoint-initdb.d/tgstation_schema.sql:ro"
environment:
- MYSQL_RANDOM_ROOT_PASSWORD=yes
- MYSQL_USER=tgstation
- MYSQL_PASSWORD=tgpassword
- MYSQL_DATABASE=tgstation
volumes:
tgstation-config:
tgstation-data:
mariadb-data:
Loading…
Cancel
Save