Skip to content

Commit

Permalink
Schematic export added new instrument blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
HielkeMaps committed Mar 2, 2019
1 parent 5bcec5d commit d19ccb3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/load_settings/load_settings.gml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ sch_exp_loop = buffer_read_byte()
sch_exp_glass = buffer_read_byte()
sch_exp_minecart = buffer_read_byte()
sch_exp_chest = buffer_read_byte()
for (a = 0; a < 14; a += 1) {
for (a = 0; a < 20; a += 1) {
sch_exp_ins_block[a] = buffer_read_byte()
sch_exp_ins_data[a] = buffer_read_byte()
}
Expand Down
6 changes: 6 additions & 0 deletions scripts/reset_schematic_export/reset_schematic_export.gml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ sch_exp_ins_block[6] = 82
sch_exp_ins_block[7] = 41
sch_exp_ins_block[8] = 174
sch_exp_ins_block[9] = 216
sch_exp_ins_block[10] = 42
sch_exp_ins_block[11] = 88
sch_exp_ins_block[12] = 86
sch_exp_ins_block[13] = 133
sch_exp_ins_block[14] = 170
sch_exp_ins_block[15] = 89

sch_exp_walkway_block = 1
sch_exp_walkway_data = 0
Expand Down
2 changes: 1 addition & 1 deletion scripts/save_settings/save_settings.gml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ buffer_write_byte(sch_exp_loop)
buffer_write_byte(sch_exp_glass)
buffer_write_byte(sch_exp_minecart)
buffer_write_byte(sch_exp_chest)
for (a = 0; a < 14; a += 1) {
for (a = 0; a < 20; a += 1) {
buffer_write_byte(sch_exp_ins_block[a])
buffer_write_byte(sch_exp_ins_data[a])
}
Expand Down
2 changes: 1 addition & 1 deletion views/0da24e0a-f71e-4abd-a5b1-b6dbf8f9af62.yy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d19ccb3

Please sign in to comment.