Modules
Vending Machines

Vending Machines

This category provides information and configuration details for the Vending Machine robbery module.

Note on Configuration: All values documented below reflect the default settings. In v2, you can adjust these values dynamically in-game using the pettycrimeseditor command.

Configuration Options

Models: Defines available vending machine models for robbery.

  • Models include soda, water, coffee, and snack machines.

PoliceRequired: Specifies the minimum number of officers needed for a vending machine robbery.

  • Default setting: 0

Item Requirements: Configures items needed for vending machine break-ins.

  • Require: true
  • ItemNames: lockpick

LootTables: Details potential loot obtainable from vending machine robberies.

  • Default loot items:
    • money: 60% chance
    • sandwich: 40% chance
    • water_bottle: 45% chance
    • sprunk: 50% chance
    • ecola: 50% chance

This configuration enables adjustments to the vending machine robbery feature to suit specific gameplay needs. Customize as required in the editor.