Skip to content

Commit

Permalink
Changed variable name from "clazz" to "taxon" in :mobiles:npcs:startu…
Browse files Browse the repository at this point in the history
…pNPCCache.src.
  • Loading branch information
Admin-Yukiko committed Dec 29, 2024
1 parent d36b5ff commit 63f12c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/mobiles/npcs/startup/NPCCache.src
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Program NPC_By_Taxonomy_Cache()
var Tax_NPC_list := {}; // A temp array that holds all NPCs in a certain classification.
var NPC_keys := {}; // Holds all of the keys from npcdesc.cfg
var NPC_Ref := 0; // Used to hold a ObjRef to an NPC.
var clazz := 0; // Used to hold a reference to a datafile element.
var taxon := 0; // Used to hold a reference to a datafile element.
var temp := ""; // A temp variable to hold a string.

UnloadConfigFile(":npcs:settings");
Expand Down Expand Up @@ -49,7 +49,7 @@ Program NPC_By_Taxonomy_Cache()
endif
taxonomies.append(temp);
endforeach
clazz := NPC_Taxonomy_df.CreateElement("Taxonomies");
taxon := NPC_Taxonomy_df.CreateElement("Taxonomies");
// This is the fun part, building the datafile.
foreach thing in taxonomies
// Create the classification element in <thing>.
Expand All @@ -72,7 +72,7 @@ Program NPC_By_Taxonomy_Cache()
endif
endforeach
// Store the NPC_List in the datafile.
clazz.SetProp(thing, Tax_NPC_list);
taxon.SetProp(thing, Tax_NPC_list);
endforeach
Print("NPC datafile setup done.");
endprogram

0 comments on commit 63f12c9

Please sign in to comment.