displaymode=0 delay=0 g_organicscollected=0 organics=0 g_ores =0 ores=0 g_chemicalscollected =0 chemicals=0 g_goldnuggetscollected =0 goldnuggets=0 g_ironscollected=0 g_gemscollected=0 g_zincscollected=0 g_zinc=0 g_sodiumcollected=0 g_sodium=0 g_potassiumcollected=0 g_potassium=0 g_iron=0 g_watercollected=0 g_water=0 g_titanite=0 g_titanitecollected=0 g_promethium =0 g_promethiumcollected=0 g_coppercollected=0 g_copper=0 g_tungstencollected=0 g_tugsten=0 g_RPG_Gold=0 g_kills=0 g_alien_items=0 g_electronics=0 g_RPG_Gold=0 g_kills=0 g_mk1_auto_miner_schematic=0 g_deployable_miner = 0 g_mk1_scanner_miner=0 g_base_beacon_schematic=0 g_base_beacon_active=0 g_base_factory_schematic=0 g_base_factory_active=0 g_base_med_bay_schematic=0 g_base_med_bay_active=0 g_base_crafting_schematic=0 g_base_crafting_active=0 g_base_command_schematic=0 g_base_command_active=0 g_medipack_schematic=0 g_ammo_schematic=0 g_food_schematic=0 g_water_schematic=0 g_adrenaline_schematic=0 local ores = {} ores = {g_ironscollected = 0; g_gemscollected = 0; g_zincscollected = 0} function items_display_init(e) --Hide(e) end function items_display_main(e) if GetTimer(e)>250 then delay=0 end if GetInKey()=="i" then --if g_KeyPress==1 then StartTimer(e) if displaymode==0 and delay==0 then displaymode=1 delay=1 end if displaymode==1 and delay==0 then displaymode=0 delay=1 end end if displaymode==1 then Panel(0,0,100,100)--background Panel(37,2,63,11)--Top Panel(1,1,15,99)-- left menu Panel(1,1,15,2)--foraged title Panel(1,19,15,21)--loot drop title Panel(83,1,99,99)--right trading menu Panel(83,1,99,2)--right tradable title --Panel(1,78,10,87)--kills & creds --Panel(83,52,99,68)--chemicals Panel(1,34,15,36)--Mined Items --Panel(1,70,99,100)--schematics Panel(18,12,80,96)--Tools Panel(16,1,82,99)-- base schematics TextColor(46,5,1,"INVENTORY",9,255,0) Text(40,8,1,"Press (i) to toggle on and off ") --foraged items TextColor(2,4,1,"Foraged Items",255,255,0) Text(2,9,1,"Organics "..math.floor(g_organicscollected)) Text(2,12,1,"Ores "..math.floor(g_ores)) Text(2,15,1,"Chemicals "..math.floor(g_chemicalscollected)) Text(2,18,1,"Water "..math.floor(g_watercollected)) --Trading Menu TextColor(86,4,1,"Tradable Goods",255,255,0) TextColor(86,9,1,"Collected",205,102,0) Text(86,13,1,"Organics "..math.floor(g_organicscollected)) Text(86,16,1,"Ores "..math.floor(g_ores)) Text(86,19,1,"Chemicals "..math.floor(g_chemicalscollected)) Text(86,22,1,"Water "..math.floor(g_watercollected)) Text(86,25,1,"Iron "..math.floor(g_ironscollected)) Text(86,28,1,"Copper "..math.floor(g_coppercollected)) Text(86,31,1,"Tungsten "..math.floor(g_tungstencollected)) Text(86,34,1,"Zinc "..math.floor(g_zincscollected)) Text(86,37,1,"Sodium "..math.floor(g_sodiumcollected)) Text(86,40,1,"Potassium "..math.floor(g_potassiumcollected)) Text(86,43,1,"Gem Stones "..math.floor(g_gemscollected)) Text(86,46,1,"Gold Nuggets "..math.floor(g_goldnuggetscollected)) Text(86,49,1,"Titanite "..math.floor(g_titanitecollected)) Text(86,52,1,"Promethium "..math.floor(g_promethiumcollected)) Text(86,55,1,"Organics "..math.floor(g_organicscollected)) Text(86,58,1,"Electronics "..g_electronics) Text(86,61,1,"Alien Items "..g_alien_items) TextColor(86,65,1,"Traded",205,102,0) --MINING TextColor(2,37,1,"Mining",255,255,0) --minerals TextColor(2,42,1,"Ores",204,102,0) Text(2,46,1,"Iron "..math.floor(g_ironscollected)) Text(2,49,1,"Copper "..math.floor(g_coppercollected)) Text(2,52,1,"Tungsten "..math.floor(g_tungstencollected)) --chemicals TextColor(2,57,1,"Chemicals",204,102,0) Text(2,61,1,"Zinc "..math.floor(g_zincscollected)) Text(2,64,1,"Sodium "..math.floor(g_sodiumcollected)) Text(2,67,1,"Potassium "..math.floor(g_potassiumcollected)) --rare items TextColor(2,72,1,"Rare Items",204,102,0) Text(2,76,1,"Gem Stones "..math.floor(g_gemscollected)) Text(2,79,1,"Gold Nuggets "..math.floor(g_goldnuggetscollected)) Text(2,82,1,"Titanite "..math.floor(g_titanitecollected)) Text(2,85,1,"Promethium "..math.floor(g_promethiumcollected)) --loot items TextColor(2,22,1,"Loot Drop Items",255,255,0) Text(2,27,1,"Organics "..math.floor(g_organicscollected)) Text(2,30,1,"Electronics "..g_electronics) Text(2,33,1,"Alien Items "..g_alien_items) TextColor(44,18,1,"Base Schematics",255,255,0) Text(20,23,1,"Base Beacon Schematic "..g_base_beacon_schematic) Text(55,23,1,"Base Beacon Active: "..g_base_beacon_active) Text(20,26,1,"Base Factory Schematic "..g_base_factory_schematic) Text(55,26,1,"Base Factory Active: "..g_base_factory_active) Text(20,29,1,"Base Med Bay Schematic "..g_base_med_bay_schematic) Text(55,29,1,"Base Med Bay Active: "..g_base_med_bay_active) Text(20,32,1,"Base Crafting Room Schematic "..g_base_crafting_schematic) Text(55,32,1,"Base Crafting Room Active: "..g_base_crafting_active) Text(20,35,1,"Base Command Center Schematic "..g_base_command_schematic) Text(55,35,1,"Base Command Center Active: "..g_base_command_active) TextColor(44,42,1,"Crafting Schematics",255,255,0) Text(20,46,1,"MediPack Schematic "..g_medipack_schematic) Text(60,46,1,"Generic Ammo "..g_ammo_schematic) Text(20,49,1,"Food "..g_food_schematic) Text(60,49,1,"Purified Water "..g_water_schematic) Text(20,52,1,"Adrenaline Booster "..g_adrenaline_schematic) TextColor(44,60,1,"Tool Schematics",255,255,0) Text(20,63,1,"MK1 Auto Miner Schematic "..g_mk1_auto_miner_schematic) TextColor(48,68,1,"Tools",255,255,0) Text(20,71,1,"MK1 Resource Scanner / Miner "..g_mk1_scanner_miner) Text(20,74,1,"MK1 Auto Miner "..g_deployable_miner) Text(47,90,1,"Kills "..g_kills) Text(47,94,1,"Credits "..g_RPG_Gold) end end