Skip to content

Commit 8c64ed8

Browse files
committed
Miku: add descriptions for replacement items
1 parent f465ddb commit 8c64ed8

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

mod/content/items.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<items gfxroot="gfx/items/" version="1">
22
<passive id="1000" gfx="virtual_idol.png" name="Virtual Idol" description="Idol Charm" quality="3" />
33
<passive gfx="virtual_idol.png" name="Encore!" description="Another One!" quality="3" />
4-
<passive gfx="brimstone_note.png" name="Brimstone Note" description="TODO" quality="4" />
5-
<passive gfx="dr_fetus_note.png" name="Dr. Fetus Note" description="TODO" quality="4" />
4+
<passive gfx="brimstone_note.png" name="Brimstone Note" description="Replacement Item for Brimstone" quality="4" />
5+
<passive gfx="dr_fetus_note.png" name="Dr. Fetus Note" description="Replacement Item for Dr. Fetus" quality="4" />
66
<active gfx="microphone.png" name="Microphone" description="Sing your heart out" quality="4" maxcharges="8" chargetype="normal" />
77
<active gfx="microphone.png" name="Broken Voice" description="Switch between silence and voices" quality="4" maxcharges="60" chargetype="timed" />
88
<null name="Miku Idol" cache="collectibles" />

src/characters/Miku/MikuTaintedCharacter.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,12 +202,12 @@ export class MikuTaintedCharacter extends Character {
202202
return;
203203
}
204204

205-
const isTapping = Input.IsActionTriggered(
205+
const isDropping = Input.IsActionTriggered(
206206
ButtonAction.DROP,
207207
player.ControllerIndex,
208208
);
209209

210-
if (!(useNotes ?? false) && isTapping && notes.length > 1) {
210+
if (!(useNotes ?? false) && isDropping && notes.length > 1) {
211211
const firstNote = notes.shift();
212212
if (firstNote) {
213213
notes.push(firstNote);

src/main.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ const FEATURES = [
4343
export const main = (): void => {
4444
initModFeatures(mod, FEATURES);
4545

46-
NotePickup.register();
47-
48-
mod.registerCharacterStats(PlayerTypeCustom.MIKU, MIKU_STATS);
49-
mod.registerCharacterStats(PlayerTypeCustom.MIKU_B, MIKU_B_STATS);
50-
5146
if (isRepentogon()) {
5247
print(`\n${MOD_NAME} v${version} loaded. [REPENTOGON]`);
5348
} else {
5449
print(`\n${MOD_NAME} v${version} loaded.`);
5550
}
51+
52+
NotePickup.register();
53+
54+
mod.registerCharacterStats(PlayerTypeCustom.MIKU, MIKU_STATS);
55+
mod.registerCharacterStats(PlayerTypeCustom.MIKU_B, MIKU_B_STATS);
5656
};

src/util/debug.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const DEBUG = {
66
ITEMS: false,
77
TEAR: false,
88
PICKUP: false,
9-
EID: true,
9+
EID: false,
1010
} as const;
1111

1212
/** Debugging utility functions for the mod. */

0 commit comments

Comments
 (0)