Твики (#491)

* Economy additions

* Tweak implant cooldowns

* Cult stuff

* Random appearance aspect nuke ops fix

* Auto shuttle enable on round end

* Holy water threshold
This commit is contained in:
Aviu00
2023-10-17 00:52:02 +09:00
committed by Aviu00
parent 007cf13a71
commit 0962aa2978
12 changed files with 68 additions and 22 deletions

View File

@@ -164,7 +164,10 @@ namespace Content.Server.VendingMachines
private void OnEmagged(EntityUid uid, VendingMachineComponent component, ref GotEmaggedEvent args)
{
// only emag if there are emag-only items
args.Handled = component.EmaggedInventory.Count > 0;
args.Handled = component.EmaggedInventory.Count > 0 || component.PriceMultiplier > 0; // WD EDIT START
component.PriceMultiplier = 0;
UpdateVendingMachineInterfaceState(uid, component);
// WD EDIT END
}
private void OnDamage(EntityUid uid, VendingMachineComponent component, DamageChangedEvent args)