I encountered a little problem with the feature script. I want to run it with autosyndrome whenever the player spawns magma with magical means in a reaction. This way they can build magma furnaces without the need to dig down. I can already spawn magma (although my screw-pump like liquid-spawner idea still stands) and I can run the script manually. But it shows some odd behaviour.
When I type "feature list" it shows the map features. These differ from map to map. Each feature has a number, and a name. The script claims that you can run it by either.
"Feature show 8" and "Feature show magma_pool" should both enable the magma-pool in my test map. But only "feature show 8" works, while "feature show magma_pool" reveal the first feature in the list, a cave. Here a screenshot as proof:
The problem I have is that the numbers are different on each map. I can only have the reaction do one keyword, it is not smart enough to run "feature list" and then pick the correct number for magma-pool. I wanted to run "feature show magma_pool", but it does not work, as I said above. Anyone knows any solution to this?
EDIT: Oh, and another random thought: Is it possible to make a creature simply disappear? Just gone, no corpse, no ghosts, no negative thoughts for friends and family... I saw a threat about "migrants leaving the fort" in the suggestion board. Maybe that can be done with dfhack as is.