Skip to content

Commit

Permalink
#39 first package of item descriptions
Browse files Browse the repository at this point in the history
- most cyberspace items still missing
  • Loading branch information
dertseha committed Sep 17, 2016
1 parent 8da9f8f commit 303f187
Showing 1 changed file with 91 additions and 6 deletions.
97 changes: 91 additions & 6 deletions levelObjects/08_Items/levelItemEntry.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,104 @@
### Level Item Table (Class 8)
## Level Item Table (Class 8)

```L18``` is a table describing general items

**Level Item Entry** (16 bytes)

0000 [6]byte Level object prefix
0006 [10]byte Unknown
0006 [10]byte Item data

#### Junk
### Junk 8/0/x

**Papers** ```8/0/2```
#### Papers 8/0/2

0000 [2]byte Unknown
**Paper Item** (10 bytes)

0000 [2]byte Unused
0002 int16 Paper ID
0004 [6]byte Unknown
0004 [6]byte Unused

The ```Paper ID``` refers to a paper text entry and is the offset from chunk ID ```0x003C```.
The referred text entries have multiple blocks and the engine simply concatenates all these strings to one text.


#### Briefcases 8/0/7

**Briefcase Item** (10 bytes)

0000 [2]byte Unused
0002 [4]int16 Object index


### Broken Stuff 8/1/x

Nothing special.


### Dead Bodies 8/2/x

#### Corpses 8/2/0 - 8/2/7

**Corpse Item** (10 bytes)

0000 [2]byte Unknown
0002 [4]int16 Object index

#### Severed Heads 8/2/13, 8/2/14

**Severed Head** (10 bytes)

0000 [2]byte Unused
0002 byte Image index
0003 [7]byte Unused

If ```Image index``` is zero, the generic mutilated head is shown. Otherwise, it is the index for a picture of a person, using that of e-mails.


### Consumables 8/3/x

Nothing special.


### Access Cards 8/4/x

**Access Card** (10 bytes)

0000 int16 Unknown
0002 sint32 Access mask
0006 [4]byte Unused

All access cards work the same way: When consumed, they add the given ```Access mask``` to the current priviledges and give a message whether and which new access was gained.

**Access mask** (sint32)

0x00000001 "None" - This priviledge is none and will not be added. Should not be used.
0x000000FE Various generic priviledges
0x00FFFF00 Used for "group" priviledges; Typically used with 8/4/10 (Group access card)
0x7F000000 Personal priviledges; 0x01: D'Arcy, 0x10: Diego

8/4/11 items (Personal access cards) have a special handling if personal priviledges are set; When identifying the object, the name of the person is appended to the title.

> 8/4/0 (Current access levels) works like any other access card, though it doesn't have a proper icon (only an 'X'). In the game it is used only on level 1 for a few cases, purpose unknown.

### Cyberspace Items 8/5/x

#### Security ID Module 8/5/3

**Security ID Module** (10 bytes)

0000 int16 Unknown
0002 sint32 Access mask
0006 [4]byte Unused

Works like access cards - see above.


### Wear and Tear Items 8/6/x

Nothing special.


### Quest Items 8/7/x

Nothing special.

0 comments on commit 303f187

Please sign in to comment.