def main(): clear_area.wipe_all(x = 65, y = 63, z = -71, w = 80, h = 15, d = 49) # TOK clear bottom left corner # TO TEST SAME SIZE WALLS # castle_maker.make_castle_walls(67,63,-67,30,4,34, 6) # big wall # castle_maker.gate(x=78, y=63, z=-68, width=8, height=8, length=8) castle_maker.fill_area(70,62,-77,110,62,-34, 'minecraft:grass') # really tiny castle castle_maker.make_castle_walls(70,63,-67,34,4,32, 2) # outer wall castle_maker.gate(x=81, y=63, z=-68, width=3, height=6, length=4) castle_maker.tower_building(x=78, y=62, z=-55, width=11, height=5, length=10, butt_height=0) castle_maker.make_castle_walls(78,67,-55,10,1,9, 0) # top parapet
def do_walls(): # make outer walls (make a BIG square, a smaller square, then wipe the corners to match castle_maker.make_castle_walls(30,63,30,120,4,90, 6) # TOK massive outer wall castle_maker.make_castle_walls(70,63,30,40,4,20, 6) # TOK gate inset wall castle_maker.make_castle_walls(30,63,74,20,4,46, 6) # TOK lower left inset wall castle_maker.make_castle_walls(130,63,74,20,4,46, 6) # TOK lower right inset wall clear_area.wipe_all(x = 30, y = 63, z = 81, w = 10, h = 7, d = 49) # TOK clear bottom left corner clear_area.wipe_all(x = 137, y = 63, z = 81, w = 13, h = 7, d = 49) # clear bottom right corner clear_area.wipe_all(x = 77, y = 63, z = 30, w = 26, h = 7, d = 8) # clear front gate inset castle_maker.gate(x=86, y=63, z=43, width=8, height=8, length=8) # undercut on outer wall perimeter to stop spiders - may not need this soon TOD - remove SOME of this , NOT INTENTS """
def do_castle(): # main building- - multi layers castle_maker.tower_building(x=71, y=63, z=76, width=38, height=11, length=30, butt_height=7) castle_maker.make_castle_walls(70, 70,75, 40, 1,32, 0) # TOK castle_maker.tower_building(x=71, y=74, z=76, width=38, height=12, length=30, butt_height=6) castle_maker.make_castle_walls(70, 80,75, 40, 1,32, 0) # TOK castle_maker.tower_building(x=71, y=86, z=76, width=38, height=24, length=30, butt_height=12) castle_maker.make_castle_walls(70, 98,75, 40, 1,32, 0) # TOK castle_maker.tower_building(x=81, y=110, z=78, width=16, height=18, length=14, butt_height=2) # front tower on top of main castle_maker.tower_building(x=73, y=110, z=93, width=10, height=22, length=10, butt_height=0) # back right tower on top of main castle_maker.tower_building(x=97, y=110, z=93, width=10, height=22, length=10, butt_height=0) # back left tower on top of main # merge 1st and 2nd floors castle_maker.fill_area(73,70,78,106,70,103, 'minecraft:air') # merge 2nd and 3rd floors castle_maker.fill_area(73,80,78,106,80,103, 'minecraft:air') # floor castle_maker.fill_area(72,63,77,109,63,105, 'minecraft:stone 4') # floor lighting (and roof of above floor using glowstones) castle_maker.tile_block(74, 63, 78, 106, 105, 5, 'minecraft:glowstone 0') castle_maker.tile_block(74, 74, 78, 106, 103, 5, 'minecraft:glowstone 0') castle_maker.tile_block(74, 86, 78, 106, 103, 5, 'minecraft:glowstone 0') castle_maker.tile_block(74, 98, 78, 106, 103, 5, 'minecraft:glowstone 0') castle_maker.tile_block(74, 110, 78, 106, 103, 5, 'minecraft:glowstone 0') castle_maker.main_door(x=90, y=63, z=75) # coords for door are bottom centre - ornate stuff built out from there castle_maker.stairs_NS(x=88, z=87, width=4, y_base=64, y_top=75, step='minecraft:quartz_stairs 2', bannister='minecraft:quartz_block 2', step_spacing=1) # 2nd floor castle_maker.stairs_NS(x=74, z=90, width=2, y_base=75, y_top=87, step='minecraft:stone 4', bannister='minecraft:stone 4', step_spacing=1) castle_maker.stairs_NS(x=101, z=90, width=2, y_base=75, y_top=87, step='minecraft:stone 4', bannister='minecraft:stone 4', step_spacing=1) # 3rd floor 90,86,90 --> 98 castle_maker.stairs_NS(x=90, z=85, width=2, y_base=87, y_top=99, step='minecraft:quartz_stairs 2', bannister='minecraft:quartz_block 2', step_spacing=1) # 4th floor - 90 90 (y=98 -> 110 castle_maker.stairs_NS(x=90, z=85, width=2, y_base=99, y_top=111, step='minecraft:quartz_stairs 2', bannister='minecraft:quartz_block 2', step_spacing=1)
def do_towers(): castle_maker.make_castle_walls(35, 63,35,14,9,10, 3) # top left tower castle_maker.tower_building( 37, 72,37,10,25,9, 0) # top left tower castle_maker.make_castle_walls(37, 96,37, 9, 2,8, 0) castle_maker.make_castle_walls(130,63,35,14,9,10, 2) # top right tower castle_maker.tower_building( 132, 72,37,10,25,9, 0) # top right tower castle_maker.make_castle_walls(132, 96,37, 9, 2,8, 0) #castle_maker.make_castle_walls(50, 63,108,14,9, 10, 3) # bottom left tower castle_maker.tower_building( 50, 63,106,9,34,9, 0) # bottom left tower castle_maker.make_castle_walls(50, 96,106,8,2, 8, 0) # bottom left tower #castle_maker.make_castle_walls(124,63,108,14,9,6, 3) # bottom right tower castle_maker.tower_building( 122,63,106,9,34,9, 0) # bottom left tower castle_maker.make_castle_walls(122,96,106,8,2,8, 0) # bottom right tower