Fix drone hat offset (#6978)

This commit is contained in:
Leon Friedrich
2022-03-04 18:02:53 +13:00
committed by GitHub
parent 255865b7b7
commit 593f890b73
9 changed files with 39 additions and 17 deletions

View File

@@ -575,7 +575,7 @@
- type: SentienceTarget
flavorKind: primate
- type: Inventory
templateId: head
templateId: monkey
- type: Strippable
- type: UserInterface
interfaces:

View File

@@ -52,6 +52,7 @@
- type: Physics
bodyType: KinematicController
- type: Hands
showInHands: false
- type: Body
template: DroneTemplate
preset: DronePreset
@@ -77,7 +78,7 @@
- type: NameIdentifier
group: Drone
- type: Inventory
templateId: head
templateId: drone
- type: Strippable
- type: UserInterface
interfaces:
@@ -105,8 +106,6 @@
layers:
- state: shell
sprite: Mobs/Silicon/drone.rsi
- map: [ "head" ]
offset: 0, -0.45
- type: MovementIgnoreGravity
- type: Fixtures
fixtures:

View File

@@ -1,5 +1,5 @@
- type: inventoryTemplate
id: head
id: drone
slots:
- name: head
slotTexture: head
@@ -7,3 +7,4 @@
uiContainer: BottomLeft
uiWindowPos: 0,0
displayName: Head
offset: 0, -0.45

View File

@@ -0,0 +1,9 @@
- type: inventoryTemplate
id: monkey
slots:
- name: head
slotTexture: head
slotFlags: HEAD
uiContainer: BottomLeft
uiWindowPos: 0,0
displayName: Head