Skip to content

Commit 5eb0871

Browse files
authored
Merge pull request #133 from Glamyrio/code_review
Code review
2 parents 1adb9f3 + 5fdcf3f commit 5eb0871

24 files changed

Lines changed: 139 additions & 124 deletions

File tree

.github/labeler.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
"GitHub":
32
- changed-files:
43
- any-glob-to-any-file: [".github/**"]
@@ -13,8 +12,8 @@
1312
- any-glob-to-any-file: [".vscode/**"]
1413
"Документация":
1514
- all:
16-
- changed-files:
17-
- any-glob-to-any-file: ["**/*.md"]
15+
- changed-files:
16+
- any-glob-to-any-file: ["**/*.md"]
1817
"Звуки":
1918
- changed-files:
2019
- any-glob-to-any-file: ["**/*.ogg"]
@@ -29,12 +28,12 @@
2928
- any-glob-to-any-file: ["modular_meta/**"]
3029
"Спрайты":
3130
- changed-files:
32-
- any-glob-to-any-file: ["**/*.dmi"]
31+
- any-glob-to-any-file: ["**/*.dmi"]
3332

34-
"Слияние с апстримом":
33+
"Апстрим":
3534
- all:
3635
- base-branch: "master"
37-
- head-branch: "merge[-_]upstream"
36+
- head-branch: "upstream"
3837
"Фишка":
3938
- head-branch: ["^feat", "feat"]
4039
"Улучшение":

.github/workflows/ci_suite.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
name: Completion Gate
7575
needs: [
7676
compare_screenshots,
77-
#compile_all_maps, - we need ts fixed, so we doesn't include it, for now
77+
compile_all_maps,
7878
run_all_tests,
7979
run_alternate_tests,
8080
#run_linters,

_maps/bearcat.json

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"map_name": "Bearcat",
44
"map_path": "map_files/bearcat",
55
"map_file": "bearcat.dmm",
6+
"exclude_from_ci": true,
67
"shuttles": {
78
"cargo": "cargo_box",
89
"ferry": "ferry_fancy",
@@ -18,19 +19,21 @@
1819
"Baseturf": "/turf/open/openspace",
1920
"Linkage": "Cross",
2021
"Gravity": true
21-
2222
},
2323
{
2424
"Baseturf": "/turf/open/openspace",
2525
"Linkage": "Cross",
2626
"Gravity": true
27-
2827
}
29-
]
30-
,
28+
],
3129
"job_changes": {
3230
"Cook": {
33-
"additional_cqc_areas": ["/area/station/service/bar", "/area/station/service/hydroponics", "/area/station/maintenance/floor2/port/fore", "/area/station/commons/lounge"]
31+
"additional_cqc_areas": [
32+
"/area/station/service/bar",
33+
"/area/station/service/hydroponics",
34+
"/area/station/maintenance/floor2/port/fore",
35+
"/area/station/commons/lounge"
36+
]
3437
},
3538
"Coroner": {
3639
"total_positions": 0,

_maps/gateway_test.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"map_path": "map_files/debug",
55
"map_file": "gateway_test.dmm",
66
"space_ruin_levels": 0,
7+
"exclude_from_ci": true,
78
"minetype": "none",
89
"load_all_away_missions": true,
910
"ignored_unit_tests": [

_maps/kilostation.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"Linkage": "Cross"
1515
}
1616
],
17+
"ignored_unit_tests": ["/datum/unit_test/create_and_destroy"],
1718
"job_changes": {
1819
"Cook": {
1920
"additional_cqc_areas": ["/area/station/service/bar/atrium"]

_maps/map_files/KiloStation/KiloStation.dmm

Lines changed: 47 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1444,6 +1444,7 @@
14441444
/obj/effect/turf_decal/tile/red/half/contrasted{
14451445
dir = 8
14461446
},
1447+
/obj/effect/landmark/firealarm_sanity,
14471448
/turf/open/floor/iron/showroomfloor,
14481449
/area/station/security/checkpoint/science/research)
14491450
"awW" = (
@@ -11738,6 +11739,12 @@
1173811739
},
1173911740
/turf/open/floor/iron/showroomfloor,
1174011741
/area/station/medical/virology)
11742+
"dUA" = (
11743+
/obj/effect/landmark/firealarm_sanity,
11744+
/turf/open/floor/engine{
11745+
name = "Holodeck Projector Floor"
11746+
},
11747+
/area/station/holodeck/rec_center)
1174111748
"dUE" = (
1174211749
/obj/structure/chair{
1174311750
dir = 1
@@ -18246,6 +18253,7 @@
1824618253
/obj/effect/turf_decal/tile/neutral/half/contrasted{
1824718254
dir = 4
1824818255
},
18256+
/obj/effect/landmark/firealarm_sanity,
1824918257
/turf/open/floor/iron/dark,
1825018258
/area/station/security/checkpoint/medical)
1825118259
"fZk" = (
@@ -18568,6 +18576,7 @@
1856818576
/obj/machinery/atmospherics/pipe/smart/manifold4w/scrubbers/hidden/layer2,
1856918577
/obj/machinery/atmospherics/pipe/smart/manifold4w/supply/hidden/layer4,
1857018578
/obj/machinery/duct,
18579+
/obj/effect/landmark/firealarm_sanity,
1857118580
/turf/open/floor/iron/dark,
1857218581
/area/station/maintenance/port/greater)
1857318582
"geO" = (
@@ -24983,6 +24992,7 @@
2498324992
/obj/effect/decal/cleanable/dirt,
2498424993
/obj/effect/mapping_helpers/broken_floor,
2498524994
/obj/machinery/duct,
24995+
/obj/effect/landmark/firealarm_sanity,
2498624996
/turf/open/floor/plating,
2498724997
/area/station/security/execution/transfer)
2498824998
"idh" = (
@@ -25341,6 +25351,7 @@
2534125351
/obj/effect/turf_decal/stripes/line{
2534225352
dir = 1
2534325353
},
25354+
/obj/effect/landmark/firealarm_sanity,
2534425355
/turf/open/floor/iron/showroomfloor,
2534525356
/area/station/medical/virology)
2534625357
"ijy" = (
@@ -28345,6 +28356,7 @@
2834528356
/obj/effect/turf_decal/tile/purple,
2834628357
/obj/effect/turf_decal/tile/purple/half/contrasted,
2834728358
/obj/machinery/duct,
28359+
/obj/machinery/firealarm/directional/south,
2834828360
/turf/open/floor/iron/showroomfloor,
2834928361
/area/station/science/xenobiology)
2835028362
"jds" = (
@@ -33732,6 +33744,7 @@
3373233744
/obj/machinery/atmospherics/components/unary/vent_pump/on/layer4{
3373333745
dir = 1
3373433746
},
33747+
/obj/effect/landmark/firealarm_sanity,
3373533748
/turf/open/floor/iron/checker,
3373633749
/area/station/security/processing/cremation)
3373733750
"kUX" = (
@@ -36031,6 +36044,7 @@
3603136044
/obj/effect/turf_decal/stripes/line{
3603236045
dir = 9
3603336046
},
36047+
/obj/effect/landmark/firealarm_sanity,
3603436048
/turf/open/floor/plating,
3603536049
/area/station/cargo/warehouse/upper)
3603636050
"lFt" = (
@@ -37699,6 +37713,7 @@
3769937713
/obj/effect/decal/cleanable/blood/old,
3770037714
/mob/living/basic/spider/giant/hunter/scrawny,
3770137715
/obj/effect/turf_decal/tile/neutral/opposingcorners,
37716+
/obj/effect/landmark/firealarm_sanity,
3770237717
/turf/open/floor/iron/dark,
3770337718
/area/station/maintenance/port/greater)
3770437719
"mii" = (
@@ -41378,6 +41393,7 @@
4137841393
/obj/effect/turf_decal/tile/neutral{
4137941394
dir = 1
4138041395
},
41396+
/obj/effect/landmark/firealarm_sanity,
4138141397
/turf/open/floor/iron,
4138241398
/area/station/security/processing)
4138341399
"nuf" = (
@@ -52616,6 +52632,7 @@
5261652632
/obj/effect/decal/cleanable/dirt,
5261752633
/obj/machinery/atmospherics/pipe/smart/manifold4w/supply/hidden/layer4,
5261852634
/obj/effect/mapping_helpers/broken_floor,
52635+
/obj/effect/landmark/firealarm_sanity,
5261952636
/turf/open/floor/plating,
5262052637
/area/station/security/execution/education)
5262152638
"rll" = (
@@ -52795,7 +52812,6 @@
5279552812
/obj/effect/turf_decal/tile/green/anticorner/contrasted{
5279652813
dir = 1
5279752814
},
52798-
/obj/machinery/duct,
5279952815
/turf/open/floor/iron/showroomfloor,
5280052816
/area/station/medical/virology)
5280152817
"rou" = (
@@ -53559,6 +53575,10 @@
5355953575
dir = 8
5356053576
},
5356153577
/obj/structure/cable,
53578+
/obj/machinery/firealarm/directional/west{
53579+
pixel_x = -26;
53580+
pixel_y = -26
53581+
},
5356253582
/turf/open/floor/iron,
5356353583
/area/station/hallway/primary/central/fore)
5356453584
"rxD" = (
@@ -53868,6 +53888,7 @@
5386853888
},
5386953889
/obj/effect/turf_decal/stripes/line,
5387053890
/obj/effect/turf_decal/tile/neutral/opposingcorners,
53891+
/obj/effect/landmark/firealarm_sanity,
5387153892
/turf/open/floor/iron/dark,
5387253893
/area/station/command/eva)
5387353894
"rDO" = (
@@ -54183,6 +54204,7 @@
5418354204
/obj/effect/turf_decal/tile/purple/half/contrasted{
5418454205
dir = 8
5418554206
},
54207+
/obj/effect/landmark/firealarm_sanity,
5418654208
/turf/open/floor/iron/showroomfloor,
5418754209
/area/station/science/xenobiology)
5418854210
"rJS" = (
@@ -55978,6 +56000,7 @@
5597856000
/obj/effect/turf_decal/tile/neutral{
5597956001
dir = 8
5598056002
},
56003+
/obj/machinery/firealarm/directional/west,
5598156004
/turf/open/floor/iron/dark,
5598256005
/area/station/command/bridge)
5598356006
"smC" = (
@@ -64119,6 +64142,7 @@
6411964142
/obj/effect/turf_decal/tile/neutral{
6412064143
dir = 1
6412164144
},
64145+
/obj/effect/landmark/firealarm_sanity,
6412264146
/turf/open/floor/iron/dark,
6412364147
/area/station/maintenance/port/greater)
6412464148
"uQt" = (
@@ -68053,6 +68077,15 @@
6805368077
},
6805468078
/turf/open/floor/iron,
6805568079
/area/station/engineering/atmos)
68080+
"vYc" = (
68081+
/obj/machinery/atmospherics/pipe/smart/manifold4w/supply/hidden/layer4,
68082+
/obj/machinery/atmospherics/pipe/smart/manifold4w/scrubbers/hidden/layer2,
68083+
/obj/effect/turf_decal/tile/purple/half/contrasted{
68084+
dir = 1
68085+
},
68086+
/obj/effect/landmark/firealarm_sanity,
68087+
/turf/open/floor/iron/showroomfloor,
68088+
/area/station/science/ordnance)
6805668089
"vYm" = (
6805768090
/obj/machinery/atmospherics/pipe/smart/manifold4w/scrubbers/hidden/layer2,
6805868091
/obj/effect/decal/cleanable/dirt,
@@ -68172,6 +68205,7 @@
6817268205
/obj/effect/turf_decal/stripes/corner,
6817368206
/obj/structure/cable,
6817468207
/obj/machinery/power/apc/auto_name/directional/west,
68208+
/obj/effect/landmark/firealarm_sanity,
6817568209
/turf/open/floor/plating,
6817668210
/area/station/cargo/warehouse/upper)
6817768211
"war" = (
@@ -69437,6 +69471,7 @@
6943769471
/obj/machinery/atmospherics/pipe/smart/manifold4w/scrubbers/hidden/layer2,
6943869472
/obj/effect/turf_decal/tile/blue,
6943969473
/obj/effect/turf_decal/tile/blue/half/contrasted,
69474+
/obj/machinery/firealarm/directional/south,
6944069475
/turf/open/floor/iron/showroomfloor,
6944169476
/area/station/medical/psychology)
6944269477
"wua" = (
@@ -72601,6 +72636,7 @@
7260172636
/obj/effect/turf_decal/stripes/line{
7260272637
dir = 6
7260372638
},
72639+
/obj/effect/landmark/firealarm_sanity,
7260472640
/turf/open/floor/plating,
7260572641
/area/station/cargo/warehouse/upper)
7260672642
"xvW" = (
@@ -75141,6 +75177,13 @@
7514175177
},
7514275178
/turf/open/floor/iron,
7514375179
/area/station/security/brig)
75180+
"yls" = (
75181+
/obj/effect/turf_decal/box/corners{
75182+
dir = 1
75183+
},
75184+
/obj/effect/landmark/firealarm_sanity,
75185+
/turf/open/floor/engine,
75186+
/area/station/science/xenobiology)
7514475187
"ylu" = (
7514575188
/obj/machinery/firealarm/directional/east,
7514675189
/obj/effect/turf_decal/tile/red/half/contrasted{
@@ -89229,7 +89272,7 @@ vjh
8922989272
bJv
8923089273
bJv
8923189274
bJv
89232-
bJv
89275+
dUA
8923389276
bJv
8923489277
bJv
8923589278
bJv
@@ -112045,7 +112088,7 @@ aeu
112045112088
aeu
112046112089
aeu
112047112090
vJc
112048-
gpI
112091+
yls
112049112092
qmW
112050112093
vuI
112051112094
wuc
@@ -115422,7 +115465,7 @@ rxo
115422115465
uLW
115423115466
kkg
115424115467
bwA
115425-
tNC
115468+
vYc
115426115469
rqn
115427115470
cqr
115428115471
fyq

_maps/multiz_debug.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"/datum/unit_test/cargo_dep_order_locations",
88
"/datum/unit_test/maptest_job_roundstart_spawnpoints",
99
"/datum/unit_test/maptest_required_map_items",
10-
"/datum/unit_test/spy_bounty"
10+
"/datum/unit_test/spy_bounty",
11+
"/datum/unit_test/create_and_destroy"
1112
],
1213
"traits": [
1314
{

_maps/protoboxstation.json

Lines changed: 0 additions & 17 deletions
This file was deleted.

_maps/protosstation.json

Lines changed: 0 additions & 17 deletions
This file was deleted.

_maps/pubbystation.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,13 @@
99
"ferry": "ferry_fancy",
1010
"cargo": "cargo_pubby"
1111
},
12+
"ignored_unit_tests": ["/datum/unit_test/create_and_destroy"],
1213
"job_changes": {
1314
"Cook": {
14-
"additional_cqc_areas": ["/area/station/service/bar/atrium", "/area/station/security/prison/upper"]
15+
"additional_cqc_areas": [
16+
"/area/station/service/bar/atrium",
17+
"/area/station/security/prison/upper"
18+
]
1519
},
1620
"Prisoner": {
1721
"spawn_positions": 2

0 commit comments

Comments
 (0)