[CHANGELOG] Minor Updates
#2
[Image: Fealess_Dev_4.png]

[Image: raw]


Vending machines have gotten an upgrade! Here is a quick rundown of what has been changed:
Vending machines now have stock, meaning that a Chef will have to refill it once it has gone out of stock. A notification will appear on any online chef's screen stating that a vending machine has gone out of stock. If there is no chef on it will automatically refill after an hour. The maximum stock of the vending machine is 5 per item.

[Image: raw]

The vending machine will also visually show that it has run out of stock, and you will no longer be able to purchase from it. (changes to red)

[Image: raw]

The chef will earn $250 from restocking it.

[Image: raw]

Controls:
E = Purchase item
Shift + E = Restock vending machine (Chef only)
Vending machines still have the ability to fail, on a low chance.
If a chef is online, the noodle item will become unavailable to purchase from the machine, turning yellow.

[Image: raw]


TL;DR:
  • Vending machines have stock
  • Must be refilled by a Chef using Shift + E
  • Vending machines auto-refill once per hour if there is no chef online
  • Removed the menu, now integrated into the entity
  • Optimised code 100000000%


Item price table:
  • Water = $480, refills 10, special ability = removes drunk effect
  • Lemonade = $360, refills 5
  • Soda = $340, refills 6
  • Noodle = $750, refills 25
  • Kinder = $260, refills 5
  • Dorito = $400, refills 6

The following 13 users Like Luna's post:
  • Pollux, Tomo, BoJack, Jessixa, Steven8ken, Bobby Shmicki, Mr. Flaminator, Chumps, Edned, Zona, Idea, Grizzly, Zharkan16


Messages In This Thread
[CHANGELOG] Minor Updates - by Fearless Community - 11-12-2020, 02:28 AM
RE: [CHANGELOG] Minor Updates - by Luna - 11-12-2020, 03:38 AM
RE: [CHANGELOG] Minor Updates - by Luna - 03-04-2021, 12:19 AM
RE: [CHANGELOG] Minor Updates - by Luna - 12-24-2021, 05:53 AM
RE: [CHANGELOG] Minor Updates - by Luna - 02-14-2022, 03:37 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)