mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-07-03 22:29:07 +02:00
Distinguish grass and foliage green in block types
This commit is contained in:
parent
60bff1fb34
commit
4ffa28dd63
6 changed files with 622 additions and 619 deletions
|
@ -15,12 +15,13 @@ output = {}
|
|||
|
||||
with open(sys.argv[2], 'w') as f:
|
||||
for name, info in colors.items():
|
||||
print('{"%s", {%s, %s, %s, {%u, %u, %u}}},' % (
|
||||
print('{"%s", {%s, %s, %s, %s, {%u, %u, %u}}},' % (
|
||||
name,
|
||||
['false', 'true'][info['opaque']],
|
||||
['false', 'true'][info['green']],
|
||||
['false', 'true'][info['grass']],
|
||||
['false', 'true'][info['foliage']],
|
||||
['false', 'true'][info['blue']],
|
||||
info['color']['r'],
|
||||
info['color']['g'],
|
||||
info['color']['b'],
|
||||
), file=f)
|
||||
), file=f)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue