127 lines
3.3 KiB
JavaScript
127 lines
3.3 KiB
JavaScript
/**
|
|
* MASTER GAME CONFIG
|
|
* Central configuration for all game systems
|
|
*/
|
|
|
|
const MasterConfig = {
|
|
// Game info
|
|
version: '0.95.0',
|
|
buildType: 'Early Access Streamer Build',
|
|
baseTileSize: 256, // TEXTURE RESOLUTION (High-Res Style 32)
|
|
|
|
|
|
// Systems
|
|
systems: {
|
|
saveLoad: {
|
|
enabled: true,
|
|
autoSaveInterval: 300000, // 5 minutes
|
|
saveKey: 'mrtva_dolina_save',
|
|
slot: 0 // Slot_0
|
|
},
|
|
|
|
localization: {
|
|
enabled: true,
|
|
autoDetect: true,
|
|
supportedLanguages: ['slo', 'en', 'de', 'it', 'cn'],
|
|
defaultLanguage: 'slo',
|
|
voiceLanguages: ['slo', 'en'], // Full voice support
|
|
fallbackVoice: 'en'
|
|
},
|
|
|
|
accessibility: {
|
|
enabled: true,
|
|
oneHandedMode: false,
|
|
highContrast: false,
|
|
colorBlindMode: 'none',
|
|
fontScale: 1.0,
|
|
reduceMotion: false
|
|
},
|
|
|
|
gamepad: {
|
|
enabled: true,
|
|
deadzone: 0.15,
|
|
hapticFeedback: true
|
|
},
|
|
|
|
audio: {
|
|
masterVolume: 1.0,
|
|
musicVolume: 0.3,
|
|
sfxVolume: 0.7,
|
|
voiceVolume: 1.0,
|
|
streamerMode: false
|
|
},
|
|
|
|
aging: {
|
|
enabled: true,
|
|
levels: 9,
|
|
ageRange: [14, 60]
|
|
}
|
|
},
|
|
|
|
// Copyright safe music (CC BY 4.0)
|
|
safeMusicTracks: [
|
|
'main_theme',
|
|
'farm_ambient',
|
|
'forest_ambient',
|
|
'night_theme',
|
|
'combat_theme',
|
|
'ana_theme',
|
|
'town_theme',
|
|
'wilderness_theme',
|
|
'raid_warning',
|
|
'victory_theme'
|
|
],
|
|
|
|
// DMCA risky tracks (if any future additions)
|
|
dmcaRiskyTracks: [
|
|
// None currently - all Kevin MacLeod (CC BY 4.0)
|
|
// Add any future radio/commercial music here
|
|
],
|
|
|
|
// Debug mode
|
|
debug: {
|
|
enabled: false,
|
|
showFPS: false,
|
|
logAudio: false,
|
|
logSaves: true
|
|
},
|
|
|
|
// Game Start Configurations
|
|
startingConfig: {
|
|
// Standard Faza 1 Start
|
|
default: {
|
|
items: [
|
|
{ id: 'tool_axe_wood', count: 1 },
|
|
{ id: 'tool_pickaxe_wood', count: 1 },
|
|
{ id: 'food_bread', count: 5 },
|
|
{ id: 'seed_tomato', count: 5 },
|
|
{ id: 'seed_potato', count: 5 }
|
|
],
|
|
furniture: [
|
|
{ id: 'work_bench_tier1', x: 10, y: 10 }, // Upgrades: Tier1->Tier2->Tier3->Tier4
|
|
{ id: 'chest_wooden_basic', x: 12, y: 10 }
|
|
],
|
|
companions: []
|
|
},
|
|
|
|
// "Prvih 40" / Founders Pack
|
|
foundersPack: {
|
|
items: [
|
|
{ id: 'tool_axe_iron', count: 1 }, // Better tools
|
|
{ id: 'tool_pickaxe_iron', count: 1 },
|
|
{ id: 'food_stew', count: 10 }, // Better food
|
|
{ id: 'seed_corn', count: 10 },
|
|
{ id: 'seed_wheat', count: 10 },
|
|
{ id: 'seed_cannabis', count: 5 } // "Ganga" seeds
|
|
],
|
|
furniture: [
|
|
{ id: 'work_bench_tier2', x: 10, y: 10 }, // Founders start at Tier 2
|
|
{ id: 'chest_wooden_reinforced', x: 12, y: 10 }
|
|
],
|
|
companions: ['gronk_companion'] // Gronk enabled!
|
|
}
|
|
}
|
|
};
|
|
|
|
export default MasterConfig;
|