BuildItems File Changes Additional Items Mod XCOM:EU - 2012

From Nexus Mods Wiki
Jump to: navigation, search

Overview

This contains the file changes to the function XGItemTree.BuildItems in XComStrategyGame.upk.

This change eliminates the setting of the iCash, iAlloys, iElerium, iTime and iEngineers variables in this function. These values are instead defined later based upon values defined in the ItemBalance= config data.

This reduces the size of each BuildItem call, allowing more BuildItem calls to be made, allowing more items to be built.

When combined with the Claim and Perk changes, setting the iEngineer field to a non-zero value in a BuildItem call will cause the value's associated perk to be granted to the unit equipping that item.

Example: Setting iEngineers = 8 for the BuildItem call that creates the Battlescanner item will cause the Battlescanner ITEM to grant the Battlescanner PERK when the item is equipped. In this case this is necessary for the Battlescanner ability to be made available on the tactical HUD.

Additional_Items_Mod_XCOM:EU_-_2012

Hex Change

This hex change was developed as a ToolBoks Custom Mod replacement. There are many small function calls, and no conditional statement, so the ToolBoks CM format allowing line breaks and comments makes configuring individual items much easier.

BuildItems Installer

XComStrategyGame.upk >> XGItemTree.BuildItems

MOD_NAME=BuildItems Hex Installer
AUTHOR=amineri
DESCRIPTION=Adds new items to BuildItems function hex code


Version: 1.0

Compatible with XCOM Enemy Unknown versions:
 - Patch 4 ( Changelist: 356266 )


UPK_FILE=XComStrategyGame.upk
OFFSET=3246784
[MODDED_HEX]
{ hex offset 318AC0 }
{ hex block 318AC0-319729, length C6A }
{Cleaned BuildItems() hex:}

{header -- virtual size increased by 4 bytes to 0xC52}
6A 35 00 00 AB 1F 00 00 00 00 00 00 6A 35 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 39 00 00 00 74 07 00 00 52 0C 00 00 3A 0C 00 00 

0F 01 61 35 00 00 26 {//category 1}
1B 6E 04 00 00 00 00 00 00 2C 02 25 25 25 25 25 2C 00 4A 2C 00 2C 25 16 {// pistol}
1B 6E 04 00 00 00 00 00 00 2C 03 25 25 25 25 25 2C 00 4A 2C 00 2C 10 16 {// assault rifle}
1B 6E 04 00 00 00 00 00 00 2C 04 25 25 25 25 25 2C 00 4A 2C 00 2C 36 16 {// shotgun}
1B 6E 04 00 00 00 00 00 00 2C 05 25 25 25 25 25 2C 00 4A 2C 00 2C 1F 16 {// LMG}
1B 6E 04 00 00 00 00 00 00 2C 06 25 25 25 25 25 2C 00 4A 2C 00 2C 39 16 {// SniperRifle}
1B 6E 04 00 00 00 00 00 00 2C 07 25 25 25 25 25 2C 00 4A 2C 00 2C 2D 16 {// Rocket Launcher}
1B 6E 04 00 00 00 00 00 00 2C 55 25 25 25 25 25 2C 00 4A 2C 00 2C 17 16 {// Frag Grenade}
1B 6E 04 00 00 00 00 00 00 2C 56 25 25 25 25 2C 2C 2C 00 4A 2C 00 2C 38 16 {// Smoke Grenade  // grants 0x2C=ePerk_SmokeBomb when equipped} 
1B 6E 04 00 00 00 00 00 00 2C 58 25 25 25 25 25 2C 00 4A 2C 00 2C 06 16 {// AlienGrenade}
1B 6E 04 00 00 00 00 00 00 2C 4C 25 25 25 25 25 2C 00 4A 2C 00 2C 20 16 {// Medikit}
1B 6E 04 00 00 00 00 00 00 2C 50 25 25 25 25 25 2C 02 4A 2C 00 2C 08 16 {// Arc Thrower}
1B 6E 04 00 00 00 00 00 00 2C 63 25 25 25 25 2C 08 2C 00 4A 2C 00 2C 11 16 {// Battlescanner  //grants 0x08=ePerk_BattleScanner when equipped} 
1B 6E 04 00 00 00 00 00 00 2C 51 25 25 25 25 25 2C 09 4A 2C 00 2C 30 16 {// Targeting Module (Scope)}
1B 6E 04 00 00 00 00 00 00 2C 52 25 25 25 25 25 2C 0A 4A 2C 00 2C 24 16 {// Reinforced Armor}
1B 6E 04 00 00 00 00 00 00 2C 4F 25 25 25 25 25 2C 2F 4A 2C 00 2C 12 16 {// Chitin Plating}
1B 6E 04 00 00 00 00 00 00 2C 4D 25 25 25 25 25 2C 32 24 97 4A 2C 13 16 {// Combat Stims}
1B 6E 04 00 00 00 00 00 00 2C 4E 25 25 25 25 25 2C 37 4A 2C 00 2C 22 16 {// Mind Shield}
1B 6E 04 00 00 00 00 00 00 2C C0 25 25 25 25 25 2C 03 4A 2C 00 2C 37 16 {// Skeleton Key}
1B 6E 04 00 00 00 00 00 00 2C 08 25 25 25 25 25 2C 13 4A 2C 00 2C 1B 16 {// Laser Pistol}
1B 6E 04 00 00 00 00 00 00 2C 09 25 25 25 25 25 2C 13 4A 2C 00 2C 1C 16 {// Laser Rifle}
1B 6E 04 00 00 00 00 00 00 2C 0A 25 25 25 25 25 2C 14 4A 2C 00 2C 1D 16 {// Laser Shotgun}
1B 6E 04 00 00 00 00 00 00 2C 0C 25 25 25 25 25 2C 14 4A 2C 00 2C 1E 16 {// Laser Sniper}
1B 6E 04 00 00 00 00 00 00 2C 0B 25 25 25 25 25 2C 15 4A 2C 00 2C 1A 16 {// Heavy Laser}
1B 6E 04 00 00 00 00 00 00 2C 0D 25 25 25 25 25 2C 16 4A 2C 00 2C 28 16 {// Plasma Pistol}
1B 6E 04 00 00 00 00 00 00 2C 0E 25 25 25 25 25 2C 17 4A 2C 00 2C 2A 16 {// Light Plasma Rifle}
1B 6E 04 00 00 00 00 00 00 2C 0F 25 25 25 25 25 2C 18 4A 2C 00 2C 29 16 {// Plasma Rifle}
1B 6E 04 00 00 00 00 00 00 2C 10 25 25 25 25 25 2C 1B 4A 2C 00 2C 2B 16 {// Alloy Cannon}
1B 6E 04 00 00 00 00 00 00 2C 11 25 25 25 25 25 2C 19 4A 2C 00 2C 27 16 {// Heavy Plasma}
1B 6E 04 00 00 00 00 00 00 2C 12 25 25 25 25 25 2C 1A 4A 2C 00 2C 2C 16 {// Plasma Sniper}
1B 6E 04 00 00 00 00 00 00 2C 13 25 25 25 25 25 2C 1E 4A 2C 00 2C 26 16 {// Blaster Launcher}
1B 6E 04 00 00 00 00 00 00 2C 24 25 25 25 25 25 2C 00 4A 2C 00 2C 18 16 {// Grapple}

{//new soldier items}
1B 6E 04 00 00 00 00 00 00 2C 53 25 25 25 25 25 2C 00 4A 2C 00 2C 20 16 {// Basic First Aid Kit - eItem_END_ITEMS  }
1B 6E 04 00 00 00 00 00 00 2C 57 25 25 25 25 25 2C 00 4A 2C 00 2C 38 16 {// Alien Trophies - eItem_FlashBang (x57)}
1B 6E 04 00 00 00 00 00 00 2C 5C 25 25 25 25 25 2C 00 4A 2C 00 2C 00 16 {// Laser sight -  eItem_SectoidGrenade}
1B 6E 04 00 00 00 00 00 00 2C 60 25 25 25 25 25 2C 00 4A 2C 00 2C 24 16 {// Ceramic Plates -  eItem_ThinManGrenade}
1B 6E 04 00 00 00 00 00 00 2C 62 25 25 25 25 25 2C 00 4A 2C 00 2C 06 16 {// Psi Grenade - eItem_PsiGrenade (x62)}
1B 6E 04 00 00 00 00 00 00 2C 64 25 25 25 25 25 2C 00 4A 2C 00 2C 2D 16 {// nothing - eItem_END_GRENADES}
1B 6E 04 00 00 00 00 00 00 2C 65 25 25 25 25 25 2C 00 4A 2C 00 2C 07 16 {// nothing -   eItem_BEGIN_VEHICLES}
1B 6E 04 00 00 00 00 00 00 2C 82 25 25 25 25 2C 0C 4A 4A 2C 00 2C 37 16 {// High Cap Mags - eItem_PlaceholderIntWeapon1 // adds perk 12 = 0xC}
1B 6E 04 00 00 00 00 00 00 2C 15 25 25 25 25 25 2C 00 4A 2C 00 2C 10 16 {// Alloy Assault Rifle - eItem_PlaceholderWeapon0}
1B 6E 04 00 00 00 00 00 00 2C 16 25 25 25 25 25 2C 00 4A 2C 00 2C 36 16 {// Alloy Shotgun - eItem_PlaceholderWeapon1}
1B 6E 04 00 00 00 00 00 00 2C 17 25 25 25 25 25 2C 00 4A 2C 00 2C 1F 16 {// Alloy LMG - eItem_PlaceholderWeapon2}
1B 6E 04 00 00 00 00 00 00 2C 18 25 25 25 25 25 2C 00 4A 2C 00 2C 39 16 {// Alloy Sniper - eItem_PlaceholderWeapon3}

0F 01 61 35 00 00 2C 02 {// category 2}
1B 6E 04 00 00 00 00 00 00 2C 39 25 25 25 25 25 2C 00 4A 2C 00 2C 0C 16 {// Kevlar}
1B 6E 04 00 00 00 00 00 00 2C 3A 25 25 25 25 25 2C 0E 4A 2C 00 2C 0A 16 {// Carapace}
1B 6E 04 00 00 00 00 00 00 2C 3B 25 25 25 25 25 2C 0F 4A 2C 00 2C 0E 16 {// Skeleton}
1B 6E 04 00 00 00 00 00 00 2C 3C 25 25 25 25 25 2C 10 4A 2C 00 2C 0F 16 {// Titan}
1B 6E 04 00 00 00 00 00 00 2C 3D 25 25 25 25 25 2C 12 4A 2C 00 2C 09 16 {// Archangel}
1B 6E 04 00 00 00 00 00 00 2C 3E 25 25 25 25 25 2C 11 4A 2C 00 2C 0B 16 {// Ghost}
1B 6E 04 00 00 00 00 00 00 2C 3F 25 25 25 25 25 2C 0D 4A 2C 00 2C 0D 16 {// Psi}
1B 6E 04 00 00 00 00 00 00 2C 75 25 25 25 25 25 2C 00 4A 2C 01 2C 31 16 {// SHIV Deck 1}
1B 6E 04 00 00 00 00 00 00 2C 76 25 25 25 25 25 2C 00 4A 2C 00 2C 32 16 {// SHIV Deck 2}
1B 6E 04 00 00 00 00 00 00 2C 77 25 25 25 25 25 2C 00 4A 2C 00 2C 33 16 {// SHIV Deck 3}

0F 01 61 35 00 00 2C 03 {//category 3}
1B 6E 04 00 00 00 00 00 00 2C 66 25 25 25 25 25 2C 00 4A 2C 01 2C 31 16 {// SHIV}
1B 6E 04 00 00 00 00 00 00 2C 67 25 25 25 25 25 2C 0E 4A 2C 01 2C 32 16 {// Alloy SHIV}
1B 6E 04 00 00 00 00 00 00 2C 68 25 25 25 25 25 2C 05 4A 2C 01 2C 33 16 {// Hover SHIV}
1B 6E 04 00 00 00 00 00 00 2C 69 25 25 25 25 25 2C 00 4A 2C 00 2C 19 16 {// Interceptor}
1B 6E 04 00 00 00 00 00 00 2C 6A 25 25 25 25 25 24 05 4A 2C 00 2C 15 16 {// Firestorm}
1B 6E 04 00 00 00 00 00 00 2C 6B 25 25 25 25 25 2C 00 4A 2C 00 2C 42 16 {// Skyranger}
1B 6E 04 00 00 00 00 00 00 2C 6C 25 25 25 25 25 2C 00 4A 2C 00 2C 2E 16 {// Satellite}
1B 6E 04 00 00 00 00 00 00 2C 7B 25 25 25 25 25 2C 0B 4A 2C 00 2C 02 16 {// Int weapon 1}
1B 6E 04 00 00 00 00 00 00 2C 7C 25 25 25 25 25 2C 00 4A 2C 00 2C 04 16 {// Int weapon 2}
1B 6E 04 00 00 00 00 00 00 2C 7D 25 25 25 25 25 2C 15 4A 2C 00 2C 03 16 {// Int weapon 3}
1B 6E 04 00 00 00 00 00 00 2C 7E 25 25 25 25 25 2C 1C 4A 2C 00 2C 05 16 {// Int weapon 4}
1B 6E 04 00 00 00 00 00 00 2C 7F 25 25 25 25 25 2C 21 4A 2C 00 2C 00 16 {// Int weapon 5}
1B 6E 04 00 00 00 00 00 00 2C 80 25 25 25 25 25 2C 1D 4A 2C 00 2C 01 16 {// Int weapon 6}
1B 6E 04 00 00 00 00 00 00 2C 81 25 25 25 25 25 2C 00 4A 2C 00 2C 04 16 {// Int placeholder weapon 0}
1B 6E 04 00 00 00 00 00 00 2C 87 25 25 25 25 25 2C 2B 4A 2C 00 2C 2F 16 {// Aim Boost}
1B 6E 04 00 00 00 00 00 00 2C 85 25 25 25 25 25 2C 2C 4A 2C 00 2C 14 16 {// Dodge Boost}
1B 6E 04 00 00 00 00 00 00 2C 86 25 25 25 25 25 2C 31 4A 2C 00 2C 3A 16 {// Time Boost}

1B 6E 04 00 00 00 00 00 00 2C 71 25 25 25 25 25 2C 00 4A 2C 00 2C 34 16 {// SHIV minigun}
1B 6E 04 00 00 00 00 00 00 2C 72 25 25 25 25 25 2C 0B 4A 2C 00 2C 34 16 {// SHIV Sentry}
1B 6E 04 00 00 00 00 00 00 2C 73 25 25 25 25 25 2C 00 4A 2C 06 2C 35 16 {// SHIV Laser}
1B 6E 04 00 00 00 00 00 00 2C 74 25 25 25 25 25 2C 00 4A 2C 07 2C 01 16 {// SHIV Plasma}

{//small item slot SHIV sidegrades}
1B 6E 04 00 00 00 00 00 00 2C 4B 25 25 25 25 2C 0D 2C 00 4A 2C 07 2C 23 16 {// Alloy Ammo Feeds -   eItem_BEGIN_ITEMS // grants ePerk_DoubleTap}
1B 6E 04 00 00 00 00 00 00 2C 54 25 25 25 25 25 2C 00 4A 2C 07 2C 23 16 {// nothing - eItem_BEGIN_GRENADES }
1B 6E 04 00 00 00 00 00 00 2C 59 25 25 25 25 2C 25 2C 00 4A 2C 07 2C 23 16 {// Explosive Ammo -  eItem_PlaceholderGrenade0 // grants ePerk_Flush }
1B 6E 04 00 00 00 00 00 00 2C 5A 25 25 25 25 2C 09 2C 00 4A 2C 07 2C 23 16 {// EMP Ammo -  eItem_PlaceholderGrenade1  // grants ePerk_DisablingShot }
1B 6E 04 00 00 00 00 00 00 2C 5B 25 25 25 25 2C 2B 2C 00 4A 2C 07 2C 23 16 {// Core Armoring  - eItem_BEGIN_ALIEN_GRENADES // grants ePerk_Resilience } 
1B 6E 04 00 00 00 00 00 00 2C 61 25 25 25 25 2C 1A 2C 00 4A 2C 07 2C 23 16 {// Weapon Supercooler  - eItem_END_ALIEN_GRENADES // grants ePerk_BulletSwarm } 
1B 6E 04 00 00 00 00 00 00 2C 6D 25 25 25 25 2C 1F 2C 00 4A 2C 07 2C 31 16 {// Elerium Turbocharger  - eItem_PlaceholderVehicle0 // grants ePerk_Sprinter}
1B 6E 04 00 00 00 00 00 00 2C 6E 25 25 25 25 2C 0C 2C 00 4A 2C 07 2C 02 16 {// Ammo Drums - eItem_PlaceholderVehicle1 // grants ePerk_ButtonUp (extra ammo)}
1B 6E 04 00 00 00 00 00 00 2C 70 25 25 25 25 2C 28 2C 00 4A 2C 07 2C 33 16 {// Proximity Sensors - eItem_BEGIN_VEHICLE_UPGRADES // grants Close Combat Specialist}
1B 6E 04 00 00 00 00 00 00 2C 78 25 25 25 25 2C 5B 2C 00 4A 2C 07 2C 23 16 {// HEAT Ammo - eItem_PlaceholderShivUpgrade0 // grants ePerk_HEATAmmo} 
1B 6E 04 00 00 00 00 00 00 2C 79 25 25 25 25 2C 13 2C 00 4A 2C 07 2C 23 16 {// HoloTargeter  -eItem_PlaceholderShivUpgrade1  // grants ePerk_TracerBeams}
1B 6E 04 00 00 00 00 00 00 2C 8B 25 25 25 25 2C 1B 2C 00 4A 2C 07 2C 32 16 {// Ablative Armor - eItem_END_VEHICLE_UPGRADES // grants ePerk_ExtraConditioning } 

0F 01 61 35 00 00 2C 04 {//category 4}

0F 01 61 35 00 00 2C 05 {//category 5}
1B 6E 04 00 00 00 00 00 00 2C AB 25 25 25 25 25 4A 4A 4A 2C 0E 16 {// Elerium 115}
1B 6E 04 00 00 00 00 00 00 2C AC 25 25 25 25 25 4A 4A 4A 2C 24 16 {// Alloys}
1B 6E 04 00 00 00 00 00 00 2C AD 25 25 25 25 25 4A 4A 4A 2C 00 16 {// Fragments}
1B 6E 04 00 00 00 00 00 00 2C BF 25 25 25 25 25 4A 4A 4A 2C 28 16 {// Base Shard}
1B 6E 04 00 00 00 00 00 00 2C B3 25 25 25 25 25 4A 4A 4A 2C 2C 16 {// UFO Power Source}
1B 6E 04 00 00 00 00 00 00 2C B1 25 25 25 25 25 4A 4A 4A 2C 2B 16 {// UFO Navigation}
1B 6E 04 00 00 00 00 00 00 2C AF 25 25 25 25 25 4A 4A 4A 2C 2E 16 {// Alien Food}
1B 6E 04 00 00 00 00 00 00 2C AE 25 25 25 25 25 4A 4A 4A 2C 2F 16 {// Alien Entertainment}
1B 6E 04 00 00 00 00 00 00 2C B0 25 25 25 25 25 4A 4A 4A 2C 30 16 {// Alien Stasis Tanks}
1B 6E 04 00 00 00 00 00 00 2C B2 25 25 25 25 25 4A 4A 4A 2C 31 16 {// Alien Surgery}
1B 6E 04 00 00 00 00 00 00 2C BC 25 25 25 25 25 4A 4A 4A 2C 2D 16 {// UFO Fusion Launcher}
1B 6E 04 00 00 00 00 00 00 2C B4 25 25 25 25 25 4A 4A 4A 2C C1 16 {// Hyperwave Beacon}
1B 6E 04 00 00 00 00 00 00 2C BD 25 25 25 25 25 4A 4A 4A 2C 33 16 {// PsiLink}
1B 6E 04 00 00 00 00 00 00 2C BA 25 25 25 25 25 4A 4A 4A 2C A3 16 {// Damaged UFO Power Source}
1B 6E 04 00 00 00 00 00 00 2C B8 25 25 25 25 25 4A 4A 4A 2C C7 16 {// Damaged UFO Navigation}
1B 6E 04 00 00 00 00 00 00 2C B6 25 25 25 25 25 4A 4A 4A 2C C7 16 {// Damaged Alien Food}
1B 6E 04 00 00 00 00 00 00 2C B5 25 25 25 25 25 4A 4A 4A 2C C7 16 {// Damaged Alien Entertainment}
1B 6E 04 00 00 00 00 00 00 2C B7 25 25 25 25 25 4A 4A 4A 2C C7 16 {// Damaged Alien Statis Tank}
1B 6E 04 00 00 00 00 00 00 2C B9 25 25 25 25 25 4A 4A 4A 2C BA 16 {// Damaged Alien Surgery}
1B 6E 04 00 00 00 00 00 00 2C BB 25 25 25 25 25 4A 4A 4A 2C C1 16 {// Damaged Hyperwave Beacon}

0F 01 61 35 00 00 2C 06 {//category 6}
1B 6E 04 00 00 00 00 00 00 2C 90 25 25 25 25 25 4A 4A 4A 2C 34 16 {// Sectoid Corpse}
1B 6E 04 00 00 00 00 00 00 2C 92 25 25 25 25 25 4A 4A 4A 2C 35 16 {// Floater Corpse}
1B 6E 04 00 00 00 00 00 00 2C 94 25 25 25 25 25 4A 4A 4A 2C 37 16 {// ThinMan Corpse}
1B 6E 04 00 00 00 00 00 00 2C 95 25 25 25 25 25 4A 4A 4A 2C 36 16 {// Muton Corpse}
1B 6E 04 00 00 00 00 00 00 2C 9A 25 25 25 25 25 4A 4A 4A 2C 38 16 {// Cryssalid Corpse}
1B 6E 04 00 00 00 00 00 00 2C 98 25 25 25 25 25 4A 4A 4A 2C 3B 16 {// Cyberdisc Corpse}
1B 6E 04 00 00 00 00 00 00 2C 9C 25 25 25 25 25 4A 4A 4A 2C 3D 16 {// Sectopod Corpse}
1B 6E 04 00 00 00 00 00 00 2C 9D 25 25 25 25 25 4A 4A 4A 2C 3C 16 {// Drone Corpse}
1B 6E 04 00 00 00 00 00 00 2C 99 25 25 25 25 25 4A 4A 4A 2C 3A 16 {// Ethereal Corpse}
1B 6E 04 00 00 00 00 00 00 2C 91 25 25 25 25 25 4A 4A 4A 2C 41 16 {// Sectoid Commander Corpse}
1B 6E 04 00 00 00 00 00 00 2C 97 25 25 25 25 25 4A 4A 4A 2C 3E 16 {// Berserker Corpse}
1B 6E 04 00 00 00 00 00 00 2C 96 25 25 25 25 25 4A 4A 4A 2C 3F 16 {// Muton Elite Corpse}
1B 6E 04 00 00 00 00 00 00 2C 93 25 25 25 25 25 4A 4A 4A 2C 40 16 {// Floater Heavy Corpse}
1B 6E 04 00 00 00 00 00 00 2C A0 25 25 25 25 25 4A 4A 4A 2C 34 16 {// Sectoid Captive}
1B 6E 04 00 00 00 00 00 00 2C A1 25 25 25 25 25 4A 4A 4A 2C 41 16 {// Sectoid Commander Captive}
1B 6E 04 00 00 00 00 00 00 2C A2 25 25 25 25 25 4A 4A 4A 2C 35 16 {// Floater Captive}
1B 6E 04 00 00 00 00 00 00 2C A4 25 25 25 25 25 4A 4A 4A 2C 37 16 {// ThinMan Captive}
1B 6E 04 00 00 00 00 00 00 2C A5 25 25 25 25 25 4A 4A 4A 2C 36 16 {// Muton Captive}
1B 6E 04 00 00 00 00 00 00 2C A8 25 25 25 25 25 4A 4A 4A 2C 3A 16 {// Ethereal Captive}
1B 6E 04 00 00 00 00 00 00 2C A7 25 25 25 25 25 4A 4A 4A 2C 3E 16 {// Berserker Captive}
1B 6E 04 00 00 00 00 00 00 2C A6 25 25 25 25 25 4A 4A 4A 2C 3F 16 {// Muton Elite Captive}
1B 6E 04 00 00 00 00 00 00 2C A3 25 25 25 25 25 4A 4A 4A 2C 40 16 {// Floater Heavy Captive}
1B E5 02 00 00 00 00 00 00 16 {// BalanceItems()}

{//null-ops : 69 bytes}
0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 

04 0B 53  {// Return nothing, end of script}


BuildItems Uninstaller

This Uninstaller will revert the BuildItems function back the vanilla code. This Custom Mod is not broken down or commented.

XComStrategyGame.upk >> XGItemTree.BuildItems

MOD_NAME=BuildItems Hex Uninstaller
AUTHOR=amineri
DESCRIPTION=Reverts the BuildItems function back to vanilla hex code


Version: 1.0

Compatible with XCOM Enemy Unknown versions:
 - Patch 4 ( Changelist: 356266 )


UPK_FILE=XComStrategyGame.upk
OFFSET=3246784
[MODDED_HEX]
{ hex offset 318AC0 }
{ hex block 318AC0-319729, length C6A }

{header}
6A 35 00 00 AB 1F 00 00 00 00 00 00 6A 35 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 39 00 00 00 74 07 00 00 4E 0C 00 00 3A 0C 00 00 

{body}
0F 01 61 35 00 00 26 1B 6E 04 00 00 00 00 00 00 2C 02 1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 25 16 1B 6E 04 00 00 00 00 00 00 2C 
03 1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 10 16 1B 6E 04 00 00 00 00 00 00 2C 04 1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF 
FF 4A 4A 4A 2C 36 16 1B 6E 04 00 00 00 00 00 00 2C 05 1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 1F 16 1B 6E 04 00 00 00 00 00 00 2C 
06 1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 39 16 1B 6E 04 00 00 00 00 00 00 2C 07 1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF 
FF 4A 4A 4A 2C 2D 16 1B 6E 04 00 00 00 00 00 00 2C 55 1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 17 16 1B 6E 04 00 00 00 00 00 00 2C 
56 1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 38 16 1B 6E 04 00 00 00 00 00 00 2C 4C 2C 19 4A 4A 2C 07 2C 05 4A 4A 4A 2C 20 16 1B 6E 
04 00 00 00 00 00 00 2C 58 1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 24 02 2C 06 16 1B 6E 04 00 00 00 00 00 00 2C 50 2C 0A 4A 4A 2C 07 2C 
05 24 02 4A 4A 2C 08 16 1B 6E 04 00 00 00 00 00 00 2C 63 1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 11 16 1B 6E 04 00 00 00 00 00 00 
2C 51 2C 14 4A 4A 2C 07 2C 05 24 09 4A 4A 2C 30 16 1B 6E 04 00 00 00 00 00 00 2C 52 2C 14 4A 4A 2C 07 2C 05 24 0A 4A 4A 2C 24 16 1B 6E 04 00 00 00 00 00 
00 2C 4F 2C 55 4A 4A 2C 07 2C 0A 24 2F 4A 4A 2C 12 16 1B 6E 04 00 00 00 00 00 00 2C 4D 2C 32 4A 4A 2C 07 2C 0A 24 32 24 97 4A 2C 13 16 1B 6E 04 00 00 00 
00 00 00 2C 4E 2C 96 4A 4A 2C 0A 2C 19 24 37 4A 4A 2C 22 16 1B 6E 04 00 00 00 00 00 00 2C C0 2C 19 2C 14 2C 14 2C 07 2C 0F 24 03 4A 4A 2C 37 16 1B 6E 04 
00 00 00 00 00 00 2C 08 2C 0A 4A 2C 0A 2C 07 2C 0A 24 13 4A 4A 2C 1B 16 1B 6E 04 00 00 00 00 00 00 2C 09 2C 19 4A 2C 0F 2C 07 2C 0C 24 13 4A 4A 2C 1C 16 
1B 6E 04 00 00 00 00 00 00 2C 0A 2C 1E 4A 2C 19 2C 07 2C 0C 24 14 4A 4A 2C 1D 16 1B 6E 04 00 00 00 00 00 00 2C 0C 2C 23 4A 2C 19 2C 07 2C 0C 24 14 4A 4A 
2C 1E 16 1B 6E 04 00 00 00 00 00 00 2C 0B 2C 1E 4A 2C 19 2C 07 2C 0C 24 15 4A 4A 2C 1A 16 1B 6E 04 00 00 00 00 00 00 2C 0D 2C 64 2C 0A 2C 14 2C 0A 2C 14 
24 16 4A 4A 2C 28 16 1B 6E 04 00 00 00 00 00 00 2C 0E 2C 7D 2C 0F 2C 14 2C 0A 2C 14 24 17 4A 4A 2C 2A 16 1B 6E 04 00 00 00 00 00 00 2C 0F 2C C8 2C 14 2C 
1E 2C 0A 2C 14 24 18 4A 4A 2C 29 16 1B 6E 04 00 00 00 00 00 00 2C 10 2C C8 2C 14 2C 32 2C 0C 2C 19 24 1B 4A 4A 2C 2B 16 1B 6E 04 00 00 00 00 00 00 2C 11 
2C FA 2C 1E 2C 1E 2C 0A 2C 19 24 19 4A 4A 2C 27 16 1B 6E 04 00 00 00 00 00 00 2C 12 2C FA 2C 19 2C 1E 2C 0F 2C 19 24 1A 4A 4A 2C 2C 16 1B 6E 04 00 00 00 
00 00 00 2C 13 1D 13 01 00 00 2C 23 2C 28 2C 0F 2C 28 24 1E 4A 4A 2C 26 16 0F 01 61 35 00 00 2C 02 1B 6E 04 00 00 00 00 00 00 2C 39 1D FF FF FF FF 4A 4A 
1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 0C 16 1B 6E 04 00 00 00 00 00 00 2C 3A 2C 19 4A 2C 0F 2C 0A 2C 0A 24 0E 4A 4A 2C 0A 16 1B 6E 04 00 00 00 00 00 
00 2C 3B 2C 1E 4A 2C 0A 2C 0A 2C 0F 24 0F 4A 4A 2C 0E 16 1B 6E 04 00 00 00 00 00 00 2C 3C 2C 96 2C 0A 2C 23 2C 0A 2C 19 24 10 4A 4A 2C 0F 16 1B 6E 04 00 
00 00 00 00 00 2C 3D 2C C8 2C 10 2C 1E 2C 0E 2C 23 24 12 4A 4A 2C 09 16 1B 6E 04 00 00 00 00 00 00 2C 3E 2C FA 2C 14 2C 19 2C 0E 2C 28 24 11 4A 4A 2C 0B 
16 1B 6E 04 00 00 00 00 00 00 2C 3F 1D 90 01 00 00 2C 28 2C 14 2C 0A 2C 1E 24 0D 4A 4A 2C 0D 16 0F 01 61 35 00 00 2C 03 1B 6E 04 00 00 00 00 00 00 2C 66 
2C 32 4A 4A 2C 0E 2C 05 4A 4A 24 01 2C 31 16 1B 6E 04 00 00 00 00 00 00 2C 67 2C 64 4A 2C 19 2C 0E 2C 0A 24 0E 4A 24 01 2C 32 16 1B 6E 04 00 00 00 00 00 
00 2C 68 2C C8 2C 1E 2C 1E 2C 0E 2C 14 24 05 4A 24 01 2C 33 16 1B 6E 04 00 00 00 00 00 00 2C 69 2C 28 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 19 
16 1B 6E 04 00 00 00 00 00 00 2C 6A 1D 13 01 00 00 2C 28 2C 3C 2C 15 2C 14 24 05 4A 4A 2C 15 16 1B 6E 04 00 00 00 00 00 00 2C 6B 1D FF FF FF FF 4A 4A 1D 
FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 42 16 1B 6E 04 00 00 00 00 00 00 2C 6C 2C 64 4A 4A 2C 14 2C 05 4A 4A 4A 2C 2E 16 1B 6E 04 00 00 00 00 00 00 2C 71 
1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 24 01 2C 34 16 1B 6E 04 00 00 00 00 00 00 2C 73 1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF 
FF 4A 4A 4A 2C 35 16 1B 6E 04 00 00 00 00 00 00 2C 74 1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 41 16 1B 6E 04 00 00 00 00 00 00 2C 
75 1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 24 01 2C 31 16 1B 6E 04 00 00 00 00 00 00 2C 76 1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF 
FF FF 4A 4A 4A 2C 32 16 1B 6E 04 00 00 00 00 00 00 2C 77 1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 33 16 1B 6E 04 00 00 00 00 00 00 
2C 7B 2C 19 4A 4A 2C 07 2C 05 24 0B 4A 4A 2C 02 16 1B 6E 04 00 00 00 00 00 00 2C 7C 1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 04 16 
1B 6E 04 00 00 00 00 00 00 2C 7D 2C 23 4A 2C 19 2C 07 2C 0A 24 15 4A 4A 2C 03 16 1B 6E 04 00 00 00 00 00 00 2C 7E 2C 64 2C 14 2C 14 2C 0A 2C 14 24 1C 4A 
4A 2C 05 16 1B 6E 04 00 00 00 00 00 00 2C 7F 2C C8 2C 14 2C 1E 2C 0A 2C 1E 24 21 4A 4A 25 16 1B 6E 04 00 00 00 00 00 00 2C 80 2C 96 2C 14 2C 1E 2C 0A 2C 
23 24 1D 4A 4A 26 16 1B 6E 04 00 00 00 00 00 00 2C 87 2C 0A 25 25 25 2C 05 24 2B 4A 4A 2C 2F 16 1B 6E 04 00 00 00 00 00 00 2C 85 2C 32 25 25 25 2C 05 24 
2C 4A 4A 2C 14 16 1B 6E 04 00 00 00 00 00 00 2C 86 2C 14 25 25 25 2C 0A 24 31 4A 4A 2C 3A 16 0F 01 61 35 00 00 2C 05 1B 6E 04 00 00 00 00 00 00 2C AB 2C 
03 26 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 0E 16 1B 6E 04 00 00 00 00 00 00 2C AC 2C 02 4A 26 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 24 16 1B 
6E 04 00 00 00 00 00 00 2C AD 26 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 25 16 1B 6E 04 00 00 00 00 00 00 2C BF 1D FF FF FF FF 4A 4A 1D FF FF FF FF 
1D FF FF FF FF 4A 4A 4A 2C 28 16 1B 6E 04 00 00 00 00 00 00 2C B3 2C 4B 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 2C 16 1B 6E 04 00 00 00 00 00 00 
2C B1 2C 28 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 2B 16 1B 6E 04 00 00 00 00 00 00 2C AF 2C 0A 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 
2E 16 1B 6E 04 00 00 00 00 00 00 2C AE 2C 11 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 2F 16 1B 6E 04 00 00 00 00 00 00 2C B0 2C 0A 4A 4A 1D FF FF 
FF FF 1D FF FF FF FF 4A 4A 4A 2C 30 16 1B 6E 04 00 00 00 00 00 00 2C B2 2C 19 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 31 16 1B 6E 04 00 00 00 00 
00 00 2C BC 2C 7D 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 2D 16 1B 6E 04 00 00 00 00 00 00 2C B4 1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF 
FF 4A 4A 4A 2C C1 16 1B 6E 04 00 00 00 00 00 00 2C BD 1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 33 16 1B 6E 04 00 00 00 00 00 00 2C 
BA 2C 1E 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C A3 16 1B 6E 04 00 00 00 00 00 00 2C B8 2C 14 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C C7 
16 1B 6E 04 00 00 00 00 00 00 2C B6 2C 05 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C C7 16 1B 6E 04 00 00 00 00 00 00 2C B5 2C 05 4A 4A 1D FF FF FF 
FF 1D FF FF FF FF 4A 4A 4A 2C C7 16 1B 6E 04 00 00 00 00 00 00 2C B7 2C 05 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C C7 16 1B 6E 04 00 00 00 00 00 
00 2C B9 2C 0A 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C BA 16 1B 6E 04 00 00 00 00 00 00 2C BB 2C 2D 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 
2C C1 16 0F 01 61 35 00 00 2C 06 1B 6E 04 00 00 00 00 00 00 2C 90 2C 05 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 34 16 1B 6E 04 00 00 00 00 00 00 
2C 92 2C 05 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 35 16 1B 6E 04 00 00 00 00 00 00 2C 94 2C 05 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 
37 16 1B 6E 04 00 00 00 00 00 00 2C 95 2C 05 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 36 16 1B 6E 04 00 00 00 00 00 00 2C 9A 2C 05 4A 4A 1D FF FF 
FF FF 1D FF FF FF FF 4A 4A 4A 2C 38 16 1B 6E 04 00 00 00 00 00 00 2C 98 2C 07 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 3B 16 1B 6E 04 00 00 00 00 
00 00 2C 9C 2C 0A 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 3D 16 1B 6E 04 00 00 00 00 00 00 2C 9D 2C 02 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 
4A 2C 3C 16 1B 6E 04 00 00 00 00 00 00 2C 99 2C 0F 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 3A 16 1B 6E 04 00 00 00 00 00 00 2C 91 2C 0A 4A 4A 1D 
FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 41 16 1B 6E 04 00 00 00 00 00 00 2C 97 2C 05 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 3E 16 1B 6E 04 00 00 
00 00 00 00 2C 96 2C 08 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 3F 16 1B 6E 04 00 00 00 00 00 00 2C 93 2C 06 4A 4A 1D FF FF FF FF 1D FF FF FF FF 
4A 4A 4A 2C 40 16 1B 6E 04 00 00 00 00 00 00 2C A0 1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 34 16 1B 6E 04 00 00 00 00 00 00 2C A2 
1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 35 16 1B 6E 04 00 00 00 00 00 00 2C A4 1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF FF 
4A 4A 4A 2C 37 16 1B 6E 04 00 00 00 00 00 00 2C A5 1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 36 16 1B 6E 04 00 00 00 00 00 00 2C A8 
1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 3A 16 1B 6E 04 00 00 00 00 00 00 2C A1 1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF FF 
4A 4A 4A 2C 41 16 1B 6E 04 00 00 00 00 00 00 2C A7 1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 3E 16 1B 6E 04 00 00 00 00 00 00 2C A6 
1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 3F 16 1B 6E 04 00 00 00 00 00 00 2C A3 1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF FF 
4A 4A 4A 2C 40 16 1B E5 02 00 00 00 00 00 00 16 04 0B 53   


Decompiled Code

Original Code

TODO

New Code

function BuildItems()
{
    m_iCurrentCategory = 1;
    BuildItem(2, 0, 0, 0, 0, 0, 0, 0, 37);
    BuildItem(3, 0, 0, 0, 0, 0, 0, 0, 16);
    BuildItem(4, 0, 0, 0, 0, 0, 0, 0, 54);
    BuildItem(5, 0, 0, 0, 0, 0, 0, 0, 31);
    BuildItem(6, 0, 0, 0, 0, 0, 0, 0, 57);
    BuildItem(7, 0, 0, 0, 0, 0, 0, 0, 45);
    BuildItem(85, 0, 0, 0, 0, 0, 0, 0, 23);
    BuildItem(86, 0, 0, 0, 0, 44, 0, 0, 56);
    BuildItem(88, 0, 0, 0, 0, 0, 0, 0, 6);
    BuildItem(76, 0, 0, 0, 0, 0, 0, 0, 32);
    BuildItem(80, 0, 0, 0, 0, 0, 2, 0, 8);
    BuildItem(99, 0, 0, 0, 0, 8, 0, 0, 17);
    BuildItem(81, 0, 0, 0, 0, 0, 9, 0, 48);
    BuildItem(82, 0, 0, 0, 0, 0, 10, 0, 36);
    BuildItem(79, 0, 0, 0, 0, 0, 47, 0, 18);
    BuildItem(77, 0, 0, 0, 0, 0, 50, 151, 19);
    BuildItem(78, 0, 0, 0, 0, 0, 55, 0, 34);
    BuildItem(192, 0, 0, 0, 0, 0, 3, 0, 55);
    BuildItem(8, 0, 0, 0, 0, 0, 19, 0, 27);
    BuildItem(9, 0, 0, 0, 0, 0, 19, 0, 28);
    BuildItem(10, 0, 0, 0, 0, 0, 20, 0, 29);
    BuildItem(12, 0, 0, 0, 0, 0, 20, 0, 30);
    BuildItem(11, 0, 0, 0, 0, 0, 21, 0, 26);
    BuildItem(13, 0, 0, 0, 0, 0, 22, 0, 40);
    BuildItem(14, 0, 0, 0, 0, 0, 23, 0, 42);
    BuildItem(15, 0, 0, 0, 0, 0, 24, 0, 41);
    BuildItem(16, 0, 0, 0, 0, 0, 27, 0, 43);
    BuildItem(17, 0, 0, 0, 0, 0, 25, 0, 39);
    BuildItem(18, 0, 0, 0, 0, 0, 26, 0, 44);
    BuildItem(19, 0, 0, 0, 0, 0, 30, 0, 38);
    BuildItem(36, 0, 0, 0, 0, 0, 0, 0, 24);
    BuildItem(98, 0, 0, 0, 0, 0, 0, 0, 6);
    BuildItem(95, 0, 0, 0, 0, 0, 0, 0, 45);
    BuildItem(87, 0, 0, 0, 0, 0, 0, 0, 56);
    BuildItem(96, 0, 0, 0, 0, 0, 0, 0, 36);
    BuildItem(83, 0, 0, 0, 0, 48, 0, 0, 32);
    BuildItem(94, 0, 0, 0, 0, 0, 0, 0, 7);
    BuildItem(130, 0, 0, 0, 0, 0, 0, 0, 55);
    BuildItem(92, 0, 0, 0, 0, 0, 0, 0, 0);
    BuildItem(21, 0, 0, 0, 0, 0, 0, 0, 16);
    BuildItem(22, 0, 0, 0, 0, 0, 0, 0, 54);
    BuildItem(23, 0, 0, 0, 0, 0, 0, 0, 31);
    BuildItem(24, 0, 0, 0, 0, 0, 0, 0, 57);
    BuildItem(113, 0, 0, 0, 0, 0, 0, 0, 52);
    BuildItem(114, 0, 0, 0, 0, 0, 11, 0, 52);
    BuildItem(115, 0, 0, 0, 0, 0, 0, 6, 53);
    BuildItem(116, 0, 0, 0, 0, 0, 0, 7, 1);
    BuildItem(90, 0, 0, 0, 0, 0, 0, 7, 35);
    BuildItem(89, 0, 0, 0, 0, 0, 0, 7, 35);
    BuildItem(75, 0, 0, 0, 0, 0, 0, 7, 35);
    BuildItem(84, 0, 0, 0, 0, 0, 0, 7, 35);
    BuildItem(91, 0, 0, 0, 0, 0, 0, 7, 35);
    BuildItem(97, 0, 0, 0, 0, 0, 0, 7, 35);
    BuildItem(93, 0, 0, 0, 0, 0, 0, 7, 50);
    BuildItem(109, 0, 0, 0, 0, 0, 0, 7, 49);
    BuildItem(110, 0, 0, 0, 0, 0, 0, 7, 2);
    BuildItem(120, 0, 0, 0, 0, 0, 0, 7, 35);
    BuildItem(121, 0, 0, 0, 0, 0, 0, 7, 35);
    BuildItem(112, 0, 0, 0, 0, 0, 0, 7, 51);
    m_iCurrentCategory = 2;
    BuildItem(57, 0, 0, 0, 0, 0, 0, 0, 12);
    BuildItem(58, 0, 0, 0, 0, 0, 14, 0, 10);
    BuildItem(59, 0, 0, 0, 0, 0, 15, 0, 14);
    BuildItem(60, 0, 0, 0, 0, 0, 16, 0, 15);
    BuildItem(61, 0, 0, 0, 0, 0, 18, 0, 9);
    BuildItem(62, 0, 0, 0, 0, 0, 17, 0, 11);
    BuildItem(63, 0, 0, 0, 0, 0, 13, 0, 13);
    m_iCurrentCategory = 3;
    BuildItem(102, 0, 0, 0, 0, 0, 0, 1, 49);
    BuildItem(103, 0, 0, 0, 0, 0, 14, 1, 50);
    BuildItem(104, 0, 0, 0, 0, 0, 5, 1, 51);
    BuildItem(105, 0, 0, 0, 0, 0, 0, 0, 25);
    BuildItem(106, 0, 0, 0, 0, 0, 5, 0, 21);
    BuildItem(107, 0, 0, 0, 0, 0, 0, 0, 66);
    BuildItem(108, 0, 0, 0, 0, 0, 0, 0, 46);
    BuildItem(117, 0, 0, 0, 0, 0, 0, 1, 49);
    BuildItem(118, 0, 0, 0, 0, 0, 0, 0, 50);
    BuildItem(119, 0, 0, 0, 0, 0, 0, 0, 51);
    BuildItem(123, 0, 0, 0, 0, 0, 11, 0, 2);
    BuildItem(124, 0, 0, 0, 0, 0, 0, 0, 4);
    BuildItem(125, 0, 0, 0, 0, 0, 21, 0, 3);
    BuildItem(126, 0, 0, 0, 0, 0, 28, 0, 5);
    BuildItem(127, 0, 0, 0, 0, 0, 33, 0, 0);
    BuildItem(128, 0, 0, 0, 0, 0, 29, 0, 1);
    BuildItem(135, 0, 0, 0, 0, 0, 43, 0, 47);
    BuildItem(133, 0, 0, 0, 0, 0, 44, 0, 20);
    BuildItem(134, 0, 0, 0, 0, 0, 49, 0, 58);
    m_iCurrentCategory = 4;
    m_iCurrentCategory = 5;
    BuildItem(171, 0, 0, 0, 0, 0, 14);
    BuildItem(172, 0, 0, 0, 0, 0, 36);
    BuildItem(173, 0, 0, 0, 0, 0, 0);
    BuildItem(191, 0, 0, 0, 0, 0, 40);
    BuildItem(179, 0, 0, 0, 0, 0, 44);
    BuildItem(177, 0, 0, 0, 0, 0, 43);
    BuildItem(175, 0, 0, 0, 0, 0, 46);
    BuildItem(174, 0, 0, 0, 0, 0, 47);
    BuildItem(176, 0, 0, 0, 0, 0, 48);
    BuildItem(178, 0, 0, 0, 0, 0, 49);
    BuildItem(188, 0, 0, 0, 0, 0, 45);
    BuildItem(180, 0, 0, 0, 0, 0, 193);
    BuildItem(189, 0, 0, 0, 0, 0, 51);
    BuildItem(186, 0, 0, 0, 0, 0, 163);
    BuildItem(184, 0, 0, 0, 0, 0, 199);
    BuildItem(182, 0, 0, 0, 0, 0, 199);
    BuildItem(181, 0, 0, 0, 0, 0, 199);
    BuildItem(183, 0, 0, 0, 0, 0, 199);
    BuildItem(185, 0, 0, 0, 0, 0, 186);
    BuildItem(187, 0, 0, 0, 0, 0, 193);
    m_iCurrentCategory = 6;
    BuildItem(144, 0, 0, 0, 0, 0, 52);
    BuildItem(146, 0, 0, 0, 0, 0, 53);
    BuildItem(148, 0, 0, 0, 0, 0, 55);
    BuildItem(149, 0, 0, 0, 0, 0, 54);
    BuildItem(154, 0, 0, 0, 0, 0, 56);
    BuildItem(152, 0, 0, 0, 0, 0, 59);
    BuildItem(156, 0, 0, 0, 0, 0, 61);
    BuildItem(157, 0, 0, 0, 0, 0, 60);
    BuildItem(153, 0, 0, 0, 0, 0, 58);
    BuildItem(145, 0, 0, 0, 0, 0, 65);
    BuildItem(151, 0, 0, 0, 0, 0, 62);
    BuildItem(150, 0, 0, 0, 0, 0, 63);
    BuildItem(147, 0, 0, 0, 0, 0, 64);
    BuildItem(160, 0, 0, 0, 0, 0, 52);
    BuildItem(161, 0, 0, 0, 0, 0, 65);
    BuildItem(162, 0, 0, 0, 0, 0, 53);
    BuildItem(164, 0, 0, 0, 0, 0, 55);
    BuildItem(165, 0, 0, 0, 0, 0, 54);
    BuildItem(168, 0, 0, 0, 0, 0, 58);
    BuildItem(167, 0, 0, 0, 0, 0, 62);
    BuildItem(166, 0, 0, 0, 0, 0, 63);
    BuildItem(163, 0, 0, 0, 0, 0, 64);
    BalanceItems();                                                                                                                                                                                                                                                                                                                                                                                                                            
    //return;    
}
  


References

Referred to by this article:

That refer to this article:

  • <none>