]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Add tethergun lathe recipe (#16551)
authormetalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Thu, 18 May 2023 02:07:10 +0000 (12:07 +1000)
committerGitHub <noreply@github.com>
Thu, 18 May 2023 02:07:10 +0000 (12:07 +1000)
Content.Shared/Weapons/Misc/SharedTetherGunSystem.cs
Resources/Prototypes/Recipes/Lathes/devices.yml
Resources/Prototypes/Research/experimental.yml

index 67fb9904a777731cc8d2b994f46a9913ada5a7e9..f6d65c862de513abcb6a9a2001223a3b6b1c30a1 100644 (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);
index 24127c16bb9fdc6925171915f53e0a4ad3bcbff8..b0cb852142eb2ba394758b8839f6fa1f4ac9c57c 100644 (file)
     Steel: 1500
     Plastic: 750
     Plasma: 1000
+
+- type: latheRecipe
+  id: WeaponTetherGun
+  result: WeaponTetherGun
+  completetime: 5
+  materials:
+    Steel: 500
+    Glass: 400
+    Silver: 100
index f6f940a997ce97734266c43546c51db74f3c178f..5bc6c623c76d3de272af8cb74297ceb7d7d25277 100644 (file)
   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
   - 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