From 19e84ad4c1212cbbc5de05ec8e6de31aa9ec5610 Mon Sep 17 00:00:00 2001 From: Jabkas Date: Fri, 19 Apr 2024 16:35:12 +0300 Subject: [PATCH] - add: Uranium Mouse MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Просто по приколу --- .../Markers/Spawners/Conditional/timed.yml | 1 + .../Entities/Markers/Spawners/mobs.yml | 7 ++-- .../Prototypes/Entities/Mobs/NPCs/animals.yml | 34 +++++++++++++++++++ Resources/Prototypes/GameRules/events.yml | 2 ++ 4 files changed, 41 insertions(+), 3 deletions(-) diff --git a/Resources/Prototypes/Entities/Markers/Spawners/Conditional/timed.yml b/Resources/Prototypes/Entities/Markers/Spawners/Conditional/timed.yml index 26d4e3f1d2..050134adbb 100644 --- a/Resources/Prototypes/Entities/Markers/Spawners/Conditional/timed.yml +++ b/Resources/Prototypes/Entities/Markers/Spawners/Conditional/timed.yml @@ -56,6 +56,7 @@ - MobMouse - MobMouse1 - MobMouse2 + - MobMouseUranium # round ~90m # one spawner should only spawn ~5 mice for sanity reasons # therefore 18m diff --git a/Resources/Prototypes/Entities/Markers/Spawners/mobs.yml b/Resources/Prototypes/Entities/Markers/Spawners/mobs.yml index 214a19adff..756f490d08 100644 --- a/Resources/Prototypes/Entities/Markers/Spawners/mobs.yml +++ b/Resources/Prototypes/Entities/Markers/Spawners/mobs.yml @@ -16,6 +16,7 @@ - MobMouse - MobMouse1 - MobMouse2 + - MobMouseUranium - type: entity name: Cockroach Spawner @@ -778,8 +779,8 @@ - type: ConditionalSpawner prototypes: - MobPenguin - - + + - type: entity name: Hellspawn Spawner id: SpawnMobHellspawn @@ -793,7 +794,7 @@ - type: ConditionalSpawner prototypes: - MobHellspawn - + - type: entity name: ore crab spawner id: SpawnMobOreCrab diff --git a/Resources/Prototypes/Entities/Mobs/NPCs/animals.yml b/Resources/Prototypes/Entities/Mobs/NPCs/animals.yml index fcadccdc1a..515e3ea0ee 100644 --- a/Resources/Prototypes/Entities/Mobs/NPCs/animals.yml +++ b/Resources/Prototypes/Entities/Mobs/NPCs/animals.yml @@ -3226,3 +3226,37 @@ - type: ReplacementAccent accent: nymph +- type: entity + name: Uranium mouse + description: It's Cancer Mouse, everybody! + parent: MobMouse + id: MobMouseUranium + components: + - type: Sprite + color: LightGreen + - type: PointLight + color: LightGreen + radius: 5 + energy: 5 + netsync: false + - type: RadiationSource + intensity: 1 + - type: Bloodstream + bloodReagent: UnstableMutagen + - type: SolutionContainerManager + solutions: + food: + reagents: + - ReagentId: UncookedAnimalProteins + Quantity: 3 + - ReagentId: Uranium + Quantity: 10 + - type: Butcherable + spawned: + - id: FoodMeatRat + amount: 1 + - id: SheetUranium1 + amount: 1 + - type: Damageable + damageContainer: Biological + damageModifierSet: Zombie diff --git a/Resources/Prototypes/GameRules/events.yml b/Resources/Prototypes/GameRules/events.yml index 9915ef9a3d..dc926f9c76 100644 --- a/Resources/Prototypes/GameRules/events.yml +++ b/Resources/Prototypes/GameRules/events.yml @@ -198,6 +198,8 @@ prob: 0.02 - id: MobMouse2 prob: 0.02 + - id: MobMouseUranium + prob: 0.02 specialEntries: - id: SpawnPointGhostRatKing prob: 0.005