//UITextBox box$; //int color$ = 0xffffffff; //int index$ = 0; void AddItem$( string name$, string template$ ) { box$.AddElement( MakeStringF( " %s", name$ ), index$, color$ ); index$ += 1; GameAuditor.Db.SetString( "ui_giveitems", MakeStringF( "%s%s,", GameAuditor.Db.GetString( "ui_giveitems" ), template$ ) ); } void LoadItems$() { box$.RemoveAllElements(); GameAuditor.Db.SetString( "ui_giveitems", "" ); bool dsx_mode$ = ( UIShell.FindUIWindow( "text_backpack", "dsx_backpack_ui" ) != NULL ); AddItem$( "Aura of Aptitude", "aura_aptitude" ); AddItem$( "Aura of Blessing", "aura_blessing" ); //AddItem$( "Aura of Might", "aura_might" ); AddItem$( "Aura of Rejuvenation", "aura_rejuvenation" ); AddItem$( "Armor Type 1", "test_a1" ); AddItem$( "Armor Type 2", "test_a2" ); AddItem$( "Armor Type 3", "test_a3" ); AddItem$( "Armor Type 4", "test_a4" ); AddItem$( "Armor Type 5", "test_a5" ); AddItem$( "Armor Type 6", "test_a6" ); AddItem$( "Armor Type 7", "test_a7" ); AddItem$( "Armor Type 7B", "test_a7b" ); if ( dsx_mode$ ) { AddItem$( "Armor Type 8", "test_a8" ); AddItem$( "Armor Type 9", "test_a9" ); } AddItem$( "Boots (Calf)", "test_boot_calf_green" ); AddItem$( "Boots (Knee)", "test_boot_knee" ); AddItem$( "Boots (Sandals, Black)", "test_sandals_black" ); AddItem$( "Boots (Sandals, Gold)", "test_sandals_gold" ); AddItem$( "Boots (Thigh, Style #1)", "test_boot_thigh_1" ); AddItem$( "Boots (Thigh, Style #2)", "test_boot_thigh_2" ); AddItem$( "Boots (Thigh, Style #3)", "test_boot_thigh_3" ); AddItem$( "Boots (Thigh, Style #4)", "test_boot_thigh_4" ); if ( dsx_mode$ ) { AddItem$( "Boots (Thessic)", "test_boot_thessic" ); } AddItem$( "Boots (Type1)", "test_boot" ); AddItem$( "Gloves (Bracers)", "test_glove_bracer" ); AddItem$( "Gloves (Claw Gauntlets)", "test_glove_claw" ); AddItem$( "Gloves (Open-Fingered)", "test_glove_openfingered" ); if ( dsx_mode$ ) { AddItem$( "Gloves (Thessic)", "test_glove_thessic" ); } AddItem$( "Gloves (Type1)", "test_glove" ); AddItem$( "Helmet (Type 44)", "test_helmet_44" ); AddItem$( "Helmet (Type headband)", "test_headband" ); AddItem$( "Helmet (Type oc_ancient)", "test_helmet_oc_ancient" ); AddItem$( "Helmet (Type oc_ancient_spikey)", "test_helmet_oc_ancient_spikey" ); AddItem$( "Helmet (Type oc_mag_wing)", "test_helmet_oc_mag_wing" ); AddItem$( "Helmet (Type oc_ritual)", "test_helmet_oc_ritual" ); AddItem$( "Helmet (Type oc_spikey)", "test_helmet_oc_spikey" ); AddItem$( "Multiple-Use Rejuvenation Potion (Small)", "potion_rejuvenation_small_multiple" ); AddItem$( "Multiple-Use Rejuvenation Potion (Medium)", "potion_rejuvenation_medium_multiple" ); AddItem$( "Multiple-Use Rejuvenation Potion (Large)", "potion_rejuvenation_large_multiple" ); AddItem$( "Multiple-Use Rejuvenation Potion (Super)", "potion_rejuvenation_super_multiple" ); //AddItem$( "Spellcasting Gauntlets (Explosive Powder 0/3)", "glove_explosive_powder_0_3" ); AddItem$( "Spellcasting Gauntlets (Fireball 12/20)", "glove_fireball_12_20" ); AddItem$( "Spellcasting Gauntlets (Fireball 35/45)", "glove_fireball_35_45" ); AddItem$( "Spellcasting Gauntlets (Pillar of Fire 70/88)", "glove_pillar_fire_70_88" ); AddItem$( "Spellcasting Gauntlets (Spark 0/6)", "glove_spark_0_6" ); AddItem$( "Spellcasting Gauntlets (Chain Lightning 43/60)", "glove_chain_lightning_43_60" ); AddItem$( "Spellcasting Gauntlets (Chain Lightning 60/82)", "glove_chain_lightning_60_82" ); AddItem$( "Spellcasting Gauntlets (Lightning Storm 85/120)", "glove_lightning_storm_85_120" ); AddItem$( "Spellcasting Gauntlets (Icefury 35/54)", "glove_icefury_35_54" ); AddItem$( "Spellcasting Gauntlets (Icefury 52/78)", "glove_icefury_52_78" ); AddItem$( "Spellcasting Gauntlets (Freeze 48/69)", "glove_freeze_48_69" ); AddItem$( "Spellcasting Gauntlets (Ice Storm 66/95)", "glove_ice_storm_66_95" ); AddItem$( "Spellcasting Gauntlets (Kill 89/120)", "glove_kill_89_120" ); AddItem$( "Spellcasting Gauntlets (Implosion 80/110)", "glove_implosion_80_110" ); AddItem$( "Spellcasting Gauntlets (Incinerate 70/90)", "glove_incinerate_70_90" ); AddItem$( "Spellcasting Gauntlets (Pestilence Cloud 78/110)", "glove_pestilence_cloud_78_110" ); AddItem$( "Weapon (Kris, Backslash)", "test_dagger_backslash" ); AddItem$( "Weapon (Jackal Knife)", "test_dagger_bleeding" ); AddItem$( "Weapon (Hunting Knife, Knockback Stun)", "test_dagger_knockback" ); AddItem$( "Weapon (Elven Blade)", "test_sword_elven" ); }