Skip to content

Vending Machine

Andrew Bradley edited this page Feb 17, 2024 · 3 revisions

Vending Machine

image image

What does it do

The vending machine dispenses boost when kicked. It can also be used for platforming challenges, since you can chain kick multiple vending machines in a row.

We bundle a basic vending machine which looks like the white vending machines from the vanilla game.

Configuration

NOTE: Be careful reconfiguring the vending machine. We have not thoroughly tested these options, they may cause errors or crashes.

The Vending Machine script is attached to a nested GameObject.

image image

In particular:

  • "Normal Drop" and "Special Drop" cannot be changed without also changing or removing the corresponding configuration in the "Vanilla Asset Reference V2" script. This is an advanced topic and is currently undocumented.

Watch out!

We avoid shipping Reptile's assets in MapStation.Editor, so the vending machine looks different in editor. You will see it correctly in the game.

If it breaks, we recommend deleting it and creating a new one from the right-click menu.