Implement magboots. (#2988)

Got an alert and action and everything.
This commit is contained in:
Pieter-Jan Briers
2021-01-11 19:24:09 +01:00
committed by GitHub
parent 32c14b0e51
commit 052ea49884
15 changed files with 380 additions and 23 deletions

View File

@@ -0,0 +1,13 @@
- type: itemAction
actionType: ToggleMagboots
icon: Clothing/Shoes/Boots/magboots.rsi/icon.png
iconOn: Clothing/Shoes/Boots/magboots.rsi/icon-on.png
name: "Toggle Magboots"
description: "Turn your magboots on."
filters:
- tools
keywords:
- atmos
- air
behaviorType: Toggle
behavior: !type:ToggleMagbootsAction { }

View File

@@ -15,6 +15,7 @@
- category: Temperature
- category: Hunger
- category: Thirst
- alertType: Magboots
- type: alert
alertType: LowOxygen

View File

@@ -0,0 +1,5 @@
- type: alert
alertType: Magboots
icon: { sprite: "/Textures/Clothing/Shoes/Boots/magboots.rsi", state: "icon-on" }
name: "Magboots"
description: You are immume to airflow, but slightly slower.

View File

@@ -1,15 +1,3 @@
- type: entity
parent: ClothingShoesBase
id: ClothingShoesBootsMag
name: magboots
description: Magnetic boots, often used during extravehicular activity to ensure the user remains safely attached to the vehicle.
components:
- type: Sprite
sprite: Clothing/Shoes/Boots/magboots.rsi
state: icon
- type: Clothing
sprite: Clothing/Shoes/Boots/magboots.rsi
- type: entity
parent: ClothingShoesBase
id: ClothingShoesBootsWork

View File

@@ -0,0 +1,15 @@
- type: entity
parent: ClothingShoesBase
id: ClothingShoesBootsMag
name: magboots
description: Magnetic boots, often used during extravehicular activity to ensure the user remains safely attached to the vehicle.
components:
- type: Sprite
sprite: Clothing/Shoes/Boots/magboots.rsi
state: icon
- type: Clothing
sprite: Clothing/Shoes/Boots/magboots.rsi
- type: Magboots
- type: ItemActions
actions:
- actionType: ToggleMagboots