Add tethergun lathe recipe (#16551)

This commit is contained in:
metalgearsloth
2023-05-18 12:07:10 +10:00
committed by GitHub
parent 775258be52
commit 3c3762f2ee
3 changed files with 22 additions and 13 deletions

View File

@@ -247,7 +247,7 @@ public abstract class SharedTetherGunSystem : EntitySystem
_appearance.SetData(gunUid, TetherVisualsStatus.Key, false, appearance);
_appearance.SetData(gunUid, ToggleableLightVisuals.Enabled, false, appearance);
RemCompDeferred<TetheredComponent>(component.Tethered.Value);
RemComp<TetheredComponent>(component.Tethered.Value);
_blocker.UpdateCanMove(component.Tethered.Value);
component.Tethered = null;
Dirty(component);

View File

@@ -99,3 +99,12 @@
Steel: 1500
Plastic: 750
Plasma: 1000
- type: latheRecipe
id: WeaponTetherGun
result: WeaponTetherGun
completetime: 5
materials:
Steel: 500
Glass: 400
Silver: 100

View File

@@ -116,18 +116,6 @@
recipeUnlocks:
- TraversalDistorterMachineCircuitboard
- type: technology
id: GravityManipulation
name: research-technology-gravity-manipulation
icon:
sprite: Objects/Weapons/Guns/Launchers/tether_gun.rsi
state: base
discipline: Experimental
tier: 2
cost: 7500
recipeUnlocks:
- WeaponTetherGun
- type: technology
id: MobileAnomalyTech
name: research-technology-mobile-anomaly-tech
@@ -172,3 +160,15 @@
- SuperCapacitorStockPart
- SuperMatterBinStockPart
- PicoManipulatorStockPart
- type: technology
id: GravityManipulation
name: research-technology-gravity-manipulation
icon:
sprite: Objects/Weapons/Guns/Launchers/tether_gun.rsi
state: base
discipline: Experimental
tier: 3
cost: 10000
recipeUnlocks:
- WeaponTetherGun