Purchase Form

From HLKitWiki
Revision as of 10:52, 2 March 2011 by Colen (Talk | contribs)

Jump to: navigation, search

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:

  1. The purchase form was NOT summoned from a chooser (choosers can only select one item at a time).
  2. The currently selected thing IS stackable.
  3. The currently selected thing is NOT info-only.
  4. A "buy panel" (see 2., below) IS being displayed.
  5. 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.