Add pirate-themed language throughout game

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 <noreply@anthropic.com>
This commit is contained in:
Thomas Richter
2025-12-17 05:18:49 +01:00
parent 08e7cfc33c
commit 476198806d
2 changed files with 10 additions and 10 deletions

View File

@@ -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 },