Save system: ceremonial PR #42
| @@ -2,7 +2,7 @@ | ||||
| <html lang="en"> | ||||
|   <head> | ||||
|     <meta charset="UTF-8" /> | ||||
|     <title>Prototype 2</title> | ||||
|     <title>FLEDGLING</title> | ||||
|   </head> | ||||
|   <body> | ||||
|     <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.#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() { | ||||
|   | ||||
| @@ -141,7 +141,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++) { | ||||
| @@ -217,7 +217,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++) { | ||||
| @@ -290,7 +290,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++) { | ||||
| @@ -366,7 +366,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++) { | ||||
| @@ -440,7 +440,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++) { | ||||
| @@ -517,7 +517,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": "ES2020", | ||||
|     "target": "ES2023", | ||||
|     "useDefineForClassFields": true, | ||||
|     "module": "ESNext", | ||||
|     "lib": ["ES2020", "DOM", "DOM.Iterable"], | ||||
|     "lib": ["ES2023", "DOM", "DOM.Iterable"], | ||||
|     "skipLibCheck": true, | ||||
|  | ||||
|     /* 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