mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-07 12:21:52 +09:00
the-flattening wip
This commit is contained in:
@@ -21,4 +21,29 @@ Actors range in-depth
|
||||
|0x6000_0000..0x6FFF_FFFF|Rendered front (e.g. fake tile)|
|
||||
|0x7000_0000..0x7FFF_FFFF|Rendered as screen overlay, not affected by light nor environment overlays|
|
||||
|
||||
Actor IDs are assigned in 256 groups, single actor can have 256 sub-actors
|
||||
Actor IDs are assigned in 256 groups, single actor can have 256 sub-actors
|
||||
|
||||
## Prefix-ID Referencing
|
||||
|
||||
Every blocks and items have Prefix-ID Referencing scheme, which is defined as follows:
|
||||
|
||||
```<prefix>@<modname>:<integer-id>```
|
||||
|
||||
where prefix is predefined (see below), integer-id is arbitrarily chosen.
|
||||
|
||||
### Prefixes
|
||||
|Name|Description|
|
||||
|----|-----------|
|
||||
|wall|Wall|
|
||||
|wire|Wire|
|
||||
|item|Item (Static)|
|
||||
|
||||
Note: BlockCodex and ItemCodex will not store prefix part of the ID, as blocks and walls are identical in properties
|
||||
|
||||
### Predefined Modname
|
||||
|
||||
|Name|Description|
|
||||
|----|-----------|
|
||||
|dyn|Dynamic Item|
|
||||
|actor|Actor As an Item|
|
||||
|virt|Virtual Tile Number|
|
||||
|
||||
Reference in New Issue
Block a user