# This file is overwritten after every install/update
# Persistent local customizations
include daggerfall-unity.local
# Persistent global definitions
include globals.local

noblacklist ${HOME}/.config/unity3d/Daggerfall Workshop
noblacklist ${HOME}/.config/unity3d/Daggerfall Workshop/Daggerfall Unity

mkdir ${HOME}/.config/unity3d/Daggerfall Workshop
mkdir ${HOME}/.config/unity3d/Daggerfall Workshop/Daggerfall Unity
whitelist ${HOME}/.config/unity3d/Daggerfall Workshop/Daggerfall Unity

# Daggerfall Unity needs write access to the arena2 folder
# or npc faces will not appear in dialogue
whitelist-ro ${HOME}/games/Daggerfall-Unity
read-write ${HOME}/games/Daggerfall-Unity/ES2-DAGGERFALL/arena2

# noinput breaks controller support
#ignore noinput

include generic-unity-game.inc