Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Foxes #192

Closed
wants to merge 5 commits into from
Closed

Foxes #192

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions Resources/Locale/en-US/markings/vulpkanin.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
marking-PawSocks-pawsocks = Paw socks
marking-PawSocks = Paw socks

marking-FoxTail-vulp_tail = Fox tail
marking-FoxTail = Fox tail

marking-FoxEar-vulp_ear = Fox ear (outer)
marking-FoxEar-vulp_ear_inner = Fox ear (inner)
marking-FoxEar = Fox ear (inner)

marking-WolfTail-wolf_tail = Wolf tail (base)
marking-WolfTail-wolf_tail_inner = Wolf tail (tip)
marking-WolfTail = Wolf tail (tip)

marking-FoxBelly-vulp_belly-torso = Fox belly
marking-FoxBelly = Fox belly

marking-FoxSnout-vulp_face = Fox snout
marking-FoxSnout = Fox snout

7 changes: 7 additions & 0 deletions Resources/Prototypes/Body/Organs/vulpkanin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
- type: entity
id: OrganHumanoidFoxStomach
parent: OrganAnimalStomach
noSpawn: true
components:
- type: Stomach
maxVolume: 50
190 changes: 190 additions & 0 deletions Resources/Prototypes/Body/Parts/vulpkanin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,190 @@
# TODO: Add descriptions (many)
# TODO BODY: Part damage
- type: entity
id: PartHumanoidFox
parent: BaseItem
name: "fox body part"
abstract: true
components:
- type: Damageable
damageContainer: Biological
- type: BodyPart
- type: ContainerContainer
containers:
bodypart: !type:Container
ents: []
- type: Tag
tags:
- Trash

- type: entity
id: TorsoHumanoidFox
name: "fox torso"
parent: PartHumanoidFox
components:
- type: Sprite
netsync: false
sprite: Mobs/Species/HumanoidFox/parts.rsi
state: "torso_m"
- type: Icon
sprite: Mobs/Species/HumanoidFox/parts.rsi
state: "torso_m"
- type: BodyPart
partType: Torso

- type: entity
id: HeadHumanoidFox
name: "fox head"
parent: PartHumanoidFox
components:
- type: Sprite
netsync: false
sprite: Mobs/Species/HumanoidFox/parts.rsi
state: "head_m"
- type: Icon
sprite: Mobs/Species/HumanoidFox/parts.rsi
state: "head_m"
- type: BodyPart
partType: Head
vital: true
- type: Input
context: "ghost"
- type: InputMover
- type: GhostOnMove
- type: Tag
tags:
- Head

- type: entity
id: LeftArmHumanoidFox
name: "left fox arm"
parent: PartHumanoidFox
components:
- type: Sprite
netsync: false
sprite: Mobs/Species/HumanoidFox/parts.rsi
state: "l_arm"
- type: Icon
sprite: Mobs/Species/HumanoidFox/parts.rsi
state: "l_arm"
- type: BodyPart
partType: Arm
symmetry: Left

- type: entity
id: RightArmHumanoidFox
name: "right fox arm"
parent: PartHumanoidFox
components:
- type: Sprite
netsync: false
sprite: Mobs/Species/HumanoidFox/parts.rsi
state: "r_arm"
- type: Icon
sprite: Mobs/Species/HumanoidFox/parts.rsi
state: "r_arm"
- type: BodyPart
partType: Arm
symmetry: Right

- type: entity
id: LeftHandHumanoidFox
name: "left fox hand"
parent: PartHumanoidFox
components:
- type: Sprite
netsync: false
sprite: Mobs/Species/HumanoidFox/parts.rsi
state: "l_hand"
- type: Icon
sprite: Mobs/Species/HumanoidFox/parts.rsi
state: "l_hand"
- type: BodyPart
partType: Hand
symmetry: Left

- type: entity
id: RightHandHumanoidFox
name: "right fox hand"
parent: PartHumanoidFox
components:
- type: Sprite
netsync: false
sprite: Mobs/Species/HumanoidFox/parts.rsi
state: "r_hand"
- type: Icon
sprite: Mobs/Species/HumanoidFox/parts.rsi
state: "r_hand"
- type: BodyPart
partType: Hand
symmetry: Right

- type: entity
id: LeftLegHumanoidFox
name: "left fox leg"
parent: PartHumanoidFox
components:
- type: Sprite
netsync: false
sprite: Mobs/Species/HumanoidFox/parts.rsi
state: "l_leg"
- type: Icon
sprite: Mobs/Species/HumanoidFox/parts.rsi
state: "l_leg"
- type: BodyPart
partType: Leg
symmetry: Left
- type: MovementBodyPart
walkSpeed : 3
sprintSpeed : 5

- type: entity
id: RightLegHumanoidFox
name: "right fox leg"
parent: PartHumanoidFox
components:
- type: Sprite
netsync: false
sprite: Mobs/Species/HumanoidFox/parts.rsi
state: "r_leg"
- type: Icon
sprite: Mobs/Species/HumanoidFox/parts.rsi
state: "r_leg"
- type: BodyPart
partType: Leg
symmetry: Right
- type: MovementBodyPart
walkSpeed : 3
sprintSpeed : 5

- type: entity
id: LeftFootHumanoidFox
name: "left fox foot"
parent: PartHumanoidFox
components:
- type: Sprite
netsync: false
sprite: Mobs/Species/HumanoidFox/parts.rsi
state: "l_foot"
- type: Icon
sprite: Mobs/Species/HumanoidFox/parts.rsi
state: "l_foot"
- type: BodyPart
partType: Foot
symmetry: Left

- type: entity
id: RightFootHumanoidFox
name: "right fox foot"
parent: PartHumanoidFox
components:
- type: Sprite
netsync: false
sprite: Mobs/Species/HumanoidFox/parts.rsi
state: "r_foot"
- type: Icon
sprite: Mobs/Species/HumanoidFox/parts.rsi
state: "r_foot"
- type: BodyPart
partType: Foot
symmetry: Right
49 changes: 49 additions & 0 deletions Resources/Prototypes/Body/Prototypes/vulpkanin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
- type: body
name: "vulpkanin"
id: HumanoidFoxes
root: torso
slots:
head:
part: HeadHumanoidFox
connections:
- torso
organs:
brain: OrganHumanBrain
eyes: OrganHumanEyes
torso:
part: TorsoHumanoidFox
organs:
heart: OrganAnimalHeart
lungs: OrganHumanLungs
stomach: OrganHumanoidFoxStomach
liver: OrganAnimalLiver
kidneys: OrganHumanKidneys
connections:
- left arm
- right arm
- left leg
- right leg
right arm:
part: RightArmHumanoidFox
connections:
- right hand
left arm:
part: LeftArmHumanoidFox
connections:
- left hand
right hand:
part: RightHandHumanoidFox
left hand:
part: LeftHandHumanoidFox
right leg:
part: RightLegHumanoidFox
connections:
- right foot
left leg:
part: LeftLegHumanoidFox
connections:
- left foot
right foot:
part: RightFootHumanoidFox
left foot:
part: LeftFootHumanoidFox
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
- type: marking
id: PawSocks
markingCategory: Overlay
bodyPart: RFoot #highest possible layer
speciesRestriction: [HumanoidFoxes]
sprites:
- sprite: Mobs/Customization/fox_markings.rsi
state: pawsocks

- type: marking
id: FoxTail
bodyPart: Tail
markingCategory: Tail
speciesRestriction: [HumanoidFoxes]
sprites:
- sprite: Mobs/Customization/fox_markings.rsi
state: vulp_tail

- type: marking
id: FoxEar
bodyPart: HeadTop
markingCategory: HeadTop
speciesRestriction: [HumanoidFoxes]
sprites:
- sprite: Mobs/Customization/fox_markings.rsi
state: vulp_ear
- sprite: Mobs/Customization/fox_markings.rsi
state: vulp_ear_inner

- type: marking
id: WolfTail
bodyPart: Tail
markingCategory: Tail
speciesRestriction: [HumanoidFoxes]
sprites:
- sprite: Mobs/Customization/fox_markings.rsi
state: wolf_tail
- sprite: Mobs/Customization/fox_markings.rsi
state: wolf_tail_inner

- type: marking
id: FoxBelly
bodyPart: Chest
markingCategory: Chest
speciesRestriction: [HumanoidFoxes]
sprites:
- sprite: Mobs/Customization/fox_markings.rsi
state: vulp_belly-torso

- type: marking
id: FoxSnout
bodyPart: Snout
markingCategory: Snout
speciesRestriction: [HumanoidFoxes]
sprites:
- sprite: Mobs/Customization/fox_markings.rsi
state: vulp_face
33 changes: 33 additions & 0 deletions Resources/Prototypes/Entities/Mobs/Player/vulpkanin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
- type: entity
save: false
name: Urist McFox
parent: BaseMobHumanoidFox
id: MobHumanoidFox
components:
- type: CombatMode
- type: InteractionPopup
successChance: 1
interactSuccessString: hugging-success-generic
interactSuccessSound: /Audio/Effects/thudswoosh.ogg
messagePerceivedByOthers: hugging-success-generic-others
- type: MindContainer
showExamineInfo: true
- type: Input
context: "human"
- type: MobMover
- type: InputMover
- type: Alerts
- type: Eye
- type: CameraRecoil
- type: Examiner
- type: CanHostGuardian
- type: NpcFactionMember
factions:
- NanoTrasen
- type: Respirator
damage:
types:
Asphyxiation: 1.0
damageRecovery:
types:
Asphyxiation: -1.0
Loading
Loading