mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-07 12:21:52 +09:00
new ID for dynamic item work flawlessly with adding multiple at once
This commit is contained in:
@@ -4,9 +4,9 @@
|
||||
|4096..8191|Walls|
|
||||
|8192..8447|Wires|
|
||||
|8448..32767|Items (static)|
|
||||
|32768..1048575|Items (dynamic\*)|
|
||||
|1048576..0x7FFF_FFFF|Actors|
|
||||
|0x8000_0000..0xFFFF_FFFF (all negative numbers)|Faction|
|
||||
|32768..0x0FFF_FFFF|Items (dynamic\*)|
|
||||
|0x1000_0000..0x7FFF_FFFF|Actors|
|
||||
|-2147483648..-1 (all negative numbers)|Faction|
|
||||
|
||||
* dynamic items can have their own properties that will persist through savegame.
|
||||
|
||||
@@ -14,7 +14,7 @@ Actors range in-depth
|
||||
|
||||
|Range|Description|
|
||||
|-----|-----------|
|
||||
|1048576..0x0FFF_FFFF|Rendered behind (e.g. tapestries)
|
||||
|0x1000_0000..0x5FFF_FFFF|Regular actors (e.g. almost all of them)
|
||||
|0x1000_0000..0x1FFF_FFFF|Rendered behind (e.g. tapestries)
|
||||
|0x2000_0000..0x5FFF_FFFF|Regular actors (e.g. almost all of them)
|
||||
|0x6000_0000..0x6FFF_FFFF|Special (e.g. weapon swung, bullets, dropped item, particles)
|
||||
|0x7000_0000..0x7FFF_FFFF|Rendered front (e.g. fake tile)
|
||||
Reference in New Issue
Block a user