Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit dbf4f1f

Browse files
authored
Merge pull request #11 from yogstation13/master
War of the Underworld
2 parents de554d3 + 2fc812b commit dbf4f1f

535 files changed

Lines changed: 55143 additions & 28088 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
/code/controllers/failsafe.dm @AsV9
2424
/code/controllers/subsystem.dm @AsV9
2525
/code/controllers/subsystem/timer.dm @AsV9
26+
/code/datums/achievements/achievements.dm @AsV9
2627

2728
#Identification
2829

.github/FUNDING.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# These are supported funding model platforms
2+
3+
custom: ['https://www.yogstation.net/index.php?do=donate']

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,4 +211,8 @@ tools/MapAtmosFixer/MapAtmosFixer/bin/*
211211
/_maps/templates.dm
212212

213213
#KDIFF3 files
214-
*.orig
214+
*.orig
215+
216+
#Debugging and other stuff
217+
byond-extools.dll
218+
extools.dll

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM tgstation/byond:512.1470 as base
1+
FROM tgstation/byond:513.1490 as base
22

33
FROM base as build_base
44

SQL/database_changelog.txt

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,39 @@
11
Any time you make a change to the schema files, remember to increment the database schema version. Generally increment the minor number, major should be reserved for significant changes to the schema. Both values go up to 255.
22

3-
The latest database version is 5.2; The query to update the schema revision table is:
3+
The latest database version is 5.3; The query to update the schema revision table is:
44

5-
INSERT INTO `schema_revision` (`major`, `minor`) VALUES (5, 2);
5+
INSERT INTO `schema_revision` (`major`, `minor`) VALUES (5, 3);
66
or
7-
INSERT INTO `SS13_schema_revision` (`major`, `minor`) VALUES (5, 2);
7+
INSERT INTO `SS13_schema_revision` (`major`, `minor`) VALUES (5, 3);
88

99
In any query remember to add a prefix to the table names if you use one.
1010

1111
----------------------------------------------------
1212

13+
version 5.3 10 Dec 2019, by Nichlas0010
14+
15+
Added two tables for achievements, one for the metadata and one for storing achieved achievements, as well as a misc table which is essentially just a glorified assoc list
16+
17+
CREATE TABLE `achievements` (
18+
`name` VARCHAR(32) NOT NULL,
19+
`id` INT UNSIGNED NOT NULL,
20+
`descr` VARCHAR(2048) NOT NULL,
21+
PRIMARY KEY (`id`)
22+
) ENGINE=InnoDB;
23+
24+
CREATE TABLE `earned_achievements` (
25+
`ckey` VARCHAR(32) NOT NULL,
26+
`id` INT UNSIGNED NOT NULL
27+
) ENGINE=InnoDB;
28+
29+
CREATE TABLE `misc` (
30+
`key` VARCHAR(32) NOT NULL,
31+
`value` VARCHAR(2048) NOT NULL,
32+
PRIMARY KEY (`key`)
33+
) ENGINE=InnoDB;
34+
35+
----------------------------------------------------
36+
1337
Version 5.2, 28 Aug 2019, by AffectedArc07/TheGamer01
1438

1539
Added a field to the `player` table to track ckey and discord ID relationships

SQL/tgstation_schema.sql

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -534,6 +534,16 @@ CREATE TABLE `earned_achievements` (
534534
`id` INT UNSIGNED NOT NULL
535535
) ENGINE=InnoDB;
536536

537+
--
538+
-- Table structure for table `achievements`
539+
--
540+
DROP TABLE IF EXISTS `misc`;
541+
CREATE TABLE `misc` (
542+
`key` VARCHAR(32) NOT NULL,
543+
`value` VARCHAR(2048) NOT NULL,
544+
PRIMARY KEY (`key`)
545+
) ENGINE=InnoDB;
546+
537547
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
538548
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
539549
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;

SQL/tgstation_schema_prefixed.sql

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -534,6 +534,16 @@ CREATE TABLE `SS13_earned_achievements` (
534534
`id` INT UNSIGNED NOT NULL
535535
) ENGINE=InnoDB;
536536

537+
--
538+
-- Table structure for table `achievements`
539+
--
540+
DROP TABLE IF EXISTS `SS13_misc`;
541+
CREATE TABLE `SS13_misc` (
542+
`key` VARCHAR(32) NOT NULL,
543+
`value` VARCHAR(2048) NOT NULL,
544+
PRIMARY KEY (`key`)
545+
) ENGINE=InnoDB;
546+
537547
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
538548
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
539549
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;

_maps/RandomRuins/LavaRuins/lavaland_surface_mimingdrill.dmm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
/area/ruin/unpowered)
88
"c" = (
99
/obj/structure/falsewall/titanium,
10-
/turf/open/space/basic,
10+
/turf/open/floor/plating,
1111
/area/ruin/unpowered)
1212
"d" = (
1313
/obj/structure/window/shuttle,

_maps/RandomRuins/LavaRuins/lavaland_surface_russianbunker.dmm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@
216216
"aH" = (
217217
/obj/structure/grille,
218218
/obj/structure/window/reinforced/fulltile,
219-
/turf/open/space/basic,
219+
/turf/open/floor/plating,
220220
/area/ruin/unpowered{
221221
name = "\improper Russian Bunker";
222222
noteleport = 1
@@ -309,7 +309,7 @@
309309
/obj/effect/decal/cleanable/blood/splatter,
310310
/obj/structure/grille,
311311
/obj/structure/window/reinforced/fulltile,
312-
/turf/open/space/basic,
312+
/turf/open/floor/plating,
313313
/area/ruin/unpowered{
314314
name = "\improper Russian Bunker";
315315
noteleport = 1

_maps/RandomRuins/SpaceRuins/Academy.dmm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@
406406
/area/awaymission/academy/headmaster)
407407
"bw" = (
408408
/obj/structure/table/wood,
409-
/obj/item/guardiancreator/choose,
409+
/obj/item/guardiancreator,
410410
/turf/open/floor/engine/cult,
411411
/area/awaymission/academy/academyengine)
412412
"bx" = (
@@ -727,6 +727,7 @@
727727
"cF" = (
728728
/obj/effect/immovablerod{
729729
dir = 4
730+
notdebris = 1
730731
},
731732
/obj/structure/cable,
732733
/obj/structure/cable{

0 commit comments

Comments
 (0)