TeamREPENTOGON / TeamREPENTOGON/REPENTOGON

Add LevelGenerator.RemoveRoom()

Open
#672 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement non-callback-request
Dominant language
C++
Stars
345
Forks
51
Avg merge
11h 2m
Merged PRs (30d)
4

Description

A RemoveRoom(int Column, int Row) function which removes a given room from the level generator would, in conjunction with the existing PlaceRoom() function and MC_PRE_NEW_ROOM, allow modders to create their own room layouts. The current implementation does not have any means through which a room can be prevented from generating, or replaced with a room of a different shape.

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by locating the existing LevelGenerator.PlaceRoom() implementation and the MC_PRE_NEW_ROOM hook, then trace how rooms are selected and generated. Add the requested RemoveRoom(int Column, int Row) capability so a specified room can be prevented from generating and used with PlaceRoom() for custom layouts; verify the behavior through the project's existing tests or modding workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
game-dev, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.