Bay 12 Games Forum

Dwarf Fortress => DF Suggestions => Topic started by: Paragon99 on May 28, 2014, 03:00:16 pm

Title: Confirm Embark
Post by: Paragon99 on May 28, 2014, 03:00:16 pm
 Often while "preparing carefully" I accidentally press 'e' at the wrong time and end up embarking without spending any embark points, would it be possible to add a confirmation similiar to the aquafier confirmation if you try to embark with embark points remaining? 
Title: Re: Confirm Embark
Post by: Dirst on May 28, 2014, 03:04:52 pm
Often while "preparing carefully" I accidentally press 'e' at the wrong time and end up embarking without spending any embark points, would it be possible to add a confirmation similiar to the aquafier confirmation if you try to embark with embark points remaining?
I'd be willing to put up with a confirmation screen that pops up every single time you try to embark.  More than once I thought I hit (N)ew then started typing MEAT only to find myself with seven hungry Dwarves in the wilderness.
Title: Re: Confirm Embark
Post by: pierredavidbelanger on May 28, 2014, 03:19:02 pm
I wonder if setting this to YES in the d_init.txt will fix your problem:
Code: [Select]
[EMBARK_WARNING_ALWAYS:NO]
Title: Re: Confirm Embark
Post by: Dirst on May 28, 2014, 03:25:39 pm
I wonder if setting this to YES in the d_init.txt will fix your problem:
Code: [Select]
[EMBARK_WARNING_ALWAYS:NO]
Is that for selecting an embark site, or actually embarking?
Title: Re: Confirm Embark
Post by: pierredavidbelanger on May 28, 2014, 03:48:47 pm
I did not tried this.
To be honest, I asked the question a little for myself too :)
I will try this later today.
Title: Re: Confirm Embark
Post by: Witty on May 28, 2014, 03:59:48 pm
Yeah that init option is just for the embark site.

As for the suggestion. This is UI stuff, and that stuff only gets touched whenever Toady fancies it. It's something that a lot of people have asked for throughout the years, so maybe sometime this decade.
Title: Re: Confirm Embark
Post by: Dyret on May 28, 2014, 04:49:48 pm
A simple confirmation prompt seems like it would take a lot less effort on his part than the other UI-stuff dingbats usually whine about though. I mean, he did add the not-entirely-useful-yet stack splitting to adventure mode recently, so there's hope.
Title: Re: Confirm Embark
Post by: sal880612m on May 28, 2014, 05:15:33 pm
I split stacks a lot in adventure mode. What would be really nice there would be stack creation.

Anyway as you can alter your key-bindings so that the embark key is something you aren't likely to press accidentally this doesn't seem like it is all that worth pursuing at the moment.
Title: Re: Confirm Embark
Post by: FrankMcFuzz on May 28, 2014, 06:19:33 pm
I've done this before too; this is a good suggestion.
Title: Re: Confirm Embark
Post by: Melting Sky on May 28, 2014, 06:25:29 pm
Good suggestion. It would take literally like 15 minutes to program.
Title: Re: Confirm Embark
Post by: GavJ on June 01, 2014, 04:33:01 pm
I dunno, honestly sounds kind of annoying. As an OPTION in init.txt or whatever, yes absolutely on board.

As a non-option, blech. Often embark 30-40 times an hour looking for very special terrain stuff, and there's already a lot of redundant screens to click through.
Title: Re: Confirm Embark
Post by: Dirst on June 01, 2014, 08:13:36 pm
I dunno, honestly sounds kind of annoying. As an OPTION in init.txt or whatever, yes absolutely on board.

As a non-option, blech. Often embark 30-40 times an hour looking for very special terrain stuff, and there's already a lot of redundant screens to click through.
Well, I switched my keymapping to ALT-e, so I'm unlikely to hit it accidentally in the future.

A bit off-topic, but I am quite impressed with Dwarf Therapist for its ability to read the dwarves pre-embark.
Title: Re: Confirm Embark
Post by: PeridexisErrant on June 02, 2014, 12:16:03 am
I've done this a few times too... so it's a good enough idea to steal (http://www.bay12forums.com/smf/index.php?topic=135487.msg5333203#msg5333203) for my collection!
Title: Re: Confirm Embark
Post by: lethosor on June 03, 2014, 05:36:49 pm
I implemented this as a DFHack tweak (the interface is modeled after the "abandon fortress" confirmation, so it's somewhat simplistic, but I can change that if necessary). Thoughts?
(http://i.imgur.com/3VTW21W.png)
(some of the padding is cut off on the sides)
Title: Re: Confirm Embark
Post by: Dirst on June 04, 2014, 11:49:12 am
I implemented this as a DFHack tweak (the interface is modeled after the "abandon fortress" confirmation, so it's somewhat simplistic, but I can change that if necessary). Thoughts?
(http://i.imgur.com/3VTW21W.png)
(some of the padding is cut off on the sides)
I'm not sure how easy or hard it would be to poll this information, but maybe something like:

Really embark?

y: Confirm, Other: Cancel

You have spent 997 of 1000 available embark points.

Urist McEmptyHeaded has used 7 of 10 available skill slots.
Urist McUnskilledLabor has used 0 of 10 available skill slots.
Title: Re: Confirm Embark
Post by: lethosor on June 04, 2014, 01:37:57 pm
I made it display the available embark points (and change color based on how many points you have remaining), and re-organized the screen to make it look more like DF's confirmations:
(http://i.imgur.com/vXlzBG7.png)

I also got "Esc" to exit the confirmation, which wasn't working before. Unfortunately, DFHack doesn't have access to the skill points (as far as I can tell), so I can't display how many skills each unit is using or has available.
Title: Re: Confirm Embark
Post by: Dirst on June 04, 2014, 02:52:23 pm
I made it display the available embark points (and change color based on how many points you have remaining), and re-organized the screen to make it look more like DF's confirmations:
(http://i.imgur.com/vXlzBG7.png)

I also got "Esc" to exit the confirmation, which wasn't working before. Unfortunately, DFHack doesn't have access to the skill points (as far as I can tell), so I can't display how many skills each unit is using or has available.
I like this.  And it adds value over just mapping your embark key to Ctrl-Alt-Shift-ShakeYourLeftLeg-E.

Good work.  There's a collection of DFHack scripts (http://www.bay12forums.com/smf/index.php?topic=135506) that might enjoy the company of your confirmation tool.
Title: Re: Confirm Embark
Post by: lethosor on June 21, 2014, 02:06:32 pm
I made it display the available embark points (and change color based on how many points you have remaining), and re-organized the screen to make it look more like DF's confirmations:
(http://i.imgur.com/vXlzBG7.png)

I also got "Esc" to exit the confirmation, which wasn't working before. Unfortunately, DFHack doesn't have access to the skill points (as far as I can tell), so I can't display how many skills each unit is using or has available.
I like this.  And it adds value over just mapping your embark key to Ctrl-Alt-Shift-ShakeYourLeftLeg-E.

Good work.  There's a collection of DFHack scripts (http://www.bay12forums.com/smf/index.php?topic=135506) that might enjoy the company of your confirmation tool.
It's a tweak, actually, not a script, so it has to be compiled.
Anyway, this is included in DFHack r5 ("tweak confirm-embark").
Title: Re: Confirm Embark
Post by: lethosor on October 05, 2014, 12:05:24 pm
This has been implemented as of 0.40.09 (POST_PREPARE_EMBARK_CONFIRMATION in d_init.txt).