Paste #4926: Untitled Paste

Date: 2014/05/30 19:37:12 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18


animationcreation:
  type: world
  events:
    on create command:
    - yaml create id:<player.flag[create]>
    - yaml write:<player.flag[create]>.type value:task id:<player.flag[create]>
    - give i@creation_helper_tool
    on player right clicks with i@creation_helper_tool:
    - yaml id:<player.flag[create]> set "<player.flag[create]>.script:->:modifyblock <context.location> <context.location.material>"
    on player drops i@creation_helper_tool:
    - yaml savefile:<player.flag[create]>.yml id:<player.flag[create]>



creation_helper_tool:
  type: item
  material: m@iron_hoe
  display name: reaping_tool