… | |
… | |
2395 | load_resource_file sprintf "%s/%s/regions", cf::datadir, cf::mapdir |
2395 | load_resource_file sprintf "%s/%s/regions", cf::datadir, cf::mapdir |
2396 | or die "unable to load regions file\n"; |
2396 | or die "unable to load regions file\n"; |
2397 | } |
2397 | } |
2398 | |
2398 | |
2399 | sub reload_archetypes { |
2399 | sub reload_archetypes { |
2400 | load_archetype_file sprintf "%s/archetypes", cf::datadir |
2400 | load_resource_file sprintf "%s/archetypes", cf::datadir |
2401 | or die "unable to load archetypes\n"; |
2401 | or die "unable to load archetypes\n"; |
2402 | } |
2402 | } |
2403 | |
2403 | |
2404 | sub reload_treasures { |
2404 | sub reload_treasures { |
2405 | load_resource_file sprintf "%s/treasures", cf::datadir |
2405 | load_resource_file sprintf "%s/treasures", cf::datadir |