Skip to content

Commit

Permalink
Merge branch 'SierraBay:dev-sierra' into dev-sierra
Browse files Browse the repository at this point in the history
  • Loading branch information
Baneuus authored Dec 9, 2024
2 parents b54556f + d26ffed commit 451ee96
Show file tree
Hide file tree
Showing 630 changed files with 38,619 additions and 5,091 deletions.
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@692973e3d937129bcbf40652eb9f2f61becf3332
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
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@39cd14951b08e74b54015e9e001cdefcf80e669f
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b
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@39cd14951b08e74b54015e9e001cdefcf80e669f
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b
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@692973e3d937129bcbf40652eb9f2f61becf3332
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
8 changes: 4 additions & 4 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@692973e3d937129bcbf40652eb9f2f61becf3332
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: paths-filter
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36
id: filter
Expand All @@ -37,9 +37,9 @@ jobs:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Setup Cache
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57
with:
path: ~/spaceman_dmm/${{ env.SPACEMAN_DMM_VERSION }}
key: ${{ runner.os }}-spacemandmm-${{ env.SPACEMAN_DMM_VERSION }}
Expand All @@ -49,7 +49,7 @@ jobs:
run: |
~/dmdoc
- name: Deploy
uses: JamesIves/github-pages-deploy-action@94f3c658273cf92fb48ef99e5fbc02bd2dc642b2
uses: JamesIves/github-pages-deploy-action@dc18a3c6b46d56484cb63f291becd7ed4f0269b9
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
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@692973e3d937129bcbf40652eb9f2f61becf3332
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
fetch-depth: 25
- name: Python setup
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b
with:
python-version: '3.x'
- name: Install depends
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: paths-filter
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36
id: filter
Expand All @@ -32,9 +32,9 @@ jobs:
needs: PreFlight
if: needs.PreFlight.outputs.dm == 'true'
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Setup Cache
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57
with:
path: ~/spaceman_dmm/${{ env.SPACEMAN_DMM_VERSION }}
key: ${{ runner.os }}-spacemandmm-${{ env.SPACEMAN_DMM_VERSION }}
Expand All @@ -60,9 +60,9 @@ jobs:
- DreamChecker
if: needs.PreFlight.outputs.dm == 'true'
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Setup Cache
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57
with:
path: ~/BYOND-${{ env.BYOND_MAJOR }}.${{ env.BYOND_MINOR }}
key: ${{ runner.os }}-byond-${{ env.BYOND_MAJOR }}-${{ env.BYOND_MINOR }}
Expand Down Expand Up @@ -90,16 +90,16 @@ jobs:
- DreamChecker
if: needs.PreFlight.outputs.dm == 'true'
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Setup Cache
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57
with:
path: ~/BYOND-${{ env.BYOND_MAJOR }}.${{ env.BYOND_MINOR }}
key: ${{ runner.os }}-byond-${{ env.BYOND_MAJOR }}-${{ env.BYOND_MINOR }}
- name: Install rust_g dependencies
run: ./scripts/install-rust_g-dependencies.sh
- name: Setup rust_g cache
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57
with:
path: ~/.byond/bin/librust_g.so
key: "rust_g-${{ env.RUST_G_REPO }}-${{ env.RUST_G_VERSION }}"
Expand Down Expand Up @@ -128,16 +128,16 @@ jobs:
- DreamChecker
if: needs.PreFlight.outputs.dm == 'true'
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Setup Cache
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57
with:
path: ~/BYOND-${{ env.BYOND_MAJOR }}.${{ env.BYOND_MINOR }}
key: ${{ runner.os }}-byond-${{ env.BYOND_MAJOR }}-${{ env.BYOND_MINOR }}
- name: Install rust_g dependencies
run: ./scripts/install-rust_g-dependencies.sh
- name: Setup rust_g cache
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57
with:
path: ~/.byond/bin/librust_g.so
key: "rust_g-${{ env.RUST_G_REPO }}-${{ env.RUST_G_VERSION }}"
Expand Down Expand Up @@ -166,16 +166,16 @@ jobs:
- DreamChecker
if: needs.PreFlight.outputs.dm == 'true'
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Setup Cache
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57
with:
path: ~/BYOND-${{ env.BYOND_MAJOR }}.${{ env.BYOND_MINOR }}
key: ${{ runner.os }}-byond-${{ env.BYOND_MAJOR }}-${{ env.BYOND_MINOR }}
- name: Install rust_g dependencies
run: ./scripts/install-rust_g-dependencies.sh
- name: Setup rust_g cache
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57
with:
path: ~/.byond/bin/librust_g.so
key: "rust_g-${{ env.RUST_G_REPO }}-${{ env.RUST_G_VERSION }}"
Expand Down
13 changes: 10 additions & 3 deletions baystation12.dme
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
#include "code\__defines\ZAS.dm"
#include "code\__defines\zmimic.dm"
#include "code\__defines\~mods\expanded_culture_descriptor.dm"
#include "code\__defines\~mods\misc.dm"
#include "code\__defines\~mods\rust_g.dm"
#include "code\__defines\~mods\~master_defines.dm"
#include "code\_global_vars\edible.dm"
Expand Down Expand Up @@ -235,6 +236,7 @@
#include "code\controllers\subsystems\initialization\culture.dm"
#include "code\controllers\subsystems\initialization\customitems.dm"
#include "code\controllers\subsystems\initialization\fabrication.dm"
#include "code\controllers\subsystems\initialization\icon_updates.dm"
#include "code\controllers\subsystems\initialization\materials.dm"
#include "code\controllers\subsystems\initialization\misc.dm"
#include "code\controllers\subsystems\initialization\misc_early.dm"
Expand All @@ -248,7 +250,6 @@
#include "code\controllers\subsystems\processing\disposals.dm"
#include "code\controllers\subsystems\processing\fast_process.dm"
#include "code\controllers\subsystems\processing\graphs.dm"
#include "code\controllers\subsystems\processing\icon_updates.dm"
#include "code\controllers\subsystems\processing\nano.dm"
#include "code\controllers\subsystems\processing\obj.dm"
#include "code\controllers\subsystems\processing\processing.dm"
Expand Down Expand Up @@ -312,6 +313,7 @@
#include "code\datums\extensions\local_network.dm"
#include "code\datums\extensions\penetration.dm"
#include "code\datums\extensions\state_machine.dm"
#include "code\datums\extensions\support_lattice.dm"
#include "code\datums\extensions\appearance\appearance.dm"
#include "code\datums\extensions\appearance\base_icon_state.dm"
#include "code\datums\extensions\appearance\cardborg.dm"
Expand All @@ -325,7 +327,6 @@
#include "code\datums\extensions\multitool\store.dm"
#include "code\datums\extensions\multitool\circuitboards\buildtype_select.dm"
#include "code\datums\extensions\multitool\circuitboards\circuitboards.dm"
#include "code\datums\extensions\multitool\circuitboards\shuttle_console.dm"
#include "code\datums\extensions\multitool\circuitboards\stationalert.dm"
#include "code\datums\extensions\multitool\items\clothing.dm"
#include "code\datums\extensions\multitool\items\items.dm"
Expand Down Expand Up @@ -421,6 +422,7 @@
#include "code\datums\repositories\attack_logs.dm"
#include "code\datums\repositories\cameras.dm"
#include "code\datums\repositories\client.dm"
#include "code\datums\repositories\computer_logs.dm"
#include "code\datums\repositories\follow.dm"
#include "code\datums\repositories\images.dm"
#include "code\datums\repositories\mobs.dm"
Expand Down Expand Up @@ -492,6 +494,7 @@
#include "code\datums\traits\general\nonpermeable_skin.dm"
#include "code\datums\traits\general\permeable_skin.dm"
#include "code\datums\traits\general\serpentid_adapted.dm"
#include "code\datums\traits\maluses\allergy.dm"
#include "code\datums\traits\maluses\animal_protein.dm"
#include "code\datums\traits\maluses\ethanol.dm"
#include "code\datums\traits\maluses\malus.dm"
Expand Down Expand Up @@ -1221,7 +1224,6 @@
#include "code\game\objects\structures\extinguisher.dm"
#include "code\game\objects\structures\fireaxe_cabinet.dm"
#include "code\game\objects\structures\fitness.dm"
#include "code\game\objects\structures\flora.dm"
#include "code\game\objects\structures\fountain.dm"
#include "code\game\objects\structures\girders.dm"
#include "code\game\objects\structures\grille.dm"
Expand Down Expand Up @@ -1284,6 +1286,8 @@
#include "code\game\objects\structures\crates_lockers\closets\secure\scientist.dm"
#include "code\game\objects\structures\crates_lockers\closets\secure\security.dm"
#include "code\game\objects\structures\crates_lockers\closets\secure\service.dm"
#include "code\game\objects\structures\flora\flora.dm"
#include "code\game\objects\structures\flora\tree.dm"
#include "code\game\objects\structures\stool_bed_chair_nest\bed.dm"
#include "code\game\objects\structures\stool_bed_chair_nest\chairs.dm"
#include "code\game\objects\structures\stool_bed_chair_nest\stools.dm"
Expand Down Expand Up @@ -1404,6 +1408,7 @@
#include "code\modules\admin\secrets\fun_secrets\power_all_smes.dm"
#include "code\modules\admin\secrets\fun_secrets\waddle.dm"
#include "code\modules\admin\secrets\investigation\attack_logs.dm"
#include "code\modules\admin\secrets\investigation\computer_logs.dm"
#include "code\modules\admin\secrets\investigation\view_persistant.dm"
#include "code\modules\admin\verbs\adminhelp.dm"
#include "code\modules\admin\verbs\adminjump.dm"
Expand Down Expand Up @@ -2162,6 +2167,7 @@
#include "code\modules\mob\living\bot\mulebot.dm"
#include "code\modules\mob\living\bot\remotebot.dm"
#include "code\modules\mob\living\bot\secbot.dm"
#include "code\modules\mob\living\carbon\allergy.dm"
#include "code\modules\mob\living\carbon\breathe.dm"
#include "code\modules\mob\living\carbon\carbon.dm"
#include "code\modules\mob\living\carbon\carbon_defense.dm"
Expand Down Expand Up @@ -3374,6 +3380,7 @@
#include "mods\_master_files\code\modules\culture_descriptor\religion\religions_vox.dm"
#include "mods\_master_files\code\modules\events\gravity.dm"
#include "mods\_master_files\code\modules\mob\living\life.dm"
#include "mods\_master_files\code\modules\mob\living\carbon\human\human_helpers.dm"
#include "mods\_master_files\code\modules\mob\new_player\new_player.dm"
#include "mods\_master_files\code\modules\overmap\distress.dm"
#include "mods\_master_files\code\modules\overmap\panicbutton.dm"
Expand Down
44 changes: 23 additions & 21 deletions code/__defines/__renderer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -62,29 +62,31 @@
#define TURF_SHADOW_LAYER 2.02
//ABOVE TURF
#define DECAL_LAYER 2.03
#define RUNE_LAYER 2.04
#define ABOVE_TILE_LAYER 2.05
#define EXPOSED_PIPE_LAYER 2.06
#define EXPOSED_WIRE_LAYER 2.07
#define EXPOSED_WIRE_TERMINAL_LAYER 2.08
#define CATWALK_LAYER 2.09
#define ABOVE_CATWALK_LAYER 2.10
#define BLOOD_LAYER 2.11
#define MOUSETRAP_LAYER 2.12
#define PLANT_LAYER 2.13
#define AO_LAYER 2.14
#define ABOVE_AO_LAYER 2.141

#define AO_LAYER 2.04
#define ABOVE_AO_LAYER 2.05
#define RUNE_LAYER 2.06
#define ABOVE_TILE_LAYER 2.07
#define EXPOSED_PIPE_LAYER 2.08
#define EXPOSED_WIRE_LAYER 2.09
#define ABOVE_EXPOSED_WIRE_LAYER 2.10
#define CATWALK_LAYER 2.11
#define ABOVE_CATWALK_LAYER 2.12
#define BLOOD_LAYER 2.13
#define MOUSETRAP_LAYER 2.14
#define PLANT_LAYER 2.15

//HIDING MOB
#define HIDING_MOB_LAYER 2.15
#define SHALLOW_FLUID_LAYER 2.16
#define MOB_SHADOW_LAYER 2.17
#define HIDING_MOB_LAYER 2.16
#define SHALLOW_FLUID_LAYER 2.17
#define MOB_SHADOW_LAYER 2.18
//OBJ
#define BELOW_DOOR_LAYER 2.18
#define OPEN_DOOR_LAYER 2.19
#define BELOW_TABLE_LAYER 2.20
#define TABLE_LAYER 2.21
#define BELOW_OBJ_LAYER 2.22
#define STRUCTURE_LAYER 2.23
#define BELOW_DOOR_LAYER 2.19
#define OPEN_DOOR_LAYER 2.20
#define BELOW_TABLE_LAYER 2.21
#define TABLE_LAYER 2.22
#define BELOW_OBJ_LAYER 2.23
#define STRUCTURE_LAYER 2.24
// OBJ_LAYER 3
#define ABOVE_OBJ_LAYER 3.01
#define CLOSED_DOOR_LAYER 3.02
Expand Down
6 changes: 5 additions & 1 deletion code/__defines/atmospherics.dm
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
#define PIPE_ROTATE_TWODIR 1 // Sanitizes cardinal directions to just two, leaves corner directions alone
#define PIPE_ROTATE_ONEDIR 2 // Only has one dir, south

#define PIPE_PLACEMENT_SIMPLE 1
#define PIPE_PLACEMENT_ORTHOGONAL 2
#define PIPE_PLACEMENT_DIAGONAL 3

//Connection Type Definitions
#define CONNECT_TYPE_REGULAR 1
#define CONNECT_TYPE_SUPPLY 2
Expand All @@ -23,4 +27,4 @@
#define PIPE_CLASS_QUATERNARY 4
#define PIPE_CLASS_OMNI 5

#define ADIABATIC_EXPONENT 0.667 //Actually adiabatic exponent - 1.
#define ADIABATIC_EXPONENT 0.667 //Actually adiabatic exponent - 1.
44 changes: 23 additions & 21 deletions code/__defines/byond_tracy.dm
Original file line number Diff line number Diff line change
@@ -1,31 +1,33 @@
// Implements https://github.com/mafemergency/byond-tracy
// Client https://github.com/wolfpld/tracy
// As of now, only 0.8.2 is supported as a client, this might change in the future however

// In case you need to start the capture as soon as the server boots, uncomment the following lines and recompile:

// /world/New()
// prof_init()
// . = ..()
#ifdef PROFILE_FROM_BOOT
/world/New()
profiler_init()
return ..()
#endif

/client/proc/profiler_start()
set name = "Start Tracy Profiler"

/client/proc/profiler_init_verb()
set name = "Start Profiler"
set category = "Debug"
set desc = "Starts the tracy profiler, which will await the client connection."
switch(alert("Are you sure? Tracy will remain active until the server restarts.", "Tracy Init", "No", "Yes"))
if("Yes")
prof_init()
var/response = alert("Are you sure? The profiler will run until restart.", null, "No", "Yes")
if (response != "Yes")
return
profiler_init()

/**
* Starts Tracy
*/
/proc/prof_init()
/// Starts the profiler.
/proc/profiler_init()
var/lib

switch(world.system_type)
if(MS_WINDOWS) lib = "prof.dll"
if(UNIX) lib = "libprof.so"
else CRASH("Tracy initialization failed: unsupported platform or DLL not found.")

switch (world.system_type)
if (MS_WINDOWS)
lib = "tracy.dll"
if (UNIX)
lib = "tracy.so"
else
CRASH("Tracy initialization failed: unsupported platform or DLL not found.")
var/init = CALL_EXT(lib, "init")()
if("0" != init) CRASH("[lib] init error: [init]")
if(init != "0")
CRASH("[lib] init error: [init]")
Loading

0 comments on commit 451ee96

Please sign in to comment.