blue blood now requires copper instead of iron to cure bloodloss (#20863)

* blue blood now requires copper instead of iron to cure bloodloss

* arachnid species now needs copper to cure bloodloss and copper pills added to medkits.

* fix puddlesystem proto

* remove the cool

* no longer uses hastag, instead uses custom heart organ and hasorgan.

* fix
This commit is contained in:
brainfood1183
2023-10-31 20:41:25 +00:00
committed by GitHub
parent 31d9956bd9
commit 15fc7b1e92
12 changed files with 103 additions and 17 deletions

View File

@@ -63,9 +63,9 @@ public sealed partial class PuddleSystem : SharedPuddleSystem
private const string Slime = "Slime"; private const string Slime = "Slime";
[ValidatePrototypeId<ReagentPrototype>] [ValidatePrototypeId<ReagentPrototype>]
private const string SpiderBlood = "SpiderBlood"; private const string CopperBlood = "CopperBlood";
private static string[] _standoutReagents = new[] { Blood, Slime, SpiderBlood }; private static string[] _standoutReagents = new[] { Blood, Slime, CopperBlood };
public static float PuddleVolume = 1000; public static float PuddleVolume = 1000;

View File

@@ -4,8 +4,8 @@ reagent-desc-blood = I hope this is ketchup.
reagent-name-slime = slime reagent-name-slime = slime
reagent-desc-slime = You thought this was gradient blood at first, but you were mistaken. reagent-desc-slime = You thought this was gradient blood at first, but you were mistaken.
reagent-name-spider-blood = blue blood reagent-name-hemocyanin-blood = blue blood
reagent-desc-spider-blood = Doesn't taste like blueberry juice. reagent-desc-hemocyanin-blood = Contains copper as opposed to iron which gives it a distinct blue color.
reagent-name-zombie-blood = zombie blood reagent-name-zombie-blood = zombie blood
reagent-desc-zombie-blood = Would not advise eating. Can be used to create an inoculation against the infection. reagent-desc-zombie-blood = Would not advise eating. Can be used to create an inoculation against the infection.

View File

@@ -94,7 +94,7 @@
- type: Metabolizer - type: Metabolizer
updateFrequency: 1.5 updateFrequency: 1.5
maxReagents: 2 maxReagents: 2
metabolizerTypes: [Animal] metabolizerTypes: [Arachnid]
groups: groups:
- id: Medicine - id: Medicine
- id: Poison - id: Poison

View File

@@ -11,7 +11,7 @@
reagents: reagents:
- ReagentId: Fat - ReagentId: Fat
Quantity: 3 Quantity: 3
- ReagentId: SpiderBlood - ReagentId: CopperBlood
Quantity: 10 Quantity: 10
- type: entity - type: entity
@@ -27,7 +27,7 @@
reagents: reagents:
- ReagentId: Fat - ReagentId: Fat
Quantity: 10 Quantity: 10
- ReagentId: SpiderBlood - ReagentId: CopperBlood
Quantity: 20 Quantity: 20
- type: entity - type: entity
@@ -43,7 +43,7 @@
reagents: reagents:
- ReagentId: Fat - ReagentId: Fat
Quantity: 5 Quantity: 5
- ReagentId: SpiderBlood - ReagentId: CopperBlood
Quantity: 10 Quantity: 10
- type: entity - type: entity

View File

@@ -0,0 +1,21 @@
- type: body
id: AnimalHemocyanin
name: "hemocyanin"
root: torso
slots:
torso:
part: TorsoAnimal
connections:
- legs
organs:
lungs: OrganAnimalLungs
stomach: OrganAnimalStomach
liver: OrganAnimalLiver
heart: OrganArachnidHeart
kidneys: OrganAnimalKidneys
legs:
part: LegsAnimal
connections:
- feet
feet:
part: FeetAnimal

View File

@@ -43,6 +43,7 @@
- id: Bloodpack - id: Bloodpack
- id: SyringeTranexamicAcid - id: SyringeTranexamicAcid
- id: PillCanisterIron - id: PillCanisterIron
- id: PillCanisterCopper
- id: PillCanisterBicaridine - id: PillCanisterBicaridine
- type: entity - type: entity

View File

@@ -36,3 +36,7 @@
- type: metabolizerType - type: metabolizerType
id: Moth id: Moth
name: moth name: moth
- type: metabolizerType
id: Arachnid
name: arachnid

View File

@@ -726,12 +726,15 @@
interactSuccessSpawn: EffectHearts interactSuccessSpawn: EffectHearts
- type: Bloodstream - type: Bloodstream
bloodMaxVolume: 50 bloodMaxVolume: 50
bloodReagent: CopperBlood
- type: Tag - type: Tag
tags: tags:
- VimPilot - VimPilot
- type: HTN - type: HTN
rootTask: rootTask:
task: RuminantCompound task: RuminantCompound
- type: Body
prototype: AnimalHemocyanin
- type: entity - type: entity
name: goat name: goat
@@ -1832,6 +1835,8 @@
- id: FoodMeatSpider - id: FoodMeatSpider
amount: 2 amount: 2
- type: CombatMode - type: CombatMode
- type: Body
prototype: AnimalHemocyanin
- type: MobThresholds - type: MobThresholds
thresholds: thresholds:
0: Alive 0: Alive
@@ -1869,9 +1874,13 @@
- type: IgnoreSpiderWeb - type: IgnoreSpiderWeb
- type: Bloodstream - type: Bloodstream
bloodMaxVolume: 150 bloodMaxVolume: 150
bloodReagent: SpiderBlood bloodReagent: CopperBlood
- type: Speech - type: Speech
speechVerb: Arachnid speechVerb: Arachnid
- type: Tag
tags:
- DoorBumpOpener
- FootstepSound
- type: entity - type: entity
name: tarantula name: tarantula
@@ -1921,10 +1930,6 @@
180: Dead 180: Dead
- type: Spider - type: Spider
webPrototype: SpiderWebClown webPrototype: SpiderWebClown
- type: Tag
tags:
- DoorBumpOpener
- FootstepSound
- type: MeleeWeapon - type: MeleeWeapon
angle: 0 angle: 0
animation: WeaponArcBite animation: WeaponArcBite

View File

@@ -20,7 +20,7 @@
baseDecayRate: 0.0125 # Read comment in hunger baseDecayRate: 0.0125 # Read comment in hunger
# Damage (Self) # Damage (Self)
- type: Bloodstream - type: Bloodstream
bloodReagent: SpiderBlood # would be cool if they had to drink copper instead of iron but that might just be more bloat to deal with. bloodReagent: CopperBlood
# Damage (Others) # Damage (Others)
- type: MeleeWeapon - type: MeleeWeapon
animation: WeaponArcClaw animation: WeaponArcClaw
@@ -109,6 +109,11 @@
sprite: "Effects/creampie.rsi" sprite: "Effects/creampie.rsi"
state: "creampie_arachnid" state: "creampie_arachnid"
visible: false visible: false
- type: Tag
tags:
- CanPilot
- FootstepSound
- DoorBumpOpener
- type: entity - type: entity
parent: BaseSpeciesDummy parent: BaseSpeciesDummy

View File

@@ -397,6 +397,19 @@
- ReagentId: Iron - ReagentId: Iron
Quantity: 10 Quantity: 10
- type: entity
name: copper pill (10u)
parent: Pill
id: PillCopper
components:
- type: SolutionContainerManager
solutions:
food:
maxVol: 20
reagents:
- ReagentId: Copper
Quantity: 10
- type: entity - type: entity
parent: PillCanister parent: PillCanister
id: PillCanisterIron id: PillCanisterIron
@@ -407,6 +420,16 @@
- id: PillIron - id: PillIron
amount: 5 amount: 5
- type: entity
parent: PillCanister
id: PillCanisterCopper
suffix: Copper, 5
components:
- type: StorageFill
contents:
- id: PillCopper
amount: 5
- type: entity - type: entity
name: kelotane pill (10u) name: kelotane pill (10u)
parent: Pill parent: Pill

View File

@@ -39,10 +39,10 @@
factor: 1.5 factor: 1.5
- type: reagent - type: reagent
id: SpiderBlood id: CopperBlood
name: reagent-name-spider-blood name: reagent-name-hemocyanin-blood
group: Biological group: Biological
desc: reagent-desc-spider-blood desc: reagent-desc-hemocyanin-blood
flavor: metallic flavor: metallic
color: "#162581" color: "#162581"
recognizable: true recognizable: true

View File

@@ -62,9 +62,21 @@
metabolismRate: 0.1 metabolismRate: 0.1
effects: effects:
- !type:HealthChange - !type:HealthChange
conditions:
- !type:OrganType
type: Arachnid
shouldHave: false
damage: damage:
types: types:
Poison: 0.1 Poison: 0.1
Medicine:
effects:
- !type:ModifyBloodLevel
condition:
- !type:OrganType
type: Arachnid
shouldHave: true
amount: 4
- type: reagent - type: reagent
id: Fluorine id: Fluorine
@@ -137,9 +149,24 @@
boilingPoint: 2862.0 boilingPoint: 2862.0
meltingPoint: 1538.0 meltingPoint: 1538.0
metabolisms: metabolisms:
Poison:
metabolismRate: 0.1
effects:
- !type:HealthChange
conditions:
- !type:OrganType
type: Arachnid
shouldHave: true
damage:
types:
Poison: 0.1
Medicine: Medicine:
effects: effects:
- !type:ModifyBloodLevel - !type:ModifyBloodLevel
condition:
- !type:OrganType
type: Arachnid
shouldHave: false
amount: 4 amount: 4
- type: reagent - type: reagent