Features
Production stations
After the production licence the owner buys the lines one by one. Every line has its own worker playing Rockstar's bunker animations at the real machine, needs charged batteries and a bunker level, and has a success chance.
Every line costs $500,000 by default. All of this is set per line in config/stations.lua or live in Admin panel β Stations.
01A production run
- Open the line at its machine (or from the panel) and check the recipe: batteries and any materials.
- Start production. The batteries and materials are taken and the timer starts.
- When the time is up the run either succeeds or, with a chance under 100%, fails and the materials are lost.
- Take the product: Take Myself puts it in your inventory, Put in Stock adds it to the bunker stock for a sell mission.
Crypto Mining pays its money straight away and is never stocked.
02What makes it faster
The two upgrades multiply (0.8 Γ 0.75 = 0.6). Offline production is Config.OfflineProduction: offlineSpeedMultiplier = 0.5, maxOfflineHours = 24.
03Workers and machines
- Workers only work while their line is producing, otherwise they wait at it (
Config.StationVisuals.idleWhenNotProducing). - Machines follow the Equipment upgrade like in GTA Online: standard machines before, upgraded machines after (
matchEquipment). - Players cannot walk through the workers and their machines (
solid). - A 3D card above every line shows its name, state and timer (
Config.StationLabels).
04Writing your own line
A line in config/stations.lua:
{ id = 'assault_rifle', category = 'weapons', price = 500000, requiredLevel = 0, batteryRequired = 2, productionTime = 10800, -- seconds craftingChance = 100, -- percent rewardItem = 'weapon_assaultrifle', rewardAmount = 1, pedModel = 'mp_m_weapwork_01', -- npcPos, icon and the worker scene},isRandomReward = true with a randomRewards list gives one item by chance instead of rewardItem. The easier way is Admin panel β Stations β New Station, which places the line in the bunker with a live preview.
Still stuck? Send us your server log on Discord and we will sort it out with you.
Ask on Discord