Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Add ability to place arbitrary material spatters on map

Offen
#5,703 9 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 3 Tagen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
35/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Ruhig
Tech-Stack
cpp
Bereich
tooling

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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).

Vorherrschende Sprache
C++
Sterne
2.1k
Forks
509
Ø Merge
2 T. 19 Std.
Gemergte PRs (30 T.)
25

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus DFHack/dfhack

Alle Issues in DFHack/dfhack

Ähnliche Issues

Weitere Issues zu C++

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.