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

Floof Merge 11/10/24 #30

Merged
merged 123 commits into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
123 commits
Select commit Hold shift + click to select a range
72291e6
add neck floof
Fansana Oct 28, 2024
1eaaa50
better gun and wielded checks
Fansana Oct 28, 2024
983f412
Mosin Rework (#1391)
VividPups Jun 5, 2024
6517640
Merge pull request #301 from Fansana/mosin-rework
Fansana Oct 28, 2024
9ee2985
Merge pull request #300 from Fansana/neck-floof
Fansana Oct 28, 2024
283e2fd
give thermal insulation to penguins
Fansana Oct 29, 2024
6c13b69
Update animals.yml
Fansana Oct 29, 2024
197592b
Merge pull request #302 from Fansana/thermal-insulation-for-penguins
Fansana Oct 29, 2024
f58d1f8
Remove Gax Station from map pool
Memeji Oct 29, 2024
ab6652f
fix steal objective
Fansana Oct 29, 2024
4721d89
Automatic Changelog Update (#298)
Floof-Station-Bot Oct 27, 2024
1c6c399
Automatic Changelog Update (#297)
Floof-Station-Bot Oct 27, 2024
3739edd
Automatic Changelog Update (#299)
Floof-Station-Bot Oct 27, 2024
6ebd6e2
Automatic Changelog Update (#301)
Floof-Station-Bot Oct 28, 2024
5e8719c
Automatic Changelog Update (#300)
Floof-Station-Bot Oct 28, 2024
e7ba3db
Automatic Changelog Update (#302)
Floof-Station-Bot Oct 29, 2024
437ec45
Remove Rape and SA from S-LAW
neuPanda Oct 29, 2024
3d26809
Merge pull request #306 from neuPanda/patch-1
Memeji Oct 29, 2024
eb84a12
Merge pull request #303 from Memeji/Nikko-Small-Changes
Fansana Oct 29, 2024
6eddd6c
add filled clown and mime locker to every map
Fansana Oct 30, 2024
73d84ee
Update global.json
Fansana Oct 30, 2024
889fa22
Update locker.yml remove comments
Fansana Oct 30, 2024
a71e6a2
remove plastic banana
Fansana Oct 30, 2024
5717dc4
Update running.png
fenndragon Oct 30, 2024
3895d92
Merge branch 'Fansana:unstable' into dragon
fenndragon Oct 30, 2024
5e7d630
Update presets.yml
fenndragon Oct 30, 2024
f8a2cd1
Update presets.yml
fenndragon Oct 30, 2024
8724ef0
dragon
fenndragon Oct 30, 2024
5546a4f
Update Adolescent_dragon.yml
fenndragon Oct 30, 2024
d62e168
Merge branch 'Fansana:unstable' into Fixes
fenndragon Oct 30, 2024
b397408
Update presets.yml
fenndragon Oct 30, 2024
b24843d
Update presets.yml
fenndragon Oct 30, 2024
6a29511
Update Floof.yml
Fansana Oct 30, 2024
f37957f
Update Adolescent_dragon.yml
fenndragon Oct 30, 2024
2ca065a
Merge pull request #307 from Fansana/mime-clown-locker
Fansana Oct 30, 2024
d3c2a04
Update Adolescent_dragon.yml
fenndragon Oct 30, 2024
ea18369
Merge pull request #310 from fenndragon/Fixes
Fansana Oct 30, 2024
0dea9cb
Update Floof.yml
Fansana Oct 30, 2024
07579fb
Merge pull request #304 from Fansana/fix-cloak-steal-objective-RD-cloak
Fansana Oct 30, 2024
a6e4ce1
Merge branch 'Fansana:unstable' into dragon
fenndragon Oct 30, 2024
87e5c64
Oooh Hypno
FoxxoTrystan Oct 31, 2024
468704d
Update Adolescent_dragon.yml
fenndragon Oct 31, 2024
c8f610e
Apply Fixes and changes
FoxxoTrystan Oct 31, 2024
9a52527
FTL/Fixes
FoxxoTrystan Oct 31, 2024
23f26ba
dingus
FoxxoTrystan Oct 31, 2024
66b7909
fixes
FoxxoTrystan Oct 31, 2024
4e107d3
Noice
FoxxoTrystan Oct 31, 2024
3c6970b
FinalTouch
FoxxoTrystan Oct 31, 2024
5c94c65
Merge pull request #309 from fenndragon/dragon
FoxxoTrystan Oct 31, 2024
3b24813
New reptile sounds (#32064)
Minemoder5000 Oct 16, 2024
c0efed8
Merge branch 'unstable'
FoxxoTrystan Nov 1, 2024
f5a3b81
Fixes
FoxxoTrystan Nov 1, 2024
e88710c
Revert "Add Filled Clown and Mime Locker to Every Map"
FoxxoTrystan Nov 1, 2024
ae4341c
MindSwap Fix
FoxxoTrystan Nov 1, 2024
87dc1da
Oops
FoxxoTrystan Nov 1, 2024
7bc704a
Merge pull request #314 from Fansana/revert-307-mime-clown-locker
Fansana Nov 1, 2024
02e89b5
Merge pull request #313 from Fansana/cherry-pick-cocoonfix
Fansana Nov 1, 2024
f1bcbab
Automatic Changelog Update (#313)
Floof-Station-Bot Nov 1, 2024
87a94a8
Update presets.yml
fenndragon Nov 2, 2024
5aafa65
Update uplink_catalog.yml
fenndragon Nov 2, 2024
003d694
Update uplink_catalog.yml
fenndragon Nov 2, 2024
36916f2
Update uplink_catalog.yml
fenndragon Nov 2, 2024
b370624
Update uplink_catalog.yml
fenndragon Nov 2, 2024
10fa00d
Update presets.yml
fenndragon Nov 2, 2024
69b8774
Update presets.yml
fenndragon Nov 2, 2024
d4d9e16
Update presets.yml
fenndragon Nov 2, 2024
672f946
Update changelog.yml
FoxxoTrystan Nov 2, 2024
dd0dcd4
Update xenopet.yml
fenndragon Nov 2, 2024
b1ce3ae
Merge branch 'Fansana:unstable' into xenos
fenndragon Nov 2, 2024
32d4d88
Merge pull request #315 from fenndragon/Fixes
FoxxoTrystan Nov 3, 2024
103092f
Merge pull request #311 from FoxxoTrystan/hypnosis
FoxxoTrystan Nov 3, 2024
870c35d
Merge pull request #312 from Fansana/thumping
FoxxoTrystan Nov 3, 2024
879d0e6
Update changelog.yml
FoxxoTrystan Nov 3, 2024
912fc58
Merge branch 'master' into unstable
FoxxoTrystan Nov 3, 2024
775bc11
Merge branch 'Fansana:unstable' into xenos
fenndragon Nov 3, 2024
571e28b
update changelog
Fansana Nov 3, 2024
a8213bd
update changelog
Fansana Nov 3, 2024
0737ee0
remove unstable pr
Fansana Nov 3, 2024
3e197e2
disallow PRs on stable
Fansana Nov 3, 2024
7b5f1b2
Merge pull request #320 from Fansana/stable
Fansana Nov 3, 2024
1abd458
update allowlist
Fansana Nov 3, 2024
79b69ae
use stable instead of master
FoxxoTrystan Nov 3, 2024
06caaf0
use stable instead of master
FoxxoTrystan Nov 3, 2024
ade783c
Changlog workflow only on stable merge.
FoxxoTrystan Nov 3, 2024
24efdb1
aaa
VividPups Nov 4, 2024
b31884e
Merge pull request #319 from Fansana/unstable
Memeji Nov 4, 2024
b86dc28
Update uplink_catalog.yml
VividPups Nov 4, 2024
7941094
Fix hypno.ftl
FoxxoTrystan Nov 4, 2024
71d6476
Update psionicPowers.yml
FoxxoTrystan Nov 4, 2024
6638b6b
Update psionicPowers.yml
FoxxoTrystan Nov 4, 2024
36faed7
Merge pull request #323 from Fansana/Disable-Power
Memeji Nov 4, 2024
580dcf0
Hmm yes
FoxxoTrystan Nov 4, 2024
a8d49e0
updated as requested
VividPups Nov 4, 2024
af785a0
fix voltage reaction
Fansana Nov 4, 2024
e2bac46
fix construction container
Fansana Nov 5, 2024
7b46cb0
Merge pull request #328 from Fansana/fix-voltage-reaction
Memeji Nov 5, 2024
d72497a
Merge pull request #329 from Fansana/fix-sleepingbag
FoxxoTrystan Nov 5, 2024
b19655e
prescription hud fix
Nov 5, 2024
eb473dd
fixes build test?
FoxxoTrystan Nov 5, 2024
ad887d6
This is a better way to handle it.
FoxxoTrystan Nov 5, 2024
164d9db
oops
FoxxoTrystan Nov 5, 2024
7d05d1d
Merge pull request #331 from FoxxoTrystan/ethereal-build-fix
FoxxoTrystan Nov 5, 2024
2851a6e
Update hud.yml
Fansana Nov 5, 2024
81643a4
Merge branch 'Fansana:master' into edit-lpo
FoxxoTrystan Nov 5, 2024
b299cdb
Merge pull request #330 from KyuPolaris/prescriptionhudfix
Memeji Nov 5, 2024
ac87ec0
Merge branch 'Fansana:master' into Hypo
VividPups Nov 5, 2024
aef34f6
Merge pull request #325 from FoxxoTrystan/edit-lpo
FoxxoTrystan Nov 6, 2024
64d6737
Merge pull request #316 from fenndragon/xenos
FoxxoTrystan Nov 7, 2024
97b0434
moved files
VividPups Nov 7, 2024
46c6618
Merge pull request #322 from VividPups/Hypo
FoxxoTrystan Nov 7, 2024
5c096e2
Merge pull request #336 from Fansana/master
Fansana Nov 7, 2024
0c5108b
Merge branch 'stable' of https://github.com/Fansana/floofstation1 int…
sleepyyapril Nov 10, 2024
7841d5c
Space law!
sleepyyapril Nov 10, 2024
2ba7e62
Fix double hud
sleepyyapril Nov 10, 2024
9f40515
no shadowkin
sleepyyapril Nov 10, 2024
a18b459
Merge branch 'master' of https://github.com/TheDenSS14/TheDen into fl…
sleepyyapril Nov 10, 2024
d3885b4
Merge branch 'master' of https://github.com/TheDenSS14/TheDen into fl…
sleepyyapril Nov 10, 2024
81dfa68
use floof's sharedInteractionSystem
sleepyyapril Nov 11, 2024
e16f950
Saltern update
sleepyyapril Nov 11, 2024
e6ff1b5
SharedInteractionSystem
sleepyyapril Nov 11, 2024
c7432b9
saltern ee...?
sleepyyapril Nov 11, 2024
0013eff
aaa
sleepyyapril Nov 11, 2024
a0530f9
I'll give it a try!
sleepyyapril Nov 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ concurrency: commit_action
on:
pull_request_target:
types: [closed]
branches:
- stable

env:
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
Expand All @@ -20,7 +22,7 @@ jobs:
uses: actions/checkout@v3
with:
token: ${{ secrets.BOT_TOKEN }}
ref: ${{ vars.CHANGELOG_BRANCH }}
ref: ${{ vars.CHANGELOG_BRANCH }}

- name: Setup Git
run: |
Expand All @@ -47,7 +49,7 @@ jobs:

- name: Commit Changelog
run: |
git pull origin master
git pull origin ${{ vars.CHANGELOG_BRANCH }}
git add *.yml
git commit -m "${{ vars.CHANGELOG_MESSAGE }} (#${{ env.PR_NUMBER }})"
git push
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/discord-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: checkout
uses: actions/checkout@v3
with:
ref: master
ref: stable

- name: Publish changelog
run: Tools/actions_changelogs_since_last_run.py
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

- uses: actions/[email protected]
with:
ref: master
ref: stable
submodules: 'recursive'
- name: Setup .NET Core
uses: actions/[email protected]
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/stable-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Close PRs to stable

on:
pull_request_target:
types: [ opened, ready_for_review ]

jobs:
run:
runs-on: ubuntu-latest
if: ${{ github.base_ref == 'stable' && github.actor != 'Fansana' && github.actor != 'Memeji' && github.actor != 'FoxxoTrystan' }}

steps:
- uses: superbrothers/close-pull-request@v3
with:
comment: "Thank you for contributing to Floof Station repository. Unfortunately, it looks like you submitted your pull request to the stable branch, Please move this PR to the master Branch."
35 changes: 35 additions & 0 deletions Content.Client/Floofstation/HypnotizedSystem.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
using Content.Shared.Floofstation.Hypno;
using Content.Shared.StatusIcon;
using Content.Shared.StatusIcon.Components;
using Robust.Shared.Prototypes;
using Robust.Client.Player;
using Content.Client.Overlays;

namespace Content.Client.Floofstation;

public sealed class HypnotizedSystem : EquipmentHudSystem<HypnotizedComponent>
{
[Dependency] private readonly IPrototypeManager _prototype = default!;
[Dependency] private readonly IPlayerManager _playerManager = default!;

public override void Initialize()
{
base.Initialize();

SubscribeLocalEvent<PsionicHypnoComponent, GetStatusIconsEvent>(OnGetStatusIconsEvent);
}

private void OnGetStatusIconsEvent(EntityUid uid, PsionicHypnoComponent component, ref GetStatusIconsEvent args)
{
if (!IsActive || args.InContainer)
return;

if (_playerManager.LocalEntity is not { Valid: true } player
|| !TryComp<HypnotizedComponent>(player, out var hypnoComp)
|| hypnoComp.Master != uid)
return;

if (_prototype.TryIndex<StatusIconPrototype>(component.MasterIcon, out var iconPrototype))
args.StatusIcons.Add(iconPrototype);
}
}
35 changes: 35 additions & 0 deletions Content.Client/Floofstation/PsionicHypnoSystem.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
using Content.Shared.Floofstation.Hypno;
using Content.Shared.StatusIcon;
using Content.Shared.StatusIcon.Components;
using Robust.Shared.Prototypes;
using Robust.Client.Player;
using Content.Client.Overlays;

namespace Content.Client.Floofstation;

public sealed class PsionicHypnoSystem : EquipmentHudSystem<PsionicHypnoComponent>
{
[Dependency] private readonly IPrototypeManager _prototype = default!;
[Dependency] private readonly IPlayerManager _playerManager = default!;

public override void Initialize()
{
base.Initialize();

SubscribeLocalEvent<HypnotizedComponent, GetStatusIconsEvent>(OnGetStatusIconsEvent);
}

private void OnGetStatusIconsEvent(EntityUid uid, HypnotizedComponent component, ref GetStatusIconsEvent args)
{
if (!IsActive || args.InContainer)
return;

if (_playerManager.LocalEntity is not { Valid: true } player
|| !TryComp<PsionicHypnoComponent>(player, out var hypnoComp)
|| component.Master != player)
return;

if (_prototype.TryIndex<StatusIconPrototype>(hypnoComp.SubjectIcon, out var iconPrototype))
args.StatusIcons.Add(iconPrototype);
}
}
29 changes: 23 additions & 6 deletions Content.Client/Weapons/Melee/MeleeWeaponSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
using Content.Shared.Weapons.Melee;
using Content.Shared.Weapons.Melee.Events;
using Content.Shared.Weapons.Ranged.Components;
using Content.Shared.Wieldable.Components;
using Robust.Client.GameObjects;
using Robust.Client.Graphics;
using Robust.Client.Input;
Expand Down Expand Up @@ -94,11 +95,27 @@ public override void Update(float frameTime)
// it's kinda tricky.
// I think as long as we make secondaries their own component it's probably fine
// as long as guncomp has an alt-use key then it shouldn't be too much of a PITA to deal with.
if (TryComp<GunComponent>(weaponUid, out var gun) && gun.UseKey)
{
return;
//if (TryComp<GunComponent>(weaponUid, out var gun) && gun.UseKey)
//{
// return;
//}
// Floof changes from frontier
bool gunBoundToUse = false;
bool gunBoundToAlt = false;

if (TryComp<GunComponent>(weaponUid, out var gun)) {
gunBoundToUse = gun.UseKey;
gunBoundToAlt = !gun.UseKey; //Bound to alt-use when false

// If ranged mode only works when wielded, do not block melee attacks when unwielded
// (e.g. crusher & crusher glaive)
if (TryComp<GunRequiresWieldComponent>(weaponUid, out var _) &&
TryComp<WieldableComponent>(weaponUid, out var wield)) {
gunBoundToUse &= wield.Wielded;
gunBoundToAlt &= wield.Wielded;
}
}

// End Floof changes
var mousePos = _eyeManager.PixelToMap(_inputManager.MouseScreenPosition);

if (mousePos.MapId == MapId.Nullspace)
Expand All @@ -118,7 +135,7 @@ public override void Update(float frameTime)
}

// Heavy attack.
if (altDown == BoundKeyState.Down)
if (altDown == BoundKeyState.Down && !gunBoundToAlt) //Floof: add !gunBoundToAlt condition
{
// If it's an unarmed attack then do a disarm
if (weapon.AltDisarm && weaponUid == entity)
Expand All @@ -139,7 +156,7 @@ public override void Update(float frameTime)
}

// Light attack
if (useDown == BoundKeyState.Down)
if (useDown == BoundKeyState.Down && !gunBoundToUse) //Floof: add !gunBoundToAlt condition
{
var attackerPos = Transform(entity).MapPosition;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ private void OnPowerUsed(DarkSwapActionEvent args)

if (_psionics.OnAttemptPowerUse(args.Performer, "DarkSwap", args.ManaCost / 2, args.CheckInsulation))
{
SpawnAtPosition("ShadowkinShadow", Transform(args.Performer).Coordinates);
SpawnAtPosition("EffectFlashShadowkinDarkSwapOff", Transform(args.Performer).Coordinates);
RemComp(args.Performer, ethereal);
args.Handled = true;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
using Content.Server.GameTicking;
using Content.Shared.Mind;
using Content.Shared.Actions.Events;
using Content.Server.DoAfter;
using Content.Shared.DoAfter;

namespace Content.Server.Abilities.Psionics
{
Expand All @@ -23,11 +25,13 @@ public sealed class MindSwapPowerSystem : EntitySystem
[Dependency] private readonly PopupSystem _popupSystem = default!;
[Dependency] private readonly MindSystem _mindSystem = default!;
[Dependency] private readonly MetaDataSystem _metaDataSystem = default!;
[Dependency] private readonly DoAfterSystem _doAfterSystem = default!;

public override void Initialize()
{
base.Initialize();
SubscribeLocalEvent<MindSwapPowerActionEvent>(OnPowerUsed);
SubscribeLocalEvent<MindSwapPowerComponent, MindSwapPowerActionEvent>(OnPowerUsed);
SubscribeLocalEvent<PsionicComponent, MindSwapPowerDoAfterEvent>(OnDoAfter);
SubscribeLocalEvent<MindSwappedComponent, MindSwapPowerReturnActionEvent>(OnPowerReturned);
SubscribeLocalEvent<MindSwappedComponent, DispelledEvent>(OnDispelled);
SubscribeLocalEvent<MindSwappedComponent, MobStateChangedEvent>(OnMobStateChanged);
Expand All @@ -36,18 +40,40 @@ public override void Initialize()
SubscribeLocalEvent<MindSwappedComponent, ComponentInit>(OnSwapInit);
}

private void OnPowerUsed(MindSwapPowerActionEvent args)
private void OnPowerUsed(EntityUid uid, MindSwapPowerComponent component, MindSwapPowerActionEvent args)
{
if (!_psionics.OnAttemptPowerUse(args.Performer, "mind swap")
|| !(TryComp<DamageableComponent>(args.Target, out var damageable) && damageable.DamageContainerID == "Biological"))
return;

Swap(args.Performer, args.Target);
_doAfterSystem.TryStartDoAfter(new DoAfterArgs(EntityManager, args.Performer, component.UseDelay, new MindSwapPowerDoAfterEvent(), args.Performer, target: args.Target)
{
Hidden = true,
BreakOnTargetMove = true,
BreakOnDamage = true,
BreakOnUserMove = true
}, out var doAfterId);

if (TryComp<PsionicComponent>(uid, out var magic))
magic.DoAfter = doAfterId;

_psionics.LogPowerUsed(args.Performer, "mind swap");
args.Handled = true;
}

private void OnDoAfter(EntityUid uid, PsionicComponent component, MindSwapPowerDoAfterEvent args)
{
if (component is null)
return;
component.DoAfter = null;

if (args.Target is null
|| args.Cancelled)
return;

Swap(uid, args.Target.Value);
}

private void OnPowerReturned(EntityUid uid, MindSwappedComponent component, MindSwapPowerReturnActionEvent args)
{
if (HasComp<PsionicInsulationComponent>(component.OriginalEntity) || HasComp<PsionicInsulationComponent>(uid))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,10 +205,6 @@ private bool CanCallOrRecall(CommunicationsConsoleComponent comp)
|| !comp.CanShuttle)
return false;

// Calling shuttle checks
if (_roundEndSystem.ExpectedCountdownEnd is null)
return comp.CanShuttle;

// Recalling shuttle checks
var recallThreshold = _cfg.GetCVar(CCVars.EmergencyRecallTurningPoint);

Expand Down
Loading
Loading