… | |
… | |
2388 | |
2388 | |
2389 | our $archetypes_loaded; |
2389 | our $archetypes_loaded; |
2390 | |
2390 | |
2391 | sub load_archetypes { |
2391 | sub load_archetypes { |
2392 | return 1 if $archetypes_loaded++; # current can only load them once |
2392 | return 1 if $archetypes_loaded++; # current can only load them once |
|
|
2393 | # load_archetype_file sprintf "%s/archetypes", cf::datadir; |
2393 | load_archetype_file sprintf "%s/archetypes", cf::datadir |
2394 | load_archetype_file sprintf "%s/archetypes", cf::datadir |
2394 | } |
2395 | } |
2395 | |
2396 | |
2396 | sub load_treasures { |
2397 | sub load_treasures { |
2397 | load_treasure_file sprintf "%s/treasures", cf::datadir |
2398 | load_treasure_file sprintf "%s/treasures", cf::datadir |