-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' of https://github.com/HearthOfHestia/Nebula into p…
…ort/plants
- Loading branch information
Showing
610 changed files
with
16,334 additions
and
9,033 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Generate Documentation | ||
|
||
on: | ||
push: | ||
branches: | ||
- dev | ||
workflow_dispatch: | ||
|
||
env: | ||
SPACEMAN_DMM_VERSION: suite-1.7.2 | ||
|
||
jobs: | ||
generate_documentation: | ||
if: "!contains(github.event.head_commit.message, '[ci skip]')" | ||
runs-on: ubuntu-latest | ||
concurrency: gen-docs | ||
steps: | ||
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f | ||
- name: Setup Cache | ||
uses: actions/cache@26968a09c0ea4f3e233fdddbafd1166051a095f6 | ||
with: | ||
path: $HOME/spaceman_dmm/$SPACEMAN_DMM_VERSION | ||
key: ${{ runner.os }}-spacemandmm-${{ env.SPACEMAN_DMM_VERSION }} | ||
- name: Install dmdoc | ||
run: scripts/install-spaceman-dmm.sh dmdoc | ||
- name: Generate documentation | ||
run: | | ||
~/dmdoc | ||
touch dmdoc/.nojekyll | ||
- name: Deploy | ||
uses: JamesIves/github-pages-deploy-action@da91e735be5cabb471a4b8afe367d10606da4683 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
branch: gh-pages-dmdoc | ||
folder: dmdoc | ||
force: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"recommendations": [ | ||
"ss13.byond" | ||
"ss13.byond", | ||
"anturk.dmi-editor" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,39 @@ | ||
#define ATOM_IS_TEMPERATURE_SENSITIVE(A) (A && !QDELETED(A) && !(A.atom_flags & ATOM_FLAG_NO_TEMP_CHANGE)) | ||
#define ATOM_IS_TEMPERATURE_SENSITIVE(A) (A && !(A.atom_flags & ATOM_FLAG_NO_TEMP_CHANGE)) | ||
#define ATOM_SHOULD_TEMPERATURE_ENQUEUE(A) (ATOM_IS_TEMPERATURE_SENSITIVE(A) && !QDELETED(A)) | ||
#define ATOM_TEMPERATURE_EQUILIBRIUM_THRESHOLD 5 | ||
#define ATOM_TEMPERATURE_EQUILIBRIUM_CONSTANT 0.25 | ||
|
||
#define ADJUST_ATOM_TEMPERATURE(_atom, _temp) \ | ||
if(!QDELETED(_atom)) { \ | ||
_atom.temperature = _temp; \ | ||
if(!QDELETED(_atom.reagents)) { \ | ||
HANDLE_REACTIONS(_atom.reagents); \ | ||
_atom.temperature = _temp; \ | ||
HANDLE_REACTIONS(_atom.reagents); \ | ||
QUEUE_TEMPERATURE_ATOMS(_atom); | ||
|
||
#define QUEUE_TEMPERATURE_ATOMS(_atoms) \ | ||
if(islist(_atoms)) { \ | ||
for(var/thing in _atoms) { \ | ||
var/atom/A = thing; \ | ||
QUEUE_TEMPERATURE_ATOM(A); \ | ||
} \ | ||
QUEUE_TEMPERATURE_ATOMS(_atom);\ | ||
} else { \ | ||
QUEUE_TEMPERATURE_ATOM(_atoms); \ | ||
} | ||
|
||
#define QUEUE_TEMPERATURE_ATOMS(_atoms) \ | ||
#define QUEUE_TEMPERATURE_ATOM(_atom) \ | ||
if(ATOM_SHOULD_TEMPERATURE_ENQUEUE(_atom)) { \ | ||
SStemperature.processing[_atom] = TRUE; \ | ||
} | ||
|
||
#define UNQUEUE_TEMPERATURE_ATOMS(_atoms) \ | ||
if(islist(_atoms)) { \ | ||
for(var/thing in _atoms) { \ | ||
var/atom/A = thing; \ | ||
if(ATOM_IS_TEMPERATURE_SENSITIVE(A)) { \ | ||
SStemperature.processing[A] = TRUE; \ | ||
} \ | ||
UNQUEUE_TEMPERATURE_ATOM(A); \ | ||
} \ | ||
} else if(ATOM_IS_TEMPERATURE_SENSITIVE(_atoms)) { \ | ||
SStemperature.processing[_atoms] = TRUE; \ | ||
} else { \ | ||
UNQUEUE_TEMPERATURE_ATOM(_atoms); \ | ||
} | ||
|
||
#define UNQUEUE_TEMPERATURE_ATOM(_atom) \ | ||
if(ATOM_IS_TEMPERATURE_SENSITIVE(_atom)) { \ | ||
SStemperature.processing -= _atom; \ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
#define UT_NORMAL 1 // Standard one atmosphere 20celsius | ||
#define UT_VACUUM 2 // Vacume on simulated turfs | ||
#define UT_NORMAL_COLD 3 // Cold but standard atmosphere. | ||
|
||
#define FAILURE 0 | ||
#define SUCCESS 1 | ||
#define SKIP 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.