Browse Source

cleaning up

main
Stephanie Gredell 4 months ago
parent
commit
2d8fd51902
  1. 1
      src/data/enemies.js
  2. 1
      src/data/maps.js
  3. 26
      src/data/relics.js

1
src/data/enemies.js

@ -1,4 +1,3 @@
export const ENEMIES = { export const ENEMIES = {
old_man_judo: { old_man_judo: {
id: "old_man_judo", name: "Old Man Judo", maxHp: 40, id: "old_man_judo", name: "Old Man Judo", maxHp: 40,

1
src/data/maps.js

@ -1,4 +1,3 @@
export const MAPS = { export const MAPS = {
act1: { act1: {
id: "act1", name: "Birthday Spire — Act I", id: "act1", name: "Birthday Spire — Act I",

26
src/data/relics.js

@ -1,30 +1,30 @@
export const RELICS = { export const RELICS = {
mech_kb: { kinesis: {
id: "mech_kb", name: "Kinesis", id: "kinesis", name: "Kinesis",
text: "+1 card draw each turn.", text: "+1 card draw each turn.",
art: "Monk_29.png", art: "Monk_29.png",
hooks: { onTurnStart: (ctx) => ctx.draw(1) } hooks: { onTurnStart: (ctx) => ctx.draw(1) }
}, },
standing_desk: { vim_motions: {
id: "standing_desk", name: "Vim Motions", id: "vim_motions", name: "Vim Motions",
text: "+10 Max HP.", text: "+10 Max HP.",
art: "Monk_30.png", art: "Monk_30.png",
hooks: { onRunStart: (ctx) => { ctx.player.maxHp += 10; ctx.player.hp += 10; } } hooks: { onRunStart: (ctx) => { ctx.player.maxHp += 10; ctx.player.hp += 10; } }
}, },
prime_hat: { vs_code: {
id: "prime_hat", name: "VS Code", id: "vs_code", name: "VS Code",
text: "-10% damage taken.", text: "-10% damage taken.",
art: "Monk_31.png", art: "Monk_31.png",
hooks: { onDamageTaken: (ctx, dmg) => Math.ceil(dmg * 0.9) } hooks: { onDamageTaken: (ctx, dmg) => Math.ceil(dmg * 0.9) }
}, },
coffee_thermos: { terminal_coffee_thermos: {
id: "coffee_thermos", name: "Terminal Coffee Thermos", id: "terminal_coffee_thermos", name: "Terminal Coffee Thermos",
text: "Start each fight with Coffee Rush.", text: "Start each fight with Coffee Rush.",
art: "Monk_32.png", art: "Monk_32.png",
hooks: { onBattleStart: (ctx) => { ctx.player.energy += 2; ctx.log("Your coffee thermos provides an energizing boost!") } } hooks: { onBattleStart: (ctx) => { ctx.player.energy += 2; ctx.log("Your coffee thermos provides an energizing boost!") } }
}, },
cpp_compiler: { haskell: {
id: "cpp_compiler", name: "Haskell", id: "haskell", name: "Haskell",
text: "First attack each turn deals double.", text: "First attack each turn deals double.",
art: "Monk_33.png", art: "Monk_33.png",
state: { used: false }, state: { used: false },
@ -33,8 +33,8 @@ export const RELICS = {
onPlayerAttack: (ctx, st, amount) => st.used ? amount : (st.used = true, amount * 2) onPlayerAttack: (ctx, st, amount) => st.used ? amount : (st.used = true, amount * 2)
} }
}, },
chat_mod_sword: { worst_streamer_award: {
id: "chat_mod_sword", name: "Worst Streamer Award", id: "worst_streamer_award", name: "Worst Streamer Award",
text: "Start fights with 1 Weak on all enemies.", text: "Start fights with 1 Weak on all enemies.",
art: "Monk_34.png", art: "Monk_34.png",
hooks: { hooks: {
@ -46,4 +46,4 @@ export const RELICS = {
}, },
}; };
export const START_RELIC_CHOICES = ["mech_kb", "standing_desk", "prime_hat", "coffee_thermos", "cpp_compiler", "chat_mod_sword"]; export const START_RELIC_CHOICES = ["kinesis", "vim_motions", "vs_code", "terminal_coffee_thermos", "haskell", "worst_streamer_award"];

Loading…
Cancel
Save