Hacktoberfest 2026 : les issues que les mainteneurs ont marquées pour octobre, ouvertes et accessibles aux débutants. Parcourir les issues Hacktoberfest

[Feature request] I made a small proof-of-concept for a "site search" feature (see video)

Ouverte
#5,868 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 2 jours

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
35/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Calme
Stack technique
lua
Domaine
game-dev

Piste de recherche

The proof of concept hides other sites by toggling site.flag.HIDDEN, borrowing from reveal-hidden-sites.lua, so start by reading that script and how it restores flags. Then decide whether the search window can highlight the selected site without hiding the rest, which the issue asks the maintainers about. Done means a settled approach, and the search-and-restore behaviour working on a world map.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

The idea is simple: the world map currently has no way to search sites by name, which makes finding specific locations difficult. The script provides a searchable list of all known sites using their translated English names.

When a site is selected, it temporarily hides all other world sites by toggling their site.flag.HIDDEN state, leaving only the selected site visible (yes, I borrowed the idea from reveal-hidden-sites.lua). The normal world map then highlights it automatically, using the game's existing site rendering behavior. When the search window is closed, all original hidden states are restored.

What do you think? Perhaps there is a better way to make the selected site stand out even more, and without hiding all the other sites?

https://github.com/user-attachments/assets/789344e2-331e-49c5-a022-3660aa3ab7f3

Langage dominant
C++
Étoiles
2.1k
Forks
509
Merge moyen
2 j 13 h
PR mergées (30 j)
28

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de DFHack/dfhack

Toutes les issues de DFHack/dfhack

Issues similaires

Plus d'issues C++

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.