Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 3 4 [5]

Author Topic: DFHack plugin embark-assistant  (Read 6320 times)

PatrikLundell

  • Bay Watcher
    • View Profile
Re: DFHack plugin embark-assistant
« Reply #60 on: December 03, 2018, 07:25:35 am »

Thanks mifki. That's the same conclusion I came to when I started to look at it. I wrote a script to test it out, and that seemed to work out correctly.

Spoiler (click to show/hide)
Logged

Burneddi

  • Bay Watcher
    • View Profile
Re: DFHack plugin embark-assistant
« Reply #61 on: December 03, 2018, 09:01:00 am »

An alternative solution to the fuel thing would be the ability to select multiple items at once in each category of economic stone (and why not other stones too), and when this is done the search criteria will be that at least one of them is present. This could be a fair bit more difficult to implement depending on how the search is implemented though, I wager.
Logged

Pvt. Pirate

  • Bay Watcher
  • Dabbling Linux User
    • View Profile
Re: DFHack plugin embark-assistant
« Reply #62 on: December 03, 2018, 12:54:00 pm »

haven't tried, but can you add "trees" and "other vegetation" with many different values aswell?
Logged
"dwarves are by definition alcohol powered parasitic beards, which will cling to small caveadapt humanoids." (Chaia)

PatrikLundell

  • Bay Watcher
    • View Profile
Re: DFHack plugin embark-assistant
« Reply #63 on: December 03, 2018, 01:33:13 pm »

An alternative solution to the fuel thing would be the ability to select multiple items at once in each category of economic stone (and why not other stones too), and when this is done the search criteria will be that at least one of them is present. This could be a fair bit more difficult to implement depending on how the search is implemented though, I wager.
Instead of searching for a particular value, each geo biome element would have to be matched against a list, which should be about the same cost as matching another element (i.e. a list of two alternatives would cost about the same as two separate mandatory ones). The trickier part to implement that would probably be to change the list logic to allow for multiple selections while still being usable, somehow (as usual: it's typically the UI that causes the most trouble. For instance, the UI can't show what's selected, as there's room for only a single entry, so it might have to show something like "<Multiple alternatives selected>" instead.).

haven't tried, but can you add "trees" and "other vegetation" with many different values aswell?
I don't understand the question...
The various biomes you can search for imply various levels of starting trees (with exception of deserts, which can be completely treeless if the rainfall is low enough, and only have starting trees but won't get saplings if it's marginally higher). All biomes that aren't completely treeless or extremely low rainfall deserts get completely junglified given enough time [and no logging, of course] (which varies based on the biome).

If you mean "I want to have Feather Trees, Kobold Bulb, and Sliver Barb", that's doable (with very long lists of plants to select from), but I don't think it would be particularly useful: it would probably be better to look for the appropriate biomes/evilness and use the Biome Manipulator script to hack the ones that DF excluded from their biomes into the embark biomes instead.
I'm not sure how to implement it in a fashion that's not too costly either: possibly pre processing of biomes to list the ones containing the up to 3 selected plants: iterating over all the plants of a biome (as well as verifying the world tile is of an appropriate type is definitely too costly.
Logged

Pvt. Pirate

  • Bay Watcher
  • Dabbling Linux User
    • View Profile
Re: DFHack plugin embark-assistant
« Reply #64 on: December 03, 2018, 02:22:15 pm »

it's just that in the vanilla site finder you cannot select anything about trees at all.
so in certain worlds, i would look for a site with no trees and certain other properties in vein, but the sitefinder cannot help much with it yet.
in others i want a steep mountainside next to a dense jungle and look at 100 sites just to find that there is no place on the whole map, but a sitefinder with trees min/max would be a great help with that.
Logged
"dwarves are by definition alcohol powered parasitic beards, which will cling to small caveadapt humanoids." (Chaia)

PatrikLundell

  • Bay Watcher
    • View Profile
Re: DFHack plugin embark-assistant
« Reply #65 on: December 03, 2018, 06:06:21 pm »

it's just that in the vanilla site finder you cannot select anything about trees at all.
so in certain worlds, i would look for a site with no trees and certain other properties in vein, but the sitefinder cannot help much with it yet.
in others i want a steep mountainside next to a dense jungle and look at 100 sites just to find that there is no place on the whole map, but a sitefinder with trees min/max would be a great help with that.
As I said, biomes imply their general tree densities and the plugin also provides region type as a search criterion. This means that mountain present (doesn't matter if you select biome or region type, as there's a 1:1 mapping for this one) + region type "jungle" present would find you every place where forest (of any kind, as that is what "jungle" actually maps to) is present together with mountain within an embark (while also matching the other criteria, of course).

Edit:
@Burneddi: Looking at the code, I find that it already supports searching for the reanimation option requested (and it's listed on the first page as well, which means it should be available [i.e. not awaiting a new DFHack release]): As far as I know, thralling and husking are the same thing.
N/A, Both, Any, Thralling, Reanimation, Not_Thralling, None
« Last Edit: December 04, 2018, 04:47:19 am by PatrikLundell »
Logged

Pvt. Pirate

  • Bay Watcher
  • Dabbling Linux User
    • View Profile
Re: DFHack plugin embark-assistant
« Reply #66 on: December 04, 2018, 10:14:08 am »

ah, then i must've forgot about that once i reached the end of the long list of awesome features :) sorry for having wasted your and my time.
Logged
"dwarves are by definition alcohol powered parasitic beards, which will cling to small caveadapt humanoids." (Chaia)

PatrikLundell

  • Bay Watcher
    • View Profile
Re: DFHack plugin embark-assistant
« Reply #67 on: December 28, 2018, 04:20:49 am »

DFHack 0.44.12-r2 has been released, which means a number of changes made to the Embark Assistant are available:
- Match indicators are now available on top of the "World" map.
- Changed the 'c'ancel logic to halt a search partway through if active and clear the results if not, allowing for partial results.
- Added Coal as a search criterion, as well as an added embark selection indication.
Logged
Pages: 1 ... 3 4 [5]