Zones
Kartik-Business uses a zone-based system to define interactive areas for various business activities.
Available Zone Types
Config.BusinessZoneTypes = {
['On/Off Duty'] = {
zoneType = 'sphere',
},
['Menu Viewable'] = {
zoneType = 'sphere',
},
['Stash'] = {
zoneType = 'poly',
requiresStashConfig = true
},
['Offline Shop'] = {
zoneType = 'sphere',
requiresPedConfig = true,
},
-- ...
}Zone Descriptions
- On/Off Duty: Locations where employees can clock in or out.
- Menu Viewable: Areas where customers can open the business menu to browse items.
- Stash: Secure storage areas for items and ingredients. Requires additional configuration for weight and slots.
- Offline Shop: Physical locations where a ped will appear and sell items when no employees are on duty.
- Drink/Food/Side: Specific zones for preparing different types of products.
- Garage: Polyzone areas for managing business vehicles.
- Wardrobe: Locations for employees to change into their work uniforms.
Zone Geometry
Each zone type specifies a default zoneType:
- sphere: A simple circular area defined by a radius.
- poly: A complex polygonal area defined by multiple points (ideal for rooms or specific floor areas).