<quest name="Falling on hard times">
  <!-- Quest content from editor goes here -->
  <level>{"counts":{"birds":0,"blocks":38,"joints":0},"slingshotY":-18.5,"name":null,"camera":[{"left":-4,"scale":0.6,"id":"SLINGSHOT","y":-15,"right":61.75,"x":28.875,"bottom":10,"top":-40},{"left":43,"scale":0.6,"id":"CASTLE","y":-15,"right":80.5,"x":61.75,"bottom":10,"top":-40}],"slingshotX":0,"scoreEagle":0,"world":{"block_30":{"x":45.69174556878757,"front":false,"id":"TERRAIN_TEXTURED_HILLS_5X5","uniqueID":"","y":-9.30624761520387,"angle":45},"block_27":{"x":-13.203584856812553,"front":false,"id":"TERRAIN_TEXTURED_HILLS_10X10","uniqueID":"","y":0.007854565960881132,"angle":45},"block_17":{"x":100.33938962459968,"front":false,"id":"TERRAIN_TEXTURED_HILLS_10X10","uniqueID":"","y":-1.557973387967576,"angle":22.499999999999886},"block_37":{"x":69.84013642166593,"front":false,"id":"TERRAIN_TEXTURED_HILLS_5X5","uniqueID":"","y":-0.740889716309411,"angle":22.499999999999886},"block_26":{"x":-6.960467060682732,"front":false,"id":"TERRAIN_TEXTURED_HILLS_10X10","uniqueID":"","y":-4.134993143031779,"angle":22.499999999999886},"block_12":{"x":91.09662852322548,"front":false,"id":"TERRAIN_TEXTURED_HILLS_10X10","uniqueID":"","y":-8.032020255524241,"angle":315},"block_25":{"x":0.3440746838396116,"front":false,"id":"TERRAIN_TEXTURED_HILLS_10X10","uniqueID":"","y":-5.588119604156586,"angle":0},"block_16":{"x":94.07688962459969,"front":false,"id":"TERRAIN_TEXTURED_HILLS_10X10","uniqueID":"","y":-1.8246400546342445,"angle":0},"block_11":{"x":86.93800008226725,"front":false,"id":"TERRAIN_TEXTURED_HILLS_10X10","uniqueID":"","y":-1.8290625976262789,"angle":337.49999999999994},"block_24":{"x":7.761761537736053,"front":false,"id":"TERRAIN_TEXTURED_HILLS_10X10","uniqueID":"","y":-4.1546238085083145,"angle":337.5},"block_15":{"x":98.0643896245997,"front":false,"id":"TERRAIN_TEXTURED_HILLS_5X5","uniqueID":"","y":-19.099640054634246,"angle":270},"block_10":{"x":62,"front":false,"id":"MISC_EXPLOSIVE_TNT","uniqueID":"","y":-12.5,"angle":0},"block_23":{"x":13.991396735663333,"front":false,"id":"TERRAIN_TEXTURED_HILLS_10X10","uniqueID":"","y":-0.022489417792986112,"angle":315},"block_36":{"x":51.16261205465962,"front":false,"id":"TERRAIN_TEXTURED_HILLS_5X5","uniqueID":"","y":-0.8079724879018185,"angle":22.499999999999886},"block_9":{"x":59.5,"front":false,"id":"STONE_BLOCK_4X1","uniqueID":"","y":-6,"angle":270},"block_22":{"x":104.05905983216851,"front":false,"id":"TERRAIN_TEXTURED_HILLS_5X5","uniqueID":"","y":-17.964769213629488,"angle":337.5},"block_8":{"x":64.5,"front":false,"id":"STONE_BLOCK_4X1","uniqueID":"","y":-6,"angle":270},"block_35":{"x":66.424482624535,"front":false,"id":"TERRAIN_TEXTURED_HILLS_10X10","uniqueID":"","y":0.9529858683214084,"angle":0},"block_7":{"x":68.5,"front":false,"id":"WOOD_BLOCK_4X2","uniqueID":"","y":-6,"angle":270},"block_21":{"x":103.19193238830913,"front":false,"id":"TERRAIN_TEXTURED_HILLS_5X5","uniqueID":"","y":-19.461137862829503,"angle":315},"block_6":{"x":55,"front":false,"id":"WOOD_BLOCK_4X2","uniqueID":"","y":-6,"angle":270},"block_34":{"x":57.2905628647805,"front":false,"id":"TERRAIN_TEXTURED_HILLS_10X10","uniqueID":"","y":0.9428144654708924,"angle":0},"block_5":{"x":62,"front":false,"id":"STONE_CIRCLE_4X4","uniqueID":"","y":-26.5,"angle":0},"block_20":{"x":101.80826096331536,"front":false,"id":"TERRAIN_TEXTURED_HILLS_5X5","uniqueID":"","y":-19.724098043145055,"angle":22.499999999999886},"block_4":{"x":68.5,"front":false,"id":"PIG_BASIC_MEDIUM","uniqueID":"","y":-9.5,"angle":0},"block_14":{"x":94.41022295793302,"front":false,"id":"TERRAIN_TEXTURED_HILLS_5X5","uniqueID":"","y":-18.34130672130091,"angle":292.5},"block_33":{"x":44.5,"front":false,"id":"TERRAIN_TEXTURED_HILLS_5X5","uniqueID":"","y":-10.424344470426975,"angle":45},"block_3":{"x":55,"front":false,"id":"PIG_BASIC_MEDIUM","uniqueID":"","y":-9.5,"angle":0},"block_19":{"x":100.24831433348632,"front":false,"id":"TERRAIN_TEXTURED_HILLS_10X10","uniqueID":"","y":-15.04909542314077,"angle":337.49999999999994},"block_2":{"x":64.5,"front":false,"id":"MISC_EXPLOSIVE_TNT","uniqueID":"","y":-9.5,"angle":0},"block_32":{"x":42,"front":false,"id":"TERRAIN_TEXTURED_HILLS_5X5","uniqueID":"","y":-9.514472055120237,"angle":292.5},"block_1":{"x":59.5,"front":false,"id":"MISC_EXPLOSIVE_TNT","uniqueID":"","y":-9.5,"angle":0},"block_18":{"x":98.43522295793302,"front":false,"id":"TERRAIN_TEXTURED_HILLS_10X10","uniqueID":"","y":-9.049640054634244,"angle":0},"block_13":{"x":93.86855629126636,"front":false,"id":"TERRAIN_TEXTURED_HILLS_10X10","uniqueID":"","y":-13.178806721300909,"angle":337.49999999999994},"block_31":{"x":41.5,"front":false,"id":"TERRAIN_TEXTURED_HILLS_10X10","uniqueID":"","y":-4.514472055120237,"angle":67.49999999999994},"block_28":{"x":0.9610565903352102,"front":false,"id":"TERRAIN_TEXTURED_HILLS_10X10","uniqueID":"","y":0.7525842034114447,"angle":45},"block_29":{"x":46.5,"front":false,"id":"TERRAIN_TEXTURED_HILLS_10X10","uniqueID":"","y":-3.014472055120234,"angle":292.5},"block_38":{"x":37.5,"front":false,"id":"TERRAIN_TEXTURED_HILLS_5X5","uniqueID":"","y":0.48552794487976464,"angle":0}},"scoreSilver":21674,"LevelExtension":0,"scoreGold":23640,"theme":"BACKGROUND_FB_BEACH"}</level>
  <!-- Intro effect applied to the preset structure -->
  <!-- Available types: Impulse, ... -->
  <intro>
    <start>1000</start>
    <end>4000</end>
  </intro>
  <!-- Quest steps, using functions that check object states in the canvas -->
  <!-- Available types: GhostObject, Connected, ... -->
  <step type="GhostObject">
    <description>Put the pigs and blocks back</description>
    <object>1</object>
    <object>2</object>
    <object>3</object>
    <object>4</object>
    <object>5</object>
  </step>
  <step type="Connected">
    <description>Protect the TNT with a structure</description>
    <object>3</object>
    <object>4</object>
    <object>ground</object>
  </step>
  <surprise>
    <x>58.5</x>
    <y>-31</y>
    <reward>MISC_FOOD_DONUT</reward>
  </surprise>
  <surprise>
    <x>66.5</x>
    <y>-23.5</y>
    <reward>MISC_FOOD_DONUT</reward>
  </surprise>
  <!-- Quest-based UI controls, modifying the visibility of UI elements -->
  <!-- Available states: unknown, hidden, ... -->
  <inventory>
    <category state="hidden">Static</category>
    <category state="hidden">Snow</category>
    <category state="hidden">Wear</category>
    <category state="hidden">Build</category>
    <category state="hidden">Misc</category>
  </inventory>
  <availableItems count="18">
    <item>WOOD_BLOCK_4X1</item>
    <item>WOOD_BLOCK_8X1</item>
    <item>WOOD_BLOCK_2X1</item>
    <item>WOOD_TRIANGLE_4X4</item>
    <item>WOOD_BLOCK_2X2</item>
    <item>WOOD_BLOCK_1X1</item>
    <item>ICE_BLOCK_4X1</item>
    <item>ICE_BLOCK_8X1</item>
    <item>ICE_BLOCK_2X1</item>
    <item>ICE_TRIANGLE_4X4</item>
    <item>ICE_BLOCK_2X2</item>
    <item>ICE_BLOCK_1X1</item>
    <item>STONE_BLOCK_4X1</item>
    <item>STONE_BLOCK_8X1</item>
    <item>STONE_BLOCK_2X1</item>
    <item>STONE_TRIANGLE_4X4</item>
    <item>STONE_BLOCK_2X2</item>
    <item>STONE_BLOCK_1X1</item>
    <item>MISC_FOOD_DONUT</item>
    <item>PIG_BASIC_MEDIUM</item>
    <item>BIRD_RED</item>
    <item>MISC_RUBBER_DUCK</item>
    <item>MISC_FOOD_APPLE</item>
    <item>BIRD_YELLOW</item>
  </availableItems>
</quest>