Civilization 13 - Modules - Types — Proc Details - Search

sales

A vending machine / market stall that actually charges per sale.

Procs

ManageManagement menu for owners to change the vendor name, adjust prices, remove stock, or change accepted currency.
attackbyHandles payment insertion, maintenance (wrenching), and product restocking by authorized company members.
ui_actHandles the purchase window's buttons: buying, cancelling and withdrawing inserted funds. The product is its row number in product_records.
ui_actionsAdd item to the machine
vendInternal procedure to deliver the selected product after successful payment and update the vendor status.

Proc Details

Manage

Management menu for owners to change the vendor name, adjust prices, remove stock, or change accepted currency.

attackby

Handles payment insertion, maintenance (wrenching), and product restocking by authorized company members.

ui_act

Handles the purchase window's buttons: buying, cancelling and withdrawing inserted funds. The product is its row number in product_records.

ui_actions

Add item to the machine

Checks if item is vendable in this machine should be performed before calling. W is the item being inserted, R is the associated vending_product entry.

Displays the NanoUI purchase interface to customers.

vend

Internal procedure to deliver the selected product after successful payment and update the vendor status.