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";
[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;

View File

@@ -4,8 +4,8 @@ reagent-desc-blood = I hope this is ketchup.
reagent-name-slime = slime
reagent-desc-slime = You thought this was gradient blood at first, but you were mistaken.
reagent-name-spider-blood = blue blood
reagent-desc-spider-blood = Doesn't taste like blueberry juice.
reagent-name-hemocyanin-blood = blue blood
reagent-desc-hemocyanin-blood = Contains copper as opposed to iron which gives it a distinct blue color.
reagent-name-zombie-blood = zombie blood
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
updateFrequency: 1.5
maxReagents: 2
metabolizerTypes: [Animal]
metabolizerTypes: [Arachnid]
groups:
- id: Medicine
- id: Poison

View File

@@ -11,7 +11,7 @@
reagents:
- ReagentId: Fat
Quantity: 3
- ReagentId: SpiderBlood
- ReagentId: CopperBlood
Quantity: 10
- type: entity
@@ -27,7 +27,7 @@
reagents:
- ReagentId: Fat
Quantity: 10
- ReagentId: SpiderBlood
- ReagentId: CopperBlood
Quantity: 20
- type: entity
@@ -43,7 +43,7 @@
reagents:
- ReagentId: Fat
Quantity: 5
- ReagentId: SpiderBlood
- ReagentId: CopperBlood
Quantity: 10
- 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: SyringeTranexamicAcid
- id: PillCanisterIron
- id: PillCanisterCopper
- id: PillCanisterBicaridine
- type: entity

View File

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

View File

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

View File

@@ -20,7 +20,7 @@
baseDecayRate: 0.0125 # Read comment in hunger
# Damage (Self)
- 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)
- type: MeleeWeapon
animation: WeaponArcClaw
@@ -109,6 +109,11 @@
sprite: "Effects/creampie.rsi"
state: "creampie_arachnid"
visible: false
- type: Tag
tags:
- CanPilot
- FootstepSound
- DoorBumpOpener
- type: entity
parent: BaseSpeciesDummy

View File

@@ -397,6 +397,19 @@
- ReagentId: Iron
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
parent: PillCanister
id: PillCanisterIron
@@ -407,6 +420,16 @@
- id: PillIron
amount: 5
- type: entity
parent: PillCanister
id: PillCanisterCopper
suffix: Copper, 5
components:
- type: StorageFill
contents:
- id: PillCopper
amount: 5
- type: entity
name: kelotane pill (10u)
parent: Pill

View File

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

View File

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