Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

Add ability to place arbitrary material spatters on map

Aberta
#5,703 9 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 3 dias

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
35/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Pouca atividade
Stack de tecnologia
cpp
Domínio
tooling

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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

Linguagem predominante
C++
Estrelas
2.1k
Forks
509
Merge médio
2d 19h
PRs com merge (30d)
25

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de DFHack/dfhack

Todas as issues de DFHack/dfhack

Issues semelhantes

Mais issues de C++

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.