|
|
|
@@ -430,6 +430,90 @@ export const Town = (): Place => { |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
debug.choices.push( |
|
|
|
new Choice( |
|
|
|
"Boost agility", |
|
|
|
"More agility", |
|
|
|
(world, executor) => { |
|
|
|
executor.baseStats[Stat.Agility] += 5 |
|
|
|
executor.takeDamage(new Damage( |
|
|
|
{ amount: 5, target: Stat.Agility, type: DamageType.Heal } |
|
|
|
)) |
|
|
|
return new LogLine(`You're stronger now`) |
|
|
|
} |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
debug.choices.push( |
|
|
|
new Choice( |
|
|
|
"Boost charm", |
|
|
|
"More charm", |
|
|
|
(world, executor) => { |
|
|
|
executor.baseStats[Stat.Charm] += 5 |
|
|
|
executor.takeDamage(new Damage( |
|
|
|
{ amount: 5, target: Stat.Charm, type: DamageType.Heal } |
|
|
|
)) |
|
|
|
return new LogLine(`You're stronger now`) |
|
|
|
} |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
debug.choices.push( |
|
|
|
new Choice( |
|
|
|
"Boost power", |
|
|
|
"More power", |
|
|
|
(world, executor) => { |
|
|
|
executor.baseStats[Stat.Power] += 5 |
|
|
|
executor.takeDamage(new Damage( |
|
|
|
{ amount: 5, target: Stat.Power, type: DamageType.Heal } |
|
|
|
)) |
|
|
|
return new LogLine(`You're stronger now`) |
|
|
|
} |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
debug.choices.push( |
|
|
|
new Choice( |
|
|
|
"Boost reflexes", |
|
|
|
"More reflexes", |
|
|
|
(world, executor) => { |
|
|
|
executor.baseStats[Stat.Reflexes] += 5 |
|
|
|
executor.takeDamage(new Damage( |
|
|
|
{ amount: 5, target: Stat.Reflexes, type: DamageType.Heal } |
|
|
|
)) |
|
|
|
return new LogLine(`You're stronger now`) |
|
|
|
} |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
debug.choices.push( |
|
|
|
new Choice( |
|
|
|
"Boost toughness", |
|
|
|
"More toughness", |
|
|
|
(world, executor) => { |
|
|
|
executor.baseStats[Stat.Toughness] += 5 |
|
|
|
executor.takeDamage(new Damage( |
|
|
|
{ amount: 5, target: Stat.Toughness, type: DamageType.Heal } |
|
|
|
)) |
|
|
|
return new LogLine(`You're stronger now`) |
|
|
|
} |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
debug.choices.push( |
|
|
|
new Choice( |
|
|
|
"Boost willpower", |
|
|
|
"More willpower", |
|
|
|
(world, executor) => { |
|
|
|
executor.baseStats[Stat.Willpower] += 5 |
|
|
|
executor.takeDamage(new Damage( |
|
|
|
{ amount: 5, target: Stat.Willpower, type: DamageType.Heal } |
|
|
|
)) |
|
|
|
return new LogLine(`You're stronger now`) |
|
|
|
} |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
debug.choices.push( |
|
|
|
new Choice( |
|
|
|
"Grow", |
|
|
|
|