This PR aims to add electricity consumption to the vendor machines and the jukebox
The four vendor machines (HotDrinks, RobustSoftdrinks, SecTech, YouTool) and the jukebox now consume electricity, both while idle and while in use
Electricity consumption amounts per tick (when connected to the grid) are placeholders. For reference, in this PR they're originally set to:
Jukebox: 0.5 while off/idle, 5 while on/playing music
Vendors: 0.5 while idle, 10 once when using the machine (only during one tick)
Disclaimer:
This was done quite some time ago, as I was waiting for a previous pull request to be merged before creating a new one. Didn't want to delete these changes, but can't dedicate as much time to this PR as I did with the previous PR, so no images/videos. As a side note, I was "davidgomez" on Discord, but had to leave from the Discord channel as that account has become a work-only account. If anyone needs to contact me through discord, I've joined the server with my secondary account called "Nano" ("nanogoru")
PR checklist
[ ] The game builds properly without errors.
[ ] No unrelated changes are present.
[ ] No "trash" files are committed.
[ ] Relevant code is documented.
[ ] Update the related GitBook document, or create a new one if needed.
Testing
Networking checklist
[ ] Works from host in host mode.
[ ] Works from server in server mode.
[ ] Works on server in client mode.
[ ] Works and is syncronized across different clients.
Summary
This PR aims to add electricity consumption to the vendor machines and the jukebox
The four vendor machines (HotDrinks, RobustSoftdrinks, SecTech, YouTool) and the jukebox now consume electricity, both while idle and while in use
Electricity consumption amounts per tick (when connected to the grid) are placeholders. For reference, in this PR they're originally set to: Jukebox: 0.5 while off/idle, 5 while on/playing music Vendors: 0.5 while idle, 10 once when using the machine (only during one tick)
Disclaimer: This was done quite some time ago, as I was waiting for a previous pull request to be merged before creating a new one. Didn't want to delete these changes, but can't dedicate as much time to this PR as I did with the previous PR, so no images/videos. As a side note, I was "davidgomez" on Discord, but had to leave from the Discord channel as that account has become a work-only account. If anyone needs to contact me through discord, I've joined the server with my secondary account called "Nano" ("nanogoru")
PR checklist
Testing
Networking checklist
Related issues/PRs
Closes #1438