form.addElement("treasure.gexp", RubyForm.getNumber("EXP", act, "@exp"));
form.addElement("treasure.gold", RubyForm.getNumber("Gold", act, "@gold"));
form.addElement("treasure.prob",
RubyForm.getNumber("Chance(%)", act, "@treasure_prob").setMinMax(0, 100, 1).setInfoTxt("Chance to get this item"));
form.addElement("treasure.get", new FormInfo("", I18N.t("Select of the 3 foldings, only once!")));
form.addElement("treasure.geti", new FormDBComboBox("Item", project, Type.ITEM, act, "@item_id", true));
form.addElement("treasure.getw", new FormDBComboBox("Weapon", project, Type.WEAPON, act, "@weapon_id", true));
form.addElement("treasure.geta", new FormDBComboBox("Armor", project, Type.ARMOR, act, "@armor_id", true));
// elements
form.addHeader("ele", new FormHeader(RGSS1Helper.getName(Type.ELEMENT), RGSS1Helper.getIcon(Type.ELEMENT)).setCollapsed(true)
.setColumn(4).setSorting(4));
form.addElement("ele.0ele", new FormInfo("", I18N.t("Attribut Resistance")));
form.addElement("ele.0stat", new FormInfo("", I18N.t("Status Resistance")));
int e = RGSS1Helper.get(getProject(), Type.ELEMENT).size();
IRubyObject eTable = act.getInstanceVariable("@element_ranks");
int s = RGSS1Helper.get(getProject(), Type.STATUS).size();
IRubyObject sTable = act.getInstanceVariable("@state_ranks");