Fix two known bugs (and WebStorm)
This commit is contained in:
parent
7d0e5566f8
commit
c285c76096
@ -29,10 +29,7 @@ export class EndgameModal {
|
||||
this.#selectedSuccessor = null;
|
||||
this.#selectedWish = null;
|
||||
this.#ending = null;
|
||||
|
||||
this.#playedSound = false;
|
||||
|
||||
// this.show(getScorer().pickEnding());
|
||||
}
|
||||
|
||||
get isShown(): boolean {
|
||||
@ -44,6 +41,7 @@ export class EndgameModal {
|
||||
this.#selectedSuccessor = null;
|
||||
this.#selectedWish = null;
|
||||
this.#ending = ending;
|
||||
this.#playedSound = false;
|
||||
}
|
||||
|
||||
update() {
|
||||
|
@ -137,7 +137,7 @@ export let thrallParty = table.add({
|
||||
itemPickupMessage:
|
||||
"This antique wedding ring looks like it was worth at least fifty big blinds.",
|
||||
deliveryMessage:
|
||||
'"Oh, that? Yeah, I won it." And then lost it, apparently.\n\nHe\'s elated. He will never leave.',
|
||||
'"Oh, that? Yeah, I won it." And then lost it, apparently.\n\nHe\'s elated.',
|
||||
rewardMessage: "Garrett showers you with INT!",
|
||||
rewardCallback: (spawn) => {
|
||||
for (let i = 0; i < 12; i++) {
|
||||
@ -213,7 +213,7 @@ export let thrallLore = table.add({
|
||||
itemPickupMessage:
|
||||
"You can't see yourself in this antique silver mirror. On the other hand, they say silver is effective against wolves.",
|
||||
deliveryMessage:
|
||||
"Lupin looks at his own reflection -- with interest, confusion, dismissal, and then deep satisfaction. He loves it. He will never leave.",
|
||||
"Lupin looks for his own reflection -- with interest, confusion, dismissal, and then deep satisfaction.",
|
||||
rewardMessage: "Lupin showers you with AGI!",
|
||||
rewardCallback: (spawn) => {
|
||||
for (let i = 0; i < 12; i++) {
|
||||
@ -286,7 +286,7 @@ export let thrallBat = table.add({
|
||||
itemPickupMessage:
|
||||
"This particular instance of gator food resembles an infamous Aotearoan entree: colonial goose.",
|
||||
deliveryMessage:
|
||||
'Monica salivates. "This is... this is... simply exquisite!"\n\nShe is happy. She will never leave.',
|
||||
'Monica salivates. "This is... this is... simply exquisite!"',
|
||||
rewardMessage: "Monica showers you with CHA and INT!",
|
||||
rewardCallback: (spawn) => {
|
||||
for (let i = 0; i < 8; i++) {
|
||||
@ -362,7 +362,7 @@ export let thrallCharm = table.add({
|
||||
itemPickupMessage:
|
||||
"Your photo is going to be in a lot of places if it gets out, but you've got the original.",
|
||||
deliveryMessage:
|
||||
"Renfield inhales sharply and widens his stance, trying to hide his physical reaction to your face. He is elated and will never leave.",
|
||||
"Renfield inhales sharply and widens his stance, trying to hide his physical reaction to your face. He is elated.",
|
||||
rewardMessage: "Renfield showers you with PSI!",
|
||||
rewardCallback: (spawn) => {
|
||||
for (let i = 0; i < 12; i++) {
|
||||
@ -436,7 +436,7 @@ export let thrallStealth = table.add({
|
||||
itemPickupMessage:
|
||||
"The freezer is empty except for this frozen kobold, who mutters something about collecting blood for its master.",
|
||||
deliveryMessage:
|
||||
"\"That? That's not mine.\" But she wants it. Now it's hers. She will never leave.",
|
||||
"\"That? That's not mine.\" But she wants it. Now it's hers.",
|
||||
rewardMessage: "Narthyss showers you with CHA and AGI!",
|
||||
rewardCallback: (spawn) => {
|
||||
for (let i = 0; i < 8; i++) {
|
||||
@ -513,7 +513,7 @@ export let thrallStare = table.add({
|
||||
itemPickupMessage:
|
||||
"This glinting gear would be perfect for a malfunctioning robot.",
|
||||
deliveryMessage:
|
||||
"Ridley admires the gear but -- to your surprise -- refuses to jam it into its brain.\n\nThe pup is elated and will never leave.",
|
||||
"Ridley admires the gear but -- to your surprise -- refuses to jam it into its brain.\n\nThe pup is elated.",
|
||||
rewardMessage: "Ridley showers you with EXP!",
|
||||
rewardCallback: (spawn) => {
|
||||
for (let i = 0; i < 12; i++) {
|
||||
|
@ -1,9 +1,9 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "ES2024",
|
||||
"target": "ES2023",
|
||||
"useDefineForClassFields": true,
|
||||
"module": "ESNext",
|
||||
"lib": ["ES2024", "DOM", "DOM.Iterable"],
|
||||
"lib": ["ES2023", "DOM", "DOM.Iterable"],
|
||||
"skipLibCheck": true,
|
||||
|
||||
/* Bundler mode */
|
||||
|
Loading…
x
Reference in New Issue
Block a user