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

noblacklist ${HOME}/.config/cataclysm-bn
noblacklist ${HOME}/.local/share/cataclysm-bn
mkdir ${HOME}/.config/cataclysm-bn
mkdir ${HOME}/.local/share/cataclysm-bn
mkdir ${HOME}/.local/share/cataclysm-bn/font
mkdir ${HOME}/.local/share/cataclysm-bn/gfx
mkdir ${HOME}/.local/share/cataclysm-bn/mods
mkdir ${HOME}/.local/share/cataclysm-bn/save
mkdir ${HOME}/.local/share/cataclysm-bn/sound
mkdir ${HOME}/.local/share/cataclysm-bn/templates
whitelist ${HOME}/.config/cataclysm-bn
# cataclysm needs write access to the local share folder
# or it will crash citing lack of write access and/or no free space
whitelist ${HOME}/.local/share/cataclysm-bn
read-only ${HOME}/.local/share/cataclysm-bn/font
read-only ${HOME}/.local/share/cataclysm-bn/gfx
read-only ${HOME}/.local/share/cataclysm-bn/mods
read-only ${HOME}/.local/share/cataclysm-bn/sound

seccomp !name_to_handle_at

private-bin cataclysm-bn,cataclysm-bn-tiles

ignore memory-deny-write-execute

include generic-game.inc