Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Add ability to place arbitrary material spatters on map

Aperta
#5,703 9 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
cpp
Ambito
tooling

Direzione di ricerca

The issue identifies worldst::add_material_spatter_tile as the behavior to match, but does not name files or tests; start by locating that function and reading its implementation. Then inspect existing DFHack tools for map editing and material selection. Done means a tool can place valid material states on chosen tiles and matches the in-game function’s behavior.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

idea

In order to make subterranean stone tiles farmable, they need to be made muddy. Currently, the only way to do this is to use the liquids tool to place water in an adjacent tile and hope it spreads into the tiles you want - it would be much more convenient to have a way to directly place mud on the map.

This shouldn't be constrainted to only placing mud - ideally, it should allow placing any material in any valid state (e.g. MUD + SOLID for mud, WATER + POWDER for snow, CREATURE_MAT:DWARF:BLOOD + LIQUID for liquid dwarf blood, and possibly even CREATURE_MAT:FORGOTTEN_BEAST_N:POISON + LIQUID for beast venom). Invalid material states should be disallowed, whether by checking the MELTING_POINT/BOILING_POINT or by checking for an absence of state names (or both).

This could be done either as a command-line tool placing the contaminant in the tile beneath the keyboard cursor, or it could be a graphical tool where you select the material+state from a menu and then use the mouse to paint the spatter onto the map (either by placing individual rectangles or potentially click-and-drag).

Each tile's temperature could potentially be used to automatically select the material's state, reducing the choice to just SOLID, POWDER, and PASTE.

This tool should mimic the exact behavior of the in-game function worldst::add_material_spatter_tile (which can be provided upon request).

Lingua principale
C++
Stelle
2.1k
Fork
509
Merge medio
2g 19h
PR unite (30g)
25

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di DFHack/dfhack

Tutte le issue di DFHack/dfhack

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.