Paste #50027: Edit of P#50025 - Untitled Paste

Date: 2018/09/25 12:07:33 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


default_display: "Default Hologram for <&b><c.this.name><&f>. Edit in the database.yml file."
    create:
      - define hologramLocation "<c.value>"
      - define holograms "<custom@holograms>"
      - define filePath "<def[holograms].database_file_path>"
      - define fileID "<def[holograms].database_file_id>"
      - yaml set "id:<def[fileID]>" "<c.this.name>.location:<def[hologramLocation]>"
      - yaml set "id:<def[fileID]>" "<c.this.name>.entries:|:<script.yaml_key[default_display]>"
      - yaml "savefile:<def[filePath]>" "id:<def[fileID]>"
      - adjust "<c.this>" "spawn:true"
      - determine "<c.this>"