Skip to content

Conversation

@CreatorguyS
Copy link
Contributor

Added Mailbox Interaction to City Map

Description
Adds an interactive mailbox to the map_city scene. When players interact with it, they receive one of several random, developer-themed messages.

Changes Made

  • Added src/interactions/map_city/mailbox.interaction.js for mailbox logic
  • Updated src/interactions/map_city/index.js to register the interaction
  • Included 8 random humorous messages

Features

  • Randomized dialogue on interaction
  • Developer-themed humor (bootcamp flyers, deployment notices, postcards, etc.)
  • Consistent behavior with existing interactions (bin, soccer ball)

Testing

  1. Start a new game
  2. Go to the city map
  3. Find the mailbox (upper-center near the main road)
  4. Press T to interact
  5. Verify different messages appear on multiple interactions

Type of Change

  • 🆕 New feature (non-breaking)
  • 🧩 Good first issue contribution

Press T to interact

Verify different messages appear on multiple interactions

Type of Change

🆕 New feature (non-breaking)

🧩 Good first issue contribution

Copy link
Collaborator

@r4pt0s r4pt0s left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job @CreatorguyS. 🙌🏻🎉

@r4pt0s r4pt0s merged commit 116f3b2 into zero-to-mastery:main Oct 30, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants