ProductionGame/frontend/js/config.js

352 lines
10 KiB
JavaScript

// El Puro Drug, Recipe, Skill Tree & Achievement Configuration
const DRUG_CATALOG = [
{
id: 'weed',
name: 'Cannabis (Weed)',
category: 'botanical',
icon: 'game-icons:cannabis',
color: '#39ff14',
rawName: 'Seeds & Soil',
productName: 'Cured Bud',
rawCost: 10,
sellPrice: 16,
unlockCost: 0,
supplierName: 'Seed Courier',
supplierCost: 75,
supplyRate: 1.0,
workerName: 'Grower',
dealerName: 'Corner Pusher',
workerCost: 100,
dealerCost: 150,
produceRate: 1.0,
sellRate: 1.0,
unlockedDefault: true
},
{
id: 'shrooms',
name: 'Magic Mushrooms',
category: 'botanical',
icon: 'game-icons:mushroom-gills',
color: '#a3e635',
rawName: 'Spores & Grain',
productName: 'Dried Caps',
rawCost: 35,
sellPrice: 65,
unlockCost: 500,
supplierName: 'Spore Forager',
supplierCost: 300,
supplyRate: 0.8,
workerName: 'Mycologist',
dealerName: 'Festival Plug',
workerCost: 450,
dealerCost: 650,
produceRate: 0.8,
sellRate: 0.8,
unlockedDefault: false
},
{
id: 'adderall',
name: 'Pharma Speed (Addy)',
category: 'pharma',
icon: 'game-icons:pills',
color: '#f59e0b',
rawName: 'Diverted Blisters',
productName: 'Pressed Salts',
rawCost: 120,
sellPrice: 240,
unlockCost: 2500,
supplierName: 'Pharmacy Diverter',
supplierCost: 1500,
supplyRate: 0.6,
workerName: 'Pharma Tech',
dealerName: 'Campus Runner',
workerCost: 2000,
dealerCost: 3000,
produceRate: 0.6,
sellRate: 0.6,
unlockedDefault: false
},
{
id: 'meth',
name: 'Meth (Blue Sky)',
category: 'synthetic',
icon: 'game-icons:flasks',
color: '#00e5ff',
rawName: 'Methylamine & Sudafed',
productName: 'Blue Shards',
rawCost: 400,
sellPrice: 950,
unlockCost: 10000,
supplierName: 'Chemical Smuggler',
supplierCost: 6000,
supplyRate: 0.5,
workerName: 'Lab Cook',
dealerName: 'Trailer Boss',
workerCost: 8000,
dealerCost: 12000,
produceRate: 0.5,
sellRate: 0.5,
unlockedDefault: false
},
{
id: 'mdma',
name: 'MDMA (Ecstasy)',
category: 'party',
icon: 'game-icons:pill',
color: '#ec4899',
rawName: 'Safrole Oil & Binder',
productName: 'Tesla Presses',
rawCost: 1200,
sellPrice: 3200,
unlockCost: 35000,
supplierName: 'Safrole Importer',
supplierCost: 20000,
supplyRate: 0.4,
workerName: 'Rave Chemist',
dealerName: 'Club Promoter',
workerCost: 28000,
dealerCost: 40000,
produceRate: 0.4,
sellRate: 0.4,
unlockedDefault: false
},
{
id: 'ketamine',
name: 'Ketamine (Special K)',
category: 'synthetic',
icon: 'game-icons:test-tubes',
color: '#8b5cf6',
rawName: 'Veterinary Liquid',
productName: 'Cooked Powder',
rawCost: 3800,
sellPrice: 11000,
unlockCost: 120000,
supplierName: 'Vet Clinic Insider',
supplierCost: 75000,
supplyRate: 0.35,
workerName: 'Vet Contact',
dealerName: 'Afterparty Plug',
workerCost: 95000,
dealerCost: 140000,
produceRate: 0.35,
sellRate: 0.35,
unlockedDefault: false
},
{
id: 'cocaine',
name: 'Cocaine (Pure White)',
category: 'cartel',
icon: 'game-icons:powder',
color: '#ffffff',
rawName: 'Andean Coca Paste',
productName: 'Pure Flake',
rawCost: 12000,
sellPrice: 38000,
unlockCost: 400000,
supplierName: 'Jungle Smuggler',
supplierCost: 250000,
supplyRate: 0.3,
workerName: 'Cartel Chemist',
dealerName: 'VIP Broker',
workerCost: 320000,
dealerCost: 480000,
produceRate: 0.3,
sellRate: 0.3,
unlockedDefault: false
},
{
id: 'crack',
name: 'Crack Cocaine',
category: 'street',
icon: 'game-icons:rock',
color: '#fbbf24',
rawName: 'Flake & Ammonia Base',
productName: 'Cooked Rocks',
rawCost: 35000,
sellPrice: 115000,
unlockCost: 1200000,
supplierName: 'Base Sourcing Crew',
supplierCost: 700000,
supplyRate: 0.25,
workerName: 'Trap Master',
dealerName: 'Block Captain',
workerCost: 900000,
dealerCost: 1400000,
produceRate: 0.25,
sellRate: 0.25,
unlockedDefault: false
},
{
id: 'heroin',
name: 'Heroin (Black Tar)',
category: 'opioid',
icon: 'game-icons:syringe',
color: '#78350f',
rawName: 'Raw Opium Latex',
productName: 'Refined Tar',
rawCost: 110000,
sellPrice: 420000,
unlockCost: 4500000,
supplierName: 'Poppy Harvester',
supplierCost: 2800000,
supplyRate: 0.2,
workerName: 'Poppy Refiner',
dealerName: 'Network Distributor',
workerCost: 3500000,
dealerCost: 5500000,
produceRate: 0.2,
sellRate: 0.2,
unlockedDefault: false
},
{
id: 'fentanyl',
name: 'Fentanyl (The Apex)',
category: 'synthetic',
icon: 'game-icons:biohazard',
color: '#ef4444',
rawName: 'Hazardous Precursors',
productName: 'Microgram Purity',
rawCost: 450000,
sellPrice: 2100000,
unlockCost: 20000000,
supplierName: 'Cartel Procurement Agent',
supplierCost: 12000000,
supplyRate: 0.15,
workerName: 'Hazmat Synthesizer',
dealerName: 'Ghost Syndicate',
workerCost: 15000000,
dealerCost: 24000000,
produceRate: 0.15,
sellRate: 0.15,
unlockedDefault: false
}
];
// Synthesis & Recipe Combinations
const SYNTHESIS_RECIPES = [
{
id: 'calvin_klein',
name: 'Calvin Klein (CK)',
ingredients: { cocaine: 5, ketamine: 5 },
batchOutput: 8,
sellPrice: 95000,
description: 'Elite blend of pure flake and horse tranquilizer. Elite nightclub hype.',
icon: 'game-icons:two-shadows'
},
{
id: 'speedball',
name: 'Speedball',
ingredients: { heroin: 3, cocaine: 3 },
batchOutput: 5,
sellPrice: 850000,
description: 'Lethal upper-downer cocktail. Highly sought after by desperate spenders.',
icon: 'game-icons:lightning-trio'
},
{
id: 'candy_flip',
name: 'Candy Flip',
ingredients: { shrooms: 15, mdma: 10 },
batchOutput: 15,
sellPrice: 75000,
description: 'Psychedelic empathogen fusion. Raves pay top dollar instantly.',
icon: 'game-icons:sparkles'
}
];
// Branching Skill Tree (The Spiderweb)
const SKILL_TREE = [
// Chemist Branch
{
id: 'chem_1',
branch: 'chemist',
name: 'Lab Grade Glassware',
desc: '+15% Production speed across all labs.',
cost: 500,
prereqs: [],
applied: false
},
{
id: 'chem_2',
branch: 'chemist',
name: 'Precursor Synthesis',
desc: '-15% Raw material costs globally.',
cost: 15000,
prereqs: ['chem_1'],
applied: false
},
{
id: 'chem_3',
branch: 'chemist',
name: '99.1% Crystallization',
desc: '10% chance on manual or worker tick to produce 3x product yield.',
cost: 250000,
prereqs: ['chem_2'],
applied: false
},
// Kingpin Branch
{
id: 'king_1',
branch: 'kingpin',
name: 'Corner Lookouts',
desc: '+20% Dealer selling throughput.',
cost: 1000,
prereqs: [],
applied: false
},
{
id: 'king_2',
branch: 'kingpin',
name: 'Bulk Wholesaling',
desc: '+25% Selling price on all products.',
cost: 35000,
prereqs: ['king_1'],
applied: false
},
{
id: 'king_3',
branch: 'kingpin',
name: 'Monopoly Territory',
desc: 'Auto-dealers consume product and generate cash 50% faster.',
cost: 600000,
prereqs: ['king_2'],
applied: false
},
// Smuggler Branch
{
id: 'smug_1',
branch: 'smuggler',
name: 'Burner Relay',
desc: 'Police Heat rises 35% slower.',
cost: 2000,
prereqs: [],
applied: false
},
{
id: 'smug_2',
branch: 'smuggler',
name: 'Bribe Network',
desc: 'Police raid bribe costs reduced by 50%.',
cost: 50000,
prereqs: ['smug_1'],
applied: false
},
{
id: 'smug_3',
branch: 'smuggler',
name: 'Swiss Shell Corp',
desc: 'Money Laundering converts dirty cash with +50% more Clean Bonds.',
cost: 1000000,
prereqs: ['smug_2'],
applied: false
}
];
// Achievements with permanent passive bonuses
const ACHIEVEMENTS = [
{ id: 'first_hit', name: 'First Batch', desc: 'Sell your first gram of product.', unlocked: false, reward: '+5% global sell value' },
{ id: 'grower_op', name: 'Green Thumb', desc: 'Hire 10 Weed Growers.', unlocked: false, reward: '+10% weed production' },
{ id: 'blue_sky', name: 'Say My Name', desc: 'Unlock Methamphetamine.', unlocked: false, reward: '-10% meth raw cost' },
{ id: 'cartel_tier', name: 'El Patrón', desc: 'Unlock Cocaine.', unlocked: false, reward: '+15% all sales' },
{ id: 'millionaire', name: 'Seven Figures', desc: 'Amass $1,000,000 cash.', unlocked: false, reward: '+20% worker speed' },
{ id: 'laundered', name: 'Clean Hands', desc: 'Launder your first $1,000,000 offshore.', unlocked: false, reward: '+5% clean bond multiplier' }
];