Skip to content

Commit 17c1f60

Browse files
authored
Merge pull request #5276 from MistakeNot4892/misc_polaris_changes
Misc Polneb changes
2 parents 7c62a0d + 470880c commit 17c1f60

File tree

27 files changed

+148
-36
lines changed

27 files changed

+148
-36
lines changed

code/__defines/machinery.dm

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -42,28 +42,27 @@ var/global/defer_powernet_rebuild = 0 // True if net rebuild will be called
4242

4343
// Camera channels
4444
// Station channels
45-
#define CAMERA_CHANNEL_PUBLIC "Public"
46-
#define CAMERA_CHANNEL_ENGINEERING "Engineering"
47-
#define CAMERA_CHANNEL_MEDICAL "Medical"
48-
#define CAMERA_CHANNEL_RESEARCH "Research"
49-
#define CAMERA_CHANNEL_SECURITY "Security"
50-
51-
#define CAMERA_CHANNEL_ROBOTS "Robots"
52-
#define CAMERA_CHANNEL_MINE "Mining"
53-
#define CAMERA_CHANNEL_SECRET "Secret"
45+
#define CAMERA_CHANNEL_PUBLIC "Public"
46+
#define CAMERA_CHANNEL_ENGINEERING "Engineering"
47+
#define CAMERA_CHANNEL_MEDICAL "Medical"
48+
#define CAMERA_CHANNEL_RESEARCH "Research"
49+
#define CAMERA_CHANNEL_SECURITY "Security"
50+
#define CAMERA_CHANNEL_ROBOTS "Robots"
51+
#define CAMERA_CHANNEL_MINE "Mining"
52+
#define CAMERA_CHANNEL_SECRET "Secret"
5453

5554
// Non-station channels
56-
#define CAMERA_CHANNEL_CRESCENT "Crescent"
57-
#define CAMERA_CHANNEL_ERT "ZeEmergencyResponseTeam"
58-
#define CAMERA_CHANNEL_MERCENARY "MercurialNet"
59-
#define CAMERA_CHANNEL_TELEVISION "Television"
55+
#define CAMERA_CHANNEL_CRESCENT "Crescent"
56+
#define CAMERA_CHANNEL_ERT "Emergency Response Team"
57+
#define CAMERA_CHANNEL_MERCENARY "MercurialNet"
58+
#define CAMERA_CHANNEL_TELEVISION "Television"
6059

6160
// Alarm networks
62-
#define NETWORK_ALARM_ATMOS "Atmosphere Alarms"
61+
#define NETWORK_ALARM_ATMOS "Atmosphere Alarms"
6362
#define NETWORK_ALARM_CAMERA "Camera Alarms"
64-
#define NETWORK_ALARM_FIRE "Fire Alarms"
63+
#define NETWORK_ALARM_FIRE "Fire Alarms"
6564
#define NETWORK_ALARM_MOTION "Motion Alarms"
66-
#define NETWORK_ALARM_POWER "Power Alarms"
65+
#define NETWORK_ALARM_POWER "Power Alarms"
6766

6867
//singularity defines
6968
#define STAGE_ONE 1

code/datums/outfits/outfit.dm

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,3 +270,7 @@
270270

271271
/decl/outfit/dd_SortValue()
272272
return name
273+
274+
// Stub for the sake of being able to make people spawn nude.
275+
/decl/outfit/naked
276+
name = "Naked And Afraid"

code/game/machinery/holosign.dm

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@
1010
anchored = TRUE
1111
obj_flags = OBJ_FLAG_MOVES_UNSUPPORTED
1212
directional_offset = @'{"NORTH":{"y":-32}, "SOUTH":{"y":32}, "EAST":{"x":32}, "WEST":{"x":-32}}'
13-
var/lit = 0
13+
var/lit = FALSE
1414
var/on_icon = "sign_on"
15+
var/sign_light_color = COLOR_CYAN_BLUE
1516

1617
uncreated_component_parts = list(
1718
/obj/item/stock_parts/radio/receiver,
@@ -33,11 +34,11 @@
3334

3435
/obj/machinery/holosign/on_update_icon()
3536
if (!lit || inoperable())
36-
icon_state = "sign_off"
37+
icon_state = initial(icon_state)
3738
set_light(0)
3839
else
3940
icon_state = on_icon
40-
set_light(1, 0.5, COLOR_CYAN_BLUE)
41+
set_light(1, 0.5, sign_light_color)
4142

4243
/decl/public_access/public_variable/holosign_on
4344
expected_type = /obj/machinery/holosign
@@ -68,6 +69,13 @@
6869
desc = "Small wall-mounted holographic projector. This one reads SERVICE."
6970
on_icon = "service"
7071

72+
/obj/machinery/holosign/bar
73+
name = "bar holosign"
74+
desc = "Small wall-mounted holographic projector. This one reads OPEN."
75+
icon_state = "barclosed"
76+
on_icon = "baropen"
77+
sign_light_color = COLOR_LIGHT_CYAN
78+
7179
////////////////////SWITCH///////////////////////////////////////
7280
/obj/machinery/button/holosign
7381
name = "holosign switch"

code/game/objects/items/devices/gps.dm

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,3 +453,16 @@ var/global/list/all_gps_units = list()
453453
"stripe-outside" = "#ffae00",
454454
"stripe-inside" = "#9e7900"
455455
)
456+
457+
/obj/item/gps/security
458+
color = "#5c0000"
459+
decals = list(
460+
"stripe-outside" = "#ff0000",
461+
"stripe-inside" = "#800000"
462+
)
463+
464+
/obj/item/gps/security/hos
465+
decals = list(
466+
"stripe-outside" = "#ffae00",
467+
"stripe-inside" = "#9e7900"
468+
)

code/game/objects/items/weapons/material/ashtray.dm

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,6 @@
5858

5959
/obj/item/ashtray/glass
6060
material = /decl/material/solid/glass
61+
62+
/obj/item/ashtray/bronze
63+
material = /decl/material/solid/metal/bronze

code/game/objects/items/weapons/storage/boxes.dm

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,17 @@
166166
/obj/item/box/ammo/blanks/WillContain()
167167
return list(/obj/item/ammo_casing/shotgun/blank = 8)
168168

169+
/obj/item/box/ammo/blanks/large
170+
icon_state = "largebox"
171+
w_class = ITEM_SIZE_LARGE
172+
173+
/obj/item/box/ammo/blanks/large/Initialize(ml, material_key)
174+
. = ..()
175+
storage.make_exact_fit()
176+
177+
/obj/item/box/ammo/blanks/large/WillContain()
178+
return list(/obj/item/ammo_casing/shotgun/blank = 16)
179+
169180
/obj/item/box/ammo/practiceshells
170181
name = "box of practice shells"
171182
/obj/item/box/ammo/practiceshells/WillContain()

code/game/objects/random/subtypes/misc.dm

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,16 @@
5454
)
5555
return spawnable_choices
5656

57+
/obj/random/mug
58+
name = "random coffee cup"
59+
desc = "A random coffee cup/mug."
60+
icon = 'icons/obj/drink_glasses/coffecup.dmi'
61+
icon_state = "coffeecup"
62+
63+
/obj/random/mug/spawn_choices()
64+
var/static/list/spawnable_choices = typesof(/obj/item/chems/drinks/glass2/coffeecup) - /obj/item/chems/drinks/glass2/coffeecup/custom
65+
return spawnable_choices
66+
5767
/obj/random/drinkbottle
5868
name = "random drink"
5969
desc = "This is a random drink."

code/game/turfs/floors/subtypes/floor_circuit.dm

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
name = "mainframe base" // TODO: force name overriding flooring?
1414
temperature = 263
1515

16+
/turf/floor/bluegrid/cryo
17+
initial_gas = list(/decl/material/gas/nitrogen = MOLES_CELLSTANDARD)
18+
temperature = -200 CELSIUS
19+
1620
/turf/floor/greengrid
1721
name = "mainframe floor"
1822
icon = 'icons/turf/flooring/circuit.dmi'

code/game/turfs/floors/subtypes/floor_tiled.dm

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
icon_state = "dark"
1111
_flooring = /decl/flooring/tiling/dark
1212

13+
/turf/floor/tiled/dark/cryo
14+
initial_gas = list(/decl/material/gas/nitrogen = MOLES_CELLSTANDARD)
15+
temperature = -200 CELSIUS
16+
1317
/turf/floor/tiled/dark/monotile
1418
name = "floor"
1519
icon_state = "monotiledark"
@@ -68,6 +72,10 @@
6872
icon_state = "techfloor_gray"
6973
_flooring = /decl/flooring/tiling/tech
7074

75+
/turf/floor/tiled/techfloor/cryo
76+
initial_gas = list(/decl/material/gas/nitrogen = MOLES_CELLSTANDARD)
77+
temperature = -200 CELSIUS
78+
7179
/turf/floor/tiled/monotile
7280
name = "floor"
7381
icon_state = "steel_monotile"
@@ -108,6 +116,10 @@
108116
icon_state = "techfloor_grid"
109117
_flooring = /decl/flooring/tiling/tech/grid
110118

119+
/turf/floor/tiled/techfloor/grid/cryo
120+
initial_gas = list(/decl/material/gas/nitrogen = MOLES_CELLSTANDARD)
121+
temperature = -200 CELSIUS
122+
111123
/turf/floor/tiled/airless
112124
name = "airless floor"
113125
initial_gas = null

code/game/turfs/walls/wall_natural.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,4 +236,4 @@ var/global/_wall_chisel_skill = SKILL_CONSTRUCTION
236236
if(length(S.base_materials))
237237
return pick(S.base_materials)
238238
//Otherwise, just use level strata
239-
return ..()
239+
return ..()

0 commit comments

Comments
 (0)