From 460e61aa62d8bb777cc15fa0abb1eceffe2815a2 Mon Sep 17 00:00:00 2001 From: poeMota <142114334+poeMota@users.noreply.github.com> Date: Sat, 8 Jun 2024 18:57:36 +0300 Subject: [PATCH] Add new random spawners (#2224) Co-authored-by: poeMota --- .../entities/markers/spawners/animals.ftl | 2 + .../markers/spawners/random/contraband.ftl | 10 + .../markers/spawners/random/animals.ftl | 2 + .../markers/spawners/random/contraband.ftl | 10 + .../Markers/Spawners/Random/animals.yml | 51 +++++ .../Markers/Spawners/Random/contraband.yml | 176 ++++++++++++++++++ 6 files changed, 251 insertions(+) create mode 100644 Resources/Locale/en-US/ss14-ru/prototypes/corvax/entities/markers/spawners/animals.ftl create mode 100644 Resources/Locale/en-US/ss14-ru/prototypes/entities/markers/spawners/random/contraband.ftl create mode 100644 Resources/Locale/ru-RU/ss14-ru/prototypes/entities/markers/spawners/random/animals.ftl create mode 100644 Resources/Locale/ru-RU/ss14-ru/prototypes/entities/markers/spawners/random/contraband.ftl create mode 100644 Resources/Prototypes/Corvax/Entities/Markers/Spawners/Random/animals.yml create mode 100644 Resources/Prototypes/Corvax/Entities/Markers/Spawners/Random/contraband.yml diff --git a/Resources/Locale/en-US/ss14-ru/prototypes/corvax/entities/markers/spawners/animals.ftl b/Resources/Locale/en-US/ss14-ru/prototypes/corvax/entities/markers/spawners/animals.ftl new file mode 100644 index 00000000000..1ed643a2b97 --- /dev/null +++ b/Resources/Locale/en-US/ss14-ru/prototypes/corvax/entities/markers/spawners/animals.ftl @@ -0,0 +1,2 @@ +ent-AnimalRandomSpawner = random animal spawner + .desc = { ent-MarkerBase.desc } diff --git a/Resources/Locale/en-US/ss14-ru/prototypes/entities/markers/spawners/random/contraband.ftl b/Resources/Locale/en-US/ss14-ru/prototypes/entities/markers/spawners/random/contraband.ftl new file mode 100644 index 00000000000..2396139cd04 --- /dev/null +++ b/Resources/Locale/en-US/ss14-ru/prototypes/entities/markers/spawners/random/contraband.ftl @@ -0,0 +1,10 @@ +ent-LootSpawnerContrabandLow = contraband spawner + .suffix = Low Value + .desc = { ent-MarkerBase.desc } + +ent-LootSpawnerContraband = contraband spawner + .desc = { ent-MarkerBase.desc } + +ent-LootSpawnerContrabandHigh = contraband spawner + .suffix = High Value + .desc = { ent-MarkerBase.desc } diff --git a/Resources/Locale/ru-RU/ss14-ru/prototypes/entities/markers/spawners/random/animals.ftl b/Resources/Locale/ru-RU/ss14-ru/prototypes/entities/markers/spawners/random/animals.ftl new file mode 100644 index 00000000000..ee1d6aa40ad --- /dev/null +++ b/Resources/Locale/ru-RU/ss14-ru/prototypes/entities/markers/spawners/random/animals.ftl @@ -0,0 +1,2 @@ +ent-AnimalRandomSpawner = спавнер случайное животное + .desc = { ent-MarkerBase.desc } diff --git a/Resources/Locale/ru-RU/ss14-ru/prototypes/entities/markers/spawners/random/contraband.ftl b/Resources/Locale/ru-RU/ss14-ru/prototypes/entities/markers/spawners/random/contraband.ftl new file mode 100644 index 00000000000..675a8762dba --- /dev/null +++ b/Resources/Locale/ru-RU/ss14-ru/prototypes/entities/markers/spawners/random/contraband.ftl @@ -0,0 +1,10 @@ +ent-LootSpawnerContrabandLow = спавнер контрабанды + .suffix = Низкая ценность + .desc = { ent-MarkerBase.desc } + +ent-LootSpawnerContraband = спавнер контрабанды + .desc = { ent-MarkerBase.desc } + +ent-LootSpawnerContrabandHigh = спавнер контрабанды + .suffix = Высокая ценность + .desc = { ent-MarkerBase.desc } diff --git a/Resources/Prototypes/Corvax/Entities/Markers/Spawners/Random/animals.yml b/Resources/Prototypes/Corvax/Entities/Markers/Spawners/Random/animals.yml new file mode 100644 index 00000000000..23d44481582 --- /dev/null +++ b/Resources/Prototypes/Corvax/Entities/Markers/Spawners/Random/animals.yml @@ -0,0 +1,51 @@ +- type: entity + name: random animal spawner + id: AnimalRandomSpawner + parent: MarkerBase + components: + - type: Sprite + layers: + - state: green + - state: ai + - type: RandomSpawner + prototypes: + - MobBat + - MobBee + - MobChicken + - MobChicken1 + - MobChicken2 + - MobCockroach + - MobMothroach + - MobDuckMallard + - MobDuckWhite + - MobDuckBrown + - MobButterfly + - MobCow + - MobCrab + - MobGoat + - MobGoose + - MobGorilla + - MobKangaroo + - MobMonkey + - MobKobold + - MobMouse + - MobLizard + - MobSlug + - MobFrog + - MobParrot + - MobPenguin + - MobSnake + - MobPossum + - MobRaccoon + - MobFox + - MobCat + - MobCatCalico + - MobCatSpace + - MobCatCaracal + - MobCatKitten + - MobSloth + - MobFerret + - MobHamster + - MobPig + chance: 1 + offset: 0.0 diff --git a/Resources/Prototypes/Corvax/Entities/Markers/Spawners/Random/contraband.yml b/Resources/Prototypes/Corvax/Entities/Markers/Spawners/Random/contraband.yml new file mode 100644 index 00000000000..b2c8a78de32 --- /dev/null +++ b/Resources/Prototypes/Corvax/Entities/Markers/Spawners/Random/contraband.yml @@ -0,0 +1,176 @@ +- type: entity + name: contraband spawner + id: LootSpawnerContrabandLow + suffix: Low Value + parent: MarkerBase + components: + - type: Sprite + layers: + - state: red + - sprite: Objects/Fun/toys.rsi + state: synb + - type: RandomSpawner + rarePrototypes: + # Usefull non-contra loot + - ClothingHandsGlovesCombat + - ThievingGloves + - ClothingHeadHelmetCult + - ClothingOuterArmorCult + - DehydratedSpaceCarp + - ClothingOuterHardsuitSyndicate + - ClothingHeadHelmetSyndicate + - ClothingHeadHelmetSwatSyndicate + - ToolboxSyndicateFilled + - ClothingOuterVestWeb + - SyndicateJawsOfLife + - HappyHonkNukie + - CigPackSyndicate + - LanternFlash + rareChance: 0.2 + prototypes: + # Useless non-contra loot + - ClothingEyesGlassesOutlawGlasses + - ClothingHeadHatPirate + - ClothingUniformJumpsuitPirate + - ClothingHeadHatHoodCulthood + - ClothingOuterRobesCult + - ClothingShoesCult + # Useless non-contra syndie loot + - BalloonSyn + - ClothingUniformJumpsuitPyjamaSyndicateRed + - ClothingUniformJumpsuitPyjamaSyndicateBlack + - ClothingUniformJumpsuitPyjamaSyndicatePink + - ClothingHeadPyjamaSyndicateRed + - ClothingHeadPyjamaSyndicateBlack + - ClothingHeadPyjamaSyndicatePink + - ClothingHeadHatOutlawHat + - ClothingHeadHatSyndie + - ClothingMaskNeckGaiter + - ClothingOuterWinterSyndie + - ClothingHeadHatSyndieMAA + - ClothingOuterWinterSyndieCap + - ClothingOuterCoatSyndieCap + - ClothingUniformJumpsuitSyndieFormal + - ClothingUniformJumpskirtSyndieFormalDress + - ClothingUniformJumpsuitOperative + - ClothingUniformJumpskirtOperative + - ClothingNeckScarfStripedSyndieGreen + - ClothingNeckScarfStripedSyndieRed + - ClothingShoesBootsWinterSyndicate + - ClothingBeltSyndieHolster + - ToolboxSyndicate + chance: 0.8 + offset: 0.0 + + +- type: entity + name: contraband spawner + id: LootSpawnerContraband + parent: MarkerBase + components: + - type: Sprite + layers: + - state: red + - sprite: Objects/Fun/toys.rsi + state: synb + - type: RandomSpawner + rarePrototypes: + - RevolverCapGunFake + - ClothingShoesBootsMagSyndie + - ClothingHeadsetAltSyndicate + - Stimpack + - EncryptionKeySyndie + - SyndicateSpongeBox + - PenExplodingBox + - HypopenBox + - GatfruitSeeds + - EnergyDagger + - SupermatterGrenade + - WhiteholeGrenade + - HotPotato + - WeaponSniperMosin + - SpeedLoaderMagnumAP + rareChance: 0.2 + prototypes: + - CigPackSyndicate + - HappyHonkNukie + - LanternFlash + - CyberPen + - ClothingHandsGlovesBoxingRigged + - ClothingMaskGasSyndicate + - RubberStampSyndicate + - SoapSyndie + - DrinkNukieCan + - StimpackMini + - NukeDiskFake + - SyndicatePersonalAI + - Telecrystal1 + - SyndicateIDCard + - BaseUplinkRadio + - MagazinePistol + - MagazinePistolCaselessRifle + chance: 0.8 + offset: 0.0 + + +- type: entity + name: contraband spawner + id: LootSpawnerContrabandHigh + suffix: High Value + parent: MarkerBase + components: + - type: Sprite + layers: + - state: red + - sprite: Objects/Fun/toys.rsi + state: synb + - type: RandomSpawner + rarePrototypes: + - ClothingBackpackChameleonFill + - ToolboxElectricalTurretFilled + - EnergySword + - FireAxeFlaming + - HoloparasiteInjector + - StorageImplanter + - FreedomImplanter + - DnaScramblerImplanter + - MacroBombImplanter + - MicroBombImplanter + - Emag + - RadioJammer + - SyndicateBomb + - WeaponRevolverPythonAP + - ThrowingKnivesKit + - ExGrenade + - NocturineChemistryBottle + - ChameleonProjector + rareChance: 0.2 + prototypes: + - AgentIDCard + - Hypopen + - PenExploding + - StealthBox + - ClothingMaskGasVoiceChameleon + - ClothingShoesChameleonNoSlips + - ClothingHeadHatChameleon + - ClothingHeadsetChameleon + - ClothingOuterChameleon + - ClothingNeckChameleon + - ClothingMaskGasChameleon + - ClothingBackpackChameleon + - ClothingEyesChameleon + - ClothingHandsChameleon + - ClothingShoesChameleon + - ClothingUniformJumpsuitChameleon + - EncryptionKeySyndie + - SyndicateSpongeBox + - EnergyDagger + - EmpImplanter + - SyndieMiniBomb + - C4 + - EmpGrenade + - HotPotato + - Telecrystal5 + - BorgModuleSyndicateWeapon + chance: 0.8 + offset: 0.0