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

Merge #1165

Merged
merged 108 commits into from
Oct 22, 2023
Merged

Merge #1165

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
108 commits
Select commit Hold shift + click to select a range
6dea938
Bump actions/setup-python from 4.7.0 to 4.7.1
dependabot[bot] Oct 2, 2023
afd5cf3
Tweak middleclick to make user point at atom
SuhEugene Oct 2, 2023
7e31f0d
Чейнджлог для PR #1097 [ci skip]
SierraHelper Oct 2, 2023
4bbdbc6
Remove Sierra multi tile airlocks directions
SuhEugene Oct 2, 2023
3441548
Add CMO and RD command consoles
SuhEugene Oct 2, 2023
5fbf890
Add more body markings
SuhEugene Oct 2, 2023
56752ed
Чейнджлог для PR #1098 [ci skip]
SierraHelper Oct 2, 2023
08a7b9b
Чейнджлог для PR #1101 [ci skip]
SierraHelper Oct 2, 2023
41fa254
Fix map paths
SuhEugene Oct 1, 2023
1e56e39
Чейнджлог для PR #1096 [ci skip]
SierraHelper Oct 2, 2023
6843206
Автоматическая компиляция чейнджлогов [ci skip]
SierraHelper Oct 3, 2023
7f4eefd
[MIRROR] Make browser datum use UTF-8
SuhEugene Oct 3, 2023
6cb0431
[MIRROR] Make noexcutite actually work
Qlonever Oct 3, 2023
2f89ec7
Чейнджлог для PR #1105 [ci skip]
SierraHelper Oct 3, 2023
27830b4
[MIRROR] New icons and bugfixes for body scanner and cryopod
cuddleandtea Oct 3, 2023
81b4c77
Чейнджлог для PR #1107 [ci skip]
SierraHelper Oct 3, 2023
c9e09f2
[MIRROR] robot item fixes
juxjux9930 Oct 3, 2023
34cdaf6
Чейнджлог для PR #1108 [ci skip]
SierraHelper Oct 3, 2023
c2f84b7
[MIRROR] adds the 'humanifier' artifact effect
MuckerMayhem Oct 3, 2023
2f00f93
Чейнджлог для PR #1110 [ci skip]
SierraHelper Oct 3, 2023
c9aeebf
[MIRROR] overmap placeholder ships don't randomize location
Spookerton Oct 3, 2023
a239503
[MIRROR] Update default subsystem runlevels to game and postgame
SierraKomodo Oct 3, 2023
7ec3bff
Чейнджлог для PR #1106 [ci skip]
SierraHelper Oct 3, 2023
48b1418
[MIRROR] Bump styfle/cancel-workflow-action from 0.11.0 to 0.12.0
dependabot[bot] Oct 3, 2023
aa9454f
Add client verbs mod
SuhEugene Oct 2, 2023
3d677ae
Add statusbar mod
SuhEugene Oct 2, 2023
1d52ca8
Чейнджлог для PR #1103 [ci skip]
SierraHelper Oct 3, 2023
411f5cc
Автоматическая компиляция чейнджлогов [ci skip]
SierraHelper Oct 4, 2023
6fe7d68
[MIRROR] Fix pre-game vote timers not ticking
SierraKomodo Oct 5, 2023
24940c7
Чейнджлог для PR #1119 [ci skip]
SierraHelper Oct 5, 2023
2482f56
[MIRROR] fix tcomms lights not updating on init
Spookerton Oct 4, 2023
42218de
[MIRROR] Add more Fake NanoUI
SuhEugene Oct 4, 2023
82b13c6
Чейнджлог для PR #1117 [ci skip]
SierraHelper Oct 5, 2023
a0fd08b
Автоматическая компиляция чейнджлогов [ci skip]
SierraHelper Oct 6, 2023
4391873
[MIRROR] Block merging of PRs flagged for test merge
SierraKomodo Oct 10, 2023
93d152f
[MIRROR] Unanchor pAI when folded
SierraKomodo Oct 5, 2023
aada9d8
Чейнджлог для PR #1120 [ci skip]
SierraHelper Oct 10, 2023
9b58222
[MIRROR] Limit and update confusion updating logic
SierraKomodo Oct 10, 2023
67f8ca7
Чейнджлог для PR #1123 [ci skip]
SierraHelper Oct 10, 2023
2db241f
Автоматическая компиляция чейнджлогов [ci skip]
SierraHelper Oct 11, 2023
a2c90c5
[MIRROR] Add VV handlers for /mob/confused
SierraKomodo Oct 11, 2023
9ee9595
[MIRROR] fix spiderlings not growing when in limbs
MuckerMayhem Oct 11, 2023
1d6626a
[MIRROR] fix high speed floor people
Spookerton Oct 11, 2023
96c276b
Чейнджлог для PR #1127 [ci skip]
SierraHelper Oct 11, 2023
66c5b52
[MIRROR] New Operative Gamemode PR (A Ninja Rework) (#1125)
SierraHelper Oct 11, 2023
a6839c1
Чейнджлог для PR #1125 [ci skip]
SierraHelper Oct 11, 2023
7e784d7
[MIRROR] stock renderwhitespace pref "all" -> "boundary"
Spookerton Oct 11, 2023
13f2264
[MIRROR] re-tgm's ninja_base
Spookerton Oct 11, 2023
5fb2fed
Автоматическая компиляция чейнджлогов [ci skip]
SierraHelper Oct 12, 2023
cc28b91
[MIRROR] makes current versions of suite not die on 515 compatibility…
Spookerton Oct 12, 2023
e8eacbd
[MIRROR] eliminates new\s*/list style of list definition (#1116)
SierraHelper Oct 12, 2023
e5abd9a
[MIRROR] Improves Giftwrapping
emmanuelbassil Oct 11, 2023
9befbbc
Update maps items paths
SuhEugene Oct 14, 2023
2a6912f
Fix solgov parcels
SuhEugene Oct 14, 2023
516e8e8
[MIRROR] misc sprite and text fixes
Qlonever Oct 14, 2023
4c4df2c
Чейнджлог для PR #1126 [ci skip]
SierraHelper Oct 14, 2023
4005aa0
[MIRROR] Fixes mech jetpacks
Alex6511 Oct 14, 2023
b202e22
Чейнджлог для PR #1133 [ci skip]
SierraHelper Oct 14, 2023
39dbd73
Чейнджлог для PR #1134 [ci skip]
SierraHelper Oct 14, 2023
d5d928b
[MIRROR] Fix spiderlings growing that shouldn't grow
SierraKomodo Oct 14, 2023
30a7dd2
Чейнджлог для PR #1136 [ci skip]
SierraHelper Oct 14, 2023
b1f2547
[MIRROR] remove /effect/ from non-effect paths (#1139)
SierraHelper Oct 14, 2023
7293bde
[MIRROR] fix objects not falling through openspace
MuckerMayhem Oct 14, 2023
26b3f6a
[MIRROR] nerf nurse spiderling injection
MuckerMayhem Oct 14, 2023
081b80f
Чейнджлог для PR #1140 [ci skip]
SierraHelper Oct 14, 2023
793a92b
Чейнджлог для PR #1141 [ci skip]
SierraHelper Oct 14, 2023
26fc12b
Автоматическая компиляция чейнджлогов [ci skip]
SierraHelper Oct 15, 2023
4261cbd
[MIRROR] Makes no client colour consistently work with planemasters
CrimsonShrike Oct 15, 2023
a592918
[MIRROR] Fixes self-buckling when incapacitated
wb13 Oct 17, 2023
7c24db9
Чейнджлог для PR #1146 [ci skip]
SierraHelper Oct 17, 2023
24d3b5e
[MIRROR] admin light_maker fix
cuddleandtea Oct 17, 2023
aec37d3
[MIRROR] Fixes placing mobs in mounted sleepers
emmanuelbassil Oct 17, 2023
05cc2a3
Чейнджлог для PR #1145 [ci skip]
SierraHelper Oct 17, 2023
e4f0b99
Чейнджлог для PR #1144 [ci skip]
SierraHelper Oct 17, 2023
424cb2b
Bump actions/checkout from 4.1.0 to 4.1.1
dependabot[bot] Oct 17, 2023
c244bb9
[MIRROR] Fix closet icon test output
SierraKomodo Oct 17, 2023
5dd7a1d
[MIRROR] Update some posters icons
SuhEugene Oct 17, 2023
ea8e70f
[MIRROR] Music instruments sound range fix
cuddleandtea Oct 17, 2023
4a4dcf6
Чейнджлог для PR #1149 [ci skip]
SierraHelper Oct 17, 2023
b9dffae
[MIRROR] More obvious neural suppressors for OR tables
TheNightingale Oct 17, 2023
9930c7c
Чейнджлог для PR #1148 [ci skip]
SierraHelper Oct 17, 2023
9e18f38
[MIRROR] Integration (and tweaks) for Polaris AI Framework
wb13 Oct 17, 2023
131c22e
Чейнджлог для PR #1147 [ci skip]
SierraHelper Oct 17, 2023
9c07c20
Чейнджлог для PR #1143 [ci skip]
SierraHelper Oct 17, 2023
de5a38e
Автоматическая компиляция чейнджлогов [ci skip]
SierraHelper Oct 18, 2023
736c836
[MIRROR] Fix decals on open closets
Qlonever Oct 18, 2023
d661faf
Update closet base icon
SuhEugene Oct 18, 2023
fc2c149
Чейнджлог для PR #1153 [ci skip]
SierraHelper Oct 18, 2023
ec51d8c
[MIRROR] Ability to punch objects
emmanuelbassil Oct 18, 2023
47b76eb
[MIRROR] Removes admin log for throwing people via gravikinetic
Ryan180602 Oct 18, 2023
643100c
Чейнджлог для PR #1154 [ci skip]
SierraHelper Oct 18, 2023
5b866e2
Чейнджлог для PR #1156 [ci skip]
SierraHelper Oct 18, 2023
2a05d4f
[MIRROR] Radio Incapacitation Tweaks
SierraKomodo Oct 18, 2023
81d438e
Чейнджлог для PR #1155 [ci skip]
SierraHelper Oct 18, 2023
bda6eb2
[MIRROR] Replace attack() with use_before()
SierraHelper Oct 18, 2023
d210586
Чейнджлог для PR #1152 [ci skip]
SierraHelper Oct 18, 2023
6e7072c
Автоматическая компиляция чейнджлогов [ci skip]
SierraHelper Oct 19, 2023
8715cc9
[MIRROR] Chewable spit out and drone designator in belt
emmanuelbassil Oct 19, 2023
2055cb6
Чейнджлог для PR #1158 [ci skip]
SierraHelper Oct 19, 2023
e9b81da
[MIRROR] Replace xenofauna carbine spawn with SMG(and rubber SMG mag)…
Ryan180602 Oct 19, 2023
5e1995c
Автоматическая компиляция чейнджлогов [ci skip]
SierraHelper Oct 20, 2023
a092d64
[MIRROR] Fix vv handler for the confused var locked to 15
SierraKomodo Oct 21, 2023
4770ad2
Чейнджлог для PR #1162 [ci skip]
SierraHelper Oct 21, 2023
727380a
Автоматическая компиляция чейнджлогов [ci skip]
SierraHelper Oct 22, 2023
cf08687
Fix music player radius (#1161)
cuddleandtea Oct 22, 2023
89dd4de
Чейнджлог для PR #1161 [ci skip]
SierraHelper Oct 22, 2023
a2b9d47
[MIRROR] Mountain wind is lime green
SierraKomodo Oct 22, 2023
9a5f349
Чейнджлог для PR #1164 [ci skip]
SierraHelper Oct 22, 2023
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
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,9 @@
bf996203dfc4b09f8dc4dd73b532f9ee49691776
bfa20cdc17d1794969331c4272c4a8d7ad523a44
bca4aa1184eca550a6d9543a93d720ba6dc10b20

# obj/effect/ -> obj/
8cd28ed954d5873c1b20f35ce58aa5820803ec4c

# datum/effect/effect/system & datum/effect/system -> datum/effect
96f09a4736ccdc33d9651aa9f162d27e3263b127
2 changes: 1 addition & 1 deletion .github/workflows/cancel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- uses: styfle/cancel-workflow-action@b173b6ec0100793626c2d9e6b90435061f4fc3e5
- uses: styfle/cancel-workflow-action@01ce38bf961b4e243a6342cbade0dbc8ba3f0432
with:
workflow_id: 3545321
access_token: ${{ github.token }}
4 changes: 2 additions & 2 deletions .github/workflows/changelog_generation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ jobs:
if: github.repository == 'SierraBay/SierraBay12' # to prevent this running on forks
steps:
- name: Checkout
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
fetch-depth: 0 # Otherwise, we will fail to push refs
ref: dev-sierra
token: ${{ secrets.BOT_TOKEN }}
- name: Python setup
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236
with:
python-version: '3.x'
- name: Install depends
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check_changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
wget https://raw.githubusercontent.com/SierraBay/SierraBay12/dev-sierra/tools/changelog/sierra_check_changelog.py
wget https://raw.githubusercontent.com/SierraBay/SierraBay12/dev-sierra/tools/changelog/tags.yml
- name: Установка Python
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236
with:
python-version: '3.x'
- name: Установка зависимостей
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/generate_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: paths-filter
uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50
id: filter
Expand All @@ -37,7 +37,7 @@ jobs:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Setup Cache
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/make_changelogs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:
if: github.repository == 'SierraBay/SierraBay12' # to prevent this running on forks
steps:
- name: Checkout
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
fetch-depth: 25
- name: Python setup
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236
with:
python-version: '3.x'
- name: Install depends
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: paths-filter
uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50
id: filter
Expand All @@ -30,7 +30,7 @@ jobs:
needs: PreFlight
if: needs.PreFlight.outputs.dm == 'true'
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Setup Cache
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
with:
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
- DreamChecker
if: needs.PreFlight.outputs.dm == 'true'
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Setup Cache
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
with:
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
- DreamChecker
if: needs.PreFlight.outputs.dm == 'true'
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Setup Cache
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
with:
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
- DreamChecker
if: needs.PreFlight.outputs.dm == 'true'
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Setup Cache
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
with:
Expand Down Expand Up @@ -146,7 +146,7 @@ jobs:
- DreamChecker
if: needs.PreFlight.outputs.dm == 'true'
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Setup Cache
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
with:
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/testmerge-blocker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: "Test Merge Blocker"

on:
pull_request:
types: [synchronize, opened, labeled, unlabeled]

jobs:
testmerge-blocker:
name: Enforce Test Merge Label
runs-on: ubuntu-latest
steps:
- name: Enforce Test Merge Label
if: contains(github.event.pull_request.labels.*.name, 'Test Merge') && !contains(github.event.pull_request.labels.*.name, 'Test Merge Passed')
run: |
echo "Pull request is labeled for Test Merge and has not been flagged as Test Merge Passed."
echo "The test merge must pass, or the label removed, before this PR can be merged."
exit 1
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"editor.renderWhitespace": "all",
"editor.renderWhitespace": "boundary",

"files.eol": "\n",
"files.encoding": "utf8",
Expand Down
11 changes: 8 additions & 3 deletions baystation12.dme
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#include "code\__defines\_excom.dm"
#include "code\__defines\_renderer.dm"
#include "code\__defines\admin.dm"
#include "code\__defines\ai.dm"
#include "code\__defines\antagonists.dm"
#include "code\__defines\ao.dm"
#include "code\__defines\ao_misc.dm"
Expand Down Expand Up @@ -1038,7 +1039,7 @@
#include "code\game\objects\items\weapons\extinguisher.dm"
#include "code\game\objects\items\weapons\flame.dm"
#include "code\game\objects\items\weapons\flamethrower.dm"
#include "code\game\objects\items\weapons\gift_wrappaper.dm"
#include "code\game\objects\items\weapons\gifts.dm"
#include "code\game\objects\items\weapons\handcuffs.dm"
#include "code\game\objects\items\weapons\janitor_sign.dm"
#include "code\game\objects\items\weapons\lighter.dm"
Expand Down Expand Up @@ -1067,6 +1068,7 @@
#include "code\game\objects\items\weapons\trays.dm"
#include "code\game\objects\items\weapons\weaponry.dm"
#include "code\game\objects\items\weapons\weldbackpack.dm"
#include "code\game\objects\items\weapons\wrapping_paper.dm"
#include "code\game\objects\items\weapons\candle\candle.dm"
#include "code\game\objects\items\weapons\candle\incense.dm"
#include "code\game\objects\items\weapons\candle\scent_decls.dm"
Expand Down Expand Up @@ -1423,7 +1425,6 @@
#include "code\modules\admin\view_variables\view_variables.dm"
#include "code\modules\admin\view_variables\view_variables_global.dm"
#include "code\modules\admin\view_variables\vv_set_handlers.dm"
#include "code\modules\ai\_defines.dm"
#include "code\modules\ai\ai_holder.dm"
#include "code\modules\ai\ai_holder_combat.dm"
#include "code\modules\ai\ai_holder_combat_unseen.dm"
Expand All @@ -1438,7 +1439,9 @@
#include "code\modules\ai\ai_holder_targeting.dm"
#include "code\modules\ai\interfaces.dm"
#include "code\modules\ai\say_list.dm"
#include "code\modules\ai\aI_holder_subtypes\simple_mob_ai.dm"
#include "code\modules\ai\ai_holder_subtypes\alien_ai.dm"
#include "code\modules\ai\ai_holder_subtypes\human_ai.dm"
#include "code\modules\ai\ai_holder_subtypes\simple_mob_ai.dm"
#include "code\modules\alarm\alarm.dm"
#include "code\modules\alarm\alarm_handler.dm"
#include "code\modules\alarm\atmosphere_alarm.dm"
Expand Down Expand Up @@ -2090,6 +2093,7 @@
#include "code\modules\mob\say.dm"
#include "code\modules\mob\transform_procs.dm"
#include "code\modules\mob\update_icons.dm"
#include "code\modules\mob\vv_handlers.dm"
#include "code\modules\mob\grab\grab_datum.dm"
#include "code\modules\mob\grab\grab_object.dm"
#include "code\modules\mob\grab\grab_readme.dm"
Expand Down Expand Up @@ -3212,6 +3216,7 @@
#include "code\modules\xenoarcheaology\effects\goodfeeling.dm"
#include "code\modules\xenoarcheaology\effects\heal.dm"
#include "code\modules\xenoarcheaology\effects\heat.dm"
#include "code\modules\xenoarcheaology\effects\human_ifier.dm"
#include "code\modules\xenoarcheaology\effects\hurt.dm"
#include "code\modules\xenoarcheaology\effects\pushback.dm"
#include "code\modules\xenoarcheaology\effects\radiate.dm"
Expand Down
2 changes: 2 additions & 0 deletions code/__defines/__renderer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,8 @@

#define DEFAULT_APPEARANCE_FLAGS (PIXEL_SCALE)

#define DEFAULT_RENDERER_APPEARANCE_FLAGS (PLANE_MASTER | NO_CLIENT_COLOR)

/atom/appearance_flags = DEFAULT_APPEARANCE_FLAGS
/atom/movable/appearance_flags = DEFAULT_APPEARANCE_FLAGS | TILE_BOUND // Most AMs are not visibly bigger than a tile.
/image/appearance_flags = DEFAULT_APPEARANCE_FLAGS
Expand Down
8 changes: 3 additions & 5 deletions code/__defines/_renderer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/// The base /renderer definition and defaults.
/atom/movable/renderer
abstract_type = /atom/movable/renderer
appearance_flags = PLANE_MASTER
appearance_flags = DEFAULT_RENDERER_APPEARANCE_FLAGS
screen_loc = "CENTER"
plane = LOWEST_PLANE
blend_mode = BLEND_OVERLAY
Expand Down Expand Up @@ -132,7 +132,6 @@ INITIALIZE_IMMEDIATE(/atom/movable/renderer)
name = "Letterbox"
group = RENDER_GROUP_SCENE
plane = BLACKNESS_PLANE
appearance_flags = PLANE_MASTER | NO_CLIENT_COLOR
blend_mode = BLEND_MULTIPLY
mouse_opacity = MOUSE_OPACITY_UNCLICKABLE

Expand Down Expand Up @@ -188,7 +187,6 @@ GLOBAL_LIST_EMPTY(zmimic_renderers)
name = "Lighting"
group = RENDER_GROUP_SCENE
plane = LIGHTING_PLANE
appearance_flags = PLANE_MASTER | NO_CLIENT_COLOR
relay_blend_mode = BLEND_MULTIPLY
mouse_opacity = MOUSE_OPACITY_UNCLICKABLE

Expand Down Expand Up @@ -264,7 +262,7 @@ GLOBAL_LIST_EMPTY(zmimic_renderers)
*/


/// Renders the /obj/effect/effect/warp example effect as well as gravity catapult effects
/// Renders the /obj/effect/warp example effect as well as gravity catapult effects
/atom/movable/renderer/warp
name = "Warp Effect"
group = RENDER_GROUP_NONE
Expand Down Expand Up @@ -293,7 +291,7 @@ GLOBAL_LIST_EMPTY(zmimic_renderers)

if (quality == GLOB.PREF_LOW)
QDEL_NULL(gas_heat_object)
gas_heat_object = new /obj/effect/heat(null)
gas_heat_object = new /obj/heat(null)
else
QDEL_NULL(gas_heat_object)
if (quality == GLOB.PREF_MED)
Expand Down
20 changes: 19 additions & 1 deletion code/modules/ai/_defines.dm → code/__defines/ai.dm
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#define MOVEMENT_FAILED 0 // Move() returned false for whatever reason and the mob didn't move.
#define MOVEMENT_SUCCESSFUL 1 // Move() returned true and the mob hopefully moved.

// Results of pre-attack checks
// Results of pre-attack checks.
#define ATTACK_ON_COOLDOWN -1 // Recently attacked and needs to try again soon.
#define ATTACK_FAILED 0 // Something else went wrong! Maybe they moved away!
#define ATTACK_SUCCESSFUL 1 // We attacked (or tried to, misses count too)
Expand All @@ -32,3 +32,21 @@
#define AI_TARGET_ALLY 3 // They are an ally. Find a new target.
#define AI_TARGET_DEAD 4 // They're dead. Find a new target.
#define AI_TARGET_INVINCIBLE 5 // Target is currently unable to receive damage for whatever reason. Find a new target or wait.

// Stances to determine AI state.
#define STANCE_SLEEP 0 // Doing (almost) nothing, to save on CPU because nobody is around to notice or the mob died.
#define STANCE_IDLE 1 // The more or less default state. Wanders around, looks for baddies, and spouts one-liners.
#define STANCE_ALERT 2 // A baddie is visible but not too close, and essentially we tell them to go away or die.
#define STANCE_APPROACH 3 // Attempting to get into range to attack them.
#define STANCE_FIGHT 4 // Actually fighting, with melee or ranged.
#define STANCE_BLINDFIGHT 5 // Fighting something that cannot be seen by the mob, from invisibility or out of sight.
#define STANCE_REPOSITION 6 // Relocating to a better position while in combat. Also used when moving away from a danger like grenades.
#define STANCE_MOVE 7 // Similar to above but for out of combat. If a baddie is seen, they'll cancel and fight them.
#define STANCE_FOLLOW 8 // Following somone, without trying to murder them.
#define STANCE_FLEE 9 // Run away from the target because they're too spooky/we're dying/some other reason.
#define STANCE_DISABLED 10 // Used when the holder is afflicted with certain status effects, such as stuns or confusion.

#define STANCE_ATTACK 11 // Backwards compatability
#define STANCE_ATTACKING 12 // Ditto

#define STANCES_COMBAT list(STANCE_ALERT, STANCE_APPROACH, STANCE_FIGHT, STANCE_BLINDFIGHT, STANCE_REPOSITION)
1 change: 0 additions & 1 deletion code/__defines/flags.dm
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ GLOBAL_LIST_INIT(bitflags, list(1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 204
#define ITEM_FLAG_NOCUFFS FLAG(13) // Gloves that have this flag prevent cuffs being applied
#define ITEM_FLAG_CAN_HIDE_IN_SHOES FLAG(14) // Items that can be hidden in shoes that permit it
#define ITEM_FLAG_WASHER_ALLOWED FLAG(15) // Items that can be washed in washing machines
#define ITEM_FLAG_TRY_ATTACK FLAG(16) // Use the item's attack() when set before trying the receiver's resolve_attackby()

// Flags for pass_flags.
#define PASS_FLAG_TABLE FLAG(0)
Expand Down
8 changes: 4 additions & 4 deletions code/__defines/fluids.dm
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
#define ADD_ACTIVE_FLUID_SOURCE(T) SSfluids.water_sources[T] = TRUE
#define REMOVE_ACTIVE_FLUID_SOURCE(T) SSfluids.water_sources -= T

// Expects /obj/effect/fluid for F.
// Expects /obj/fluid for F.
#define ADD_ACTIVE_FLUID(F) SSfluids.active_fluids[F] = TRUE
#define REMOVE_ACTIVE_FLUID(F) SSfluids.active_fluids -= F

// Expects /obj/effect/fluid for F, int for amt.
// Expects /obj/fluid for F, int for amt.
#define LOSE_FLUID(F, amt) \
F:fluid_amount = max(-1, F:fluid_amount - amt); \
ADD_ACTIVE_FLUID(F)
Expand Down Expand Up @@ -44,9 +44,9 @@
UPDATE_FLUID_BLOCKED_DIRS(next); \
if((next.fluid_blocked_dirs & GLOB.reverse_dir[spread_dir]) || !next.CanFluidPass(spread_dir)) continue; \
flooded_a_neighbor = TRUE; \
var/obj/effect/fluid/F = locate() in next; \
var/obj/fluid/F = locate() in next; \
if(!F && !dry_run) {\
F = new /obj/effect/fluid(next); \
F = new /obj/fluid(next); \
var/datum/gas_mixture/GM = T:return_air(); \
if(GM) F.temperature = GM.temperature; \
} \
Expand Down
2 changes: 1 addition & 1 deletion code/__defines/gamemode.dm
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
#define MODE_ERT "ert"
#define MODE_ACTOR "actor"
#define MODE_MERCENARY "mercenary"
#define MODE_NINJA "ninja"
#define MODE_NINJA "operatives"
#define MODE_RAIDER "raider"
#define MODE_WIZARD "wizard"
#define MODE_CHANGELING "changeling"
Expand Down
23 changes: 4 additions & 19 deletions code/__defines/mobs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -36,24 +36,6 @@
#define BORGXRAY FLAG(2)
#define BORGMATERIAL FLAG(3)


#define STANCE_SLEEP 0 // Doing (almost) nothing, to save on CPU because nobody is around to notice or the mob died.
#define STANCE_IDLE 1 // The more or less default state. Wanders around, looks for baddies, and spouts one-liners.
#define STANCE_ALERT 2 // A baddie is visible but not too close, and essentially we tell them to go away or die.
#define STANCE_APPROACH 3 // Attempting to get into range to attack them.
#define STANCE_FIGHT 4 // Actually fighting, with melee or ranged.
#define STANCE_BLINDFIGHT 5 // Fighting something that cannot be seen by the mob, from invisibility or out of sight.
#define STANCE_REPOSITION 6 // Relocating to a better position while in combat. Also used when moving away from a danger like grenades.
#define STANCE_MOVE 7 // Similar to above but for out of combat. If a baddie is seen, they'll cancel and fight them.
#define STANCE_FOLLOW 8 // Following somone, without trying to murder them.
#define STANCE_FLEE 9 // Run away from the target because they're too spooky/we're dying/some other reason.
#define STANCE_DISABLED 10 // Used when the holder is afflicted with certain status effects, such as stuns or confusion.

#define STANCE_ATTACK 11 // Backwards compatability
#define STANCE_ATTACKING 12 // Ditto

#define STANCES_COMBAT list(STANCE_ALERT, STANCE_APPROACH, STANCE_FIGHT, STANCE_BLINDFIGHT, STANCE_REPOSITION)

#define LEFT FLAG(0)
#define RIGHT FLAG(1)
#define UNDER FLAG(2)
Expand Down Expand Up @@ -402,7 +384,7 @@
// Aura type options for `/mob/living/proc/aura_check()`.
/// Aura checks for projectile impacts. Generally called by `/obj/item/projectile/proc/attack_mob()`. Results in `/obj/aura/proc/aura_check_bullet()`.
#define AURA_TYPE_BULLET "Bullet"
/// Aura checks for physical weapon attacks. Generally called by `/obj/item/proc/attack()`. Results in `/obj/aura/proc/aura_check_weapon()`.
/// Aura checks for physical weapon attacks. Generally called by `/obj/item/proc/use_weapon()`. Results in `/obj/aura/proc/aura_check_weapon()`.
#define AURA_TYPE_WEAPON "Weapon"
/// Aura checks for thrown atom impacts. Generally called by `/mob/living/hitby()`. Results in `/obj/aura/proc/aura_check_thrown()`.
#define AURA_TYPE_THROWN "Thrown"
Expand Down Expand Up @@ -506,3 +488,6 @@
#define PRONOUNS_SHE_THEY "she/they"

#define PRONOUNS_ALL list(PRONOUNS_THEY_THEM, PRONOUNS_HE_HIM, PRONOUNS_SHE_HER, PRONOUNS_HE_THEY, PRONOUNS_SHE_THEY, PRONOUNS_IT_ITS)

/// Integer (~ticks * SSMobs/wait fire rate). The default maximum value a mob's confused var can be set to.
#define CONFUSED_MAX 15
Loading