flip buildings along the x axis so that they appear the way they where built
This commit is contained in:
parent
140dbe9a26
commit
d591af978d
@ -177,8 +177,8 @@ print('FILE SIZE: '..tostring( string.len( data_string ))); -- TODO
|
|||||||
for z =1,size.z do
|
for z =1,size.z do
|
||||||
local new_node = handle_schematics.findMC2MTConversion(
|
local new_node = handle_schematics.findMC2MTConversion(
|
||||||
-- (Y×length + Z)×width + X.
|
-- (Y×length + Z)×width + X.
|
||||||
mc_schematic_data.Blocks[ ((y-1)*size.z + (z-1) )*size.x + (x-1) +1],
|
mc_schematic_data.Blocks[ ((y-1)*size.z + (z-1) )*size.x + (size.x-x) +1],
|
||||||
mc_schematic_data.Data[ ((y-1)*size.z + (z-1) )*size.x + (x-1) +1] );
|
mc_schematic_data.Data[ ((y-1)*size.z + (z-1) )*size.x + (size.x-x) +1] );
|
||||||
if( not( nodenames_id[ new_node[1]] )) then
|
if( not( nodenames_id[ new_node[1]] )) then
|
||||||
nodenames_id[ new_node[1] ] = #nodenames + 1;
|
nodenames_id[ new_node[1] ] = #nodenames + 1;
|
||||||
nodenames[ nodenames_id[ new_node[1] ]] = new_node[1];
|
nodenames[ nodenames_id[ new_node[1] ]] = new_node[1];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user