tarinai/js/sound_pack.js
2026-06-21 22:29:00 +09:00

61 lines
2.4 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.1",
categoryGain: { voice: 3.2, notify: 18.0, ops: 16.0 },
idGain: {
sfx_notify: 2.60,
sfx_log_push: 2.60,
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,
},
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_log_push: 0.10,
},
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",
sfx_firecracker_explode: "assets/sounds/firecracker_explosion.mp3"
},
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",
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_log_push: "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_water_clean: "ops", sfx_drink: "ops",
sfx_ball_hit: "ops", sfx_stone_impact: "ops", sfx_firecracker_fuse: "ops", sfx_firecracker_explode: "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);