Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Individual hero inventories #495

Open
ohrrpgce-bugbot opened this issue Nov 14, 2007 · 4 comments
Open

Individual hero inventories #495

ohrrpgce-bugbot opened this issue Nov 14, 2007 · 4 comments
Labels
heroes new feature Something new that we would like to add

Comments

@ohrrpgce-bugbot
Copy link

[bz#495]

The author should be able to define individual item menus for each character, including a maximum carrying capacity, in addition to the standard item menu included now. This will make item acquisition a whole new beast, unfortunately. Similarly, heroes should be able to have spells that work out of battle only.

I think that this would be possible with the new menu system if we had a few more options. Can menus be set up to have two more menu item types: item-types and attack-types? The subtypes would be the ID number of the item/attack. The default text string would be the name of the item of attack, and when selected, these would trigger the action of the item/attack.

To go along with this, we would want a bitset that makes a menu option disappear when used, or at least a plotscript command to delete a menu option (see next bug). A plotscript command to append menu options would also help make this all possible with the current setup. The only thing left would be battles...

From: msw188
Operating system: Windows NT
Severity: feature request

@ohrrpgce-bugbot
Copy link
Author

Comment author: @bob-the-hamster

The author should be able to define individual item menus for each character,
including a maximum carrying capacity, in addition to the standard item menu
included now. This will make item acquisition a whole new beast, unfortunately.

A feature to allow (optional) individual hero inventories would be possible in the future, as part of a larger clean-up of the item handling code.

Similarly, heroes should be able to have spells that work out of battle only.

Hmm? You can already make out-of-battle-only spells... Perhaps you can clarify what you mean. (and it should definitely be in a separate bug report/feature request from the individual inventory thing)

I think that this would be possible with the new menu system if we had a few
more options. Can menus be set up to have two more menu item types: item-types
and attack-types? The subtypes would be the ID number of the item/attack. The
default text string would be the name of the item of attack, and when selected,
these would trigger the action of the item/attack.

Hmmm... that is a pretty hacky way of getting this accomplished. You might be able to manually plotscript your own individual hero inventories once we have added a few plotscripting commands for manipulating menus, but if individual inventories are to be added as an engine feature, they will not be an extension of the menu code.

@ohrrpgce-bugbot
Copy link
Author

Comment author: msw188

How do you make out-of-battle-only spells? What I mean is to have a spell in the hero's spell list like "teleport" that cannot be used in battle, but when used outside of battle calls a textbox or a script or something (but only if the spell passes MP cost tests). I suppose it could be done with the current menu system setup, but enforcing MP costs would be hacky so to speak. Unless I'm totally missing something here.

If having new menu-item-types is undesirable, I think that we ought to have a plotscripting command to use an attack (or do we already have this?). Can be faked by having a plotscript use an item that uses the attack I suppose, but we only have a handful of items at our disposal. We have lots of attacks. Regardless of all of this, I still think that a "consumed by use" kind of bitset for menu options would be useful.

Maybe this feature request should be split up into various ones?

@ohrrpgce-bugbot
Copy link
Author

Comment author: @bob-the-hamster

How do you make out-of-battle-only spells? What I mean is to have a spell in
the hero's spell list like "teleport" that cannot be used in battle, but when
used outside of battle calls a textbox or a script or something (but only if
the spell passes MP cost tests). I suppose it could be done with the current
menu system setup, but enforcing MP costs would be hacky so to speak. Unless
I'm totally missing something here.

Oh, I see what you are asking for now. Okay. File "Spells that trigger text boxes or scripts when used outside of battle" as a separate bug.

Maybe this feature request should be split up into various ones?

Yep :)

@ohrrpgce-bugbot
Copy link
Author

Comment author: msw188

I'm retitling this one to be the bug for individual item lists. I've already put attacks triggering text/scripts in another bug. I will file the 'consumable' bitset for menu-choices momentarily.

@ohrrpgce-bugbot ohrrpgce-bugbot added heroes new feature Something new that we would like to add labels Mar 14, 2020
@rversteegen rversteegen changed the title Individual item lists for heroes Individual hero inventories Aug 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
heroes new feature Something new that we would like to add
Projects
None yet
Development

No branches or pull requests

1 participant