TeamREPENTOGON / TeamREPENTOGON/REPENTOGON

GridEntity Helper Functions

Open
#95 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

It's been established at this point that having to iterate through a room's grid entities in lua to do something is a big cause of slowdown. We could possibly both alleviate this and save modders some trouble by creating functions on the C++ side of things for commonly performed tasks, such as finding all gridents of a certain type or checking if all pressure plates have been pressed.

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 reviewing the C++/Lua boundary for room grid entities and catalog the repeated Lua tasks this proposal targets. Define the helper scope and expected behavior first, including finding grid entities by type and checking whether all pressure plates are pressed; the work is done when those decisions are implemented and exposed to modders.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, lua
Domain
api, game-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.