tarinai/js/sound_pack.js
2026-08-08 15:31:31 +09:00

200 lines
9.8 KiB
JavaScript

"use strict";
(function (global) {
// External audio replacement point. Add files and edit paths here; audio.js consumes this pack at startup.
global.TARINAI_SOUND_PACK = Object.freeze({
version: "1.4",
categoryGain: { voice: 3.2, notify: 18.0, ops: 16.0 },
idGain: {
sfx_notify: 2.60,
sfx_achievement_unlock: 1.00,
sfx_ui_click: 2.35,
sfx_ui_fold: 2.20,
sfx_place: 2.10,
sfx_delete: 2.25,
sfx_poke: 1.85,
sfx_grab: 2.15,
sfx_drop: 2.10,
sfx_water_hose: 1.85,
sfx_genkotsu_fall: 1.70,
sfx_genkotsu_impact: 1.90,
sfx_ground_rumble: 1.75,
sfx_firecracker_fuse: 1.55,
sfx_firecracker_explode: 1.70,
sfx_shoot: 0.725,
sfx_bolt_action: 1.35,
sfx_bell: 1.00,
voice_major_damage_01: 1.0,
voice_major_damage_02: 1.0,
voice_major_damage_03: 1.0,
voice_major_damage_04: 1.0,
voice_temp_cold: 1.0,
voice_temp_hot: 1.0,
voice_acquired_stress_001: 1.0,
voice_acquired_stress_002: 1.0,
voice_acquired_stress_003: 1.0,
voice_acquired_stress_004: 1.0,
voice_acquired_stress_005: 1.0,
voice_acquired_stress_006: 1.0,
voice_acquired_stress_009: 1.0,
voice_ochibi_calm_001: 1.0,
voice_ochibi_calm_002: 1.0,
voice_ochibi_calm_003: 1.0,
voice_ochibi_calm_004: 1.0,
voice_ochibi_calm_005: 1.0,
voice_ochibi_calm_006: 1.0,
voice_ochibi_calm_007: 1.0,
voice_ochibi_calm_008: 1.0,
voice_ochibi_calm_009: 1.0,
voice_ochibi_dirty_004: 1.0,
voice_ochibi_damage_001: 1.0,
voice_ochibi_damage_002: 1.0,
voice_ochibi_damage_003: 1.0,
voice_ochibi_disease_001: 1.0,
voice_intimidate_alt: 1.0,
voice_ochibi_sleep_002: 1.0,
voice_ochibi_sleep_003: 1.0,
voice_ochibi_fight_hit_004: 1.0,
voice_ochibi_panic_005: 1.0,
voice_ochibi_electric_006: 1.0,
voice_ochibi_hot_007: 1.0,
voice_ochibi_stress_008: 1.0,
voice_ochibi_dirty_003: 1.0,
voice_ochibi_dirty_002: 1.0,
voice_ochibi_dirty_001: 1.0,
voice_acquired_stress_008: 1.0,
voice_acquired_stress_007: 1.0,
},
idMinGap: {
sfx_ui_click: 0.030,
sfx_place: 0.055,
sfx_grass: 0.12,
sfx_zunchi: 0.14,
sfx_ant_die: 0.14,
sfx_notify: 0.10,
sfx_achievement_unlock: 0.35,
voice_sunbath: 0.95,
sfx_shoot: 0.045,
sfx_bolt_action: 0.10,
voice_major_damage_01: 0.45,
voice_major_damage_02: 0.45,
voice_major_damage_03: 0.45,
voice_major_damage_04: 0.45,
voice_temp_cold: 1.20,
voice_temp_hot: 1.20,
voice_acquired_stress_001: 1.50,
voice_acquired_stress_002: 1.50,
voice_acquired_stress_003: 1.50,
voice_acquired_stress_004: 1.50,
voice_acquired_stress_005: 1.50,
voice_acquired_stress_006: 1.50,
voice_acquired_stress_009: 1.50,
voice_ochibi_calm_001: 1.50,
voice_ochibi_calm_002: 1.50,
voice_ochibi_calm_003: 1.50,
voice_ochibi_calm_004: 1.50,
voice_ochibi_calm_005: 1.50,
voice_ochibi_calm_006: 1.50,
voice_ochibi_calm_007: 1.50,
voice_ochibi_calm_008: 1.50,
voice_ochibi_calm_009: 1.50,
voice_ochibi_dirty_004: 1.50,
voice_ochibi_damage_001: 1.25,
voice_ochibi_damage_002: 1.25,
voice_ochibi_damage_003: 1.25,
voice_ochibi_disease_001: 1.25,
voice_intimidate_alt: 1.35,
voice_ochibi_sleep_002: 1.35,
voice_ochibi_sleep_003: 1.35,
voice_ochibi_fight_hit_004: 1.35,
voice_ochibi_panic_005: 1.35,
voice_ochibi_electric_006: 1.35,
voice_ochibi_hot_007: 1.35,
voice_ochibi_stress_008: 1.35,
voice_ochibi_dirty_003: 1.50,
voice_ochibi_dirty_002: 1.50,
voice_ochibi_dirty_001: 1.50,
voice_acquired_stress_008: 1.50,
voice_acquired_stress_007: 1.50,
},
samplePaths: {
voice_hau: "assets/sounds/voice_001_hau.wav",
voice_flee: "assets/sounds/voice_002_flee.wav",
voice_poop: "assets/sounds/voice_003_po.wav",
sfx_eat: "assets/sounds/voice_004_eat.wav",
voice_stress: "assets/sounds/voice_005_stress.wav",
sfx_sleep: "assets/sounds/voice_006_sleep.wav",
voice_sunbath: "assets/sounds/voice_007_sunbath_pokapoka.wav",
sfx_firecracker_explode: "assets/sounds/firecracker_explosion.mp3",
sfx_shoot: "assets/sounds/shoot_pistol.mp3",
sfx_bolt_action: "assets/sounds/shoot_bolt_action.mp3",
sfx_bell: "assets/sounds/bicycle_bell.mp3",
voice_major_damage_01: "assets/sounds/major_damage_01.wav",
voice_major_damage_02: "assets/sounds/major_damage_02.wav",
voice_major_damage_03: "assets/sounds/major_damage_03.wav",
voice_major_damage_04: "assets/sounds/major_damage_04.wav",
voice_temp_cold: "assets/sounds/voice_008_temperature_buruburu.wav",
voice_temp_hot: "assets/sounds/voice_009_temperature_achui.wav",
sfx_achievement_unlock: "assets/sounds/achievement_unlock.mp3",
voice_acquired_stress_001: "assets/sounds/acquired_stress_001.wav",
voice_acquired_stress_002: "assets/sounds/acquired_stress_002.wav",
voice_acquired_stress_003: "assets/sounds/acquired_stress_003.wav",
voice_acquired_stress_004: "assets/sounds/acquired_stress_004.wav",
voice_acquired_stress_005: "assets/sounds/acquired_stress_005.wav",
voice_acquired_stress_006: "assets/sounds/acquired_stress_006.wav",
voice_acquired_stress_009: "assets/sounds/acquired_stress_009.wav",
voice_ochibi_calm_001: "assets/sounds/ochibi_calm_001.wav",
voice_ochibi_calm_002: "assets/sounds/ochibi_calm_002.wav",
voice_ochibi_calm_003: "assets/sounds/ochibi_calm_003.wav",
voice_ochibi_calm_004: "assets/sounds/ochibi_calm_004.wav",
voice_ochibi_calm_005: "assets/sounds/ochibi_calm_005.wav",
voice_ochibi_calm_006: "assets/sounds/ochibi_calm_006.wav",
voice_ochibi_calm_007: "assets/sounds/ochibi_calm_007.wav",
voice_ochibi_calm_008: "assets/sounds/ochibi_calm_008.wav",
voice_ochibi_calm_009: "assets/sounds/ochibi_calm_009.wav",
voice_ochibi_dirty_001: "assets/sounds/ochibi_dirty_001.wav",
voice_ochibi_dirty_002: "assets/sounds/ochibi_dirty_002.wav",
voice_ochibi_dirty_003: "assets/sounds/ochibi_dirty_003.wav",
voice_ochibi_dirty_004: "assets/sounds/ochibi_dirty_004.wav",
voice_ochibi_damage_001: "assets/sounds/ochibi_damage_001.wav",
voice_ochibi_damage_002: "assets/sounds/ochibi_damage_002.wav",
voice_ochibi_damage_003: "assets/sounds/ochibi_damage_003.wav",
voice_ochibi_disease_001: "assets/sounds/ochibi_disease_001.wav",
voice_intimidate_alt: "assets/sounds/intimidate_alt_001.wav",
voice_ochibi_sleep_002: "assets/sounds/ochibi_sleep_002.wav",
voice_ochibi_sleep_003: "assets/sounds/ochibi_sleep_003.wav",
voice_ochibi_fight_hit_004: "assets/sounds/ochibi_fight_hit_004.wav",
voice_ochibi_panic_005: "assets/sounds/ochibi_panic_005.wav",
voice_ochibi_electric_006: "assets/sounds/ochibi_electric_006.wav",
voice_ochibi_hot_007: "assets/sounds/ochibi_hot_007.wav",
voice_ochibi_stress_008: "assets/sounds/ochibi_stress_008.wav",
voice_acquired_stress_008: "assets/sounds/acquired_stress_008.wav",
voice_acquired_stress_007: "assets/sounds/acquired_stress_007.wav",
},
categories: {
voice: "\u305f\u308a\u306a\u3044\u306e\u58f0",
notify: "\u901a\u77e5",
ops: "\u64cd\u4f5c"
},
soundMap: {
voice_hau: "voice", voice_flee: "voice", voice_poop: "voice", voice_stress: "voice", voice_sunbath: "voice",
voice_major_damage_01: "voice", voice_major_damage_02: "voice", voice_major_damage_03: "voice", voice_major_damage_04: "voice",
voice_temp_cold: "voice", voice_temp_hot: "voice",
voice_acquired_stress_001: "voice", voice_acquired_stress_002: "voice", voice_acquired_stress_003: "voice", voice_acquired_stress_004: "voice", voice_acquired_stress_005: "voice", voice_acquired_stress_006: "voice", voice_acquired_stress_007: "voice", voice_acquired_stress_008: "voice", voice_acquired_stress_009: "voice",
voice_ochibi_calm_001: "voice", voice_ochibi_calm_002: "voice", voice_ochibi_calm_003: "voice", voice_ochibi_calm_004: "voice", voice_ochibi_calm_005: "voice", voice_ochibi_calm_006: "voice", voice_ochibi_calm_007: "voice", voice_ochibi_calm_008: "voice", voice_ochibi_calm_009: "voice",
voice_ochibi_dirty_001: "voice", voice_ochibi_dirty_002: "voice", voice_ochibi_dirty_003: "voice", voice_ochibi_dirty_004: "voice",
voice_ochibi_damage_001: "voice", voice_ochibi_damage_002: "voice", voice_ochibi_damage_003: "voice", voice_ochibi_disease_001: "voice",
voice_intimidate_alt: "voice", voice_ochibi_sleep_002: "voice", voice_ochibi_sleep_003: "voice", voice_ochibi_fight_hit_004: "voice", voice_ochibi_panic_005: "voice", voice_ochibi_electric_006: "voice", voice_ochibi_hot_007: "voice", voice_ochibi_stress_008: "voice",
sfx_eat: "voice", sfx_sleep: "voice", sfx_wake: "voice", sfx_birth: "voice", sfx_death: "voice",
sfx_damage_soft: "voice", sfx_damage_heavy: "voice", sfx_fight_hit: "voice", sfx_fight_finish: "voice",
sfx_disease: "voice", sfx_heal: "voice", sfx_ant_drag: "voice", sfx_ant_die: "voice", sfx_queen_ant: "voice",
sfx_notify: "notify", sfx_phase: "notify", sfx_achievement_unlock: "notify",
sfx_ui_click: "ops", sfx_ui_fold: "ops", sfx_place: "ops", sfx_delete: "ops", sfx_poke: "ops",
sfx_grab: "ops", sfx_drop: "ops", sfx_water_hose: "ops", sfx_drink: "ops",
sfx_ball_hit: "ops", sfx_stone_impact: "ops", sfx_firecracker_fuse: "ops", sfx_firecracker_explode: "ops",
sfx_shoot: "ops", sfx_bolt_action: "ops", sfx_bell: "ops",
sfx_genkotsu_fall: "ops", sfx_genkotsu_impact: "ops", sfx_ground_rumble: "ops", sfx_grass: "ops",
sfx_zunchi: "ops", sfx_ant_nest: "ops"
}
});
})(typeof window !== "undefined" ? window : globalThis);