Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LV-759 Hybrisa Prospera port [IDB IGNORE] [TM only] #803

Open
wants to merge 46 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
4e58ec5
aa
AlanParkerMasters Feb 24, 2025
bc21516
aa
AlanParkerMasters Feb 26, 2025
670a3ce
yup
AlanParkerMasters Feb 26, 2025
d52a5a0
finally
AlanParkerMasters Feb 26, 2025
d8834c9
Merge branch 'master' of https://github.com/AlanParkerMasters/cmss13-…
AlanParkerMasters Feb 26, 2025
cc206d3
det hat fixes/fedora
AlanParkerMasters Feb 26, 2025
aeb6adb
ANOTHER hat fix
AlanParkerMasters Feb 26, 2025
5772825
even more hat fixes (guh)
AlanParkerMasters Feb 26, 2025
fc1cc96
line art and fixes
AlanParkerMasters Feb 26, 2025
b493ad9
fixes (corpse spawner bug)
AlanParkerMasters Feb 26, 2025
c7559e0
corpse spawner removal bug
AlanParkerMasters Feb 26, 2025
c69a163
more corpse spawner fixes
AlanParkerMasters Feb 26, 2025
f73bc0d
adds two autodocs to Hybrisa hospital for PVP map
AlanParkerMasters Feb 27, 2025
688ec93
Hybrisa repaired map complete
AlanParkerMasters Feb 27, 2025
53f4eda
hybrisa repaired map fix
AlanParkerMasters Feb 27, 2025
02b6dca
Merge branch 'master' of https://github.com/AlanParkerMasters/cmss13-…
AlanParkerMasters Feb 28, 2025
b7986b7
fixes planes issue (repaired Hybrisa)
AlanParkerMasters Feb 28, 2025
f571b79
Hybrisa repaired map fix
AlanParkerMasters Feb 28, 2025
b82ebc8
var edit fix (repaired)
AlanParkerMasters Feb 28, 2025
b6841c5
couple of varedited .dmi's removed
AlanParkerMasters Feb 28, 2025
570276f
proper spacecraft fuel tanks (repaired-hy)
AlanParkerMasters Feb 28, 2025
c697d34
atm fixes and giant driller addition (clean-hy)
AlanParkerMasters Feb 28, 2025
c65edf9
more fixes
AlanParkerMasters Feb 28, 2025
2264c33
banned neighbor tiles fixes (clean-hy)
AlanParkerMasters Feb 28, 2025
7888037
more banned neighbor fixes
AlanParkerMasters Feb 28, 2025
d98ef15
another neighbor fix
AlanParkerMasters Feb 28, 2025
a4c842c
even more neighbor fixes
AlanParkerMasters Feb 28, 2025
d7874f6
a
AlanParkerMasters Feb 28, 2025
e41be04
aa
AlanParkerMasters Feb 28, 2025
015f212
dmi fix (c-h)
AlanParkerMasters Feb 28, 2025
3a33801
twe airbase clean Hybrisa fix
AlanParkerMasters Feb 28, 2025
deb1c9d
removes weeds from repaired
AlanParkerMasters Mar 1, 2025
649fbf0
replaces Engi ship with expanded caverns (repaired-hy)
AlanParkerMasters Mar 1, 2025
7080daf
replaces some unacid/explode proof shutters (rep-hy)
AlanParkerMasters Mar 1, 2025
8fec3f5
more fixes (rep-hy)
AlanParkerMasters Mar 1, 2025
cbcf603
Adds and fixes proper phone lines (rep-hy)
AlanParkerMasters Mar 2, 2025
999060e
proper functioning ID doors + klaxon blaring removal
AlanParkerMasters Mar 2, 2025
9a01c0a
check fix
AlanParkerMasters Mar 2, 2025
0ac90a2
anchors and layers Hybrisa decals properly
AlanParkerMasters Mar 2, 2025
cb3e6f8
another decal fix
AlanParkerMasters Mar 2, 2025
a43a8e5
makes Hybrisa dirt and trash decals cleanable
AlanParkerMasters Mar 2, 2025
2747d8d
Merge branch 'master' into hybrisa_port
AlanParkerMasters Mar 2, 2025
aec25c9
actually gives IDs accountant numbers
AlanParkerMasters Mar 2, 2025
a49d23d
test fix
AlanParkerMasters Mar 2, 2025
6c971fb
door ID fix
AlanParkerMasters Mar 2, 2025
cabd009
area check fix
AlanParkerMasters Mar 2, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions code/__DEFINES/__game.dm
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
#define MAP_RUNTIME "USS Runtime"
#define MAP_LV522_CHANCES_CLAIM "LV-522 Chance's Claim" // Highpop Only
#define MAP_LV522_CHANCES_CLAIM_FORECON "LV-522 Chance's Claim Forecon"
#define MAP_LV759_HYBRISA_PROSPERA "LV-759 Hybrisa Prospera" // Highpop Only
#define MAP_LV759_HYBRISA_PROSPERA_REPAIRED "LV-759 Hybrisa Prospera Repaired"
#define MAP_NEW_VARADERO "New Varadero"//ice colony underground but as its own map
#define MAP_NEW_VARADERO_REPAIRED "New Varadero Repaired"
#define MAP_CHINOOK "Chinook 91 GSO" //admin level
Expand Down
2 changes: 2 additions & 0 deletions code/__DEFINES/colours.dm
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@
#define LIGHT_COLOR_TUNGSTEN "#FAE1AF"
/// Barely visible cyan-ish hue, as the doctor prescribed. rgb(240, 250, 250)
#define LIGHT_COLOR_HALOGEN "#F0FAFA"
/// Bluish cyan color for blue lights. rgb(210, 227, 236)
#define LIGHT_COLOR_XENON "#D2E3EC"

/// The default color for admin say, used as a fallback when the preference is not enabled

Expand Down
1 change: 1 addition & 0 deletions code/__DEFINES/conflict.dm
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@
//Health of various items
#define HEALTH_WALL 3000
#define HEALTH_WALL_REINFORCED 9000
#define HEALTH_WALL_ULTRA_REINFORCED 12000
#define HEALTH_WALL_XENO 900
#define HEALTH_WALL_XENO_WEAK 100
#define HEALTH_WALL_XENO_THICK 1350
Expand Down
5 changes: 5 additions & 0 deletions code/__DEFINES/dcs/signals/atom/mob/living/signals_living.dm
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,8 @@

/// from base of /mob/living/apply_status_effect(): (datum/status_effect/new_effect)
#define COMSIG_LIVING_APPLY_EFFECT "living_apply_effect"

/// from /datum/component/shimmy_around/proc/on_mob_move to determine if layer should be reset
#define COMSIG_LIVING_SHIMMY_LAYER "structure_shimmy_layer"
/// Sent when a shimmy component is currently overriding the layer
#define COMSIG_LIVING_SHIMMY_LAYER_CANCEL (1<<0)
3 changes: 3 additions & 0 deletions code/__DEFINES/dcs/signals/atom/signals_obj.dm
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@

#define COMSIG_STRUCTURE_WRENCHED "structure_wrenched"
#define COMSIG_STRUCTURE_UNWRENCHED "structure_unwrenched"
/// from /obj/structure/Collided() if not overriden for /datum/component/shimmy_around
#define COMSIG_STRUCTURE_COLLIDED "structure_collided"

#define COMSIG_TENT_COLLAPSING "tent_collapsing"

/// from /obj/proc/afterbuckle()
Expand Down
18 changes: 18 additions & 0 deletions code/__DEFINES/job.dm
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,18 @@ GLOBAL_LIST_INIT(job_command_roles, JOB_COMMAND_ROLES_LIST)

#define CMB_GRUNT_LIST list(JOB_CMB, JOB_CMB_TL)

//-------- NSPA --------//
#define JOB_NSPA_CST "NSPA Constable"
#define JOB_NSPA_SC "NSPA Senior Constable"
#define JOB_NSPA_SGT "NSPA Sergeant"
#define JOB_NSPA_INSP "NSPA Inspector"
#define JOB_NSPA_CINSP "NSPA Chief Inspector"
#define JOB_NSPA_CMD "NSPA Commander"
#define JOB_NSPA_DCO "NSPA Deputy Commissioner"
#define JOB_NSPA_COM "NSPA Commissioner"

#define NSPA_GRUNT_LIST list(JOB_NSPA_CST, JOB_NSPA_SC, JOB_NSPA_SGT)

//-------- FORECON --------//

#define JOB_FORECON_CO "Reconnaissance Commander"
Expand Down Expand Up @@ -422,6 +434,12 @@ GLOBAL_LIST_INIT(job_command_roles, JOB_COMMAND_ROLES_LIST)
#define JOB_PLAYTIME_TIER_2 (25 HOURS)
#define JOB_PLAYTIME_TIER_3 (70 HOURS)
#define JOB_PLAYTIME_TIER_4 (175 HOURS)
#define JOB_PLAYTIME_TIER_5 (350 HOURS)
#define JOB_PLAYTIME_TIER_6 (600 HOURS)
#define JOB_PLAYTIME_TIER_7 (1000 HOURS)
#define JOB_PLAYTIME_TIER_8 (1500 HOURS)
#define JOB_PLAYTIME_TIER_9 (2100 HOURS)
#define JOB_PLAYTIME_TIER_10 (2800 HOURS)

#define XENO_NO_AGE -1
#define XENO_NORMAL 0
Expand Down
2 changes: 2 additions & 0 deletions code/__DEFINES/layers.dm
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@
#define ABOVE_XENO_LAYER 4.12
/// For facehuggers
#define FACEHUGGER_LAYER 4.13
/// For Signs above everything but below weather
#define BILLBOARD_LAYER 4.13
/// For WEATHER
#define WEATHER_LAYER 4.14

Expand Down
13 changes: 13 additions & 0 deletions code/__DEFINES/minimap.dm
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,16 @@ GLOBAL_LIST_INIT(all_minimap_flags, bitfield2list(MINIMAP_FLAG_ALL))

#define TACMAP_BASE_OCCLUDED "Occluded"
#define TACMAP_BASE_OPEN "Open"

// Hybrisa
#define MINIMAP_AREA_COLONY_STREETS "#4e6d67ae"
#define MINIMAP_AREA_COLONY_SPACE_PORT "#a54b01ee"
#define MINIMAP_AREA_COLONY_HOSPITAL "#029982e7"
#define MINIMAP_AREA_COLONY_ENGINEERING "#888404e7"
#define MINIMAP_AREA_COLONY_MARSHALLS "#880404e7"
#define MINIMAP_AREA_COLONY_RESANDCOM "#91bdcfe7"
#define MINIMAP_AREA_HYBRISACAVES "#390192ee"
#define MINIMAP_AREA_HYBRISARESEARCH "#856600ee"
#define MINIMAP_AREA_DERELICT "#920190ee"
#define MINIMAP_AREA_OOB "#3a3a3a"
#define MINIMAP_AREA_COMMS "#00b3ffe7"
2 changes: 2 additions & 0 deletions code/__DEFINES/mode.dm
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ DEFINE_BITFIELD(whitelist_status, list(
#define FACTION_PMC "PMC"
#define FACTION_CONTRACTOR "VAI"
#define FACTION_MARSHAL "Colonial Marshal"
#define FACTION_NSPA "NSPA"
#define FACTION_WY_DEATHSQUAD "WY Death Squad"
#define FACTION_MERCENARY "Mercenary"
#define FACTION_FREELANCER "Freelancer"
Expand Down Expand Up @@ -304,6 +305,7 @@ DEFINE_BITFIELD(whitelist_status, list(
#define FACTION_LIST_MARSHAL list(FACTION_MARSHAL)
#define FACTION_LIST_DUTCH list(FACTION_DUTCH)
#define FACTION_LIST_SURVIVOR_WY list(FACTION_SURVIVOR, FACTION_PMC, FACTION_WY_DEATHSQUAD, FACTION_WY)
#define FACTION_LIST_SURVIVOR_NSPA list(FACTION_SURVIVOR, FACTION_NSPA, FACTION_TWE)
#define FACTION_LIST_MARINE_WY list(FACTION_MARINE, FACTION_PMC, FACTION_WY_DEATHSQUAD, FACTION_WY)
#define FACTION_LIST_MARINE_UPP list(FACTION_MARINE, FACTION_UPP)
#define FACTION_LIST_MARINE_TWE list(FACTION_MARINE, FACTION_TWE)
Expand Down
3 changes: 3 additions & 0 deletions code/__DEFINES/paygrade_defs/civilian.dm
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
/// CNUR, Nurse
#define PAY_SHORT_CNUR "CNUR"

///CPARA, Paramedic
#define PAY_SHORT_CPARA "CPARA"

/// CDOC, Doctor
#define PAY_SHORT_CDOC "CDOC"

Expand Down
27 changes: 27 additions & 0 deletions code/__DEFINES/paygrade_defs/nspa.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// Paygrade shorthand defines, to allow clearer designation.

// NSPA - (Neroid Sector Policing Authority) - TWE style Police, like the CMB but for heavy TWE focused colonies.

/// CST, Constable
#define PAY_SHORT_CST "CST"

/// SC, Senior Constable
#define PAY_SHORT_SC "SC"

/// SGT, Sergeant
#define PAY_SHORT_SGT "SGT"

/// INSP, Inspector
#define PAY_SHORT_INSP "INSP"

/// CINSP, Chief Inspector
#define PAY_SHORT_CINSP "CINSP"

/// CMD, Commander
#define PAY_SHORT_CMD "CMD"

/// DCO, Deputy Commissioner
#define PAY_SHORT_DCO "DCO"

/// COM, Commissioner
#define PAY_SHORT_COM "COM"
3 changes: 3 additions & 0 deletions code/__DEFINES/paygrade_defs/weyland.dm
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
/// WYC2, Junior Executive
#define PAY_SHORT_WYC2 "WYC2"

/// WYC2, Pilot - Captain
#define PAY_SHORT_WYPO2 "WYPO2"

/// WYC3, Executive
#define PAY_SHORT_WYC3 "WYC3"

Expand Down
20 changes: 20 additions & 0 deletions code/__DEFINES/sounds.dm
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,23 @@
#define SCAPE_PL_HANGAR list('sound/soundscape/hangaramb1.ogg', 'sound/soundscape/hangaramb2.ogg', 'sound/soundscape/hangaramb3.ogg', 'sound/soundscape/hangaramb4.ogg', 'sound/soundscape/hangaramb5.ogg', 'sound/soundscape/hangaramb6.ogg', 'sound/soundscape/hangaramb7.ogg', 'sound/soundscape/hangaramb8.ogg', 'sound/soundscape/hangaramb9.ogg', 'sound/soundscape/hangaramb10.ogg', )
#define SCAPE_PL_ARES list('sound/soundscape/mother.ogg')
#define SCAPE_PL_AICORE list('sound/soundscape/aicore/aicore_beep.ogg', 'sound/soundscape/aicore/aicore_ident.ogg', 'sound/soundscape/aicore/aicore_rumble1.ogg', 'sound/soundscape/aicore/aicore_rumble2.ogg', 'sound/soundscape/aicore/aicore_rumble3.ogg', 'sound/soundscape/aicore/aicore_rumble4.ogg', 'sound/soundscape/aicore/aicore_rumble5.ogg', 'sound/soundscape/aicore/aicore_tone1.ogg', 'sound/soundscape/aicore/aicore_tone2.ogg', 'sound/soundscape/aicore/aicore_tone3.ogg', 'sound/soundscape/aicore/aicore_tone4.ogg', 'sound/soundscape/aicore/aicore_tone5.ogg', 'sound/soundscape/aicore/aicore_tone6.ogg', 'sound/soundscape/aicore/aicore_tone7.ogg', 'sound/soundscape/aicore/aicore_tone8.ogg', 'sound/soundscape/aicore/aicore_tone9.ogg', 'sound/soundscape/aicore/aicore_tone10.ogg', 'sound/soundscape/aicore/aicore_tone11.ogg', 'sound/soundscape/aicore/aicore_tone12.ogg', 'sound/soundscape/aicore/aicore_tone13.ogg', 'sound/soundscape/aicore/aicore_tone14.ogg', 'sound/soundscape/aicore/aicore_tone15.ogg', 'sound/soundscape/aicore/aicore_tone16.ogg', 'sound/soundscape/aicore/aicore_tone17.ogg', 'sound/soundscape/aicore/aicore_tone18.ogg', )


// Hybrisa Soundscapes

#define AMBIENCE_CITY 'sound/ambience/city_on_fire.ogg'
#define AMBIENCE_DERELICT 'sound/ambience/derelict_ambience.ogg'
#define AMBIENCE_LAB 'sound/ambience/lab_ambience.ogg'
#define AMBIENCE_LAB_2 'sound/ambience/lab_ambience_2.ogg'
#define AMBIENCE_LAB_HALLWAY 'sound/ambience/lab_ambience_hallway.ogg'
#define AMBIENCE_WEYMART 'sound/ambience/weymart.ogg'
#define AMBIENCE_HYBRISA_INTERIOR 'sound/ambience/hybrisa_interior.ogg'
#define AMBIENCE_HYBRISA_CAVES 'sound/ambience/caves_ambience.ogg'
#define AMBIENCE_HYBRISA_CAVES_ALARM 'sound/ambience/caves_ambience_alarm.ogg'

#define SCAPE_PL_LV759_OUTDOORS list('sound/soundscape/lv759/outdoors/wind4.ogg','sound/soundscape/lv759/outdoors/wind5.ogg','sound/soundscape/lv759/outdoors/wind6.ogg','sound/soundscape/lv759/outdoors/wind7.ogg','sound/soundscape/lv759/outdoors/wind8.ogg','sound/soundscape/lv759/outdoors/wind9.ogg','sound/soundscape/lv759/outdoors/wind10.ogg','sound/soundscape/lv759/outdoors/wind11.ogg','sound/soundscape/lv759/outdoors/wind12.ogg','sound/soundscape/lv759/outdoors/wind13.ogg','sound/soundscape/lv759/outdoors/wind14.ogg','sound/soundscape/lv759/outdoors/wind15.ogg','sound/soundscape/lv759/outdoors/wind16.ogg','sound/soundscape/lv759/outdoors/wind17.ogg','sound/soundscape/lv759/outdoors/wind18.ogg','sound/soundscape/lv759/outdoors/wind19.ogg','sound/soundscape/lv759/outdoors/wind20.ogg','sound/soundscape/lv759/outdoors/wind21.ogg','sound/soundscape/lv759/outdoors/wind22.ogg','sound/soundscape/lv759/outdoors/wind23.ogg','sound/soundscape/lv759/outdoors/wind24.ogg','sound/soundscape/lv759/outdoors/wind25.ogg','sound/soundscape/lv759/outdoors/wind26.ogg','sound/soundscape/lv759/outdoors/wind27.ogg','sound/soundscape/lv759/outdoors/wind28.ogg',)
#define SCAPE_PL_LV759_INDOORS list('sound/soundscape/lv522/indoors/indoor_wind.ogg','sound/soundscape/lv522/indoors/indoor_wind2.ogg','sound/soundscape/lv759/indoors/vent_1.ogg','sound/soundscape/lv759/indoors/vent_2.ogg','sound/soundscape/lv759/indoors/vent_3.ogg','sound/soundscape/lv759/indoors/vent_4.ogg','sound/soundscape/lv759/indoors/vent_5.ogg','sound/soundscape/lv759/indoors/vent_6.ogg','sound/soundscape/lv759/indoors/vent_7.ogg','sound/soundscape/lv759/indoors/vent_6.ogg','sound/soundscape/lv759/indoors/distant_sounds_1.ogg','sound/soundscape/lv759/indoors/distant_sounds_2.ogg','sound/soundscape/lv759/indoors/distant_sounds_3.ogg','sound/soundscape/lv759/indoors/distant_sounds_4.ogg','sound/soundscape/lv759/indoors/distant_sounds_5.ogg','sound/soundscape/lv759/indoors/distant_sounds_6.ogg','sound/soundscape/lv759/indoors/distant_sounds_7.ogg','sound/soundscape/lv759/indoors/distant_sounds_8.ogg','sound/soundscape/lv759/indoors/distant_sounds_9.ogg','sound/soundscape/lv759/indoors/distant_sounds_10.ogg','sound/soundscape/engamb1.ogg','sound/soundscape/engamb2.ogg','sound/soundscape/engamb3.ogg','sound/soundscape/engamb4.ogg','sound/soundscape/engamb5.ogg','sound/soundscape/engamb6.ogg','sound/soundscape/engamb7.ogg',)
#define SCAPE_PL_LV759_DERELICTSHIP list('sound/soundscape/lv759/indoors/derelict1.ogg','sound/soundscape/lv759/indoors/derelict2.ogg','sound/soundscape/lv759/indoors/derelict3.ogg','sound/soundscape/lv759/indoors/derelict4.ogg','sound/soundscape/lv759/indoors/derelict5.ogg','sound/soundscape/lv759/indoors/derelict6.ogg','sound/soundscape/lv759/indoors/derelict7.ogg','sound/soundscape/lv759/indoors/derelict8.ogg')
#define SCAPE_PL_LV759_DEEPCAVES list('sound/soundscape/lv759/outdoors/deepcave1.ogg','sound/soundscape/lv759/outdoors/deepcave2.ogg')
#define SCAPE_PL_LV759_CAVES list('sound/soundscape/lv759/outdoors/windy_caverns_1.ogg','sound/soundscape/lv759/outdoors/windy_caverns_2.ogg','sound/soundscape/lv759/outdoors/windy_caverns_3.ogg',)
#define SCAPE_PL_LV759_PLATEAU_OUTDOORS list('sound/soundscape/lv759/outdoors/derelict_plateau_1.ogg','sound/soundscape/lv759/outdoors/derelict_plateau_2.ogg',)
1 change: 1 addition & 0 deletions code/__DEFINES/weather.dm
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#define PROB_WEATHER_BIG_RED 30
#define PROB_WEATHER_LV624 30
#define PROB_WEATHER_NEW_VARADERO 100
#define PROB_WEATHER_LV759 100

#define WEATHER_TYPE_NO_WEATHER 0
#define WEATHER_TYPE_SNOW 1
Expand Down
26 changes: 13 additions & 13 deletions code/__HELPERS/lists.dm
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,19 @@
return list[index]
return

//Checks for specific types in a list
/proc/is_type_in_list(atom/A, list/L)
for(var/type in L)
if(istype(A, type))
return 1
return 0

//Removes any null entries from the list
/proc/listclearnulls(list/list)
if(istype(list))
while(null in list)
list -= null
return
///Checks if the needle atom is any type in the type_list
/proc/is_type_in_list(atom/needle, list/type_list)
for(var/type in type_list)
if(istype(needle, type))
return TRUE
return FALSE

///Checks if the needle path derives from any in the path_list
/proc/is_path_in_list(needle, list/path_list)
for(var/path in path_list)
if(ispath(needle, path))
return TRUE
return FALSE

/*
* Returns list containing all the entries from first list that are not present in second.
Expand Down
7 changes: 5 additions & 2 deletions code/_onclick/hud/fullscreen.dm
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,14 @@
if (!screen || screen.type != type)
// needs to be recreated
clear_fullscreen(category, FALSE)
fullscreens[category] = screen = new type()
fullscreens[category] = screen = type ? new type() : null
else if ((!severity || severity == screen.severity) && (!client || screen.screen_loc != "CENTER-7,CENTER-7" || screen.fs_view == client.view))
// doesn't need to be updated
return screen

if(!screen)
return

screen.icon_state = "[initial(screen.icon_state)][severity]"
screen.severity = severity
if (client && screen.should_show_to(src))
Expand Down Expand Up @@ -55,7 +58,7 @@
var/atom/movable/screen/fullscreen/screen
for(var/category in fullscreens)
screen = fullscreens[category]
if(screen.should_show_to(src))
if(screen?.should_show_to(src))
screen.update_for_view(client.view)
client.add_to_screen(screen)
else
Expand Down
4 changes: 4 additions & 0 deletions code/controllers/subsystem/weather.dm
Original file line number Diff line number Diff line change
Expand Up @@ -202,3 +202,7 @@ SUBSYSTEM_DEF(weather)
/obj/effect/weather_vfx_holder/rain
icon_state = "strata_storm"
alpha = 50

/obj/effect/weather_vfx_holder/hybrisa_rain
icon_state = "hybrisa_rain"
alpha = 50
3 changes: 2 additions & 1 deletion code/datums/_atmos_setup.dm
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@
#define PIPE_COLOR_GREEN "#00ff00"
#define PIPE_COLOR_YELLOW "#ffcc00"
#define PIPE_COLOR_PURPLE "#5c1ec0"
#define PIPE_COLOR_DARKGREY "#a6aeab"

GLOBAL_LIST_INIT(pipe_colors, list("grey" = PIPE_COLOR_GREY, "red" = PIPE_COLOR_RED, "blue" = PIPE_COLOR_BLUE, "cyan" = PIPE_COLOR_CYAN, "green" = PIPE_COLOR_GREEN, "yellow" = PIPE_COLOR_YELLOW, "purple" = PIPE_COLOR_PURPLE))
GLOBAL_LIST_INIT(pipe_colors, list("grey" = PIPE_COLOR_GREY, "red" = PIPE_COLOR_RED, "blue" = PIPE_COLOR_BLUE, "cyan" = PIPE_COLOR_CYAN, "green" = PIPE_COLOR_GREEN, "yellow" = PIPE_COLOR_YELLOW, "purple" = PIPE_COLOR_PURPLE, "darkgrey" = PIPE_COLOR_DARKGREY))

/proc/pipe_color_lookup(color)
for(var/C in GLOB.pipe_colors)
Expand Down
21 changes: 21 additions & 0 deletions code/datums/ammo/bullet/smg.dm
Original file line number Diff line number Diff line change
Expand Up @@ -145,3 +145,24 @@
penetration = -ARMOR_PENETRATION_TIER_4
damage_falloff = DAMAGE_FALLOFF_TIER_6
scatter = SCATTER_AMOUNT_TIER_6


/datum/ammo/bullet/smg/p90
name = "submachinegun bullet"

damage = 22
accurate_range = 5
effective_range_max = 8
penetration = ARMOR_PENETRATION_TIER_2
damage_falloff = DAMAGE_FALLOFF_TIER_6
scatter = SCATTER_AMOUNT_TIER_6

/datum/ammo/bullet/smg/p90/twe_ap
name = "armor-piercing submachinegun bullet"

damage = 26
accurate_range = 5
effective_range_max = 8
penetration = ARMOR_PENETRATION_TIER_4
damage_falloff = DAMAGE_FALLOFF_TIER_6
scatter = SCATTER_AMOUNT_TIER_6
Loading
Loading