diff options
Diffstat (limited to 'npc/functions/main.txt')
-rw-r--r-- | npc/functions/main.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/npc/functions/main.txt b/npc/functions/main.txt index 9446d218b..b1777cb3d 100644 --- a/npc/functions/main.txt +++ b/npc/functions/main.txt @@ -92,6 +92,11 @@ function script mesc { return; } +function script get_race { + .@g=getarg(0, Class); + return l($@allraces$[.@g]); +} + // Function to show narrator text. Accepts string args. // If first arg is a number N, then it represents bit flags. // Bit flags : |