-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/WarMechanic/Einstein-Engines
- Loading branch information
Showing
95 changed files
with
2,134 additions
and
2,780 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
Content.Server/Clothing/Systems/LoadoutSystem.Functions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
using JetBrains.Annotations; | ||
using Robust.Shared.Serialization.Manager; | ||
using Content.Shared.Clothing.Loadouts.Prototypes; | ||
using Content.Server.NPC.Components; | ||
using Content.Server.NPC.Systems; | ||
using Content.Server.NPC.HTN; | ||
using Content.Server.NPC; | ||
using Robust.Shared.Map; | ||
using System.Numerics; | ||
|
||
namespace Content.Server.Clothing.Systems; | ||
|
||
[UsedImplicitly] | ||
public sealed partial class LoadoutMakeFollower : LoadoutFunction | ||
{ | ||
public override void OnPlayerSpawn(EntityUid character, | ||
EntityUid loadoutEntity, | ||
IComponentFactory factory, | ||
IEntityManager entityManager, | ||
ISerializationManager serializationManager) | ||
{ | ||
var npc = entityManager.System<NPCSystem>(); | ||
var htn = entityManager.System<HTNSystem>(); | ||
if (!entityManager.TryGetComponent<HTNComponent>(loadoutEntity, out var hTNComponent)) | ||
return; | ||
|
||
npc.SetBlackboard(loadoutEntity, NPCBlackboard.FollowTarget, new EntityCoordinates(character, Vector2.Zero), hTNComponent); | ||
htn.Replan(hTNComponent); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
loadout-name-LoadoutBackpack = grey backpack (colorable) | ||
loadout-name-LoadoutBackpackDuffel = grey duffelbag (colorable) | ||
loadout-name-LoadoutBackpackSatchel = grey satchel (colorable) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
loadout-name-LoadoutHandsColorWhite = gloves (colorable) | ||
loadout-name-LoadoutHandsGlovesFingerlessWhite = fingerless gloves (colorable) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
loadout-description-LoadoutHeadBeaverHat = Gentlemen. | ||
loadout-description-LoadoutHeadTophat = A stylish black tophat. | ||
loadout-name-LoadoutHeadFedoraWhite = fedora (colorable) | ||
loadout-name-LoadoutHeadHatCowboyWhite = cowboy hat (colorable) | ||
loadout-name-LoadoutHeadHatMimesoft = baseball cap (colorable) | ||
loadout-name-LoadoutHeadHatMimesoftFlipped = baseball cap (colorable, flipped) | ||
loadout-name-LoadoutHeadHijabColorable = hijab (colorable) | ||
loadout-name-LoadoutHeadTurbanColorable = turban (colorable) | ||
loadout-name-LoadoutHeadKippahColorable = kippah (colorable) | ||
loadout-name-LoadoutHeadTinfoil = tinfoil hat (colorable) | ||
loadout-name-LoadoutHeadHatCowboyBountyHunter = bounty hunter hat (colorable) | ||
loadout-name-LoadoutHeadBandWhite = headband (colorable) | ||
loadout-name-LoadoutHeadBeretWhite = beret (colorable) | ||
loadout-name-LoadoutHeadPoppyWhite = hair flower (colorable) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
loadout-name-LoadoutMaskBandWhite = cloth mask (colorable) | ||
loadout-name-LoadoutMaskNeckGaiterWhite = neck gaiter (colorable) | ||
loadout-name-LoadoutMaskSterile = sterile mask (colorable) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
loadout-name-LoadoutNeckOldMantle = old mantle (colorable) | ||
loadout-name-LoadoutNeckUnathiMantle = unathi mantle (colorable) | ||
loadout-name-LoadoutNeckTieWhite = suit tie (colorable) | ||
loadout-name-LoadoutNeckBedsheetWhite = bedsheet (colorable) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
loadout-description-LoadoutOuterGhostSheet = Spooky... | ||
loadout-description-LoadoutOuterCoatBomberjacket = A sleek bomber jacket. | ||
loadout-description-LoadoutOuterCoatHoodieBlack = A warm hoodie. | ||
loadout-description-LoadoutOuterCoatHoodieGrey = A warm hoodie. | ||
loadout-description-LoadoutOuterCoatWinterCoat = For keeping nice and snug. | ||
loadout-name-LoadoutOuterCoatHoodieGrey = grey hoodie (colorable) | ||
loadout-name-LoadoutOuterCoatWinterCoat = winter coat (colorable) | ||
loadout-name-LoadoutOuterCoatHyenhSweater = sweater (colorable) | ||
loadout-name-LoadoutOuterWinterCoatLong = long winter coat (colorable) | ||
loadout-name-LoadoutOuterCoatMNKWhiteHoodie = MNK hoodie (colorable) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
loadout-description-LoadoutUniformAncientJumpsuit = The legend of the Greytide. | ||
loadout-name-LoadoutUniformJumpsuitColorWhite = jumpsuit (colorable) | ||
loadout-name-LoadoutUniformJumpskirtColorWhite = jumpskirt (colorable) | ||
loadout-name-LoadoutUniformMartialGi = gi (colorable) | ||
loadout-name-LoadoutClothingJumpsuitKimono = kimono (colorable) | ||
loadout-name-LoadoutClothingMNKOfficeSkirt = MNK office skirt (colorable) | ||
loadout-name-LoadoutClothingMNKUnderGarment = MNK under garment (colorable) | ||
loadout-name-LoadoutClothingMNKGymBra = MNK gym bra (colorable) | ||
loadout-name-LoadoutClothingJumpsuitSuitWhite = business suit (colorable) | ||
loadout-name-LoadoutClothingJumpsuitSuitWhiteAlt = business suit (alt, colorable) | ||
loadout-name-LoadoutClothingJumpsuitSuitWhiteMob = mob suit (colorable) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
Resources/Locale/en-US/loadouts/jobs/engineering/uncategorized.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
loadout-name-LoadoutEngineeringHeadHardhatWhite = hardhat (colorable) |
Oops, something went wrong.