Created
February 24, 2020 18:34
-
-
Save tocklime/e8356387f2a4b2792cfe9ac22e8dab58 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
thing: | |
seq: | |
- id: first | |
type: u4 | |
- id: items | |
type: item(_index) | |
repeat: eos | |
types: | |
item: | |
params: | |
- id: i | |
type: u4 | |
seq: | |
- id: delta | |
type: u8 | |
instances: | |
base: | |
value: i > 0 ? _parent.items[i-1].true_value : _parent.first | |
true_value: | |
value: base + delta |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment