[Ohrrpgce] SVN: james/12850 Move the logic for adding "Skip Turn" to an unusable menu into update_ba
James Paige
Bob at hamsterrepublic.com
Sun Mar 6 11:48:23 PST 2022
As it turns out "if I ever add support for those" happened today :D
Now it is much harder to get into a situation where a hero cannot take any
action due to lack of MP or an empty inventory
Still not impossible though-- for example, if your inventory contains only
a "Life" potion that can only target dead allies, and no allies are dead,
then the items menu still counts as usable
On Sun, Mar 6, 2022 at 10:14 AM James Paige <Bob at hamsterrepublic.com> wrote:
> This means that the "Skip Turn" can pop into existence if the controlled
> enemy's menu becomes unusable in the middle of its turn.
>
> It also means that "Skip Turn" can show up for a hero with an unusable
> menu, but only if they have no spell menus, and no access to the ITEM menu,
> those aren't supported yet-- but if I ever add support for those in
> does_battle_menu_have_targets() then it should just do the right thing.
>
> On Sun, Mar 6, 2022 at 10:11 AM <subversion at hamsterrepublic.com> wrote:
>
>> james
>> 2022-03-06 07:11:25 -0800 (Sun, 06 Mar 2022)
>> 83
>> Move the logic for adding "Skip Turn" to an unusable menu into
>> update_battle_menu()
>> ---
>> U wip/bmod.rbas
>>
>> _______________________________________________
>> Ohrrpgce mailing list
>> ohrrpgce at lists.motherhamster.org
>> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20220306/3ef4ebca/attachment.html>
More information about the Ohrrpgce
mailing list