Difference between revisions of "Inventory Items"

From AGI Wiki
Jump to navigationJump to search
(Created page with "The inventory item data type refers to the items that are listed in the game's OBJECT file. Inventory items are referenced in logics by an unsigned eight bit ...")
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
The inventory item data type refers to the items that are listed in the game's [[OBJECT file|OBJECT file]].
+
The inventory item data type refers to the items that are listed in the game's [[OBJECT File (AGI)|AGI OBJECT file]].
  
 
Inventory items are referenced in logics by an unsigned eight bit number that corresponds to the index of the item in the OBJECT file.
 
Inventory items are referenced in logics by an unsigned eight bit number that corresponds to the index of the item in the OBJECT file.
  
The first inventory item (index 0) in all known [[Sierra Made Games|Sierra games]] is the single character '?'. Other item indices that aren't used by the game are also set to this single question mark character. Setting the first item to a single question mark does not appear to be required. Most [[Fan Made Games|fan made games]] continue using the question mark for item 0 and any unused/undefined items.
+
The first inventory item (index 0) in all known [[Sierra AGI Release_List|Sierra AGI games]] is the single character '?'. Other item indices that aren't used by the game are also set to this single question mark character. Setting the first item to a single question mark does not appear to be required. Most [[Fan Game List|fan games]] continue using the question mark for item 0 and any unused/undefined items.
  
 
== Data types ==
 
== Data types ==
  
{{Data Types}}
+
{{Data types}}
 +
 
 +
 
 +
 
 +
[[Category:Objects]]
 +
[[Category:Logic]]

Revision as of 11:19, 26 March 2019

The inventory item data type refers to the items that are listed in the game's AGI OBJECT file.

Inventory items are referenced in logics by an unsigned eight bit number that corresponds to the index of the item in the OBJECT file.

The first inventory item (index 0) in all known Sierra AGI games is the single character '?'. Other item indices that aren't used by the game are also set to this single question mark character. Setting the first item to a single question mark does not appear to be required. Most fan games continue using the question mark for item 0 and any unused/undefined items.

Data types