Skip to content

Commit

Permalink
[Feature] They did surgery on a monkey (space-syndicate#927)
Browse files Browse the repository at this point in the history
Also add faster go sleep when using nitrous oxide (for surgery being better when operating).

* They did surgery on a monkey

* Update animals.yml

* Fix some things
  • Loading branch information
Roudenn authored and TokenStyle committed Nov 24, 2024
1 parent 161c75f commit 07300d1
Show file tree
Hide file tree
Showing 54 changed files with 1,099 additions and 131 deletions.
26 changes: 26 additions & 0 deletions Resources/Locale/en-US/_corvaxnext/entities/bodyparts.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
ent-PartMonkey = monkey part
ent-TorsoMonkey = monkey torso
ent-HeadMonkey = monkey head
ent-LeftArmMonkey = monkey left arm
ent-RightArmMonkey = monkey right arm
ent-LeftHandMonkey = monkey left hand
ent-RightHandMonkey = monkey right hand
ent-LeftLegMonkey = monkey left leg
ent-RightLegMonkey = monkey right leg
ent-LeftFootMonkey = monkey left foot
ent-RightFootMonkey = monkey right foot
ent-PartKobold = kobold part
ent-TorsoKobold = kobold torso
ent-HeadKobold = kobold head
ent-LeftArmKobold = kobold left arm
ent-RightArmKobold = kobold right arm
ent-LeftHandKobold = kobold left hand
ent-RightHandKobold = kobold right hand
ent-LeftLegKobold = kobold left leg
ent-RightLegKobold = kobold right leg
ent-LeftFootKobold = kobold left foot
ent-RightFootKobold = kobold right foot
ent-OrganAnimalBrain = animal brain
ent-OrganAnimalEyes = animal eyes
2 changes: 2 additions & 0 deletions Resources/Locale/en-US/_corvaxnext/species/species.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
species-name-monkey = Monkey
species-name-kobold = Kobold
26 changes: 26 additions & 0 deletions Resources/Locale/ru-RU/_corvaxnext/entities/bodyparts.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
ent-PartMonkey = часть обезьяны
ent-TorsoMonkey = торс обезьяны
ent-HeadMonkey = голова обезьяны
ent-LeftArmMonkey = левая рука обезьяны
ent-RightArmMonkey = правая рука обезьяны
ent-LeftHandMonkey = левая ладонь обезьяны
ent-RightHandMonkey = правая ладонь обезьяны
ent-LeftLegMonkey = левая нога обезьяны
ent-RightLegMonkey = правая нога обезьяны
ent-LeftFootMonkey = левая стопа обезьяны
ent-RightFootMonkey = правая стопа обезьяны
ent-PartKobold = часть кобольда
ent-TorsoKobold = торс кобольда
ent-HeadKobold = голова кобольда
ent-LeftArmKobold = левая рука кобольда
ent-RightArmKobold = правая рука кобольда
ent-LeftHandKobold = левая ладонь кобольда
ent-RightHandKobold = правая ладонь кобольда
ent-LeftLegKobold = левая нога кобольда
ent-RightLegKobold = правая нога кобольда
ent-LeftFootKobold = левая стопа кобольда
ent-RightFootKobold = правая стопа кобольда
ent-OrganAnimalBrain = мозг животного
ent-OrganAnimalEyes = глаза животного
2 changes: 2 additions & 0 deletions Resources/Locale/ru-RU/_corvaxnext/species/species.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
species-name-monkey = Обезьяна
species-name-kobold = Кобольд
61 changes: 61 additions & 0 deletions Resources/Prototypes/Body/Organs/Animal/animal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,3 +171,64 @@
- type: Item
size: Small
heldPrefix: kidneys

- type: entity
id: OrganAnimalBrain
parent: BaseAnimalOrganUnGibbable
name: animal brain
description: "Not so intelligence, not so honk."
components:
- type: Sprite
state: brain
- type: Organ
slotId: brain # backmen: surgery
- type: Input
context: "ghost"
- type: Brain
- type: InputMover
- type: Examiner
- type: BlockMovement
- type: BadFood
- type: Tag
tags:
- Meat
- type: SolutionContainerManager
solutions:
organ:
reagents:
- ReagentId: Nutriment
Quantity: 10
food:
maxVol: 5
reagents:
- ReagentId: GreyMatter
Quantity: 5
- type: FlavorProfile
flavors:
- people
- type: FoodSequenceElement
entries:
Burger: Brain
Taco: Brain
- type: Item
size: Small
heldPrefix: brain

- type: entity
id: OrganAnimalEyes
parent: BaseAnimalOrgan
name: animal eyes
description: "I see you!"
components:
# start-backmen: surgery
- type: Organ
slotId: eyes
- type: Eyes
# end-backmen: surgery
- type: Sprite
layers:
- state: eyeball-l
- state: eyeball-r
- type: Item
size: Small
heldPrefix: eyeballs
119 changes: 119 additions & 0 deletions Resources/Prototypes/Body/Parts/Animal/kobold.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
# TODO: Add descriptions (many)

- type: entity
id: PartKobold
parent: [BaseItem, BasePart]
name: "Kobold body part"
abstract: true
components:
- type: Extractable
juiceSolution:
reagents:
- ReagentId: Fat
Quantity: 3
- ReagentId: Blood
Quantity: 10

- type: entity
id: TorsoKobold
name: "Kobold torso"
parent: [PartKobold, BaseTorso]
components:
- type: Sprite
sprite: Mobs/Animals/kobold.rsi
state: "torso_m"
- type: Extractable
juiceSolution:
reagents:
- ReagentId: Fat
Quantity: 10
- ReagentId: Blood
Quantity: 20

- type: entity
id: HeadKobold
name: "Kobold head"
parent: [PartKobold, BaseHead]
components:
- type: Sprite
sprite: Mobs/Animals/kobold.rsi
state: "head_m"
- type: Extractable
juiceSolution:
reagents:
- ReagentId: Fat
Quantity: 5
- ReagentId: Blood
Quantity: 10

- type: entity
id: LeftArmKobold
name: "left Kobold arm"
parent: [PartKobold, BaseLeftArm]
components:
- type: Sprite
sprite: Mobs/Animals/kobold.rsi
state: "l_arm"

- type: entity
id: RightArmKobold
name: "right Kobold arm"
parent: [PartKobold, BaseRightArm]
components:
- type: Sprite
sprite: Mobs/Animals/kobold.rsi
state: "r_arm"

- type: entity
id: LeftHandKobold
name: "left Kobold hand"
parent: [PartKobold, BaseLeftHand]
components:
- type: Sprite
sprite: Mobs/Animals/kobold.rsi
state: "l_hand"

- type: entity
id: RightHandKobold
name: "right Kobold hand"
parent: [PartKobold, BaseRightHand]
components:
- type: Sprite
sprite: Mobs/Animals/kobold.rsi
state: "r_hand"

- type: entity
id: LeftLegKobold
name: "left Kobold leg"
parent: [PartKobold, BaseLeftLeg]
components:
- type: Sprite
sprite: Mobs/Animals/kobold.rsi
state: "l_leg"

- type: entity
id: RightLegKobold
name: "right Kobold leg"
parent: [PartKobold, BaseRightLeg]
components:
- type: Sprite
sprite: Mobs/Animals/kobold.rsi
state: "r_leg"

- type: entity
id: LeftFootKobold
name: "left Kobold foot"
parent: [PartKobold, BaseLeftFoot]
components:
- type: Sprite
sprite: Mobs/Animals/kobold.rsi
state: "l_foot"

- type: entity
id: RightFootKobold
name: "right Kobold foot"
parent: [PartKobold, BaseRightFoot]
components:
- type: Sprite
sprite: Mobs/Animals/kobold.rsi
state: "r_foot"
119 changes: 119 additions & 0 deletions Resources/Prototypes/Body/Parts/Animal/monkey.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
# TODO: Add descriptions (many)

- type: entity
id: PartMonkey
parent: [BaseItem, BasePart]
name: "monkey body part"
abstract: true
components:
- type: Extractable
juiceSolution:
reagents:
- ReagentId: Fat
Quantity: 3
- ReagentId: Blood
Quantity: 10

- type: entity
id: TorsoMonkey
name: "monkey torso"
parent: [PartMonkey, BaseTorso]
components:
- type: Sprite
sprite: Mobs/Animals/monkey.rsi
state: "torso_m"
- type: Extractable
juiceSolution:
reagents:
- ReagentId: Fat
Quantity: 10
- ReagentId: Blood
Quantity: 20

- type: entity
id: HeadMonkey
name: "monkey head"
parent: [PartMonkey, BaseHead]
components:
- type: Sprite
sprite: Mobs/Animals/monkey.rsi
state: "head_m"
- type: Extractable
juiceSolution:
reagents:
- ReagentId: Fat
Quantity: 5
- ReagentId: Blood
Quantity: 10

- type: entity
id: LeftArmMonkey
name: "left monkey arm"
parent: [PartMonkey, BaseLeftArm]
components:
- type: Sprite
sprite: Mobs/Animals/monkey.rsi
state: "l_arm"

- type: entity
id: RightArmMonkey
name: "right monkey arm"
parent: [PartMonkey, BaseRightArm]
components:
- type: Sprite
sprite: Mobs/Animals/monkey.rsi
state: "r_arm"

- type: entity
id: LeftHandMonkey
name: "left monkey hand"
parent: [PartMonkey, BaseLeftHand]
components:
- type: Sprite
sprite: Mobs/Animals/monkey.rsi
state: "l_hand"

- type: entity
id: RightHandMonkey
name: "right monkey hand"
parent: [PartMonkey, BaseRightHand]
components:
- type: Sprite
sprite: Mobs/Animals/monkey.rsi
state: "r_hand"

- type: entity
id: LeftLegMonkey
name: "left monkey leg"
parent: [PartMonkey, BaseLeftLeg]
components:
- type: Sprite
sprite: Mobs/Animals/monkey.rsi
state: "l_leg"

- type: entity
id: RightLegMonkey
name: "right monkey leg"
parent: [PartMonkey, BaseRightLeg]
components:
- type: Sprite
sprite: Mobs/Animals/monkey.rsi
state: "r_leg"

- type: entity
id: LeftFootMonkey
name: "left monkey foot"
parent: [PartMonkey, BaseLeftFoot]
components:
- type: Sprite
sprite: Mobs/Animals/monkey.rsi
state: "l_foot"

- type: entity
id: RightFootMonkey
name: "right monkey foot"
parent: [PartMonkey, BaseRightFoot]
components:
- type: Sprite
sprite: Mobs/Animals/monkey.rsi
state: "r_foot"
File renamed without changes.
Loading

0 comments on commit 07300d1

Please sign in to comment.