Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
MosleyTheMalO committed Nov 23, 2024
2 parents 048c117 + 54db673 commit d31f5f9
Show file tree
Hide file tree
Showing 279 changed files with 9,736 additions and 6,106 deletions.
52 changes: 52 additions & 0 deletions .github/workflows/discord_discussions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Discord Discussions

on:
pull_request_target:
types:
- opened
- reopened
- edited
- labeled
- closed
branches:
- master

concurrency:
group: "discord-discussions-${{ github.head_ref }}"
cancel-in-progress: true

jobs:
manage-discord-discussion:
name: Manage Discord Discussion
runs-on: ubuntu-latest
if: contains(github.event.pull_request.labels.*.name, 'Discord Discussion')
steps:
- name: Fail if vars.DISCORD_DISCUSSIONS_CHANNEL_ID is unset
if: ${{ vars.DISCORD_DISCUSSIONS_CHANNEL_ID == '' }}
run: |
echo "vars.DISCORD_DISCUSSIONS_CHANNEL_ID (${{ vars.DISCORD_DISCUSSIONS_CHANNEL_ID }}) must be set to use this label!"
exit 1
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
dotnet-quality: ga

- name: Checkout
uses: actions/checkout@v4

- name: Build Tgstation.DiscordDiscussions
run: dotnet publish -c Release -o discord_discussions_bins tools/Tgstation.DiscordDiscussions/Tgstation.DiscordDiscussions.csproj

- name: Generate App Token
id: app-token-generation
uses: getsentry/action-github-app-token@d4b5da6c5e37703f8c3b3e43abb5705b46e159cc
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}

- name: Run Tgstation.DiscordDiscussions
run: dotnet discord_discussions_bins/Tgstation.DiscordDiscussions.dll ${{ steps.app-token-generation.outputs.token }} ${{ github.repository_owner }} ${{ github.event.repository.name }} ${{ github.event.pull_request.number }} ${{ github.event.pull_request.merged && 'merged' || github.event.pull_request.state }} ${{ secrets.DISCORD_DISCUSSIONS_TOKEN }} ${{ vars.DISCORD_DISCUSSIONS_CHANNEL_ID }} ${{ github.event.action == 'reopened' && 'true' || 'false' }} ${{ vars.DISCORD_JOIN_LINK }}
env:
GITHUB_PULL_REQUEST_TITLE: ${{ github.event.pull_request.title }}
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,10 @@ Temporary Items
/tools/MapAtmosFixer/MapAtmosFixer/bin/*
/tools/CreditsTool/bin/*
/tools/CreditsTool/obj/*
/tools/Tgstation.DiscordDiscussions/.vs/*
/tools/Tgstation.DiscordDiscussions/bin/*
/tools/Tgstation.DiscordDiscussions/obj/*
/tools/Tgstation.DiscordDiscussions/Properties/launchSettings.json

#GitHub Atom
.atom-build.json
Expand Down
7 changes: 1 addition & 6 deletions _maps/RandomRuins/LavaRuins/lavaland_surface_cultaltar.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,7 @@
/obj/item/cult_shift,
/obj/effect/decal/remains/human,
/obj/item/melee/cultblade/dagger,
/obj/effect/step_trigger/sound_effect{
happens_once = 1;
name = "\proper a grave mistake";
sound = 'sound/effects/hallucinations/i_see_you1.ogg';
triggerer_only = 1
},
/obj/effect/step_trigger/sound_effect/lavaland_cult_altar,
/obj/effect/step_trigger/message{
message = "<span class='cult italic'><b><span class='big'>You've made a grave mistake, haven't you?</span></b></span>";
name = "ohfuck"
Expand Down
4 changes: 1 addition & 3 deletions _maps/RandomRuins/SpaceRuins/hauntedtradingpost.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -5468,11 +5468,9 @@
/area/ruin/space/has_grav/hauntedtradingpost/employees/breakroom)
"Vl" = (
/obj/structure/table/wood,
/obj/item/toy/figure/wizard{
/obj/item/toy/figure/wizard/special{
pixel_y = 9;
pixel_x = -4;
toysay = "CLANG!";
toysound = 'sound/effects/clang.ogg'
},
/obj/item/toy/figure/warden{
name = "\improper Knight action figure";
Expand Down
Loading

0 comments on commit d31f5f9

Please sign in to comment.