Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
157 commits
Select commit Hold shift + click to select a range
4f50fab
Change spiderwebs to drain stamina when mobs enter (#95197)
timothymtorres Mar 15, 2026
33e951f
Automatic changelog for PR #95197 [ci skip]
tgstation-ci[bot] Mar 15, 2026
2eb0776
Chem scanning removes achievements from maint pills (#95397)
JohnFulpWillard Mar 15, 2026
b4e5532
Automatic changelog for PR #95397 [ci skip]
tgstation-ci[bot] Mar 15, 2026
ceed05c
Automatic changelog compile [ci skip]
tgstation-ci[bot] Mar 15, 2026
88ded22
You can no longer runtime selling ghosts (#95396)
ArcaneMusic Mar 15, 2026
03cb799
Automatic changelog for PR #95396 [ci skip]
tgstation-ci[bot] Mar 15, 2026
5602082
Spiders can now be tamed and ridden (#95194)
timothymtorres Mar 15, 2026
d702b1c
Automatic changelog for PR #95194 [ci skip]
tgstation-ci[bot] Mar 15, 2026
ee1f522
Cannabis and Nictone makes monkeys less angry, Booze makes them more …
MrMelbert Mar 15, 2026
a0f973e
Automatic changelog for PR #95342 [ci skip]
tgstation-ci[bot] Mar 15, 2026
f0fc690
Rewrites dispenser bots to use item_interaction (#95375)
SmArtKar Mar 15, 2026
ff6cf03
Automatic changelog for PR #95375 [ci skip]
tgstation-ci[bot] Mar 15, 2026
2711d6d
Rewrites BCI implanters to use item_interaction (#95377)
SmArtKar Mar 15, 2026
4cebf2a
Automatic changelog for PR #95377 [ci skip]
tgstation-ci[bot] Mar 15, 2026
f7d7c6f
Fix Pun Pun's name (#95420)
MrMelbert Mar 15, 2026
d8b8ab9
Automatic changelog for PR #95420 [ci skip]
tgstation-ci[bot] Mar 15, 2026
c86ff16
Rewrites integrated circuits to use item_interaction and screwdriver_…
SmArtKar Mar 15, 2026
bc96c0e
Automatic changelog for PR #95378 [ci skip]
tgstation-ci[bot] Mar 15, 2026
18bdac7
Converts circuit printers/duplicators to item_interaction (#95398)
SmArtKar Mar 15, 2026
b5a19b8
Automatic changelog for PR #95398 [ci skip]
tgstation-ci[bot] Mar 15, 2026
7b893f6
Converts bot construction to item_interaction (#95404)
SmArtKar Mar 15, 2026
682f24b
Automatic changelog for PR #95404 [ci skip]
tgstation-ci[bot] Mar 15, 2026
0a61cce
Refactor revenant abilities / they now indicate if they are unlocked …
MrMelbert Mar 15, 2026
0009cf2
Automatic changelog for PR #95380 [ci skip]
tgstation-ci[bot] Mar 15, 2026
c3fdebb
Converts vehicles to use item_interaction/tool_acts (#95399)
SmArtKar Mar 15, 2026
631e547
Automatic changelog for PR #95399 [ci skip]
tgstation-ci[bot] Mar 15, 2026
eccff65
Automatic changelog compile [ci skip]
tgstation-ci[bot] Mar 16, 2026
52d0165
Remove white pixels from ea and firelock animations (#95409)
MrMelbert Mar 16, 2026
3b8f801
Automatic changelog for PR #95409 [ci skip]
tgstation-ci[bot] Mar 16, 2026
b9ad934
Automatic changelog compile [ci skip]
tgstation-ci[bot] Mar 16, 2026
c9cb4f1
Converts tram objects to item_interaction/tool_act (#95400)
SmArtKar Mar 16, 2026
5a5e3a3
Automatic changelog for PR #95400 [ci skip]
tgstation-ci[bot] Mar 16, 2026
8a2b6f9
Converts autosurgeons/robot bodyparts/dissection notes to item_intera…
SmArtKar Mar 16, 2026
e458046
Automatic changelog for PR #95401 [ci skip]
tgstation-ci[bot] Mar 16, 2026
d5c10f6
Converts crossbreeds/anomacores/RND machinery to item_interaction (#9…
SmArtKar Mar 16, 2026
e08cf29
Automatic changelog for PR #95402 [ci skip]
tgstation-ci[bot] Mar 16, 2026
40c1fdd
No more infinite free grenade launchers for nukies (#95419)
lelandkemble Mar 16, 2026
d1c915a
Automatic changelog for PR #95419 [ci skip]
tgstation-ci[bot] Mar 16, 2026
f893f72
Dock Pay smite logs to audit log and also always notifies card holder…
MrMelbert Mar 16, 2026
5ea6f16
Automatic changelog for PR #95388 [ci skip]
tgstation-ci[bot] Mar 16, 2026
6f325ed
Automatic changelog compile [ci skip]
tgstation-ci[bot] Mar 17, 2026
89cc285
new baseball related sprites (#95413)
kittysmooch Mar 17, 2026
78c5c2b
Automatic changelog for PR #95413 [ci skip]
tgstation-ci[bot] Mar 17, 2026
a1bdb3a
Automatic changelog compile [ci skip]
tgstation-ci[bot] Mar 17, 2026
e1464a5
Fixes runtime from buckling basic mobs to surgery tables ( + fixes vi…
Iajret Mar 17, 2026
b896f30
Automatic changelog for PR #95426 [ci skip]
tgstation-ci[bot] Mar 17, 2026
4910e38
Changes the access and contents from the shuttle engine crate, and ad…
improvedname Mar 17, 2026
2ba464b
Automatic changelog for PR #95406 [ci skip]
tgstation-ci[bot] Mar 17, 2026
965c4a4
Add an equivalent to balloon_alert_to_viewers, but for hearing (#95376)
Generalcamo Mar 17, 2026
5fd405f
Automatic changelog for PR #95376 [ci skip]
tgstation-ci[bot] Mar 17, 2026
2b9f268
Build(deps): Bump actions/create-github-app-token from 2 to 3 (#95433)
dependabot[bot] Mar 17, 2026
2e382b0
Fixes git workflow stale discord context (#95415)
SyncIt21 Mar 17, 2026
7a65b60
Prevents a runtime when something other than a player mob breaks an a…
lelandkemble Mar 17, 2026
c52578d
Automatic changelog for PR #95418 [ci skip]
tgstation-ci[bot] Mar 17, 2026
43054c7
Add `TEST_REPEAT` unit test macro (#95384)
TealSeer Mar 17, 2026
b02f72f
Automatic changelog for PR #95384 [ci skip]
tgstation-ci[bot] Mar 17, 2026
541af5b
Fixes Gas Compressor not being able to perform disk operations. (#95436)
ArcaneMusic Mar 17, 2026
3c72c57
Automatic changelog for PR #95436 [ci skip]
tgstation-ci[bot] Mar 17, 2026
1a19232
Automatic changelog compile [ci skip]
tgstation-ci[bot] Mar 18, 2026
db69ae5
Watcher hatchlings will no longer shoot whatever the parent is buckle…
Absolucy Mar 18, 2026
5d2e733
Automatic changelog for PR #95422 [ci skip]
tgstation-ci[bot] Mar 18, 2026
664cab1
Automatic changelog compile [ci skip]
tgstation-ci[bot] Mar 18, 2026
6890128
Fix pda cargo app being unable to order autogenerated supply packs (#…
MrMelbert Mar 18, 2026
712d80f
Fixes flux & gravity core assembly activation not working (#95405)
lelandkemble Mar 18, 2026
8f3ccb3
Automatic changelog for PR #95423 [ci skip]
tgstation-ci[bot] Mar 18, 2026
d493ef9
Automatic changelog for PR #95405 [ci skip]
tgstation-ci[bot] Mar 18, 2026
fe4052e
Automatic changelog compile [ci skip]
tgstation-ci[bot] Mar 18, 2026
760941f
Pun Pun does not randomize name in testing (#95430)
MrMelbert Mar 18, 2026
7b8eb2c
Intelligent vendors may deny usage if you are poor (or outright if th…
MrMelbert Mar 19, 2026
79800b3
Automatic changelog for PR #95311 [ci skip]
tgstation-ci[bot] Mar 19, 2026
228d8af
Automatic changelog compile [ci skip]
tgstation-ci[bot] Mar 19, 2026
3fa9c8e
Adds screentips for scanning raptors (#95421)
Absolucy Mar 19, 2026
e6fbc48
Automatic changelog for PR #95421 [ci skip]
tgstation-ci[bot] Mar 19, 2026
b463d97
Automatic changelog compile [ci skip]
tgstation-ci[bot] Mar 19, 2026
e607aed
Sets the worn ceremonial claymore's worn_icon_state (#95452)
lelandkemble Mar 19, 2026
43e1aae
Fix Webbing Production gene webs (#95425)
levels0 Mar 20, 2026
6d309c4
Automatic changelog for PR #95425 [ci skip]
tgstation-ci[bot] Mar 20, 2026
24933ff
Automatic changelog compile [ci skip]
tgstation-ci[bot] Mar 20, 2026
7403600
Lavaland relics from boulders now have more appropriate effects (#95261)
MrMelbert Mar 20, 2026
6ea848f
Automatic changelog for PR #95261 [ci skip]
tgstation-ci[bot] Mar 20, 2026
d0c6d60
Automatic changelog compile [ci skip]
tgstation-ci[bot] Mar 20, 2026
da64374
Reverts "Add prosthetic limb" surgery to involve targeting limbs, rat…
MrMelbert Mar 20, 2026
d03ae82
Automatic changelog for PR #95252 [ci skip]
tgstation-ci[bot] Mar 20, 2026
3729ee3
Getting Mad at Parallax (Includes Boomerspace!) (#95382)
LemonInTheDark Mar 20, 2026
6c838e8
Automatic changelog for PR #95382 [ci skip]
tgstation-ci[bot] Mar 20, 2026
9d14e32
Begins Improving Sparks/Flares Somewhat, Adds Animatable Light Overla…
LemonInTheDark Mar 20, 2026
d2cbf35
Automatic changelog for PR #95362 [ci skip]
tgstation-ci[bot] Mar 20, 2026
2e38f91
Automatic changelog compile [ci skip]
tgstation-ci[bot] Mar 20, 2026
17e1f69
Fixes floor mounts not attaching to plating (#95319)
SyncIt21 Mar 20, 2026
a675704
Automatic changelog for PR #95319 [ci skip]
tgstation-ci[bot] Mar 20, 2026
f05aaca
Fixes accidential infinite loop in multiz rendering (#95472)
LemonInTheDark Mar 20, 2026
8d78ca9
Automatic changelog compile [ci skip]
tgstation-ci[bot] Mar 20, 2026
9da13e2
Makes the Staff of Storms normal-sized (#95391)
Absolucy Mar 20, 2026
f87bfc2
Automatic changelog for PR #95391 [ci skip]
tgstation-ci[bot] Mar 20, 2026
96c9c8c
Automatic changelog compile [ci skip]
tgstation-ci[bot] Mar 20, 2026
212bb5e
Fixes DNA vault being constructable half-in a wall. (#95346)
ArcaneMusic Mar 21, 2026
11bb3d2
Automatic changelog for PR #95346 [ci skip]
tgstation-ci[bot] Mar 21, 2026
f59e7ff
Automatic changelog compile [ci skip]
tgstation-ci[bot] Mar 21, 2026
11ed784
Generic surgical operations now have unique radial icons (#95470)
MrMelbert Mar 21, 2026
a72238a
Automatic changelog for PR #95470 [ci skip]
tgstation-ci[bot] Mar 21, 2026
8edccd7
Automatic changelog compile [ci skip]
tgstation-ci[bot] Mar 21, 2026
284e23c
Vendors in audit log are no longer prefixed with "the" (#95389)
MrMelbert Mar 22, 2026
edf4e60
Automatic changelog for PR #95389 [ci skip]
tgstation-ci[bot] Mar 22, 2026
30e2b4c
Monkey Dust no longer can provide permanent stun immunity (#95464)
lelandkemble Mar 22, 2026
2b15cab
Automatic changelog for PR #95464 [ci skip]
tgstation-ci[bot] Mar 22, 2026
8e6ec31
Removes a double space on to_chat for spray can (#95476)
FalloutFalcon Mar 22, 2026
fbed77f
Automatic changelog for PR #95476 [ci skip]
tgstation-ci[bot] Mar 22, 2026
e424596
Corrects shoving someone into another person sending the "you shoved"…
lelandkemble Mar 22, 2026
d2b41c6
Automatic changelog for PR #95446 [ci skip]
tgstation-ci[bot] Mar 22, 2026
f2360d6
Gives subsystem controllers a bitfield def to make vv easier, renames…
LemonInTheDark Mar 22, 2026
9560132
Automatic changelog for PR #95439 [ci skip]
tgstation-ci[bot] Mar 22, 2026
a7ab79f
Automatic changelog compile [ci skip]
tgstation-ci[bot] Mar 23, 2026
6734968
Adds a 0 point quirk that turns your body into a recovered crewmember…
MrMelbert Mar 23, 2026
33be0d0
Automatic changelog for PR #95469 [ci skip]
tgstation-ci[bot] Mar 23, 2026
b6fd7ea
Buffs blue and purple raptors a bit, and fixes chasm immunity bugs (#…
SmArtKar Mar 23, 2026
4720cfe
Automatic changelog for PR #95414 [ci skip]
tgstation-ci[bot] Mar 23, 2026
24aa9b1
Add blood splatter events to a few places (#95457)
MrMelbert Mar 23, 2026
c945d4c
Automatic changelog compile [ci skip]
tgstation-ci[bot] Mar 23, 2026
69bcef0
Fixes git stale discord workflow (Again!!) (#95449)
SyncIt21 Mar 23, 2026
38c8884
Adds a boolean type to circuits (#95487)
Y0SH1M4S73R Mar 23, 2026
ac01bd4
Automatic changelog for PR #95487 [ci skip]
tgstation-ci[bot] Mar 23, 2026
1ea4091
Boxcutting wrapped packages returns less wrap (#95485)
cebutris Mar 23, 2026
a3424cf
Automatic changelog for PR #95485 [ci skip]
tgstation-ci[bot] Mar 23, 2026
361f754
Gorillas can pick up kittens (#95481)
Jacquerel Mar 23, 2026
5fe86c2
Automatic changelog for PR #95481 [ci skip]
tgstation-ci[bot] Mar 23, 2026
4517171
Fix soup bowl looping not working (#95494)
MrMelbert Mar 23, 2026
04d3349
Automatic changelog for PR #95494 [ci skip]
tgstation-ci[bot] Mar 23, 2026
0ac9593
Apply height filters to electrocution animation (#95455)
MrMelbert Mar 23, 2026
5dbd346
Automatic changelog for PR #95455 [ci skip]
tgstation-ci[bot] Mar 23, 2026
7740768
[NO GBP] Corrects two issues with goodies and the ordering console. (…
ArcaneMusic Mar 23, 2026
9bf55e6
Automatic changelog for PR #95478 [ci skip]
tgstation-ci[bot] Mar 23, 2026
2ddc161
Automatic changelog compile [ci skip]
tgstation-ci[bot] Mar 24, 2026
73e7029
Fixes vitals display not respecting power upon being placed (#95427)
Iajret Mar 24, 2026
4bbebf6
Automatic changelog for PR #95427 [ci skip]
tgstation-ci[bot] Mar 24, 2026
af27eda
Adds support for gags underclothing / Uses it to make them look less …
MrMelbert Mar 24, 2026
231ab3b
Automatic changelog for PR #95454 [ci skip]
tgstation-ci[bot] Mar 24, 2026
7ae15d7
Automatic changelog compile [ci skip]
tgstation-ci[bot] Mar 24, 2026
43c0493
RTG code refresh (#95372)
MrMelbert Mar 24, 2026
b3ea9f4
Automatic changelog for PR #95372 [ci skip]
tgstation-ci[bot] Mar 24, 2026
fdf2ca1
Automatic changelog compile [ci skip]
tgstation-ci[bot] Mar 24, 2026
72f65a0
Vended glasses in the Beach Bar virtual domain count towards domain c…
lelandkemble Mar 24, 2026
a154770
Automatic changelog for PR #95466 [ci skip]
tgstation-ci[bot] Mar 24, 2026
713dada
Fixes friendly wisps, wizard orbiting gravity anomalies & tesla perip…
lelandkemble Mar 24, 2026
c4aaa62
Automatic changelog for PR #95407 [ci skip]
tgstation-ci[bot] Mar 24, 2026
1d4081e
Barcode scanner now lets you check books out (#95431)
JohnFulpWillard Mar 24, 2026
f39f648
Automatic changelog for PR #95431 [ci skip]
tgstation-ci[bot] Mar 24, 2026
e9f5278
Makes vitals display available in ancient lathes (#95428)
Iajret Mar 24, 2026
f3f9942
Automatic changelog for PR #95428 [ci skip]
tgstation-ci[bot] Mar 24, 2026
48e9daf
Automatic changelog compile [ci skip]
tgstation-ci[bot] Mar 24, 2026
59178dd
carbon_stripping.dm uses defines instead of magic numbers (#95498)
SunriseOverYourHead Mar 24, 2026
ce4b403
Automatic changelog for PR #95498 [ci skip]
tgstation-ci[bot] Mar 24, 2026
71f4261
Automatic changelog compile [ci skip]
tgstation-ci[bot] Mar 24, 2026
0c1f67b
Merge branch 'master' of https://github.com/tgstation/tgstation into …
XeonMations Mar 25, 2026
ef0d859
Fixes ss_flags for #803
XeonMations Mar 25, 2026
1d9a867
Merge remote-tracking branch 'upstream/master' into tg-upstream
XeonMations Mar 26, 2026
04ea0b5
fix TGUI linters on #803
XeonMations Mar 26, 2026
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: 1 addition & 1 deletion .github/workflows/auto_changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

- name: Generate App Token
id: app-token-generation
uses: actions/create-github-app-token@v2
uses: actions/create-github-app-token@v3
if: env.APP_PRIVATE_KEY != '' && env.APP_ID != ''
with:
app-id: ${{ secrets.APP_ID }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/compile_changelogs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:

- name: Generate App Token
id: app-token-generation
uses: actions/create-github-app-token@v2
uses: actions/create-github-app-token@v3
if: env.APP_PRIVATE_KEY != '' && env.APP_ID != ''
with:
app-id: ${{ secrets.APP_ID }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/generate_client_storage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
steps:
- name: Generate App Token
id: app-token-generation
uses: actions/create-github-app-token@v2
uses: actions/create-github-app-token@v3
if: env.APP_PRIVATE_KEY != '' && env.APP_ID != ''
with:
app-id: ${{ secrets.APP_ID }}
Expand Down
14 changes: 11 additions & 3 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,18 @@ jobs:
operations-per-run: 300
- name: Filter staled pull requests for announcement
id: filter-prs
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
return JSON.parse(context.job.steps.stale.outputs.staled-issues-prs).filter(issue => !!issue.pull_request)
const pull_requests = JSON.parse('${{steps.stale.outputs.staled-issues-prs}}')
.filter(issue => !!issue.pull_request)
.map(pr => ({
title: pr.title,
number: pr.number,
html_url: pr.pull_request.html_url,
}));

return JSON.stringify(pull_requests)

announce:
runs-on: ubuntu-24.04
Expand All @@ -64,7 +72,7 @@ jobs:
steps.secrets_set.outputs.SECRETS_ENABLED
with:
webhook_url: ${{ secrets.DISCORD_WEBHOOK }}
title: ${{ matrix.pull_request.user.login }} - ${{ matrix.pull_request.title }}
title: ${{ matrix.pull_request.title }}
message: ${{ format('**Pull Request \#{0} automatically marked as stale.**', matrix.pull_request.number) }}
include_image: false
show_author: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update_tgs_dmapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:

- name: Generate App Token
id: app-token-generation
uses: actions/create-github-app-token@v2
uses: actions/create-github-app-token@v3
if: env.APP_PRIVATE_KEY != '' && env.APP_ID != ''
with:
app-id: ${{ secrets.APP_ID }}
Expand Down
7 changes: 4 additions & 3 deletions code/__DEFINES/combat.dm
Original file line number Diff line number Diff line change
Expand Up @@ -293,10 +293,11 @@ DEFINE_BITFIELD(ammo_box_multiload, list(
#define BODY_ZONE_PRECISE_L_FOOT "l_foot"
#define BODY_ZONE_PRECISE_R_FOOT "r_foot"

GLOBAL_LIST_INIT(all_body_zones, list(BODY_ZONE_HEAD, BODY_ZONE_CHEST, BODY_ZONE_R_ARM, BODY_ZONE_L_ARM, BODY_ZONE_R_LEG, BODY_ZONE_L_LEG))
GLOBAL_LIST_INIT(limb_zones, list(BODY_ZONE_R_ARM, BODY_ZONE_L_ARM, BODY_ZONE_R_LEG, BODY_ZONE_L_LEG))
// These lists are ordered as bodyparts would be ordered
GLOBAL_LIST_INIT(all_body_zones, list(BODY_ZONE_CHEST, BODY_ZONE_HEAD, BODY_ZONE_L_LEG, BODY_ZONE_R_LEG, BODY_ZONE_L_ARM, BODY_ZONE_R_ARM))
GLOBAL_LIST_INIT(limb_zones, list(BODY_ZONE_L_LEG, BODY_ZONE_R_LEG, BODY_ZONE_L_ARM, BODY_ZONE_R_ARM))
GLOBAL_LIST_INIT(arm_zones, list(BODY_ZONE_L_ARM, BODY_ZONE_R_ARM))
GLOBAL_LIST_INIT(leg_zones, list(BODY_ZONE_R_LEG, BODY_ZONE_L_LEG))
GLOBAL_LIST_INIT(leg_zones, list(BODY_ZONE_L_LEG, BODY_ZONE_R_LEG))
GLOBAL_LIST_INIT(all_precise_body_zones, list(BODY_ZONE_PRECISE_EYES, BODY_ZONE_PRECISE_MOUTH, BODY_ZONE_PRECISE_GROIN, BODY_ZONE_PRECISE_L_HAND, BODY_ZONE_PRECISE_R_HAND, BODY_ZONE_PRECISE_L_FOOT, BODY_ZONE_PRECISE_R_FOOT))

//We will round to this value in damage calculations.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,17 @@
#define COMSIG_ATOM_SET_LIGHT_FLAGS "atom_set_light_flags"
///Called right after the atom changes the value of light_flags to a different one, from base of [/atom/proc/set_light_flags]: (old_flags)
#define COMSIG_ATOM_UPDATE_LIGHT_FLAGS "atom_update_light_flags"
///Called right before the atom changes the value of light_render_source to a different one, from base [atom/proc/set_light_render_source]: (new_render_source)
#define COMSIG_ATOM_SET_LIGHT_RENDER_SOURCE "atom_set_light_render_source"
///Called right after the atom changes the value of light_render_source to a different one, from base of [/atom/proc/set_light_render_source]: (old_render_source)
#define COMSIG_ATOM_UPDATE_LIGHT_RENDER_SOURCE "atom_update_light_render_source"

///Called when an atom has a light template applied to it. Frombase of [/datum/light_template/proc/mirror_onto]: ()
#define COMSIG_ATOM_LIGHT_TEMPLATE_MIRRORED "atom_light_template_mirrored"

///Called when an atom's overlay component applies visuals, from base of [/datum/component/overlay_lighting/proc/show_to_holder]: (atom/movable/light_holder)
#define COMSIG_ATOM_OVERLAY_LIGHT_APPLIED "atom_overlay_light_applied"

///Called when an atom's overlay component hides its visuals, from base of [/datum/component/overlay_lighting/proc/hide_from_holder]: (atom/movable/light_holder)
#define COMSIG_ATOM_OVERLAY_LIGHT_REMOVED "atom_overlay_light_removed"

2 changes: 2 additions & 0 deletions code/__DEFINES/dcs/signals/signals_light_intercept.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/// from base of [/datum/light_middleman/proc/light_modified] : ()
#define COMSIG_LIGHT_MIDDLEMAN_UPDATED "light_middleman_updated"
3 changes: 3 additions & 0 deletions code/__DEFINES/dcs/signals/signals_medical.dm
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@
#define COMSIG_LIVING_OPERATING_ON "living_operating_on"
/// Sent from /mob/living/perform_surgery: (mob/living/surgeon, list/possible_operations)
#define COMSIG_ATOM_BEING_OPERATED_ON "atom_being_operated_on"

/// From /obj/item/ph_meter/interact_with_atom(): (atom/source, mob/user)
#define COMSIG_ON_REAGENT_SCAN "on_reagent_scan"
Original file line number Diff line number Diff line change
Expand Up @@ -386,3 +386,6 @@

/// Sent to a mob when one of their bodypart's surgery state changes, OR sent from the basic_surgery_state holder when its surgery state changes (old_state, new_state, changed_states)
#define COMSIG_LIVING_UPDATING_SURGERY_STATE "carbon_updating_surgery_state"

/// Sent to a mob when its player DNRs
#define COMSIG_LIVING_DNR "living_dnr"
14 changes: 14 additions & 0 deletions code/__DEFINES/dcs/signals/signals_object.dm
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,10 @@
#define COMSIG_ITEM_STORED "item_stored"
///from base of datum/storage/handle_exit(): (datum/storage/storage)
#define COMSIG_ITEM_UNSTORED "item_unstored"
///from base of obj/item/do_pickup_animation(): ()
#define COMSIG_ITEM_BEFORE_PICKUP_ANIMATION "item_before_pickup_animation"
///from base of obj/item/do_drop_animation(): ()
#define COMSIG_ITEM_BEFORE_DROP_ANIMATION "item_before_drop_animation"

/**
* From base of datum/strippable_item/get_alternate_actions(): (atom/owner, mob/user, list/alt_actions)
Expand Down Expand Up @@ -655,5 +659,15 @@
#define COMSIG_ITEM_IN_UNWRAPPED_TRAITOR_MAIL "traitor_mail_opened"
#define COMPONENT_TRAITOR_MAIL_HANDLED (1<<0)

/// Send to items that have been unwrapped from a gift
#define COMSIG_ITEM_OPENED_FROM_GIFT "gift_opened"

/// From /obj/machinery/vending/ui_interact(): (mob/user, datum/vending_ui/ui)
#define COMSIG_VENDING_UI_INTERACT "vending_ui_interact"
#define VENDING_DENIED (1<<0)

/// From /obj/machinery/vending/dispense(): (obj/item/vended_item)
#define COMSIG_VENDING_DISPENSED "vending_dispensed"

/// Sent from /datum/component/reflection when the reflection is updated to the mob reflecting: (atom/movable/reflecting_in, obj/effect/abstract/reflection)
#define COMSIG_REFLECTION_UPDATED "reflection_updated"
2 changes: 1 addition & 1 deletion code/__DEFINES/dcs/signals/signals_plane_master_group.dm
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/// from /datum/plane_master_group/proc/set_hud(): (datum/hud/new_hud)
/// from /datum/plane_master_group/proc/set_hud(): (datum/hud/old_hud, datum/hud/new_hud)
#define COMSIG_GROUP_HUD_CHANGED "group_hud_changed"
4 changes: 4 additions & 0 deletions code/__DEFINES/dcs/signals/signals_spell.dm
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
/// Return from before cast signals to prevent the spell from going on cooldown before aftercast.
#define SPELL_NO_IMMEDIATE_COOLDOWN (1 << 2)

/// Sent from /datum/action/cooldown/spell/can_cast_check() to the spell: (feedback)
#define COMSIG_SPELL_CAN_CAST_CHECK "can_cast_spell"
// Return SPELL_CANCEL_CAST to prevent the spell from being cast

/// Sent to an mob when a [/datum/action/cooldown/spell] calls try_invoke() to the caster: (datum/action/cooldown/spell/spell, feedback)
#define COMSIG_MOB_TRY_INVOKE_SPELL "try_invoke_spell"
/// The spell gets canceled
Expand Down
5 changes: 5 additions & 0 deletions code/__DEFINES/lighting.dm
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
/// Nonesensical value for light color, used for null checks.
#define NONSENSICAL_VALUE -99999

// Light systems that use the overlay light component
#define IS_OVERLAY_LIGHT_SYSTEM(system) (system == OVERLAY_LIGHT || system == OVERLAY_LIGHT_DIRECTIONAL || system == OVERLAY_LIGHT_BEAM)
// Light systems that use the cone image of the overlay light component
#define IS_OVERLAY_CONE_LIGHT_SYSTEM(system) (system == OVERLAY_LIGHT_DIRECTIONAL || system == OVERLAY_LIGHT_BEAM)

/// Is our overlay light source attached to another movable (its loc), meaning that the lighting component should go one level deeper.
#define LIGHT_ATTACHED (1<<0)
/// Freezes a light in its current state, blocking any attempts at modification
Expand Down
6 changes: 6 additions & 0 deletions code/__DEFINES/maths.dm
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@
/// Increments a value and wraps it if it exceeds some value. Can be used to circularly iterate through a list through `idx = WRAP_UP(idx, length_of_list)`.
#define WRAP_UP(val, max) (((val) % (max)) + 1)

/// Helper that increments and wraps the passed in number when it hits the integer limit
#define WRAP_UID(val) WRAP_UP(val, SHORT_REAL_LIMIT - 1)

// Real modulus that handles decimals
#define MODULUS(x, y) ( (x) - FLOOR(x, y))

Expand Down Expand Up @@ -233,6 +236,9 @@

#define LORENTZ_DISTRIBUTION(x, s) ( s*tan(TODEGREES(PI*(rand()-0.5))) + x )
#define LORENTZ_CUMULATIVE_DISTRIBUTION(x, y, s) ( (1/PI)*TORADIANS(arctan((x-(y))/s)) + 1/2 )
/// Fucked up like upside down cauchy dist that I've pinned to 1 so I can use it as a multiplier
/// https://www.desmos.com/calculator/bt4tfavvi7
#define ANCHORED_INVERSE_CAUCHY(s) (2 - ( 1 / (s * (1 + ((rand() - 0.5) / s) ** 2 ))) * (s + (0.5 ** 2) / s))

#define RULE_OF_THREE(a, b, x) ((a*x)/b)

Expand Down
5 changes: 5 additions & 0 deletions code/__DEFINES/monkeys.dm
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,10 @@
/// probability of reducing aggro by one when the monkey attacks
#define MONKEY_HATRED_REDUCTION_PROB 20

/// Monkey was calmed, such as from weed
#define MONKEY_CALMED_HATRED_AMOUNT -2
/// Monkey was angered, such as from alcohol
#define MONKEY_ANGERED_HATRED_AMOUNT 2

///Monkey recruit cooldown
#define MONKEY_RECRUIT_COOLDOWN (1 MINUTES)
13 changes: 8 additions & 5 deletions code/__DEFINES/movement.dm
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,18 @@ GLOBAL_VAR_INIT(glide_size_multiplier, 1.0)

//Movement loop flags
///Should the loop act immediately following its addition?
#define MOVEMENT_LOOP_START_FAST (1<<0)
#define MOVEMENT_LOOP_START_INSTANT (1<<0)
///Should the loop act as soon as is reasonable?
///(always 1 tick after the next visual tick, makes behavior consistent regardless of when the SS fires in the tick)
#define MOVEMENT_LOOP_START_FAST (1<<1)
///Do we not use the priority system?
#define MOVEMENT_LOOP_IGNORE_PRIORITY (1<<1)
#define MOVEMENT_LOOP_IGNORE_PRIORITY (1<<2)
///Should we override the loop's glide?
#define MOVEMENT_LOOP_IGNORE_GLIDE (1<<2)
#define MOVEMENT_LOOP_IGNORE_GLIDE (1<<3)
///Should we not update our movables dir on move?
#define MOVEMENT_LOOP_NO_DIR_UPDATE (1<<3)
#define MOVEMENT_LOOP_NO_DIR_UPDATE (1<<4)
///Is the loop moving the movable outside its control, like it's an external force? e.g. footsteps won't play if enabled.
#define MOVEMENT_LOOP_OUTSIDE_CONTROL (1<<4)
#define MOVEMENT_LOOP_OUTSIDE_CONTROL (1<<5)

// Movement loop status flags
/// Has the loop been paused, soon to be resumed?
Expand Down
3 changes: 0 additions & 3 deletions code/__DEFINES/paper.dm
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
/// Should be able to stamp paper.
#define MODE_STAMPING 2

#define BARCODE_SCANNER_CHECKIN "check_in"
#define BARCODE_SCANNER_INVENTORY "inventory"

#define IS_WRITING_UTENSIL(thing) (thing?.get_writing_implement_details()?["interaction_mode"] == MODE_WRITING)

/**
Expand Down
1 change: 1 addition & 0 deletions code/__DEFINES/preferences.dm
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
#define PARALLAX_HIGH "High"
#define PARALLAX_MED "Medium"
#define PARALLAX_LOW "Low"
#define PARALLAX_BOOMER "Old"
#define PARALLAX_DISABLE "Disabled"

#define SCALING_METHOD_NORMAL "normal"
Expand Down
2 changes: 2 additions & 0 deletions code/__DEFINES/quirks.dm
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@
/// Quirk is similar to brain trauma and should be shown in medical guides as one.
/// You don't need to set this on quirks that apply a trauma, that's redundant.
#define QUIRK_TRAUMALIKE (1<<5)
/// Do not transfer this quirk via transfer_quirk_datums
#define QUIRK_NO_TRANSFER (1<<6)
5 changes: 5 additions & 0 deletions code/__DEFINES/surgery.dm
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@
/// Helper to figure out if a limb is a peg limb
#define IS_PEG_LIMB(limb) (limb.bodytype & BODYTYPE_PEG)

/// Is the bodypart a stump
#define IS_STUMP(limb) (limb.bodypart_flags & BODYPART_STUMP)

// Flags for the bodypart_flags var on /obj/item/bodypart
/// Bodypart cannot be dismembered or amputated
#define BODYPART_UNREMOVABLE (1<<0)
Expand All @@ -65,6 +68,8 @@
#define BODYPART_UNHUSKABLE (1<<3)
/// Bodypart has never been added to a mob
#define BODYPART_VIRGIN (1<<4)
/// Not a full bodypart, but in fact is part of a missing limb
#define BODYPART_STUMP (1<<5)

// Bodypart change blocking flags
///Bodypart does not get replaced during set_species()
Expand Down
8 changes: 5 additions & 3 deletions code/__DEFINES/traits/declarations.dm
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ Remember to update _globalvars/traits.dm if you're adding/removing/renaming trai
// Hud traits
/// This hud is owned by a client with an open escape menu
#define TRAIT_ESCAPE_MENU_OPEN "escape_menu_open"
/// This hud has parallax displayed on it
#define TRAIT_PARALLAX_DISPLAYED "parallax_displayed"

// Mob traits
/// Forces the user to stay unconscious.
Expand Down Expand Up @@ -1462,6 +1464,9 @@ Remember to update _globalvars/traits.dm if you're adding/removing/renaming trai
#define TRAIT_BEAST_EMPATHY "beast_empathy" // you're good with animals, such as with taming them
#define TRAIT_STURDY_FRAME "sturdy_frame" // you suffer much lesser effects from equipment that slows you down

/// Has this mob been tamed?
#define TRAIT_TAMED "tamed"

/// This item cannot be selected for or used by a theft objective (Spies, Traitors, etc.)
#define TRAIT_ITEM_OBJECTIVE_BLOCKED "item_objective_blocked"
/// This trait lets you attach limbs to any player without surgery.
Expand Down Expand Up @@ -1592,9 +1597,6 @@ Remember to update _globalvars/traits.dm if you're adding/removing/renaming trai
/// Trait that signals to objects on this turf that its open (has UNDERFLOOR_INTERACTIBLE) but still covers them
#define TRAIT_UNCOVERED_TURF "uncovered_turf"

/// A trait that blocks the metabolism of formaldehyde
#define TRAIT_BLOCK_FORMALDEHYDE_METABOLISM "block_formaldehyde_metabolism"

///Attached to objects currently on tables and such, allowing them to walk on other objects without the climbing delay
#define TRAIT_ON_CLIMBABLE "on_climbable"

Expand Down
5 changes: 5 additions & 0 deletions code/__DEFINES/visual_helpers.dm
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,8 @@

/// Much like [SET_BASE_PIXEL], except it will not effect pixel offsets in mapping programs
#define SET_BASE_PIXEL_NOMAP(x, y) MAP_SWITCH(SET_BASE_PIXEL(x, y), _SET_BASE_PIXEL_NO_OFFSET(x, y))

/// What world.time will we next complete a visual tick?
/// This is important because we often want to avoid moving an object twice in a tick, since this can lead to teleportation instead of gliding
/// (such as when you move an atom that just spawned)
#define NEXT_VISUAL_TICK (GLOB.last_maptick_time + world.tick_lag)
2 changes: 2 additions & 0 deletions code/__DEFINES/wiremod.dm
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
#define PORT_TYPE_TABLE "table"
/// Options datatype. Derivative of string.
#define PORT_TYPE_OPTION "option"
/// Boolean datatype. Derivative of number.
#define PORT_TYPE_BOOLEAN "boolean"

// Composite datatypes
#define PORT_COMPOSITE_TYPE_LIST "list"
Expand Down
2 changes: 1 addition & 1 deletion code/__HELPERS/cmp.dm
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@

/// Orders bodyparts by their body_part value, ascending.
/proc/cmp_bodypart_by_body_part_asc(obj/item/bodypart/limb_one, obj/item/bodypart/limb_two)
return limb_one.body_part - limb_two.body_part
return limb_one::body_part - limb_two::body_part

/// Orders by integrated circuit weight
/proc/cmp_port_order_asc(datum/port/compare1, datum/port/compare2)
Expand Down
10 changes: 10 additions & 0 deletions code/_globalvars/bitfields.dm
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,16 @@ DEFINE_BITFIELD(disease_flags, list(
"CURABLE" = CURABLE,
))

DEFINE_BITFIELD(ss_flags, list(
"SS_NO_INIT" = SS_NO_INIT,
"SS_NO_FIRE" = SS_NO_FIRE,
"SS_BACKGROUND" = SS_BACKGROUND,
"SS_TICKER" = SS_TICKER,
"SS_KEEP_TIMING" = SS_KEEP_TIMING,
"SS_POST_FIRE_TIMING" = SS_POST_FIRE_TIMING,
"SS_OK_TO_FAIL_INIT" = SS_OK_TO_FAIL_INIT,
))

DEFINE_BITFIELD(flags_1, list(
"ADMIN_SPAWNED_1" = ADMIN_SPAWNED_1,
"ALLOW_DARK_PAINTS_1" = ALLOW_DARK_PAINTS_1,
Expand Down
3 changes: 2 additions & 1 deletion code/_globalvars/traits/_traits.dm
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ GLOBAL_LIST_INIT(traits_by_type, list(
),
/datum/hud = list(
"TRAIT_ESCAPE_MENU_OPEN" = TRAIT_ESCAPE_MENU_OPEN,
"TRAIT_PARALLAX_DISPLAYED" = TRAIT_PARALLAX_DISPLAYED,
),
/datum/wound = list(
"TRAIT_WOUND_SCANNED" = TRAIT_WOUND_SCANNED,
Expand Down Expand Up @@ -200,7 +201,6 @@ GLOBAL_LIST_INIT(traits_by_type, list(
"TRAIT_BIRTHDAY_BOY" = TRAIT_BIRTHDAY_BOY,
"TRAIT_BLOB_ALLY" = TRAIT_BLOB_ALLY,
"TRAIT_BLOCKING_PROJECTILES" = TRAIT_BLOCKING_PROJECTILES,
"TRAIT_BLOCK_FORMALDEHYDE_METABOLISM" = TRAIT_BLOCK_FORMALDEHYDE_METABOLISM,
"TRAIT_BLOCK_SECHUD" = TRAIT_BLOCK_SECHUD,
"TRAIT_BLOCK_SHUTTLE_MOVEMENT" = TRAIT_BLOCK_SHUTTLE_MOVEMENT,
"TRAIT_BLOODSHOT_EYES" = TRAIT_BLOODSHOT_EYES,
Expand Down Expand Up @@ -594,6 +594,7 @@ GLOBAL_LIST_INIT(traits_by_type, list(
"TRAIT_TACKLING_WINGED_ATTACKER" = TRAIT_TACKLING_WINGED_ATTACKER,
"TRAIT_TACTICALLY_CAMOUFLAGED" = TRAIT_TACTICALLY_CAMOUFLAGED,
"TRAIT_TAGGER" = TRAIT_TAGGER,
"TRAIT_TAMED" = TRAIT_TAMED,
"TRAIT_TEMPORARY_BODY" = TRAIT_TEMPORARY_BODY,
"TRAIT_TENACIOUS" = TRAIT_TENACIOUS,
"TRAIT_TENTACLE_IMMUNE" = TRAIT_TENTACLE_IMMUNE,
Expand Down
1 change: 1 addition & 0 deletions code/_globalvars/traits/admin_tooling.dm
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ GLOBAL_LIST_INIT(admin_visible_traits, list(
"TRAIT_TACKLING_TAILED_DEFENDER" = TRAIT_TACKLING_TAILED_DEFENDER,
"TRAIT_TACKLING_TAILED_POUNCE" = TRAIT_TACKLING_TAILED_POUNCE,
"TRAIT_TAGGER" = TRAIT_TAGGER,
"TRAIT_TAMED" = TRAIT_TAMED,
"TRAIT_TENTACLE_IMMUNE" = TRAIT_TENTACLE_IMMUNE,
"TRAIT_TESLA_SHOCKIMMUNE" = TRAIT_TESLA_SHOCKIMMUNE,
"TRAIT_TETRODOTOXIN_HEALING" = TRAIT_TETRODOTOXIN_HEALING,
Expand Down
2 changes: 1 addition & 1 deletion code/_onclick/hud/hud.dm
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ GLOBAL_LIST_INIT(available_ui_styles, list(
screenmob.reload_fullscreen()

if(screenmob == mymob)
update_parallax_pref(screenmob)
update_parallax_pref()
else
viewmob.hud_used.update_parallax_pref()

Expand Down
Loading
Loading