Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Upstream 230424 #52

Merged
merged 1,139 commits into from
Apr 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1139 commits
Select commit Hold shift + click to select a range
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
46d8815
Merge pull request #1207 from new-frontiers-14/march-2024-upstream-merge
Cheackraze Apr 23, 2024
c8ebc30
NSF Whiskey: Sprite update and decal redecorate (#1253)
Tych0theSynth Apr 23, 2024
69a12c7
Automatic Changelog (#1253)
FrontierATC Apr 23, 2024
c001b74
Fix
dvir001 Apr 23, 2024
cb4169a
Merge pull request #1263 from dvir001/2024-04-23-Cargo
GreaseMonk Apr 23, 2024
009b507
04/23/2024 - Small updates
Salvantrix Apr 23, 2024
d868b37
04/23/2024 - thruster fix
Salvantrix Apr 23, 2024
2486d48
Merge pull request #1264 from Salvantrix/Uplink-updates
Cheackraze Apr 23, 2024
9ba7692
Hostile Mobs Tweaks [Part 2] (#1215)
ErhardSteinhauer Apr 23, 2024
9bec14f
Automatic Changelog (#1215)
FrontierATC Apr 23, 2024
0dd7a1a
Мерджконфликты.
Vonsant Apr 23, 2024
c014dd1
Merge remote-tracking branch 'upstream/master' into Upstream-230424
Vonsant Apr 23, 2024
a78a2d4
Фиксы
Vonsant Apr 23, 2024
5c41dce
Фиксы
Vonsant Apr 23, 2024
6cdb3fb
Фиксики
Vonsant Apr 23, 2024
1445789
Фиксики
Vonsant Apr 23, 2024
f4e65d7
Update meta.json
Vonsant Apr 23, 2024
da3ec37
Delete Resources/Textures/Clothing/Uniforms/Jumpsuit/Color directory
Vonsant Apr 23, 2024
bf3b966
Фиксики
Vonsant Apr 23, 2024
8959761
Фиксы
Vonsant Apr 23, 2024
504f9c8
Rename ptwindow0.png to plwindow0.png
Vonsant Apr 23, 2024
b23efbb
Rename ptwindow1.png to plwindow1.png
Vonsant Apr 23, 2024
b146a26
Rename ptwindow2.png to plwindow2.png
Vonsant Apr 23, 2024
33a78dd
Rename ptwindow3.png to plwindow3.png
Vonsant Apr 23, 2024
dcbfee2
Rename ptwindow4.png to plwindow4.png
Vonsant Apr 23, 2024
a41d30c
Rename ptwindow5.png to plwindow5.png
Vonsant Apr 23, 2024
f4a69df
Rename ptwindow6.png to plwindow6.png
Vonsant Apr 23, 2024
5d98fc9
Rename ptwindow7.png to plwindow7.png
Vonsant Apr 23, 2024
37b0949
Update meta.json
Vonsant Apr 23, 2024
68c141b
Update meta.json
Vonsant Apr 23, 2024
501380f
Update meta.json
Vonsant Apr 23, 2024
bc49b5c
Update meta.json
Vonsant Apr 23, 2024
a6f7337
Update meta.json
Vonsant Apr 23, 2024
5c72784
Не ы
Vonsant Apr 23, 2024
86c7d28
Проверка
Vonsant Apr 23, 2024
0637809
Bug Fixing (#1267)
dvir001 Apr 23, 2024
dfdda9a
smuggling fixes (#1266)
Cheackraze Apr 23, 2024
0bde6ef
Работай
Vonsant Apr 23, 2024
09928ad
Updated RobustToolbox submodule to specific commit a6e7224672402c36f0…
Vonsant Apr 23, 2024
540b8a6
Работай
Vonsant Apr 23, 2024
d955ea8
Merge pull request #53 from new-frontiers-14/master
Vonsant Apr 23, 2024
35430e5
Пока что пусть повисит до доработки
Vonsant Apr 23, 2024
72af1bb
Ждем доработки
Vonsant Apr 23, 2024
dfe6081
Ждет доработки
Vonsant Apr 23, 2024
edc911f
Теперь то заработает?
Vonsant Apr 23, 2024
0a4ad7e
Аыыыы работай
Vonsant Apr 23, 2024
cf2fada
Фиксы
Vonsant Apr 23, 2024
fb317ff
Update events_bluespace.yml
Vonsant Apr 23, 2024
db6011c
Update meta.json
Vonsant Apr 23, 2024
e3f32be
Update hyperlinks.yml
Vonsant Apr 23, 2024
a80eb43
Надоело
Vonsant 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