Skip to content

Commit f57fb79

Browse files
Combined main code changes from Polaris.
1 parent 0360920 commit f57fb79

File tree

67 files changed

+289
-74
lines changed

Some content is hidden

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

67 files changed

+289
-74
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/datums/storage/subtypes_box.dm

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
/datum/storage/box/animal_cube
1919
can_hold = list(/obj/item/food/animal_cube)
2020

21+
/datum/storage/box/large/metal
22+
use_sound = 'sound/effects/closet_open.ogg'
23+
2124
/datum/storage/box/snappop
2225
can_hold = list(/obj/item/toy/snappop)
2326

code/game/machinery/cryopod.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,4 +576,4 @@
576576
return TRUE
577577

578578
/obj/machinery/cryopod/proc/on_mob_spawn()
579-
playsound(src, 'sound/machines/ding.ogg', 30, 1)
579+
playsound(src, 'sound/machines/ding.ogg', 30, 1)

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/machinery/oxygen_pump.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,4 +280,4 @@
280280
if(lungs.is_bruised() && prob(30))
281281
lungs.heal_damage(1)
282282
else
283-
breather.suffocation_counter = max(breather.suffocation_counter - rand(1,5), 0)
283+
breather.suffocation_counter = max(breather.suffocation_counter - rand(1,5), 0)

code/game/movietitles.dm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ var/global/list/end_titles
128128
titles += "<center>STAFF'S GOOD BOYS:<br>[english_list(goodboys)]</center><br>"
129129

130130
var/disclaimer = "<br>Sponsored by [global.using_map.company_name].<br>All rights reserved.<br>\
131-
This motion picture is protected under the copyright laws of the Sol Central Government<br> and other nations throughout the galaxy.<br>\
131+
This motion picture is protected under the copyright laws of the system government<br> and other nations throughout the galaxy.<br>\
132132
Colony of First Publication: [pick("Mars", "Luna", "Earth", "Venus", "Phobos", "Ceres", "Tiamat", "Ceti Epsilon", "Eos", "Pluto", "Ouere",\
133133
"Lordania", "Kingston", "Cinu", "Yuklid V", "Lorriman", "Tersten", "Gaia")].<br>"
134134
disclaimer += pick("Use for parody prohibited. PROHIBITED.",
@@ -146,4 +146,4 @@ var/global/list/end_titles
146146
titles += "<hr>"
147147
titles += "<center><span style='font-size:6pt;'>[JOINTEXT(disclaimer)]</span></center>"
148148

149-
return titles
149+
return titles

code/game/objects/items/circuitboards/computer/computer.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,4 +120,4 @@
120120

121121
/obj/item/stock_parts/circuitboard/guestpass
122122
name = "circuitboard (guest pass terminal)"
123-
build_path = /obj/machinery/computer/guestpass
123+
build_path = /obj/machinery/computer/guestpass

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

0 commit comments

Comments
 (0)