Fixes#2795
- Game will now close if you wander away from the machine
- Cannot use the game while laying down/dead
- Game can now be closed like a normal window, and will behave properly
when doing so
- Dropped prizes will actually visibly fall before the game over screen
appears
- Claw game will now properly use machine processing for power and such
Also some code adjustments to help make it more organized or something.
- Seriously though, it does clean some stuff up and removes a redundant
variable
Adds claw games, the absolute most-infuriating arcade game known to
mankind.
- Uses new fancy HTML5 / Javascript code stuff
- Is buildable!
- Science can produce the board with programming 2
- Requires a matter bin, manipulator, some cables, and a sheet of glass
- Costs money!
- Accepts cash or ID swipes, 15 credits per play token
- Dispenses prizeballs!
- Open them for a random plushie, carp plushie, or action figure!
- Two sets of sprites, thanks to FoS and Stephanov
Notes for the coders / future:
This provides a basic example for introducing new HTML5 / Javascript
arcade games, as well as a base type machine to use for such games.
While this may seem silly, this proves that we are not doom to have to
tolerate only the battle game and Orion Trail forever, and can even make
our own games for the arcade.
Allows Maintenance Drones to vent crawl around the station.
Made a suggestion on the forums a while back and everyone was fine with it, it was a matter of finding some one to do it.
I finally went through the code and found the correct code for this change.
- Nanotrasen fabrication machinery, such as those for space pods and
exosuits, now have functional ID locks for their respective departments
- Research machinery and the fabricators now allow you to eject a custom
amount of sheets, so you don't have to spam-click
- Splitting sheets by hand is now done by prompt
Errors resulting from Prize.js currently.
- still using the original images, need to switch those out
- need to remove unneeded code/commented attempts
- need to code win-functionality (close game, give prize)
- need to code in prize orbs, arcade circuit items