1:lot->Assign(height,rand(30,70)) Assign(manilla,rand(0,1)) Size(50,height,50) {newlot} Translate(10,height,10) Size(30,20,30) {newlottop} 2:newlottop->Comp(sidefaces) {nltsf} 3:nltsf->Repeat(Y,10) {nltsf_floor} 4:nltsf_floor->Repeat(X,10) {nltsf_tile} 5:nltsf_tile->Subdiv(Y,1^,4^,1^) {wall | nltsf_win_t | wall} 6:nltsf_win_t->Subdiv(X,1^,4^,1^) {wall | nltsf_win | wall} 7:nltsf_win->Texture(officewindow.bmp) 8:wall->Texture(circuits.jpg) 8:newlot->Subdiv(Y,3^,5^) {bottom_floor | top_floor} 9:bottom_floor->Comp(sidefaces) {bottom_faces} 10:bottom_faces->Subdiv(Y,1^,1) {bottom | offshoot_t} 11:offshoot_t->Size(1^,1^,1) {offshoot_f} 12:bottom:rand(0,1) > 0.5->Size(1^,1^,20) {extension} 13:top_floor->Repeat(Y,10) {top_floors} 14:top_floors->Comp(sidefaces) {top_floor_sf} 15:top_floor_sf->Subdiv(Y,1^,1) {section | offshoot_t} 16:section->Repeat(X,10) {nltsf_tile} 17:extension->Subdiv(X,1^,1^,1^) {wall_m | door | wall_m} [ Translate(0,0,Scope.sz) Size(2,2^,2) {pillar} ] [ Translate(Scope.sx-2,0,Scope.sz) Size(2,2^,2) {pillar} ] 18:door->Comp(sidefaces) {door_faces} 19:door_faces->Translate(0,0,~1) Texture(officedoor.bmp) end