| Angband; port by Musus Umbra <musus@argonet.co.uk>
| (Generic !Boot 1.18+)

| Get the filetype info, name, etc.
Run <obey$dir>.!Variant

| Set the runtype, etc.
Do Set <amhd__variant>$Dir <Obey$Dir>
Do Set File$Type_<amhd__filetype> <amhd__ftname>
Do Set Alias$@RunType_<amhd__filetype> |"/<Obey$Dir> |"
IconSprites <Obey$Dir>.!Sprites

| Clean up
unset amhd__*