Skip to content

Commit

Permalink
PORTING COMPLETE
Browse files Browse the repository at this point in the history
  • Loading branch information
VMSolidus committed Jun 10, 2024
1 parent 79e1110 commit 7675df8
Show file tree
Hide file tree
Showing 27 changed files with 557 additions and 1 deletion.
1 change: 1 addition & 0 deletions Resources/Locale/en-US/species/species.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ species-name-reptilian = Reptilian
species-name-slime = Slime Person
species-name-diona = Diona
species-name-arachnid = Arachnid
species-name-arachne = Arachne
species-name-moth = Moth Person
species-name-skeleton = Skeleton
species-name-vox = Vox
6 changes: 5 additions & 1 deletion Resources/Prototypes/Chemistry/metabolizer_types.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# If your species wants to metabolize stuff differently,
# If your species wants to metabolize stuff differently,
# you'll likely have to tag its metabolizers with something other than Human.

- type: metabolizerType
Expand Down Expand Up @@ -44,3 +44,7 @@
- type: metabolizerType
id: Arachnid
name: arachnid

- type: metabolizerType
id: Vampiric
name: vampiric
35 changes: 35 additions & 0 deletions Resources/Prototypes/Entities/Mobs/Player/arachne.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
- type: entity
save: false
name: Urist McArachne
parent: MobArachneBase
id: MobArachne
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: Respirator
damage:
types:
Asphyxiation: 1.0
damageRecovery:
types:
Asphyxiation: -1.0
- type: Alerts
- type: Actions
- type: Eye
- type: CameraRecoil
- type: Examiner
- type: CanHostGuardian
- type: NpcFactionMember
factions:
- NanoTrasen
- type: PotentialPsionic
223 changes: 223 additions & 0 deletions Resources/Prototypes/Entities/Mobs/Species/arachne.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,223 @@
- type: entity
save: false
name: Urist McArachne
parent: BaseMobHuman
id: MobArachneBase
abstract: true
components:
- type: Sprite
# Arachne are one of the species that needs a manual visual layers setup.
layers:
- map: [ "enum.HumanoidVisualLayers.LLeg" ]
sprite: Mobs/Species/arachne.rsi
state: spider_body
- map: [ "enum.HumanoidVisualLayers.Chest" ]
color: "#e8b59b"
sprite: Mobs/Species/Human/parts.rsi
state: torso_m
- map: [ "enum.HumanoidVisualLayers.RLeg" ]
sprite: Mobs/Species/arachne.rsi
state: spider_body_front
- map: [ "enum.HumanoidVisualLayers.Head" ]
color: "#e8b59b"
sprite: Mobs/Species/Human/parts.rsi
state: head_m
- map: [ "enum.HumanoidVisualLayers.Eyes" ]
color: "#008800"
sprite: Mobs/Species/eyes.rsi
state: eyes
- map: [ "enum.HumanoidVisualLayers.RArm" ]
color: "#e8b59b"
sprite: Mobs/Species/Human/parts.rsi
state: r_arm
- map: [ "enum.HumanoidVisualLayers.LArm" ]
color: "#e8b59b"
sprite: Mobs/Species/Human/parts.rsi
state: l_arm
- shader: StencilClear
sprite: Mobs/Species/Human/parts.rsi
state: l_leg
- shader: StencilMask
map: [ "enum.HumanoidVisualLayers.StencilMask" ]
sprite: Mobs/Customization/anytaur_masking_helpers.rsi
state: unisex_full
visible: false
- map: [ "jumpsuit" ]
- map: [ "enum.HumanoidVisualLayers.LHand" ]
color: "#e8b59b"
sprite: Mobs/Species/Human/parts.rsi
state: l_hand
- map: [ "enum.HumanoidVisualLayers.RHand" ]
color: "#e8b59b"
sprite: Mobs/Species/Human/parts.rsi
state: r_hand
- map: [ "enum.HumanoidVisualLayers.Handcuffs" ]
color: "#ffffff"
sprite: Objects/Misc/handcuffs.rsi
state: body-overlay-2
visible: false
- map: [ "id" ]
- map: [ "gloves" ]
- map: [ "shoes" ]
- map: [ "ears" ]
- map: [ "outerClothing" ]
- map: [ "eyes" ]
- map: [ "belt" ]
- map: [ "neck" ]
- map: [ "back" ]
- map: [ "enum.HumanoidVisualLayers.Hair" ]
state: bald
sprite: Mobs/Customization/human_hair.rsi
- map: [ "mask" ]
- map: [ "head" ]
- map: [ "pocket1" ]
- map: [ "pocket2" ]
- map: [ "enum.HumanoidVisualLayers.Tail" ]
sprite: Mobs/Customization/masking_helpers.rsi
state: none
visible: false
- map: [ "clownedon" ] # Dynamically generated
sprite: "Effects/creampie.rsi"
state: "creampie_human"
visible: false
- type: HumanoidAppearance
species: Arachne
- type: Fixtures
fixtures: # TODO: This needs a second fixture just for mob collisions.
fix1:
shape:
!type:PhysShapeCircle
radius: 0.40
density: 140
restitution: 0.0
mask:
- MobMask
layer:
- MobLayer
- type: Body
prototype: Arachne
requiredLegs: 8
- type: Damageable
damageContainer: HalfSpirit
damageModifierSet: HalfSpirit
- type: Speech
speechSounds: Alto
- type: Inventory
templateId: anytaur
- type: Tag
tags:
- CanPilot
- ShoesRequiredStepTriggerImmune
- DoorBumpOpener
- type: Bloodstream
bloodReagent: DemonsBlood
- type: BloodSucker
webRequired: true
- type: Arachne
- type: DamageVisuals
thresholds: [ 20, 40, 100 ]
targetLayers:
- "enum.HumanoidVisualLayers.Chest"
- "enum.HumanoidVisualLayers.Head"
- "enum.HumanoidVisualLayers.LArm"
- "enum.HumanoidVisualLayers.RArm"
- type: MovedByPressure
pressureResistance: 4
- type: Barotrauma
damage:
types:
Blunt: 0.05 #per second, scales with pressure and other constants. Reduced Damage. This allows medicine to heal faster than damage.
- type: MovementAlwaysTouching
- type: MovementSpeedModifier
baseWalkSpeed : 3.0
baseSprintSpeed : 5.0
- type: FireVisuals
sprite: Mobs/Effects/onfire.rsi
normalState: Generic_mob_burning
alternateState: arachne_standing
fireStackAlternateState: 3
- type: Spider
- type: IgnoreSpiderWeb

- type: entity
save: false
name: Urist McHands
parent: MobHumanDummy
id: MobArachneDummy
noSpawn: true
description: A dummy arachne meant to be used in character setup.
components:
- type: Sprite
layers:
- map: [ "enum.HumanoidVisualLayers.LLeg" ]
sprite: Mobs/Species/arachne.rsi
state: spider_body
- map: [ "enum.HumanoidVisualLayers.Chest" ]
color: "#e8b59b"
sprite: Mobs/Species/Human/parts.rsi
state: torso_m
- map: [ "enum.HumanoidVisualLayers.RLeg" ]
sprite: Mobs/Species/arachne.rsi
state: spider_body_front
- map: [ "enum.HumanoidVisualLayers.Head" ]
color: "#e8b59b"
sprite: Mobs/Species/Human/parts.rsi
state: head_m
- map: [ "enum.HumanoidVisualLayers.Eyes" ]
color: "#008800"
sprite: Mobs/Species/eyes.rsi
state: eyes
- map: [ "enum.HumanoidVisualLayers.RArm" ]
color: "#e8b59b"
sprite: Mobs/Species/Human/parts.rsi
state: r_arm
- map: [ "enum.HumanoidVisualLayers.LArm" ]
color: "#e8b59b"
sprite: Mobs/Species/Human/parts.rsi
state: l_arm
- shader: StencilClear
sprite: Mobs/Species/Human/parts.rsi
state: l_leg
- shader: StencilMask
map: [ "enum.HumanoidVisualLayers.StencilMask" ]
sprite: Mobs/Customization/anytaur_masking_helpers.rsi
state: unisex_full
visible: false
- map: [ "jumpsuit" ]
- map: [ "enum.HumanoidVisualLayers.LHand" ]
color: "#e8b59b"
sprite: Mobs/Species/Human/parts.rsi
state: l_hand
- map: [ "enum.HumanoidVisualLayers.RHand" ]
color: "#e8b59b"
sprite: Mobs/Species/Human/parts.rsi
state: r_hand
- map: [ "enum.HumanoidVisualLayers.Handcuffs" ]
color: "#ffffff"
sprite: Objects/Misc/handcuffs.rsi
state: body-overlay-2
visible: false
- map: [ "id" ]
- map: [ "gloves" ]
- map: [ "shoes" ]
- map: [ "ears" ]
- map: [ "outerClothing" ]
- map: [ "eyes" ]
- map: [ "belt" ]
- map: [ "neck" ]
- map: [ "back" ]
- map: [ "enum.HumanoidVisualLayers.Hair" ]
state: bald
sprite: Mobs/Customization/human_hair.rsi
- map: [ "mask" ]
- map: [ "head" ]
- map: [ "pocket1" ]
- map: [ "pocket2" ]
- map: [ "enum.HumanoidVisualLayers.Tail" ]
sprite: Mobs/Customization/masking_helpers.rsi
state: none
visible: false
- type: Inventory
templateId: anytaur
- type: HumanoidAppearance
species: Arachne
112 changes: 112 additions & 0 deletions Resources/Prototypes/InventoryTemplates/anytaur_inventory_template.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
- type: inventoryTemplate
id: anytaur
slots:
- name: jumpsuit
slotTexture: uniform
slotFlags: INNERCLOTHING
stripTime: 5
uiWindowPos: 0,2
strippingWindowPos: 0,2
displayName: Jumpsuit
- name: outerClothing
slotTexture: suit
slotFlags: OUTERCLOTHING
slotGroup: MainHotbar
stripTime: 6
uiWindowPos: 1,2
strippingWindowPos: 1,2
displayName: Suit
blacklist:
tags:
- FullBodyOuter
- name: gloves
slotTexture: gloves
slotFlags: GLOVES
uiWindowPos: 2,2
strippingWindowPos: 2,2
displayName: Gloves
- name: neck
slotTexture: neck
slotFlags: NECK
uiWindowPos: 0,1
strippingWindowPos: 0,1
displayName: Neck
- name: mask
slotTexture: mask
slotFlags: MASK
uiWindowPos: 1,1
strippingWindowPos: 1,1
displayName: Mask
- name: eyes
slotTexture: glasses
slotFlags: EYES
stripTime: 2
uiWindowPos: 0,0
strippingWindowPos: 0,0
displayName: Eyes
- name: ears
slotTexture: ears
slotFlags: EARS
stripTime: 2
uiWindowPos: 2,0
strippingWindowPos: 2,1
displayName: Ears
- name: head
slotTexture: head
slotFlags: HEAD
uiWindowPos: 1,0
strippingWindowPos: 1,0
displayName: Head
- name: pocket1
slotTexture: pocket
slotFlags: POCKET
slotGroup: MainHotbar
stripTime: 2
uiWindowPos: 0,3
strippingWindowPos: 0,3
dependsOn: jumpsuit
displayName: Pocket 1
stripHidden: true
- name: pocket2
slotTexture: pocket
slotFlags: POCKET
slotGroup: MainHotbar
stripTime: 2
uiWindowPos: 2,3
strippingWindowPos: 2,3
dependsOn: jumpsuit
displayName: Pocket 2
stripHidden: true
- name: suitstorage
slotTexture: suit_storage
slotFlags: SUITSTORAGE
stripTime: 2
uiWindowPos: 2,0
strippingWindowPos: 2,0
dependsOn: outerClothing
displayName: Suit Storage
- name: id
slotTexture: id
slotFlags: IDCARD
slotGroup: SecondHotbar
stripTime: 6
uiWindowPos: 2,1
strippingWindowPos: 2,4
dependsOn: jumpsuit
displayName: ID
- name: belt
slotTexture: belt
slotFlags: BELT
slotGroup: SecondHotbar
stripTime: 5
uiWindowPos: 3,1
strippingWindowPos: 1,3
displayName: Belt
- name: back
slotTexture: back
slotFlags: BACK
slotGroup: SecondHotbar
stripTime: 5
uiWindowPos: 3,0
strippingWindowPos: 0,4
displayName: Back
Loading

0 comments on commit 7675df8

Please sign in to comment.