Save system: ceremonial PR #42
| @@ -2,7 +2,7 @@ | |||||||
| <html lang="en"> | <html lang="en"> | ||||||
|   <head> |   <head> | ||||||
|     <meta charset="UTF-8" /> |     <meta charset="UTF-8" /> | ||||||
|     <title>Prototype 2</title> |     <title>FLEDGLING</title> | ||||||
|   </head> |   </head> | ||||||
|   <body> |   <body> | ||||||
|     <canvas id="game" style="cursor: none"></canvas> |     <canvas id="game" style="cursor: none"></canvas> | ||||||
|   | |||||||
							
								
								
									
										
											BIN
										
									
								
								packaging/gif1.gif
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								packaging/gif1.gif
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 163 KiB | 
							
								
								
									
										
											BIN
										
									
								
								packaging/gif2.gif
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								packaging/gif2.gif
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 73 KiB | 
							
								
								
									
										
											BIN
										
									
								
								packaging/gif3.gif
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								packaging/gif3.gif
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 114 KiB | 
							
								
								
									
										
											BIN
										
									
								
								packaging/thumbnail.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								packaging/thumbnail.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 3.1 KiB | 
| @@ -29,10 +29,7 @@ export class EndgameModal { | |||||||
|     this.#selectedSuccessor = null; |     this.#selectedSuccessor = null; | ||||||
|     this.#selectedWish = null; |     this.#selectedWish = null; | ||||||
|     this.#ending = null; |     this.#ending = null; | ||||||
|  |  | ||||||
|     this.#playedSound = false; |     this.#playedSound = false; | ||||||
|  |  | ||||||
|     // this.show(getScorer().pickEnding()); |  | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   get isShown(): boolean { |   get isShown(): boolean { | ||||||
| @@ -44,6 +41,7 @@ export class EndgameModal { | |||||||
|     this.#selectedSuccessor = null; |     this.#selectedSuccessor = null; | ||||||
|     this.#selectedWish = null; |     this.#selectedWish = null; | ||||||
|     this.#ending = ending; |     this.#ending = ending; | ||||||
|  |     this.#playedSound = false; | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   update() { |   update() { | ||||||
|   | |||||||
| @@ -141,7 +141,7 @@ export let thrallParty = table.add({ | |||||||
|   itemPickupMessage: |   itemPickupMessage: | ||||||
|     "This antique wedding ring looks like it was worth at least fifty big blinds.", |     "This antique wedding ring looks like it was worth at least fifty big blinds.", | ||||||
|   deliveryMessage: |   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!", |   rewardMessage: "Garrett showers you with INT!", | ||||||
|   rewardCallback: (spawn) => { |   rewardCallback: (spawn) => { | ||||||
|     for (let i = 0; i < 12; i++) { |     for (let i = 0; i < 12; i++) { | ||||||
| @@ -217,7 +217,7 @@ export let thrallLore = table.add({ | |||||||
|   itemPickupMessage: |   itemPickupMessage: | ||||||
|     "You can't see yourself in this antique silver mirror. On the other hand, they say silver is effective against wolves.", |     "You can't see yourself in this antique silver mirror. On the other hand, they say silver is effective against wolves.", | ||||||
|   deliveryMessage: |   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!", |   rewardMessage: "Lupin showers you with AGI!", | ||||||
|   rewardCallback: (spawn) => { |   rewardCallback: (spawn) => { | ||||||
|     for (let i = 0; i < 12; i++) { |     for (let i = 0; i < 12; i++) { | ||||||
| @@ -290,7 +290,7 @@ export let thrallBat = table.add({ | |||||||
|   itemPickupMessage: |   itemPickupMessage: | ||||||
|     "This particular instance of gator food resembles an infamous Aotearoan entree: colonial goose.", |     "This particular instance of gator food resembles an infamous Aotearoan entree: colonial goose.", | ||||||
|   deliveryMessage: |   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!", |   rewardMessage: "Monica showers you with CHA and INT!", | ||||||
|   rewardCallback: (spawn) => { |   rewardCallback: (spawn) => { | ||||||
|     for (let i = 0; i < 8; i++) { |     for (let i = 0; i < 8; i++) { | ||||||
| @@ -366,7 +366,7 @@ export let thrallCharm = table.add({ | |||||||
|   itemPickupMessage: |   itemPickupMessage: | ||||||
|     "Your photo is going to be in a lot of places if it gets out, but you've got the original.", |     "Your photo is going to be in a lot of places if it gets out, but you've got the original.", | ||||||
|   deliveryMessage: |   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!", |   rewardMessage: "Renfield showers you with PSI!", | ||||||
|   rewardCallback: (spawn) => { |   rewardCallback: (spawn) => { | ||||||
|     for (let i = 0; i < 12; i++) { |     for (let i = 0; i < 12; i++) { | ||||||
| @@ -440,7 +440,7 @@ export let thrallStealth = table.add({ | |||||||
|   itemPickupMessage: |   itemPickupMessage: | ||||||
|     "The freezer is empty except for this frozen kobold, who mutters something about collecting blood for its master.", |     "The freezer is empty except for this frozen kobold, who mutters something about collecting blood for its master.", | ||||||
|   deliveryMessage: |   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!", |   rewardMessage: "Narthyss showers you with CHA and AGI!", | ||||||
|   rewardCallback: (spawn) => { |   rewardCallback: (spawn) => { | ||||||
|     for (let i = 0; i < 8; i++) { |     for (let i = 0; i < 8; i++) { | ||||||
| @@ -517,7 +517,7 @@ export let thrallStare = table.add({ | |||||||
|   itemPickupMessage: |   itemPickupMessage: | ||||||
|     "This glinting gear would be perfect for a malfunctioning robot.", |     "This glinting gear would be perfect for a malfunctioning robot.", | ||||||
|   deliveryMessage: |   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!", |   rewardMessage: "Ridley showers you with EXP!", | ||||||
|   rewardCallback: (spawn) => { |   rewardCallback: (spawn) => { | ||||||
|     for (let i = 0; i < 12; i++) { |     for (let i = 0; i < 12; i++) { | ||||||
|   | |||||||
| @@ -1,9 +1,9 @@ | |||||||
| { | { | ||||||
|   "compilerOptions": { |   "compilerOptions": { | ||||||
|     "target": "ES2020", |     "target": "ES2023", | ||||||
|     "useDefineForClassFields": true, |     "useDefineForClassFields": true, | ||||||
|     "module": "ESNext", |     "module": "ESNext", | ||||||
|     "lib": ["ES2020", "DOM", "DOM.Iterable"], |     "lib": ["ES2023", "DOM", "DOM.Iterable"], | ||||||
|     "skipLibCheck": true, |     "skipLibCheck": true, | ||||||
|  |  | ||||||
|     /* Bundler mode */ |     /* Bundler mode */ | ||||||
|   | |||||||
							
								
								
									
										10
									
								
								vite.config.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								vite.config.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,10 @@ | |||||||
|  | // vite.config.js | ||||||
|  | import { defineConfig } from "vite"; | ||||||
|  |  | ||||||
|  | export default defineConfig({ | ||||||
|  |   base: "", | ||||||
|  |   minify: false, | ||||||
|  |   build: { | ||||||
|  |     target: "esnext", | ||||||
|  |   }, | ||||||
|  | }); | ||||||
		Reference in New Issue
	
	Block a user