Space cobra 1.1 (#20298)

* space cobra again

* didn't see

* fix

* Dirty

* space spider

* license

* component

* sprite update

* visibility

* fix

* fix visibility
This commit is contained in:
Nim
2023-12-07 03:25:57 +02:00
committed by GitHub
parent 88119c6469
commit 460bfdc73c
26 changed files with 296 additions and 11 deletions

View File

@@ -70,6 +70,18 @@
- type: Clothing
sprite: Clothing/Shoes/Misc/damedaneshoes.rsi
- type: entity
parent: ClothingShoesBase
id: ClothingShoesSnakeskinBoots
name: snakeskin boots
description: Boots made of high-class snakeskin, everyone around you will be jealous.
components:
- type: Sprite
sprite: Clothing/Shoes/Misc/snakeskin.rsi
- type: Clothing
sprite: Clothing/Shoes/Misc/snakeskin.rsi
- type: NoSlip
- type: entity
parent: [ClothingShoesBase, PowerCellSlotSmallItem]
id: ClothingShoesBootsSpeed

View File

@@ -238,6 +238,22 @@
- type: Sprite
layers:
- state: green
- state: spacespider
sprite: Mobs/Animals/spacespider.rsi
- type: ConditionalSpawner
prototypes:
- MobSpiderSpaceSalvage
- type: entity
name: Salvage Space Cobra Spawner
id: SpawnMobCobraSalvage
parent: MarkerBase
components:
- type: Sprite
layers:
- state: green
- state: spacecobra
sprite: Mobs/Animals/spacecobra.rsi
- type: ConditionalSpawner
prototypes:
- MobCobraSpaceSalvage

View File

@@ -372,7 +372,8 @@
- type: Sprite
layers:
- state: green
- state: ai
- state: shiva
sprite: Mobs/Pets/shiva.rsi
- type: ConditionalSpawner
prototypes:
- MobSpiderShiva
@@ -427,11 +428,26 @@
- type: Sprite
layers:
- state: green
- state: ai
- state: spacespider
sprite: Mobs/Animals/spacespider.rsi
- type: ConditionalSpawner
prototypes:
- MobSpiderSpace
- type: entity
name: Space Cobra Spawner
id: SpawnMobSpaceCobra
parent: MarkerBase
components:
- type: Sprite
layers:
- state: green
- state: spacecobra
sprite: Mobs/Animals/spacecobra.rsi
- type: ConditionalSpawner
prototypes:
- MobCobraSpace
- type: entity
name: Slimes Spawner Blue
id: SpawnMobAdultSlimesBlue

View File

@@ -254,16 +254,16 @@
damage:
types:
Piercing: 6
Poison: 2
Poison: 4
- type: SolutionContainerManager
solutions:
melee:
reagents:
- ReagentId: ChloralHydrate
Quantity: 60
Quantity: 80
- type: MeleeChemicalInjector
solution: melee
transferAmount: 3
transferAmount: 4
- type: ReplacementAccent
accent: xeno
- type: InteractionPopup
@@ -293,3 +293,108 @@
name: ghost-role-information-salvage-spider-name
description: ghost-role-information-salvage-spider-description
- type: SalvageMobRestrictions
- type: entity
name: space cobra
id: MobCobraSpace
parent: MobSpaceBasic
description: Long fangs and a glowing hood, and the alluring look begs to come closer.
components:
- type: Sprite
drawdepth: Mobs
sprite: Mobs/Animals/spacecobra.rsi
layers:
- map: [ "enum.DamageStateVisualLayers.Base" ]
state: spacecobra
- map: [ "enum.DamageStateVisualLayers.BaseUnshaded" ]
state: glow
shader: unshaded
- type: FootstepModifier
footstepSoundCollection:
collection: FootstepSnake
- type: MobThresholds
thresholds:
0: Alive
100: Dead
- type: Stamina
critThreshold: 150
- type: DamageStateVisuals
states:
Alive:
Base: spacecobra
BaseUnshaded: glow
Dead:
Base: dead_spacecobra
- type: Butcherable
spawned:
- id: FoodMeatSnake
amount: 2
- id: UraniumOre1
amount: 1
- id: ClothingShoesSnakeskinBoots
amount: 1
prob: 0.3
- type: Bloodstream
bloodMaxVolume: 200
bloodReagent: Cryoxadone
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeCircle
radius: 0.40
density: 120
mask:
- MobMask
layer:
- MobLayer
- type: MeleeWeapon
hidden: true
soundHit:
path: /Audio/Effects/bite.ogg
angle: 0
animation: WeaponArcBite
damage:
types:
Piercing: 6
Poison: 4
- type: SolutionContainerManager
solutions:
melee:
reagents:
- ReagentId: NorepinephricAcid
Quantity: 90
- type: MeleeChemicalInjector
solution: melee
transferAmount: 6
- type: ReplacementAccent
accent: xeno
- type: InteractionPopup
successChance: 0.2
interactSuccessString: petting-success-snake
interactFailureString: petting-failure-generic
- type: PointLight
radius: 1.1
energy: 1.5
color: "#4faffb"
- type: GhostRole
prob: 0.25
name: ghost-role-information-space-cobra-name
description: ghost-role-information-space-cobra-description
- type: Stealth
enabledOnDeath: false
maxVisibility: 1.2
- type: StealthOnMove
passiveVisibilityRate: -0.25
movementVisibilityRate: 0.25
- type: entity
id: MobCobraSpaceSalvage
parent: MobCobraSpace
suffix: "Salvage Ruleset"
components:
- type: GhostRole
prob: 0.25
name: ghost-role-information-salvage-cobra-name
description: ghost-role-information-salvage-cobra-description
- type: SalvageMobRestrictions

View File

@@ -416,7 +416,14 @@
- MobMask
layer:
- MobLayer
- type: FootstepModifier
footstepSoundCollection:
collection: FootstepSnake
- type: Tag
tags:
- DoorBumpOpener
- FootstepSound
- type: entity
name: space adder
parent: MobPurpleSnake

View File

@@ -507,6 +507,26 @@
- ReagentId: UncookedAnimalProteins
Quantity: 1
- type: entity
name: raw snake meat
parent: FoodMeatBase
id: FoodMeatSnake
description: A long piece of snake meat, hopefully not poisonous.
components:
- type: Tag
tags:
- Raw
- type: Sprite
state: snake
- type: SolutionContainerManager
solutions:
food:
reagents:
- ReagentId: UncookedAnimalProteins
Quantity: 10
- ReagentId: Toxin
Quantity: 2
- type: entity
name: raw xeno meat
# not raw since acid kills bacteria or something, same as xeno

View File

@@ -159,6 +159,13 @@
- /Audio/Effects/Footsteps/clownspiderstep1.ogg
- /Audio/Effects/Footsteps/clownspiderstep2.ogg
- type: soundCollection
id: FootstepSnake
files:
- /Audio/Effects/Footsteps/snake1.ogg
- /Audio/Effects/Footsteps/snake2.ogg
- /Audio/Effects/Footsteps/snake3.ogg
- type: soundCollection
id: FootstepBells
files: