TeamREPENTOGON / TeamREPENTOGON/REPENTOGON

Override for CanPickXHearts (MC_GET_CAN_PICK_HEARTS)

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

Nobody has claimed this yet.

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

Description

Ability to override the various CanPickXHearts to force the game to think we can/cannot collect certain heart types. Great for having the game do all the pickup logic and we can do additional handling as needed. Idea of implementation is a callback named MC_GET_CAN_PICK_HEARTS with optional arg/enum CanPickType (just like theres a AddHealthType), returning a boolean to force true or false.

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 CanPickXHearts implementations and the AddHealthType callback or enum handling in the repository. Trace how these APIs are exposed and determine where MC_GET_CAN_PICK_HEARTS should receive its optional CanPickType and return a forced boolean; done means all relevant heart-pick checks honor the callback.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, lua
Domain
api, game-dev
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.