static gchar* make_simple_trans_line (Account *acc, Transaction *trans, Split *split, CsvExportInfo *info) { gboolean t_void = xaccTransGetVoidStatus (trans); gchar *result = begin_trans_string (trans, info); result = add_account_name (result, acc, NULL, TRUE, info); result = add_number (result, trans, info); result = add_description (result, trans, info); result = add_category (result, split, TRUE, info); result = add_reconcile (result, split, info); result = add_amount (result, split, t_void, TRUE, TRANS_SIMPLE, info); result = add_amount (result, split, t_void, FALSE, TRANS_SIMPLE, info); result = add_rate (result, split, t_void, info); return result; }
void configure() { ::configure(); add_description(Description_Type_Generic); set_craft(Craft_Exquisite); armour()->set_autonomon_adapt(True); armour()->set_armour_type(Armour_Type_Pair_of_Fingerless_Gloves); armour()->set_armour_style(Armour_Style_Simple); add_proportion(([ Element_Type : Material_Leather, Element_Proportion : 0.85, ])); add_proportion(([ Element_Type : Material_Fur, Element_Proportion : 0.15, Element_Part : Part_Underlayer, ])); }
void configure() { ::configure(); add_description(Description_Type_Generic); weapon()->set_weapon_type(Weapon_Type_Greataxe); set_craft(Craft_Excellent); add_proportion(([ Element_Type : Material_Uru, Element_Proportion : 0.50, ])); add_proportion(([ Element_Type : Material_Steel, Element_Proportion : 3.0, ])); add_proportion(([ Element_Type : Material_Qlippotam, Element_Proportion : 0.25, ])); set_global_rarity(Rarity_Common); }
void configure() { ::configure(); add_description(Description_Type_Generic); set_craft(Craft_Exquisite); armour()->set_autonomon_adapt(True); armour()->set_armour_type(Armour_Type_Hauberk); armour()->set_armour_style(Armour_Style_Light_Mail); add_proportion(([ Element_Type : Material_Mithril, Element_Proportion : 0.85, Element_Color : "gray", ])); add_proportion(([ Element_Type : Material_Leather, Element_Proportion : 0.15, Element_Part : Part_Underlayer, ])); }
void configure() { ::configure(); add_description(Description_Type_Generic); set_craft(Craft_Exquisite); armour()->set_autonomon_adapt(True); armour()->set_armour_type(Armour_Type_Greathelm); armour()->set_armour_style(Armour_Style_Splint_Mounted); armour()->set_race("orc"); add_proportion(([ Element_Type : Material_Steel, Element_Proportion : 3.0, Element_Color : "gray", ])); add_proportion(([ Element_Type : Material_Leather, Element_Proportion : 0.15, Element_Part : Part_Underlayer, ])); }
static gchar* make_complex_trans_line (Account *acc, Transaction *trans, Split *split, CsvExportInfo *info) { gboolean t_void = xaccTransGetVoidStatus (trans); gchar *result = begin_trans_string (trans, info); result = add_type (result, trans, info); result = add_second_date (result, trans, info); result = add_account_name (result, acc, NULL, FALSE, info); result = add_number (result, trans, info); result = add_description (result, trans, info); result = add_notes (result, trans, info); result = add_memo (result, split, info); result = add_category (result, split, TRUE, info); result = add_category (result, split, FALSE, info); result = add_line_type (result, TRANS_COMPLEX, info); result = add_action (result,split, TRANS_COMPLEX, info); result = add_reconcile (result, split, info); result = add_amount (result, split, t_void, TRUE, TRANS_COMPLEX, info); result = add_comm_mnemonic (result, trans, NULL, info); result = add_comm_namespace (result, trans, NULL, info); result = add_trans_eol (result, info); return result; }
void configure() { ::configure(); add_description("a large fillet of salmon"); alter_identity(([ Identity_Nouns : ({ "fillet of salmon", "fillet", "salmon" }), ]));
void configure() { ::configure(); add_description("a large rack of barbecued ribs"); alter_identity(([ Identity_Nouns : ({ "rack of barbecued ribs", "ribs", "rack"}), ]));