Skip to content

Commit c521912

Browse files
authored
Merge pull request #5262 from MistakeNot4892/port/polaris_main_code
Porting main code changes from Polaris rebase.
2 parents 1ffd134 + 908de45 commit c521912

File tree

26 files changed

+98
-33
lines changed

26 files changed

+98
-33
lines changed

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
@@ -475,7 +475,7 @@
475475
if(!usr.can_enter_cryopod(usr))
476476
return
477477

478-
visible_message(emote_replace_user_tokens(emote_replace_target_tokens(on_enter_visible_message, src), usr), range = 3)
478+
visible_message(capitalize_proper_html(emote_replace_user_tokens(emote_replace_target_tokens(on_enter_visible_message, src), usr)), range = 3)
479479

480480
if(do_after(usr, 20, src))
481481

code/game/movietitles.dm

Lines changed: 1 addition & 1 deletion
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.",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@
169169
/obj/item/box/ammo/blanks/large
170170
icon_state = "largebox"
171171
w_class = ITEM_SIZE_LARGE
172+
storage = /datum/storage/box/large/metal
172173

173174
/obj/item/box/ammo/blanks/large/Initialize(ml, material_key)
174175
. = ..()

code/game/objects/items/weapons/tanks/tank_types.dm

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/* Types of tanks!
22
* Contains:
33
* Oxygen
4-
* Anesthetic
54
* Air
65
* Hydrogen
76
* Emergency Oxygen
@@ -55,6 +54,9 @@
5554
/obj/item/tank/hydrogen/empty
5655
starting_pressure = list()
5756

57+
/obj/item/tank/hydrogen/collector
58+
starting_pressure = list(/decl/material/gas/hydrogen = 70)
59+
5860
/*
5961
* Emergency Oxygen
6062
*/
@@ -105,4 +107,4 @@
105107
icon = 'icons/obj/items/tanks/tank_red.dmi'
106108
distribute_pressure = ONE_ATMOSPHERE*O2STANDARD
107109
starting_pressure = list(/decl/material/gas/nitrogen = 10 ATM)
108-
gas_volume = 180
110+
gas_volume = 180

code/modules/admin/verbs/debug.dm

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,8 +313,7 @@
313313
for(var/obj/machinery/rad_collector/Rad in SSmachines.machinery)
314314
if(Rad.anchored)
315315
if(!Rad.loaded_tank)
316-
Rad.loaded_tank = new /obj/item/tank/hydrogen(Rad)
317-
Rad.loaded_tank.air_contents.gas[/decl/material/gas/hydrogen] = 70
316+
Rad.loaded_tank = new /obj/item/tank/hydrogen/collector(Rad)
318317
Rad.drainratio = 0
319318
if(!Rad.active)
320319
Rad.toggle_power()

code/modules/backgrounds/citizenship/_citizenship.dm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/decl/background_detail/citizenship
22
abstract_type = /decl/background_detail/citizenship
33
category = /decl/background_category/citizenship
4+
var/ruling_body = "Other Faction"
45
var/capital
56
var/size_heading = "Systems"
67
var/size_value

code/modules/backgrounds/citizenship/citizenship_other.dm

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,16 @@
1414
description = "You do not possess any kind of official citizenship."
1515
economic_power = 0
1616
capital = "None"
17+
18+
/decl/background_detail/citizenship/synthetic
19+
name = "Stateless Drone"
20+
uid = "stateless_drone"
21+
description = "Drones are considered property in most systems. Thus, statelessness is ubiqtuous for them."
22+
secondary_langs = list(
23+
/decl/language/machine,
24+
/decl/language/human/common,
25+
/decl/language/sign
26+
)
27+
28+
/decl/background_detail/citizenship/synthetic/sanitize_background_name(new_name)
29+
return sanitize_name(new_name, allow_numbers = TRUE)

code/modules/clothing/costumes/rank.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
name = "head of personnel's suit"
1616
icon = 'icons/clothing/uniform_hop_whimsy.dmi'
1717

18-
/obj/item/clothing/costume/hosformalmale
18+
/obj/item/clothing/costume/hosformal
1919
name = "head of security's formal uniform"
2020
desc = "A male head of security's formal-wear, for special occasions."
2121
icon = 'icons/clothing/uniform_hos_formal.dmi'

code/modules/clothing/jumpsuits/_jumpsuit.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/obj/item/clothing/jumpsuit
22
name = "jumpsuit"
3-
desc = "The latest in space fashion."
3+
desc = "The latest in utilitarian fashion."
44
icon = 'icons/clothing/jumpsuits/jumpsuit.dmi'
55
body_parts_covered = SLOT_UPPER_BODY|SLOT_LOWER_BODY|SLOT_LEGS|SLOT_ARMS
66
permeability_coefficient = 0.90

0 commit comments

Comments
 (0)