Add placeholder sound for hover crit alert

This commit is contained in:
2026-04-03 00:37:54 +01:00
parent 8037c69d16
commit b4d7c43307
5 changed files with 465 additions and 458 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ crVocalizationSound :: Creature -> Maybe SoundID
crVocalizationSound cr = case cr ^. crType of
Avatar{} -> Nothing
ChaseCrit{} -> Just seagullChatterS
HoverCrit{} -> Nothing
HoverCrit{} -> Just beep3QuickS
SwarmCrit -> Nothing
AutoCrit -> Nothing
BarrelCrit{} -> Nothing
+278 -273
View File
@@ -1,4 +1,4 @@
-- generated at 2026-01-02 12:33:10.260560049 UTC
-- generated at 2026-04-02 23:18:41.468999125 UTC
module Dodge.SoundLogic.ExternallyGeneratedSounds where
import Sound.Data
soundToVol :: SoundID -> Float
@@ -78,99 +78,100 @@ soundToVol v = case _getSoundID v of
72 -> 500
73 -> 500
74 -> 500
75 -> 100
75 -> 500
76 -> 100
77 -> 2000
78 -> 200
77 -> 100
78 -> 2000
79 -> 200
80 -> 500
81 -> 200
82 -> 2000
83 -> 200
84 -> 1000
80 -> 200
81 -> 500
82 -> 200
83 -> 2000
84 -> 200
85 -> 1000
86 -> 250
87 -> 300
88 -> 2000
89 -> 200
90 -> 1000
91 -> 100
92 -> 300
93 -> 100
94 -> 40
95 -> 1000
96 -> 100
97 -> 1000
98 -> 500
99 -> 100
100 -> 200
101 -> 250
102 -> 200
86 -> 1000
87 -> 250
88 -> 300
89 -> 2000
90 -> 200
91 -> 1000
92 -> 100
93 -> 300
94 -> 100
95 -> 40
96 -> 1000
97 -> 100
98 -> 1000
99 -> 500
100 -> 100
101 -> 200
102 -> 250
103 -> 200
104 -> 50
105 -> 1000
106 -> 50
107 -> 500
104 -> 200
105 -> 50
106 -> 1000
107 -> 50
108 -> 500
109 -> 1000
110 -> 200
111 -> 2000
112 -> 20
113 -> 500
114 -> 200
115 -> 100
116 -> 2000
117 -> 100
109 -> 500
110 -> 1000
111 -> 200
112 -> 2000
113 -> 20
114 -> 500
115 -> 200
116 -> 100
117 -> 2000
118 -> 100
119 -> 200
120 -> 300
121 -> 500
122 -> 100
123 -> 300
124 -> 200
125 -> 1000
126 -> 100
127 -> 50
128 -> 100
119 -> 100
120 -> 200
121 -> 300
122 -> 500
123 -> 100
124 -> 300
125 -> 200
126 -> 1000
127 -> 100
128 -> 50
129 -> 100
130 -> 50
131 -> 1000
132 -> 500
133 -> 40
134 -> 100
135 -> 200
136 -> 500
137 -> 1000
138 -> 300
139 -> 100
140 -> 300
130 -> 100
131 -> 50
132 -> 1000
133 -> 500
134 -> 40
135 -> 100
136 -> 200
137 -> 500
138 -> 1000
139 -> 300
140 -> 100
141 -> 300
142 -> 100
142 -> 300
143 -> 100
144 -> 500
145 -> 100
144 -> 100
145 -> 500
146 -> 100
147 -> 500
148 -> 100
147 -> 100
148 -> 500
149 -> 100
150 -> 500
151 -> 40
152 -> 200
153 -> 50
154 -> 500
155 -> 2000
150 -> 100
151 -> 500
152 -> 40
153 -> 200
154 -> 50
155 -> 500
156 -> 2000
157 -> 40
158 -> 100
157 -> 2000
158 -> 40
159 -> 100
160 -> 500
161 -> 100
162 -> 1000
163 -> 100
164 -> 500
165 -> 8000
166 -> 200
167 -> 300
160 -> 100
161 -> 500
162 -> 100
163 -> 1000
164 -> 100
165 -> 500
166 -> 8000
167 -> 200
168 -> 300
_ -> 50
soundToOnomato :: SoundID -> String
soundToOnomato v = case _getSoundID v of
@@ -246,102 +247,103 @@ soundToOnomato v = case _getSoundID v of
69 -> "TTRKL"
70 -> "CRUMBL"
71 -> "SCREE"
72 -> "WRRR"
73 -> "SCREE"
74 -> "BIPBIPBIP"
75 -> "SLP"
76 -> "CLCLH"
77 -> "CREUH"
78 -> "SQWLTCH"
79 -> "TING"
80 -> "DEDEDA"
81 -> "WHR"
82 -> "CRUH"
83 -> "SQWCH"
84 -> "TRWNG"
85 -> "CRSK"
86 -> "DMP"
87 -> "BEP"
88 -> "BOOM"
89 -> "SKREL"
90 -> "CRSNK"
91 -> "SLP"
92 -> "CHPCHPCHP"
93 -> "SLP"
94 -> "TAP"
95 -> "CRNKL"
96 -> "WRR"
97 -> "CRNK"
98 -> "CUHRUP"
99 -> "SPLRT"
100 -> "TING"
101 -> "WHRHH"
102 -> "CRSKRL"
103 -> "WH"
104 -> "FHFH"
105 -> "BRAP"
106 -> "WHHH"
107 -> "PLH"
108 -> "CLANG"
109 -> "CRUNK"
110 -> "TING"
111 -> "TATATA"
112 -> "SWSH"
113 -> "DNDNDNDN"
114 -> "THCK"
115 -> "SLP"
116 -> "PEW"
117 -> "SKLE"
118 -> "THUD"
119 -> "WH"
120 -> "BWAH"
121 -> "DEDEDUM"
122 -> "WHUMWHUM"
123 -> "WHRP"
124 -> "TING"
125 -> "CRMPL"
126 -> "SKLE"
127 -> "SHUHP"
128 -> "SLP"
129 -> "SPRT"
130 -> "HSS"
131 -> "TRNKL"
132 -> "TAK"
133 -> "CLICK"
134 -> "DUHDEH"
135 -> "SHTCK"
136 -> "DEDUM"
137 -> "BWMP"
138 -> "BWAAH"
139 -> "SLP"
140 -> "DWAAH"
141 -> "TNKTONK"
142 -> "VFVFVF"
143 -> "SLP"
144 -> "CRTINK"
145 -> "VHHP"
146 -> "SPRT"
147 -> "PRUM"
148 -> "SLPP"
149 -> "FWUMP"
150 -> "CLANG"
151 -> "TIP"
152 -> "CRAKLE"
153 -> "HSSS"
154 -> "TRINKL"
155 -> "BANG"
156 -> "CHUGUGUG"
157 -> "TAPP"
158 -> "KKSQWL"
159 -> "SKWLL"
160 -> "DUDURAH"
161 -> "SKWLL"
162 -> "TRNKL"
163 -> "SLP"
164 -> "WHUAWUH"
165 -> "RINGGG"
166 -> "QWLPH"
167 -> "WRRR"
72 -> "BIPBIPBIP"
73 -> "WRRR"
74 -> "SCREE"
75 -> "BIPBIPBIP"
76 -> "SLP"
77 -> "CLCLH"
78 -> "CREUH"
79 -> "SQWLTCH"
80 -> "TING"
81 -> "DEDEDA"
82 -> "WHR"
83 -> "CRUH"
84 -> "SQWCH"
85 -> "TRWNG"
86 -> "CRSK"
87 -> "DMP"
88 -> "BEP"
89 -> "BOOM"
90 -> "SKREL"
91 -> "CRSNK"
92 -> "SLP"
93 -> "CHPCHPCHP"
94 -> "SLP"
95 -> "TAP"
96 -> "CRNKL"
97 -> "WRR"
98 -> "CRNK"
99 -> "CUHRUP"
100 -> "SPLRT"
101 -> "TING"
102 -> "WHRHH"
103 -> "CRSKRL"
104 -> "WH"
105 -> "FHFH"
106 -> "BRAP"
107 -> "WHHH"
108 -> "PLH"
109 -> "CLANG"
110 -> "CRUNK"
111 -> "TING"
112 -> "TATATA"
113 -> "SWSH"
114 -> "DNDNDNDN"
115 -> "THCK"
116 -> "SLP"
117 -> "PEW"
118 -> "SKLE"
119 -> "THUD"
120 -> "WH"
121 -> "BWAH"
122 -> "DEDEDUM"
123 -> "WHUMWHUM"
124 -> "WHRP"
125 -> "TING"
126 -> "CRMPL"
127 -> "SKLE"
128 -> "SHUHP"
129 -> "SLP"
130 -> "SPRT"
131 -> "HSS"
132 -> "TRNKL"
133 -> "TAK"
134 -> "CLICK"
135 -> "DUHDEH"
136 -> "SHTCK"
137 -> "DEDUM"
138 -> "BWMP"
139 -> "BWAAH"
140 -> "SLP"
141 -> "DWAAH"
142 -> "TNKTONK"
143 -> "VFVFVF"
144 -> "SLP"
145 -> "CRTINK"
146 -> "VHHP"
147 -> "SPRT"
148 -> "PRUM"
149 -> "SLPP"
150 -> "FWUMP"
151 -> "CLANG"
152 -> "TIP"
153 -> "CRAKLE"
154 -> "HSSS"
155 -> "TRINKL"
156 -> "BANG"
157 -> "CHUGUGUG"
158 -> "TAPP"
159 -> "KKSQWL"
160 -> "SKWLL"
161 -> "DUDURAH"
162 -> "SKWLL"
163 -> "TRNKL"
164 -> "SLP"
165 -> "WHUAWUH"
166 -> "RINGGG"
167 -> "QWLPH"
168 -> "WRRR"
_ -> error "unitialised sound"
soundPathList :: [String]
soundPathList =
@@ -417,6 +419,7 @@ soundPathList =
, "metal5.TTRKL.1000.wav"
, "stone5.CRUMBL.1000.wav"
, "tone440sawtooth.SCREE.2000.wav"
, "beep3Quick.BIPBIPBIP.500.wav"
, "fireLoud.WRRR.500.wav"
, "tone440sawtoothquiet.SCREE.500.wav"
, "computerBeeping.BIPBIPBIP.500.wav"
@@ -658,195 +661,197 @@ stone5S :: SoundID
stone5S = SoundID 70
tone440sawtoothS :: SoundID
tone440sawtoothS = SoundID 71
beep3QuickS :: SoundID
beep3QuickS = SoundID 72
fireLoudS :: SoundID
fireLoudS = SoundID 72
fireLoudS = SoundID 73
tone440sawtoothquietS :: SoundID
tone440sawtoothquietS = SoundID 73
tone440sawtoothquietS = SoundID 74
computerBeepingS :: SoundID
computerBeepingS = SoundID 74
computerBeepingS = SoundID 75
slapS :: SoundID
slapS = SoundID 75
slapS = SoundID 76
bloodShort5S :: SoundID
bloodShort5S = SoundID 76
bloodShort5S = SoundID 77
seagullCry2S :: SoundID
seagullCry2S = SoundID 77
seagullCry2S = SoundID 78
gut5S :: SoundID
gut5S = SoundID 78
gut5S = SoundID 79
ting2S :: SoundID
ting2S = SoundID 79
ting2S = SoundID 80
dededaS :: SoundID
dededaS = SoundID 80
dededaS = SoundID 81
whirdownSmall2S :: SoundID
whirdownSmall2S = SoundID 81
whirdownSmall2S = SoundID 82
seagullCryS :: SoundID
seagullCryS = SoundID 82
seagullCryS = SoundID 83
gut3S :: SoundID
gut3S = SoundID 83
gut3S = SoundID 84
metal7S :: SoundID
metal7S = SoundID 84
metal7S = SoundID 85
glassShat4S :: SoundID
glassShat4S = SoundID 85
glassShat4S = SoundID 86
energyReleaseS :: SoundID
energyReleaseS = SoundID 86
energyReleaseS = SoundID 87
tone440S :: SoundID
tone440S = SoundID 87
tone440S = SoundID 88
explosionS :: SoundID
explosionS = SoundID 88
explosionS = SoundID 89
gut4S :: SoundID
gut4S = SoundID 89
gut4S = SoundID 90
glassShat1S :: SoundID
glassShat1S = SoundID 90
glassShat1S = SoundID 91
slap3S :: SoundID
slap3S = SoundID 91
slap3S = SoundID 92
reload1S :: SoundID
reload1S = SoundID 92
reload1S = SoundID 93
slapClean3S :: SoundID
slapClean3S = SoundID 93
slapClean3S = SoundID 94
foot2S :: SoundID
foot2S = SoundID 94
foot2S = SoundID 95
glassShat2S :: SoundID
glassShat2S = SoundID 95
glassShat2S = SoundID 96
fireS :: SoundID
fireS = SoundID 96
fireS = SoundID 97
glassShat3S :: SoundID
glassShat3S = SoundID 97
glassShat3S = SoundID 98
insertS :: SoundID
insertS = SoundID 98
insertS = SoundID 99
blood1S :: SoundID
blood1S = SoundID 99
blood1S = SoundID 100
ting3S :: SoundID
ting3S = SoundID 100
ting3S = SoundID 101
whirdownS :: SoundID
whirdownS = SoundID 101
whirdownS = SoundID 102
gut6S :: SoundID
gut6S = SoundID 102
gut6S = SoundID 103
whirdownShort3S :: SoundID
whirdownShort3S = SoundID 103
whirdownShort3S = SoundID 104
debrisS :: SoundID
debrisS = SoundID 104
debrisS = SoundID 105
tap3S :: SoundID
tap3S = SoundID 105
tap3S = SoundID 106
backgroundSpaceS :: SoundID
backgroundSpaceS = SoundID 106
backgroundSpaceS = SoundID 107
lasPulseS :: SoundID
lasPulseS = SoundID 107
lasPulseS = SoundID 108
clang2S :: SoundID
clang2S = SoundID 108
clang2S = SoundID 109
metal2S :: SoundID
metal2S = SoundID 109
metal2S = SoundID 110
tingS :: SoundID
tingS = SoundID 110
tingS = SoundID 111
autoBS :: SoundID
autoBS = SoundID 111
autoBS = SoundID 112
knifeS :: SoundID
knifeS = SoundID 112
knifeS = SoundID 113
combineS :: SoundID
combineS = SoundID 113
combineS = SoundID 114
connectItemS :: SoundID
connectItemS = SoundID 114
connectItemS = SoundID 115
slapClean7S :: SoundID
slapClean7S = SoundID 115
slapClean7S = SoundID 116
seagullWhistle1S :: SoundID
seagullWhistle1S = SoundID 116
seagullWhistle1S = SoundID 117
bloodShort6S :: SoundID
bloodShort6S = SoundID 117
bloodShort6S = SoundID 118
hitS :: SoundID
hitS = SoundID 118
hitS = SoundID 119
whirdownShort4S :: SoundID
whirdownShort4S = SoundID 119
whirdownShort4S = SoundID 120
sineRaisePitchOneSecS :: SoundID
sineRaisePitchOneSecS = SoundID 120
sineRaisePitchOneSecS = SoundID 121
dededumS :: SoundID
dededumS = SoundID 121
dededumS = SoundID 122
throbC4S :: SoundID
throbC4S = SoundID 122
throbC4S = SoundID 123
whirTapS :: SoundID
whirTapS = SoundID 123
whirTapS = SoundID 124
ting5S :: SoundID
ting5S = SoundID 124
ting5S = SoundID 125
stone2S :: SoundID
stone2S = SoundID 125
stone2S = SoundID 126
blood6S :: SoundID
blood6S = SoundID 126
blood6S = SoundID 127
pickUpS :: SoundID
pickUpS = SoundID 127
pickUpS = SoundID 128
slap2S :: SoundID
slap2S = SoundID 128
slap2S = SoundID 129
bloodShort2S :: SoundID
bloodShort2S = SoundID 129
bloodShort2S = SoundID 130
foamSprayFadeOutS :: SoundID
foamSprayFadeOutS = SoundID 130
foamSprayFadeOutS = SoundID 131
metal6S :: SoundID
metal6S = SoundID 131
metal6S = SoundID 132
tap1S :: SoundID
tap1S = SoundID 132
tap1S = SoundID 133
click1S :: SoundID
click1S = SoundID 133
click1S = SoundID 134
semitoneLoop1S :: SoundID
semitoneLoop1S = SoundID 134
semitoneLoop1S = SoundID 135
disconnectItemS :: SoundID
disconnectItemS = SoundID 135
disconnectItemS = SoundID 136
dedumS :: SoundID
dedumS = SoundID 136
dedumS = SoundID 137
sawtoothFailS :: SoundID
sawtoothFailS = SoundID 137
sawtoothFailS = SoundID 138
sineRaisePitchTwoSecS :: SoundID
sineRaisePitchTwoSecS = SoundID 138
sineRaisePitchTwoSecS = SoundID 139
slap4S :: SoundID
slap4S = SoundID 139
slap4S = SoundID 140
skwareFadeTwoSecS :: SoundID
skwareFadeTwoSecS = SoundID 140
skwareFadeTwoSecS = SoundID 141
reloadFailS :: SoundID
reloadFailS = SoundID 141
reloadFailS = SoundID 142
throb1S :: SoundID
throb1S = SoundID 142
throb1S = SoundID 143
slap5S :: SoundID
slap5S = SoundID 143
slap5S = SoundID 144
smallGlass3S :: SoundID
smallGlass3S = SoundID 144
smallGlass3S = SoundID 145
reverseCymbal1S :: SoundID
reverseCymbal1S = SoundID 145
reverseCymbal1S = SoundID 146
blood2S :: SoundID
blood2S = SoundID 146
blood2S = SoundID 147
insertOneS :: SoundID
insertOneS = SoundID 147
insertOneS = SoundID 148
slap1S :: SoundID
slap1S = SoundID 148
slap1S = SoundID 149
tap4S :: SoundID
tap4S = SoundID 149
tap4S = SoundID 150
clang1S :: SoundID
clang1S = SoundID 150
clang1S = SoundID 151
foot1S :: SoundID
foot1S = SoundID 151
foot1S = SoundID 152
elecCrackleS :: SoundID
elecCrackleS = SoundID 152
elecCrackleS = SoundID 153
foamSprayLoopS :: SoundID
foamSprayLoopS = SoundID 153
foamSprayLoopS = SoundID 154
smallGlass1S :: SoundID
smallGlass1S = SoundID 154
smallGlass1S = SoundID 155
bangS :: SoundID
bangS = SoundID 155
bangS = SoundID 156
seagullChatterS :: SoundID
seagullChatterS = SoundID 156
seagullChatterS = SoundID 157
foot3S :: SoundID
foot3S = SoundID 157
foot3S = SoundID 158
bloodShort3S :: SoundID
bloodShort3S = SoundID 158
bloodShort3S = SoundID 159
blood4S :: SoundID
blood4S = SoundID 159
blood4S = SoundID 160
ejectS :: SoundID
ejectS = SoundID 160
ejectS = SoundID 161
bloodShort4S :: SoundID
bloodShort4S = SoundID 161
bloodShort4S = SoundID 162
metal1S :: SoundID
metal1S = SoundID 162
metal1S = SoundID 163
slapClean5S :: SoundID
slapClean5S = SoundID 163
slapClean5S = SoundID 164
warp1S :: SoundID
warp1S = SoundID 164
warp1S = SoundID 165
tinitusS :: SoundID
tinitusS = SoundID 165
tinitusS = SoundID 166
gut1S :: SoundID
gut1S = SoundID 166
gut1S = SoundID 167
fireFadeS :: SoundID
fireFadeS = SoundID 167
fireFadeS = SoundID 168