[mob] Space Spider (#15744)

* Space Spider

* git name
This commit is contained in:
Nim
2023-04-26 09:51:40 +03:00
committed by GitHub
parent 4a83b792cc
commit 0eec1d8441
10 changed files with 229 additions and 0 deletions

View File

@@ -183,3 +183,15 @@
- type: ConditionalSpawner - type: ConditionalSpawner
prototypes: prototypes:
- MobKangarooSpaceSalvage - MobKangarooSpaceSalvage
- type: entity
name: Salvage Space Spider Spawner
id: SpawnMobSpiderSalvage
parent: MarkerBase
components:
- type: Sprite
layers:
- state: green
- type: ConditionalSpawner
prototypes:
- MobSpiderSpaceSalvage

View File

@@ -344,3 +344,16 @@
- type: ConditionalSpawner - type: ConditionalSpawner
prototypes: prototypes:
- MobBoxingKangaroo - MobBoxingKangaroo
- type: entity
name: Space Spider Spawner
id: SpawnMobSpaceSpider
parent: MarkerBase
components:
- type: Sprite
layers:
- state: green
- state: ai
- type: ConditionalSpawner
prototypes:
- MobSpiderSpace

View File

@@ -204,3 +204,104 @@
description: | description: |
Defend the loot inside the salvage wreck! Defend the loot inside the salvage wreck!
- type: SalvageMobRestrictions - type: SalvageMobRestrictions
- type: entity
name: space spider
id: MobSpiderSpace
parent: MobSpaceBasic
description: It's so glowing, it looks dangerous.
components:
- type: Sprite
drawdepth: Mobs
netsync: false
sprite: Mobs/Animals/spacespider.rsi
layers:
- map: [ "enum.DamageStateVisualLayers.Base" ]
state: spacespider
- map: [ "enum.DamageStateVisualLayers.BaseUnshaded" ]
state: glow
shader: unshaded
- type: MobThresholds
thresholds:
0: Alive
90: Critical
130: Dead
- type: Stamina
excess: 150
- type: DamageStateVisuals
states:
Alive:
Base: spacespider
BaseUnshaded: glow
Critical:
Base: spacespider_dead
Dead:
Base: spacespider_dead
- type: Butcherable
spawned:
- id: FoodMeatSpider
amount: 2
- id: EggSpider
amount: 1
prob: 0.5
- type: Bloodstream
bloodMaxVolume: 250
bloodReagent: Cryoxadone
- type: Fixtures
fixtures:
- shape:
!type:PhysShapeCircle
radius: 0.35
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: 2
- type: SolutionContainerManager
solutions:
melee:
reagents:
- ReagentId: ChloralHydrate
Quantity: 60
- type: MeleeChemicalInjector
solution: melee
transferAmount: 3
- type: ReplacementAccent
accent: xeno
- type: InteractionPopup
successChance: 0.20
interactSuccessString: petting-success-tarantula
interactFailureString: petting-failure-generic
- type: PointLight
radius: 1.2
energy: 2
color: "#4faffb"
- type: NoSlip
- type: IgnoreSpiderWeb
- type: GhostRole
prob: 0.30
name: space spider
description: |
Space spiders are just as aggressive as regular spiders, feed.
- type: entity
id: MobSpiderSpaceSalvage
parent: MobSpiderSpace
suffix: "Salvage Ruleset"
components:
- type: GhostRole
prob: 0.30
name: space spider on salvage wreck
description: |
Space spiders are just as aggressive as regular spiders, feed.
- type: SalvageMobRestrictions

View File

@@ -0,0 +1,23 @@
- type: entity
parent: BaseItem
id: EggSpider
name: egg spider
description: Is it a gemstone? Is it an egg? It looks expensive.
components:
- type: Sprite
sprite: Objects/Misc/eggspider.rsi
state: icon
- type: MeleeWeapon
damage:
types:
Blunt: 6
Structural: 2
animation: WeaponArcPunch
- type: Item
size: 5
- type: PointLight
radius: 1.5
energy: 3
color: "#4faffb"
- type: StaticPrice
price: 500

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@@ -0,0 +1,66 @@
{
"version": 1,
"size": {
"x": 32,
"y": 32
},
"license": "CC-BY-SA-3.0",
"copyright": "Taken from https://github.com/tgstation/tgstation/commit/53d1f1477d22a11a99c6c6924977cd431075761b, redone by Nimfar11",
"states": [
{
"name": "spacespider",
"directions": 4,
"delays": [
[
0.2,
0.2,
0.2
],
[
0.2,
0.2,
0.2
],
[
0.2,
0.2,
0.2
],
[
0.2,
0.2,
0.2
]
]
},
{
"name": "glow",
"directions": 4,
"delays": [
[
0.2,
0.2,
0.2
],
[
0.2,
0.2,
0.2
],
[
0.2,
0.2,
0.2
],
[
0.2,
0.2,
0.2
]
]
},
{
"name": "spacespider_dead"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 876 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 306 B

View File

@@ -0,0 +1,14 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Made by Nimfar11 (github) for SS14",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
}
]
}