TeamREPENTOGON / TeamREPENTOGON/REPENTOGON

"displayname" attribute

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

Nobody has claimed this yet.

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

Description

A displayname attribute for stuff like items.xml, entities2.xml, etc. that would be used when displaying the name of an object. If not present, this would just default to/the game would display the name attribute.

This would then make name be used solely as an identifier. Could be useful to avoid conflicts with modded items that have the same name, or make items that use several sprites/forms be a tad bit easier to make (currently, whitespace or zero-width space characters are used to achieve this).

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 tracing how items.xml and entities2.xml currently read and display the name attribute. Determine the affected object types and whether displayname can fall back to name. Done means the new attribute is supported for the relevant XML objects without changing name-based identification, including the stated multi-form and duplicate-name use cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
xml
Domain
game-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.