Skip to content

Commit

Permalink
Upstream+fixes (#266)
Browse files Browse the repository at this point in the history
* Cargo Hardsuit Market (#1024)

# Description

This PR adds several hardsuits to a new "hardsuits" category for the
cargo menu. This is part of an ongoing effort to provide reworks to
Salvage gameplay. This should pair quite well with merging Frontier's
changes to Salvage Expeditions, as well as a variety of other changes
I've been talking about. My theory is that if Expeditions are changed to
provide money rewards deposited directly to the station's account, then
Salvage can benefit the station by A: Providing station funds whether
they want to or not. And B: Be encouraged to do so because by getting
cargo a shitload of money, they will be able to directly buy the
equipment needed to go on higher tier expeditions. And to do this
without needing to gamble on wrecks for 2 hours straight, desperately
hoping you get the specific wreck that contains that security hardsuit.

<details><summary><h1>Media</h1></summary>
<p>


![image](https://github.com/user-attachments/assets/287aab37-e16a-4f59-8f8a-a1941aa2e908)

</p>
</details>

# Changelog

:cl:
- add: Logistics can now directly order a variety of hardsuits. "NT
In-Network" hardsuits being substantially cheaper thanks to backroom
deals.

---------

Signed-off-by: VMSolidus <[email protected]>
Co-authored-by: DEATHB4DEFEAT <[email protected]>

* Automatic Changelog Update (#1024)

* Resprites Service Uniforms & Adds Rolled Sleeve Variants (#1021)

# Description

This PR resprites the service uniforms with the Aurora variants, as well
as doing minor yaml cleanup for the base_clothinguniforms.yml

Aurora has 2-3 variants for service staff; based on which company
they're associated with. So far I've just picked the Nanotrasen variant,
because SS14 uses Nanotrasen.

My question is:
A) Should I port the extra uniforms and stick them in loadouts, for
variety & drip?
i) Should I keep the company names on these uniforms if I port them, or
should I keep it
     Nanotrasen?

This PR also removes in-hand variants; they're not supported in aurora
and it's not critical game info to see someone carrying a shirt & pants.

This PR similarly removes the animal variants; the Vox PR should have
displacement maps to support it.

---

# TODO

- [X] Bartender Jumpsuit
- [X] Bartender Vest
- [X] Bartender Hat

- [X] Janitor Jumpsuit
- [X] Chef Jumpsuit
- [X] Chef Freezer Jacket
- [X] Chef Hat

- [X] Botanist Uniform
- [x] Librarian Uniform 
^ Librarian Jumpsuit has been added with four extra variants, some
corporations who do not employ Librarians still have jumpsuit sprites.

---

<details><summary><h1>Media</h1></summary>
<p>

## Nanotrasen Bartender


![image](https://github.com/user-attachments/assets/f92b9dd2-43ee-4b90-9178-688041b1a47a)

![image](https://github.com/user-attachments/assets/1b363bb6-6243-4c36-b932-ac2068231502)

![image](https://github.com/user-attachments/assets/05fab0ba-f214-4e94-9767-b4b5bb150aca)

![image](https://github.com/user-attachments/assets/ed7941c5-630a-48a0-8825-4df3b1cd3585)

## Nanotrasen Chef


![image](https://github.com/user-attachments/assets/2df1dcfe-3999-499b-a6b5-8005b65ea1d0)

![image](https://github.com/user-attachments/assets/ecaa5b05-ac62-4c77-8420-8055637777e7)

![image](https://github.com/user-attachments/assets/bfb1864b-3dfc-4f9b-b6c1-be8b95bb80f6)

![image](https://github.com/user-attachments/assets/76c44aca-1014-4371-92c6-b3a0498c8b2d)

## Nanotrasen Botanist


![image](https://github.com/user-attachments/assets/f2569669-b862-4bfa-b9ad-4a44e4393eb2)

![image](https://github.com/user-attachments/assets/f3d56d27-11a9-4990-85f6-de53aa78ee31)

![image](https://github.com/user-attachments/assets/9018e2ee-6025-4a4d-ab85-f431423779aa)

![image](https://github.com/user-attachments/assets/8e0761ac-790f-4323-a34a-d51b7dcb6523)

## Nanotrasen Janitor


![image](https://github.com/user-attachments/assets/26bdae8d-dd5a-4653-9288-f4d0e22fbe2c)

![image](https://github.com/user-attachments/assets/6c5aee12-b4ed-4bdb-ab9c-dc7249724458)

![image](https://github.com/user-attachments/assets/da42d89c-e5ce-4f43-8a80-f9f09e68c4fc)

![image](https://github.com/user-attachments/assets/dc0bb874-2ed7-4c22-aa56-6e4adead87ac)

## Nanotrasen Librarian


![image](https://github.com/user-attachments/assets/a3c17db1-bfec-466a-9380-33a33cbfec57)

![image](https://github.com/user-attachments/assets/98687682-d743-41dd-9f27-4cd972ecc57f)

![image](https://github.com/user-attachments/assets/2fdb771d-8b77-421d-9d98-8b1e83b3cdb2)

![image](https://github.com/user-attachments/assets/3465c21e-7da5-4b80-9ed9-3ffbbb008f3b)

</p>
</details>

---

# Changelog

:cl: DangerRevolution
- add: Resprited basic Service Staff uniforms
- add: Add rolled sleeve variants for Service Staff uniforms.

* Automatic Changelog Update (#1021)

* Head of Security Equipment (#1031)

# Description

This PR adds a new "Head of Security's Antique Weapon Collection" item
group to loadouts, which fully replaces the weapons that were originally
map-specific entries for the Head of Security. Instead of whatever map
giving the HoS a unique weapon in his office(And thus, overloading him
with entirely too many guns), all of these weapons(And a few new ones)
have been placed in their own special loadout category for the HoS. The
HoS is entitled to a single free pick from any of these weapons.

Now here's the fun tradeoff. All of them are steal objectives. Since it
turns out the game will never give a steal objective to a traitor for an
item that doesn't exist, I can actually make steal objectives for items
obtainable only via Loadouts. Thus, all of the special weapons that the
HoS can spawn with can be targeted by traitors.

<details><summary><h1>Media</h1></summary>
<p>


![image](https://github.com/user-attachments/assets/f2a594aa-0aae-44b0-be5d-5bd926b43993)


![image](https://github.com/user-attachments/assets/71c77c17-4560-4e71-b078-26bd986de103)


![image](https://github.com/user-attachments/assets/191dd5a6-71ee-43db-bac3-35e7a64c6087)


![image](https://github.com/user-attachments/assets/2551aa8b-9f65-4335-9eb9-05fd5214fa28)


![image](https://github.com/user-attachments/assets/37f788bf-9313-4dda-81d8-ca3a06b3fd5f)

</p>
</details>

# Changelog

:cl:
- remove: The X-01 multiphase energy gun has been removed from the HoS
locker.
- add: A new Loadout Item Group, "Head of Security's Antique Weapon
Collection" has been added. Rather than being given a unique weapon by
whatever map creators put in the HoS Office, each Head of Security is
entitled to a single item selected from this new loadout category, free
of charge. But beware, whatever item chosen from this list may
potentially be used as a Steal Objective for traitors. You may have a
fancy new submachine gun, but it also makes you a target.
- add: antique Bulldog, antique C-20r submachine gun, x-01 multiphase
energy gun, antique energy sword, antique pulse pistol, antique Wt550,
and a pair of Katana Sheaths have all been added as loadout options for
the Head of Security.

* Automatic Changelog Update (#1031)

* Port a New Map: RadStation (#1034)

<!--
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]?
-->

this PR Port the RadStation map from Estação Pirata
RadStation is a map made by CRISO, ported from BeeStation from ss13 to
Estação Pirata, I made some updates to make the map playable on EE

---

# TODO

<!--
A list of everything you have to do before this PR is "complete"
You probably won't have to complete everything before merging but it's
good to leave future references
-->


---

<!--
This is default collapsed, readers click to expand it and see all your
media
The PR media section can get very large at times, so this is a good way
to keep it clean
The title is written using HTML tags
The title must be within the <summary> tags or you won't see it
-->

<details><summary><h1>Media</h1></summary>
<p>


![Rad-0](https://github.com/user-attachments/assets/f18cf403-4545-40f5-8fc7-d325707dfbef)


</p>
</details>

---

# 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:
- add: A map called "RadStation" has been added to rotation.
- add: A new Evac shuttle called "emergency_neol" has been added to
RadStation

* Automatic Changelog Update (#1034)

* Feat: Sleeping and Muzzle Block Vocal Emotes (#1037)

# Description
So you can actually muzzle a felinid to stop them from meowing. Or a
vulp from barking. Or a human from screaming. You get the point.

This muzzle part of this PR is a bit hardcode-y, but it's because the
muzzle simply adds a replacement accent to the entity instead of using
its own system to block speech.

<details><summary><h1>Media</h1></summary>
<p>


https://github.com/user-attachments/assets/0e5e4986-d2a0-471a-a119-579741265178

</p>
</details>

# Changelog
:cl:
- add: Sleeping and muzzled entities can no longer use vocal emotes
(scream, meow, etc).

* Automatic Changelog Update (#1037)

* Reapply "Custom Specie Name (#994)" (#256)

This reverts commit eda7a80.

* фиксы

* fix things

---------

Signed-off-by: VMSolidus <[email protected]>
Co-authored-by: VMSolidus <[email protected]>
Co-authored-by: DEATHB4DEFEAT <[email protected]>
Co-authored-by: SimpleStation Changelogs <[email protected]>
Co-authored-by: Danger Revolution! <[email protected]>
Co-authored-by: Ichaie <[email protected]>
Co-authored-by: Mnemotechnican <[email protected]>
  • Loading branch information
7 people authored Oct 12, 2024
1 parent b4a708c commit bec36fb
Show file tree
Hide file tree
Showing 215 changed files with 172,288 additions and 128 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test-secrets4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
jobs:
validate_rsis:
name: Validate RSIs
if: github.actor != 'PJBot' && github.event.pull_request.draft == false && github.actor != 'DeltaV-Bot' && github.actor != 'SimpleStation14' && github.actor != 'Lost-Paradise-Bot' && github.repository == 'Lost-Paradise-Project/Lost-Paradise'
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
Expand Down
6 changes: 6 additions & 0 deletions Content.Client/Preferences/UI/HumanoidProfileEditor.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@
ToolTip="{Loc 'humanoid-profile-editor-guidebook-button-tooltip'}"/>
<OptionButton Name="CSpeciesButton" HorizontalAlignment="Right" />
</BoxContainer>
<!-- Species -->
<BoxContainer Name="CCustomSpecieName" HorizontalExpand="True">
<Label Text="{Loc 'humanoid-profile-editor-customspeciename-label'}" />
<Control HorizontalExpand="True"/>
<LineEdit Name="CCustomSpecieNameEdit" MinSize="270 0" HorizontalAlignment="Right" />
</BoxContainer>
<!-- Age -->
<BoxContainer HorizontalExpand="True">
<Label Text="{Loc 'humanoid-profile-editor-age-label'}" />
Expand Down
30 changes: 30 additions & 0 deletions Content.Client/Preferences/UI/HumanoidProfileEditor.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ public sealed partial class HumanoidProfileEditor : BoxContainer

private LineEdit _ageEdit => CAgeEdit;
private LineEdit _nameEdit => CNameEdit;

private BoxContainer _ccustomspecienamecontainerEdit => CCustomSpecieName;
private LineEdit _customspecienameEdit => CCustomSpecieNameEdit;
private TextEdit? _flavorTextEdit;
private Button _nameRandomButton => CNameRandomize;
private Button _randomizeEverythingButton => CRandomizeEverything;
Expand Down Expand Up @@ -141,6 +144,12 @@ public HumanoidProfileEditor(IClientPreferencesManager preferencesManager, IProt

#endregion Name

#region Custom Specie Name

_customspecienameEdit.OnTextChanged += args => { SetCustomSpecieName(args.Text); };

#endregion CustomSpecieName

#region Appearance

CAppearance.Orphan();
Expand Down Expand Up @@ -208,6 +217,7 @@ public HumanoidProfileEditor(IClientPreferencesManager preferencesManager, IProt
SetSpecies(_speciesList[args.Id].ID);
UpdateHairPickers();
OnSkinColorOnValueChanged();
UpdateCustomSpecieNameEdit();
};

#endregion Species
Expand Down Expand Up @@ -1041,6 +1051,12 @@ private void SetName(string newName)
IsDirty = true;
}

private void SetCustomSpecieName(string customname)
{
Profile = Profile?.WithCustomSpeciesName(customname);
IsDirty = true;
}

private void SetSpawnPriority(SpawnPriorityPreference newSpawnPriority)
{
Profile = Profile?.WithSpawnPriorityPreference(newSpawnPriority);
Expand Down Expand Up @@ -1087,6 +1103,19 @@ private void UpdateNameEdit()
_nameEdit.Text = Profile?.Name ?? "";
}

private void UpdateCustomSpecieNameEdit()
{
if (Profile == null)
return;

_customspecienameEdit.Text = Profile.Customspeciename ?? "";

if (!_prototypeManager.TryIndex<SpeciesPrototype>(Profile.Species, out var speciesProto))
return;

_ccustomspecienamecontainerEdit.Visible = speciesProto.CustomName;
}

private void UpdateFlavorTextEdit()
{
if(_flavorTextEdit != null)
Expand Down Expand Up @@ -1371,6 +1400,7 @@ public void UpdateControls()
return;

UpdateNameEdit();
UpdateCustomSpecieNameEdit();
UpdateFlavorTextEdit();
UpdateSexControls();
UpdateGenderControls();
Expand Down
3 changes: 2 additions & 1 deletion Content.IntegrationTests/Tests/PostMapInitTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ public sealed class PostMapInitTest
"LPPNormandy", //LPP
"LPPPebble", //LPP
"LPPSubmarine", //LPP
"Gax"
"Gax",
"Rad"
};

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ private static HumanoidCharacterProfile CharlieCharlieson()
"The biggest boy around.",
"Human",
"Eugene", // LPP-TTS
"",
1,
1,
21,
Expand Down
Loading

0 comments on commit bec36fb

Please sign in to comment.