// this script was compiled with wurst 1.8.1.0-jenkins-Wurst-1366 globals real vec_plus_return_x=0. real vec_plus_return_y=0. endglobals native testSuccess takes nothing returns nothing function initGlobals takes nothing returns nothing endfunction function vec_plus takes real this_x, real this_y, real this_z, real other_x, real other_y, real other_z returns real if this_x > 0. then set vec_plus_return_x = this_x + other_x set vec_plus_return_y = this_y + other_y return vec_plus_return_x else set vec_plus_return_x = this_x + other_x set vec_plus_return_y = this_y + other_y return vec_plus_return_x endif endfunction function main takes nothing returns nothing local real tuple_temp call initGlobals() call vec_plus(1., 2., 3., 4., 5., 6.) set tuple_temp = vec_plus_return_y if tuple_temp == 7. then call testSuccess() endif endfunction function config takes nothing returns nothing endfunction