Paste #23390: Untitled Paste

Date: 2015/12/03 15:40:57 UTC-08: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
19
20


saveinventory:
    type: task
    script:
    - choose "<server.has_file[buyshopcontents.yml].not>":
        - case "false":
        - case "true":
            - yaml create:buyshopcon.yml id:buyshopcontents
            - yaml load:buyshopcon.yml id:buyshopcontents
            - yaml id:buyshopcontents set buyshop1contents:empty
            - yaml id:buyshopcontents set buyshop2contents:empty
            - yaml id:buyshopcontents set buyshop3contents:empty
            - yaml id:buyshopcontents set buyshop4contents:empty
            - yaml id:buyshopcontents set buyshop5contents:empty
            - yaml id:buyshopcontents set buyshop6contents:empty
            - yaml id:buyshopcontents set buyshop7contents:empty
            - yaml id:buyshopcontents set buyshop8contents:empty
            - yaml id:buyshopcontents set buyshop9contents:empty
            - yaml id:buyshopcontents set buyshop10contents:empty
            - yaml savefile:buyshopcontents.yml id:buyshopcontents
            - yaml unload id:buyshopcontents