Station rooms are offered as blog-NPC spots and hold parked NPCs

Open
#73 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
Half a day
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
javascript, python
Domain
tooling

Research direction

Start with overworld_rooms() in tools/blog_to_npc.py, which filters on the interior flag, then check how find_spots uses its result. The station rooms are generated in tools/generate_stations.py, where the flag would need to be set to true, but first confirm what else reads it, including the map and shop logic. Done means NPCs are no longer placed in station interiors such as YukimuraStation at (1,5), and the existing blog-to-NPC behaviour for other rooms is unchanged.

Written by the indexing model from the issue text.

Description

overworld_rooms() in tools/blog_to_npc.py filters on the interior flag, which the *Station rooms do not carry, so find_spots offers e.g. "TokyoStation · the vending machines" and NPCs get placed inside station interiors (Julia and Damian have dated states in YukimuraStation at (1,5)). If that is unintended, mark station rooms interior: true in tools/generate_stations.py — after checking what else reads that flag (the map and shop logic).

Found while implementing #17.

Dominant language
JavaScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from devhou-se/game

All issues in devhou-se/game

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.