[Docs] Specified NetworkItem player is about the player slot of the location, not who the item is intended for (#217)
This commit is contained in:
parent
ffc7715f1b
commit
5df4d2f2fd
|
@ -218,7 +218,7 @@ class JSONtoTextParser(metaclass=HandlerMeta):
|
||||||
node["color"] = 'cyan'
|
node["color"] = 'cyan'
|
||||||
elif flags & 1 << 0: # advancement
|
elif flags & 1 << 0: # advancement
|
||||||
node["color"] = 'plum'
|
node["color"] = 'plum'
|
||||||
elif flags & 1 << 1: # never_eclude
|
elif flags & 1 << 1: # never_exclude
|
||||||
node["color"] = 'slateblue'
|
node["color"] = 'slateblue'
|
||||||
elif flags & 1 << 2: # trap
|
elif flags & 1 << 2: # trap
|
||||||
node["color"] = 'salmon'
|
node["color"] = 'salmon'
|
||||||
|
|
|
@ -339,7 +339,13 @@ In JSON this may look like:
|
||||||
{"item": 3, "location": 3, "player": 0, "flags": 0}
|
{"item": 3, "location": 3, "player": 0, "flags": 0}
|
||||||
]
|
]
|
||||||
```
|
```
|
||||||
Flags are bit flags:
|
`item` is the item id of the item
|
||||||
|
|
||||||
|
`location` is the location id of the item inside the world
|
||||||
|
|
||||||
|
`player` is the player slot of the world the item is located in
|
||||||
|
|
||||||
|
`flags` are bit flags:
|
||||||
| Flag | Meaning |
|
| Flag | Meaning |
|
||||||
| ----- | ----- |
|
| ----- | ----- |
|
||||||
| 0 | Nothing special about this item |
|
| 0 | Nothing special about this item |
|
||||||
|
|
Loading…
Reference in New Issue