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

March 2024 upstream merge #1207

Merged
merged 1,088 commits into from
Apr 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1088 commits
Select commit Hold shift + click to select a range
a9df8cf
Fix lathe materials list bug (#26826)
Crotalus Apr 8, 2024
7188b50
fix bodybag id case (#26823)
lzk228 Apr 8, 2024
4a7aa30
Make bombsuits similar (#26806)
lzk228 Apr 8, 2024
2bbae3e
Automatic changelog update
PJBot Apr 8, 2024
6ce5370
Make clothing cheaper and split clothing restock (#26805)
lzk228 Apr 8, 2024
7f56ba0
Automatic changelog update
PJBot Apr 8, 2024
3d6d782
Fix tray scanner not updating it's range. (#26789)
c4llv07e Apr 8, 2024
2f5c639
predict humanoid identity examine (#26769)
deltanedas Apr 8, 2024
263469d
Spears equippable to suit storage (#26724)
Hanzdegloker Apr 8, 2024
1486617
Automatic changelog update
PJBot Apr 8, 2024
2cc4098
Ion Storm Laws Review (#26703)
FairlySadPanda Apr 8, 2024
e64288a
add ratvar to ion storm laws (#26833)
Dutch-VanDerLinde Apr 8, 2024
a0de0ab
Server-only component YAML cleanup (#26836)
Tayrtahn Apr 9, 2024
a1fcfed
Gauze Markings 3 - Revenge of the Wrap (#25481)
KittenColony Apr 9, 2024
694ae00
Automatic changelog update
PJBot Apr 9, 2024
6d695dd
dirty after calling SetAccesses (#26849)
deltanedas Apr 9, 2024
d879665
Add new "grant_connect_bypass" admin command (#26771)
PJB3005 Apr 9, 2024
862f820
Automatic changelog update
PJBot Apr 9, 2024
7400c59
Merge branch 'master' of https://github.com/space-wizards/space-stati…
GreaseMonk Apr 9, 2024
ea5d7f4
Fix syntax error
GreaseMonk Apr 9, 2024
1151db6
Fix import
GreaseMonk Apr 9, 2024
354fb68
Fix RCDSystem errors
GreaseMonk Apr 9, 2024
21b27d6
Fix DoAfterArgs error
GreaseMonk Apr 9, 2024
124e4b2
Fix a missing bracket
GreaseMonk Apr 9, 2024
74c8fc4
More fixes
GreaseMonk Apr 9, 2024
28cbb66
More fixes
GreaseMonk Apr 9, 2024
cd8ce5d
More fixing
GreaseMonk Apr 9, 2024
0e5f424
More error fixing
GreaseMonk Apr 9, 2024
69dc9d3
Fix rest of things
GreaseMonk Apr 9, 2024
993e04b
Rename advertisementsPack
GreaseMonk Apr 9, 2024
946278f
Fixing things
GreaseMonk Apr 9, 2024
c50cc8e
Try fix newline
GreaseMonk Apr 9, 2024
ccc2013
Fix errors
GreaseMonk Apr 9, 2024
668f9e4
Fix verb names
GreaseMonk Apr 9, 2024
7956551
Remove salvage loot
GreaseMonk Apr 9, 2024
055d627
yml fixes
GreaseMonk Apr 9, 2024
682afd4
Improve access overlay (#26667)
wrexbe Apr 9, 2024
fd06773
Skipping bounties (#26537)
Killerqu00 Apr 9, 2024
3ae4b58
Automatic changelog update
PJBot Apr 9, 2024
ab0f061
Remove rot from beacon and cove
GreaseMonk Apr 9, 2024
aa2e1fa
Flippolighter_fix (#26846)
SkaldetSkaeg Apr 9, 2024
28e5db7
Automatic changelog update
PJBot Apr 9, 2024
5372ec1
Replace missing prototypes
GreaseMonk Apr 9, 2024
615340a
Fix changelog
GreaseMonk Apr 9, 2024
ffc8501
Fix hyperlink books temporarily
GreaseMonk Apr 9, 2024
2978539
Game server api (#24015)
Simyon264 Apr 10, 2024
3aee197
Revert "Game server api" (#26871)
PJB3005 Apr 10, 2024
935127f
Give botanists droppers (#26839)
notquitehadouken Apr 10, 2024
7d599a7
Automatic changelog update
PJBot Apr 10, 2024
58e4b5f
Clipping a harvestable plant yields undamaged seeds (#25541)
botanySupremist Apr 10, 2024
5791197
Automatic changelog update
PJBot Apr 10, 2024
1cdf05a
fix lots of door access (#26858)
deltanedas Apr 10, 2024
f1cbf93
Automatic changelog update
PJBot Apr 10, 2024
4017f9b
Add emergency nitrogen lockers (#26752)
Flareguy Apr 10, 2024
8c16b46
Automatic changelog update
PJBot Apr 10, 2024
9eb1e12
Update ashtray to allow all cigarettes / cigars (#26864)
Ghagliiarghii Apr 11, 2024
2bcdb60
Fix door electronics configurator usage (#26888)
Jark255 Apr 11, 2024
210ed3e
Fix TEG assert (#26881)
PJB3005 Apr 11, 2024
00dc997
Automatic changelog update
PJBot Apr 11, 2024
fc5a90b
Bug fix for deconstructing tiles and lattice with RCDs (#26863)
chromiumboy Apr 11, 2024
036abac
Immovable Rod changes (#26757)
keronshb Apr 11, 2024
75d3502
fix evil roleplay changelog (#26893)
Dutch-VanDerLinde Apr 11, 2024
9d62b3c
Cryogenic storage tweaks (#26813)
lunarcomets Apr 11, 2024
6fa90e0
Automatic changelog update
PJBot Apr 11, 2024
8e9d274
Fix potted plant popup/sfx spam (#26901)
Tayrtahn Apr 12, 2024
264bf71
Allow advertisement timers to prewarm (#26900)
Tayrtahn Apr 12, 2024
b895e55
Fix shaker sprites (#26899)
Vermidia Apr 12, 2024
4627c7c
Automatic changelog update
PJBot Apr 12, 2024
882aeb0
Update .editorconfig to correspond Code Conventions (#26824)
TokenStyle Apr 12, 2024
e12223c
Remove reagent slimes from ghost role pool (#26840)
liltenhead Apr 12, 2024
8f17bf1
Automatic changelog update
PJBot Apr 12, 2024
261e535
Fix grammar in changelog (#26894)
Brandon-Huu Apr 12, 2024
e88b246
NoticeBoard is craftable now (#26847)
TokenStyle Apr 12, 2024
85aef16
Automatic changelog update
PJBot Apr 12, 2024
7d480ac
Add drink container suffixes (#26835)
IamVelcroboy Apr 12, 2024
9d5a399
uplink and store freshening (#26444)
EmoGarbage404 Apr 12, 2024
3a00e8c
Sterile swab dispenser instead of box (#24986)
deltanedas Apr 12, 2024
2a5d23f
Automatic changelog update
PJBot Apr 12, 2024
279e01c
Strobes added (#26083)
Ko4ergaPunk Apr 12, 2024
c8f75d9
Automatic changelog update
PJBot Apr 12, 2024
347e52c
Fix changelog up to Apr 9, 2024
dvir001 Apr 12, 2024
f65e722
Fixed broken space in upstream.yml file
dvir001 Apr 12, 2024
2353e1a
Remove Hyper Links books from all frontier maps
dvir001 Apr 12, 2024
0a3ee32
Some more hyperlink bullshit removed
dvir001 Apr 12, 2024
8e2a0fe
Harpy Honk Fix
dvir001 Apr 12, 2024
e1eb162
Dungeons Fix
dvir001 Apr 12, 2024
438073a
Fix grifty bookshelf
dvir001 Apr 12, 2024
56c5252
More Fixing
dvir001 Apr 12, 2024
275328a
Clean up for CRLF Check
dvir001 Apr 12, 2024
4d3ee04
Crates lock fix
dvir001 Apr 12, 2024
d6ee413
Update bloodcultistmob.yml
dvir001 Apr 12, 2024
f47b6ac
Update mail.yml
dvir001 Apr 12, 2024
cdb20b3
Plastitanium Windows
dvir001 Apr 12, 2024
4f4b638
Plastitanium fix
dvir001 Apr 12, 2024
c043e7b
Rubbers
dvir001 Apr 12, 2024
1af404c
Rubbers
dvir001 Apr 12, 2024
c20eb26
Update lathe.yml
dvir001 Apr 12, 2024
721818d
Update lathe.yml
dvir001 Apr 12, 2024
bec57fc
Update mail.yml
dvir001 Apr 12, 2024
4696f21
Uplinks
dvir001 Apr 12, 2024
ac4db57
Fixing
dvir001 Apr 12, 2024
b40fb0e
Update nfsddrobe.yml
dvir001 Apr 12, 2024
7a5bd9b
Cargo FTL
dvir001 Apr 12, 2024
3254f13
Jani Cart only ones
dvir001 Apr 12, 2024
39d8c31
fix bows
dvir001 Apr 12, 2024
3b4fdba
fix lots of door access (#26858)
deltanedas Apr 10, 2024
f5c2095
Fix Shipyard RCD
GreaseMonk Apr 12, 2024
a449292
fix lots of door access (#26858)
deltanedas Apr 10, 2024
1d469c6
Create stc.yml
dvir001 Apr 12, 2024
ec96e98
Merge branch 'march-2024-upstream-merge' of https://github.com/new-fr…
dvir001 Apr 12, 2024
f23123d
Fix FTL docking
GreaseMonk Apr 12, 2024
998bf45
Health analyzer UI unit correction (#26903)
TsjipTsjip Apr 12, 2024
02c6e69
Doors
dvir001 Apr 12, 2024
98587be
Merge branch 'march-2024-upstream-merge' of https://github.com/new-fr…
dvir001 Apr 12, 2024
909b59e
Missing PDA and Mail Headset Issues
dvir001 Apr 12, 2024
24b6456
Fix the stripping menu being openable without StrippingComponent (#26…
DrSmugleaf Apr 12, 2024
0a1ce9d
Fixed magboot activation distance (#26912)
osjarw Apr 13, 2024
2360376
Automatic changelog update
PJBot Apr 13, 2024
a49a576
Uncooked animal proteins is safe for animal stomachs only (#26906)
VasilisThePikachu Apr 13, 2024
5d00305
Automatic changelog update
PJBot Apr 13, 2024
b51482f
Fix incorrect "Cycled" and "Bolted" popups when (un)wielding a gun (#…
DrSmugleaf Apr 13, 2024
2d53cfe
Fix guns that spawn without a magazine looking like they have one (#2…
DrSmugleaf Apr 13, 2024
d4b7bc5
Fixes polymorph cooldowns (#26914)
keronshb Apr 13, 2024
b086779
Automatic changelog update
PJBot Apr 13, 2024
eeb460f
Removed Salv Borg Crusher Dagger (#26865)
FungiFellow Apr 13, 2024
037a7d7
Fix pulling a new entity when already pulling an entity (#26499)
ShadowCommander Apr 13, 2024
4833074
Replace SetDamage call with TryChangeDamage in ImmovableRodSystem.cs …
TsjipTsjip Apr 13, 2024
154b860
Automatic changelog update
PJBot Apr 13, 2024
b130204
Fix antag ships
dvir001 Apr 13, 2024
a07b1ad
Update canister.yml
dvir001 Apr 13, 2024
34db1bb
Added the missing plant box to cargo
dvir001 Apr 13, 2024
1bf97c9
Fix for the salvage ice labs map. (#26928)
Boaz1111 Apr 13, 2024
ed065e8
Automatic changelog update
PJBot Apr 13, 2024
1f4a01a
Update Credits (#26938)
github-actions[bot] Apr 14, 2024
9b97a2e
Fix cryostorage identifying unknown characters as captain (#26927)
Tayrtahn Apr 14, 2024
d44db87
Automatic changelog update
PJBot Apr 14, 2024
8272d7a
Fixed Honkbot/jonkbot honking like crazy, gave honkbot/jonkbot standa…
superjj18 Apr 14, 2024
ba9091f
Automatic changelog update
PJBot Apr 14, 2024
33e5e4e
Bug fix: Force cancellation of RCD constructions if the construction …
chromiumboy Apr 14, 2024
dc19964
Fix standart -> standard and dressfilled test fail (#26942)
metalgearsloth Apr 14, 2024
da618d7
Add Ability to stop sound when MobState is Dead (#26905)
GreaseMonk Apr 14, 2024
bbff00c
Automatic changelog update
PJBot Apr 14, 2024
13cef85
Fix rockets and lasers looking like they have nothing loaded (#26933)
DrSmugleaf Apr 14, 2024
cb4561f
Automatic changelog update
PJBot Apr 14, 2024
96ad900
You can now see paper on crates (with color!) (#26834)
Vermidia Apr 14, 2024
c679484
Make UtensilSystem and SharpSystem not run AfterInteract if it has al…
DrSmugleaf Apr 14, 2024
f1d1e6c
Automatic changelog update
PJBot Apr 14, 2024
9107d42
Add two-message overload to PopupPredicted (#26907)
Tayrtahn Apr 14, 2024
54b3d7f
Update submodule to 218.0.0 (#26945)
metalgearsloth Apr 14, 2024
d2d62b9
Autism pins! (#25597)
Terraspark4941 Apr 14, 2024
dbf8a03
Automatic changelog update
PJBot Apr 14, 2024
d3ac3d0
Fix database round start date issues (#26838)
PJB3005 Apr 14, 2024
4cb344c
Fix options menu crashing in replays (#26911)
metalgearsloth Apr 14, 2024
2b8e26f
Greyscale color clothing (#26943)
Flareguy Apr 14, 2024
7787a82
Automatic changelog update
PJBot Apr 14, 2024
7b0dd31
WT550 Buffs + Burst Mode for WT550 & C-20R (#26886)
BramvanZijp Apr 14, 2024
e0ff7f7
Automatic changelog update
PJBot Apr 14, 2024
c6ef37c
make holoparasites actually holographic (#26862)
Dutch-VanDerLinde Apr 14, 2024
734b6f3
Automatic changelog update
PJBot Apr 14, 2024
7a86b1d
Add character sheets to board game crate (#26926)
Tyzemol Apr 14, 2024
9752746
Automatic changelog update
PJBot Apr 14, 2024
9d0dfcf
Game server admin API (#26880)
PJB3005 Apr 14, 2024
a7fad5d
Wield recoil components (#26915)
Froffy025 Apr 14, 2024
0462fd9
EOL conversion
GreaseMonk Apr 14, 2024
ef42fb3
Clown shoes make you waddle, as God intended (#26338)
FairlySadPanda Apr 14, 2024
055c5ab
Automatic changelog update
PJBot Apr 14, 2024
fbec5d1
Use round time instead of server time for criminal history (#26949)
ilyamikcoder Apr 14, 2024
44b20f6
Rotate and Offset station CCVar nuke (#26175)
TheShuEd Apr 14, 2024
0a29508
Fixed cybersun pen attacking noise (#26951)
beck-thompson Apr 14, 2024
5270e6f
Automatic changelog update
PJBot Apr 14, 2024
cf8f68c
Fix rubber hammer being unshaded (#26956)
lzk228 Apr 14, 2024
7a60679
Make lockers can be deconstructed only when unlocked now (#26961)
TokenStyle Apr 14, 2024
563f304
Automatic changelog update
PJBot Apr 14, 2024
516f5f3
nerf incendiary grenade (#26959)
deltanedas Apr 15, 2024
41d2f06
meatWall incorrect node fixed (#26966)
HolySSSS Apr 15, 2024
7810cbe
Fix StepTrigger blacklist not working (#26968)
pissdemon Apr 15, 2024
637fc2d
Automatic changelog update
PJBot Apr 15, 2024
3d0fc10
SS14-26950 Fix Waddling During Improper States (#26965)
FairlySadPanda Apr 15, 2024
4a6cf48
Mobs burn to ashes on excessive heat damage (#26971)
QuietlyWhisper Apr 15, 2024
34fbd28
Fix dragon slowdown on damage (#26975)
MilenVolf Apr 15, 2024
cd46282
Fix some airlocks with multiple access types (#26980)
IamVelcroboy Apr 15, 2024
faba129
Automatic changelog update
PJBot Apr 15, 2024
229caa1
Fix some TryGetMind overrides relying on player data (#26992)
ElectroJr Apr 16, 2024
faec39c
Give names to solution & identity entities (#26993)
ElectroJr Apr 16, 2024
b23ef00
Add QM maintenance airlock (#26982)
IamVelcroboy Apr 16, 2024
fff3fe2
Update submodule to 218.1.0 (#26997)
metalgearsloth Apr 16, 2024
d8b545b
Fix some airlocks with multiple access types (#26980)
IamVelcroboy Apr 15, 2024
1b618f5
Shuttle Console option to hide player shuttle labels #683
GreaseMonk Apr 17, 2024
4bf2e19
IFF signatures no longer pile up in the corners. #460
GreaseMonk Apr 17, 2024
db0ea66
Implemented IFF search #826
GreaseMonk Apr 17, 2024
98660fb
Disable coordinate disks for expeditions
GreaseMonk Apr 17, 2024
45a43bc
Show or hide decimals for distance
GreaseMonk Apr 17, 2024
5829cd7
Merge branch 'refs/heads/master' into march-2024-upstream-merge
Cheackraze Apr 17, 2024
6a1e1e2
Shuttle Console Radar improvements #1040
GreaseMonk Apr 17, 2024
abbc8f6
Merge branch 'march-2024-upstream-merge' of github.com:new-frontiers-…
GreaseMonk Apr 17, 2024
87f1552
Add IFF component to frontier station
GreaseMonk Apr 17, 2024
e7765e1
Force bang
GreaseMonk Apr 17, 2024
16d795a
Merge commit 'fff3fe2a2461dfc61333b1875f8c5b7a9537c9e0' into march-20…
GreaseMonk Apr 17, 2024
a08197c
Update Upstream.yml
GreaseMonk Apr 17, 2024
0629a00
Merge branch 'master' of https://github.com/dvir001/frontier-station-…
dvir001 Apr 20, 2024
ba174aa
Upstream
dvir001 Apr 20, 2024
43c0447
Update BatteryComponent.cs
dvir001 Apr 20, 2024
f8fe39e
Fix
Tayrtahn Mar 28, 2024
1c63034
Update nfsddrobe.yml
dvir001 Apr 20, 2024
2b8d669
YAML
dvir001 Apr 20, 2024
5916aa7
Stamp
dvir001 Apr 20, 2024
597f261
Update rubber_stamp.yml
dvir001 Apr 20, 2024
4d0453e
Stamp
dvir001 Apr 20, 2024
69b8ebf
Stamps, again
dvir001 Apr 20, 2024
bd3635a
Update duffelbag.yml
dvir001 Apr 20, 2024
e58ff12
Update satchel.yml
dvir001 Apr 20, 2024
4a1009b
Update rubber_stamp.yml
dvir001 Apr 20, 2024
619e94a
Syndicate Ships
dvir001 Apr 20, 2024
61ed74b
Update frontier.yml
dvir001 Apr 20, 2024
2c36468
Explosion block fix visual issue
dvir001 Apr 20, 2024
54f7710
Thrusters Temp remove on EMP disable
dvir001 Apr 20, 2024
3f9ea6e
Update ThrusterSystem.cs
dvir001 Apr 20, 2024
71ea871
disable local FTL
Cheackraze Apr 21, 2024
38e3455
Evil Ships
dvir001 Apr 21, 2024
f341eb4
Update infiltrator.yml
dvir001 Apr 21, 2024
1108623
Fix
dvir001 Apr 21, 2024
9dd8108
salvage expidition ftl fixes
Cheackraze Apr 21, 2024
0a456c1
Merge remote-tracking branch 'origin/march-2024-upstream-merge' into …
Cheackraze Apr 21, 2024
5ee7eea
Update frontier.yml
dvir001 Apr 21, 2024
25b1a97
Scrapyard Cleanup
dvir001 Apr 21, 2024
75d2090
Merge branch 'march-2024-upstream-merge' of https://github.com/new-fr…
dvir001 Apr 21, 2024
fd20c73
bluespace event FTL fixes
Cheackraze Apr 21, 2024
ffa93ce
Expo ship cleanup
dvir001 Apr 21, 2024
31574d5
Merge branch 'march-2024-upstream-merge' of https://github.com/new-fr…
dvir001 Apr 21, 2024
1242af7
Security Shipyard Cleanup
dvir001 Apr 22, 2024
6adc52e
Update
dvir001 Apr 22, 2024
3ec1e9c
Fix
dvir001 Apr 22, 2024
b25965a
Merge branch 'master' into march-2024-upstream-merge
dvir001 Apr 22, 2024
a69a99b
Fix
dvir001 Apr 22, 2024
4a941d0
Fix Part 2
dvir001 Apr 22, 2024
132b2bc
More fixing
dvir001 Apr 22, 2024
834440c
Update config.py
dvir001 Apr 22, 2024
88d08c6
Gyro price holy hell
dvir001 Apr 22, 2024
71ddfaa
Update access.yml
dvir001 Apr 22, 2024
ef977e4
Small Gyro price fix
dvir001 Apr 22, 2024
227055a
Attempts to power fix
dvir001 Apr 22, 2024
389e384
Revert "Attempts to power fix"
dvir001 Apr 22, 2024
8552726
Thrusters
dvir001 Apr 22, 2024
94643fc
Update lpbravo.yml
dvir001 Apr 22, 2024
dd50319
Removed all walls reflect to balance all ships out not having weird r…
dvir001 Apr 22, 2024
5121ede
Update cove.yml
dvir001 Apr 22, 2024
01d2ef4
Fix Sprites Location
dvir001 Apr 22, 2024
2cc5584
Disabled 3 new lobby art from upstream that don't fit the frontier th…
dvir001 Apr 22, 2024
6ccd277
M_EMP Radio fix
dvir001 Apr 22, 2024
0e4c98d
IFF Fix
dvir001 Apr 23, 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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
3 changes: 2 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ indent_style = space
tab_width = 4

# New line preferences
#end_of_line = crlf
end_of_line = crlf:suggestion
insert_final_newline = true
trim_trailing_whitespace = true

Expand Down Expand Up @@ -104,6 +104,7 @@ csharp_preferred_modifier_order = public, private, protected, internal, new, abs

# 'using' directive preferences
csharp_using_directive_placement = outside_namespace:silent
csharp_style_namespace_declarations = file_scoped:suggestion

#### C# Formatting Rules ####

Expand Down
2 changes: 1 addition & 1 deletion .github/mapchecker/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"Kammerer", # Opportunity
"HighSecDoor",
],
"BlackMarket": [
"Syndicate": [
"Plastitanium", # And also on blackmarket ships cause syndicate.
]
}
110 changes: 55 additions & 55 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,55 +1,55 @@
name: PR Changelogs
concurrency: commit_action
on:
pull_request_target:
types: [closed]
env:
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
CHANGELOG_DIR: Resources/Changelog/Changelog.yml
PR_NUMBER: ${{ github.event.number }}
jobs:
changelog:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
permissions:
contents: write
steps:
- name: Checkout Master
uses: actions/checkout@v3
with:
token: ${{ secrets.BOT_TOKEN }}
ref: master
- name: Setup Git
run: |
git config --global user.name "${{ vars.CHANGELOG_USER }}"
git config --global user.email "${{ vars.CHANGELOG_EMAIL }}"
shell: bash
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install Dependencies
run: |
cd "Tools/changelog"
npm install
shell: bash
- name: Generate Changelog
run: |
cd "Tools/changelog"
node changelog.js
shell: bash
- name: Commit Changelog
run: |
git pull origin master
git add *.yml
git commit -m "${{ vars.CHANGELOG_MESSAGE }} (#${{ env.PR_NUMBER }})"
git push
shell: bash
continue-on-error: true
name: PR Changelogs
concurrency: commit_action
on:
pull_request_target:
types: [closed]

env:
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
CHANGELOG_DIR: Resources/Changelog/Changelog.yml
PR_NUMBER: ${{ github.event.number }}

jobs:
changelog:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
permissions:
contents: write
steps:
- name: Checkout Master
uses: actions/checkout@v3
with:
token: ${{ secrets.BOT_TOKEN }}
ref: master

- name: Setup Git
run: |
git config --global user.name "${{ vars.CHANGELOG_USER }}"
git config --global user.email "${{ vars.CHANGELOG_EMAIL }}"
shell: bash

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x

- name: Install Dependencies
run: |
cd "Tools/changelog"
npm install
shell: bash

- name: Generate Changelog
run: |
cd "Tools/changelog"
node changelog.js
shell: bash

- name: Commit Changelog
run: |
git pull origin master
git add *.yml
git commit -m "${{ vars.CHANGELOG_MESSAGE }} (#${{ env.PR_NUMBER }})"
git push
shell: bash
continue-on-error: true
15 changes: 15 additions & 0 deletions .github/workflows/check-crlf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: CRLF Check

on:
pull_request:
types: [ opened, reopened, synchronize, ready_for_review ]

jobs:
build:
name: CRLF Check
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Check for CRLF
run: Tools/check_crlf.py
2 changes: 1 addition & 1 deletion .github/workflows/close-master-pr.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Close PR's on master
name: Close PRs on master

on:
pull_request_target:
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/labeler-untriaged.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: "Labels: Untriaged"

on:
issues:
types: [opened]

jobs:
add_label:
runs-on: ubuntu-latest
steps:
- uses: actions-ecosystem/action-add-labels@v1
with:
labels: "Status: Untriaged"
91 changes: 52 additions & 39 deletions Content.Client/Access/AccessOverlay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,73 +9,86 @@ namespace Content.Client.Access;

public sealed class AccessOverlay : Overlay
{
private const string TextFontPath = "/Fonts/NotoSans/NotoSans-Regular.ttf";
private const int TextFontSize = 12;

private readonly IEntityManager _entityManager;
private readonly EntityLookupSystem _lookup;
private readonly SharedTransformSystem _xform;
private readonly SharedTransformSystem _transformSystem;
private readonly Font _font;

public override OverlaySpace Space => OverlaySpace.ScreenSpace;

public AccessOverlay(IEntityManager entManager, IResourceCache cache, EntityLookupSystem lookup, SharedTransformSystem xform)
public AccessOverlay(IEntityManager entityManager, IResourceCache resourceCache, SharedTransformSystem transformSystem)
{
_entityManager = entManager;
_lookup = lookup;
_xform = xform;

_font = cache.GetFont("/Fonts/NotoSans/NotoSans-Regular.ttf", 12);
_entityManager = entityManager;
_transformSystem = transformSystem;
_font = resourceCache.GetFont(TextFontPath, TextFontSize);
}

protected override void Draw(in OverlayDrawArgs args)
{
if (args.ViewportControl == null)
return;

var readerQuery = _entityManager.GetEntityQuery<AccessReaderComponent>();
var xformQuery = _entityManager.GetEntityQuery<TransformComponent>();

foreach (var ent in _lookup.GetEntitiesIntersecting(args.MapId, args.WorldAABB,
LookupFlags.Static | LookupFlags.Approximate))
var textBuffer = new StringBuilder();
var query = _entityManager.EntityQueryEnumerator<AccessReaderComponent, TransformComponent>();
while (query.MoveNext(out var uid, out var accessReader, out var transform))
{
if (!readerQuery.TryGetComponent(ent, out var reader) ||
!xformQuery.TryGetComponent(ent, out var xform))
textBuffer.Clear();

var entityName = _entityManager.ToPrettyString(uid);
textBuffer.AppendLine(entityName.Prototype);
textBuffer.Append("UID: ");
textBuffer.Append(entityName.Uid.Id);
textBuffer.Append(", NUID: ");
textBuffer.Append(entityName.Nuid.Id);
textBuffer.AppendLine();

if (!accessReader.Enabled)
{
textBuffer.AppendLine("-Disabled");
continue;
}

var text = new StringBuilder();
var index = 0;
var a = $"{_entityManager.ToPrettyString(ent)}";
text.Append(a);

foreach (var list in reader.AccessLists)
if (accessReader.AccessLists.Count > 0)
{
a = $"Tag {index}";
text.AppendLine(a);

foreach (var entry in list)
var groupNumber = 0;
foreach (var accessList in accessReader.AccessLists)
{
a = $"- {entry}";
text.AppendLine(a);
groupNumber++;
foreach (var entry in accessList)
{
textBuffer.Append("+Set ");
textBuffer.Append(groupNumber);
textBuffer.Append(": ");
textBuffer.Append(entry.Id);
textBuffer.AppendLine();
}
}

index++;
}

string textStr;

if (text.Length >= 2)
else
{
textStr = text.ToString();
textStr = textStr[..^2];
textBuffer.AppendLine("+Unrestricted");
}
else

foreach (var key in accessReader.AccessKeys)
{
textStr = "";
textBuffer.Append("+Key ");
textBuffer.Append(key.OriginStation);
textBuffer.Append(": ");
textBuffer.Append(key.Id);
textBuffer.AppendLine();
}

var screenPos = args.ViewportControl.WorldToScreen(_xform.GetWorldPosition(xform));
foreach (var tag in accessReader.DenyTags)
{
textBuffer.Append("-Tag ");
textBuffer.AppendLine(tag.Id);
}

args.ScreenHandle.DrawString(_font, screenPos, textStr, Color.Gold);
var accessInfoText = textBuffer.ToString();
var screenPos = args.ViewportControl.WorldToScreen(_transformSystem.GetWorldPosition(transform));
args.ScreenHandle.DrawString(_font, screenPos, accessInfoText, Color.Gold);
}
}
}
15 changes: 11 additions & 4 deletions Content.Client/Access/Commands/ShowAccessReadersCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,16 @@ namespace Content.Client.Access.Commands;
public sealed class ShowAccessReadersCommand : IConsoleCommand
{
public string Command => "showaccessreaders";
public string Description => "Shows all access readers in the viewport";
public string Help => $"{Command}";

public string Description => "Toggles showing access reader permissions on the map";
public string Help => """
Overlay Info:
-Disabled | The access reader is disabled
+Unrestricted | The access reader has no restrictions
+Set [Index]: [Tag Name]| A tag in an access set (accessor needs all tags in the set to be allowed by the set)
+Key [StationUid]: [StationRecordKeyId] | A StationRecordKey that is allowed
-Tag [Tag Name] | A tag that is not allowed (takes priority over other allows)
""";
public void Execute(IConsoleShell shell, string argStr, string[] args)
{
var collection = IoCManager.Instance;
Expand All @@ -26,10 +34,9 @@ public void Execute(IConsoleShell shell, string argStr, string[] args)

var entManager = collection.Resolve<IEntityManager>();
var cache = collection.Resolve<IResourceCache>();
var lookup = entManager.System<EntityLookupSystem>();
var xform = entManager.System<SharedTransformSystem>();

overlay.AddOverlay(new AccessOverlay(entManager, cache, lookup, xform));
overlay.AddOverlay(new AccessOverlay(entManager, cache, xform));
shell.WriteLine($"Set access reader debug overlay to true");
}
}
4 changes: 4 additions & 0 deletions Content.Client/Access/UI/AccessLevelControl.xaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<GridContainer xmlns="https://spacestation14.io"
Columns="5"
HorizontalAlignment="Center">
</GridContainer>
52 changes: 52 additions & 0 deletions Content.Client/Access/UI/AccessLevelControl.xaml.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
using System.Linq;
using Robust.Client.AutoGenerated;
using Robust.Client.UserInterface;
using Robust.Client.UserInterface.Controls;
using Robust.Client.UserInterface.XAML;
using Robust.Shared.Prototypes;
using Content.Shared.Access;
using Content.Shared.Access.Systems;

namespace Content.Client.Access.UI;

[GenerateTypedNameReferences]
public sealed partial class AccessLevelControl : GridContainer
{
public readonly Dictionary<ProtoId<AccessLevelPrototype>, Button> ButtonsList = new();

public AccessLevelControl()
{
RobustXamlLoader.Load(this);
}

public void Populate(List<ProtoId<AccessLevelPrototype>> accessLevels, IPrototypeManager prototypeManager)
{
foreach (var access in accessLevels)
{
if (!prototypeManager.TryIndex(access, out var accessLevel))
{
Logger.Error($"Unable to find accesslevel for {access}");
continue;
}

var newButton = new Button
{
Text = accessLevel.GetAccessLevelName(),
ToggleMode = true,
};
AddChild(newButton);
ButtonsList.Add(accessLevel.ID, newButton);
}
}

public void UpdateState(
List<ProtoId<AccessLevelPrototype>> pressedList,
List<ProtoId<AccessLevelPrototype>>? enabledList = null)
{
foreach (var (accessName, button) in ButtonsList)
{
button.Pressed = pressedList.Contains(accessName);
button.Disabled = !(enabledList?.Contains(accessName) ?? true);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ protected override void UpdateState(BoundUserInterfaceState state)
_window?.UpdateState(castState);
}

public void SubmitData(List<string> newAccessList)
public void SubmitData(List<ProtoId<AccessLevelPrototype>> newAccessList)
{
SendMessage(new WriteToTargetAccessReaderIdMessage(newAccessList));
}
Expand Down
Loading
Loading