@@ -26,10 +26,10 @@ public abstract class SharedMagbootsSystem : EntitySystem
|
|||||||
SubscribeLocalEvent<MagbootsComponent, GetVerbsEvent<ActivationVerb>>(AddToggleVerb);
|
SubscribeLocalEvent<MagbootsComponent, GetVerbsEvent<ActivationVerb>>(AddToggleVerb);
|
||||||
SubscribeLocalEvent<MagbootsComponent, InventoryRelayedEvent<SlipAttemptEvent>>(OnSlipAttempt);
|
SubscribeLocalEvent<MagbootsComponent, InventoryRelayedEvent<SlipAttemptEvent>>(OnSlipAttempt);
|
||||||
SubscribeLocalEvent<MagbootsComponent, GetItemActionsEvent>(OnGetActions);
|
SubscribeLocalEvent<MagbootsComponent, GetItemActionsEvent>(OnGetActions);
|
||||||
SubscribeLocalEvent<MagbootsComponent, ToggleActionEvent>(OnToggleAction);
|
SubscribeLocalEvent<MagbootsComponent, ToggleMagbootsEvent>(OnToggleMagboots);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnToggleAction(EntityUid uid, MagbootsComponent component, ToggleActionEvent args)
|
private void OnToggleMagboots(EntityUid uid, MagbootsComponent component, ToggleMagbootsEvent args)
|
||||||
{
|
{
|
||||||
if (args.Handled)
|
if (args.Handled)
|
||||||
return;
|
return;
|
||||||
@@ -89,3 +89,5 @@ public abstract class SharedMagbootsSystem : EntitySystem
|
|||||||
args.Actions.Add(component.ToggleAction);
|
args.Actions.Add(component.ToggleAction);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public sealed class ToggleMagbootsEvent : InstantActionEvent {}
|
||||||
|
|||||||
@@ -243,7 +243,7 @@ uplink-hardsuit-syndie-name = Syndicate Hardsuit
|
|||||||
uplink-hardsuit-syndie-desc = The Syndicate's well known armored blood red hardsuit, capable of space walks and bullet resistant.
|
uplink-hardsuit-syndie-desc = The Syndicate's well known armored blood red hardsuit, capable of space walks and bullet resistant.
|
||||||
|
|
||||||
uplink-clothing-shoes-boots-mag-syndie-name = Blood-red Magboots
|
uplink-clothing-shoes-boots-mag-syndie-name = Blood-red Magboots
|
||||||
uplink-clothing-shoes-boots-mag-syndie-desc = A pair of magnetic boots that will keep you on the ground if the gravity fails or is sabotaged, giving you a mobility advantage. If activated with gravity they will protect from slips, but they will slow you down.
|
uplink-clothing-shoes-boots-mag-syndie-desc = A pair of boots that prevent slipping and, in zero gravity, allow you to move normally, at the cost of a slight slowdown. Additionally, they have jetpack functionality and come fueled, but don't last for long.
|
||||||
|
|
||||||
uplink-eva-syndie-name = Syndicate EVA Bundle
|
uplink-eva-syndie-name = Syndicate EVA Bundle
|
||||||
uplink-eva-syndie-desc = A simple EVA suit that offers no protection other than what's needed to survive in space.
|
uplink-eva-syndie-desc = A simple EVA suit that offers no protection other than what's needed to survive in space.
|
||||||
|
|||||||
@@ -1050,7 +1050,7 @@
|
|||||||
description: uplink-clothing-shoes-boots-mag-syndie-desc
|
description: uplink-clothing-shoes-boots-mag-syndie-desc
|
||||||
productEntity: ClothingShoesBootsMagSyndie
|
productEntity: ClothingShoesBootsMagSyndie
|
||||||
cost:
|
cost:
|
||||||
Telecrystal: 2
|
Telecrystal: 4
|
||||||
categories:
|
categories:
|
||||||
- UplinkArmor
|
- UplinkArmor
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
name: action-name-magboot-toggle
|
name: action-name-magboot-toggle
|
||||||
description: action-decription-magboot-toggle
|
description: action-decription-magboot-toggle
|
||||||
itemIconStyle: NoItem
|
itemIconStyle: NoItem
|
||||||
event: !type:ToggleActionEvent
|
event: !type:ToggleMagbootsEvent
|
||||||
- type: ClothingSpeedModifier
|
- type: ClothingSpeedModifier
|
||||||
walkModifier: 0.85
|
walkModifier: 0.85
|
||||||
sprintModifier: 0.8
|
sprintModifier: 0.8
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
name: action-name-magboot-toggle
|
name: action-name-magboot-toggle
|
||||||
description: action-decription-magboot-toggle
|
description: action-decription-magboot-toggle
|
||||||
itemIconStyle: NoItem
|
itemIconStyle: NoItem
|
||||||
event: !type:ToggleActionEvent
|
event: !type:ToggleMagbootsEvent
|
||||||
- type: ClothingSpeedModifier
|
- type: ClothingSpeedModifier
|
||||||
walkModifier: 1
|
walkModifier: 1
|
||||||
sprintModifier: 1
|
sprintModifier: 1
|
||||||
@@ -84,7 +84,7 @@
|
|||||||
parent: ClothingShoesBase
|
parent: ClothingShoesBase
|
||||||
id: ClothingShoesBootsMagSyndie
|
id: ClothingShoesBootsMagSyndie
|
||||||
name: blood-red magboots
|
name: blood-red magboots
|
||||||
description: Reverse-engineered magnetic boots that have a heavy magnetic pull. Property of Gorlex Marauders.
|
description: Reverse-engineered magnetic boots that have a heavy magnetic pull and integrated thrusters.
|
||||||
components:
|
components:
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Clothing/Shoes/Boots/magboots-syndicate.rsi
|
sprite: Clothing/Shoes/Boots/magboots-syndicate.rsi
|
||||||
@@ -98,11 +98,59 @@
|
|||||||
name: action-name-magboot-toggle
|
name: action-name-magboot-toggle
|
||||||
description: action-decription-magboot-toggle
|
description: action-decription-magboot-toggle
|
||||||
itemIconStyle: NoItem
|
itemIconStyle: NoItem
|
||||||
event: !type:ToggleActionEvent
|
event: !type:ToggleMagbootsEvent
|
||||||
- type: ClothingSpeedModifier
|
- type: ClothingSpeedModifier
|
||||||
walkModifier: 0.85
|
walkModifier: 0.95
|
||||||
sprintModifier: 0.8
|
sprintModifier: 0.9
|
||||||
enabled: false
|
enabled: false
|
||||||
|
- type: GasTank
|
||||||
|
toggleAction:
|
||||||
|
name: action-name-internals-toggle
|
||||||
|
description: action-description-internals-toggle
|
||||||
|
icon:
|
||||||
|
sprite: Interface/Alerts/internals.rsi
|
||||||
|
state: internal2
|
||||||
|
iconOn:
|
||||||
|
sprite: Interface/Alerts/internals.rsi
|
||||||
|
state: internal1
|
||||||
|
event: !type:ToggleActionEvent
|
||||||
|
useDelay: 1
|
||||||
|
outputPressure: 42.6
|
||||||
|
air:
|
||||||
|
# 2 minutes of thrust
|
||||||
|
volume: 0.75
|
||||||
|
temperature: 293.15
|
||||||
|
moles:
|
||||||
|
- 0.153853429 # oxygen
|
||||||
|
- 0.153853429 # nitrogen
|
||||||
|
- type: ActivatableUI
|
||||||
|
key: enum.SharedGasTankUiKey.Key
|
||||||
|
- type: UserInterface
|
||||||
|
interfaces:
|
||||||
|
- key: enum.SharedGasTankUiKey.Key
|
||||||
|
type: GasTankBoundUserInterface
|
||||||
|
- type: Explosive
|
||||||
|
explosionType: Default
|
||||||
|
maxIntensity: 20
|
||||||
|
- type: Jetpack
|
||||||
|
moleUsage: 0.00085
|
||||||
|
toggleAction:
|
||||||
|
icon:
|
||||||
|
sprite: Objects/Tanks/Jetpacks/blue.rsi
|
||||||
|
state: icon
|
||||||
|
iconOn:
|
||||||
|
sprite: Objects/Tanks/Jetpacks/blue.rsi
|
||||||
|
state: icon-on
|
||||||
|
name: action-name-jetpack-toggle
|
||||||
|
description: action-description-jetpack-toggle
|
||||||
|
useDelay: 1.0
|
||||||
|
event: !type:ToggleJetpackEvent
|
||||||
|
- type: InputMover
|
||||||
|
toParent: true
|
||||||
|
- type: MovementSpeedModifier
|
||||||
|
weightlessAcceleration: 1
|
||||||
|
weightlessFriction: 0.3
|
||||||
|
weightlessModifier: 1.2
|
||||||
- type: Tag
|
- type: Tag
|
||||||
tags:
|
tags:
|
||||||
- WhitelistChameleon
|
- WhitelistChameleon
|
||||||
|
|||||||
Reference in New Issue
Block a user