Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 53679d0

Browse files
committed
Merge remote-tracking branch 'upstream/master' into PortsPsionics
2 parents 88f91db + d6461fc commit 53679d0

File tree

64 files changed

+811
-341
lines changed

Some content is hidden

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

64 files changed

+811
-341
lines changed

_maps/map_files/IceMeta/IceMeta.dmm

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60258,10 +60258,6 @@
6025860258
/obj/effect/turf_decal/trimline/engiyellow/filled/line/lower,
6025960259
/turf/open/floor/plasteel,
6026060260
/area/storage/primary)
60261-
"rts" = (
60262-
/obj/effect/turf_decal/trimline/secred/filled/corner/lower,
60263-
/turf/closed/wall,
60264-
/area/security/brig)
6026560261
"rtz" = (
6026660262
/obj/structure/cable/yellow{
6026760263
icon_state = "4-8"
@@ -69984,7 +69980,6 @@
6998469980
pixel_y = -38
6998569981
},
6998669982
/obj/effect/turf_decal/trimline/secred/filled/line/lower,
69987-
/obj/effect/turf_decal/trimline/secred/filled/corner/lower,
6998869983
/turf/open/floor/plasteel,
6998969984
/area/security/brig)
6999069985
"udI" = (
@@ -245192,7 +245187,7 @@ xvh
245192245187
iSo
245193245188
gNR
245194245189
udn
245195-
rts
245190+
ulr
245196245191
ulr
245197245192
ulr
245198245193
qin

code/__DEFINES/dcs/signals/signals_huds.dm renamed to code/__DEFINES/dcs/signals/signals_hud.dm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/// Sent from /datum/hud/proc/on_eye_change(): (atom/old_eye, atom/new_eye)
22
#define COMSIG_HUD_EYE_CHANGED "hud_eye_changed"
3+
/// Sent from /datum/hud/proc/eye_z_changed() : (new_z)
4+
#define COMSIG_HUD_Z_CHANGED "hud_z_changed"
35
/// Sent from /datum/hud/proc/eye_z_changed() : (old_offset, new_offset)
46
#define COMSIG_HUD_OFFSET_CHANGED "hud_offset_changed"
57
/// Sent from /atom/movable/screen/lobby/button/collapse/proc/collapse_buttons() : ()

code/__DEFINES/dcs/signals/signals_object.dm

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130
#define COMSIG_ITEM_DROPPED "item_drop"
131131
///from base of mob/dropItemToGround(): (mob/user)
132132
#define COMSIG_ITEM_PREDROPPED "item_predrop"
133-
///from base of /mob/living/stripPanelUnequip(): (obj/item/what, mob/who, where)
133+
///from base of /start_unequip_mob(): (obj/item/what, mob/who, where)
134134
#define COMSIG_ITEM_PRESTRIP "item_prestrip"
135135

136136
///from base of obj/item/pickup(): (/mob/taker)
@@ -144,25 +144,25 @@
144144
///from base of mob/living/carbon/attacked_by(): (mob/living/carbon/target, mob/living/user, hit_zone)
145145
#define COMSIG_ITEM_ATTACK_ZONE "item_attack_zone"
146146

147-
/// from /datum/component/cleave_attack/perform_sweep(): (atom/target, obj/item/item, mob/living/user, params)
147+
/// from /datum/component/cleave_attack/perform_sweep(): (atom/target, obj/item/item, mob/living/user, params)
148148
#define COMSIG_ATOM_CLEAVE_ATTACK "atom_cleave_attack"
149149
// allows cleave attack to hit things it normally wouldn't
150150
#define ATOM_ALLOW_CLEAVE_ATTACK (1<<0)
151151

152152
/// Called before an item is embedded (mob/living/carbon/target = carbon that it is getting embedded into)
153-
#define COMSIG_ITEM_EMBEDDED "mob_carbon_embedded"
153+
#define COMSIG_ITEM_EMBEDDED "mob_carbon_embedded"
154154
// Prevents the embed
155155
#define COMSIG_ITEM_BLOCK_EMBED (1 << 0)
156156

157157
/// Called before an item is removed from being embedded (mob/living/carbon/embedded = carbon that is currently embedded)
158-
#define COMSIG_ITEM_EMBED_REMOVAL "mob_carbon_embed_removal"
158+
#define COMSIG_ITEM_EMBED_REMOVAL "mob_carbon_embed_removal"
159159
// Prevents the removal of the embed
160160
#define COMSIG_ITEM_BLOCK_EMBED_REMOVAL (1 << 0)
161161
// Qdels the object when it is removed instead of droping it
162162
#define COMSIG_ITEM_QDEL_EMBED_REMOVAL (1 << 1)
163163

164164
/// Called every life tick for the embedded mob when the item is embedded (mob/living/carbon/embedded = carbon that is currently embedded)
165-
#define COMSIG_ITEM_EMBED_TICK "mob_carbon_embed_tick"
165+
#define COMSIG_ITEM_EMBED_TICK "mob_carbon_embed_tick"
166166
// Prevents the rest of the tick logic for the item from proccessing
167167
#define COMSIG_ITEM_BLOCK_EMBED_TICK (1 << 0)
168168

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/// from /datum/plane_master_group/proc/set_hud(): (datum/hud/new_hud)
2+
#define COMSIG_GROUP_HUD_CHANGED "group_hud_changed"

code/__DEFINES/layers.dm

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,29 +13,31 @@
1313
#define PLANE_SPACE -21
1414
#define PLANE_SPACE_PARALLAX -20
1515

16-
#define GRAVITY_PULSE_PLANE -12
16+
#define GRAVITY_PULSE_PLANE -19
1717
#define GRAVITY_PULSE_RENDER_TARGET "*GRAVPULSE_RENDER_TARGET"
1818

19-
#define RENDER_PLANE_TRANSPARENT -11 //Transparent plane that shows openspace underneath the floor
19+
#define RENDER_PLANE_TRANSPARENT -18 //Transparent plane that shows openspace underneath the floor
20+
#define TRANSPARENT_FLOOR_PLANE -13
2021

21-
#define TRANSPARENT_FLOOR_PLANE -10
22+
#define FLOOR_PLANE -12
23+
#define FLOOR_PLANE_RENDER_TARGET "*FLOOR_PLANE"
24+
#define WALL_PLANE -11
25+
#define GAME_PLANE -10
26+
#define ABOVE_GAME_PLANE -9
2227

23-
#define FLOOR_PLANE -6
24-
25-
#define WALL_PLANE -5
26-
#define GAME_PLANE -4
27-
#define ABOVE_GAME_PLANE -3
2828
///Slightly above the game plane but does not catch mouse clicks. Useful for certain visuals that should be clicked through, like seethrough trees
2929
#define SEETHROUGH_PLANE -2
3030

3131
#define RENDER_PLANE_GAME_WORLD -1
3232

3333
#define DEFAULT_PLANE 0 //Marks out the default plane, even if we don't use it
3434

35+
#define WEATHER_PLANE 1
3536
#define AREA_PLANE 2
36-
#define MASSIVE_OBJ_PLANE 3
37-
#define GHOST_PLANE 4
38-
#define POINT_PLANE 5
37+
38+
#define MASSIVE_OBJ_PLANE 6
39+
#define GHOST_PLANE 7
40+
#define POINT_PLANE 8
3941

4042
//---------- LIGHTING -------------
4143
///Normal 1 per turf dynamic lighting underlays
@@ -64,6 +66,7 @@
6466

6567
///Things that should render ignoring lighting
6668
#define ABOVE_LIGHTING_PLANE 17
69+
#define WEATHER_GLOW_PLANE 18
6770

6871
///---------------- MISC -----------------------
6972

code/__DEFINES/say.dm

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

129129

130130
#define MAX_FLAVOR_LEN 4096 //double the maximum message length.
131+
132+
/// Default volume of speech sound effects (this is actually multiplied by 5 when used)
133+
#define DEFAULT_SPEECH_VOLUME 60

code/__DEFINES/weather.dm

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
//A reference to this list is passed into area sound managers, and it's modified in a manner that preserves that reference in ash_storm.dm
2+
GLOBAL_LIST_EMPTY(ash_storm_sounds)
3+
4+
#define STARTUP_STAGE 1
5+
#define MAIN_STAGE 2
6+
#define WIND_DOWN_STAGE 3
7+
#define END_STAGE 4

code/__DEFINES/{yogs_defines}/mobs.dm

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -16,27 +16,3 @@
1616
#define SPECIES_VOX "vox"
1717

1818
#define BUTT_SPRITE_VOX "vox"
19-
20-
21-
GLOBAL_REAL_VAR(list/voice_type2sound = list(
22-
"1" = list(
23-
"1" = sound('goon/sound/speak_1.ogg'),
24-
"!" = sound('goon/sound/speak_1_exclaim.ogg'),
25-
"?" = sound('goon/sound/speak_1_ask.ogg')
26-
),
27-
"2" = list(
28-
"2" = sound('goon/sound/speak_2.ogg'),
29-
"!" = sound('goon/sound/speak_2_exclaim.ogg'),
30-
"?" = sound('goon/sound/speak_2_ask.ogg')
31-
),
32-
"3" = list(
33-
"3" = sound('goon/sound/speak_3.ogg'),
34-
"!" = sound('goon/sound/speak_3_exclaim.ogg'),
35-
"?" = sound('goon/sound/speak_3_ask.ogg')
36-
),
37-
"4" = list(
38-
"4" = sound('goon/sound/speak_4.ogg'),
39-
"!" = sound('goon/sound/speak_4_exclaim.ogg'),
40-
"?" = sound('goon/sound/speak_4_ask.ogg')
41-
),
42-
))

code/_onclick/hud/alert.dm

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,11 +308,14 @@ or shoot a gun to move around via Newton's 3rd Law of Motion."
308308
add_overlay(receiving)
309309
src.receiving = receiving
310310
src.giver = giver
311+
// if any of these move the alert should go away
312+
RegisterSignal(receiving, COMSIG_MOVABLE_MOVED, TYPE_PROC_REF(/atom/movable/screen/alert/give, removeAlert))
313+
RegisterSignal(giver, COMSIG_MOVABLE_MOVED, TYPE_PROC_REF(/atom/movable/screen/alert/give, removeAlert))
311314
RegisterSignal(taker, COMSIG_MOVABLE_MOVED, TYPE_PROC_REF(/atom/movable/screen/alert/give, removeAlert))
312315

313316
/atom/movable/screen/alert/give/proc/removeAlert()
314317
to_chat(mob_viewer, span_warning("You moved out of range of [giver]!"))
315-
mob_viewer.clear_alert("[giver]")
318+
mob_viewer.clear_alert("[REF(giver)]-[REF(receiving)]")
316319

317320
/atom/movable/screen/alert/give/Click(location, control, params)
318321
. = ..()

code/_onclick/hud/hud.dm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ GLOBAL_LIST_INIT(available_ui_styles, list(
195195
SIGNAL_HANDLER
196196
update_parallax_pref() // If your eye changes z level, so should your parallax prefs
197197
var/turf/eye_turf = get_turf(eye)
198+
SEND_SIGNAL(src, COMSIG_HUD_Z_CHANGED, eye_turf.z)
198199
var/new_offset = GET_TURF_PLANE_OFFSET(eye_turf)
199200
if(current_plane_offset == new_offset)
200201
return

0 commit comments

Comments
 (0)