Arachnid 2: Episode 2 (#19984)

* Shield

* minor sprite changes and buffs

* structure buff

* Crafting stuff

* tweaks

* 88-88

* Better web pocket sprites.

* yeah it's fine now.
This commit is contained in:
PixelTK
2023-11-08 20:18:52 +00:00
committed by GitHub
parent b360391795
commit 52af546267
25 changed files with 375 additions and 30 deletions

View File

@@ -11,13 +11,30 @@
- type: HumanoidAppearance
species: Arachnid
- type: Hunger
baseDecayRate: 0.0125 # Spiders have slow metabolisms all things considered, so I decided to just make their hunger drain slower.
starvationDamage:
types:
Cold: 0.5
Bloodloss: 0.5
- type: Thirst
baseDecayRate: 0.0125 # Read comment in hunger
- type: Sericulture
action: ActionSericulture
productionLength: 2
entityProduced: MaterialWebSilk1
hungerCost: 4 # Should total to 25 total silk on full hunger
- type: Tag
tags:
- CanPilot
- FootstepSound
- DoorBumpOpener
- SpiderCraft
- type: Perishable
- type: Butcherable
butcheringType: Spike
spawned:
- id: FoodMeatSpider
amount: 5
- type: Inventory
templateId: arachnid
# Damage (Self)
- type: Bloodstream
bloodReagent: CopperBlood
@@ -27,20 +44,8 @@
soundHit:
collection: AlienClaw
damage:
types: # Realisically this is more like 5 slash
Slash: 4
# Fun
- type: Sericulture
action: ActionSericulture
productionLength: 3
entityProduced: MaterialWebSilk1
hungerCost: 9 # Should total to 12 total silk on full hunger
- type: Perishable
- type: Butcherable
butcheringType: Spike
spawned:
- id: FoodMeatSpider
amount: 5
types:
Slash: 5
# Visual & Audio
- type: DamageVisuals
damageOverlayGroups:
@@ -93,7 +98,7 @@
- map: [ "neck" ]
- map: [ "back" ]
- map: [ "enum.HumanoidVisualLayers.FacialHair" ]
- map: [ "enum.HumanoidVisualLayers.Hair" ]
- map: [ "enum.HumanoidVisualLayers.Hair" ] # Do these need to be here? (arachnid hair arachnid hair)
- map: [ "enum.HumanoidVisualLayers.HeadSide" ]
- map: [ "enum.HumanoidVisualLayers.HeadTop" ]
- map: [ "mask" ]
@@ -109,11 +114,6 @@
sprite: "Effects/creampie.rsi"
state: "creampie_arachnid"
visible: false
- type: Tag
tags:
- CanPilot
- FootstepSound
- DoorBumpOpener
- type: entity
parent: BaseSpeciesDummy

View File

@@ -222,6 +222,59 @@
min: 1
max: 2
- type: entity
name: web shield
parent: BaseShield
id: WebShield
description: A stringy shield. It's weak, and doesn't seem to do well against heat.
components:
- type: Sprite
sprite: Objects/Weapons/Melee/web-shield.rsi
state: icon
- type: Item
sprite: Objects/Weapons/Melee/web-shield.rsi
heldPrefix: icon
- type: Blocking
passiveBlockModifier:
coefficients:
Blunt: 0.95
Slash: 0.95
Piercing: 0.95
activeBlockModifier:
coefficients:
Blunt: 0.85
Slash: 0.85
Piercing: 0.85
flatReductions:
Blunt: 0.5
Slash: 0.5
Piercing: 0.5
- type: Construction
graph: WebObjects
node: shield
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 40
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 20
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:SpawnEntitiesBehavior
spawn:
MaterialWebSilk:
min: 1
max: 1
- !type:PlaySoundBehavior
sound:
path: /Audio/Effects/woodhit.ogg
#Magic/Cult Shields (give these to wizard for now)
- type: entity

View File

@@ -966,6 +966,9 @@
MaterialWebSilk:
min: 1
max: 1
- !type:PlaySoundBehavior
sound:
path: /Audio/Effects/woodhit.ogg
- type: IconSmooth
key: walls
base: wall