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

@@ -95,9 +95,9 @@
id: Web # Very flammable, can be easily hacked and slashed, but shooting or hitting it is another story.
coefficients:
Blunt: 0.7
Slash: 2.0
Slash: 1.4
Piercing: 0.7
Heat: 3.0
Heat: 2.0
- type: damageModifierSet
id: Slime

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

View File

@@ -0,0 +1,134 @@
- type: inventoryTemplate
id: arachnid
slots:
- name: shoes
slotTexture: shoes
slotFlags: FEET
stripTime: 3
uiWindowPos: 1,3
strippingWindowPos: 1,3
displayName: Shoes
- name: jumpsuit
slotTexture: uniform
slotFlags: INNERCLOTHING
stripTime: 6
uiWindowPos: 0,2
strippingWindowPos: 0,2
displayName: Jumpsuit
- name: gloves
slotTexture: gloves
slotFlags: GLOVES
uiWindowPos: 2,2
strippingWindowPos: 2,2
displayName: Gloves
- name: neck
slotTexture: neck
slotFlags: NECK
uiWindowPos: 0,1
strippingWindowPos: 0,1
displayName: Neck
- name: mask
slotTexture: mask
slotFlags: MASK
uiWindowPos: 1,1
strippingWindowPos: 1,1
displayName: Mask
- name: eyes
slotTexture: glasses
slotFlags: EYES
stripTime: 3
uiWindowPos: 0,0
strippingWindowPos: 0,0
displayName: Eyes
- name: ears
slotTexture: ears
slotFlags: EARS
stripTime: 3
uiWindowPos: 2,0
strippingWindowPos: 2,0
displayName: Ears
- name: head
slotTexture: head
slotFlags: HEAD
uiWindowPos: 1,0
strippingWindowPos: 1,0
displayName: Head
- name: suitstorage
slotTexture: suit_storage
slotFlags: SUITSTORAGE
stripTime: 3
uiWindowPos: 2,0
strippingWindowPos: 2,5
dependsOn: outerClothing
displayName: Suit Storage
- name: id
slotTexture: id
slotFlags: IDCARD
slotGroup: SecondHotbar
stripTime: 6
uiWindowPos: 2,1
strippingWindowPos: 2,4
dependsOn: jumpsuit
displayName: ID
- name: belt
slotTexture: belt
slotFlags: BELT
slotGroup: SecondHotbar
stripTime: 6
uiWindowPos: 3,1
strippingWindowPos: 1,5
displayName: Belt
- name: back
slotTexture: back
slotFlags: BACK
slotGroup: SecondHotbar
stripTime: 6
uiWindowPos: 3,0
strippingWindowPos: 0,5
displayName: Back
- name: pocket4
slotTexture: web
slotFlags: POCKET
slotGroup: MainHotbar
stripTime: 3
uiWindowPos: 2,4
strippingWindowPos: 1,5
displayName: Pocket 4
- name: pocket3
slotTexture: web
slotFlags: POCKET
slotGroup: MainHotbar
stripTime: 3
uiWindowPos: 0,4
strippingWindowPos: 0,5
displayName: Pocket 3
- name: outerClothing
slotTexture: suit
slotFlags: OUTERCLOTHING
slotGroup: SecondHotbar
stripTime: 6
uiWindowPos: 1,2
strippingWindowPos: 1,2
displayName: Suit
- name: pocket1
slotTexture: pocket
slotFlags: POCKET
slotGroup: MainHotbar
stripTime: 3
uiWindowPos: 0,3
strippingWindowPos: 0,4
dependsOn: jumpsuit
displayName: Pocket 1
stripHidden: true
- name: pocket2
slotTexture: pocket
slotFlags: POCKET
slotGroup: MainHotbar
stripTime: 3
uiWindowPos: 2,3
strippingWindowPos: 1,4
dependsOn: jumpsuit
displayName: Pocket 2
stripHidden: true

View File

@@ -13,6 +13,9 @@
placementMode: SnapgridCenter
canRotate: false
canBuildInImpassable: false
entityWhitelist:
tags:
- SpiderCraft
conditions:
- !type:TileNotBlocked
@@ -31,6 +34,9 @@
placementMode: SnapgridCenter
canRotate: false
canBuildInImpassable: false
entityWhitelist:
tags:
- SpiderCraft
conditions:
- !type:TileNotBlocked
@@ -49,6 +55,9 @@
placementMode: SnapgridCenter
canRotate: false
canBuildInImpassable: false
entityWhitelist:
tags:
- SpiderCraft
conditions:
- !type:TileNotBlocked
@@ -66,6 +75,9 @@
objectType: Structure
placementMode: SnapgridCenter
canBuildInImpassable: false
entityWhitelist:
tags:
- SpiderCraft
- type: construction
name: web crate
@@ -82,6 +94,9 @@
placementMode: SnapgridCenter
canRotate: false
canBuildInImpassable: false
entityWhitelist:
tags:
- SpiderCraft
- type: construction
name: web door
@@ -97,5 +112,8 @@
objectType: Structure
placementMode: SnapgridCenter
canBuildInImpassable: false
entityWhitelist:
tags:
- SpiderCraft
conditions:
- !type:TileNotBlocked

View File

@@ -36,6 +36,12 @@
amount: 4
doAfter: 6
- to: shield
steps:
- material: WebSilk
amount: 12
doAfter: 6
# Deconstruction
- node: tile
entity: FloorTileItemWeb
@@ -51,3 +57,6 @@
- node: cloth
entity: MaterialCloth1
- node: shield
entity: WebShield

View File

@@ -6,6 +6,9 @@
targetNode: tile
category: construction-category-tiles
description: "Nice and smooth."
entityWhitelist:
tags:
- SpiderCraft
icon:
sprite: Objects/Tiles/web.rsi
state: icon
@@ -19,6 +22,9 @@
targetNode: coat
category: construction-category-clothing
description: "Surprisingly warm and durable."
entityWhitelist:
tags:
- SpiderCraft
icon:
sprite: Clothing/OuterClothing/WinterCoats/coatweb.rsi
state: icon
@@ -32,6 +38,9 @@
targetNode: jumpsuit
category: construction-category-clothing
description: "At least it's something."
entityWhitelist:
tags:
- SpiderCraft
icon:
sprite: Clothing/Uniforms/Jumpsuit/web.rsi
state: icon
@@ -45,6 +54,9 @@
targetNode: jumpskirt
category: construction-category-clothing
description: "At least it's something."
entityWhitelist:
tags:
- SpiderCraft
icon:
sprite: Clothing/Uniforms/Jumpskirt/web.rsi
state: icon
@@ -58,7 +70,26 @@
targetNode: cloth
category: construction-category-materials
description: "Feels just like cloth, strangely enough."
entityWhitelist:
tags:
- SpiderCraft
icon:
sprite: Objects/Materials/materials.rsi
state: cloth_3
objectType: Item
- type: construction
name: web shield
id: WebShield
graph: WebObjects
startNode: start
targetNode: shield
category: construction-category-clothing
description: "It's thick enough to handle a few blows, but probably not heat."
entityWhitelist:
tags:
- SpiderCraft
icon:
sprite: Objects/Weapons/Melee/web-shield.rsi
state: icon
objectType: Item

View File

@@ -972,6 +972,9 @@
- type: Tag
id: SpeedLoaderRifle
- type: Tag
id: SpiderCraft
- type: Tag
id: SpreaderIgnore