Date: 2018/09/25 12:07:33 UTC-07:00
Type: Denizen Script
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>"