Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
174 commits
Select commit Hold shift + click to select a range
bc8bf7c
oh my god
cowbot92 Nov 29, 2023
4dfe6b2
Merge remote-tracking branch 'upstream/master' into NahI'dPortit
cowbot92 Nov 29, 2023
37f0215
fix
cowbot92 Nov 29, 2023
1748bc1
this too
cowbot92 Nov 29, 2023
56d5850
remove this
cowbot92 Nov 29, 2023
8ad08b2
haha
cowbot92 Nov 29, 2023
46b86dc
oh my fuck
cowbot92 Nov 29, 2023
47bf5e5
yea
cowbot92 Nov 29, 2023
1a6eae0
ywa
cowbot92 Nov 29, 2023
ce08870
we're gonna have to redo this arent we
cowbot92 Nov 29, 2023
2878993
yea
cowbot92 Nov 29, 2023
35f76b6
this too
cowbot92 Nov 29, 2023
9787e1b
fucks up everything
cowbot92 Nov 29, 2023
3577d65
fix
cowbot92 Nov 29, 2023
e1bbb24
ye
cowbot92 Nov 29, 2023
76428ae
yeah we update these
cowbot92 Nov 29, 2023
64eaab4
bye runtimes
cowbot92 Nov 29, 2023
2526e4b
yeah
cowbot92 Nov 29, 2023
5544943
yes
cowbot92 Nov 29, 2023
025f5c2
why am I updating this
cowbot92 Nov 30, 2023
7fd3733
this is just like call of duty
cowbot92 Nov 30, 2023
df2f312
nah
cowbot92 Nov 30, 2023
fba7c4d
keep this up and you'll get a gold star
cowbot92 Nov 30, 2023
fcf3832
im a twisted fucking cycle path
cowbot92 Nov 30, 2023
d1750ed
adds my stuff back it
cowbot92 Nov 30, 2023
f3d4365
this too
cowbot92 Nov 30, 2023
4c06635
push it
cowbot92 Nov 30, 2023
470310f
Merge remote-tracking branch 'upstream/master' into NahI'dPortit
cowbot92 Nov 30, 2023
37fb345
so close
cowbot92 Nov 30, 2023
603b4e5
dont ever say its over
cowbot92 Nov 30, 2023
aebff05
adds this back
cowbot92 Nov 30, 2023
dfd72a9
oh yeah fix this
cowbot92 Nov 30, 2023
0339b78
yea
cowbot92 Nov 30, 2023
b4da935
Merge remote-tracking branch 'upstream/master' into NahI'dPortit
cowbot92 Nov 30, 2023
252c687
this
cowbot92 Nov 30, 2023
68d3b28
this is probably important
cowbot92 Nov 30, 2023
6e9bb10
test?
cowbot92 Nov 30, 2023
d9742b2
maybe this will fix it
cowbot92 Nov 30, 2023
646ac96
update
cowbot92 Nov 30, 2023
ae9d21d
eee
cowbot92 Nov 30, 2023
b55e1ac
round 2
cowbot92 Nov 30, 2023
4bb344d
ok we're back
cowbot92 Nov 30, 2023
503a1c0
sunglasses update
cowbot92 Nov 30, 2023
fb3f40c
ok back to this
cowbot92 Nov 30, 2023
9aa9b44
oops
cowbot92 Nov 30, 2023
e50bf9b
test
cowbot92 Nov 30, 2023
c395bc0
yea
cowbot92 Nov 30, 2023
a13da22
peko pain
cowbot92 Nov 30, 2023
c2597e2
Update gas_mixture.dm
Moltijoe Nov 30, 2023
8032d26
Update gas_mixture.dm
Moltijoe Nov 30, 2023
65a9938
Update gas_mixture.dm
Moltijoe Nov 30, 2023
12cb285
yea
cowbot92 Dec 1, 2023
549a0bc
Why did you remove this
cowbot92 Dec 1, 2023
4f82e93
should fix this
cowbot92 Dec 1, 2023
676f127
adjustments
cowbot92 Dec 1, 2023
06a5788
eyes
Moltijoe Dec 1, 2023
6bad340
fix eyes break huds
Moltijoe Dec 1, 2023
e6c8e83
colour tweaks
Moltijoe Dec 1, 2023
66c412c
fixes
Moltijoe Dec 1, 2023
dfdf1ca
Update living.dm
Moltijoe Dec 1, 2023
961b504
Merge remote-tracking branch 'upstream/master' into NahI'dPortit
cowbot92 Dec 1, 2023
65a9505
yea
cowbot92 Dec 1, 2023
b26841f
readd this
cowbot92 Dec 1, 2023
c1d9fd4
pupdate
cowbot92 Dec 1, 2023
2a00b4d
slow update
cowbot92 Dec 1, 2023
7ef5c07
why no work
cowbot92 Dec 1, 2023
567ef0d
weird errors
cowbot92 Dec 1, 2023
b82a6cc
fixved it
cowbot92 Dec 1, 2023
0d2c511
fix?
cowbot92 Dec 1, 2023
ecaffbc
nope
cowbot92 Dec 1, 2023
c02d04a
no more immutable
cowbot92 Dec 1, 2023
ad15054
ok
cowbot92 Dec 1, 2023
63c418d
removes all the pref stuff
cowbot92 Dec 1, 2023
c389b27
remove this
cowbot92 Dec 1, 2023
54d5710
this goes bye
cowbot92 Dec 1, 2023
39b2fe2
these go too
cowbot92 Dec 1, 2023
f02183c
bye
cowbot92 Dec 1, 2023
f6add0a
Merge remote-tracking branch 'upstream/master' into NahI'dPortit
cowbot92 Dec 1, 2023
bd3d632
better night vision
Moltijoe Dec 1, 2023
2d14fba
tries to fix camera
cowbot92 Dec 1, 2023
fed32a4
Merge branch 'NahI'dPortit' of https://github.com/cowbot92/Yogstation…
cowbot92 Dec 1, 2023
fece8d2
ok fuck it we ball
cowbot92 Dec 1, 2023
74aa73d
ok lets go back
cowbot92 Dec 1, 2023
f3ef0a6
WORK
cowbot92 Dec 1, 2023
561b45d
ha
cowbot92 Dec 1, 2023
d3826c1
this
cowbot92 Dec 1, 2023
c8a0914
this doesnt work :(
cowbot92 Dec 1, 2023
4fe889a
maybe fix
cowbot92 Dec 1, 2023
6095dec
fucks everything
cowbot92 Dec 1, 2023
6ba3220
Merge remote-tracking branch 'upstream/master' into NahI'dPortit
cowbot92 Dec 1, 2023
7c91ede
test update
cowbot92 Dec 1, 2023
cf2d5f2
Revert "tries to fix camera"
cowbot92 Dec 1, 2023
d125f7f
Merge branch 'NahI'dPortit' of https://github.com/cowbot92/Yogstation…
cowbot92 Dec 1, 2023
4a37300
reverts everything I just did
cowbot92 Dec 1, 2023
a4d9e04
bye
cowbot92 Dec 1, 2023
77738b5
oh yeah add this
cowbot92 Dec 1, 2023
0e421eb
Fucks up the camera net + chunk
cowbot92 Dec 2, 2023
98c5ef1
test maybe revert
Moltijoe Dec 2, 2023
3cf31d0
Revert "test maybe revert"
Moltijoe Dec 2, 2023
4b3e35b
Revert "Fucks up the camera net + chunk"
cowbot92 Dec 2, 2023
1d8ceac
this isnt going well
cowbot92 Dec 3, 2023
78d861d
Attempts to rework out security camera
cowbot92 Dec 4, 2023
e26fb61
Revert "this isnt going well"
cowbot92 Dec 4, 2023
c0cf69e
Revert "Revert "this isnt going well""
cowbot92 Dec 4, 2023
0109473
Merge remote-tracking branch 'upstream/master' into NahI'dPortit
cowbot92 Dec 4, 2023
7e7a7f8
ok
cowbot92 Dec 4, 2023
8068af0
Revert "ok"
cowbot92 Dec 4, 2023
b3fb3ba
Revert "Merge remote-tracking branch 'upstream/master' into NahI'dPor…
cowbot92 Dec 4, 2023
56f1434
this doesn't need to be redefined
cowbot92 Dec 4, 2023
363820f
no we need this
cowbot92 Dec 4, 2023
778ea63
a familiar pain
Chubbygummibear Dec 4, 2023
9fc5529
Merge branch 'NahI'dPortit' of https://github.com/cowbot92/Yogstation…
Chubbygummibear Dec 4, 2023
dd5a154
515 is L
JohnFulpWillard Dec 4, 2023
002e042
Merge pull request #1 from JohnFulpWillard/515-sucks
cowbot92 Dec 4, 2023
14cc714
yeah
cowbot92 Dec 4, 2023
e414b8b
Merge branch 'NahI'dPortit' of https://github.com/cowbot92/Yogstation…
cowbot92 Dec 4, 2023
308489b
ok god
cowbot92 Dec 4, 2023
7ec2937
bye bye basemap :(
cowbot92 Dec 4, 2023
7a23215
Fixes AI statis not working
cowbot92 Dec 5, 2023
9fe6d9a
Merge remote-tracking branch 'upstream/master' into NahI'dPortit
cowbot92 Dec 5, 2023
2204e3a
remove this
cowbot92 Dec 5, 2023
cb744eb
Revert "Revert "Merge remote-tracking branch 'upstream/master' into N…
cowbot92 Dec 5, 2023
d383311
proves to god I exist
cowbot92 Dec 5, 2023
841d19b
yog exclusive feature (tm)
cowbot92 Dec 5, 2023
443d5ca
bring this back from previous push
Moltijoe Dec 5, 2023
67c7c23
updates vendor emissives
cowbot92 Dec 5, 2023
4cbe963
Updates barsign
cowbot92 Dec 5, 2023
3df373e
Fixes barsigns breaks all lights and updates barsigns to be machines …
cowbot92 Dec 5, 2023
f23915d
Merge remote-tracking branch 'upstream/master' into NahI'dPortit
cowbot92 Dec 5, 2023
37f2c3d
not sure who changed that
cowbot92 Dec 5, 2023
2347a80
yeah
cowbot92 Dec 5, 2023
5e9ed26
this needs updating
cowbot92 Dec 5, 2023
4ee9c16
Merge remote-tracking branch 'upstream/master' into NahI'dPortit
cowbot92 Dec 6, 2023
e7a726b
turns off the carbon monoxide alarm
cowbot92 Dec 6, 2023
ca752c2
FIXES IT YES
cowbot92 Dec 6, 2023
0f55656
turns this off too
cowbot92 Dec 6, 2023
91f6b60
Merge remote-tracking branch 'upstream/master' into NahI'dPortit
cowbot92 Dec 6, 2023
ee2d847
more barsigns
cowbot92 Dec 6, 2023
543605e
forgive me cowboy. also fuck diagonals
Chubbygummibear Dec 7, 2023
b99b406
Merge remote-tracking branch 'upstream/master' into NahI'dPortit
cowbot92 Dec 7, 2023
8248523
oops
cowbot92 Dec 7, 2023
d9ea9b5
Merge remote-tracking branch 'upstream/master' into NahI'dPortit
cowbot92 Dec 11, 2023
77dc74d
Merge remote-tracking branch 'upstream/master' into NahI'dPortit
cowbot92 Dec 11, 2023
f7ac1bf
adds this back
cowbot92 Dec 11, 2023
4ccaf40
bye bye motion alarm
cowbot92 Dec 11, 2023
0a62e18
bye
cowbot92 Dec 11, 2023
b23b350
step 1: fix the Ai
cowbot92 Dec 11, 2023
9f644e0
Merge remote-tracking branch 'upstream/master' into NahI'dPortit
cowbot92 Dec 11, 2023
8ea7f17
fixes Ai camera view
cowbot92 Dec 11, 2023
8380070
updates some maps barsigns
cowbot92 Dec 11, 2023
94c1640
oh yeah
cowbot92 Dec 11, 2023
10e005f
forgot donut
cowbot92 Dec 11, 2023
8931204
who invented bar templaces
cowbot92 Dec 11, 2023
e4e722d
Merge remote-tracking branch 'upstream/master' into NahI'dPortit
cowbot92 Dec 13, 2023
2189861
Merge remote-tracking branch 'upstream/master' into NahI'dPortit
cowbot92 Dec 14, 2023
945e499
Merge remote-tracking branch 'upstream/master' into NahI'dPortit
cowbot92 Dec 14, 2023
a376aa8
yeah
cowbot92 Dec 14, 2023
b517ee2
whatever
cowbot92 Dec 14, 2023
a8305d5
Merge remote-tracking branch 'upstream/master' into NahI'dPortit
cowbot92 Dec 14, 2023
6ab1f38
Merge remote-tracking branch 'upstream/master' into NahI'dPortit
cowbot92 Dec 18, 2023
111c4d6
breaks a bunch of shit have fun
ToasterBiome Dec 22, 2023
8312466
Revert "breaks a bunch of shit have fun"
ToasterBiome Dec 23, 2023
124bcaf
Merge remote-tracking branch 'upstream/master' into NahI'dPortit
cowbot92 Dec 28, 2023
4c8b1f6
adjusts cryo eye blur
cowbot92 Dec 28, 2023
ff314a6
you ever just spell blur wrong
cowbot92 Dec 28, 2023
c66e228
Merge remote-tracking branch 'upstream/master' into NahI'dPortit
cowbot92 Dec 30, 2023
411b227
Merge remote-tracking branch 'upstream/master' into NahI'dPortit
cowbot92 Jan 5, 2024
f301064
Nah, I'd port it
cowbot92 Jan 5, 2024
9902aeb
remove basemap
cowbot92 Jan 5, 2024
10cb522
removes runtimestation changes
cowbot92 Jan 5, 2024
274e206
Merge remote-tracking branch 'upstream/master' into NahI'dPortit
cowbot92 Jan 5, 2024
7f45cc8
Up[dates
cowbot92 Jan 5, 2024
76a4061
Meaningless update
cowbot92 Jan 5, 2024
c9f6f36
Merge remote-tracking branch 'upstream/master' into NahI'dPortit
cowbot92 Jan 6, 2024
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
  •  
  •  
  •  
13 changes: 4 additions & 9 deletions _maps/map_files/AsteroidStation/AsteroidStation.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -29665,14 +29665,9 @@
/turf/open/floor/plasteel,
/area/storage/primary)
"iFj" = (
/obj/structure/sign/barsign{
pixel_y = 32
},
/obj/effect/turf_decal/trimline/neutral/filled/line/lower{
dir = 1
},
/turf/open/floor/plasteel,
/area/hallway/primary/central)
/obj/machinery/barsign,
/turf/closed/wall,
/area/crew_quarters/bar)
"iFF" = (
/obj/effect/turf_decal/trimline/neutral/filled/line/lower{
dir = 1
Expand Down Expand Up @@ -100472,8 +100467,8 @@ xWW
xWW
xWW
xWW
aFi
iFj
rkk
hoR
sIx
asr
Expand Down
9 changes: 5 additions & 4 deletions _maps/map_files/DonutStation/DonutStation.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -34316,9 +34316,6 @@
/turf/open/floor/plasteel,
/area/quartermaster/miningdock)
"oNx" = (
/obj/structure/sign/barsign{
pixel_y = 32
},
/obj/machinery/door/poddoor/shutters/preopen{
id = "barshutters";
name = "bar shutters"
Expand Down Expand Up @@ -45981,6 +45978,10 @@
},
/turf/open/floor/plasteel/dark/telecomms,
/area/ai_monitored/turret_protected/ai)
"tPB" = (
/obj/machinery/barsign,
/turf/closed/wall,
/area/crew_quarters/bar)
"tPF" = (
/turf/open/floor/plasteel/white,
/area/science/mixing)
Expand Down Expand Up @@ -87587,7 +87588,7 @@ vDp
wLr
gxy
jgR
gxy
tPB
oNx
rsE
wuu
Expand Down
2 changes: 1 addition & 1 deletion _maps/map_files/GaxStation/GaxStation.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -24092,7 +24092,7 @@
/turf/open/floor/carpet,
/area/hallway/secondary/entry)
"lLC" = (
/obj/structure/sign/barsign,
/obj/machinery/barsign/all_access,
/turf/closed/wall,
/area/crew_quarters/bar)
"lLV" = (
Expand Down
11 changes: 4 additions & 7 deletions _maps/map_files/IceMeta/IceMeta.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -33728,12 +33728,9 @@
/turf/open/floor/plasteel,
/area/teleporter)
"jPu" = (
/obj/structure/sign/barsign{
pixel_y = -32
},
/obj/effect/turf_decal/trimline/green/filled/line/lower,
/turf/open/floor/plasteel,
/area/hallway/primary/starboard)
/obj/machinery/barsign/all_access,
/turf/closed/wall,
/area/crew_quarters/bar)
"jPy" = (
/obj/structure/closet/secure_closet/brig{
id = "Cell 1";
Expand Down Expand Up @@ -117656,8 +117653,8 @@ rkO
bjd
eHK
lFl
bJD
jPu
rfi
nYc
lgH
ptc
Expand Down
2 changes: 1 addition & 1 deletion _maps/map_files/YogStation/YogStation.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -73325,7 +73325,7 @@
/turf/open/floor/plating,
/area/maintenance/port/aft)
"xSX" = (
/obj/structure/sign/barsign,
/obj/machinery/barsign,
/turf/closed/wall,
/area/crew_quarters/bar)
"xTe" = (
Expand Down
33 changes: 5 additions & 28 deletions _maps/map_files/generic/CentCom.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -14882,9 +14882,6 @@
/turf/open/floor/carpet/black,
/area/centcom/holding)
"aFc" = (
/obj/structure/sign/barsign{
pixel_y = 32
},
/obj/structure/chair/stool,
/turf/open/floor/carpet/black,
/area/centcom/holding)
Expand Down Expand Up @@ -16347,22 +16344,8 @@
/turf/open/floor/holofloor,
/area/holodeck/rec_center/basketball)
"aHM" = (
/obj/structure/chair,
/obj/effect/landmark/thunderdome/observe,
/obj/structure/sign/barsign{
pixel_y = 32
},
/obj/effect/turf_decal/tile/neutral{
dir = 1
},
/obj/effect/turf_decal/tile/neutral,
/obj/effect/turf_decal/tile/neutral{
dir = 4
},
/obj/effect/turf_decal/tile/neutral{
dir = 8
},
/turf/open/floor/plasteel/dark,
/obj/machinery/barsign,
/turf/closed/indestructible/riveted,
/area/tdome/tdomeobserve)
"aHN" = (
/obj/structure/chair,
Expand Down Expand Up @@ -16647,9 +16630,6 @@
pixel_x = -3;
pixel_y = 5
},
/obj/structure/sign/barsign{
pixel_y = -32
},
/obj/effect/turf_decal/tile/neutral{
dir = 1
},
Expand Down Expand Up @@ -16698,9 +16678,6 @@
pixel_y = 5
},
/obj/structure/table/wood,
/obj/structure/sign/barsign{
pixel_y = -32
},
/obj/effect/turf_decal/tile/neutral{
dir = 1
},
Expand Down Expand Up @@ -69586,7 +69563,7 @@ aEp
aEp
aEp
aEp
aHM
aHN
aHW
aHN
aIl
Expand Down Expand Up @@ -72413,7 +72390,7 @@ aGP
aGK
aGP
aEp
aHM
aHN
aHW
aHN
aIl
Expand Down Expand Up @@ -73445,7 +73422,7 @@ aHf
aHf
aHf
aIo
aEp
aHM
aIL
aIZ
aIZ
Expand Down
Binary file added byond-extools.dll
Binary file not shown.
8 changes: 2 additions & 6 deletions code/__DEFINES/_helpers.dm
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
/// Takes a datum as input, returns its ref string, or a cached version of it
/// This allows us to cache \ref creation, which ensures it'll only ever happen once per datum, saving string tree time
/// It is slightly less optimal then a []'d datum, but the cost is massively outweighed by the potential savings
/// It will only work for datums mind, for datum reasons
/// : because of the embedded typecheck
#define text_ref(datum) (isdatum(datum) ? (datum:cached_ref ||= "\ref[datum]") : ("\ref[datum]"))
/// Takes a datum as input, returns its ref string
#define text_ref(datum) ref(datum)
4 changes: 4 additions & 0 deletions code/__DEFINES/cameranets.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/// We only want chunk sizes that are to the power of 2. E.g: 2, 4, 8, 16, etc..
#define CHUNK_SIZE 16
/// Takes a position, transforms it into a chunk bounded position. Indexes at 1 so it'll land on actual turfs always
#define GET_CHUNK_COORD(v) (max((FLOOR(v, CHUNK_SIZE)), 1))
2 changes: 2 additions & 0 deletions code/__DEFINES/colors.dm
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,8 @@
#define LIGHT_COLOR_LAVA "#C48A18"
/// Bright, non-saturated red. Leaning slightly towards pink for visibility. rgb(250, 100, 75)
#define LIGHT_COLOR_FLARE "#FA644B"
/// Vivid red. Leans a bit darker to accentuate red colors and leave other channels a bit dry. rgb(200, 25, 25)
#define LIGHT_COLOR_INTENSE_RED "#C81919"
/// Weird color, between yellow and green, very slimy. rgb(175, 200, 75)
#define LIGHT_COLOR_SLIME_LAMP "#AFC84B"
/// Extremely diluted yellow, close to skin color (for some reason). rgb(250, 225, 175)
Expand Down
2 changes: 2 additions & 0 deletions code/__DEFINES/dcs/signals/mapping.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// Sent when the max plane offset changes : (old_max_offset, new_max_offset)
#define COMSIG_PLANE_OFFSET_INCREASE "plane_offset_increase"
14 changes: 14 additions & 0 deletions code/__DEFINES/dcs/signals/signals_client.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// from /client/proc/change_view() : (new_size)
#define COMSIG_VIEW_SET "view_set"

// from /client/proc/handle_popup_close() : (window_id)
#define COMSIG_POPUP_CLEARED "popup_cleared"

/// Called after one or more verbs are added: (list of verbs added)
#define COMSIG_CLIENT_VERB_ADDED "client_verb_added"

/// Called after one or more verbs are added: (list of verbs added)
#define COMSIG_CLIENT_VERB_REMOVED "client_verb_removed"

/// Called after a client logs into a mob: (mob)
#define COMSIG_CLIENT_MOB_LOGIN "client_mob_changed"
4 changes: 4 additions & 0 deletions code/__DEFINES/dcs/signals/signals_global.dm
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,7 @@
#define COMSIG_GLOB_LIGHT_MECHANISM_COMPLETED "!light_mechanism_completed"
/// Global Signal sent when the crew wins the revolution (No arguments).
#define COMSIG_GLOB_REVOLUTION_VICTORY "!revolution_victory"
/// Global signal sent when narsie summon count is updated: (new count)
#define COMSIG_NARSIE_SUMMON_UPDATE "!narsie_summon_update"
/// Global signal when starlight color is changed (old_star, new_star)
#define COMSIG_STARLIGHT_COLOR_CHANGED "!starlight_color_changed"
10 changes: 10 additions & 0 deletions code/__DEFINES/dcs/signals/signals_huds.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/// Sent from /datum/hud/proc/on_eye_change(): (atom/old_eye, atom/new_eye)
#define COMSIG_HUD_EYE_CHANGED "hud_eye_changed"
/// Sent from /datum/hud/proc/eye_z_changed() : (old_offset, new_offset)
#define COMSIG_HUD_OFFSET_CHANGED "hud_offset_changed"
/// Sent from /atom/movable/screen/lobby/button/collapse/proc/collapse_buttons() : ()
#define COMSIG_HUD_LOBBY_COLLAPSED "hud_lobby_collapsed"
/// Sent from /atom/movable/screen/lobby/button/collapse/proc/expand_buttons() : ()
#define COMSIG_HUD_LOBBY_EXPANDED "hud_lobby_expanded"
/// Sent from /atom/movable/screen/lobby/button/ready/Click() : ()
#define COMSIG_HUD_PLAYER_READY_TOGGLE "hud_player_ready_toggle"
6 changes: 4 additions & 2 deletions code/__DEFINES/dcs/signals/signals_mob/signals_living.dm
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
#define COMSIG_LIVING_SET_BODY_POSITION "living_set_body_position"
///From post-can inject check of syringe after attack (mob/user)
#define COMSIG_LIVING_TRY_SYRINGE "living_try_syringe"
///From living/Life(seconds_per_tick = SSMOBS_DT, times_fired). (deltatime, times_fired)
#define COMSIG_LIVING_LIFE "living_life"
///From living/set_resting(): (new_resting, silent, instant)
#define COMSIG_LIVING_RESTING "living_resting"

Expand Down Expand Up @@ -139,3 +137,7 @@

///from mind/transfer_to. Sent after the mind has been transferred: (mob/previous_body)
#define COMSIG_MIND_TRANSFERRED "mind_transferred"
///From living/Life(). (deltatime, times_fired)
#define COMSIG_LIVING_LIFE "living_life"
/// Block the Life() proc from proceeding... this should really only be done in some really wacky situations.
#define COMPONENT_LIVING_CANCEL_LIFE_PROCESSING (1<<0)
3 changes: 0 additions & 3 deletions code/__DEFINES/dcs/signals/signals_mob/signals_mob.dm
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,6 @@
#define COMSIG_MOB_SIGHT_CHANGE "mob_sight_changed"
///from base of mob/set_invis_see(): (new_invis, old_invis)
#define COMSIG_MOB_SEE_INVIS_CHANGE "mob_see_invis_change"
///from base of mob/set_see_in_dark(): (new_range, old_range)
#define COMSIG_MOB_SEE_IN_DARK_CHANGE "mob_see_in_dark_change"


///from base of /mob/living/proc/apply_damage(): (damage, damagetype, def_zone, blocked, wound_bonus, bare_wound_bonus, sharpness, attack_direction)
#define COMSIG_MOB_APPLY_DAMAGE "mob_apply_damage"
Expand Down
2 changes: 2 additions & 0 deletions code/__DEFINES/dcs/signals/signals_turf.dm
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@
#define FOOTSTEP_OVERRIDDEN (1<<0)
///from base of datum/thrownthing/finalize(): (turf/turf, atom/movable/thrownthing) when something is thrown and lands on us
#define COMSIG_TURF_MOVABLE_THROW_LANDED "turf_movable_throw_landed"
///from base of turf/multiz_turf_del(): (turf/source, direction)
#define COMSIG_TURF_MULTIZ_DEL "turf_multiz_del"
25 changes: 25 additions & 0 deletions code/__DEFINES/directional.dm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,32 @@
// #define EAST 4
// #define WEST 8

/// North direction as a string "[1]"
#define TEXT_NORTH "[NORTH]"
/// South direction as a string "[2]"
#define TEXT_SOUTH "[SOUTH]"
/// East direction as a string "[4]"
#define TEXT_EAST "[EAST]"
/// West direction as a string "[8]"
#define TEXT_WEST "[WEST]"

/// Inverse direction, taking into account UP|DOWN if necessary.
#define REVERSE_DIR(dir) ( ((dir & 85) << 1) | ((dir & 170) >> 1) )

/// Create directional subtypes for a path to simplify mapping.
#define MAPPING_DIRECTIONAL_HELPERS(path, offset) ##path/directional/north {\
dir = NORTH; \
pixel_y = offset; \
} \
##path/directional/south {\
dir = SOUTH; \
pixel_y = -offset; \
} \
##path/directional/east {\
dir = EAST; \
pixel_x = offset; \
} \
##path/directional/west {\
dir = WEST; \
pixel_x = -offset; \
}
16 changes: 16 additions & 0 deletions code/__DEFINES/flags.dm
Original file line number Diff line number Diff line change
Expand Up @@ -211,3 +211,19 @@ GLOBAL_LIST_INIT(bitflags, list(1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 204
#define IGNORE_SLOWDOWNS (1<<4)

#define IGNORE_ALL (IGNORE_USER_LOC_CHANGE|IGNORE_TARGET_LOC_CHANGE|IGNORE_HELD_ITEM|IGNORE_INCAPACITATED|IGNORE_SLOWDOWNS)

//TURF FLAGS
/// If a turf cant be jaunted through.
#define NOJAUNT (1<<0)
/// If a turf is an usused reservation turf awaiting assignment
#define UNUSED_RESERVATION_TURF (1<<1)
/// If a turf is a reserved turf
#define RESERVATION_TURF (1<<2)
/// Blocks lava rivers being generated on the turf.
#define NO_LAVA_GEN (1<<3)
/// Blocks ruins spawning on the turf.
#define NO_RUINS (1<<4)
/// Is this turf is "solid". Space and lava aren't for instance
#define IS_SOLID (1<<6)
/// This turf will never be cleared away by other objects on Initialize.
#define NO_CLEARING (1<<7)
5 changes: 5 additions & 0 deletions code/__DEFINES/hud.dm
Original file line number Diff line number Diff line change
Expand Up @@ -233,3 +233,8 @@
#define SCRN_OBJ_INSERT_FIRST "first"
/// The filter name for the hover outline
#define HOVER_OUTLINE_FILTER "hover_outline"
// Plane group keys, used to group swaths of plane masters that need to appear in subwindows
/// The primary group, holds everything on the main window
#define PLANE_GROUP_MAIN "main"
/// A secondary group, used when a client views a generic window
#define PLANE_GROUP_POPUP_WINDOW(screen) "popup-[REF(screen)]"
2 changes: 2 additions & 0 deletions code/__DEFINES/interaction_flags.dm
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,5 @@
/// This flag determines if a machine set_machine's the user when the user uses it, making updateUsrDialog make the user re-call interact() on it.
/// THIS FLAG IS ON ALL MACHINES BY DEFAULT, NEEDS TO BE RE-EVALUATED LATER!!
#define INTERACT_MACHINE_SET_MACHINE (1<<6)
/// the user must have vision to interact (blind people need not apply)
#define INTERACT_MACHINE_REQUIRES_SIGHT (1<<7)
9 changes: 9 additions & 0 deletions code/__DEFINES/is_helpers.dm
Original file line number Diff line number Diff line change
Expand Up @@ -240,3 +240,12 @@ GLOBAL_LIST_INIT(glass_sheet_types, typecacheof(list(
#define isfugitive(M) (istype(M) && M.mind?.has_antag_datum(/datum/antagonist/fugitive))

#define isProbablyWallMounted(O) (O.pixel_x > 20 || O.pixel_x < -20 || O.pixel_y > 20 || O.pixel_y < -20)

GLOBAL_LIST_INIT(turfs_openspace, typecacheof(list(
/turf/open/openspace,
/turf/open/space/openspace
)))

#define istransparentturf(A) (HAS_TRAIT(A, TURF_Z_TRANSPARENT_TRAIT))

#define isopenspaceturf(A) (is_type_in_typecache(A, GLOB.turfs_openspace))
20 changes: 20 additions & 0 deletions code/__DEFINES/lag_switch.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// All of the possible Lag Switch lag mitigation measures
// If you add more do not forget to update MEASURES_AMOUNT accordingly
/// Stops ghosts flying around freely, they can still jump and orbit, staff exempted
#define DISABLE_DEAD_KEYLOOP 1
/// Stops ghosts using zoom/t-ray verbs and resets their view if zoomed out, staff exempted
#define DISABLE_GHOST_ZOOM_TRAY 2
/// Disable runechat and enable the bubbles, speaking mobs with TRAIT_BYPASS_MEASURES exempted
#define DISABLE_RUNECHAT 3
/// Disable icon2html procs from verbs like examine, mobs calling with TRAIT_BYPASS_MEASURES exempted
#define DISABLE_USR_ICON2HTML 4
/// Prevents anyone from joining the game as anything but observer
#define DISABLE_NON_OBSJOBS 5
/// Limit IC/dchat spam to one message every x seconds per client, TRAIT_BYPASS_MEASURES exempted
#define SLOWMODE_SAY 6
/// Disables parallax, as if everyone had disabled their preference, TRAIT_BYPASS_MEASURES exempted
#define DISABLE_PARALLAX 7
/// Disables footsteps, TRAIT_BYPASS_MEASURES exempted
#define DISABLE_FOOTSTEPS 8

#define MEASURES_AMOUNT 8 // The total number of switches defined above
Loading