setblock ~ ~-1 ~ sand
execute if predicate kiwi2:chance_random_50 run setblock ~1 ~-1 ~0 red_sand
execute if predicate kiwi2:chance_random_80 run setblock ~-1 ~-1 ~0 sand
execute if predicate kiwi2:chance_random_30 run setblock ~0 ~-1 ~1 sand
execute if predicate kiwi2:chance_random_40 run setblock ~0 ~-1 ~-1 sand

execute if predicate kiwi2:chance_random_70 run setblock ~2 ~-1 ~1 red_sand
execute if predicate kiwi2:chance_random_80 run setblock ~-2 ~-1 ~-1 sand
execute if predicate kiwi2:chance_random_30 run setblock ~1 ~-1 ~2 sand
execute if predicate kiwi2:chance_random_50 run setblock ~-1 ~-1 ~-2 sandstone
execute if predicate kiwi2:chance_random_80 run setblock ~2 ~-1 ~-2 sand
execute if predicate kiwi2:chance_random_60 run setblock ~-2 ~-1 ~2 sand

execute if predicate kiwi2:chance_random_80 run setblock ~3 ~-1 ~0 red_sand
execute if predicate kiwi2:chance_random_20 run setblock ~-3 ~-1 ~1 sand
execute if predicate kiwi2:chance_random_80 run setblock ~0 ~-1 ~3 sand
execute if predicate kiwi2:chance_random_70 run setblock ~1 ~-1 ~-3 red_sand
execute if predicate kiwi2:chance_random_60 run setblock ~2 ~-1 ~3 sand
execute if predicate kiwi2:chance_random_80 run setblock ~-2 ~-1 ~-3 sand

execute if predicate kiwi2:chance_random_50 run setblock ~2 ~-1 ~2 sand
execute if predicate kiwi2:chance_random_30 run setblock ~-2 ~-1 ~-2 sand
execute if predicate kiwi2:chance_random_80 run setblock ~3 ~-1 ~3 sand
execute if predicate kiwi2:chance_random_80 run setblock ~-3 ~-1 ~-3 sand

execute if predicate kiwi2:chance_random_40 run setblock ~1 ~-1 ~1 sand
execute if predicate kiwi2:chance_random_70 run setblock ~-1 ~-1 ~-1 sand
execute if predicate kiwi2:chance_random_50 run setblock ~2 ~-1 ~0 sand
execute if predicate kiwi2:chance_random_50 run setblock ~0 ~-1 ~-2 sand
execute if predicate kiwi2:chance_random_70 run setblock ~-1 ~-1 ~1 sand
execute if predicate kiwi2:chance_random_50 run setblock ~1 ~-1 ~-1 sand
execute if predicate kiwi2:chance_random_20 run setblock ~2 ~-1 ~1 sand
execute if predicate kiwi2:chance_random_10 run setblock ~1 ~-1 ~-2 sand

execute if predicate kiwi2:chance_random_20 run setblock ~1 ~ ~1 red_sand
execute if predicate kiwi2:chance_random_50 run setblock ~-1 ~ ~-1 red_sand

execute if predicate kiwi2:chance_random_80 run setblock ~0 ~-1 ~0 red_sand
execute if predicate kiwi2:chance_random_40 run setblock ~1 ~-1 ~-1 red_sand
execute if predicate kiwi2:chance_random_30 run setblock ~-1 ~-1 ~2 red_sand

execute if predicate kiwi2:chance_random_20 run setblock ~2 ~-1 ~2 red_sand
execute if predicate kiwi2:chance_random_20 run setblock ~-2 ~-1 ~-2 red_sand

execute store result score world StructureRoll run random value 1..18
execute if score world StructureRoll matches 1 run place template fossil/spine_1 ~ ~-1 ~
execute if score world StructureRoll matches 2 run place template fossil/spine_1 ~ ~-2 ~
execute if score world StructureRoll matches 3 run place template fossil/spine_1 ~ ~-3 ~
execute if score world StructureRoll matches 4 run place template fossil/spine_1 ~ ~-1 ~ clockwise_90
execute if score world StructureRoll matches 5 run place template fossil/spine_1 ~ ~-2 ~ clockwise_90
execute if score world StructureRoll matches 6 run place template fossil/spine_1 ~ ~-3 ~ clockwise_90
execute if score world StructureRoll matches 7 run place template fossil/spine_1 ~ ~-1 ~ counterclockwise_90
execute if score world StructureRoll matches 8 run place template fossil/spine_1 ~ ~-2 ~ counterclockwise_90
execute if score world StructureRoll matches 9 run place template fossil/spine_1 ~ ~-3 ~ counterclockwise_90
execute if score world StructureRoll matches 10 run place template fossil/spine_1 ~ ~-1 ~ none none 0.8
execute if score world StructureRoll matches 11 run place template fossil/spine_1 ~ ~-2 ~ none none 0.8
execute if score world StructureRoll matches 12 run place template fossil/spine_1 ~ ~-3 ~ none none 0.8
execute if score world StructureRoll matches 13 run place template fossil/spine_1 ~ ~-1 ~ clockwise_90 none 0.8
execute if score world StructureRoll matches 14 run place template fossil/spine_1 ~ ~-2 ~ clockwise_90 none 0.8
execute if score world StructureRoll matches 15 run place template fossil/spine_1 ~ ~-3 ~ clockwise_90 none 0.8
execute if score world StructureRoll matches 16 run place template fossil/spine_1 ~ ~-1 ~ counterclockwise_90 none 0.8
execute if score world StructureRoll matches 17 run place template fossil/spine_1 ~ ~-2 ~ counterclockwise_90 none 0.8
execute if score world StructureRoll matches 18 run place template fossil/spine_1 ~ ~-3 ~ counterclockwise_90 none 0.8


tag @s add desert_platform_marker_placed