Difference between revisions of "Purchase Form"
(Created page with 'File:wiki_purchase_form.png') |
|||
Line 1: | Line 1: | ||
− | [ | + | See this image: [http://hlkitwiki.wolflair.com/images/wiki_purchase_form.png Purchase Form Diagram] |
+ | |||
+ | == 1. Stacking == | ||
+ | |||
+ | The stacking behavior droplist is automatically shown or hidden by Hero Lab. It is shown if all of the following conditions are satisfied: | ||
+ | |||
+ | # The purchase form was NOT summoned from a chooser (choosers can only select one item at a time). | ||
+ | # The currently selected thing IS stackable. | ||
+ | # The currently selected thing is NOT info-only. | ||
+ | # A "buy panel" (see 2., below) IS being displayed. | ||
+ | # The portal IS flagged as allowstack="yes" (the default). | ||
+ | |||
+ | If it's not being displayed when you think it should be, make sure that the thing you selected is stackable. A pick may not be stackable if it's flagged as stacking="never" or its compset is set to forbid stacking. | ||
+ | |||
+ | == 2. Buy Template == | ||
+ | |||
+ | == 3. Add Buttons == | ||
+ | |||
+ | A number of buttons can be shown here: | ||
+ | |||
+ | * Close: Always shown. Closes the form without adding anything. | ||
+ | * Select: Only shown for choosers. Add the current selection to the hero, replacing any previous selection. | ||
+ | * Add: Shown for tables, unless they specify ismultiadd="no" in their definition. Adds the current selection without closing the purchase form. | ||
+ | * Add & Close: Always shown for tables. Adds the current selection and closes the purchase form. | ||
+ | * Customize: Only shown if the component for the table specifies addbehavior="customize". | ||
+ | |||
+ | If the thing you select has a gizmo with a form specified, adding the thing opens the form for you to edit the gizmo. However, this does not happen if the component for the table specifies addbehavior="customize". In this case, the form is only opened if the "Customize" button is pressed. Pressing "Add" or "Add & Close" adds the thing without customizing it. |
Revision as of 10:52, 2 March 2011
See this image: Purchase Form Diagram
1. Stacking
The stacking behavior droplist is automatically shown or hidden by Hero Lab. It is shown if all of the following conditions are satisfied:
- The purchase form was NOT summoned from a chooser (choosers can only select one item at a time).
- The currently selected thing IS stackable.
- The currently selected thing is NOT info-only.
- A "buy panel" (see 2., below) IS being displayed.
- The portal IS flagged as allowstack="yes" (the default).
If it's not being displayed when you think it should be, make sure that the thing you selected is stackable. A pick may not be stackable if it's flagged as stacking="never" or its compset is set to forbid stacking.
2. Buy Template
3. Add Buttons
A number of buttons can be shown here:
- Close: Always shown. Closes the form without adding anything.
- Select: Only shown for choosers. Add the current selection to the hero, replacing any previous selection.
- Add: Shown for tables, unless they specify ismultiadd="no" in their definition. Adds the current selection without closing the purchase form.
- Add & Close: Always shown for tables. Adds the current selection and closes the purchase form.
- Customize: Only shown if the component for the table specifies addbehavior="customize".
If the thing you select has a gizmo with a form specified, adding the thing opens the form for you to edit the gizmo. However, this does not happen if the component for the table specifies addbehavior="customize". In this case, the form is only opened if the "Customize" button is pressed. Pressing "Add" or "Add & Close" adds the thing without customizing it.