Ejemplo n.º 1
0
 public static function onLoadLanguage()
 {
     $dir = Shadowrun4::getShadowDir();
     self::$LANG_NPC = array();
     # flush caches too.
     self::$LANG_QUEST = array();
     self::$LANG_LOCATION = array();
     self::$LANG_HELP = new GWF_LangTrans("{$dir}lang/help/shadowhelp");
     self::$LANG_ITEM = new GWF_LangTrans("{$dir}lang/item/shadowitems");
     self::$LANG_ITEM_UUID = new GWF_LangTrans("{$dir}data/itemuuid/itemuuid");
     self::$LANG_STAT_UUID = new GWF_LangTrans("{$dir}data/statuuid/statuuid");
     self::$LANG_EQ = new GWF_LangTrans("{$dir}lang/eq/eq");
     self::$LANG_VARS = new GWF_LangTrans("{$dir}lang/vars/vars");
     self::$LANG_VARIABLES = new GWF_LangTrans("{$dir}lang/variables/variables");
 }