From: deltanedas <39013340+deltanedas@users.noreply.github.com> Date: Fri, 15 Dec 2023 22:33:51 +0000 (+0000) Subject: let borgs wear hat (#22555) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=b4a6b0f5322bea285859105b9dff190978c452da;p=space-station-14.git let borgs wear hat (#22555) * let borgs wear hat * special borg offset * attack of the short people --------- Co-authored-by: deltanedas <@deltanedas:kde.org> --- diff --git a/Resources/Prototypes/Entities/Mobs/Cyborgs/base_borg_chassis.yml b/Resources/Prototypes/Entities/Mobs/Cyborgs/base_borg_chassis.yml index 56f49df391..1bf9d6e4bf 100644 --- a/Resources/Prototypes/Entities/Mobs/Cyborgs/base_borg_chassis.yml +++ b/Resources/Prototypes/Entities/Mobs/Cyborgs/base_borg_chassis.yml @@ -67,6 +67,8 @@ type: SiliconLawBoundUserInterface - key: enum.BorgUiKey.Key type: BorgBoundUserInterface + - key: enum.StrippingUiKey.Key + type: StrippableBoundUserInterface - type: ActivatableUI key: enum.BorgUiKey.Key - type: SiliconLawBound @@ -74,6 +76,10 @@ stunTime: 5 emagLaws: SyndicateStatic - type: IonStormTarget + - type: Strippable + - type: InventorySlots + - type: Inventory + templateId: borg - type: Hands showInHands: false - type: IntrinsicRadioReceiver diff --git a/Resources/Prototypes/Entities/Mobs/Cyborgs/borg_chassis.yml b/Resources/Prototypes/Entities/Mobs/Cyborgs/borg_chassis.yml index e0e1133770..eb6673fea2 100644 --- a/Resources/Prototypes/Entities/Mobs/Cyborgs/borg_chassis.yml +++ b/Resources/Prototypes/Entities/Mobs/Cyborgs/borg_chassis.yml @@ -65,6 +65,8 @@ - Science - type: AccessReader access: [["Cargo"], ["Salvage"], ["Command"], ["Research"]] + - type: Inventory + templateId: borgTall - type: entity id: BorgChassisEngineer @@ -106,6 +108,8 @@ - Science - type: AccessReader access: [["Engineering"], ["Command"], ["Research"]] + - type: Inventory + templateId: borgShort - type: entity id: BorgChassisJanitor @@ -147,6 +151,8 @@ - Science - type: AccessReader access: [["Service"], ["Command"], ["Research"]] + - type: Inventory + templateId: borgShort - type: entity id: BorgChassisMedical @@ -188,6 +194,8 @@ - Science - type: AccessReader access: [["Medical"], ["Command"], ["Research"]] + - type: Inventory + templateId: borgDutch - type: entity id: BorgChassisService @@ -229,3 +237,5 @@ - Science - type: AccessReader access: [["Service"], ["Command"], ["Research"]] + - type: Inventory + templateId: borgTall diff --git a/Resources/Prototypes/InventoryTemplates/borg.yml b/Resources/Prototypes/InventoryTemplates/borg.yml new file mode 100644 index 0000000000..9d7a3dddbd --- /dev/null +++ b/Resources/Prototypes/InventoryTemplates/borg.yml @@ -0,0 +1,47 @@ +- type: inventoryTemplate + id: borg + slots: + - name: head + slotTexture: head + slotFlags: HEAD + slotGroup: MainHotbar + uiWindowPos: 0,0 + strippingWindowPos: 0,0 + displayName: Head + offset: 0, -0.09375 + +- type: inventoryTemplate + id: borgShort + slots: + - name: head + slotTexture: head + slotFlags: HEAD + slotGroup: MainHotbar + uiWindowPos: 0,0 + strippingWindowPos: 0,0 + displayName: Head + offset: 0, -0.1875 + +- type: inventoryTemplate + id: borgTall + slots: + - name: head + slotTexture: head + slotFlags: HEAD + slotGroup: MainHotbar + uiWindowPos: 0,0 + strippingWindowPos: 0,0 + displayName: Head + +# taller than tall +- type: inventoryTemplate + id: borgDutch + slots: + - name: head + slotTexture: head + slotFlags: HEAD + slotGroup: MainHotbar + uiWindowPos: 0,0 + strippingWindowPos: 0,0 + displayName: Head + offset: 0, 0.09375