Skip to content

Commit

Permalink
Change height and fixtures radius (#2161)
Browse files Browse the repository at this point in the history
  • Loading branch information
Theywod authored Oct 28, 2024
1 parent dc0f6d8 commit 8453273
Show file tree
Hide file tree
Showing 10 changed files with 162 additions and 3 deletions.
23 changes: 23 additions & 0 deletions Resources/Prototypes/Entities/Mobs/Species/arachnid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,20 @@
spawned:
- id: FoodMeatSpider
amount: 5
# SS220-change-races-height begin
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeCircle
radius: 0.4
density: 185
restitution: 0.0
mask:
- MobMask
layer:
- MobLayer
# SS220-change-races-height end
- type: Reactive
reactions:
- reagents: [Water]
Expand Down Expand Up @@ -74,6 +88,11 @@
- type: TypingIndicator
proto: spider
- type: Sprite # I'd prefer if these maps were better. Insert map pun here.
# SS220-change-races-height begin
noRot: true
drawdepth: Mobs
scale: 1.16, 1.16
# SS220-change-races-height end
layers:
- map: [ "enum.HumanoidVisualLayers.Chest" ]
- map: [ "enum.HumanoidVisualLayers.Head" ]
Expand Down Expand Up @@ -128,6 +147,10 @@
id: MobArachnidDummy
categories: [ HideSpawnMenu ]
components:
# SS220-change-races-height begin
- type: Sprite
scale: 1.16, 1.16
# SS220-change-races-height end
- type: HumanoidAppearance
species: Arachnid

Expand Down
10 changes: 10 additions & 0 deletions Resources/Prototypes/Entities/Mobs/Species/diona.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
- type: Icon
sprite: Mobs/Species/Diona/parts.rsi
state: full
# SS220-change-races-height begin
- type: Sprite
noRot: true
drawdepth: Mobs
scale: 0.8, 0.8
# SS220-change-races-height end
- type: Body
prototype: Diona
requiredLegs: 2
Expand Down Expand Up @@ -130,6 +136,10 @@
id: MobDionaDummy
categories: [ HideSpawnMenu ]
components:
# SS220-change-races-height begin
- type: Sprite
scale: 0.8, 0.8
# SS220-change-races-height end
- type: HumanoidAppearance
species: Diona
- type: Inventory
Expand Down
2 changes: 1 addition & 1 deletion Resources/Prototypes/Entities/Mobs/Species/dwarf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
!type:PhysShapeCircle
radius: 0.35
# they r smaller
density: 120
density: 185 #SS220-change-races-height
restitution: 0.0
mask:
- MobMask
Expand Down
19 changes: 19 additions & 0 deletions Resources/Prototypes/Entities/Mobs/Species/moth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,20 @@
spawned:
- id: FoodMeat
amount: 5
# SS220-change-races-height begin
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeCircle
radius: 0.35
density: 185
restitution: 0.0
mask:
- MobMask
layer:
- MobLayer
# SS220-change-races-height end
- type: Bloodstream
bloodReagent: InsectBlood
#SS220-TweakDamageSpecies-Begin
Expand Down Expand Up @@ -84,6 +98,7 @@
- type: Sprite # sprite again because we want different layer ordering
noRot: true
drawdepth: Mobs
scale: 0.8, 0.8 #SS220-change-races-height
layers:
- map: [ "enum.HumanoidVisualLayers.Chest" ]
- map: [ "enum.HumanoidVisualLayers.Head" ]
Expand Down Expand Up @@ -142,6 +157,10 @@
id: MobMothDummy
categories: [ HideSpawnMenu ]
components:
# SS220-change-races-height begin
- type: Sprite
scale: 0.8, 0.8
# SS220-change-races-height end
- type: HumanoidAppearance
species: Moth
- type: Inventory
Expand Down
24 changes: 24 additions & 0 deletions Resources/Prototypes/Entities/Mobs/Species/reptilian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
- type: Icon
sprite: Mobs/Species/Reptilian/parts.rsi
state: full
# SS220-change-races-height begin
- type: Sprite
noRot: true
drawdepth: Mobs
scale: 1.13, 1.13
# SS220-change-races-height end
- type: Body
prototype: Reptilian
requiredLegs: 2
Expand All @@ -26,6 +32,20 @@
spawned:
- id: FoodMeatLizard
amount: 5
# SS220-change-races-height begin
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeCircle
radius: 0.40
density: 185
restitution: 0.0
mask:
- MobMask
layer:
- MobLayer
# SS220-change-races-height end
- type: LizardAccent
- type: Speech
speechSounds: Lizard
Expand Down Expand Up @@ -87,6 +107,10 @@
categories: [ HideSpawnMenu ]
description: A dummy reptilian meant to be used in character setup.
components:
# SS220-change-races-height begin
- type: Sprite
scale: 1.13, 1.13
# SS220-change-races-height end
- type: HumanoidAppearance
species: Reptilian
hideLayersOnEquip:
Expand Down
24 changes: 24 additions & 0 deletions Resources/Prototypes/Entities/Mobs/Species/slime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
- type: Icon
sprite: Mobs/Species/Slime/parts.rsi
state: full
# SS220-change-races-height begin
- type: Sprite
noRot: true
drawdepth: Mobs
scale: 0.8, 0.8
# SS220-change-races-height end
- type: Body
prototype: Slime
requiredLegs: 2
Expand Down Expand Up @@ -112,6 +118,20 @@
spawned:
- id: FoodMeatSlime
amount: 5
# SS220-change-races-height begin
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeCircle
radius: 0.35
density: 185
restitution: 0.0
mask:
- MobMask
layer:
- MobLayer
# SS220-change-races-height end
- type: Respirator
damage:
types:
Expand All @@ -137,6 +157,10 @@
id: MobSlimePersonDummy
categories: [ HideSpawnMenu ]
components:
# SS220-change-races-height begin
- type: Sprite
scale: 0.8, 0.8
# SS220-change-races-height end
- type: HumanoidAppearance
species: SlimePerson
- type: Inventory
Expand Down
23 changes: 23 additions & 0 deletions Resources/Prototypes/Entities/Mobs/Species/vox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,20 @@
spawned:
- id: FoodMeatChicken
amount: 5
# SS220-change-races-height begin
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeCircle
radius: 0.30
density: 160
restitution: 0.0
mask:
- MobMask
layer:
- MobLayer
# SS220-change-races-height end
- type: VoxAccent #SS220-Vox Accent
- type: Damageable
damageContainer: Biological
Expand All @@ -51,6 +65,11 @@
types:
Slash: 5 # Reduce?
- type: Sprite # Need to redefine the whole order to draw the tail over their gas tank
# SS220-change-races-height begin
noRot: true
drawdepth: Mobs
scale: 0.7, 0.7
# SS220-change-races-height end
layers:
- map: [ "enum.HumanoidVisualLayers.Chest" ]
- map: [ "enum.HumanoidVisualLayers.Head" ]
Expand Down Expand Up @@ -154,6 +173,10 @@
id: MobVoxDummy
categories: [ HideSpawnMenu ]
components:
# SS220-change-races-height begin
- type: Sprite
scale: 0.7, 0.7
# SS220-change-races-height end
- type: HumanoidAppearance
species: Vox
- type: Body
Expand Down
4 changes: 2 additions & 2 deletions Resources/Prototypes/SS220/Entities/Mobs/Species/felinid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
netsync: false
noRot: true
drawdepth: Mobs
scale: 0.8, 0.8
scale: 0.7, 0.7
layers:
- map: [ "enum.HumanoidVisualLayers.Chest" ]
- map: [ "enum.HumanoidVisualLayers.Head" ]
Expand Down Expand Up @@ -124,7 +124,7 @@
netsync: false
noRot: true
drawdepth: Mobs
scale: 1, 1
scale: 0.7, 0.7
layers:
# TODO BODY Turn these into individual body parts?
- map: [ "enum.HumanoidVisualLayers.Chest" ]
Expand Down
18 changes: 18 additions & 0 deletions Resources/Prototypes/SS220/Entities/Mobs/Species/tajaran.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
- type: Icon
sprite: SS220/Mobs/Species/Tajaran/parts.rsi
state: full
- type: Sprite
noRot: true
drawdepth: Mobs
scale: 0.9, 0.9
- type: Body
prototype: Tajaran
requiredLegs: 2
Expand Down Expand Up @@ -53,6 +57,18 @@
spawned:
- id: FoodMeat
amount: 5
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeCircle
radius: 0.35
density: 185
restitution: 0.0
mask:
- MobMask
layer:
- MobLayer
- type: Emoting
chatEmoteCooldown: 5.0
- type: Thirst
Expand Down Expand Up @@ -92,6 +108,8 @@
categories: [ HideSpawnMenu ]
description: A dummy Tajaran meant to be used in character setup.
components:
- type: Sprite
scale: 0.9, 0.9
- type: HumanoidAppearance
species: Tajaran
- type: Inventory
Expand Down
18 changes: 18 additions & 0 deletions Resources/Prototypes/SS220/Entities/Mobs/Species/vulpkanin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
- type: Icon
sprite: SS220/Mobs/Species/Vulpkanin/parts.rsi
state: full
- type: Sprite
noRot: true
drawdepth: Mobs
scale: 0.9, 0.9
- type: Body
prototype: Vulpkanin
requiredLegs: 2
Expand Down Expand Up @@ -44,6 +48,18 @@
spawned:
- id: FoodMeatHuman
amount: 5
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeCircle
radius: 0.35
density: 185
restitution: 0.0
mask:
- MobMask
layer:
- MobLayer
- type: MeleeWeapon
hidden: true
soundHit:
Expand All @@ -64,6 +80,8 @@
categories: [ HideSpawnMenu ]
description: A dummy vulpkanin meant to be used in character setup.
components:
- type: Sprite
scale: 0.9, 0.9
- type: HumanoidAppearance
species: Vulpkanin

Expand Down

0 comments on commit 8453273

Please sign in to comment.