From 476198806da06beb52193857de001636be49510b Mon Sep 17 00:00:00 2001 From: Thomas Richter Date: Wed, 17 Dec 2025 05:18:49 +0100 Subject: [PATCH] Add pirate-themed language throughout game MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ship Deck Scene: - "Yer Whaling Vessel" instead of "The Whaling Vessel" - "Ahoy, matey!" welcome message - Pirate expressions in barrel messages (Arr!, Aye!, fer, yer) - "ye scurvy dog" in instructions - "savvy?" in penguin messages Intro Scene: - "A Whaling Adventure on the High Seas" - "SET SAIL" button instead of "START GAME" - "Cast off and seek yer fortune!" instructions 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- src/scenes/IntroScene.js | 6 +++--- src/scenes/ShipDeckScene.js | 14 +++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/scenes/IntroScene.js b/src/scenes/IntroScene.js index ac81f5f..6236b8e 100644 --- a/src/scenes/IntroScene.js +++ b/src/scenes/IntroScene.js @@ -26,7 +26,7 @@ export default class IntroScene extends Phaser.Scene { title.setStroke('#000000', 3); // Subtitle - this.add.text(400, 210, 'An 18th Century Whaling Voyage', { + this.add.text(400, 210, 'A Whaling Adventure on the High Seas', { fontSize: '22px', fill: '#cccccc', fontStyle: 'italic' @@ -42,7 +42,7 @@ export default class IntroScene extends Phaser.Scene { buttonBg.setStrokeStyle(3, 0xffffff); buttonBg.setInteractive({ useHandCursor: true }); - const buttonText = this.add.text(400, 400, 'START GAME', { + const buttonText = this.add.text(400, 400, 'SET SAIL', { fontSize: '28px', fill: '#ffffff', fontStyle: 'bold' @@ -63,7 +63,7 @@ export default class IntroScene extends Phaser.Scene { }); // Instructions text - this.add.text(400, 530, 'Click to begin your adventure', { + this.add.text(400, 530, 'Click to cast off and seek yer fortune!', { fontSize: '16px', fill: '#ffff99' }).setOrigin(0.5); diff --git a/src/scenes/ShipDeckScene.js b/src/scenes/ShipDeckScene.js index 406e00d..4c36c54 100644 --- a/src/scenes/ShipDeckScene.js +++ b/src/scenes/ShipDeckScene.js @@ -20,7 +20,7 @@ export default class ShipDeckScene extends Phaser.Scene { create() { // Background - ship deck this.add.rectangle(400, 300, 800, 600, 0x8B4513); - this.add.text(400, 30, 'Ship Deck - The Whaling Vessel', { + this.add.text(400, 30, 'The Deck - Yer Whaling Vessel', { fontSize: '24px', fill: '#fff' }).setOrigin(0.5); @@ -33,7 +33,7 @@ export default class ShipDeckScene extends Phaser.Scene { this.createMessageBox(); // Instructions - this.add.text(400, 560, 'Click on objects to interact', { + this.add.text(400, 560, 'Click on things to have a look, ye scurvy dog', { fontSize: '16px', fill: '#ffff99' }).setOrigin(0.5); @@ -95,9 +95,9 @@ export default class ShipDeckScene extends Phaser.Scene { this.penguinCage.on('pointerdown', () => { if (this.inventory.penguins > 0) { - this.showMessage(`${this.inventory.penguins} penguins. They're... emergency fuel. Dark times call for dark measures.`); + this.showMessage(`Arr, ${this.inventory.penguins} penguins in the hold. Emergency fuel, they be. Desperate times call fer desperate measures, savvy?`); } else { - this.showMessage('Empty penguin cage. Should we catch some for... fuel?'); + this.showMessage(`Empty penguin cage, aye. Should we be catchin' some fer... fuel?`); } }); } @@ -159,7 +159,7 @@ export default class ShipDeckScene extends Phaser.Scene { const interactiveZone = this.add.rectangle(zoneX, zoneY, zoneWidth, zoneHeight, 0x000000, 0); interactiveZone.setInteractive({ useHandCursor: true }); interactiveZone.on('pointerdown', () => { - this.showMessage(`Fuel supply: ${barrelCount} barrels (${this.inventory.fuel} units). Needed for boiling down whale blubber.`); + this.showMessage(`Arr! ${barrelCount} barrels of fuel (${this.inventory.fuel} units) fer boilin' down the blubber, aye!`); }); this.fuelBarrels.push(interactiveZone); } @@ -217,7 +217,7 @@ export default class ShipDeckScene extends Phaser.Scene { const interactiveZone = this.add.rectangle(zoneX, zoneY, zoneWidth, zoneHeight, 0x000000, 0); interactiveZone.setInteractive({ useHandCursor: true }); interactiveZone.on('pointerdown', () => { - this.showMessage(`Whale oil: ${barrelCount} barrels (${this.inventory.whaleOil} units). Your precious cargo!`); + this.showMessage(`Aye! ${barrelCount} barrels of whale oil (${this.inventory.whaleOil} units). Yer precious cargo, worth its weight in gold!`); }); this.oilBarrels.push(interactiveZone); } @@ -299,7 +299,7 @@ export default class ShipDeckScene extends Phaser.Scene { this.messageBox = this.add.rectangle(400, 500, 760, 80, 0x000000, 0.8); this.messageBox.setStrokeStyle(2, 0xcccccc); - this.messageText = this.add.text(400, 500, 'Welcome aboard! Click around to explore the ship.', { + this.messageText = this.add.text(400, 500, 'Ahoy, matey! Welcome aboard. Have a look around the vessel.', { fontSize: '16px', fill: '#fff', wordWrap: { width: 740 },