Skip to content

Commit

Permalink
[Feature] They did surgery on a monkey (#927)
Browse files Browse the repository at this point in the history
* They did surgery on a monkey

* Update animals.yml

* Fix some things
  • Loading branch information
Roudenn authored Nov 23, 2024
1 parent bb3cc68 commit 4835c0a
Show file tree
Hide file tree
Showing 52 changed files with 1,072 additions and 155 deletions.
26 changes: 26 additions & 0 deletions Resources/Locale/ru-RU/backmen/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 = глаза животного
3 changes: 3 additions & 0 deletions Resources/Locale/ru-RU/backmen/species/species.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@ species-name-foxes = Лиса
species-name-oni = Они
species-name-felinid = Кошка
species-name-ArachneClassic = Арахна классическая
species-name-monkey = Обезьяна
species-name-kobold = Кобольд
namepreset-x-no-y = { $last }-но-{ $first }
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.
51 changes: 51 additions & 0 deletions Resources/Prototypes/Body/Prototypes/kobold.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Shitmed - this is just a copy of human body but with animal organs.
- type: body
id: Kobold
name: "Kobold"
root: torso
slots:
head:
part: HeadKobold
connections:
- torso
organs:
brain: OrganAnimalBrain
eyes: OrganAnimalEyes
torso:
part: TorsoKobold
connections:
- right arm
- left arm
- right leg
- left leg
- head
organs:
heart: OrganAnimalHeart
lungs: OrganAnimalLungs
stomach: OrganAnimalStomach
liver: OrganAnimalLiver
kidneys: OrganAnimalKidneys
right arm:
part: RightArmKobold
connections:
- right hand
left arm:
part: LeftArmKobold
connections:
- left hand
right hand:
part: RightHandKobold
left hand:
part: LeftHandKobold
right leg:
part: RightLegKobold
connections:
- right foot
left leg:
part: LeftLegKobold
connections:
- left foot
right foot:
part: RightFootKobold
left foot:
part: LeftFootKobold
Loading

0 comments on commit 4835c0a

Please sign in to comment.