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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user