0x0033

From SimsWiki
Jump to: navigation, search
Manage Inventory
OpCode:0x0033
Game Version:The Sims 2


Contents

Overview

This primitive allows you to work with the Sims Inventory which includes the Sims backpack, memories, and other non-visible 'tokens' that are stored to remember things. There are several inventories in the game, Global, Lot, Family, and Neighbor, and each inventory can be Singular or Counted.

Global Inventory

Lot Inventory

Family Inventory

Neighbor Inventory

This is the inventory for a specific Sim, containing tokens for things only for that Sim, for example, an e-mail from someone.

Singular Inventories

Counted Inventories

Using the Instruction Wizard

Manage Inventory Instruction Wizard


There are a number of operations in the Manage Inventory instruction, and depending on which operation you are using, different portions of the wizard are used.

From inventory

Token GUID

The GUID of the token you want to manage is provided in here. You can use the Stack Object ID by leaving the provided GUID set to 0x00000000.

index

Category

Target Inventory

This is where you choose the type of Inventory you are going to manage. See above for details on inventory types.

Operations

There are a number of operations in the Manage Inventory instruction, and depending on which operation you are using, different portions of the wizard are used.

Add Token Of GUID

For this operation you provide the Token GUID you wish to add, the Category of this token and the Target Inventory to add the token to.

Remove Token At Index

This is the opposite of 'Add Token Of GUID' but first you must find the token you wish to remove but using 'Set to Next Token Of GUID'.

More to come


See also

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox