Chem stuff and more (#584)

* - tweak: Ressurect meth and ephedrine.

* - add: Emag fun.

* - tweak: Fire bomb buff.

* - fix: Uplink loc.

* - tweak: Syringe.
This commit is contained in:
Aviu00
2024-08-08 09:07:40 +00:00
committed by GitHub
parent 9a9c9598e0
commit 3608960f5c
22 changed files with 111 additions and 41 deletions

View File

@@ -257,7 +257,7 @@ namespace Content.Server.VendingMachines
private void OnWithdrawMessage(EntityUid uid, VendingMachineComponent component, VendingMachineWithdrawMessage args)
{
_stackSystem.Spawn(component.Credits, PrototypeManager.Index(component.CreditStackPrototype),
_stackSystem.Spawn(component.Credits, PrototypeManager.Index(component.CreditStackPrototype),
Transform(uid).Coordinates);
component.Credits = 0;
Audio.PlayPvs(component.SoundWithdrawCurrency, uid);
@@ -583,7 +583,7 @@ namespace Content.Server.VendingMachines
if (!Resolve(uid, ref vendComponent))
return;
RestockInventoryFromPrototype(uid, vendComponent);
RestockInventoryFromPrototype(uid, vendComponent, false);
UpdateVendingMachineInterfaceState(uid, vendComponent);
TryUpdateVisualState(uid, vendComponent);