[Tweak] Something about metabolism (#485)

* [Tweak] Something About Metabolism

* up1
This commit is contained in:
PuroSlavKing
2024-07-23 20:36:35 +03:00
committed by GitHub
parent 003452b8e1
commit 5a1f7baaa4
15 changed files with 86 additions and 19 deletions

View File

@@ -0,0 +1,6 @@
ent-OrganAnthroAnimalStomach = { ent-OrganHumanStomach }
.desc = { ent-OrganHumanStomach.desc }
ent-OrganAnthroAnimalLiver = { ent-OrganHumanLiver }
.desc = { ent-OrganHumanLiver.desc }
ent-OrganAnthroAnimalHeart = { ent-OrganHumanHeart }
.desc = { ent-OrganHumanHeart.desc }

View File

@@ -0,0 +1,2 @@
ent-SpawnMobGondola = спавнер Гондола
.desc = { ent-MarkerBase.desc }

View File

@@ -0,0 +1,2 @@
ent-MobGondola = Гондола
.desc = Не имея рук, он воплощает даосский принцип у-вэй (бездействия), а выражение его улыбающегося лица показывает его полное принятие мира таким, какой он есть.

View File

@@ -1,5 +1,7 @@
ent-FoodMeatGondola = сырое мясо Гондолы ent-FoodMeatGondola = { ent-FoodMeat }
.desc = Ты монстр. .desc = { ent-FoodMeat.desc }
.suffix = Гондола
ent-FoodMeatGondolaCooked = стейк из Гондолы ent-FoodMeatGondolaCooked = { ent-FoodMeatCooked }
.desc = Приготовленное мясо Гондолы... .desc = { ent-FoodMeatCooked.desc }
.suffix = Гондола

View File

@@ -0,0 +1 @@
metabolizer-type-anthropomorph-animal = Гуманоидное животное

View File

@@ -13,10 +13,10 @@
torso: torso:
part: TorsoReptilian part: TorsoReptilian
organs: organs:
heart: OrganAnimalHeart heart: OrganAnthroAnimalHeart # WD
lungs: OrganHumanLungs lungs: OrganHumanLungs
stomach: OrganReptilianStomach stomach: OrganAnthroAnimalStomach # WD
liver: OrganAnimalLiver liver: OrganAnthroAnimalLiver # WD
kidneys: OrganHumanKidneys kidneys: OrganHumanKidneys
connections: connections:
- right arm - right arm

View File

@@ -14,6 +14,10 @@
conditions: conditions:
- !type:OrganType - !type:OrganType
type: Human type: Human
- !type:Oxygenate # WD
conditions:
- !type:OrganType
type: AnthroAnimal
- !type:Oxygenate - !type:Oxygenate
conditions: conditions:
- !type:OrganType - !type:OrganType
@@ -450,6 +454,11 @@
conditions: conditions:
- !type:OrganType - !type:OrganType
type: Human type: Human
- !type:Oxygenate # WD
factor: 8
conditions:
- !type:OrganType
type: AnthroAnimal
- !type:Oxygenate - !type:Oxygenate
factor: 8 factor: 8
conditions: conditions:

View File

@@ -406,6 +406,8 @@
min: 1 min: 1
- !type:OrganType - !type:OrganType
type: Animal # Applying damage to the mobs with lower metabolism capabilities type: Animal # Applying damage to the mobs with lower metabolism capabilities
- !type:OrganType # WD
type: AnthroAnimal
damage: damage:
types: types:
Poison: 0.4 Poison: 0.4
@@ -416,6 +418,8 @@
min: 3 min: 3
- !type:OrganType - !type:OrganType
type: Animal type: Animal
- !type:OrganType # WD
type: AnthroAnimal
- type: reagent - type: reagent
id: Amatoxin id: Amatoxin
@@ -482,6 +486,9 @@
- !type:OrganType - !type:OrganType
type: Animal type: Animal
shouldHave: false shouldHave: false
- !type:OrganType # WD
type: AnthroAnimal
shouldHave: false
reagent: Protein reagent: Protein
type: Local type: Local
visualType: MediumCaution visualType: MediumCaution
@@ -493,11 +500,17 @@
- !type:OrganType - !type:OrganType
type: Animal type: Animal
shouldHave: false shouldHave: false
- !type:OrganType # WD
type: AnthroAnimal
shouldHave: false
- !type:HealthChange - !type:HealthChange
conditions: conditions:
- !type:OrganType - !type:OrganType
type: Animal type: Animal
shouldHave: false shouldHave: false
- !type:OrganType # WD
type: AnthroAnimal
shouldHave: false
damage: damage:
types: types:
Poison: 1 Poison: 1
@@ -506,6 +519,9 @@
- !type:OrganType - !type:OrganType
type: Animal type: Animal
shouldHave: true shouldHave: true
- !type:OrganType # WD
type: AnthroAnimal
shouldHave: true
reagent: Protein reagent: Protein
amount: 0.5 amount: 0.5
@@ -527,6 +543,8 @@
min: 1 min: 1
- !type:OrganType - !type:OrganType
type: Animal type: Animal
- !type:OrganType # WD
type: AnthroAnimal
damage: damage:
types: types:
Poison: 0.06 Poison: 0.06
@@ -569,6 +587,8 @@
min: 1 min: 1
- !type:OrganType - !type:OrganType
type: Animal type: Animal
- !type:OrganType # WD
type: AnthroAnimal
damage: damage:
types: types:
Poison: 0.06 Poison: 0.06

View File

@@ -0,0 +1,23 @@
- type: entity
parent: OrganHumanStomach
id: OrganAnthroAnimalStomach
noSpawn: true
components:
- type: Metabolizer
metabolizerTypes: [ AnthroAnimal ]
- type: entity
parent: OrganHumanLiver
id: OrganAnthroAnimalLiver
noSpawn: true
components:
- type: Metabolizer
metabolizerTypes: [ AnthroAnimal ]
- type: entity
parent: OrganHumanHeart
id: OrganAnthroAnimalHeart
noSpawn: true
components:
- type: Metabolizer
metabolizerTypes: [ AnthroAnimal ]

View File

@@ -18,10 +18,10 @@
- left leg - left leg
- right leg - right leg
organs: organs:
heart: OrganAnimalHeart heart: OrganAnthroAnimalHeart
lungs: OrganHumanLungs lungs: OrganHumanLungs
stomach: OrganReptilianStomach stomach: OrganAnthroAnimalStomach
liver: OrganAnimalLiver liver: OrganAnthroAnimalLiver
kidneys: OrganHumanKidneys kidneys: OrganHumanKidneys
right arm: right arm:
part: RightArmHuman part: RightArmHuman

View File

@@ -18,10 +18,10 @@
- left leg - left leg
- right leg - right leg
organs: organs:
heart: OrganHumanHeart heart: OrganAnthroAnimalHeart
lungs: OrganHumanLungs lungs: OrganHumanLungs
stomach: OrganHumanStomach stomach: OrganAnthroAnimalStomach
liver: OrganHumanLiver liver: OrganAnthroAnimalLiver
kidneys: OrganHumanKidneys kidneys: OrganHumanKidneys
right arm: right arm:
part: RightArmHuman part: RightArmHuman

View File

@@ -0,0 +1,3 @@
- type: metabolizerType
id: AnthroAnimal
name: metabolizer-type-anthropomorph-animal

View File

@@ -1,7 +1,7 @@
- type: entity - type: entity
parent: MarkerBase parent: MarkerBase
id: SpawnMobGondola id: SpawnMobGondola
name: спавнер Гондола name: Gondola spawner
components: components:
- type: Sprite - type: Sprite
layers: layers:

View File

@@ -6,8 +6,8 @@
- MobBloodstream - MobBloodstream
- MobFlammable - MobFlammable
id: MobGondola id: MobGondola
name: Гондола name: Gondola
description: Не имея рук, он воплощает даосский принцип у-вэй (бездействия), а выражение его улыбающегося лица показывает его полное принятие мира таким, какой он есть. description: Something about Jesus.
components: components:
- type: FloatingVisuals - type: FloatingVisuals
- type: RotationVisuals - type: RotationVisuals
@@ -19,10 +19,8 @@
- state: gondola_body_medium - state: gondola_body_medium
map: [ "enum.DamageStateVisualLayers.Base" ] map: [ "enum.DamageStateVisualLayers.Base" ]
color: "#6e4e40" color: "#6e4e40"
shader: unshaded
- state: gondola_moustache_large_short - state: gondola_moustache_large_short
map: [ "enum.DamageStateVisualLayers.BaseUnshaded" ] map: [ "enum.DamageStateVisualLayers.Base" ]
shader: unshaded
- type: RandomSprite - type: RandomSprite
available: available:
- enum.DamageStateVisualLayers.Base: - enum.DamageStateVisualLayers.Base:

View File

@@ -8,3 +8,4 @@
inventory: Drop inventory: Drop
revertOnDeath: true revertOnDeath: true
revertOnCrit: false revertOnCrit: false
duration: 900