Merge remote-tracking branch 'refs/remotes/wizards/master'
14
.github/workflows/labeler-approved.yml
vendored
|
|
@ -1,14 +0,0 @@
|
|||
name: "Labels: Approved"
|
||||
|
||||
on:
|
||||
pull_request_review:
|
||||
types: [submitted]
|
||||
|
||||
jobs:
|
||||
add_label:
|
||||
if: github.event.review.state == 'APPROVED'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions-ecosystem/action-add-labels@v1
|
||||
with:
|
||||
labels: "PR: Approved"
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
namespace Content.Shared.Chemistry.Components;
|
||||
|
||||
/// <summary>
|
||||
/// Represents a container that also contains a solution.
|
||||
/// This means that reactive entities react when inserted into the container.
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public sealed partial class ReactiveContainerComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// The container that holds the solution.
|
||||
/// </summary>
|
||||
[DataField(required: true)]
|
||||
public string Container = default!;
|
||||
|
||||
/// <summary>
|
||||
/// The solution in the container.
|
||||
/// </summary>
|
||||
[DataField(required: true)]
|
||||
public string Solution = default!;
|
||||
}
|
||||
|
|
@ -0,0 +1,53 @@
|
|||
using Content.Shared.Chemistry.Components;
|
||||
using Content.Shared.Chemistry.Reaction;
|
||||
using Robust.Shared.Containers;
|
||||
|
||||
namespace Content.Shared.Chemistry.EntitySystems;
|
||||
|
||||
public sealed class ReactiveContainerSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly SharedContainerSystem _containerSystem = default!;
|
||||
[Dependency] private readonly ReactiveSystem _reactiveSystem = default!;
|
||||
[Dependency] private readonly SharedSolutionContainerSystem _solutionContainerSystem = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
base.Initialize();
|
||||
|
||||
SubscribeLocalEvent<ReactiveContainerComponent, EntInsertedIntoContainerMessage>(OnInserted);
|
||||
SubscribeLocalEvent<ReactiveContainerComponent, SolutionContainerChangedEvent>(OnSolutionChange);
|
||||
}
|
||||
|
||||
private void OnInserted(EntityUid uid, ReactiveContainerComponent comp, EntInsertedIntoContainerMessage args)
|
||||
{
|
||||
// Only reactive entities can react with the solution
|
||||
if (!HasComp<ReactiveComponent>(args.Entity))
|
||||
return;
|
||||
|
||||
if (!_solutionContainerSystem.TryGetSolution(uid, comp.Solution, out _, out var solution))
|
||||
return;
|
||||
if (solution.Volume == 0)
|
||||
return;
|
||||
|
||||
_reactiveSystem.DoEntityReaction(args.Entity, solution, ReactionMethod.Touch);
|
||||
}
|
||||
|
||||
private void OnSolutionChange(EntityUid uid, ReactiveContainerComponent comp, SolutionContainerChangedEvent args)
|
||||
{
|
||||
if (!_solutionContainerSystem.TryGetSolution(uid, comp.Solution, out _, out var solution))
|
||||
return;
|
||||
if (solution.Volume == 0)
|
||||
return;
|
||||
if (!TryComp<ContainerManagerComponent>(uid, out var manager))
|
||||
return;
|
||||
if (!_containerSystem.TryGetContainer(uid, comp.Container, out var container))
|
||||
return;
|
||||
|
||||
foreach (var entity in container.ContainedEntities)
|
||||
{
|
||||
if (!HasComp<ReactiveComponent>(entity))
|
||||
continue;
|
||||
_reactiveSystem.DoEntityReaction(entity, solution, ReactionMethod.Touch);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,18 +1,4 @@
|
|||
Entries:
|
||||
- author: slarticodefast
|
||||
changes:
|
||||
- message: Added tooltips to the agent ID job icons
|
||||
type: Add
|
||||
id: 7069
|
||||
time: '2024-08-09T06:14:07.0000000+00:00'
|
||||
url: https://github.com/space-wizards/space-station-14/pull/28575
|
||||
- author: stalengd
|
||||
changes:
|
||||
- message: Head bandana no longer blocks food eating.
|
||||
type: Fix
|
||||
id: 7070
|
||||
time: '2024-08-09T06:17:51.0000000+00:00'
|
||||
url: https://github.com/space-wizards/space-station-14/pull/28910
|
||||
- author: Ubaser
|
||||
changes:
|
||||
- message: Oxygen and nitrogen canisters now have new sprites when worn.
|
||||
|
|
@ -3943,3 +3929,21 @@
|
|||
id: 7568
|
||||
time: '2024-10-31T14:53:38.0000000+00:00'
|
||||
url: https://github.com/space-wizards/space-station-14/pull/32601
|
||||
- author: Psychpsyo
|
||||
changes:
|
||||
- message: Carp plushies can now be placed in mop buckets, along with other rehydratable
|
||||
things like monkey cubes.
|
||||
type: Add
|
||||
id: 7569
|
||||
time: '2024-10-31T18:46:19.0000000+00:00'
|
||||
url: https://github.com/space-wizards/space-station-14/pull/33079
|
||||
- author: Bhijn and Myr
|
||||
changes:
|
||||
- message: Tail thumping has been downmixed to mono to fix the sound lacking any
|
||||
sort of positioning. They're now capable of having a presence in the actual
|
||||
soundspace, in turn meaning lizards are no longer occupying your headset at
|
||||
all times of day.
|
||||
type: Fix
|
||||
id: 7570
|
||||
time: '2024-10-31T21:30:58.0000000+00:00'
|
||||
url: https://github.com/space-wizards/space-station-14/pull/33092
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
# mop bucket
|
||||
mop-bucket-slot-component-slot-name-shark = Shark
|
||||
mop-bucket-slot-component-slot-name-item = Item
|
||||
mop-bucket-slot-component-eject-verb = Take out
|
||||
# janitorial trolley
|
||||
janitorial-trolley-slot-component-slot-name-plunger = Plunger
|
||||
janitorial-trolley-slot-component-slot-name-sign = Sign
|
||||
|
|
|
|||
|
|
@ -599,6 +599,11 @@
|
|||
path: /Audio/Effects/bite.ogg
|
||||
angle: 0
|
||||
animation: WeaponArcBite # Rrrr!
|
||||
- type: Tag
|
||||
tags:
|
||||
- Payload
|
||||
- ClothMade
|
||||
- PlushieCarp
|
||||
|
||||
- type: entity
|
||||
parent: PlushieCarp
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
- type: entity
|
||||
- type: entity
|
||||
id: WeaponWaterGunBase
|
||||
abstract: true
|
||||
parent: BaseItem
|
||||
|
|
@ -71,7 +71,7 @@
|
|||
id: WeaponWaterBlaster
|
||||
parent: WeaponWaterGunBase
|
||||
name: water blaster
|
||||
description: With this bad boy, you'll be the cooleste kid at the summer barbecue.
|
||||
description: With this bad boy, you'll be the coolest kid at the summer barbecue.
|
||||
components:
|
||||
- type: Gun
|
||||
cameraRecoilScalar: 0 #no recoil
|
||||
|
|
|
|||
|
|
@ -47,19 +47,30 @@
|
|||
whitelist:
|
||||
tags:
|
||||
- PlushieSharkGrey
|
||||
sprite: Objects/Fun/sharkplush.rsi
|
||||
mopbucket_carpplush:
|
||||
whitelist:
|
||||
tags:
|
||||
- PlushieCarp
|
||||
sprite: Objects/Specific/Janitorial/janitorial.rsi
|
||||
- type: Transform
|
||||
noRot: true
|
||||
- type: ItemSlots
|
||||
slots:
|
||||
shark_slot:
|
||||
name: mop-bucket-slot-component-slot-name-shark
|
||||
item_slot:
|
||||
name: mop-bucket-slot-component-slot-name-item
|
||||
ejectVerbText: mop-bucket-slot-component-eject-verb
|
||||
whitelist:
|
||||
tags:
|
||||
- PlushieSharkBlue
|
||||
- PlushieSharkPink
|
||||
- PlushieSharkGrey
|
||||
- PlushieCarp
|
||||
components:
|
||||
- Rehydratable
|
||||
priority: 3 # Higher than drinking priority
|
||||
- type: ReactiveContainer
|
||||
solution: bucket
|
||||
container: item_slot
|
||||
- type: Drink
|
||||
solution: bucket
|
||||
- type: Appearance
|
||||
|
|
@ -70,7 +81,7 @@
|
|||
containers:
|
||||
storagebase: !type:Container
|
||||
ents: []
|
||||
shark_slot: !type:ContainerSlot {}
|
||||
item_slot: !type:ContainerSlot {}
|
||||
- type: GuideHelp
|
||||
guides:
|
||||
- Janitorial
|
||||
|
|
|
|||
|
|
@ -1221,6 +1221,9 @@
|
|||
- type: Tag
|
||||
id: Plunger
|
||||
|
||||
- type: Tag
|
||||
id: PlushieCarp
|
||||
|
||||
- type: Tag
|
||||
id: PlushieGhost
|
||||
|
||||
|
|
|
|||
|
|
@ -39,15 +39,6 @@
|
|||
{
|
||||
"name": "grey-inhand-right",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "mopbucket_shark_blue"
|
||||
},
|
||||
{
|
||||
"name": "mopbucket_shark_pink"
|
||||
},
|
||||
{
|
||||
"name": "mopbucket_shark_grey"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/f8f4aeda930fcd0805ca4cc76d9bc9412a5b3428",
|
||||
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/f8f4aeda930fcd0805ca4cc76d9bc9412a5b3428, mopbucket_shark_* by Psychpsyo, mopbucket_carpplush adapted by Psychpsyo from tgstation carpplush at commit https://github.com/tgstation/tgstation/commit/e1142f20f5e4661cb6845cfcf2dd69f864d67432",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
|
|
@ -25,6 +25,18 @@
|
|||
{
|
||||
"name": "mopbucket_water-3"
|
||||
},
|
||||
{
|
||||
"name": "mopbucket_shark_blue"
|
||||
},
|
||||
{
|
||||
"name": "mopbucket_shark_pink"
|
||||
},
|
||||
{
|
||||
"name": "mopbucket_shark_grey"
|
||||
},
|
||||
{
|
||||
"name": "mopbucket_carpplush"
|
||||
},
|
||||
{
|
||||
"name": "inhand-left",
|
||||
"directions": 4
|
||||
|
|
|
|||
|
After Width: | Height: | Size: 587 B |
|
Before Width: | Height: | Size: 330 B After Width: | Height: | Size: 330 B |
|
Before Width: | Height: | Size: 330 B After Width: | Height: | Size: 330 B |
|
Before Width: | Height: | Size: 325 B After Width: | Height: | Size: 325 B |