Skip to content

Commit

Permalink
Many Stuff (#136)
Browse files Browse the repository at this point in the history
<!--
This is a semi-strict format, you can add/remove sections as needed but
the order/format should be kept the same
Remove these comments before submitting
-->

# Description

<!--
Explain this PR in as much detail as applicable

Some example prompts to consider:
How might this affect the game? The codebase?
What might be some alternatives to this?
How/Who does this benefit/hurt [the game/codebase]?
-->

Some stuff

---

# Changelog

<!--
You can add an author after the `:cl:` to change the name that appears
in the changelog (ex: `:cl: Death`)
Leaving it blank will default to your GitHub display name
This includes all available types for the changelog
-->

:cl: sleepyyapril, Stop-Signs, Memeji
- add: Changed the Warden suit's capabilities. (Original author:
Stop-Signs)
- add: Repeater, Argenti, and 45 magnum rubber box to Bartender's
loadout.
- add: Red cloak to loadout (Port from Floof PR #390)
- add: Witch Robes to loadout (Port from Floof PR #390)
- add: Sawed-off PKA (Port from Floof PR #390)
- add: More end-round sounds. (Port from Floof PR #390)
- add: The ChemMaster now has 20, 75, and 80 unit options available.
- tweak: Made the ChemMaster wider.
- fix: Ported Frontier fix to mag visuals on specific guns.

---------

Signed-off-by: Stop-Signs <[email protected]>
Co-authored-by: Stop-Signs <[email protected]>
Co-authored-by: FoxxoTrystan <[email protected]>
Co-authored-by: Radezolid <[email protected]>
Co-authored-by: ErhardSteinhauer <[email protected]>
  • Loading branch information
5 people authored Jan 7, 2025
1 parent fb86409 commit 500c0e7
Show file tree
Hide file tree
Showing 72 changed files with 437 additions and 22 deletions.
16 changes: 8 additions & 8 deletions Content.Client/Chemistry/UI/ChemMasterWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:gfx="clr-namespace:Robust.Client.Graphics;assembly=Robust.Client"
MinSize="620 670"
MinSize="620 770"
Title="{Loc 'chem-master-bound-user-interface-title'}">
<TabContainer Name="Tabs" Margin="5 5 7 5">
<BoxContainer Orientation="Vertical" HorizontalExpand="True" Margin="5" SeparationOverride="10">
Expand All @@ -13,12 +13,12 @@
<Button MinSize="80 0" Name="InputEjectButton" Access="Public" Text="{Loc 'chem-master-window-eject-button'}" />
</BoxContainer>

<PanelContainer VerticalExpand="True" MinSize="0 200">
<PanelContainer VerticalExpand="True" MinSize="0 300">
<PanelContainer.PanelOverride>
<gfx:StyleBoxFlat BackgroundColor="#1B1B1E" />
</PanelContainer.PanelOverride>

<ScrollContainer HorizontalExpand="True" MinSize="0 200">
<ScrollContainer HorizontalExpand="True" MinSize="0 300">
<!-- Initially empty, when server sends state data this will have container contents and fill volume.-->
<BoxContainer Name="InputContainerInfo" Orientation="Vertical" Margin="4" HorizontalExpand="True">
<Label Text="{Loc 'chem-master-window-no-container-loaded-text'}" />
Expand All @@ -38,12 +38,12 @@
</BoxContainer>

<!-- Buffer info -->
<PanelContainer VerticalExpand="True" MinSize="0 200">
<PanelContainer VerticalExpand="True" MinSize="0 300">
<PanelContainer.PanelOverride>
<gfx:StyleBoxFlat BackgroundColor="#1B1B1E" />
</PanelContainer.PanelOverride>

<ScrollContainer HorizontalExpand="True" MinSize="0 200">
<ScrollContainer HorizontalExpand="True" MinSize="0 300">
<!-- Buffer reagent list -->
<BoxContainer Name="BufferInfo" Orientation="Vertical" Margin="4" HorizontalExpand="True">
<Label Text="{Loc 'chem-master-window-buffer-empty-text'}" />
Expand All @@ -60,12 +60,12 @@
<Button MinSize="80 0" Name="OutputEjectButton" Access="Public" Text="{Loc 'chem-master-window-eject-button'}" />
</BoxContainer>

<PanelContainer VerticalExpand="True" MinSize="0 200">
<PanelContainer VerticalExpand="True" MinSize="0 300">
<PanelContainer.PanelOverride>
<gfx:StyleBoxFlat BackgroundColor="#1B1B1E" />
</PanelContainer.PanelOverride>

<ScrollContainer HorizontalExpand="True" MinSize="0 200">
<ScrollContainer HorizontalExpand="True" MinSize="0 300">
<!-- Initially empty, when server sends state data this will have container contents and fill volume.-->
<BoxContainer Name="OutputContainerInfo" Orientation="Vertical" Margin="4" HorizontalExpand="True">
<Label Text="{Loc 'chem-master-window-no-container-loaded-text'}" />
Expand Down Expand Up @@ -129,4 +129,4 @@
</PanelContainer>
</BoxContainer>
</TabContainer>
</controls:FancyWindow>
</controls:FancyWindow>
5 changes: 3 additions & 2 deletions Content.Client/Chemistry/UI/ChemMasterWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -103,15 +103,16 @@ private ReagentButton MakeReagentButton(string text, ChemMasterReagentAmount amo
private List<ReagentButton> CreateReagentTransferButtons(ReagentId reagent, bool isBuffer, bool addReagentButtons)
{
if (!addReagentButtons)
return new List<ReagentButton>(); // Return an empty list if reagentTransferButton creation is disabled.
return new(); // Return an empty list if reagentTransferButton creation is disabled.

var buttons = new List<ReagentButton>();
var names = Enum.GetNames<ChemMasterReagentAmount>();
var values = Enum.GetValues<ChemMasterReagentAmount>();

for (int i = 0; i < names.Length; i++)
{
var name = names[i];
var isNumber = int.TryParse(names[i].Substring(1), out int number);
var name = isNumber ? number.ToString() : names[i];
var reagentAmount = values[i];

var reagentTransferButton = MakeReagentButton(
Expand Down
3 changes: 3 additions & 0 deletions Content.Shared/Chemistry/SharedChemMaster.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,13 @@ public enum ChemMasterReagentAmount
U5 = 5,
U10 = 10,
U15 = 15,
U20 = 20,
U25 = 25,
U30 = 30,
U45 = 45,
U50 = 50,
U75 = 75,
U90 = 90,
U100 = 100,
All,
}
Expand Down
Binary file added Resources/Audio/Announcements/RoundEnd/oney.ogg
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
ClothingHeadHatPumpkin: 2
ClothingHeadHatShrineMaidenWig: 2
ClothingOuterSuitShrineMaiden: 2
ClothingHeadHatWitch1: 2 # Floof - Witch
ClothingHeadHatWitch: 2 # Floof - Witch
ClothingOuterSuitWitchRobes: 2 # Floof - Witch
Gohei: 2
ClothingHeadHatRedRacoon: 2
ClothingOuterRedRacoon: 2
Expand Down Expand Up @@ -134,6 +137,7 @@
BarberScissors: 1
ClothingNeckBellCollar: 2
ClothingOuterUnathiRobe: 1
ClothingNeckCloakRedHood: 1 # Floofstation - Red Cloak
# Floofstation - Departmental Socks ect
ClothingUniformMusicianThong: 2
ClothingUnderSocksMusician: 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,52 @@
id: LoadoutServiceBartenderShotgunDoubleBarreledRubber
- type: loadout
id: LoadoutServiceBartenderMosinRubber
- type: loadout
id: LoadoutServiceBartenderArgentiNonlethal
- type: loadout
id: LoadoutServiceBartenderRepeaterNonlethal

- type: loadout # Floof
id: LoadoutServiceBartenderBoxMagnumRubber
category: JobsServiceBartender
cost: 0
exclusive: true
requirements:
- !type:CharacterItemGroupRequirement
group: LoadoutBartenderAmmo
- !type:CharacterJobRequirement
jobs:
- Bartender
items:
- MagazineBoxMagnumRubber

- type: loadout
id: LoadoutServiceBartenderArgentiNonlethal
category: JobsServiceBartender
cost: 0
exclusive: true
requirements:
- !type:CharacterItemGroupRequirement
group: LoadoutBartenderWeapon
- !type:CharacterJobRequirement
jobs:
- Bartender
items:
- WeaponRevolverArgentiNonlethal

- type: loadout
id: LoadoutServiceBartenderRepeaterNonlethal
category: JobsServiceBartender
cost: 0
exclusive: true
requirements:
- !type:CharacterItemGroupRequirement
group: LoadoutBartenderWeapon
- !type:CharacterJobRequirement
jobs:
- Bartender
items:
- WeaponSniperRepeaterNonlethal

#- type: characterItemGroup
# id: LoadoutBartenderEyes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,13 @@
coefficients:
Blunt: 0.50
Slash: 0.50
Piercing: 0.50
Piercing: 0.40
Radiation: 0.70
Caustic: 0.70
Heat: 0.70
Heat: 0.40
- type: ClothingSpeedModifier
walkModifier: 0.65
sprintModifier: 0.65
walkModifier: 0.60
sprintModifier: 0.60
- type: ToggleableClothing
clothingPrototype: ClothingHeadHelmetHardsuitCombatRiot

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,10 @@
map: [ "empty-icon" ]
# todo: add itemcomponent with inhandVisuals states using unused texture and animation assets in kinetic_accelerator.rsi
# todo: add clothingcomponent with clothingVisuals states using unused texture and animations assets in kinetic_accelerator.rsi
- type: StaticPrice
price: 270
- type: Construction #Frontier
graph: PKASawn #Frontier
node: start #Frontier
deconstructionTarget: null #Frontier
- type: Wieldable # Frontier
16 changes: 16 additions & 0 deletions Resources/Prototypes/Floof/Entities/Clothing/Head/hoods.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
- type: entity
parent: ClothingHeadBase
id: ClothingHeadHatHoodRedHood
name: Red Hood
description: A hood of a red cloak, made to keep the harsh light out of a traveler's eyes. Sometimes it sparkles in the light of the sun.
components:
- type: Sprite
sprite: Floof/Clothing/Head/Hoods/redhood.rsi
- type: Clothing
sprite: Floof/Clothing/Head/Hoods/redhood.rsi
- type: Tag
tags:
- WhitelistChameleon
- type: HideLayerClothing
slots:
- Hair
16 changes: 16 additions & 0 deletions Resources/Prototypes/Floof/Entities/Clothing/Neck/cloaks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
- type: entity
parent: ClothingNeckBase
id: ClothingNeckCloakRedHood
name: Red Cloak
description: A cloak made for travel and comfort. Slightly smells of cherry pie?
components:
- type: Sprite
sprite: Floof/Clothing/Neck/Cloaks/redhood.rsi
- type: ToggleableClothing
clothingPrototype: ClothingHeadHatHoodRedHood
requiredSlot:
- neck
slot: head
- type: ContainerContainer
containers:
toggleable-clothing: !type:ContainerSlot {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
- type: entity # From Upstream
parent: ClothingOuterBase
id: ClothingOuterSuitWitchRobes
name: witch robes
description: Magic is all about the spell power, ZE!
components:
- type: Sprite
sprite: Floof/Clothing/OuterClothing/Suits/witchrobe.rsi
- type: Clothing
sprite: Floof/Clothing/OuterClothing/Suits/witchrobe.rsi
1 change: 1 addition & 0 deletions Resources/Prototypes/Floof/Loadouts/Jobs/logistics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
- CargoTechnician
- SalvageSpecialist
- Quartermaster
- MailCarrier
items:
- ClothingNeckCollarLogi

Expand Down
15 changes: 15 additions & 0 deletions Resources/Prototypes/Floof/Loadouts/Jobs/service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,21 @@
jobs:
- Janitor

- type: loadout
id: LoadoutClothingNeckCloakJanitor
category: JobsServiceAUncategorized
cost: 2
exclusive: true
requirements:
- !type:CharacterJobRequirement
jobs:
- Janitor
- !type:CharacterPlaytimeRequirement
tracker: JobJanitor
min: 36000 # 10 hours
items:
- ClothingNeckCloakJanitor

#TO BE ADDED - Botanist
#TO BE ADDED - Reporter

Expand Down
11 changes: 11 additions & 0 deletions Resources/Prototypes/Floof/Loadouts/neck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,17 @@
- !type:CharacterItemGroupRequirement
group: LoadoutNeck2

- type: loadout
id: LoadoutItemsNeckRedHood
category: Neck
cost: 1
exclusive: true
items:
- ClothingNeckCloakRedHood
requirements:
- !type:CharacterItemGroupRequirement
group: LoadoutNeck2

# Generic collars
- type: loadout
id: LoadoutItemsNeckBlueCollar
Expand Down
10 changes: 10 additions & 0 deletions Resources/Prototypes/Floof/Loadouts/outerClothing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,13 @@
requirements:
- !type:CharacterItemGroupRequirement
group: LoadoutOuter2

- type: loadout
id: LoadoutClothingOuterSuitWitchRobes
category: Outer
cost: 1
items:
- ClothingOuterSuitWitchRobes
requirements:
- !type:CharacterItemGroupRequirement
group: LoadoutOuter2
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
- Flashlight
- ForensicBeltEquip
- HandLabeler
- Sidearm
- Folder

- type: entity
parent: ClothingBeltBase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@
equipDelay: 0.5
unequipDelay: 6
- type: HeadCage
- type: Tag
tags:
- ForensicBeltEquip

- type: entity
parent: ClothingHeadTinfoil
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
state: icon
- type: Item
sprite: Nyanotrasen/Objects/Weapons/Melee/anti_psychic_knife.rsi
storedSprite:
state: icon
sprite: Nyanotrasen/Objects/Weapons/Melee/anti_psychic_knife.rsi
- type: Tag
tags:
- ForensicBeltEquip
Expand Down
14 changes: 14 additions & 0 deletions Resources/Prototypes/SoundCollections/announcements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,17 @@
- /Audio/Announcements/RoundEnd/susguyeatscrew.ogg
- /Audio/Announcements/RoundEnd/this_drink.ogg
- /Audio/Announcements/RoundEnd/truth_imagination.ogg
- /Audio/Announcements/RoundEnd/oney.ogg
# Floof added sounds
- /Audio/Floof/Announcements/RoundEnd/bangindonk.ogg
- /Audio/Floof/Announcements/RoundEnd/haveabeautifultime.ogg
- /Audio/Floof/Announcements/RoundEnd/newroundsexy.ogg
- /Audio/Floof/Announcements/RoundEnd/seeyoulaterokay.ogg
- /Audio/Floof/Announcements/RoundEnd/dotheballsgo.ogg
- /Audio/Floof/Announcements/RoundEnd/filledwith.ogg
- /Audio/Floof/Announcements/RoundEnd/iknowwhat.ogg
- /Audio/Floof/Announcements/RoundEnd/iwishtherewassomethingmore.ogg
- /Audio/Floof/Announcements/RoundEnd/lottawords.ogg
- /Audio/Floof/Announcements/RoundEnd/theballsgothard.ogg
- /Audio/Floof/Announcements/RoundEnd/whatashame.ogg
- /Audio/Floof/Announcements/RoundEnd/TimeForANewRound.ogg
10 changes: 10 additions & 0 deletions Resources/Prototypes/_NF/Entities/Clothing/Neck/cloaks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
- type: entity
parent: ClothingNeckBase
id: ClothingNeckCloakJanitor
name: janitor's cloak
description: An exquisite cloak fitting for those who save the station from messes and slips. The unsung heroes who work thanklessly while we make a mess over the bar. Pure angels of patience and an iron will! ...It's also waterproof!
components:
- type: Sprite
sprite: _NF/Clothing/Neck/Cloaks/janitor.rsi
- type: Clothing
sprite: _NF/Clothing/Neck/Cloaks/janitor.rsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
- type: entity
id: WeaponProtoKineticAcceleratorSawn
parent: WeaponProtoKineticAcceleratorBase
name: sawn-off proto-kinetic accelerator
description: boundaries and rules are ment to be broken otherwise there will be no progress, but this thing here is a good argumant against that statement.
components:
- type: Sprite
sprite: _NF/Objects/Weapons/Guns/Basic/sawn_kinetic_accelerator.rsi
state: icon
- type: Item
sprite: _NF/Objects/Weapons/Guns/Basic/sawn_kinetic_accelerator.rsi
size: Small
shape:
- 0,0,1,0
- type: Gun
fireRate: 8
selectedMode: FullAuto
availableModes:
- FullAuto
minAngle: 41
maxAngle: 55
- type: Clothing
sprite: _NF/Objects/Weapons/Guns/Basic/sawn_kinetic_accelerator.rsi
- type: Construction
graph: PKASawn
node: pkasawn
deconstructionTarget: null
Loading

0 comments on commit 500c0e7

Please sign in to comment.