content
stringlengths 5
1.05M
|
---|
-- Copyright (C) 2018 Igara Studio S.A.
-- Copyright (C) 2018 David Capello
--
-- This file is released under the terms of the MIT license.
-- Read LICENSE.txt for more information.
do
local spec = ImageSpec{colorMode=ColorMode.GRAY, width=32, height=64, transparentColor=2}
assert(spec.colorMode == ColorMode.GRAY)
assert(spec.width == 32)
assert(spec.height == 64)
assert(spec.transparentColor == 2)
end
do
local sprite = Sprite(32, 64, ColorMode.INDEXED)
assert(sprite.width == 32)
assert(sprite.height == 64)
assert(sprite.colorMode == ColorMode.INDEXED)
local sprite2 = Sprite(sprite.spec)
assert(sprite2.width == 32)
assert(sprite2.height == 64)
assert(sprite2.colorMode == ColorMode.INDEXED)
local spec = sprite.spec
assert(spec.width == 32)
assert(spec.height == 64)
assert(spec.colorMode == ColorMode.INDEXED)
spec.width = 30
spec.height = 40
spec.colorMode = ColorMode.RGB
assert(spec.width == 30)
assert(spec.height == 40)
assert(spec.colorMode == ColorMode.RGB)
local image = Image(spec)
assert(image.width == 30)
assert(image.height == 40)
assert(image.colorMode == ColorMode.RGB)
print(image.spec.width, image.spec.height, image.spec.colorMode)
assert(image.spec.width == 30)
assert(image.spec.height == 40)
assert(image.spec.colorMode == ColorMode.RGB)
end
|
local argcheck = require('argcheck')
local base64 = require('base64')
local image = require('image')
local LogShowoff, Parent = torch.class('LogShowoff', {})
local function map(collection, func)
local mapped_collection = {}
for key, value in pairs(collection) do
table.insert(mapped_collection, func(value, key))
end
return mapped_collection
end
LogShowoff.__init = argcheck{
{name = 'self', type = 'LogShowoff'},
{name = 'notebook', type = 'torchoff.Notebook'},
{name = 'frames', type = 'table'},
call = function(self, notebook, frames, log)
local history = {}
for i, frame in ipairs(frames) do
if frame.type == 'graph' then
for j, key in ipairs(frame.x_data) do
history[key] = {}
end
for j, key in ipairs(frame.y_data) do
history[key] = {}
end
elseif frame.type == 'vega' then
history[frame.name] = {}
elseif frame.type == 'vegalite' then
history[frame.name] = {}
elseif frame.type == 'text' then
history[frame.name] = {}
end
frame.inst = notebook:new_frame(frame.title, frame.bounds)
end
self.notebook = notebook
self.frames = frames
self.history = history
end}
function LogShowoff:update_frame(frame, value)
local history = self.history
local log = self.log
local value = value or log:get(frame.name)
if frame.type == 'graph' then
frame.inst:graph(
map(frame.x_data, function(key) return history[key] end),
map(frame.y_data, function(key) return history[key] end),
{x_title = frame.x_title, y_title = frame.y_title, series_names = frame.series_names})
elseif frame.type == 'vega' then
if value ~= nil then
frame.inst:vega(value)
end
elseif frame.type == 'vegalite' then
if value ~= nil then
frame.inst:vegalite(value)
end
elseif frame.type == 'image' then
if value ~= nil then
local template =
'<img src=data:image/jpeg;base64,%s>'
local image_b64 = base64.encode(image.compressJPG(value, 90):char():storage():string())
frame.inst:html(string.format(template, image_b64))
end
elseif frame.type == 'progress' then
if value ~= nil then
frame.inst:progress(value, 1)
end
elseif frame.type == 'text' then
if frame.append == false then
frame.inst:text(value)
else
frame.inst:text(table.concat(history[frame.name], '\n'))
end
elseif frame.type == 'html' then
if value ~= nil then
frame.inst:html(value)
end
else
error('Unrecognised frame type: ' .. frame.type)
end
end
LogShowoff.update_frame_by_name = argcheck{
{name = 'self', type = 'LogShowoff'},
{name = 'frame_name', type = 'string'},
call = function(self, frame_name)
for i, frame in ipairs(self.frames) do
if frame.name == frame_name then
self:update_frame(frame)
end
end
end}
LogShowoff.create_set_handler = argcheck{
{name = 'self', type = 'LogShowoff'},
call = function(self)
local history = self.history
return function(log, key, value)
self.log = log
if history[key] then
table.insert(history[key], value)
end
for i, frame in ipairs(self.frames) do
if frame.autoflush and frame.name == key then
self:update_frame(frame, value)
end
end
end
end}
LogShowoff.create_flush_handler = argcheck{
{name = 'self', type = 'LogShowoff'},
call = function(self)
return function(log)
self.log = log
for i, frame in ipairs(self.frames) do
if not frame.autoflush then
self:update_frame(frame)
end
end
end
end}
return LogShowoff
|
---------
-- The main build module that handles complete process of building standalone executable.
----
local deps_analyser = require 'luapak.deps_analyser'
local fs = require 'luapak.fs'
local log = require 'luapak.logging'
local lua_finder = require 'luapak.lua_finder'
local luarocks = require 'luapak.luarocks.init'
local pkg = require 'luapak.pkgpath'
local merger = require 'luapak.merger'
local minifier = require 'luapak.minifier'
local toolchain = require 'luapak.build.toolchain.init'
local utils = require 'luapak.utils'
local wrapper = require 'luapak.wrapper'
local absolute_path = fs.absolute_path
local basename = fs.basename
local check_args = utils.check_args
local concat = table.concat
local dirname = fs.dirname
local insert = table.insert
local is_dir = fs.is_dir
local is_file = fs.is_file
local ends_with = utils.ends_with
local errorf = utils.errorf
local find_incdir = lua_finder.find_incdir
local find_liblua = lua_finder.find_liblua
local luah_version = lua_finder.luah_version
local fmt = string.format
local last = utils.last
local push = table.insert
local read_file = fs.read_file
local remove_shebang = utils.remove_shebang
local size = utils.size
local split = utils.split
local unpack = table.unpack
--- Returns path and name of **single** CLI script specified in the rockspec.
-- Or returns nil if:
--
-- 1. the rockspec is unreadable,
-- 2. there's no script defined in `build.install.bin`,
-- 3. there's more than one script in `build.install.bin`.
--
-- @tparam string rockspec_file Path of the rockspec file.
-- @treturn[1] string Path of the script file relative to the project's dir.
-- @treturn[1] string Target name of the script.
-- @treturn[2] nil
-- @treturn[2] string An error message.
local function default_entry_script (rockspec_file)
local rockspec, err = luarocks.load_rockspec(rockspec_file)
if not rockspec then
return nil, err
end
local exists, scripts = pcall(function ()
return rockspec.build.install.bin
end)
if not exists or not next(scripts) then
return nil, 'No bin script specified in the rockspec'
elseif size(scripts) > 1 then
return nil, 'More than one CLI script specified in the rockspec'
else
local name, file = next(scripts)
if type(name) ~= 'string' then
name = basename(file)
end
return file, name
end
end
--- Guesses project's base directory from the rockspec path.
--
-- @tparam string rockspec_file Path of the rockspec file.
-- @treturn string Absolute path of the project's directory.
local function rockspec_project_dir (rockspec_file)
local rockspec_dir = dirname(absolute_path(rockspec_file))
if basename(rockspec_dir):find('^rockspecs?$') then
return dirname(rockspec_dir)
else
return rockspec_dir
end
end
--- Resolves project paths from the CLI arguments.
--
-- @tparam {string,...} proj_paths
-- @treturn {{string,string},...} A list of pairs: path of the project's base
-- directory, absolute path of the rockspec.
-- @raise if rockspec is not specified or there is no unambiguous rockspec in
-- the project's directory.
local function resolve_proj_paths (proj_paths)
local list = {}
for _, path in ipairs(proj_paths) do
if path:find(':') then
local proj_dir, rockspec_file = unpack(split('%:', path))
push(list, { proj_dir, absolute_path(rockspec_file, proj_dir) })
elseif ends_with('.rockspec', path) then
push(list, { rockspec_project_dir(path), absolute_path(path) })
else
local rockspec_file = assert(luarocks.find_default_rockspec(path),
fmt('No unambiguous rockspec found in %s, specify the rockspec to use', path))
push(list, { path, rockspec_file })
end
end
return list
end
--- Resolves the entry script's dependencies, logs results
-- and returns lists of modules and objects.
--
-- @tparam string entry_script Path of the the Lua script.
-- @tparam ?{string,...} extra_modules Paths of additional Lua scripts to scan.
-- @tparam ?{string,...} excludes Module(s) to exclude from the analysis; one or more
-- glob patterns matching module name in dot notation (e.g. `"pl.*"`).
-- @tparam ?string pkg_path The path where to look for modules (see `package.searchpath`).
-- @treturn {table,...} A list of module entries.
-- @treturn {string,...} A list of paths of the object files (native extensions).
-- @raise is some error accured.
local function resolve_dependencies (entry_script, extra_modules, excludes, pkg_path)
local entry_points = { entry_script, unpack(extra_modules or {}) }
local lib_ext = luarocks.cfg.lib_extension
local lmods = {}
local cmod_names = {}
local cmod_paths = {}
local found, missing, ignored, errors =
deps_analyser.analyse_with_filter(entry_points, pkg_path, excludes)
if #errors > 0 then
error(concat(errors, '\n'))
end
if log.is_warn and #missing > 0 then
log.warn('The following modules are required, but not found:\n %s',
concat(missing, '\n '))
end
if log.is_debug and #ignored > 0 then
log.debug('The following modules have been excluded:\n %s',
concat(ignored, '\n '))
end
log.debug('Found required modules:')
for name, path in pairs(found) do
log.debug(' %s (%s)', name, path)
if ends_with('.lua', path) then
lmods[name] = path
elseif ends_with('.'..lib_ext, path) then
push(cmod_names, name)
push(cmod_paths, path)
else
log.warn('Skipping module with unexpected file extension: %s', path)
end
end
log.debug('')
return lmods, cmod_names, cmod_paths
end
local function init_minifier (opts)
local min_opts = opts.debug
and { keep_lno = true, keep_names = true }
or {}
local minify = minifier(min_opts)
return function (chunk, name)
local minified, err = minify(chunk, name)
if err then
log.warn(err)
end
return minified or chunk
end
end
local function generate_wrapper (output_file, entry_script, lua_modules, native_modules, opts)
local file = assert(io.open(output_file, 'w'))
local buff = {}
merger.merge_modules(lua_modules, opts.debug, function (data)
push(buff, data)
end)
push(buff, remove_shebang(entry_script))
wrapper.generate(concat(buff), native_modules, opts, function (...)
assert(file:write(...))
end)
assert(file:flush())
file:close()
end
local function build (proj_paths, entry_script, output_file, pkg_path, lua_lib, opts)
local main_src = output_file:gsub('.exe$', '')..'.c'
local main_obj = main_src:gsub('c$', '')..luarocks.cfg.obj_extension
for _, item in ipairs(proj_paths) do
local proj_dir, rockspec_file = unpack(item)
log.info('Building %s (%s)', rockspec_file, proj_dir)
local ok, err = luarocks.build_and_install_rockspec(rockspec_file, proj_dir)
if not ok then
errorf('Failed to build %s: %s', rockspec_file, err)
end
end
log.info('Resolving dependencies...')
local lua_modules, native_modules, objects = resolve_dependencies(
entry_script, opts.extra_modules, opts.exclude_modules, pkg_path)
insert(objects, 1, main_obj)
push(objects, lua_lib)
local minify
if opts.minify then
log.info('Loading and minifying Lua modules...')
minify = init_minifier(opts)
else
log.info('Loading Lua modules...')
minify = function (...) return ... end
end
entry_script = minify(assert(read_file(entry_script)))
for name, path in pairs(lua_modules) do
lua_modules[name] = minify(assert(read_file(path)))
end
log.info('Generating %s...', main_src)
generate_wrapper(main_src, entry_script, lua_modules, native_modules, opts)
luarocks.set_variable('CFLAGS', '-std=c99 '..luarocks.get_variable('CFLAGS'))
local vars = luarocks.cfg.variables
log.info('Compiling %s...', main_obj)
assert(toolchain.compile_object(vars, main_obj, main_src), 'Failed to compile '..main_obj)
log.info('Linking %s...', output_file)
assert(toolchain.link_binary(vars, output_file, objects, { 'm' }), -- "m" is math library
'Failed to link '..output_file)
if not opts.debug then
assert(toolchain.strip(vars, output_file), 'Failed to strip '..output_file)
end
log.info('Build completed: %s', output_file)
os.remove(main_src)
os.remove(main_obj)
end
--- Makes a standalone executable from the Lua project(s).
--
-- @function __call
-- @tparam {string,...} proj_paths
-- @tparam ?string entry_script Path of the main Lua script.
-- @tparam ?string output_file Name of the output binary.
-- @tparam ?string rocks_dir Directory where to install required modules.
-- @tparam ?table opts Options.
-- @raise if some error occurred.
return function (proj_paths, entry_script, output_file, rocks_dir, opts)
check_args('table, ?string, ?string, ?string, ?table',
proj_paths, entry_script, output_file, rocks_dir, opts)
proj_paths = resolve_proj_paths(proj_paths)
rocks_dir = rocks_dir or '.luapak'
opts = opts or {}
local lua_lib = opts.lua_lib
local lua_incdir = opts.lua_incdir
local lua_name = opts.lua_impl == 'luajit' and 'LuaJIT' or 'Lua'
local lua_ver = opts.lua_version
luarocks.set_link_static(true)
luarocks.use_tree(rocks_dir)
if not entry_script then
local proj_dir, rockspec = unpack(last(proj_paths))
local file, name = default_entry_script(rockspec)
if not file then
errorf('%s, please specify entry_script', name)
end
entry_script = proj_dir..'/'..file
output_file = 'dist/'..name:gsub('%.lua', '')
log.debug('Using entry script: %s', entry_script)
elseif not output_file then
output_file = basename(entry_script):gsub('%.lua', '')
end
if luarocks.is_windows and not ends_with('.exe') then
output_file = output_file..'.exe'
end
if is_dir(output_file) then
errorf('Cannot create file "%s", because it is a directory', output_file)
end
if lua_incdir then
if not is_file(lua_incdir..'/lua.h') then
errorf('Cannot find lua.h in %s!', lua_incdir)
end
else
lua_incdir, lua_ver = find_incdir(lua_name:lower(), lua_ver)
if not lua_incdir then
errorf('Cannot find headers for %s %s. Please specify --lua-incdir=DIR',
lua_name, opts.lua_version or '')
end
log.debug('Using %s %s headers from: %s', lua_name, lua_ver or '', lua_incdir)
end
luarocks.set_variable('LUA_INCDIR', lua_incdir)
local luaapi_ver = assert(luah_version(lua_incdir..'/lua.h')):match('^(%d+%.%d+)')
log.debug('Detected Lua API %s', luaapi_ver)
luarocks.change_target_lua(luaapi_ver, lua_name == 'LuaJIT' and lua_ver or nil)
if not lua_lib then
lua_lib = find_liblua(luarocks.cfg.lib_extension, lua_name:lower(), lua_ver)
if not lua_lib then
errorf('Cannot find %s %s library. Please specify --lua-lib=PATH', lua_name, lua_ver)
end
log.debug('Using %s %s library: %s', lua_name, lua_ver, lua_lib)
elseif not is_file(lua_lib) then
errorf('File %s does not exist!', lua_lib)
end
luarocks.set_variable('LUA_LIBDIR', dirname(lua_lib))
luarocks.set_variable('LUALIB', basename(lua_lib))
-- Create output directory if not exists.
if not is_dir(dirname(output_file) or '.') then
assert(fs.mkdir(dirname(output_file)))
end
local pkg_path = pkg.fhs_path(rocks_dir, luaapi_ver, luarocks.cfg.lib_extension)
return build(proj_paths, entry_script, output_file, pkg_path, lua_lib, opts)
end
|
player_manager.AddValidModel( "PMC3_02", "models/player/PMC_3/PMC__02.mdl" ) list.Set( "PlayerOptionsModel", "PMC3_02", "models/player/PMC_3/PMC__02.mdl" ) |
--[[
Advanced Tiled Collider Version 0.14
Copyright (c) 2013 Minh Ngo
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
--]]
-- [Notice]:
-- This is a slightly modified version. The following functions from Version 0.22 have been added to make sure that the player does not fall through the map [MS Win]:
-- e:setActive(bool), e:setBullet(bool), e:setBullet(bool), e:isActive(), e:isBullet()
-- Also added function to draw images: e:draw().
-- You can find the latest Version 0.22 by Minh Ngo here - link: https://github.com/markandgo/AT-Collider
-- ~ Gaichu, 06. Aug. 2013
local floor = math.floor
local ceil = math.ceil
local max = math.max
local min = math.min
-----------------------------------------------------------
-- class
local e =
{
class = 'collider',
isActive = true,
isBullet = false,
}
e.__index = e
e.new = function(x,y,w,h,map,tileLayer)
local t =
{
x = x,
y = y,
w = w,
h = h,
map = map,
tileLayer = tileLayer,
}
return setmetatable(t,e)
end
-----------------------------------------------------------
local mw,mh,gx,gy
function e:getTileRange()
mw,mh = self.map.tileWidth,self.map.tileHeight
gx,gy = floor(self.x/mw),floor(self.y/mh)
gx2,gy2 = ceil( (self.x+self.w)/mw )-1,ceil( (self.y+self.h)/mh )-1
return gx,gy,gx2,gy2
end
-----------------------------------------------------------
-- collision callback, return true if tile/slope is collidable
function e:isResolvable(side,gx,gy,tile)
end
-----------------------------------------------------------
function e:rightSideResolve(gx,gy,gx2,gy2)
local mw,mh = self.map.tileWidth,self.map.tileHeight
local newx = self.x
local tx,tile = gx2
local tL = self.tileLayer
-- right sensor check
for ty = gy,gy2 do
tile = tL(tx,ty)
if tile then
-- check if tile is a slope
if tile.properties.horizontalHeightMap then
local hmap = tile.properties.horizontalHeightMap
-- use endpoints to check for collision
-- convert endpoints of side into height index
local ti = gy ~= ty and 1 or floor(self.y-ty*mh)+1
local bi = gy2 ~= ty and mh or ceil(self.y+self.h-ty*mh)
-- take the farthest position from the slope
local minx = min(self.x,(tx+1)*mw-self.w-hmap[ti],(tx+1)*mw-self.w-hmap[bi])
-- if the new position is not same as the original position
-- then we have a slope overlap
if minx ~= self.x and self:isResolvable('right',tx,ty,tile) then
newx = min(minx,newx)
end
elseif self:isResolvable('right',tx,ty,tile) then
newx = (tx*mw)-self.w
end
end
end
self.x = newx
end
-----------------------------------------------------------
function e:leftSideResolve(gx,gy,gx2,gy2)
local mw,mh = self.map.tileWidth,self.map.tileHeight
local newx = self.x
local tx,tile = gx
local tL = self.tileLayer
for ty = gy,gy2 do
tile = tL(tx,ty)
if tile then
if tile.properties.horizontalHeightMap then
local hmap = tile.properties.horizontalHeightMap
local ti = gy ~= ty and 1 or floor(self.y-ty*mh)+1
local bi = gy2 ~= ty and mh or ceil(self.y+self.h-ty*mh)
local maxx = max(self.x,tx*mw+hmap[ti],tx*mw+hmap[bi])
if maxx ~= self.x and self:isResolvable('left',tx,ty,tile) then
newx = max(maxx,newx)
end
elseif self:isResolvable('left',tx,ty,tile) then
newx = (tx+1)*mw
end
end
end
self.x = newx
end
-----------------------------------------------------------
function e:bottomSideResolve(gx,gy,gx2,gy2)
local mw,mh = self.map.tileWidth,self.map.tileHeight
local newy = self.y
local ty,tile = gy2
local tL = self.tileLayer
for tx = gx,gx2 do
tile = tL(tx,ty)
if tile then
if tile.properties.verticalHeightMap then
local hmap = tile.properties.verticalHeightMap
local li = gx ~= tx and 1 or floor(self.x-tx*mw)+1
local ri = gx2 ~= tx and mw or ceil((self.x+self.w)-tx*mw)
local miny = min(self.y,(ty+1)*mh-self.h-hmap[li],(ty+1)*mh-self.h-hmap[ri])
if miny ~= self.y and self:isResolvable('bottom',tx,ty,tile) then
newy = min(miny,newy)
end
elseif self:isResolvable('bottom',tx,ty,tile) then
newy = ty*mh-self.h
end
end
end
self.y = newy
end
-----------------------------------------------------------
function e:topSideResolve(gx,gy,gx2,gy2)
local mw,mh = self.map.tileWidth,self.map.tileHeight
local newy = self.y
local ty,tile = gy
local tL = self.tileLayer
for tx = gx,gx2 do
tile = tL(tx,ty)
if tile then
if tile.properties.verticalHeightMap then
local hmap = tile.properties.verticalHeightMap
local li = gx ~= tx and 1 or floor(self.x-tx*mw)+1
local ri = gx2 ~= tx and mw or ceil((self.x+self.w)-tx*mw)
local maxy = max(self.y,ty*mh+hmap[li],ty*mh+hmap[ri])
if maxy ~= self.y and self:isResolvable('top',tx,ty,tile) then
newy = max(maxy,newy)
end
elseif self:isResolvable('top',tx,ty,tile) then
newy = (ty+1)*mh
end
end
end
self.y = newy
end
-----------------------------------------------------------
function e:resolveX()
local oldx = self.x
local gx,gy,gx2,gy2 = self:getTileRange()
self:rightSideResolve(gx,gy,gx2,gy2)
if oldx == self.x then self:leftSideResolve(gx,gy,gx2,gy2) end
end
-----------------------------------------------------------
function e:resolveY()
local oldy = self.y
local gx,gy,gx2,gy2 = self:getTileRange()
self:bottomSideResolve(gx,gy,gx2,gy2)
if oldy == self.y then self:topSideResolve(gx,gy,gx2,gy2) end
end
-----------------------------------------------------------
-----------------------------------------------------------
function e:move(dx,dy)
if not self.isActive then self.x,self.y = self.x+dx,self.y+dy return self end
if not self.isBullet then
self.x = self.x+dx
self:resolveX()
self.y = self.y+dy
self:resolveY()
return self
end
local mw,mh = self.map.tileWidth,self.map.tileHeight
local finalx,finaly = self.x+dx,self.y+dy
local gx,gy,gx2,gy2,x,oldx,y,oldy,newx,newy,gd,least
-----------------------------------------------------------
-- x direction collision detection
gx,gy,gx2,gy2 = self:getTileRange(self.x,self.y,self.w,self.h)
local gd,least
if dx >= 0 then
least = min
gx,gx2 = gx2,ceil((self.x+self.w+dx)/mw)-1
gd = 1
elseif dx < 0 then
least = max
gx2 = floor((self.x+dx)/mw)
gd = -1
end
-- continuous collision detection by moving cell by cell
for tx = gx,gx2,gd do
if dx >= 0 then
self.x = least((tx+1)*mw-self.w,finalx)
else
self.x = least(tx*mw,finalx)
end
newx = self.x
self:resolveX()
-- if there was a collision, quit movement
if self.x ~= newx then break end
-- height correction so we can continue moving horizontally
self:resolveY()
end
-----------------------------------------------------------
-- y direction collision detection
gx,gy,gx2,gy2 = self:getTileRange(self.x,self.y,self.w,self.h)
if dy >= 0 then
least = min
gy,gy2 = gy2,ceil((self.y+self.h+dy)/mh)-1
gd = 1
elseif dy < 0 then
least = max
gy2 = floor((self.y+dy)/mh)
gd = -1
end
for ty = gy,gy2,gd do
if dy >= 0 then
self.y = least((ty+1)*mh-self.h,finaly)
else
self.y = least(ty*mh,finaly)
end
newy = self.y
self:resolveY()
if self.y ~= newy then break end
self:resolveX()
end
end
-----------------------------------------------------------
function e:moveTo(x,y)
self:move(x-self.x,y-self.y)
end
-----------------------------------------------------------
function e:setActive(bool)
self.isActive = bool
return self
end
-----------------------------------------------------------
function e:setBullet(bool)
self.isBullet = bool
return self
end
-----------------------------------------------------------
function e:isActive()
return self.isActive
end
-----------------------------------------------------------
function e:isBullet()
return self.isBullet
end
-----------------------------------------------------------
function e:draw(Drawable)
love.graphics.draw(Drawable, self.x, self.y, 0, 1, 1, 0, 0)
end
-----------------------------------------------------------
function e:drawRectangle(mode)
love.graphics.rectangle(mode,self.x,self.y,self.w,self.h)
end
-----------------------------------------------------------
return e |
--Initialization text for the 'wgl' spec header.
return [[
#ifdef __wglext_h_
#error Attempt to include auto-generated WGL header after wglext.h
#endif
#define __wglext_h_
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN 1
#endif
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include <windows.h>
#ifdef CODEGEN_FUNCPTR
#undef CODEGEN_FUNCPTR
#endif /*CODEGEN_FUNCPTR*/
#define CODEGEN_FUNCPTR WINAPI
#ifndef GL_LOAD_GEN_BASIC_OPENGL_TYPEDEFS
#define GL_LOAD_GEN_BASIC_OPENGL_TYPEDEFS
typedef unsigned int GLenum;
typedef unsigned char GLboolean;
typedef unsigned int GLbitfield;
typedef signed char GLbyte;
typedef short GLshort;
typedef int GLint;
typedef int GLsizei;
typedef unsigned char GLubyte;
typedef unsigned short GLushort;
typedef unsigned int GLuint;
typedef float GLfloat;
typedef float GLclampf;
typedef double GLdouble;
typedef double GLclampd;
#define GLvoid void
#endif /*GL_LOAD_GEN_BASIC_OPENGL_TYPEDEFS*/
]]
|
---
-- Buffered network I/O helper functions.
--
-- The functions in this module can be used for delimiting data received by the
-- <code>nmap.receive_buf</code> function in the Network I/O API (which see).
-- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html
local pcre = require "pcre"
local stdnse = require "stdnse"
_ENV = stdnse.module("match", stdnse.seeall)
--various functions for use with NSE's nsock:receive_buf - function
-- e.g.
-- sock:receive_buf(regex("myregexpattern"), true) - does a match using pcre
-- regular expressions
-- sock:receive_buf(numbytes(80), true) - is the buffered version of
-- sock:receive_bytes(80) - i.e. it
-- returns exactly 80 bytes and no more
--- Return a function that allows delimiting with a regular expression.
--
-- This function is a wrapper around <code>pcre.exec</code>. Its purpose is to
-- give script developers the ability to use regular expressions for delimiting
-- instead of Lua's string patterns.
-- @param pattern The regex.
-- @usage sock:receive_buf(match.regex("myregexpattern"), true)
-- @see nmap.receive_buf
-- @see pcre.exec
regex = function(pattern)
local r = pcre.new(pattern, 0,"C")
return function(buf)
local s,e = r:exec(buf, 0,0);
return s,e
end
end
--- Return a function that allows delimiting at a certain number of bytes.
--
-- This function can be used to get a buffered version of
-- <code>sock:receive_bytes(n)</code> in case a script requires more than one
-- fixed-size chunk, as the unbuffered version may return more bytes than
-- requested and thus would require you to do the parsing on your own.
--
-- The <code>keeppattern</code> parameter to receive_buf should be set to
-- <code>true</code>, otherwise the string returned will be 1 less than
-- <code>num</code>
-- @param num Number of bytes.
-- @usage sock:receive_buf(match.numbytes(80), true)
-- @see nmap.receive_buf
numbytes = function(num)
local n = num
return function(buf)
if(#buf >=n) then
return n, n
end
return nil
end
end
return _ENV;
|
return {
name = "test", -- Name of the Database
structdef = { -- Defines new struct members
function(name, fields)
return "" -- Return a method as Lua string
end
},
defines = "", -- Additional defines prepended to the C++ code
tables = { -- The actual table definitions
table = {
field1 = "string", -- <fieldname> = <fieldtype>
field2 = "string",
field3 = "string"
},
table2 = {
reference = "table", -- Fieldtype can be other structure in the database
field = "int"
}
}
}
|
local pg_result = require "pg.result"
local prepared_statement_reference = {}
local prepared_statement_reference_mt = {
__name = "pg prepared statement reference";
__index = prepared_statement_reference;
}
local function new_prepared_statement_reference(conn, name)
return setmetatable({
conn = assert(conn);
name = assert(name);
}, prepared_statement_reference_mt)
end
function prepared_statement_reference:exec(...)
local res = self.conn.raw_connection:execPrepared(assert(self.name, "prepared statement deallocated"), ...)
return pg_result.return_result(self.conn, res)
end
return {
new = new_prepared_statement_reference;
}
|
----------------------------------------------------------------------------------
--
-- scenetemplate.lua
--
----------------------------------------------------------------------------------
local widget = require "widget"
local composer = require( "composer" )
local scene = composer.newScene()
require "sqlite3"
---------------------------------------------------------------------------------
print( display.pixelWidth / display.actualContentWidth )
function scene:create( event )
local sceneGroup = self.view
-- Called when the scene's view does not exist.
--
-- INSERT code here to initialize the scene
-- e.g. add display objects to 'sceneGroup', add touch listeners, etc.
local sceneGroup = self.view
local function onSystemEvent( event )
if( event.type == "applicationExit" ) then
db:close()
end
end
local function onPressDomestic( event )
if event.phase == "ended" then
composer.gotoScene( "gridDomesticMenu", "slideLeft", 800 )
return true
end
end
local function onPressFarm( event )
if event.phase == "ended" then
composer.gotoScene( "gridFarmMenu", "slideLeft", 800 )
return true
end
end
local function onPressWild( event )
if event.phase == "ended" then
composer.gotoScene( "gridWildMenu", "slideLeft", 800 )
return true
end
end
local function onPressMarine( event )
if event.phase == "ended" then
composer.gotoScene( "gridMarineMenu", "slideLeft", 800 )
return true
end
end
local domesticButton = widget.newButton
{
width = display.viewableContentWidth - display.viewableContentWidth/32,
height = display.viewableContentHeight/5,
defaultFile = "categoryDom.png",
overFile = "categoryDomOff.png",
onEvent = onPressDomestic
}
domesticButton.x = display.contentCenterX
domesticButton.y = display.viewableContentHeight/8
sceneGroup:insert(domesticButton)
local farmButton = widget.newButton
{
width = display.viewableContentWidth - display.viewableContentWidth/32,
height = display.viewableContentHeight/5,
defaultFile = "categoryFarm.png",
overFile = "categoryFarmOff.png",
onEvent = onPressFarm
}
farmButton.x = display.contentCenterX
farmButton.y = display.viewableContentHeight/8 + domesticButton.y*2
sceneGroup:insert(farmButton)
local wildButton = widget.newButton
{
x = display.contentCenterX,
y = display.viewableContentHeight/8 + domesticButton.y*4,
width = display.viewableContentWidth - display.viewableContentWidth/32,
height = display.viewableContentHeight/5,
defaultFile = "categoryWildOn.png",
overFile = "categoryWildOff.png",
onEvent = onPressWild
}
sceneGroup:insert(wildButton)
local marineButton = widget.newButton
{
x = display.contentCenterX,
y = display.viewableContentHeight/8 + domesticButton.y*4,
width = display.viewableContentWidth - display.viewableContentWidth/32,
height = display.viewableContentHeight/5,
defaultFile = "categoryMarineOn.png",
overFile = "categoryMarineOff.png",
onEvent = onPressMarine
}
sceneGroup:insert(marineButton)
end
function scene:show( event )
local sceneGroup = self.view
local phase = event.phase
if phase == "will" then
composer.removeScene("splash")
--composer.removeScene( "dogPage" )
-- Called when the scene is still off screen and is about to move on screen
elseif phase == "did" then
composer.removeScene( "dogPage" )
composer.removeScene("catPage")
-- Called when the scene is now on screen
--
-- INSERT code here to make the scene come alive
-- e.g. start timers, begin animation, play audio, etc.
end
end
function scene:hide( event )
local sceneGroup = self.view
local phase = event.phase
if event.phase == "will" then
-- Called when the scene is on screen and is about to move off screen
--
-- INSERT code here to pause the scene
-- e.g. stop timers, stop animation, unload sounds, etc.)
elseif phase == "did" then
-- Called when the scene is now off screen
--local showMem = function()
--image:addEventListener( "touch", image )
--end
end
end
function scene:destroy( event )
local sceneGroup = self.view
-- Called prior to the removal of scene's "view" (sceneGroup)
--
-- INSERT code here to cleanup the scene
-- e.g. remove display objects, remove touch listeners, save state, etc.
end
---------------------------------------------------------------------------------
-- Listener setup
scene:addEventListener( "create", scene )
scene:addEventListener( "show", scene )
scene:addEventListener( "hide", scene )
scene:addEventListener( "destroy", scene )
---------------------------------------------------------------------------------
return scene |
local PLUGIN = PLUGIN
local playerMeta = FindMetaTable("Player")
|
-- =============================================================
-- Copyright Roaming Gamer, LLC. 2008-2016 (All Rights Reserved)
-- =============================================================
-- SSK PRO Loader
-- =============================================================
-- Development Notes:
-- 1. In future, add extras/particleTrail.lua w/ CBE, prism, newEmitter, ++
-- 2. Add event reflector to PRO
-- =============================================================
-- ==
-- fnn( ... ) - Return first argument from list that is not nil.
-- ... - Any number of any type of arguments.
-- ==
local function fnn( ... )
for i = 1, #arg do
local theArg = arg[i]
if(theArg ~= nil) then return theArg end
end
return nil
end
-- =============================================================
-- Configure loader
-- =============================================================
local measure = false
-- Create ssk as global (temporarily)
_G.ssk = {}
_G.ssk.__isPro = true
ssk.getVersion = function() return "2017.012" end
local initialized = false
ssk.init = function( params )
if( initialized ) then return end
params = params or
{
gameFont = native.systemFont,
measure = false, -- Print out memory usage for SSK libraries.
exportCore = true, -- Export core variables as globals
exportSystem = false,-- Export ssk system variables as globals
exportColors = true, -- Export easy colors as globals
useExternal = false, -- Use external contents (must be downloaded and installed first)
enableAutoListeners = true, -- Allow ssk.display.* functions to automatically start listeners if
-- the are passed in the build parameters
math2DPlugin = false, -- Use math2d plugin if found
debugLevel = 0, -- Some modules use this to print extra debug messages
-- Typical levels are 0, 1, 2 (where 2 is the most verbose)
}
-- Set defaults if not supplied explicitly
if( params.exportCore == nil ) then params.exportCore = true; end
if( params.exportSystem == nil ) then params.exportSystem = false; end
if( params.exportColors == nil ) then params.exportColors = true; end
if( params.enableAutoListeners == nil ) then params.enableAutoListeners = true end
if( params.useExternal == nil ) then params.useExternal = false; end
ssk.__exportCore = params.exportCore
-- Snag the debug level setting
ssk.__debugLevel = params.debugLevel or 0
--
-- Enables automatic attachment of event listeners in extended display library
--
ssk.__enableAutoListeners = params.enableAutoListeners
-- EFM custom path here
--
-- Track the font users asked for as their gameFont
--
ssk.__gameFont = params.gameFont or native.systemFont
function ssk.gameFont() return ssk.__gameFont end
-- =============================================================
-- If measuring, get replacement 'require'
-- =============================================================
local local_require = ( params.measure ) and require("ssk2.measureSSK").measure_require or _G.require
if( params.measure ) then
print(string.rep("-",74))
print( "-- Initalizing SSK")
print(string.rep("-",74))
end
-- =============================================================
-- Load SSK Lite Components
-- =============================================================
local_require( "ssk2.core" )
local_require "ssk2.extensions.display"
local_require "ssk2.extensions.io"
local_require "ssk2.extensions.math"
local_require "ssk2.extensions.native"
local_require "ssk2.extensions.string"
local_require "ssk2.extensions.table"
local_require "ssk2.extensions.timer2"
local_require "ssk2.extensions.transition"
local_require "ssk2.system"
local_require "ssk2.colors"
local_require "ssk2.display"
ssk.__math2DPlugin = params.math2DPlugin
local_require "ssk2.math2d"
local_require "ssk2.cc"
local_require "ssk2.actions.actions"
local_require "ssk2.easyIFC"
local_require "ssk2.easyInputs"
local_require "ssk2.easyCamera"
local_require "ssk2.misc"
local_require "ssk2.pex"
local_require "ssk2.dialogs.basic"
local_require "ssk2.dialogs.custom"
local_require "ssk2.factoryMgr"
local_require "ssk2.vScroller"
-- =============================================================
-- Load SSK Pro Components
-- =============================================================
if( _G.ssk.__isPro ) then
local_require "ssk2.android"
local_require "ssk2.security"
local_require "ssk2.persist"
local_require "ssk2.points"
local_require "ssk2.soundMgr"
local_require "ssk2.easySocial"
local_require "ssk2.shuffleBag"
local_require "ssk2.meters"
local_require "ssk2.files"
local_require "ssk2.tiledLoader"
local_require "ssk2.easyPositioner"
local_require "ssk2.adHelpers.adHelpers"
end
-- =============================================================
-- External Libs/Modules (Written by others and used with credit.)
-- =============================================================
if( params.useExternal ) then
--_G.ssk.autolan = {}
--_G.ssk.autolan.client = local_require( "ssk2.external.mydevelopers.autolan.Client" )
--_G.ssk.autolan.server = local_require( "ssk2.external.mydevelopers.autolan.Server" )
local_require( "ssk2.external.proxy" ) -- Adds "propertyUpdate" events to any Corona display object.; Source unknown
local_require( "ssk2.external.wait" ) -- Adapted from Steven Johnson's work (ggcrunchy) https://github.com/ggcrunchy/samples
local_require( "ssk2.external.randomlua" ) -- Various 'math.random' alternatives
local_require("ssk2.external.30log") -- http://yonaba.github.io/30log/
local_require("ssk2.external.portableRandom") -- Portable random library
local_require("ssk2.external.global_lock") -- Portable random library
local_require("ssk2.external.rle") -- Run Length Encoder
end
-- =============================================================
-- Finialize measurements and show report (if measuring enabled)
-- =============================================================
-- Meaure Final Cost of SSK (if enabled)
if( params.measure ) then require("ssk2.measureSSK").summary() end
-- =============================================================
-- Frame counter
-- =============================================================
ssk.__lfc = 0
local getTimer = system.getTimer
ssk.__lastTime = getTimer()
ssk.__deltaTime = 0
function ssk.getDT() return ssk.__deltaTime end
function ssk.getFrame() return ssk.__lfc end
ssk.enterFrame = function( self )
self.__lfc = self.__lfc + 1;
local curTime = getTimer()
ssk.__deltaTime = curTime - self.__lastTime
self.__lastTime = curTime
end; Runtime:addEventListener("enterFrame",ssk)
-- =============================================================
-- Initialize The Core
-- =============================================================
ssk.core.init( params.launchArgs or {} )
--
-- Export any Requested Features
--
if( ssk.__exportCore ) then ssk.core.export() end
if( params.exportColors ) then ssk.colors.export() end
if( params.exportSystem ) then ssk.system.export() end
-- =============================================================
-- FIN
-- =============================================================
initialized = true
end
return ssk |
--[[
Swagger Petstore
This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.
OpenAPI spec version: 1.0.0
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
]]
-- Tag class
local Tag = {}
local Tag_mt = {
__name = "Tag";
__index = Tag;
}
local function cast_Tag(t)
return setmetatable(t, Tag_mt)
end
local function new_Tag(id, name)
return cast_Tag({
["id"] = id;
["name"] = name;
})
end
return {
cast = cast_Tag;
new = new_Tag;
}
|
local string = Elona.require("string")
local inspect = Elona.require("Debug").inspect.inspect
local Theme = {}
function Theme.apply(theme_id)
local theme = data.raw["theme.theme"][theme_id]
if theme == nil then
print("No such theme " .. theme_id)
return
end
for _, trans in pairs(theme.transforms) do
for kind, targets in pairs(trans.targets) do
local data_table = data.raw[kind]
print("Table " .. inspect(targets))
for key, value in pairs(targets) do
if trans.type == "redirect" then
local item = data_table[value]
local field = item[trans.field]
local filename = string.match(field, "/([^/]*)$")
-- print("redirect: " .. key .. " " .. trans.field .. " " .. item[trans.field])
item[trans.field] = theme.root .. "/" .. trans.folder .. "/" .. filename
elseif trans.type == "mapping" then
local item = data_table[key]
item[trans.field] = theme.root .. "/" .. trans.folder .. "/" .. value
-- print("map: " .. key .. " " .. trans.field .. " " .. item[trans.field])
elseif trans.type == "remove" then
local item = data_table[value]
item[trans.field] = nil
end
end
end
end
end
return Theme
|
data:extend(
{
{
type = "technology",
name = "bigger-batteries",
icon = "__One Big Battery__/graphics/technology/bigger-batteries.png",
icon_size = 128,
effects =
{
{
type = "unlock-recipe",
recipe = "b-battery"
}
},
prerequisites = {"better-batteries"},
unit =
{
count = 300,
ingredients =
{
{"science-pack-1", 1},
{"science-pack-2", 2},
{"science-pack-3", 1},
{"alien-science-pack", 1}
},
time = 60
},
order = "c-e-b"
},
{
type = "technology",
name = "better-batteries",
icon = "__One Big Battery__/graphics/technology/better-batteries.png",
icon_size = 128,
effects =
{
{
type = "unlock-recipe",
recipe = "bb-battery"
}
},
prerequisites = {"electric-energy-accumulators-1"},
unit =
{
count = 175,
ingredients =
{
{"science-pack-1", 1},
{"science-pack-2", 1},
{"science-pack-3", 1}
},
time = 45
},
order = "c-e-b"
}
}) |
-- Main script that loads other scripts, sets some of the options automatically.
-- User should typically set the following options to start training/testing a model:
-- 'expName', 'dataset', 'split', 'stream'. See opts.lua for others.
require 'torch'
require 'cutorch'
require 'paths'
require 'xlua'
require 'optim'
require 'nn'
paths.dofile('trainplot/TrainPlotter.lua')
local opts = paths.dofile('opts.lua')
opt = opts.parse(arg)
local nChannels
if opt.stream == 'flow' then
opt.mean = 0
nChannels = 2
else
opt.coeff = 255
if opt.gray then
mult = 1
else
mult = 3
end
if opt.stream == "rgb" then
opt.mean = 96
else
opt.mean = 0
end
if opt.stream == 'edr' then
nChannels = mult * 2
else
nChannels = mult
end
end
--if(opt.stream == 'flow') then opt.mean = 0; nChannels = 2
--elseif(opt.stream == 'rgb' or opt.stream == "diff") then opt.mean = 0; nChannels = 3; opt.coeff = 255 end
--if (opt.gray and opt.stream ~= "flow") then nChannels=1 end
opt.save = paths.concat(opt.logRoot, opt.dataset, opt.expName)
opt.cache = paths.concat(opt.logRoot, opt.dataset, 'cache', opt.stream)
opt.data = paths.concat(opt.dataRoot, opt.dataset, 'splits', 'split' .. opt.split)
if (opt.stream ~= 'rgb' and opt.stream ~="diff") then
folder = "flow"
else
folder = "rgb"
end
opt.framesRoot = paths.concat(opt.dataRoot, opt.dataset,folder, 't7')
opt.forceClasses = torch.load(paths.concat(opt.dataRoot, opt.dataset, 'annot/forceClasses.t7'))
opt.loadSize = {nChannels, opt.nFrames, opt.loadHeight, opt.loadWidth}
opt.sampleSize = {nChannels, opt.nFrames, opt.sampleHeight, opt.sampleWidth}
paths.dofile(opt.LRfile)
-- Testing final predictions
if(opt.evaluate) then
opt.save = paths.concat(opt.logRoot, opt.dataset, opt.expName, 'test_' .. opt.modelNo .. '_slide' .. opt.slide)
opt.cache = paths.concat(opt.logRoot, opt.dataset, 'cache', 'test_4', opt.stream)
opt.scales = false
opt.crops10 = true
--opt.testDir = 'test_' .. opt.loadSize[2] .. '_' .. opt.slide
opt.testDir = 'test_4'
opt.retrain = paths.concat(opt.logRoot, opt.dataset, opt.expName, 'model_' .. opt.modelNo .. '.t7')
opt.finetune = 'none'
end
-- Continue training (epochNumber has to be set for this option)
if(opt.continue) then
print('Continuing from epoch ' .. opt.epochNumber)
opt.retrain = opt.save .. '/model_' .. opt.epochNumber -1 ..'.t7'
opt.finetune = 'none'
opt.optimState = opt.save .. '/optimState_'.. opt.epochNumber -1 ..'.t7'
local backupDir = opt.save .. '/delete' .. os.time()
os.execute('mkdir -p ' .. backupDir)
os.execute('cp ' .. opt.save .. '/train.log ' ..backupDir)
os.execute('cp ' .. opt.save .. '/' .. opt.testDir..'.log ' ..backupDir)
os.execute('cp ' .. opt.save .. '/plot.json ' ..backupDir)
end
os.execute('mkdir -p ' .. opt.save)
os.execute('mkdir -p ' .. opt.cache)
opt.plotter = TrainPlotter.new(paths.concat(opt.save, 'plot.json'))
opt.plotter:info({created_time=io.popen('date'):read(), tag=opt.expName})
print(opt)
print('Saving everything to: ' .. opt.save)
torch.save(paths.concat(opt.save, 'opt' .. os.time() .. '.t7'), opt)
torch.setdefaulttensortype('torch.FloatTensor')
cutorch.setDevice(opt.GPU)
torch.manualSeed(opt.manualSeed)
paths.dofile('data.lua')
paths.dofile('model.lua')
paths.dofile('test.lua')
if(not opt.evaluate) then
-- Training
paths.dofile('train.lua')
epoch = opt.epochNumber
for i=1,opt.nEpochs do
train()
test()
os.execute('scp ' .. paths.concat(opt.save, 'plot.json') .. ' ' .. paths.concat('trainplot/plot-data/', opt.dataset, opt.expName:gsub('%W','') ..'.json'))
epoch = epoch + 1
end
else
-- Testing final predictions
test()
end
|
local M = {}
M.bounds_min = vmath.vector3(-0.500100076199, -0.500100076199, -0.125001251698)
M.bounds_max = vmath.vector3(0.500100076199, 0.500100076199, 0.125000238419)
M.size = vmath.vector3(1.0002001524, 1.0002001524, 0.250001490116)
return M
|
-- Copyright (c) 2016 Thermo Fisher Scientific
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files
-- (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify,
-- merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished
-- to do so, subject to the following conditions:
--
-- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
--
-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
-- FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-- CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-- tunePage.lua
-- a gridPage with the ability to display the tune parameters
-- Load necessary libraries
local gridPage = require("gridPage")
local properties = require("properties")
local trendPage = require("trendPage")
-- Get assemblies
luanet.load_assembly("System.Drawing")
-- Get constructors
local ContextMenuStrip = luanet.import_type("System.Windows.Forms.ContextMenuStrip")
local ToolStripMenuItem = luanet.import_type("System.Windows.Forms.ToolStripMenuItem")
-- Get enumerations
local AutoSizeColumnsMode = luanet.import_type("System.Windows.Forms.DataGridViewAutoSizeColumnsMode")
local MouseButtons = luanet.import_type("System.Windows.Forms.MouseButtons")
-- local variables
local clickedItem
-- Forward declaration for local helper functions
local CellMouseEnterCB, ShowTrendCB
-- local functions
local function AddMenu(self)
local menu = ContextMenuStrip() -- Get a ContextMenuStrip
self.gridControl.ContextMenuStrip = menu -- Set the grids ContextMenuStrip
local item = ToolStripMenuItem("Create Trend Page") -- Get a ToolStripMenuItem
item.Click:Add(ShowTrendCB) -- Add a callback
item.Tag = self -- Set tag to the page
menu.Items:Add(item) -- Add it to the menu
self.gridControl.CellMouseEnter:Add(CellMouseEnterCB) -- Add callback for cell enter
end
-- This has a forward declaration
function CellMouseEnterCB(sender, args)
-- Fetch entry in column 0, which will be the label
clickedItem = sender.Rows[args.RowIndex].Cells[0].Value
end
-- This has a forward declaration
-- Sender is the toolStripItem
function ShowTrendCB(sender, args)
local self = sender.Tag -- Previously set Tag to the Lua tunePage
if self.statusEntries[clickedItem] then
local noteBook = self:ParentNotebook()
--local name = self:UniqueName(noteBook)
local page = trendPage({name = noteBook:GetUniquePageName("Trend"), rawFile = self.rawFile})
local result = page:Plot(clickedItem)
if result then
noteBook:AddPage(page)
-- Set the new page as the selected page in the notebook
noteBook.tabControl.SelectedTab = page.pageControl
end
end
end
-- Start of tunePage Object
local tunePage = {}
tunePage.__index = tunePage
setmetatable(tunePage, {
__index = gridPage, -- this is the inheritance
__call = function(cls, ...)
local self = setmetatable({}, cls)
self:_init(...)
return self
end, })
function tunePage:_init(args)
args = args or {}
gridPage._init(self, args)
local grid = self.gridControl
grid.AutoGenerateColumns = false
grid.AutoSizeColumnsMode = AutoSizeColumnsMode.Fill
grid.ColumnHeadersVisible = false
grid.RowHeadersVisible = false
self.rawFile = args.rawFile
if not args.skipInit then self:ShowTune() end
end
function tunePage:ShowTune(args)
args = args or {}
if not self.rawFile then
print ("No rawFile available")
return nil
end
local rawFile = self.rawFile
local tune = rawFile:GetTuneData(1) -- '1' is for mass spectrometer tune file
-- Since this is a key/value table, the order is indeterminate
-- So alphabetize for consistent presentation
local sorted = {}
for key, value in pairs(tune) do
table.insert(sorted, {key, value})
end
table.sort(sorted, function(a,b) return a[1] < b[1] end)
if #sorted == 0 then
sorted[1] = {"No Tune Data"}
end
self:Fill(sorted)
end
return tunePage
|
-- Copyright 2014 Technical Machine, Inc. See the COPYRIGHT
-- file at the top-level directory of this distribution.
--
-- Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
-- http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
-- <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
-- option. This file may not be copied, modified, or distributed
-- except according to those terms.
--
-- preload.lua
-- Called to initialize colony in a new runtime environment.
--
local tm = require('tm')
local colony = require('colony')
-- This is temporary until we can do global._arr in C extension methods
_G._colony = colony
-- polyfills
if not table.pack then
function table.pack(...)
return { n = select("#", ...), ... }
end
end
if not setfenv then -- Lua 5.2
-- based on http://lua-users.org/lists/lua-l/2010-06/msg00314.html
-- this assumes f is a function
local function findenv(f)
local level = 1
repeat
local name, value = debug.getupvalue(f, level)
if name == '_ENV' then return level, value end
level = level + 1
until name == nil
return nil end
getfenv = function (f) return(select(2, findenv(f)) or _G) end
setfenv = function (f, t)
local level = findenv(f)
if level then debug.setupvalue(f, level, t) end
return f end
end
-- "Precache" builtin library code as functions.
-- This gets moved into colony.cache when run, as do all modules.
colony.precache = {}
for k, v in pairs(_builtin) do
(function (k, v)
colony.precache[k] = function ()
ret = _builtin_load(k, v)()
setfenv(ret, colony.global)
return ret;
end
colony.precache[string.sub(k, 2)] = function ()
ret = _builtin_load(k, v)()
setfenv(ret, colony.global)
return ret;
end
end)(k, v)
end
collectgarbage()
if _G.COLONY_EMBED then
-- This is temporary until we have tm_pwd() working
colony._normalize = function (p, path_normalize)
if string.sub(p, 1, 1) == '.' then
p = path_normalize('/' .. p)
end
return p
end
end
if not _G.COLONY_EMBED then
-- This is temporary until we have proper compilation in C.
colony._load = function (file)
-- Compile JS script before running.
local status
if jit == nil then
status = os.execute(_G.COLONY_COMPILER_PATH .. ' -m ' .. file .. ' > /tmp/colonyunique')
else
status = os.execute(_G.COLONY_COMPILER_PATH .. ' -l ' .. file .. ' > /tmp/colonyunique')
end
if status ~= 0 then
os.exit(status)
end
local file = io.open('/tmp/colonyunique', 'r')
local output = file:read('*all')
file:close()
return output
end
end
-- Set up builtin dependencies
do
local EventEmitter = colony.run('events').EventEmitter
global.process = js_new(EventEmitter)
global.process.memoryUsage = function (ths)
return js_obj({
heapUsed=collectgarbage('count')*1024
});
end
global.process.platform = "tessel"
global.process.arch = "armv7-m"
global.process.versions = js_obj({
node = 'v' .. COLONY_NODE_VERSION,
colony = 'v' .. __TESSEL_RUNTIME_SEMVER__
})
global.process.version = global.process.versions.node
global.process.EventEmitter = EventEmitter
global.process.argv = js_arr({}, 0)
global.process.env = js_obj({})
global.process.exit = function (this, code)
tm.exit(code)
end
global.process.cwd = function ()
return tm.cwd()
end
global.process.hrtime = function (this, prev)
-- This number exceeds the 53-bit limit on integer representation, but with
-- microsecond resolution, there are only ~50 bits of actual data
local nanos = tm.timestamp() * 1e3;
if prev ~= nil then
nanos = nanos - (prev[0]*1e9 + prev[1])
end
return js_arr({[0]=math.floor(nanos / 1e9), nanos % 1e9}, 2)
end
global.process.nextTick = global.setImmediate
-- DEPLOY_TIME workaround for setting environmental time
global.Object:defineProperty(global.process.env, 'DEPLOY_TIMESTAMP', {
set = function (this, value)
tm.timestamp_update((tonumber(value or 0) or 0)*1e3)
rawset(this, 'DEPLOY_TIMESTAMP', value)
end
});
-- simple process.ref() and process.unref() options
global.process.ref = function ()
if global.process.refid == nil then
global.process.refid = global:setInterval(function () end, 1e8)
end
end
global.process.unref = function ()
if global.process.refid ~= nil then
global:clearInterval(global.process.refid)
global.process.refid = nil
end
end
global.process.umask = function(ths, value)
-- Return standard octal 0022
return 18;
end
global.process.binding = function (self, key)
if key == 'lua' then
return js_wrap_module(_G)
end
return js_wrap_module(require(key))
end
local Readable = colony.run('stream').Readable
local Writable = colony.run('stream').Writable
colony.global.console = colony.run('console')
colony.global.process.stdout = colony.js_new(Writable)
colony.global.process.stdout._write = function (this, chunk, encoding, callback)
tm.log(30, chunk)
callback()
end
colony.global.process.stderr = colony.js_new(Writable)
colony.global.process.stderr._write = function (this, chunk, encoding, callback)
tm.log(31, chunk)
callback()
end
-- setup stdin
colony.global.process.stdin = colony.js_new(Readable)
colony.global.process.stdin._read = function ()
end
colony.global.process.stdin:pause()
local stdinkeepalive = nil
colony.global.process.stdin:on('resume', function (this)
if stdinkeepalive == nil then
stdinkeepalive = colony.global:setInterval(function () end, 1e6)
end
end)
colony.global.process.stdin:on('pause', function (this)
if stdinkeepalive ~= nil then
colony.global:clearInterval(stdinkeepalive)
end
end)
-- hook into builtin ipc command
colony.global.process:on('stdin', function (this, buf)
colony.global.process.stdin:push(buf)
end)
end
|
local hostname = module:get_option_string("sasl_hostname", module.host);
module:hook("stream-features", function(event)
local features = event.features;
local mechs = features:get_child("mechanisms", "urn:ietf:params:xml:ns:xmpp-sasl");
if mechs then
mechs:tag("hostname", { xmlns = "urn:xmpp:domain-based-name:1" })
:text(hostname):up();
end
end);
|
-- Copyright (C) 2018-2021 by KittenOS NEO contributors
--
-- Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.
--
-- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
-- THIS SOFTWARE.
-- KittenOS NEO Installer Generator --
local args = {...}
local cid = args[1]
local tarName = args[2]
local algorithmsInReverseOrder = {}
for i = 3, #args do
table.insert(algorithmsInReverseOrder, 1, args[i])
end
local u = require("libs.frw")
local instSize = 0
local function put(data)
io.write(data)
instSize = instSize + #data
end
-- Installer Lexcrunch Context --
local lexCrunch = require("libs.lexcrunch")()
-- Installer Core --
-- installerFinalized:
-- Stuff that's already finished and put at the end of RISM. Prepend to this.
-- installerPayload / installerProgramLength:
-- The next-outer chunk that hasn't been written to the end of RISM
-- as the compression scheme (if one) has not been applied yet.
-- Really, installerProgramLength is only necessary because of the innermost chunk,
-- as that chunk has the TAR; additional data that's part of the same effective compression block,
-- but requires the program length to avoid it.
local installerPayload
local installerProgramLength
local installerFinalized = ""
do
local tarData = u.read(tarName)
local tarSectors = math.floor(#tarData / 512)
local installerCore = lexCrunch.process(u.read("instcore.lua"), {["$$SECTORS"] = tostring(tarSectors)})
installerPayload = installerCore .. tarData
installerProgramLength = #installerCore
end
-- Installer Compression --
for _, v in ipairs(algorithmsInReverseOrder) do
io.stderr:write("compressing (" .. v .. ")\n")
local algImpl = require(v .. ".compress")
local algEngine, algData = algImpl(installerPayload, lexCrunch)
io.stderr:write("result: " .. #installerPayload .. " -> " .. #algData .. "\n")
-- prepend the program length of the last section
algEngine = lexCrunch.process("$iBlockingLen = " .. installerProgramLength .. " " .. algEngine, {})
-- commit
installerPayload = algEngine
installerProgramLength = #installerPayload
installerFinalized = algData .. installerFinalized
end
-- Installer Final --
-- This is a special case, so the program length/payload/etc. business has to be repeated.
put("--" .. cid .. "\n")
put("--This is released into the public domain. No warranty is provided, implied or otherwise.\n")
put(lexCrunch.process(u.read("insthead.lua"), {["$$CORESIZE"] = tostring(installerProgramLength)}))
local RISM = installerPayload .. installerFinalized
RISM = RISM:gsub("\xFE", "\xFE\xFE")
RISM = RISM:gsub("]]", "]\xFE]")
RISM = "\x00" .. RISM
put("--[[" .. RISM .. "]]")
-- Dumping debug info --
local dbg = io.open("iSymTab", "wb")
lexCrunch.dump(dbg)
dbg:close()
|
local t = {a = 1, b = 2, c = 3}
for k, v in pairs(t) do
print(k, v)
end
t = {"a", "b", "c"}
for k, v in ipairs(t) do
print(k, v)
end |
local language_data = {
['default'] = {
['title'] = 'Kill drug dealer',
['description'] = 'A detachment of enemy combines has landed somewhere. Find and eliminate them!',
['cancel_title'] = 'Event canceled',
['cancel_description'] = 'The event did not take place due to a lack of players in the event area.',
['spawn_combines_title'] = 'The enemy is close',
['spawn_combines_description'] = 'Kill the arriving enemies',
['complete_title'] = 'Completed',
['complete_description'] = 'All enemies were killed',
['enter_zone_title'] = 'You entered the event area',
['enter_zone_description'] = 'Expect the start of the event and do not leave the area.',
['exit_zone_title'] = 'You left the event area',
['exit_zone_description'] = 'Return to the event area to participate in it.',
},
['russian'] = {
['title'] = 'Убить комбайнов',
['description'] = 'Где-то высадился отряд вражеских комбайнов. Найдите и устраните их!',
['cancel_title'] = 'Событие отменено',
['cancel_description'] = 'Событие не состоялось из-за нехватки игроков в зоне ивента.',
['spawn_combines_title'] = 'Враг близко',
['spawn_combines_description'] = 'Убейте прибывших противников',
['complete_title'] = 'Завершено',
['complete_description'] = 'Все противники были уничтожены',
['enter_zone_title'] = 'Вы вошли в зону ивента',
['enter_zone_description'] = 'Ожидайте начало ивента и не покидайте зону.',
['exit_zone_title'] = 'Вы покинули зону ивента',
['exit_zone_description'] = 'Вернитесь в зону ивента, чтобы участвовать в нём.',
}
}
local lang = slib.language(language_data)
local quest = {
id = 'event_kill_combine',
title = lang['title'],
description = lang['description'],
payment = 500,
is_event = true,
auto_add_players = false,
npc_ignore_other_players = true,
auto_next_step_delay = 60,
auto_next_step = 'spawn_combines',
-- auto_next_step_validaotr = function(eQuest)
-- local count = #eQuest.players
-- if count == 0 then
-- for _, ply in ipairs(player.GetHumans()) do
-- local player_language = ply:slibLanguage(language_data)
-- ply:QuestNotify(player_language['cancel_title'], player_language['cancel_description'])
-- end
-- end
-- return count ~= 0
-- end,
quest_time = 120,
failed_text = {
title = 'Quest failed :(',
text = 'The execution time has expired.'
},
steps = {
start = {
onEnd = function(eQuest)
if CLIENT then return end
if #eQuest.players == 0 then
eQuest:Failed()
return true
end
end,
triggers = {
spawn_combines_trigger = {
onStartServer = function(eQuest, center)
eQuest:SetArrow(center)
end,
onEnterServer = function(eQuest, ply)
if not ply:IsPlayer() then return end
eQuest:AddPlayer(ply)
local player_language = ply:slibLanguage(language_data)
ply:QuestNotify(player_language['enter_zone_title'], player_language['enter_zone_description'])
end,
onExitServer = function(eQuest, ply)
if not eQuest:HasQuester(ply) then return end
eQuest:RemovePlayer(ply)
local player_language = ply:slibLanguage(language_data)
ply:QuestNotify(player_language['exit_zone_title'], player_language['exit_zone_description'])
end
},
},
},
spawn_combines = {
onStartServer = function(eQuest)
eQuest:NotifyOnlyRegistred(lang['spawn_combines_title'], lang['spawn_combines_description'])
end,
structures = {
barricades = true
},
points = {
spawnCombines = {
onStartServer = function(eQuest, positions)
for _, pos in ipairs(positions) do
eQuest:SpawnQuestNPC('npc_combine_s', {
type = 'enemy',
pos = pos,
model = {
'models/Combine_Soldier.mdl',
'models/Combine_Soldier_PrisonGuard.mdl',
'models/Combine_Super_Soldier.mdl'
},
weapon_class = {
'weapon_ar2',
'weapon_shotgun'
}
})
end
eQuest:SetArrowNPC('enemy')
eQuest:MoveEnemyToRandomPlayer()
end
}
},
hooks = {
OnNPCKilled = function(eQuest, npc, attacker, inflictor)
if SERVER and not eQuest:IsAliveQuestNPC('enemy') then
eQuest:NextStep('complete')
end
end
}
},
complete = {
onStart = function(eQuest)
if CLIENT then
eQuest:Notify(lang['complete_title'], lang['complete_description'])
return
end
eQuest:Reward()
eQuest:Complete()
end,
}
}
}
list.Set('QuestSystem', quest.id, quest) |
local Moistlocals = {}
Moistlocals.main_func = {}
local rootPath = utils.get_appdata_path("PopstarDevs", "2Take1Menu")
utils.make_dir(rootPath .. "\\Blacklist")
utils.make_dir(rootPath .. "\\lualogs")
utils.make_dir(rootPath .. "\\scripts\\MoistsLUA_cfg")
--TODO: Script Settings Set & save
local save_ini = rootPath .. "\\scripts\\MoistsLUA_cfg\\MoistsScript_settings.ini"
local toggle_setting, setting = {}, {}
toggle_setting[#toggle_setting+1] = "MoistScript"
setting[toggle_setting[#toggle_setting]] = "3.0.0.0"
function saveSettings()
local file = io.open(rootPath .. "\\scripts\\MoistsLUA_cfg\\MoistsScript_settings.ini", "w")
io.output(file)
for i, k in pairs(toggle_setting) do
io.write(k.."="..tostring(setting[k]).."\n")
end
io.close()
end
save_ini_file = io.open(rootPath .. "\\scripts\\MoistsLUA_cfg\\MoistsScript_settings.ini", "a")
toggle = 1
if not utils.file_exists(rootPath .. "\\scripts\\MoistsLUA_cfg\\MoistsScript_settings.ini") then
io.output(rootPath .. "\\scripts\\MoistsLUA_cfg\\MoistsScript_settings.ini")
io.write("[MoistScript]")
io.close()
end
function OverWriteSettingFile()
local file = io.open(rootPath .. "\\scripts\\MoistsLUA_cfg\\MoistsScript_settings.ini", "w+")
io.output(file)
io.write("")
io.close()
end
for line in io.lines(rootPath .. "\\scripts\\MoistsLUA_cfg\\MoistsScript_settings.ini") do
local line = string.gsub(line, toggle_setting[toggle] .. "=", "")
if toggle == 1 and setting["MoistScript"] ~= line then
end
if line == "true" then
setting[toggle_setting[toggle]] = true
elseif line == "false" then
setting[toggle_setting[toggle]] = false
elseif line ~= "nil" then
if tonumber(line) ~= nil then
setting[toggle_setting[toggle]] = tonumber(line)
else
setting[toggle_setting[toggle]] = line
end
if tostring(line) ~= nil then
setting[toggle_setting[toggle]] = tostring(line)
else
setting[toggle_setting[toggle]] = line
end
end
toggle = toggle + 1
end
--TODO: Function Variables
local SessionHost, ScriptHost = nil, nil
local playerFeatures, playersFeature, MoistFeat = {}, {}, {}
--TODO: Menu Feature Parents
MoistFeat.main = menu.add_feature("MoistScript 3.0.0.0 Beta", "parent", 0).id
MoistFeat.Online = menu.add_feature("Online Players", "parent", MoistFeat.main)
created_threads = menu.add_feature("Threads", "parent", 0)
--Util functions
local notif = ui.notify_above_map
local function notify_above_map(msg)
ui.notify_above_map(tostring(msg), "MoistScript 3.0.0.0 Beta", 140)
end
local function set_waypoint(pos)
if pos.x and pos.y then
local coord = v2()
coord.x = pos.x
coord.y = pos.y
ui.set_new_waypoint(coord)
end
end
--Event hooks
local ChatEventID = event.add_event_listener("chat", function(e)
local sender = player.get_player_name(e.player)
print("<" .. sender .. "> " .. e.body)
end)
event.add_event_listener("exit", function()
event.remove_event_listener("chat", ChatEventID)
end)
--Thread Functions
local thread, feat = {}, {}
Thread_thread = function(context)
while true do
system.wait(0)
end
end
delete_threads = function(feat, data)
menu.delete_thread(feat.data.thread)
menu.create_thread(function(id) menu.delete_feature(id) end, feat.id)
end
function Thread(pid)
local pid = pid
local y = #thread + 1
thread[y] = menu.create_thread(Thread_thread, { pid = pid } )
local i = #feat + 1
feat[i] = menu.add_feature("Delete Thread ".. i, "action", created_threads.id, delete_threads)
feat[i].data = {thread = thread[y]}
end
--Player list
for pid=0,31 do
local featureVars = {}
featureVars.f = menu.add_feature("Player " .. pid, "parent", playersFeature.id)
local features = {}
features["Waypoint"] = {feat = menu.add_feature("Set Waypoint On Player", "toggle", f.id, function(feat)
if feat.on then
for i=0,31 do
if i ~= pid and playerFeatures[i].features["Waypoint"].feat then
playerFeatures[i].features["Waypoint"].feat.on = false
end
end
else
ui.set_waypoint_off()
end
return HANDLER_POP
end), type = "toggle", callback = function()
set_waypoint(player.get_player_coords(pid))
end}
features["Waypoint"].feat.threaded = false
playerFeatures[pid] = {feat = featureVars.f, scid = -1, features = features}
featureVars.f.hidden = true
end
--Main loop
local loopFeat = menu.add_feature("Loop", "toggle", 0, function(feat)
if feat.on then
local Online = network.is_session_started()
if not Online then
SessionHost = nil
ScriptHost = nil
end
local lpid = player.player_id()
for pid=0,31 do
local tbl = playerFeatures[pid]
local f = tbl.feat
local scid = player.get_player_scid(pid)
if scid ~= 4294967295 then
if f.hidden then f.hidden = false end
local name = player.get_player_name(pid)
local isYou = lpid == pid
local tags = {}
if Online then
if isYou then
tags[#tags + 1] = "Y"
end
if player.is_player_friend(pid) then
tags[#tags + 1] = "F"
end
if player.is_player_modder(pid, -1) then
tags[#tags + 1] = "M"
end
if player.is_player_host(pid) then
tags[#tags + 1] = "H"
if SessionHost ~= pid then
SessionHost = pid
notify_above_map("The session host is now " .. (isYou and "you" or name) .. ".")
end
end
if pid == script.get_host_of_this_script() then
tags[#tags + 1] = "S"
if ScriptHost ~= pid then
ScriptHost = pid
notify_above_map("The script host is now " .. (isYou and "you" or name) .. ".")
end
end
if tbl.scid ~= scid then
for cf_name,cf in pairs(tbl.features) do
if cf.type == "toggle" and cf.feat.on then
cf.feat.on = false
end
end
tbl.scid = scid
if not isYou then
--TODO: Modder shit
end
end
end
if #tags > 0 then
name = name .. " [" .. table.concat(tags) .. "]"
end
if f.name ~= name then f.name = name end
for cf_name,cf in pairs(tbl.features) do
if (cf.type ~= "toggle" or cf.feat.on) and cf.callback then
local status, err = pcall(cf.callback)
if not status then
notify_above_map("Error running feature " .. i .. " on pid " .. pid)
print(err)
end
end
end
else
if not f.hidden then
f.hidden = true
for cf_name,cf in pairs(tbl.features) do
if cf.type == "toggle" and cf.feat.on then
cf.feat.on = false
end
end
end
end
end
return HANDLER_CONTINUE
end
return HANDLER_POP
end)
loopFeat.hidden = true
loopFeat.threaded = false
loopFeat.on = true |
//autoconcede default config
local function SetupDefaultConfig()
local DefaultConfig = { }
DefaultConfig.kImbalanceDuration = 30
DefaultConfig.kImbalanceNotification = 10
DefaultConfig.kImbalanceAmount = 4
DefaultConfig.kMinimumPlayers = 6
return DefaultConfig
end
DAK:RegisterEventHook("PluginDefaultConfigs", {PluginName = "autoconcede", DefaultConfig = SetupDefaultConfig })
local function SetupDefaultLanguageStrings()
local DefaultLangStrings = { }
DefaultLangStrings["ConcedeMessage"] = "Round ended due to imbalanced teams."
DefaultLangStrings["ConcedeCancelledMessage"] = "Teams within autoconcede limits."
DefaultLangStrings["ConcedeWarningMessage"] = "Round will end in %s seconds due to imbalanced teams."
return DefaultLangStrings
end
DAK:RegisterEventHook("PluginDefaultLanguageDefinitions", SetupDefaultLanguageStrings) |
workspace "Algon"
architecture "x64"
configurations{
"Debug",
"Release",
"Dist"
}
outputdir = "%{cfg.buildcfg}-%{cfg.system}-%{cfg.architecture}"
project "Algon"
location "Algon"
kind "sharedLib"
language "c++"
targetdir ("bin/" ..outputdir.. "/%{prj.name}")
objdir ("bin-int/" ..outputdir.. "/%{prj.name}")
files{
"%{prj.name}/src/**.cpp",
"%{prj.name}/src/**.h"
}
includedirs{
"%{prj.name}/vendor/spdlog/include"
}
filter "system:windows"
cppdialect "C++17"
staticruntime "On"
systemversion "latest"
defines {
"AG_WINDOW",
"AG_DLL_BUILD"
}
postbuildcommands{
("{COPY} %{cfg.buildtarget.relpath} ../bin/" .. outputdir .. "/sandbox")
}
filter "configurations:Debug"
defines "AG_DEBUG"
symbols "On"
filter "configurations:Release"
defines "AG_RELEASE"
optimize "On"
filter "configurations:Dist"
defines "AG_DIST"
optimize "On"
project "sandbox"
location "sandbox"
kind "ConsoleApp"
language "c++"
targetdir ("bin/" ..outputdir.. "/%{prj.name}")
objdir ("bin-int/" ..outputdir.. "/%{prj.name}")
files{
"%{prj.name}/src/**.cpp",
"%{prj.name}/src/**.h"
}
includedirs{
"Algon/vendor/spdlog/include",
"Algon/src"
}
links{
"Algon"
}
filter "system:windows"
cppdialect "C++17"
staticruntime "On"
systemversion "latest"
defines {
"AG_WINDOW",
}
filter "configurations:Debug"
defines "AG_DEBUG"
symbols "On"
filter "configurations:Release"
defines "AG_RELEASE"
optimize "On"
filter "configurations:Dist"
defines "AG_DIST"
optimize "On"
|
local plugin = script:FindFirstAncestorWhichIsA("Plugin")
local require = require(plugin:FindFirstChild("Lighter", true))
local Command = {}
Command.Alias = { "h" }
Command.Params = { "command" }
Command.Info = {
"This is the 'help' command for the command list",
}
local Cmds = script.Parent:GetChildren()
local Modules = {}
do
for index, cmd in ipairs(Cmds) do
if cmd.Name == script.Name then
continue
end
Modules[string.lower(cmd.Name)] = require(cmd)
end
Modules[string.lower(script.Name)] = Command
end
function Command:Execute(args: table): boolean
local check = args[1]
if check then
for index, cmd in ipairs(Cmds) do
local name = string.lower(cmd.Name)
local mod = Modules[string.lower(cmd.Name)]
if string.lower(check) ~= name then
local skip = true
for count, alias in pairs(mod.Alias) do
if check == alias then
skip = false
break
end
end
if skip then
continue
end
end
local params = ""
if #mod.Params > 0 then
local tbl = {}
do
table.insert(tbl, "")
for count, param in pairs(mod.Params) do
table.insert(tbl, param)
end
table.insert(tbl, "")
end
params = table.concat(tbl, "> <")
params = string.sub(params, 3, #params - 2)
end
print("Command: --" .. name, params)
if #mod.Alias > 0 then
local parse = #mod.Alias > 1 and "Aliases: " or "Alias: "
for count, info in pairs(mod.Alias) do
parse = parse .. "--" .. info
if mod.Alias[count + 1] then
parse = parse .. " | "
end
end
print(parse)
end
print("Description:")
for count, info in pairs(mod.Info) do
print(info)
end
return true
end
return false, "No command found, see --help for the list"
else
print("Commands:")
for index, cmd in ipairs(Cmds) do
local mod = Modules[string.lower(cmd.Name)]
local params = ""
if #mod.Params > 0 then
local tbl = {}
do
table.insert(tbl, "")
for count, param in pairs(mod.Params) do
table.insert(tbl, param)
end
table.insert(tbl, "")
end
params = table.concat(tbl, "> <")
params = string.sub(params, 3, #params - 2)
end
print("-", cmd.Name, params)
end
print("")
print("You can learn more about Deliver commands in the docs:")
print("https://mullets-gavin.github.io/Deliver/")
return true
end
end
return Command
|
interp.macro {
name = 'a', arg = true;
"killapp()",
".m %s",
"goapp '%s'",
}
interp.macro {
name = 'ml', arg = true;
".m %s",
"require '%s'",
}
interp.macro {
name = 'd', arg = true;
'.l %s.lua',
'draw.view:invalidate()'
}
interp.macro {
name = 'md', arg = true;
'.m %s',
'require "%s"'
}
|
--[[
Elements handled: .Enchant
Options:
- spacing: Padding between enchant icons. (Default: 0)
- size: Size of the enchant icons. (Default: 16)
- initialAnchor: Initial anchor in the enchant frame. (Default: 'BOTTOMLEFT')
- growth-x: Growth direction, affected by initialAnchor. (Default: 'UP')
- growth-y: Growth direction, affected by initialAnchor. (Default: 'RIGHT')
- showCharges: Shows a count of the remaining charges. (Default: false)
I'm actually not sure if any weapon enchants still have charges, but it's there just in case.
- showCD: Shows the duration using a cooldown animation. (Default: false)
- showBlizzard: Setting this prevents Blizzard's temp enchant frame from being hidden. (Default: false)
Variables set on each icon:
- expTime: Expiration time of this weapon enchant. Substract GetTime() to get remaining duration.
Functions that can be overridden from within a layout:
:PostCreateEnchantIcon(button, icons)
:PostUpdateEnchantIcons(icons)
]]
local E, C, _ = select(2, shCore()):unpack()
local parent, ns = debugstack():match[[\AddOns\(.-)\]], oUF
local oUF = ns.oUF or _G.oUF
--* Set playerGUID after PEW.
local playerGUID
local pending
local frame = CreateFrame('Frame')
frame.elapsed = 0
frame:RegisterEvent('PLAYER_ENTERING_WORLD')
frame:SetScript('OnEvent', function(self, event) playerGUID = UnitGUID('player') self:UnregisterEvent(event) end);
local OnEnter = function(self)
if(not self:IsVisible()) then return end
GameTooltip:SetOwner(self, 'ANCHOR_BOTTOMRIGHT')
GameTooltip:SetInventoryItem('player', self.slot)
GameTooltip:Show()
end
local OnLeave = function()
GameTooltip:Hide()
end
local OnClick = function(self, button)
if (button == 'RightButton') then
CancelItemTempEnchantment(self.slot == 16 and 1 or 2)
end
end
local function CreateIcon(self, icons)
-- ChatFrame1:AddMessage(tostring(self:GetName()) .. ' - ' .. tostring(icons:GetName()))
local button = CreateFrame('frame', 'SohighWeaponChant', icons)
button:EnableMouse()
button:SetSize(icons.size or 16)
local cd = CreateFrame('Cooldown', 'wepchantCDFRAME', button)
cd:SetAllPoints(button)
local icon = button:CreateTexture(nil, 'BACKGROUND')
icon:SetAllPoints(button)
local count = button:CreateFontString(nil, 'OVERLAY')
count:SetFontObject(NumberFontNormal)
count:SetAnchor('BOTTOMRIGHT', button, 'BOTTOMRIGHT', -1, 0)
local overlay = button:CreateTexture(nil, 'OVERLAY')
overlay:SetTexture('Interface\\Buttons\\UI-Debuff-Overlays')
overlay:SetAllPoints(button)
overlay:SetTexCoord(.296875, .5703125, 0, .515625)
table.insert(icons, button)
button.overlay = overlay
button.frame = self
button.icon = icon
button.count = count
button.cd = cd
button:SetScript('OnEnter', OnEnter)
button:SetScript('OnLeave', OnLeave)
button:SetScript('OnMouseUp', OnClick)
if(self.Enchant.PostCreateEnchantIcon) then self.Enchant:PostCreateEnchantIcon(button, icons) end
return button
end
local function SetIconPosition(self, icons)
local col = 0
local row = 0
local spacing = icons.spacing or 0
local size = (icons.size or 16) + spacing
local anchor = icons.initialAnchor or 'TOPLEFT'
local growthx = (icons['growth-x'] == 'LEFT' and -1) or 1
local growthy = (icons['growth-y'] == 'DOWN' and -1) or 1
local cols = math.floor(icons:GetWidth() / size + .5)
local rows = math.floor(icons:GetHeight() / size + .5)
local icon = icons[1]
icons[1]:SetAnchor(anchor, icons, anchor, 0,0)
if icon:IsShown() then
col = col + 1
if(col >= cols) then
col = 0
row = row + 1
end
icons[2]:SetAnchor(anchor, icons, anchor, col * growthx * size, row * growthy * size)
else
icons[2]:SetAnchor(icon:GetPoint())
end
end
local function UpdateIcons(self)
--ChatFrame1:AddMessage('UPDATE WEP ENCHANT: ' .. tostring(self.Enchant:GetName()))
local icons = self.Enchant
local hasMainHandEnchant, mainHandExpiration, mainHandCharges, hasOffHandEnchant, offHandExpiration, offHandCharges = GetWeaponEnchantInfo();
local now = GetTime()
local icon = icons[1] or CreateIcon(self, icons)
if hasMainHandEnchant then
icon.icon:SetTexture(GetInventoryItemTexture('player', 16))
icon.expTime = mainHandExpiration
if mainHandExpiration then
if not icon.duration or icon.duration < mainHandExpiration/1000 then
icon.duration = mainHandExpiration/1000
end
icon.expTime = GetTime()+mainHandExpiration/1000
local finishTime = GetTime() + mainHandExpiration/1000
if icons.showCD then
-- ChatFrame1:AddMessage(tostring(finishTime) .. ' - ' .. tostring(icon.duration))
icon.cd:SetCooldown(finishTime-icon.duration, icon.duration)
end
else
icon.cd:Hide()
end
if icons.showCharges and mainHandCharges then
icon.count:SetText(mainHandCharges)
end
icon.slot = 16
icon:Show()
else
icon.duration = nil
icon:Hide()
end
icon = icons[2] or CreateIcon(self, icons)
if hasOffHandEnchant then
icon.icon:SetTexture(GetInventoryItemTexture('player', 17))
icon.expTime = offHandExpiration
if offHandExpiration then
if not icon.duration or icon.duration < icon.expTime/1000 then
icon.duration = icon.expTime/1000
end
icon.expTime = GetTime()+icon.expTime/1000
local finishTime = GetTime() + icon.expTime/1000
if icons.showCD then
icon.cd:SetCooldown(finishTime-icon.duration, icon.duration)
end
end
if icons.showCharges and offHandCharges then
icon.count:SetText(offHandCharges)
end
icon.slot = 17
icon:Show()
else
icon:Hide()
end
SetIconPosition(self, icons)
if self.Enchant.PostUpdateEnchantIcons then self.Enchant:PostUpdateEnchantIcons(icons) end
end
-- Work around the annoying delay between casting and GetWeaponEnchantInfo's information being updated.
frame:SetScript('OnUpdate', function(self, elapsed)
if pending then
self.elapsed = self.elapsed + elapsed
if self.elapsed > 1 then
UpdateIcons(pending)
self.elapsed = 0
pending = nil
end
end
end)
local function CLEU(self, event, timestamp, subevent, sourceGUID, sourceName, sourceFlags, destGUID, destName, destFlags, ...)
if subevent:sub(1,7) ~= 'ENCHANT' or destGUID ~= playerGUID then
return
end
if subevent:sub(9) == 'REMOVED' then
return UpdateIcons(self)
end
pending = self
end
local Enable = function(self)
if(self.Enchant and self.unit == 'player') then
if C.units.enchantoUF ~= false then
TemporaryEnchantFrame:Hide()
end
self:RegisterEvent('COMBAT_LOG_EVENT_UNFILTERED', CLEU)
self:RegisterEvent('UNIT_INVENTORY_CHANGED', UpdateIcons)
UpdateIcons(self)
return true
end
end
local Disable = function(self)
if(self.Enchant) then
self:UnregisterEvent('COMBAT_LOG_EVENT_UNFILTERED', CLEU)
self:UnregisterEvent('UNIT_INVENTORY_CHANGED', UpdateIcons)
end
end
oUF:AddElement('WeaponEnchant', UpdateIcons, Enable, Disable) |
require "config"
for line in io.lines() do
io.write( '"' .. ccprefix .. line .. '",\n' )
end
io.flush()
|
CodexDB["units"]["enUS"]={
[3]="Flesh Eater",
[6]="Kobold Vermin",
[30]="Forest Spider",
[36]="Harvest Golem",
[38]="Defias Thug",
[40]="Kobold Miner",
[43]="Mine Spider",
[46]="Murloc Forager",
[48]="Skeletal Warrior",
[54]="Corina Steele",
[60]="Ruklar the Trapper",
[61]="Thuros Lightfingers",
[66]="Tharynn Bouden",
[68]="Stormwind City Guard",
[69]="Timber Wolf",
[74]="Kurran Steele",
[78]="Janos Hammerknuckle",
[79]="Narg the Taskmaster",
[80]="Kobold Laborer",
[89]="Infernal",
[92]="Rock Elemental",
[94]="Defias Cutpurse",
[95]="Defias Smuggler",
[97]="Riverpaw Runt",
[98]="Riverpaw Taskmaster",
[99]="Morgaine the Sly",
[100]="Gruff Swiftbite",
[103]="Garrick Padfoot",
[113]="Stonetusk Boar",
[114]="Harvest Watcher",
[115]="Harvest Reaper",
[116]="Defias Bandit",
[117]="Riverpaw Gnoll",
[118]="Prowler",
[119]="Longsnout",
[121]="Defias Pathstalker",
[122]="Defias Highwayman",
[123]="Riverpaw Mongrel",
[124]="Riverpaw Brute",
[125]="Riverpaw Overseer",
[126]="Murloc Coastrunner",
[127]="Murloc Tidehunter",
[128]="Angry Programmer Tweedle Dee",
[151]="Brog Hamfist",
[152]="Brother Danil",
[154]="Greater Fleshripper",
[157]="Goretusk",
[167]="Morhan Coppertongue",
[171]="Murloc Warrior",
[190]="Dermot Johns",
[193]="Blue Dragonspawn",
[196]="Eagan Peltskinner",
[197]="Marshal McBride",
[198]="Khelden Bremen",
[199]="Young Fleshripper",
[202]="Skeletal Horror",
[203]="Skeletal Mage",
[205]="Nightbane Dark Runner",
[206]="Nightbane Vile Fang",
[210]="Bone Chewer",
[212]="Splinter Fist Warrior",
[213]="Starving Dire Wolf",
[215]="Defias Night Runner",
[217]="Venom Web Spider",
[218]="Grave Robber",
[222]="Nillen Andemar",
[223]="Dan Golthas",
[225]="Gavin Gnarltree",
[226]="Morg Gnarltree",
[227]="Mabel Solaj",
[228]="Avette Fellwood",
[232]="Farmer Ray",
[233]="Farmer Saldean",
[234]="Gryan Stoutmantle",
[235]="Salma Saldean",
[237]="Farmer Furlbrow",
[238]="Verna Furlbrow",
[239]="Grimbooze Thunderbrew",
[240]="Marshal Dughan",
[241]="Remy \"Two Times\"",
[244]="Ma Stonefield",
[246]="\"Auntie\" Bernice Stonefield",
[247]="Billy Maclure",
[248]="Gramma Stonefield",
[250]="Pa Maclure",
[251]="Maybell Maclure",
[252]="Tommy Joe Stonefield",
[253]="William Pestle",
[255]="Gerard Tiller",
[257]="Kobold Worker",
[258]="Joshua Maclure",
[261]="Guard Thomas",
[263]="Lord Ello Ebonlocke",
[264]="Commander Althea Ebonlocke",
[265]="Madame Eva",
[266]="Wiley the Black",
[267]="Clerk Daltry",
[268]="Sirra Von\'Indi",
[269]="Role Dreuger",
[270]="Councilman Millstipe",
[271]="Ambassador Berrybuck",
[272]="Chef Grual",
[273]="Tavernkeep Smitts",
[274]="Barkeep Hann",
[275]="Whit Wantmal",
[276]="Viktori Prism\'Antras",
[277]="Roberto Pupellyverbos",
[278]="Sara Timberlain",
[279]="Morgan Pestle",
[284]="Riding Horse (Brown)",
[285]="Murloc",
[288]="Jitters",
[289]="Abercrombie",
[294]="Marshal Haggard",
[295]="Innkeeper Farley",
[297]="Caretaker Folsom",
[299]="Young Wolf",
[300]="Zzarc\' Vul",
[302]="Blind Mary",
[304]="Riding Horse (Felsteed)",
[305]="Riding Horse (White Stallion)",
[306]="Riding Horse (Palomino)",
[307]="Riding Horse (Pinto)",
[308]="Riding Horse (Black Stallion)",
[311]="Sven Yorgen",
[313]="Theocritus",
[314]="Eliza",
[315]="Stalvan Mistmantle",
[325]="Hogan Ference",
[327]="Goldtooth",
[328]="Zaldimar Wefhellt",
[329]="Earth Elemental",
[330]="Princess",
[331]="Maginor Dumas",
[332]="Master Mathias Shaw",
[334]="Gath\'Ilzogg",
[335]="Singe",
[338]="Mazen Mac\'Nadir",
[340]="Kendor Kabonka",
[341]="Foreman Oslow",
[342]="Martie Jainrose",
[343]="Chef Breanna",
[344]="Magistrate Solomon",
[345]="Bellygrub",
[346]="Barkeep Daniels",
[347]="Grizzle Halfmane",
[348]="Zem Leeward",
[349]="Corporal Keeshan",
[352]="Dungar Longdrink",
[356]="Riding Wolf (Black)",
[358]="Riding Wolf (Brown)",
[359]="Riding Wolf (Winter)",
[364]="Slime",
[372]="Karm Ironquill",
[374]="Cog Glitzspinner",
[375]="Priestess Anetta",
[376]="High Priestess Laurena",
[377]="Priestess Josetta",
[379]="Darcy",
[381]="Dockmaster Baren",
[382]="Marshal Marris",
[383]="Jason Mathers",
[384]="Katie Hunter",
[385]="Horse",
[390]="Porcine Entourage",
[391]="Old Murk-Eye",
[392]="Captain Grayson",
[395]="Markus",
[397]="Morganth",
[412]="Stitches",
[415]="Verner Osgood",
[416]="Imp",
[417]="Felhunter",
[420]="Shagu",
[422]="Murloc Flesheater",
[423]="Redridge Mongrel",
[424]="Redridge Poacher",
[426]="Redridge Brute",
[428]="Dire Condor",
[429]="Shadowhide Darkweaver",
[430]="Redridge Mystic",
[431]="Shadowhide Slayer",
[432]="Shadowhide Brute",
[433]="Shadowhide Gnoll",
[434]="Rabid Shadowhide Gnoll",
[435]="Blackrock Champion",
[436]="Blackrock Shadowcaster",
[437]="Blackrock Renegade",
[440]="Blackrock Grunt",
[441]="Black Dragon Whelp",
[442]="Tarantula",
[445]="Redridge Alpha",
[446]="Redridge Basher",
[448]="Hogger",
[449]="Defias Knuckleduster",
[450]="Defias Renegade Mage",
[452]="Riverpaw Bandit",
[453]="Riverpaw Mystic",
[454]="Young Goretusk",
[456]="Murloc Minor Oracle",
[458]="Murloc Hunter",
[459]="Drusilla La Salle",
[460]="Alamar Grimm",
[461]="Demisette Cloyce",
[462]="Vultros",
[464]="Guard Parker",
[465]="Barkeep Dobbins",
[466]="General Marcus Jonathan",
[467]="The Defias Traitor",
[468]="Town Crier",
[469]="Lieutenant Doren",
[471]="Mother Fang",
[472]="Fedfennel",
[473]="Morgan the Collector",
[474]="Defias Rogue Wizard",
[475]="Kobold Tunneler",
[476]="Kobold Geomancer",
[478]="Riverpaw Outrunner",
[480]="Rusty Harvest Golem",
[481]="Defias Footpad",
[482]="Elling Trias",
[483]="Elaine Trias",
[485]="Blackrock Outrunner",
[486]="Tharil\'zun",
[487]="Protector Bialon",
[488]="Protector Weaver",
[489]="Protector Dutfield",
[490]="Protector Gariel",
[491]="Quartermaster Lewis",
[494]="Watcher Bukouris",
[495]="Watcher Keefer",
[499]="Watcher Paige",
[500]="Riverpaw Scout",
[501]="Riverpaw Herbalist",
[502]="Benny Blaanco",
[503]="Lord Malathrom",
[504]="Defias Trapper",
[505]="Greater Tarantula",
[506]="Sergeant Brashclaw",
[507]="Fenros",
[510]="Water Elemental",
[511]="Insane Ghoul",
[513]="Murloc Netter",
[514]="Smith Argus",
[515]="Murloc Raider",
[517]="Murloc Oracle",
[518]="Yowler",
[519]="Slark",
[520]="Brack",
[521]="Lupos",
[522]="Mor\'Ladim",
[523]="Thor",
[524]="Rockhide Boar",
[525]="Mangy Wolf",
[531]="Skeletal Fiend",
[533]="Nightbane Shadow Weaver",
[534]="Nefaru",
[539]="Pygmy Venom Web Spider",
[541]="Riding Gryphon",
[543]="Nalesette Wildbringer",
[544]="Murloc Nightcrawler",
[545]="Murloc Tidecaller",
[547]="Great Goretusk",
[548]="Murloc Minor Tidecaller",
[550]="Defias Messenger",
[565]="Rabid Dire Wolf",
[568]="Shadowhide Warrior",
[569]="Green Recluse",
[570]="Brain Eater",
[572]="Leprithus",
[573]="Foe Reaper 4000",
[574]="Naraxis",
[575]="Fire Elemental",
[576]="Watcher Ladimore",
[578]="Murloc Scout",
[579]="Shadowhide Assassin",
[580]="Redridge Drudger",
[582]="Old Blanchy",
[583]="Defias Ambusher",
[584]="Kazon",
[587]="Bloodscalp Warrior",
[588]="Bloodscalp Scout",
[589]="Defias Pillager",
[590]="Defias Looter",
[594]="Defias Henchman",
[595]="Bloodscalp Hunter",
[596]="Brainwashed Noble",
[597]="Bloodscalp Berserker",
[598]="Defias Miner",
[599]="Marisa du\'Paige",
[603]="Grimtooth",
[604]="Plague Spreader",
[615]="Blackrock Tracker",
[616]="Chatter",
[619]="Defias Conjurer",
[620]="Chicken",
[622]="Goblin Engineer",
[623]="Skeletal Miner",
[624]="Undead Excavator",
[625]="Undead Dynamiter",
[626]="Foreman Thistlenettle",
[628]="Black Ravager",
[631]="pnagle\'s test dude",
[633]="Elaine Carevin",
[634]="Defias Overseer",
[636]="Defias Blackguard",
[639]="Edwin VanCleef",
[641]="Goblin Woodcarver",
[642]="Sneed\'s Shredder",
[643]="Sneed",
[644]="Rhahk\'Zor",
[645]="Cookie",
[646]="Mr. Smite",
[647]="Captain Greenskin",
[656]="Wilder Thistlenettle",
[657]="Defias Pirate",
[658]="Sten Stoutarm",
[659]="El Pollo Grande",
[660]="Bloodscalp Witch Doctor",
[661]="Jonathan Carevin",
[663]="Calor",
[664]="Benjamin Carevin",
[667]="Skullsplitter Warrior",
[669]="Skullsplitter Hunter",
[670]="Skullsplitter Witch Doctor",
[671]="Bloodscalp Headhunter",
[672]="Skullsplitter Spiritchaser",
[674]="Venture Co. Strip Miner",
[675]="Venture Co. Foreman",
[676]="Venture Co. Surveyor",
[677]="Venture Co. Tinkerer",
[678]="Mosh\'Ogg Mauler",
[679]="Mosh\'Ogg Shaman",
[680]="Mosh\'Ogg Lord",
[681]="Young Stranglethorn Tiger",
[682]="Stranglethorn Tiger",
[683]="Young Panther",
[684]="Shadowmaw Panther",
[685]="Stranglethorn Raptor",
[686]="Lashtail Raptor",
[687]="Jungle Stalker",
[688]="Stone Maw Basilisk",
[689]="Crystal Spine Basilisk",
[690]="Cold Eye Basilisk",
[691]="Lesser Water Elemental",
[694]="Bloodscalp Axe Thrower",
[696]="Skullsplitter Axe Thrower",
[697]="Bloodscalp Shaman",
[698]="Bloodscalp Tiger",
[699]="Bloodscalp Beastmaster",
[701]="Bloodscalp Mystic",
[702]="Bloodscalp Scavenger",
[703]="Lieutenant Fangore",
[704]="Ragged Timber Wolf",
[705]="Ragged Young Wolf",
[706]="Frostmane Troll Whelp",
[707]="Rockjaw Trogg",
[708]="Small Crag Boar",
[709]="Mosh\'Ogg Warmonger",
[710]="Mosh\'Ogg Spellcrafter",
[711]="Ardo Dirtpaw",
[712]="Redridge Thrasher",
[713]="Balir Frosthammer",
[714]="Talin Keeneye",
[715]="Hemet Nesingwary",
[716]="Barnil Stonepot",
[717]="Ajeck Rouack",
[718]="Sir S. J. Erlgadin",
[721]="Rabbit",
[723]="Mosh\'Ogg Butcher",
[724]="Burly Rockjaw Trogg",
[727]="Ironforge Mountaineer",
[728]="Bhag\'thera",
[729]="Sin\'Dall",
[730]="Tethis",
[731]="King Bangalash",
[732]="Murloc Lurker",
[733]="Sergeant Yohwa",
[734]="Corporal Bluth",
[735]="Murloc Streamrunner",
[736]="Panther",
[737]="Kebok",
[738]="Private Thorsen",
[739]="Brother Nimetz",
[740]="Adolescent Whelp",
[741]="Dreaming Whelp",
[742]="Green Wyrmkin",
[743]="Wyrmkin Dreamwalker",
[744]="Green Scalebane",
[745]="Scalebane Captain",
[746]="Elder Dragonkin",
[747]="Marsh Murloc",
[750]="Marsh Inkspewer",
[751]="Marsh Flesheater",
[752]="Marsh Oracle",
[754]="Rebel Watchman",
[755]="Lost One Mudlurker",
[756]="Skullsplitter Panther",
[757]="Lost One Fisherman",
[759]="Lost One Hunter",
[760]="Lost One Muckdweller",
[761]="Lost One Seer",
[762]="Lost One Riftseeker",
[763]="Lost One Chieftain",
[764]="Swampwalker",
[765]="Swampwalker Elder",
[766]="Tangled Horror",
[767]="Swamp Jaguar",
[768]="Shadow Panther",
[769]="Deathstrike Tarantula",
[770]="Corporal Kaleb",
[771]="Commander Felstrom",
[772]="Stranglethorn Tigress",
[773]="Krazek",
[775]="Kurzen\'s Agent",
[777]="Amy Davenport",
[780]="Skullsplitter Mystic",
[781]="Skullsplitter Headhunter",
[782]="Skullsplitter Scout",
[783]="Skullsplitter Berserker",
[784]="Skullsplitter Beastmaster",
[785]="Skeletal Warder",
[786]="Grelin Whitebeard",
[787]="Skeletal Healer",
[789]="Kimberly Hiett",
[790]="Karen Taylor",
[791]="Lindsay Ashlock",
[793]="Kara Adams",
[794]="Matt",
[795]="Mark",
[796]="Joshua",
[797]="Bo",
[798]="Solomon",
[799]="Kevin",
[800]="Kyle",
[801]="Eric",
[802]="Jay",
[804]="Dana",
[805]="Cameron",
[806]="John",
[807]="Lisa",
[808]="Grik\'nir the Cold",
[810]="Aaron",
[811]="Jose",
[812]="Alma Jainrose",
[813]="Colonel Kurzen",
[814]="Sergeant Malthus",
[815]="Bookie Herod",
[818]="Mai\'Zoth",
[819]="Servant of Ilgalar",
[820]="Scout Riell",
[821]="Captain Danuvin",
[822]="Young Forest Bear",
[823]="Deputy Willem",
[824]="Defias Digger",
[826]="Watcher Jan",
[827]="Watcher Mocarski",
[828]="Watcher Petras",
[829]="Adlin Pridedrift",
[830]="Sand Crawler",
[831]="Sea Crawler",
[832]="Dust Devil",
[833]="Coyote Packleader",
[834]="Coyote",
[836]="Durnan Furcutter",
[837]="Branstock Khalder",
[840]="Watcher Backus",
[842]="Lumberjack",
[843]="Gina MacGregor",
[844]="Antonio Perelli",
[846]="Ghoul",
[847]="Nathan",
[848]="Madison",
[849]="Rachel",
[850]="Erin",
[851]="Hannah",
[852]="Feral Spirit",
[853]="Coldridge Mountaineer",
[854]="Young Jungle Stalker",
[855]="Young Stranglethorn Raptor",
[856]="Young Lashtail Raptor",
[857]="Donal Osgood",
[858]="Sorrow Spinner",
[859]="Guard Berton",
[861]="Stonard Scout",
[862]="Stonard Explorer",
[863]="Stonard Hunter",
[864]="Stonard Orc",
[865]="Stonard Wayfinder",
[866]="Stonard Grunt",
[867]="Stonard Cartographer",
[868]="Stonard Shaman",
[869]="Protector Dorana",
[870]="Protector Deni",
[871]="Saltscale Warrior",
[873]="Saltscale Oracle",
[874]="Protector Korelor",
[875]="Saltscale Tide Lord",
[876]="Protector Leick",
[877]="Saltscale Forager",
[878]="Scout Galiaan",
[879]="Saltscale Hunter",
[880]="Erlan Drudgemoor",
[881]="Surena Caledon",
[883]="Deer",
[885]="Watcher Keller",
[886]="Watcher Hartin",
[887]="Watcher Jordan",
[888]="Watcher Dodds",
[889]="Splinter Fist Ogre",
[890]="Fawn",
[891]="Splinter Fist Fire Weaver",
[892]="Splinter Fist Taskmaster",
[893]="Lars",
[894]="Homer Stonefield",
[895]="Thorgas Grimson",
[896]="Veldan Lightfoot",
[898]="Nightbane Worgen",
[900]="Bailiff Conacher",
[903]="Guard Howe",
[905]="Sharptooth Frenzy",
[906]="Maximillian Crowe",
[907]="Keras Wolfheart",
[908]="Flora Silverwind",
[909]="Defias Night Blade",
[910]="Defias Enchanter",
[911]="Llane Beshere",
[912]="Thran Khorman",
[913]="Lyria Du Lac",
[914]="Ander Germaine",
[915]="Jorik Kerridan",
[916]="Solm Hargrin",
[917]="Keryn Sylvius",
[918]="Osborne the Night Man",
[920]="Nightbane Tainted One",
[921]="Venture Co. Lumberjack",
[922]="Silt Crawler",
[923]="Young Black Ravager",
[925]="Brother Sammuel",
[926]="Bromos Grummner",
[927]="Brother Wilhelm",
[928]="Lord Grayson Shadowbreaker",
[930]="Black Widow Hatchling",
[931]="Ariena Stormfeather",
[932]="Guard Ashlock",
[933]="Guard Hiett",
[934]="Guard Clarke",
[935]="Guard Pearce",
[936]="Guard Adams",
[937]="Kurzen Jungle Fighter",
[938]="Kurzen Commando",
[939]="Kurzen Elite",
[940]="Kurzen Medicine Man",
[941]="Kurzen Headshrinker",
[942]="Kurzen Witch Doctor",
[943]="Kurzen Wrangler",
[944]="Marryk Nurribit",
[945]="Rybrad Coldbank",
[946]="Frostmane Novice",
[947]="Rohh the Silent",
[948]="Rotted One",
[949]="Carrion Recluse",
[950]="Swamp Talker",
[951]="Brother Paxton",
[952]="Brother Neals",
[954]="Kat Sampson",
[955]="Sergeant De Vries",
[956]="Dorin Songblade",
[957]="Dane Lindgren",
[958]="Dawn Brightstar",
[959]="Morley Eberlein",
[960]="Gunder Thornbush",
[963]="Deputy Rainer",
[976]="Kurzen War Tiger",
[977]="Kurzen War Panther",
[978]="Kurzen Subchief",
[979]="Kurzen Shadow Hunter",
[980]="Grimnal",
[981]="Hartash",
[982]="Thultash",
[983]="Thultazor",
[984]="Thralosh",
[985]="Malosh",
[986]="Haromm",
[987]="Ogromm",
[988]="Kartosh",
[989]="Banalash",
[999]="Watcher Royce",
[1000]="Watcher Blomberg",
[1001]="Watcher Hutchins",
[1007]="Mosshide Gnoll",
[1008]="Mosshide Mongrel",
[1009]="Mosshide Mistweaver",
[1010]="Mosshide Fenrunner",
[1011]="Mosshide Trapper",
[1012]="Mosshide Brute",
[1013]="Mosshide Mystic",
[1014]="Mosshide Alpha",
[1015]="Highland Raptor",
[1016]="Highland Lashtail",
[1017]="Highland Scytheclaw",
[1018]="Highland Razormaw",
[1019]="Elder Razormaw",
[1020]="Mottled Raptor",
[1021]="Mottled Screecher",
[1022]="Mottled Scytheclaw",
[1023]="Mottled Razormaw",
[1024]="Bluegill Murloc",
[1025]="Bluegill Puddlejumper",
[1026]="Bluegill Forager",
[1027]="Bluegill Warrior",
[1028]="Bluegill Muckdweller",
[1029]="Bluegill Oracle",
[1030]="Black Slime",
[1031]="Crimson Ooze",
[1032]="Black Ooze",
[1033]="Monstrous Ooze",
[1034]="Dragonmaw Raider",
[1035]="Dragonmaw Swamprunner",
[1036]="Dragonmaw Centurion",
[1037]="Dragonmaw Battlemaster",
[1038]="Dragonmaw Shadowwarder",
[1039]="Fen Dweller",
[1040]="Fen Creeper",
[1041]="Fen Lord",
[1042]="Red Whelp",
[1043]="Lost Whelp",
[1044]="Flamesnorting Whelp",
[1045]="Red Dragonspawn",
[1046]="Red Wyrmkin",
[1047]="Red Scalebane",
[1048]="Scalebane Lieutenant",
[1049]="Wyrmkin Firebrand",
[1050]="Scalebane Royal Guard",
[1051]="Dark Iron Dwarf",
[1052]="Dark Iron Saboteur",
[1053]="Dark Iron Tunneler",
[1054]="Dark Iron Demolitionist",
[1057]="Dragonmaw Bonewarder",
[1059]="Ana\'thek the Cruel",
[1060]="Mogh the Undying",
[1061]="Gan\'zulah",
[1062]="Nezzliok the Dire",
[1063]="Jade",
[1064]="Grom\'gol Grunt",
[1065]="Riverpaw Shaman",
[1068]="Gorn",
[1069]="Crimson Whelp",
[1070]="Deputy Feldon",
[1071]="Longbraid the Grim",
[1072]="Roggo Harlbarrow",
[1073]="Ashlan Stonesmirk",
[1074]="Motley Garmason",
[1075]="Rhag Garmason",
[1076]="Merrin Rockweaver",
[1077]="Prospector Whelgar",
[1078]="Ormer Ironbraid",
[1081]="Mire Lord",
[1082]="Sawtooth Crocolisk",
[1083]="Murloc Shorestriker",
[1084]="Young Sawtooth Crocolisk",
[1085]="Elder Stranglethorn Tiger",
[1087]="Sawtooth Snapper",
[1088]="Monstrous Crawler",
[1089]="Mountaineer Cobbleflint",
[1090]="Mountaineer Wallbang",
[1091]="Mountaineer Gravelgaw",
[1092]="Captain Rugelfuss",
[1093]="Chief Engineer Hinderweir VII",
[1094]="Venture Co. Miner",
[1095]="Venture Co. Workboss",
[1096]="Venture Co. Geologist",
[1097]="Venture Co. Mechanic",
[1098]="Watcher Merant",
[1099]="Watcher Gelwin",
[1100]="Watcher Selkin",
[1101]="Watcher Thayer",
[1103]="Eldrin",
[1104]="Grundel Harkin",
[1105]="Jern Hornhelm",
[1106]="Lost One Cook",
[1108]="Mistvale Gorilla",
[1109]="Fleshripper",
[1110]="Skeletal Raider",
[1111]="Leech Stalker",
[1112]="Leech Widow",
[1114]="Jungle Thunderer",
[1115]="Rockjaw Skullthumper",
[1116]="Rockjaw Ambusher",
[1117]="Rockjaw Bonesnapper",
[1118]="Rockjaw Backbreaker",
[1119]="Hammerspine",
[1120]="Frostmane Troll",
[1121]="Frostmane Snowstrider",
[1122]="Frostmane Hideskinner",
[1123]="Frostmane Headhunter",
[1124]="Frostmane Shadowcaster",
[1125]="Crag Boar",
[1126]="Large Crag Boar",
[1127]="Elder Crag Boar",
[1128]="Young Black Bear",
[1129]="Black Bear",
[1130]="Bjarn",
[1131]="Winter Wolf",
[1132]="Timber",
[1133]="Starving Winter Wolf",
[1134]="Young Wendigo",
[1135]="Wendigo",
[1137]="Edan the Howler",
[1138]="Snow Tracker Wolf",
[1139]="Magistrate Bluntnose",
[1140]="Razormaw Matriarch",
[1141]="Angus Stern",
[1142]="Mosh\'Ogg Brute",
[1144]="Mosh\'Ogg Witch Doctor",
[1146]="Vharr",
[1147]="Hragran",
[1148]="Nerrist",
[1149]="Uthok",
[1150]="River Crocolisk",
[1151]="Saltwater Crocolisk",
[1152]="Snapjaw Crocolisk",
[1153]="Torren Squarejaw",
[1154]="Marek Ironheart",
[1155]="Kelt Thomasin",
[1156]="Vyrin Swiftwind",
[1157]="Cursed Sailor",
[1158]="Cursed Marine",
[1159]="First Mate Snellig",
[1160]="Captain Halyndor",
[1161]="Stonesplinter Trogg",
[1162]="Stonesplinter Scout",
[1163]="Stonesplinter Skullthumper",
[1164]="Stonesplinter Bonesnapper",
[1165]="Stonesplinter Geomancer",
[1166]="Stonesplinter Seer",
[1167]="Stonesplinter Digger",
[1169]="Dark Iron Insurgent",
[1172]="Tunnel Rat Vermin",
[1173]="Tunnel Rat Scout",
[1174]="Tunnel Rat Geomancer",
[1175]="Tunnel Rat Digger",
[1176]="Tunnel Rat Forager",
[1177]="Tunnel Rat Surveyor",
[1178]="Mo\'grosh Ogre",
[1179]="Mo\'grosh Enforcer",
[1180]="Mo\'grosh Brute",
[1181]="Mo\'grosh Shaman",
[1182]="Brother Anton",
[1183]="Mo\'grosh Mystic",
[1184]="Cliff Lurker",
[1185]="Wood Lurker",
[1186]="Elder Black Bear",
[1187]="Daryl the Youngling",
[1188]="Grizzled Black Bear",
[1189]="Black Bear Patriarch",
[1190]="Mountain Boar",
[1191]="Mangy Mountain Boar",
[1192]="Elder Mountain Boar",
[1193]="Loch Frenzy",
[1194]="Mountain Buzzard",
[1195]="Forest Lurker",
[1196]="Ice Claw Bear",
[1197]="Stonesplinter Shaman",
[1198]="Rallic Finn",
[1199]="Juvenile Snow Leopard",
[1200]="Morbent Fel",
[1201]="Snow Leopard",
[1202]="Tunnel Rat Kobold",
[1203]="Watcher Sarys",
[1204]="Watcher Corwin",
[1205]="Grawmug",
[1206]="Gnasher",
[1207]="Brawler",
[1210]="Chok\'sul",
[1211]="Leper Gnome",
[1212]="Bishop Farthing",
[1213]="Godric Rothgar",
[1214]="Aldren Cordon",
[1215]="Alchemist Mallory",
[1216]="Shore Crawler",
[1217]="Glorin Steelbrow",
[1218]="Herbalist Pomeroy",
[1222]="Dark Iron Sapper",
[1224]="Young Threshadon",
[1225]="Ol\' Sooty",
[1226]="Maxan Anvol",
[1228]="Magis Sparkmantle",
[1229]="Granis Swiftaxe",
[1231]="Grif Wildheart",
[1232]="Azar Stronghammer",
[1233]="Shaethis Darkoak",
[1234]="Hogral Bakkan",
[1236]="Kobold Digger",
[1237]="Kazan Mogosh",
[1238]="Gamili Frosthide",
[1239]="First Mate Fitzsimmons",
[1240]="Boran Ironclink",
[1241]="Tognus Flintfire",
[1242]="Karl Boran",
[1243]="Hegnar Rumbleshot",
[1244]="Rethiel the Greenwarden",
[1245]="Kogan Forgestone",
[1246]="Vosur Brakthel",
[1247]="Innkeeper Belm",
[1249]="Quartermaster Hudson",
[1250]="Drake Lindgren",
[1251]="Splinter Fist Firemonger",
[1252]="Senir Whitebeard",
[1253]="Father Gavin",
[1254]="Foreman Stonebrow",
[1255]="Prospector Gehn",
[1256]="Quarrymaster Thesten",
[1257]="Keldric Boucher",
[1258]="Black Ravager Mastiff",
[1259]="Gobbler",
[1260]="Great Father Arctikus",
[1261]="Veron Amberstill",
[1263]="Yarlyn Amberstill",
[1265]="Rudra Amberstill",
[1266]="Tundra MacGrann",
[1267]="Ragnar Thunderbrew",
[1268]="Ozzie Togglevolt",
[1269]="Razzle Sprysprocket",
[1270]="Fetid Corpse",
[1271]="Old Icebeard",
[1273]="Grawn Thromwyn",
[1274]="Senator Barin Redstone",
[1275]="Kyra Boucher",
[1276]="Mountaineer Brokk",
[1277]="Mountaineer Ganin",
[1278]="Mountaineer Stenn",
[1279]="Mountaineer Flint",
[1280]="Mountaineer Droken",
[1281]="Mountaineer Zaren",
[1282]="Mountaineer Veek",
[1283]="Mountaineer Kalmir",
[1284]="Archbishop Benedictus",
[1285]="Thurman Mullby",
[1286]="Edna Mullby",
[1287]="Marda Weller",
[1289]="Gunther Weller",
[1291]="Carla Granger",
[1292]="Maris Granger",
[1294]="Aldric Moore",
[1295]="Lara Moore",
[1296]="Felder Stover",
[1297]="Lina Stover",
[1298]="Frederick Stover",
[1299]="Lisbeth Schneider",
[1300]="Lawrence Schneider",
[1301]="Julia Gallina",
[1302]="Bernard Gump",
[1303]="Felicia Gump",
[1304]="Darian Singh",
[1305]="Jarel Moor",
[1307]="Charys Yserian",
[1308]="Owen Vaughn",
[1309]="Wynne Larson",
[1310]="Evan Larson",
[1311]="Joachim Brenlow",
[1312]="Ardwyn Cailen",
[1313]="Maria Lumere",
[1314]="Duncan Cullen",
[1315]="Allan Hafgan",
[1316]="Adair Gilroy",
[1317]="Lucan Cordell",
[1318]="Jessara Cordell",
[1319]="Bryan Cross",
[1320]="Seoman Griffith",
[1321]="Alyssa Griffith",
[1322]="Maxton Strang",
[1323]="Osric Strang",
[1324]="Heinrich Stone",
[1325]="Jasper Fel",
[1326]="Sloan McCoy",
[1327]="Reese Langston",
[1328]="Elly Langston",
[1329]="Mountaineer Naarh",
[1330]="Mountaineer Tyraw",
[1331]="Mountaineer Luxst",
[1332]="Mountaineer Morran",
[1333]="Gerik Koen",
[1334]="Mountaineer Hammerfall",
[1335]="Mountaineer Yuttha",
[1336]="Mountaineer Zwarn",
[1337]="Mountaineer Gwarth",
[1338]="Mountaineer Dalk",
[1339]="Mayda Thane",
[1340]="Mountaineer Kadrell",
[1341]="Wilhelm Strang",
[1342]="Mountaineer Rockgar",
[1343]="Mountaineer Stormpike",
[1344]="Prospector Ironband",
[1345]="Magmar Fellhew",
[1346]="Georgio Bolero",
[1347]="Alexandra Bolero",
[1348]="Gregory Ardus",
[1349]="Agustus Moulaine",
[1350]="Theresa Moulaine",
[1351]="Brother Cassius",
[1352]="Fluffy",
[1353]="Sarltooth",
[1354]="Apprentice Soren",
[1355]="Cook Ghilm",
[1356]="Prospector Stormpike",
[1358]="Miner Grothor",
[1360]="Miner Grumnal",
[1362]="Gothor Brumn",
[1364]="Balgaras the Foul",
[1365]="Goli Krumn",
[1366]="Adam",
[1367]="Billy",
[1368]="Justin",
[1370]="Brandon",
[1371]="Roman",
[1373]="Jarven Thunderbrew",
[1374]="Rejold Barleybrew",
[1375]="Marleth Barleybrew",
[1376]="Beldin Steelgrill",
[1377]="Pilot Stonegear",
[1378]="Pilot Bellowfiz",
[1379]="Miran",
[1380]="Saean",
[1381]="Krakk",
[1382]="Mudduk",
[1383]="Snarl",
[1385]="Brawn",
[1386]="Rogvar",
[1387]="Thysta",
[1388]="Vagash",
[1393]="Berserk Trogg",
[1395]="Ol\' Beasley",
[1397]="Frostmane Seer",
[1398]="Boss Galgosh",
[1399]="Magosh",
[1400]="Wetlands Crocolisk",
[1402]="Topper McNabb",
[1404]="Kragg",
[1405]="Morris Lawry",
[1407]="Sranda",
[1411]="Ian Strom",
[1412]="Squirrel",
[1413]="Janey Anship",
[1414]="Lisan Pierce",
[1415]="Suzanne",
[1416]="Grimand Elmore",
[1417]="Young Wetlands Crocolisk",
[1418]="Bluegill Raider",
[1419]="Fizzles",
[1420]="Toad",
[1421]="Private Merle",
[1422]="Corporal Sethman",
[1423]="Stormwind Guard",
[1424]="Master Digger",
[1425]="Grizlak",
[1426]="Riverpaw Miner",
[1427]="Harlan Bagley",
[1428]="Rema Schneider",
[1429]="Thurman Schneider",
[1430]="Tomas",
[1431]="Suzetta Gallina",
[1432]="Renato Gallina",
[1433]="Corbett Schneider",
[1434]="Menethil Sentry",
[1435]="Zardeth of the Black Claw",
[1436]="Watcher Cutford",
[1437]="Thomas Booker",
[1439]="Lord Baurles K. Wishock",
[1440]="Milton Sheaf",
[1441]="Brak Durnad",
[1442]="Helgrum the Swift",
[1443]="Fel\'zerul",
[1444]="Brother Kristoff",
[1445]="Jesse Halloran",
[1446]="Regina Halloran",
[1447]="Gimlok Rumdnul",
[1448]="Neal Allen",
[1449]="Witch Doctor Unbagwa",
[1450]="Brahnmar",
[1451]="Camerick Jongleur",
[1452]="Gruham Rumdnul",
[1453]="Dewin Shimmerdawn",
[1454]="Jennabink Powerseam",
[1456]="Kersok Prond",
[1457]="Samor Festivus",
[1458]="Telurinon Moonshadow",
[1459]="Naela Trance",
[1460]="Unger Statforth",
[1461]="Murndan Derth",
[1462]="Edwina Monzor",
[1463]="Falkan Armonis",
[1464]="Innkeeper Helbrek",
[1465]="Drac Roughcut",
[1466]="Gretta Finespindle",
[1469]="Vrok Blunderblast",
[1470]="Ghak Healtouch",
[1471]="Jannos Ironwill",
[1472]="Morgg Stormshot",
[1473]="Kali Healtouch",
[1474]="Rann Flamespinner",
[1475]="Menethil Guard",
[1476]="Hargin Mundar",
[1477]="Christoph Faral",
[1478]="Aedis Brom",
[1479]="Timothy Clark",
[1480]="Caitlin Grassman",
[1481]="Bart Tidewater",
[1482]="Andrea Halloran",
[1483]="Murphy West",
[1484]="Derina Rumdnul",
[1487]="Splinter Fist Enslaver",
[1488]="Zanzil Zombie",
[1489]="Zanzil Hunter",
[1490]="Zanzil Witch Doctor",
[1491]="Zanzil Naga",
[1492]="Gorlash",
[1493]="Mok\'rash",
[1494]="Negolash",
[1495]="Deathguard Linnea",
[1496]="Deathguard Dillinger",
[1497]="Gunther Arcanus",
[1498]="Bethor Iceshard",
[1499]="Magistrate Sevren",
[1500]="Coleman Farthing",
[1501]="Mindless Zombie",
[1502]="Wretched Zombie",
[1504]="Young Night Web Spider",
[1505]="Night Web Spider",
[1506]="Scarlet Convert",
[1507]="Scarlet Initiate",
[1508]="Young Scavenger",
[1509]="Ragged Scavenger",
[1511]="Enraged Silverback Gorilla",
[1512]="Duskbat",
[1513]="Mangy Duskbat",
[1514]="Mokk the Savage",
[1515]="Executor Zygand",
[1516]="Konda",
[1518]="Apothecary Johaan",
[1519]="Deathguard Simmer",
[1520]="Rattlecage Soldier",
[1521]="Gretchen Dedmar",
[1522]="Darkeye Bonecaster",
[1523]="Cracked Skull Soldier",
[1525]="Rotting Dead",
[1526]="Ravaged Corpse",
[1527]="Hungering Dead",
[1528]="Shambling Horror",
[1529]="Bleeding Horror",
[1530]="Rotting Ancestor",
[1531]="Lost Soul",
[1532]="Wandering Spirit",
[1533]="Tormented Spirit",
[1534]="Wailing Ancestor",
[1535]="Scarlet Warrior",
[1536]="Scarlet Missionary",
[1537]="Scarlet Zealot",
[1538]="Scarlet Friar",
[1539]="Scarlet Neophyte",
[1540]="Scarlet Vanguard",
[1543]="Vile Fin Puddlejumper",
[1544]="Vile Fin Minor Oracle",
[1545]="Vile Fin Muckdweller",
[1547]="Decrepit Darkhound",
[1548]="Cursed Darkhound",
[1549]="Ravenous Darkhound",
[1550]="Thrashtail Basilisk",
[1551]="Ironjaw Basilisk",
[1552]="Scale Belly",
[1553]="Greater Duskbat",
[1554]="Vampiric Duskbat",
[1555]="Vicious Night Web Spider",
[1557]="Elder Mistvale Gorilla",
[1558]="Silverback Patriarch",
[1559]="King Mukla",
[1560]="Yvette Farthing",
[1561]="Bloodsail Raider",
[1562]="Bloodsail Mage",
[1563]="Bloodsail Swashbuckler",
[1564]="Bloodsail Warlock",
[1565]="Bloodsail Sea Dog",
[1568]="Undertaker Mordo",
[1569]="Shadow Priest Sarvis",
[1570]="Executor Arren",
[1571]="Shellei Brondir",
[1572]="Thorgrum Borrelson",
[1573]="Gryth Thurden",
[1632]="Adele Fielder",
[1642]="Northshire Guard",
[1645]="Quartermaster Hicks",
[1646]="Baros Alexston",
[1650]="Terry Palin",
[1651]="Lee Brown",
[1652]="Deathguard Burgess",
[1653]="Bloodsail Elder Magus",
[1654]="Gregor Agamand",
[1655]="Nissa Agamand",
[1656]="Thurman Agamand",
[1657]="Devlin Agamand",
[1658]="Captain Dargol",
[1660]="Scarlet Bodyguard",
[1661]="Novice Elreth",
[1662]="Captain Perrine",
[1663]="Dextren Ward",
[1664]="Captain Vachon",
[1665]="Captain Melrache",
[1666]="Kam Deepfury",
[1667]="Meven Korgal",
[1668]="William MacGregor",
[1669]="Defias Profiteer",
[1670]="Mike Miller",
[1671]="Lamar Veisilli",
[1672]="Lohgan Eva",
[1673]="Alyssa Eva",
[1674]="Rot Hide Gnoll",
[1675]="Rot Hide Mongrel",
[1676]="Finbus Geargrind",
[1678]="Vernon Hale",
[1679]="Avarus Kharag",
[1680]="Matthew Hooper",
[1681]="Brock Stoneseeker",
[1682]="Yanni Stoutheart",
[1683]="Warg Deepwater",
[1684]="Khara Deepwater",
[1685]="Xandar Goodbeard",
[1686]="Irene Sureshot",
[1687]="Cliff Hadin",
[1688]="Night Web Matriarch",
[1689]="Scarred Crag Boar",
[1690]="Thrawn Boltar",
[1691]="Kreg Bilmn",
[1692]="Golorn Frostbeard",
[1693]="Loch Crocolisk",
[1694]="Loslor Rudge",
[1695]="Rendow",
[1696]="Targorr the Dread",
[1697]="Keeg Gibn",
[1698]="Frast Dokner",
[1699]="Gremlock Pilsnor",
[1700]="Paxton Ganter",
[1701]="Dank Drizzlecut",
[1702]="Bronk Guzzlegear",
[1703]="Uthrar Threx",
[1706]="Defias Prisoner",
[1707]="Defias Captive",
[1708]="Defias Inmate",
[1711]="Defias Convict",
[1713]="Elder Shadowmaw Panther",
[1715]="Defias Insurgent",
[1716]="Bazil Thredd",
[1717]="Hamhock",
[1718]="Rockjaw Raider",
[1719]="Warden Thelwater",
[1720]="Bruegal Ironknuckle",
[1721]="Nikova Raskol",
[1725]="Defias Watchman",
[1726]="Defias Magician",
[1727]="Defias Worker",
[1729]="Defias Evoker",
[1731]="Goblin Craftsman",
[1732]="Defias Squallshaper",
[1733]="Zggi",
[1735]="Deathguard Abraham",
[1736]="Deathguard Randolph",
[1737]="Deathguard Oliver",
[1738]="Deathguard Terrence",
[1739]="Deathguard Phillip",
[1740]="Deathguard Saltain",
[1741]="Deathguard Bartrand",
[1742]="Deathguard Bartholomew",
[1743]="Deathguard Lawrence",
[1744]="Deathguard Mort",
[1745]="Deathguard Morris",
[1746]="Deathguard Cyrus",
[1747]="Anduin Wrynn",
[1748]="Highlord Bolvar Fordragon",
[1749]="Lady Katrana Prestor",
[1750]="Grand Admiral Jes-Tereth",
[1751]="Mithras Ironhill",
[1752]="Caledra Dawnbreeze",
[1753]="Maggot Eye",
[1754]="Lord Gregor Lescovar",
[1755]="Marzon the Silent Blade",
[1756]="Stormwind Royal Guard",
[1763]="Gilnid",
[1764]="Greater Feral Spirit",
[1765]="Worg",
[1766]="Mottled Worg",
[1767]="Vile Fin Shredder",
[1768]="Vile Fin Tidehunter",
[1769]="Moonrage Whitescalp",
[1770]="Moonrage Darkrunner",
[1772]="Rot Hide Gladerunner",
[1773]="Rot Hide Mystic",
[1775]="Zun\'dartha",
[1776]="Magtoor",
[1777]="Dakk Blunderblast",
[1778]="Ferocious Grizzled Bear",
[1779]="Moonrage Glutton",
[1780]="Moss Stalker",
[1781]="Mist Creeper",
[1782]="Moonrage Darksoul",
[1783]="Skeletal Flayer",
[1784]="Skeletal Sorcerer",
[1785]="Skeletal Terror",
[1787]="Skeletal Executioner",
[1788]="Skeletal Warlord",
[1789]="Skeletal Acolyte",
[1791]="Slavering Ghoul",
[1793]="Rotting Ghoul",
[1794]="Soulless Ghoul",
[1795]="Searing Ghoul",
[1796]="Freezing Ghoul",
[1797]="Giant Grizzled Bear",
[1800]="Cold Wraith",
[1801]="Blood Wraith",
[1802]="Hungering Wraith",
[1804]="Wailing Death",
[1805]="Flesh Golem",
[1806]="Vile Slime",
[1808]="Devouring Ooze",
[1809]="Carrion Vulture",
[1812]="Rotting Behemoth",
[1813]="Decaying Horror",
[1815]="Diseased Black Bear",
[1816]="Diseased Grizzly",
[1817]="Diseased Wolf",
[1821]="Carrion Lurker",
[1822]="Venom Mist Lurker",
[1824]="Plague Lurker",
[1826]="Scarlet Mage",
[1827]="Scarlet Sentinel",
[1831]="Scarlet Hunter",
[1832]="Scarlet Magus",
[1833]="Scarlet Knight",
[1834]="Scarlet Paladin",
[1835]="Scarlet Invoker",
[1836]="Scarlet Cavalier",
[1837]="Scarlet Judge",
[1838]="Scarlet Interrogator",
[1839]="Scarlet High Clerist",
[1840]="Grand Inquisitor Isillien",
[1841]="Scarlet Executioner",
[1842]="Highlord Taelan Fordring",
[1843]="Foreman Jerris",
[1844]="Foreman Marcrid",
[1845]="High Protector Tarsen",
[1846]="High Protector Lorik",
[1847]="Foulmane",
[1848]="Lord Maldazzar",
[1850]="Putridius",
[1851]="The Husk",
[1852]="Araj the Summoner",
[1853]="Darkmaster Gandling",
[1854]="High Priest Thel\'danis",
[1855]="Tirion Fordring",
[1860]="Voidwalker",
[1863]="Succubus",
[1865]="Ravenclaw Raider",
[1866]="Ravenclaw Slave",
[1867]="Dalaran Apprentice",
[1868]="Ravenclaw Servant",
[1869]="Ravenclaw Champion",
[1870]="Hand of Ravenclaw",
[1871]="Eliza\'s Guard",
[1872]="Tharek Blackstone",
[1880]="Berte",
[1883]="Scarlet Worker",
[1884]="Scarlet Lumberjack",
[1885]="Scarlet Smith",
[1888]="Dalaran Watcher",
[1889]="Dalaran Wizard",
[1890]="Rattlecage Skeleton",
[1891]="Pyrewood Watcher",
[1892]="Moonrage Watcher",
[1893]="Moonrage Sentry",
[1894]="Pyrewood Sentry",
[1895]="Pyrewood Elder",
[1896]="Moonrage Elder",
[1901]="Kelstrum Stonebreaker",
[1907]="Naga Explorer",
[1908]="Vile Fin Oracle",
[1909]="Vile Fin Lakestalker",
[1910]="Muad",
[1911]="Deeb",
[1912]="Dalaran Protector",
[1913]="Dalaran Warder",
[1914]="Dalaran Mage",
[1915]="Dalaran Conjuror",
[1916]="Stephen Bhartec",
[1917]="Daniel Ulfman",
[1918]="Karrel Grayves",
[1919]="Samuel Fipps",
[1920]="Dalaran Spellscribe",
[1921]="Combat Dummy",
[1922]="Gray Forest Wolf",
[1923]="Bloodsnout Worg",
[1924]="Moonrage Bloodhowler",
[1931]="Captured Scarlet Zealot",
[1933]="Sheep",
[1934]="Tirisfal Farmer",
[1935]="Tirisfal Farmhand",
[1936]="Farmer Solliden",
[1937]="Apothecary Renferrel",
[1938]="Dalar Dawnweaver",
[1939]="Rot Hide Brute",
[1940]="Rot Hide Plague Weaver",
[1941]="Rot Hide Graverobber",
[1942]="Rot Hide Savage",
[1943]="Raging Rot Hide",
[1944]="Rot Hide Bruiser",
[1946]="Lillith Nefara",
[1947]="Thule Ravenclaw",
[1948]="Snarlmane",
[1949]="Servant of Azora",
[1950]="Rane Yorick",
[1951]="Quinn Yorick",
[1952]="High Executor Hadrec",
[1953]="Lake Skulker",
[1954]="Elder Lake Skulker",
[1955]="Lake Creeper",
[1956]="Elder Lake Creeper",
[1957]="Vile Fin Shorecreeper",
[1958]="Vile Fin Tidecaller",
[1959]="Mountaineer Barleybrew",
[1960]="Pilot Hammerfoot",
[1961]="Mangeclaw",
[1963]="Vidra Hearthstove",
[1964]="Treant",
[1965]="Mountaineer Thalos",
[1971]="Ivar the Foul",
[1972]="Grimson the Pale",
[1973]="Ravenclaw Guardian",
[1974]="Ravenclaw Drudger",
[1975]="Eastvale Lumberjack",
[1976]="Stormwind City Patroller",
[1977]="Senator Mehr Stonehallow",
[1978]="Deathstalker Erland",
[1981]="Dark Iron Ambusher",
[1983]="Nightlash",
[1984]="Young Thistle Boar",
[1985]="Thistle Boar",
[1986]="Webwood Spider",
[1988]="Grell",
[1989]="Grellkin",
[1992]="Tarindrella",
[1993]="Greenpaw",
[1994]="Githyiss the Vile",
[1995]="Strigid Owl",
[1996]="Strigid Screecher",
[1997]="Strigid Hunter",
[1998]="Webwood Lurker",
[1999]="Webwood Venomfang",
[2000]="Webwood Silkspinner",
[2001]="Giant Webwood Spider",
[2002]="Rascal Sprite",
[2003]="Shadow Sprite",
[2004]="Dark Sprite",
[2005]="Vicious Grell",
[2006]="Gnarlpine Ursa",
[2007]="Gnarlpine Gardener",
[2008]="Gnarlpine Warrior",
[2009]="Gnarlpine Shaman",
[2010]="Gnarlpine Defender",
[2011]="Gnarlpine Augur",
[2012]="Gnarlpine Pathfinder",
[2013]="Gnarlpine Avenger",
[2014]="Gnarlpine Totemic",
[2015]="Bloodfeather Harpy",
[2017]="Bloodfeather Rogue",
[2018]="Bloodfeather Sorceress",
[2019]="Bloodfeather Fury",
[2020]="Bloodfeather Wind Witch",
[2021]="Bloodfeather Matriarch",
[2022]="Timberling",
[2025]="Timberling Bark Ripper",
[2027]="Timberling Trampler",
[2029]="Timberling Mire Beast",
[2030]="Elder Timberling",
[2031]="Young Nightsaber",
[2032]="Mangy Nightsaber",
[2033]="Elder Nightsaber",
[2034]="Feral Nightsaber",
[2038]="Lord Melenas",
[2039]="Ursal the Mauler",
[2041]="Ancient Protector",
[2042]="Nightsaber",
[2043]="Nightsaber Stalker",
[2044]="Forlorn Spirit",
[2046]="Andrew Krighton",
[2050]="Raleigh Andrean",
[2051]="Twain The Tester FOO",
[2053]="Haggard Refugee",
[2054]="Sickly Refugee",
[2055]="Master Apothecary Faranell",
[2056]="Ravenclaw Apparition",
[2057]="Huldar",
[2058]="Deathstalker Faerleia",
[2060]="Councilman Smithers",
[2061]="Councilman Thatcher",
[2062]="Councilman Hendricks",
[2063]="Councilman Wilhelm",
[2064]="Councilman Hartin",
[2065]="Councilman Cooper",
[2066]="Councilman Higarth",
[2067]="Councilman Brunswick",
[2068]="Lord Mayor Morrison",
[2069]="Moonstalker",
[2070]="Moonstalker Runt",
[2071]="Moonstalker Matriarch",
[2077]="Melithar Staghelm",
[2078]="Athridas Bearmantle",
[2079]="Conservator Ilthalaine",
[2080]="Denalan",
[2081]="Sentinel Kyra Starsong",
[2082]="Gilshalan Windwalker",
[2083]="Syral Bladeleaf",
[2084]="Natheril Raincaller",
[2086]="Valstag Ironjaw",
[2089]="Giant Wetlands Crocolisk",
[2090]="Ma\'ruk Wyrmscale",
[2091]="Chieftain Nek\'rosh",
[2092]="Pilot Longbeard",
[2093]="Einar Stonegrip",
[2094]="James Halloran",
[2096]="Tarrel Rockweaver",
[2097]="Harlo Barnaby",
[2098]="Ram",
[2099]="Maiden\'s Virtue Crewman",
[2102]="Dragonmaw Grunt",
[2103]="Dragonmaw Scout",
[2104]="Captain Stoutfist",
[2105]="Mountaineer Dokkin",
[2106]="Apothecary Berard",
[2107]="Gaerolas Talvethren",
[2108]="Garneg Charskull",
[2110]="Black Rat",
[2111]="Sida",
[2112]="Farrin Daris",
[2113]="Archibald Kava",
[2114]="Faruza",
[2115]="Joshua Kien",
[2116]="Blacksmith Rand",
[2117]="Harold Raims",
[2118]="Abigail Shiel",
[2119]="Dannal Stern",
[2120]="Archmage Ataeric",
[2121]="Shadow Priest Allister",
[2122]="David Trias",
[2123]="Dark Cleric Duesten",
[2124]="Isabella",
[2126]="Maximillion",
[2127]="Rupert Boch",
[2128]="Cain Firesong",
[2129]="Dark Cleric Beryl",
[2130]="Marion Call",
[2131]="Austil de Mon",
[2132]="Carolai Anise",
[2134]="Mrs. Winters",
[2135]="Abe Winters",
[2136]="Oliver Dwor",
[2137]="Eliza Callen",
[2140]="Edwin Harly",
[2142]="Watcher Callahan",
[2149]="Dark Iron Raider",
[2150]="Zenn Foulhoof",
[2151]="Moon Priestess Amara",
[2152]="Gnarlpine Ambusher",
[2153]="Terl Arakor",
[2155]="Sentinel Shayla Nightbreeze",
[2156]="Cracked Golem",
[2157]="Stone Behemoth",
[2158]="Gravelflint Scout",
[2159]="Gravelflint Bonesnapper",
[2160]="Gravelflint Geomancer",
[2162]="Agal",
[2163]="Thistle Bear",
[2164]="Rabid Thistle Bear",
[2165]="Grizzled Thistle Bear",
[2166]="Oakenscowl",
[2167]="Blackwood Pathfinder",
[2168]="Blackwood Warrior",
[2169]="Blackwood Totemic",
[2170]="Blackwood Ursa",
[2171]="Blackwood Shaman",
[2172]="Strider Clutchmother",
[2173]="Reef Frenzy",
[2174]="Coastal Frenzy",
[2175]="Shadowclaw",
[2176]="Cursed Highborne",
[2177]="Writhing Highborne",
[2178]="Wailing Highborne",
[2179]="Stormscale Wave Rider",
[2180]="Stormscale Siren",
[2181]="Stormscale Myrmidon",
[2182]="Stormscale Sorceress",
[2183]="Stormscale Warrior",
[2184]="Lady Moongazer",
[2185]="Darkshore Thresher",
[2186]="Carnivous the Breaker",
[2187]="Elder Darkshore Thresher",
[2188]="Deep Sea Threshadon",
[2189]="Vile Sprite",
[2190]="Wild Grell",
[2191]="Licillin",
[2192]="Firecaller Radison",
[2198]="Crier Goodman",
[2201]="Greymist Raider",
[2202]="Greymist Coastrunner",
[2203]="Greymist Seer",
[2204]="Greymist Netter",
[2205]="Greymist Warrior",
[2206]="Greymist Hunter",
[2207]="Greymist Oracle",
[2208]="Greymist Tidehunter",
[2209]="Deathguard Gavin",
[2210]="Deathguard Royann",
[2211]="Captured Mountaineer",
[2212]="Deth\'ryll Satyr",
[2214]="Deathstalker Lesh",
[2215]="High Executor Darthalia",
[2216]="Apothecary Lydon",
[2224]="Wind Rider",
[2225]="Zora Guthrek",
[2226]="Karos Razok",
[2227]="Sharlindra",
[2228]="Lieutenant Farren Orinelle",
[2229]="Krusk",
[2230]="Umpi",
[2231]="Pygmy Tide Crawler",
[2232]="Tide Crawler",
[2233]="Encrusted Tide Crawler",
[2234]="Young Reef Crawler",
[2235]="Reef Crawler",
[2236]="Raging Reef Crawler",
[2237]="Moonstalker Sire",
[2238]="Tog\'thar",
[2239]="Drull",
[2240]="Syndicate Footpad",
[2241]="Syndicate Thief",
[2242]="Syndicate Spy",
[2243]="Syndicate Sentry",
[2244]="Syndicate Shadow Mage",
[2245]="Syndicate Saboteur",
[2246]="Syndicate Assassin",
[2247]="Syndicate Enforcer",
[2248]="Cave Yeti",
[2249]="Ferocious Yeti",
[2250]="Mountain Yeti",
[2251]="Giant Yeti",
[2252]="Crushridge Ogre",
[2253]="Crushridge Brute",
[2254]="Crushridge Mauler",
[2255]="Crushridge Mage",
[2256]="Crushridge Enforcer",
[2257]="Mug\'thol",
[2258]="Stone Fury",
[2260]="Syndicate Rogue",
[2261]="Syndicate Watchman",
[2263]="Marshal Redpath",
[2264]="Hillsbrad Tailor",
[2265]="Hillsbrad Apprentice Blacksmith",
[2266]="Hillsbrad Farmer",
[2267]="Hillsbrad Peasant",
[2268]="Hillsbrad Footman",
[2269]="Hillsbrad Miner",
[2270]="Hillsbrad Sentry",
[2271]="Dalaran Shield Guard",
[2272]="Dalaran Theurgist",
[2274]="Stanley",
[2275]="Enraged Stanley",
[2276]="Magistrate Henry Maleb",
[2277]="Loremaster Dibbs",
[2278]="Melisara",
[2283]="Ravenclaw Regent",
[2284]="Captured Farmer",
[2285]="Count Remington Ridgewell",
[2287]="Crushridge Warmonger",
[2299]="Borgus Stoutarm",
[2302]="Aethalas",
[2303]="Lyranne Feathersong",
[2304]="Captain Ironhill",
[2305]="Foreman Bonds",
[2306]="Baron Vardus",
[2307]="Caretaker Caice",
[2308]="Andrew Brownell",
[2309]="Thomas Arlento",
[2310]="Jamie Nore",
[2311]="Doreen Beltis",
[2314]="Sahvan Bloodshadow",
[2315]="Maquell Ebonwood",
[2316]="Gol\'dir",
[2317]="Elysa",
[2318]="Argus Shadow Mage",
[2319]="Syndicate Wizard",
[2320]="Nagaz",
[2321]="Foreststrider Fledgling",
[2322]="Foreststrider",
[2323]="Giant Foreststrider",
[2324]="Blackwood Windtalker",
[2326]="Thamner Pol",
[2327]="Shaina Fuller",
[2329]="Michelle Belle",
[2330]="Karlee Chaddis",
[2331]="Paige Chaddis",
[2332]="Valdred Moray",
[2333]="Henchman Valik",
[2334]="Event Generator 001",
[2335]="Magistrate Burnside",
[2336]="Dark Strand Fanatic",
[2337]="Dark Strand Voidcaller",
[2338]="Twilight Disciple",
[2339]="Twilight Thug",
[2344]="Dun Garok Mountaineer",
[2345]="Dun Garok Rifleman",
[2346]="Dun Garok Priest",
[2347]="Wild Gryphon",
[2348]="Elder Moss Creeper",
[2349]="Giant Moss Creeper",
[2350]="Forest Moss Creeper",
[2351]="Gray Bear",
[2352]="Innkeeper Anderson",
[2354]="Vicious Gray Bear",
[2356]="Elder Gray Bear",
[2357]="Merideth Carlson",
[2358]="Dalaran Summoner",
[2359]="Elemental Slave",
[2360]="Hillsbrad Farmhand",
[2361]="Tamara Armstrong",
[2362]="Hemmit Armstrong",
[2363]="Apprentice Honeywell",
[2364]="Neema",
[2365]="Bront Coldcleave",
[2366]="Barkeep Kelly",
[2367]="Donald Rabonne",
[2368]="Daggerspine Shorestalker",
[2369]="Daggerspine Shorehunter",
[2370]="Daggerspine Screamer",
[2371]="Daggerspine Siren",
[2372]="Mudsnout Gnoll",
[2373]="Mudsnout Shaman",
[2374]="Torn Fin Muckdweller",
[2375]="Torn Fin Coastrunner",
[2376]="Torn Fin Oracle",
[2377]="Torn Fin Tidehunter",
[2378]="Kundric Zanden",
[2379]="Caretaker Smithers",
[2380]="Nandar Branson",
[2381]="Micha Yance",
[2382]="Darren Malvew",
[2383]="Lindea Rabonne",
[2384]="Starving Mountain Lion",
[2385]="Feral Mountain Lion",
[2386]="Southshore Guard",
[2387]="Hillsbrad Councilman",
[2388]="Innkeeper Shay",
[2389]="Zarise",
[2390]="Aranae Venomblood",
[2391]="Serge Hinott",
[2392]="Delia Verana",
[2393]="Christoph Jeffcoat",
[2394]="Mallen Swain",
[2395]="Vinna Wayne",
[2396]="Hans Zandin",
[2397]="Derak Nightfall",
[2398]="Tara Coldgaze",
[2399]="Daryl Stack",
[2400]="Craig Hewitt",
[2401]="Kayren Soothallow",
[2402]="Shara Blazen",
[2403]="Farmer Getz",
[2404]="Blacksmith Verringtan",
[2405]="Tarren Mill Deathguard",
[2406]="Mountain Lion",
[2407]="Hulking Mountain Lion",
[2408]="Snapjaw",
[2409]="Felicia Maline",
[2410]="Magus Wordeen Voidglare",
[2411]="Ricter",
[2412]="Alina",
[2413]="Dermot",
[2414]="Kegan Darkmar",
[2415]="Warden Belamoore",
[2416]="Crushridge Plunderer",
[2417]="Grel\'borg the Miser",
[2418]="Deathguard Samsa",
[2419]="Deathguard Humbert",
[2420]="Targ",
[2421]="Muckrake",
[2422]="Glommus",
[2423]="Lord Aliden Perenolde",
[2425]="Varimathras",
[2427]="Jailor Eston",
[2428]="Jailor Marlgen",
[2429]="Novice Thaivand",
[2430]="Chef Jessen",
[2431]="Jailor Borhuin",
[2432]="Darla Harris",
[2433]="Helcular\'s Remains",
[2434]="Shadowy Assassin",
[2435]="Southshore Crier",
[2436]="Farmer Kent",
[2437]="Keeper Bel\'varil",
[2438]="Bartolo Ginsetti",
[2439]="Major Samuelson",
[2440]="Drunken Footpad",
[2442]="Cow",
[2447]="Narillasanz",
[2448]="Clerk Horrace Whitesteed",
[2449]="Citizen Wilkes",
[2450]="Miner Hackett",
[2451]="Farmer Kalaba",
[2452]="Skhowl",
[2453]="Lo\'Grosh",
[2454]="Skeletal Fiend (Enraged Form)",
[2455]="Olivia Burnside",
[2456]="Newton Burnside",
[2457]="John Burnside",
[2458]="Randolph Montague",
[2459]="Mortimer Montague",
[2460]="Barnum Stonemantle",
[2461]="Bailey Stonemantle",
[2462]="Flesh Eating Worm",
[2464]="Commander Aggro\'gosh",
[2465]="Far Seer Mok\'thardin",
[2466]="Mountaineer Grugelm",
[2468]="Mountaineer Thar",
[2469]="Mountaineer Rharen",
[2470]="Watcher Fraizer",
[2473]="Granistad",
[2474]="Kurdros",
[2475]="Sloth",
[2476]="Large Loch Crocolisk",
[2477]="Gradok",
[2478]="Haren Swifthoof",
[2479]="Sludge",
[2480]="Bro\'kin",
[2481]="Bliztik",
[2482]="Zarena Cromwind",
[2483]="Jaquilina Dramet",
[2485]="Larimaine Purdue",
[2486]="Fin Fizracket",
[2487]="Fleet Master Seahorn",
[2488]="Deeg",
[2489]="Milstaff Stormeye",
[2490]="First Mate Crazz",
[2491]="Whiskey Slim",
[2492]="Lexington Mortaim",
[2493]="Dizzy One-Eye",
[2494]="Privateer Bloads",
[2495]="Drizzlik",
[2496]="Baron Revilgaz",
[2497]="Nimboya",
[2498]="Crank Fizzlebub",
[2499]="Markel Smythe",
[2500]="Captain Hecklebury Smotts",
[2501]="\"Sea Wolf\" MacKinley",
[2502]="\"Shaky\" Phillipe",
[2503]="Hillsbrad Foreman",
[2504]="Donyal Tovald",
[2505]="Saltwater Snapjaw",
[2506]="Mountaineer Harn",
[2507]="Mountaineer Uthan",
[2508]="Mountaineer Wuar",
[2509]="Mountaineer Cragg",
[2510]="Mountaineer Ozmok",
[2511]="Mountaineer Bludd",
[2512]="Mountaineer Roghan",
[2513]="Mountaineer Janha",
[2514]="Mountaineer Modax",
[2515]="Mountaineer Fazgard",
[2516]="Mountaineer Kamdar",
[2517]="Mountaineer Langarr",
[2518]="Mountaineer Swarth",
[2519]="Kin\'weelay",
[2520]="Remote-Controlled Golem",
[2521]="Skymane Gorilla",
[2522]="Jaguero Stalker",
[2523]="Searing Totem",
[2524]="Mountaineer Haggis",
[2525]="Mountaineer Barn",
[2526]="Mountaineer Morlic",
[2527]="Mountaineer Angst",
[2528]="Mountaineer Haggil",
[2529]="Son of Arugal",
[2530]="Yenniku",
[2531]="Minion of Morganth",
[2532]="Donna",
[2533]="William",
[2534]="Zanzil the Outcast",
[2535]="Maury \"Club Foot\" Wilkins",
[2536]="Jon-Jon the Crow",
[2537]="Chucky \"Ten Thumbs\"",
[2540]="Dalaran Serpent",
[2541]="Lord Sakrasis",
[2542]="Catelyn the Blade",
[2543]="Archmage Ansirem Runeweaver",
[2544]="Southern Sand Crawler",
[2545]="\"Pretty Boy\" Duncan",
[2546]="Fleet Master Firallon",
[2547]="Ironpatch",
[2548]="Captain Keelhaul",
[2549]="Garr Salthoof",
[2550]="Captain Stillwater",
[2551]="Brutus",
[2552]="Witherbark Troll",
[2553]="Witherbark Shadowcaster",
[2554]="Witherbark Axe Thrower",
[2555]="Witherbark Witch Doctor",
[2556]="Witherbark Headhunter",
[2557]="Witherbark Shadow Hunter",
[2558]="Witherbark Berserker",
[2559]="Highland Strider",
[2560]="Highland Thrasher",
[2561]="Highland Fleshstalker",
[2562]="Boulderfist Ogre",
[2563]="Plains Creeper",
[2564]="Boulderfist Enforcer",
[2565]="Giant Plains Creeper",
[2566]="Boulderfist Brute",
[2567]="Boulderfist Magus",
[2569]="Boulderfist Mauler",
[2570]="Boulderfist Shaman",
[2571]="Boulderfist Lord",
[2572]="Drywhisker Kobold",
[2573]="Drywhisker Surveyor",
[2574]="Drywhisker Digger",
[2575]="Dark Iron Supplier",
[2577]="Dark Iron Shadowcaster",
[2578]="Young Mesa Buzzard",
[2579]="Mesa Buzzard",
[2580]="Elder Mesa Buzzard",
[2581]="Dabyrie Militia",
[2582]="Dabyrie Laborer",
[2583]="Stromgarde Troll Hunter",
[2584]="Stromgarde Defender",
[2585]="Stromgarde Vindicator",
[2586]="Syndicate Highwayman",
[2587]="Syndicate Pathstalker",
[2588]="Syndicate Prowler",
[2589]="Syndicate Mercenary",
[2590]="Syndicate Conjuror",
[2591]="Syndicate Magus",
[2592]="Rumbling Exile",
[2594]="Sprogger",
[2595]="Daggerspine Raider",
[2596]="Daggerspine Sorceress",
[2597]="Lord Falconcrest",
[2598]="Darbel Montrose",
[2599]="Otto",
[2600]="Singer",
[2601]="Foulbelly",
[2602]="Ruul Onestone",
[2603]="Kovork",
[2604]="Molok the Crusher",
[2605]="Zalas Witherbark",
[2606]="Nimar the Slayer",
[2607]="Prince Galen Trollbane",
[2608]="Commander Amaren",
[2609]="Geomancer Flintdagger",
[2610]="Shakes O\'Breen",
[2611]="Fozruk",
[2612]="Lieutenant Valorcall",
[2616]="Privateer Groy",
[2618]="Hammerfall Peon",
[2619]="Hammerfall Grunt",
[2620]="Prairie Dog",
[2621]="Hammerfall Guardian",
[2622]="Sly Garrett",
[2623]="Spirit of Old",
[2624]="Gazban",
[2625]="Viznik Goldgrubber",
[2626]="Old Man Heming",
[2627]="Grarnik Goodstitch",
[2628]="Dalaran Worker",
[2630]="Earthbind Totem",
[2634]="Princess Poobah",
[2635]="Elder Saltwater Crocolisk",
[2636]="Blackwater Deckhand",
[2638]="Syndicate Spectre",
[2639]="Vilebranch Axe Thrower",
[2640]="Vilebranch Witch Doctor",
[2641]="Vilebranch Headhunter",
[2642]="Vilebranch Shadowcaster",
[2643]="Vilebranch Berserker",
[2644]="Vilebranch Hideskinner",
[2645]="Vilebranch Shadow Hunter",
[2646]="Vilebranch Blood Drinker",
[2647]="Vilebranch Soul Eater",
[2648]="Vilebranch Aman\'zasi Guard",
[2649]="Witherbark Scalper",
[2650]="Witherbark Zealot",
[2651]="Witherbark Hideskinner",
[2652]="Witherbark Venomblood",
[2653]="Witherbark Sadist",
[2654]="Witherbark Caller",
[2655]="Green Sludge",
[2656]="Jade Ooze",
[2657]="Trained Razorbeak",
[2658]="Razorbeak Gryphon",
[2659]="Razorbeak Skylord",
[2663]="Narkk",
[2664]="Kelsey Yance",
[2667]="Ward of Laze",
[2668]="Danielle Zipstitch",
[2669]="Sheri Zipstitch",
[2670]="Xizk Goodstitch",
[2671]="Mechanical Squirrel",
[2672]="Cowardly Crosby",
[2673]="Target Dummy",
[2674]="Advanced Target Dummy",
[2675]="Explosive Sheep",
[2676]="Compact Harvest Reaper",
[2678]="Mechanical Dragonling",
[2679]="Wenna Silkbeard",
[2680]="Vilebranch Wolf Pup",
[2681]="Vilebranch Raiding Wolf",
[2682]="Fradd Swiftgear",
[2683]="Namdo Bizzfizzle",
[2684]="Rizz Loosebolt",
[2685]="Mazk Snipeshot",
[2686]="Witherbark Broodguard",
[2687]="Gnaz Blunderflame",
[2688]="Ruppo Zipcoil",
[2691]="Highvale Outrunner",
[2692]="Highvale Scout",
[2693]="Highvale Marksman",
[2694]="Highvale Ranger",
[2695]="Sara Balloo",
[2696]="Foggy MacKreel",
[2697]="Clyde Ranthal",
[2698]="George Candarte",
[2699]="Rikqiz",
[2700]="Captain Nials",
[2701]="Dustbelcher Ogre",
[2703]="Zengu",
[2704]="Hanashi",
[2705]="Brewmeister Bilger",
[2706]="Tor\'gan",
[2707]="Shadra",
[2708]="Archmage Malin",
[2711]="Phin Odelic",
[2712]="Quae",
[2713]="Kinelory",
[2714]="Forsaken Courier",
[2715]="Dustbelcher Brute",
[2716]="Dustbelcher Wyrmhunter",
[2717]="Dustbelcher Mauler",
[2718]="Dustbelcher Shaman",
[2719]="Dustbelcher Lord",
[2720]="Dustbelcher Ogre Mage",
[2721]="Forsaken Bodyguard",
[2723]="Stone Golem",
[2725]="Scalding Whelp",
[2726]="Scorched Guardian",
[2727]="Crag Coyote",
[2728]="Feral Crag Coyote",
[2729]="Elder Crag Coyote",
[2730]="Rabid Crag Coyote",
[2731]="Ridge Stalker",
[2732]="Ridge Huntress",
[2733]="Apothecary Jorell",
[2734]="Ridge Stalker Patriarch",
[2735]="Lesser Rock Elemental",
[2736]="Greater Rock Elemental",
[2737]="Durtham Greldon",
[2738]="Stromgarde Cavalryman",
[2739]="Shadowforge Tunneler",
[2740]="Shadowforge Darkweaver",
[2742]="Shadowforge Chanter",
[2743]="Shadowforge Warrior",
[2744]="Shadowforge Commander",
[2745]="Ambassador Infernus",
[2748]="Archaedas",
[2749]="Siege Golem",
[2751]="War Golem",
[2752]="Rumbler",
[2753]="Barnabus",
[2754]="Anathemus",
[2755]="Myzrael",
[2757]="Blacklash",
[2759]="Hematus",
[2760]="Burning Exile",
[2761]="Cresting Exile",
[2762]="Thundering Exile",
[2763]="Thenan",
[2764]="Sleeby",
[2765]="Znort",
[2766]="Lolo the Lookout",
[2767]="First Mate Nilzlix",
[2768]="Professor Phizzlethorpe",
[2769]="Captain Steelgut",
[2770]="Tallow",
[2771]="Drum Fel",
[2772]="Korin Fel",
[2773]="Or\'Kalar",
[2774]="Doctor Draxlegauge",
[2775]="Daggerspine Marauder",
[2776]="Vengeful Surge",
[2778]="Deckhand Moishe",
[2779]="Prince Nazjak",
[2780]="Caretaker Nevlin",
[2781]="Caretaker Weston",
[2782]="Caretaker Alaric",
[2783]="Marez Cowl",
[2784]="King Magni Bronzebeard",
[2785]="Theldurin the Lost",
[2786]="Gerrig Bonegrip",
[2787]="Zaruk",
[2788]="Apprentice Kryten",
[2789]="Skuerto",
[2790]="Grand Mason Marblesten",
[2791]="Enraged Rock Elemental",
[2792]="Gor\'mul",
[2793]="Kor\'gresh Coldrage",
[2794]="Summoned Guardian",
[2795]="Lenny \"Fingers\" McCoy",
[2796]="Faelyssa",
[2798]="Pand Stonebinder",
[2799]="Lucian Fenner",
[2801]="Tresa MacGregor",
[2802]="Susan Tillinghast",
[2803]="Malygen",
[2804]="Kurden Bloodclaw",
[2805]="Deneb Walker",
[2806]="Bale",
[2808]="Vikki Lonsav",
[2810]="Hammon Karwn",
[2812]="Drovnar Strongbrew",
[2814]="Narj Deepslice",
[2816]="Androd Fadran",
[2817]="Rigglefuzz",
[2818]="Slagg",
[2819]="Tunkk",
[2820]="Graud",
[2821]="Keena",
[2829]="Starving Buzzard",
[2830]="Buzzard",
[2831]="Giant Buzzard",
[2832]="Nixxrax Fillamug",
[2834]="Myizz Luckycatch",
[2835]="Cedrik Prose",
[2836]="Brikk Keencraft",
[2837]="Jaxin Chong",
[2838]="Crazk Sparks",
[2839]="Haren Kanmae",
[2840]="Kizz Bluntstrike",
[2842]="Wigcik",
[2843]="Jutak",
[2844]="Hurklor",
[2845]="Fargon Mortalak",
[2846]="Blixrez Goodstitch",
[2847]="Jansen Underwood",
[2848]="Glyx Brewright",
[2849]="Qixdi Goodstitch",
[2850]="Broken Tooth",
[2851]="Urda",
[2852]="Enslaved Druid of the Talon",
[2853]="Freed Druid of the Talon",
[2855]="Snang",
[2856]="Angrun",
[2857]="Thund",
[2858]="Gringer",
[2859]="Gyll",
[2860]="Sigrun Ironhew",
[2861]="Gorrik",
[2870]="[UNUSED] Henria Derth",
[2876]="Grunenstur Balindom",
[2878]="Peria Lamenur",
[2879]="Karrina Mekenda",
[2880]="[UNUSED] Hurom Juggendolf",
[2881]="[UNUSED] Durdek Karrin",
[2887]="Prismatic Exile",
[2888]="Garek",
[2892]="Stonevault Seer",
[2893]="Stonevault Bonesnapper",
[2894]="Stonevault Shaman",
[2906]="Dustbelcher Warrior",
[2907]="Dustbelcher Mystic",
[2908]="Grawl",
[2909]="Hammertoe Grez",
[2910]="Prospector Ryedol",
[2911]="Archaeologist Flagongut",
[2912]="Chief Archaeologist Greywhisker",
[2913]="Archaeologist Hollee",
[2914]="Snake",
[2915]="Hammertoe\'s Spirit",
[2916]="Historian Karnik",
[2917]="Prospector Remtravel",
[2918]="Advisor Belgrum",
[2919]="Fam\'retor Guardian",
[2920]="Lucien Tosselwrench",
[2921]="Lotwil Veriatus",
[2922]="Servo",
[2923]="Mangy Silvermane",
[2924]="Silvermane Wolf",
[2925]="Silvermane Howler",
[2926]="Silvermane Stalker",
[2927]="Vicious Owlbeast",
[2928]="Primitive Owlbeast",
[2929]="Savage Owlbeast",
[2930]="Sentinel Glynda Nal\'Shea",
[2931]="Zaricotl",
[2932]="Magregan Deepshadow",
[2934]="Keeper Bel\'dugur",
[2937]="Dagun the Ravenous",
[2941]="Lanie Reed",
[2943]="Ransin Donner",
[2944]="Boss Tho\'grun",
[2945]="Murdaloc",
[2946]="Puppet of Helcular",
[2947]="Harken Windtotem",
[2948]="Mull Thunderhorn",
[2949]="Palemane Tanner",
[2950]="Palemane Skinner",
[2951]="Palemane Poacher",
[2952]="Bristleback Quilboar",
[2953]="Bristleback Shaman",
[2954]="Bristleback Battleboar",
[2955]="Plainstrider",
[2956]="Adult Plainstrider",
[2957]="Elder Plainstrider",
[2958]="Prairie Wolf",
[2959]="Prairie Stalker",
[2960]="Prairie Wolf Alpha",
[2961]="Mountain Cougar",
[2962]="Windfury Harpy",
[2963]="Windfury Wind Witch",
[2964]="Windfury Sorceress",
[2965]="Windfury Matriarch",
[2966]="Battleboar",
[2967]="Galak Centaur",
[2968]="Galak Outrunner",
[2969]="Wiry Swoop",
[2970]="Swoop",
[2971]="Taloned Swoop",
[2972]="Kodo Calf",
[2973]="Kodo Bull",
[2974]="Kodo Matriarch",
[2975]="Venture Co. Hireling",
[2976]="Venture Co. Laborer",
[2977]="Venture Co. Taskmaster",
[2978]="Venture Co. Worker",
[2979]="Venture Co. Supervisor",
[2980]="Grull Hawkwind",
[2981]="Chief Hawkwind",
[2982]="Seer Graytongue",
[2983]="The Plains Vision",
[2984]="Seer Wiserunner",
[2985]="Ruul Eagletalon",
[2986]="Dorn Plainstalker",
[2987]="Eyahn Eagletalon",
[2988]="Morin Cloudstalker",
[2989]="Bael\'dun Digger",
[2990]="Bael\'dun Appraiser",
[2991]="Greatmother Hawkwind",
[2992]="Healing Ward V",
[2993]="Baine Bloodhoof",
[2994]="Ancestral Spirit",
[2995]="Tal",
[2996]="Torn",
[2997]="Jyn Stonehoof",
[2998]="Karn Stonehoof",
[2999]="Taur Stonehoof",
[3000]="Gibbert",
[3001]="Brek Stonehoof",
[3002]="Kurm Stonehoof",
[3003]="Fyr Mistrunner",
[3004]="Tepa",
[3005]="Mahu",
[3007]="Una",
[3008]="Mak",
[3009]="Bena Winterhoof",
[3010]="Mani Winterhoof",
[3011]="Teg Dawnstrider",
[3012]="Nata Dawnstrider",
[3013]="Komin Winterhoof",
[3014]="Nida Winterhoof",
[3015]="Kuna Thunderhorn",
[3016]="Tand",
[3017]="Nan Mistrunner",
[3018]="Hogor Thunderhoof",
[3019]="Delgo Ragetotem",
[3020]="Etu Ragetotem",
[3021]="Kard Ragetotem",
[3022]="Sunn Ragetotem",
[3023]="Sura Wildmane",
[3024]="Tah Winterhoof",
[3025]="Kaga Mistrunner",
[3026]="Aska Mistrunner",
[3027]="Naal Mistrunner",
[3028]="Kah Mistrunner",
[3029]="Sewa Mistrunner",
[3030]="Siln Skychaser",
[3031]="Tigor Skychaser",
[3032]="Beram Skychaser",
[3033]="Turak Runetotem",
[3034]="Sheal Runetotem",
[3035]="Flatland Cougar",
[3036]="Kym Wildmane",
[3037]="Sheza Wildmane",
[3038]="Kary Thunderhorn",
[3039]="Holt Thunderhorn",
[3040]="Urek Thunderhorn",
[3041]="Torm Ragetotem",
[3042]="Sark Ragetotem",
[3043]="Ker Ragetotem",
[3044]="Miles Welsh",
[3045]="Malakai Cross",
[3046]="Father Cobb",
[3047]="Archmage Shymm",
[3048]="Ursyn Ghull",
[3049]="Thurston Xane",
[3050]="Veren Tallstrider",
[3051]="Supervisor Fizsprocket",
[3052]="Skorn Whitecloud",
[3053]="Synge",
[3054]="Zarlman Two-Moons",
[3055]="Maur Raincaller",
[3056]="Ghost Howl",
[3057]="Cairne Bloodhoof",
[3058]="Arra\'chea",
[3059]="Harutt Thunderhorn",
[3060]="Gart Mistrunner",
[3061]="Lanka Farshot",
[3062]="Meela Dawnstrider",
[3063]="Krang Stonehoof",
[3064]="Gennia Runetotem",
[3065]="Yaw Sharpmane",
[3066]="Narm Skychaser",
[3067]="Pyall Silentstride",
[3068]="Mazzranache",
[3069]="Chaw Stronghide",
[3072]="Kawnie Softbreeze",
[3073]="Marjak Keenblade",
[3074]="Varia Hardhide",
[3075]="Bronk Steelrage",
[3076]="Moorat Longstride",
[3077]="Mahnott Roughwound",
[3078]="Kennah Hawkseye",
[3079]="Varg Windwhisper",
[3080]="Harant Ironbrace",
[3081]="Wunna Darkmane",
[3083]="Honor Guard",
[3084]="Bluffwatcher",
[3085]="Gloria Femmel",
[3086]="Gretchen Vogel",
[3087]="Crystal Boughman",
[3088]="Henry Chapal",
[3089]="Sherman Femmel",
[3090]="Gerald Crawley",
[3091]="Franklin Hamar",
[3092]="Tagain",
[3093]="Grod",
[3094]="Unseen",
[3095]="Fela",
[3096]="Captured Servant of Azora",
[3097]="Bernard Brubaker",
[3098]="Mottled Boar",
[3099]="Dire Mottled Boar",
[3100]="Elder Mottled Boar",
[3101]="Vile Familiar",
[3102]="Felstalker",
[3103]="Makrura Clacker",
[3104]="Makrura Shellhide",
[3105]="Makrura Snapclaw",
[3106]="Pygmy Surf Crawler",
[3107]="Surf Crawler",
[3108]="Encrusted Surf Crawler",
[3110]="Dreadmaw Crocolisk",
[3111]="Razormane Quilboar",
[3112]="Razormane Scout",
[3113]="Razormane Dustrunner",
[3114]="Razormane Battleguard",
[3115]="Dustwind Harpy",
[3116]="Dustwind Pillager",
[3117]="Dustwind Savage",
[3118]="Dustwind Storm Witch",
[3119]="Kolkar Drudge",
[3120]="Kolkar Outrunner",
[3121]="Durotar Tiger",
[3122]="Bloodtalon Taillasher",
[3123]="Bloodtalon Scythemaw",
[3124]="Scorpid Worker",
[3125]="Clattering Scorpid",
[3126]="Armored Scorpid",
[3127]="Venomtail Scorpid",
[3128]="Kul Tiras Sailor",
[3129]="Kul Tiras Marine",
[3130]="Thunder Lizard",
[3131]="Lightning Hide",
[3133]="Herble Baubbletump",
[3134]="Kzixx",
[3135]="Malissa",
[3136]="Clarise Gnarltree",
[3137]="Matt Johnson",
[3138]="Scott Carevin",
[3139]="Gar\'Thok",
[3140]="Lar Prowltusk",
[3141]="Makrura Elder",
[3142]="Orgnil Soulscar",
[3143]="Gornek",
[3144]="Eitrigg",
[3145]="Zureetha Fargaze",
[3147]="Furl Scornbrow",
[3149]="Nez\'raz",
[3150]="Hin Denburg",
[3153]="Frang",
[3154]="Jen\'shan",
[3155]="Rwag",
[3156]="Nartok",
[3157]="Shikrik",
[3158]="Duokna",
[3159]="Kzan Thornslash",
[3160]="Huklah",
[3161]="Rarc",
[3162]="Burdrak Harglhelm",
[3163]="Uhgar",
[3164]="Jark",
[3165]="Ghrawt",
[3166]="Cutac",
[3167]="Wuark",
[3168]="Flakk",
[3169]="Tarshaw Jaggedscar",
[3170]="Kaplak",
[3171]="Thotar",
[3172]="Dhugru Gorelust",
[3173]="Swart",
[3174]="Dwukk",
[3175]="Krunn",
[3177]="Turuk Amberstill",
[3178]="Stuart Fleming",
[3179]="Harold Riggs",
[3180]="Dark Iron Entrepreneur",
[3181]="Fremal Doohickey",
[3182]="Junder Brokk",
[3183]="Yarrog Baneshadow",
[3184]="Miao\'zan",
[3185]="Mishiki",
[3186]="K\'waii",
[3187]="Tai\'tasi",
[3188]="Master Gadrin",
[3189]="Kor\'ghan",
[3190]="Rhinag",
[3191]="Cook Torka",
[3192]="Lieutenant Benedict",
[3193]="Misha Tor\'kren",
[3194]="Vel\'rin Fang",
[3195]="Burning Blade Thug",
[3196]="Burning Blade Neophyte",
[3197]="Burning Blade Fanatic",
[3198]="Burning Blade Apprentice",
[3199]="Burning Blade Cultist",
[3203]="Fizzle Darkstorm",
[3204]="Gazz\'uz",
[3205]="Zalazane",
[3206]="Voodoo Troll",
[3207]="Hexed Troll",
[3208]="Margoz",
[3209]="Brave Windfeather",
[3210]="Brave Proudsnout",
[3211]="Brave Lightninghorn",
[3212]="Brave Ironhorn",
[3213]="Brave Running Wolf",
[3214]="Brave Greathoof",
[3215]="Brave Strongbash",
[3216]="Neeru Fireblade",
[3217]="Brave Dawneagle",
[3218]="Brave Swiftwind",
[3219]="Brave Leaping Deer",
[3220]="Brave Darksky",
[3221]="Brave Rockhorn",
[3222]="Brave Wildrunner",
[3223]="Brave Rainchaser",
[3224]="Brave Cloudmane",
[3225]="Corrupted Mottled Boar",
[3226]="Corrupted Scorpid",
[3227]="Corrupted Bloodtalon Scythemaw",
[3228]="Corrupted Surf Crawler",
[3229]="\"Squealer\" Thornmantle",
[3230]="Nazgrel",
[3231]="Corrupted Dreadmaw Crocolisk",
[3232]="Bristleback Interloper",
[3233]="Lorekeeper Raintotem",
[3234]="Lost Barrens Kodo",
[3235]="Greater Barrens Kodo",
[3236]="Barrens Kodo",
[3237]="Wooly Kodo",
[3238]="Stormhide",
[3239]="Thunderhead",
[3240]="Stormsnout",
[3241]="Savannah Patriarch",
[3242]="Zhevra Runner",
[3243]="Savannah Highmane",
[3244]="Greater Plainstrider",
[3245]="Ornery Plainstrider",
[3246]="Fleeting Plainstrider",
[3247]="Thunderhawk Hatchling",
[3248]="Barrens Giraffe",
[3249]="Greater Thunderhawk",
[3250]="Silithid Creeper",
[3251]="Silithid Grub",
[3252]="Silithid Swarmer",
[3253]="Silithid Harvester",
[3254]="Sunscale Lashtail",
[3255]="Sunscale Screecher",
[3256]="Sunscale Scytheclaw",
[3257]="Ishamuhale",
[3258]="Bristleback Hunter",
[3260]="Bristleback Water Seeker",
[3261]="Bristleback Thornweaver",
[3263]="Bristleback Geomancer",
[3265]="Razormane Hunter",
[3266]="Razormane Defender",
[3267]="Razormane Water Seeker",
[3268]="Razormane Thornweaver",
[3269]="Razormane Geomancer",
[3270]="Elder Mystic Razorsnout",
[3271]="Razormane Mystic",
[3272]="Kolkar Wrangler",
[3273]="Kolkar Stormer",
[3274]="Kolkar Pack Runner",
[3275]="Kolkar Marauder",
[3276]="Witchwing Harpy",
[3277]="Witchwing Roguefeather",
[3278]="Witchwing Slayer",
[3279]="Witchwing Ambusher",
[3280]="Witchwing Windcaller",
[3281]="Sarkoth",
[3282]="Venture Co. Mercenary",
[3283]="Venture Co. Enforcer",
[3284]="Venture Co. Drudger",
[3285]="Venture Co. Peon",
[3286]="Venture Co. Overseer",
[3287]="Hana\'zua",
[3289]="Spirit of Minshina",
[3290]="Deek Fizzlebizz",
[3291]="Greishan Ironstove",
[3292]="Brewmaster Drohn",
[3293]="Rezlak",
[3294]="Ophek",
[3295]="Sludge Beast",
[3296]="Orgrimmar Grunt",
[3297]="Sen\'jin Watcher",
[3298]="Gabrielle Chase",
[3300]="Adder",
[3301]="Morgan Ladimore",
[3304]="Master Vornal",
[3305]="Grisha",
[3306]="Keldas",
[3309]="Karus",
[3310]="Doras",
[3312]="Olvia",
[3313]="Trak\'gen",
[3314]="Urtharo",
[3315]="Tor\'phan",
[3316]="Handor",
[3317]="Ollanus",
[3318]="Koma",
[3319]="Sana",
[3320]="Soran",
[3321]="Morgum",
[3322]="Kaja",
[3323]="Horthus",
[3324]="Grol\'dar",
[3325]="Mirket",
[3326]="Zevrost",
[3327]="Gest",
[3328]="Ormok",
[3329]="Kor\'jus",
[3330]="Muragus",
[3331]="Kareth",
[3332]="Lumak",
[3333]="Shankys",
[3334]="Rekkul",
[3335]="Hagrus",
[3336]="Takrin Pathseeker",
[3337]="Kargal Battlescar",
[3338]="Sergra Darkthorn",
[3339]="Captain Thalo\'thas Brightsun",
[3341]="Gann Stonespire",
[3342]="Shan\'ti",
[3343]="Grelkor",
[3344]="Kardris Dreamseeker",
[3345]="Godan",
[3346]="Kithas",
[3347]="Yelmak",
[3348]="Kor\'geld",
[3349]="Ukra\'nor",
[3350]="Asoran",
[3351]="Magenius",
[3352]="Ormak Grimshot",
[3353]="Grezz Ragefist",
[3354]="Sorek",
[3355]="Saru Steelfury",
[3356]="Sumi",
[3357]="Makaru",
[3358]="Gorina",
[3359]="Kiro",
[3360]="Koru",
[3361]="Shoma",
[3362]="Ogunaro Wolfrunner",
[3363]="Magar",
[3364]="Borya",
[3365]="Karolek",
[3366]="Tamar",
[3367]="Felika",
[3368]="Borstan",
[3369]="Gotri",
[3370]="Urtrun Clanbringer",
[3371]="Tamaro",
[3372]="Sarlek",
[3373]="Arnok",
[3374]="Bael\'dun Excavator",
[3375]="Bael\'dun Foreman",
[3376]="Bael\'dun Soldier",
[3377]="Bael\'dun Rifleman",
[3378]="Bael\'dun Officer",
[3379]="Burning Blade Bruiser",
[3380]="Burning Blade Acolyte",
[3381]="Southsea Brigand",
[3382]="Southsea Cannoneer",
[3383]="Southsea Cutthroat",
[3384]="Southsea Privateer",
[3385]="Theramore Marine",
[3386]="Theramore Preserver",
[3387]="Jorn Skyseer",
[3388]="Mahren Skyseer",
[3389]="Regthar Deathgate",
[3390]="Apothecary Helbrim",
[3391]="Gazlowe",
[3392]="Prospector Khazgorm",
[3393]="Captain Fairmount",
[3394]="Barak Kodobane",
[3395]="Verog the Dervish",
[3396]="Hezrul Bloodmark",
[3397]="Kolkar Bloodcharger",
[3398]="Gesharahan",
[3399]="Zamja",
[3400]="Xen\'to",
[3401]="Shenthul",
[3402]="Zando\'zan",
[3403]="Sian\'tsu",
[3404]="Jandi",
[3405]="Zeal\'aya",
[3406]="Xor\'juul",
[3407]="Sian\'dur",
[3408]="Zel\'mak",
[3409]="Zendo\'jian",
[3410]="Jin\'sora",
[3411]="Denni\'ka",
[3412]="Nogg",
[3413]="Sovik",
[3414]="General Twinbraid",
[3415]="Savannah Huntress",
[3416]="Savannah Matriarch",
[3417]="Living Flame",
[3418]="Kirge Sternhorn",
[3419]="Apothecary Zamah",
[3421]="Feegly the Exiled",
[3424]="Thunderhawk Cloudscraper",
[3425]="Savannah Prowler",
[3426]="Zhevra Charger",
[3428]="Korran",
[3429]="Thork",
[3430]="Mangletooth",
[3431]="Grenthar",
[3432]="Mankrik",
[3433]="Tatternack Steelforge",
[3434]="Nak",
[3435]="Lok Orcbane",
[3436]="Kuz",
[3438]="Kreenig Snarlsnout",
[3439]="Wizzlecrank\'s Shredder",
[3441]="Melor Stonehoof",
[3442]="Sputtervalve",
[3443]="Grub",
[3444]="Dig Rat",
[3445]="Supervisor Lugwizzle",
[3446]="Mebok Mizzyrix",
[3447]="Pawe Mistrunner",
[3448]="Tonga Runetotem",
[3449]="Darsok Swiftdagger",
[3450]="Defias Companion",
[3451]="Pilot Wizzlecrank",
[3452]="Serena Bloodfeather",
[3453]="Wharfmaster Dizzywig",
[3454]="Cannoneer Smythe",
[3455]="Cannoneer Whessan",
[3456]="Razormane Pathfinder",
[3457]="Razormane Stalker",
[3458]="Razormane Seer",
[3459]="Razormane Warfrenzy",
[3461]="Oasis Snapjaw",
[3463]="Wandering Barrens Giraffe",
[3464]="Gazrog",
[3465]="Gilthares Firebough",
[3466]="Zhevra Courser",
[3467]="Baron Longshore",
[3468]="Ancient of Lore",
[3469]="Ancient of War",
[3470]="Rathorian",
[3471]="Tinkerer Sniggles",
[3472]="Washte Pawne",
[3473]="Owatanka",
[3474]="Lakota\'mani",
[3475]="Echeyakee",
[3476]="Isha Awak",
[3477]="Hraq",
[3478]="Traugh",
[3479]="Nargal Deatheye",
[3480]="Moorane Hearthgrain",
[3481]="Barg",
[3482]="Tari\'qa",
[3483]="Jahan Hawkwing",
[3484]="Kil\'hala",
[3485]="Wrahk",
[3486]="Halija Whitestrider",
[3487]="Kalyimah Stormcloud",
[3488]="Uthrok",
[3489]="Zargh",
[3490]="Hula\'mahi",
[3491]="Ironzar",
[3492]="Vexspindle",
[3493]="Grazlix",
[3494]="Tinkerwiz",
[3495]="Gagsprocket",
[3496]="Fuzruckle",
[3497]="Kilxx",
[3498]="Jazzik",
[3499]="Ranik",
[3500]="Tarhus",
[3501]="Horde Guard",
[3502]="Ratchet Bruiser",
[3503]="Silithid Protector",
[3504]="Gil",
[3505]="Pat",
[3507]="Andi",
[3508]="Mikey",
[3509]="Geoff",
[3510]="Twain",
[3511]="Steven",
[3512]="Jimmy",
[3513]="Miss Danna",
[3514]="Tenaron Stormgrip",
[3515]="Corithras Moonrage",
[3516]="Arch Druid Fandral Staghelm",
[3517]="Rellian Greenspyre",
[3518]="Thomas Miller",
[3519]="Sentinel Arynia Cloudsbreak",
[3520]="Ol\' Emma",
[3521]="Ak\'Zeloth",
[3522]="Constance Brisboise",
[3523]="Bowen Brisboise",
[3524]="Spirit Wolf",
[3527]="Healing Stream Totem",
[3528]="Pyrewood Armorer",
[3529]="Moonrage Armorer",
[3530]="Pyrewood Tailor",
[3531]="Moonrage Tailor",
[3532]="Pyrewood Leatherworker",
[3533]="Moonrage Leatherworker",
[3534]="Wallace the Blind",
[3535]="Blackmoss the Fetid",
[3536]="Kris Legace",
[3537]="Zixil",
[3538]="Overwatch Mark I",
[3539]="Ott",
[3540]="Hal McAllister",
[3541]="Sarah Raycroft",
[3542]="Jaysin Lanyda",
[3543]="Robert Aebischer",
[3544]="Jason Lemieux",
[3545]="Claude Erksine",
[3546]="Bernie Heisten",
[3547]="Hamlin Atkins",
[3548]="Selina Weston",
[3549]="Shelene Rhobart",
[3550]="Martine Tramblay",
[3551]="Patrice Dwyer",
[3552]="Alexandre Lefevre",
[3553]="Sebastian Meloche",
[3554]="Andrea Boynton",
[3555]="Johan Focht",
[3556]="Andrew Hilbert",
[3557]="Guillaume Sorouy",
[3560]="Healing Ward",
[3561]="Kyrai",
[3562]="Alaindia",
[3566]="Flatland Prowler",
[3567]="Tallonkai Swiftroot",
[3568]="Mist",
[3569]="Bogling",
[3570]="Cleansed Timberling",
[3571]="Teldrassil Sentinel",
[3572]="Zizzek",
[3573]="Mana Spring Totem",
[3574]="Riding Bat",
[3577]="Dalaran Brewmaster",
[3578]="Dalaran Miner",
[3579]="Stoneclaw Totem",
[3581]="Sewer Beast",
[3582]="Aman",
[3583]="Barithras Moonshade",
[3584]="Therylune",
[3585]="Therysil",
[3586]="Miner Johnson",
[3587]="Lyrai",
[3588]="Khardan Proudblade",
[3589]="Keina",
[3590]="Janna Brightmoon",
[3591]="Freja Nightwing",
[3592]="Andiss",
[3593]="Alyissia",
[3594]="Frahun Shadewhisper",
[3595]="Shanda",
[3596]="Ayanna Everstride",
[3597]="Mardant Strongoak",
[3598]="Kyra Windblade",
[3599]="Jannok Breezesong",
[3600]="Laurna Morninglight",
[3601]="Dazalar",
[3602]="Kal",
[3603]="Cyndra Kindwhisper",
[3604]="Malorne Bladeleaf",
[3605]="Nadyia Maneweaver",
[3606]="Alanna Raveneye",
[3607]="Androl Oakhand",
[3608]="Aldia",
[3609]="Shalomon",
[3610]="Jeena Featherbow",
[3611]="Brannol Eaglemoon",
[3612]="Sinda",
[3613]="Meri Ironweave",
[3614]="Narret Shadowgrove",
[3615]="Devrak",
[3616]="Onu",
[3617]="Lordaeron Citizen",
[3619]="Ghost Saber",
[3620]="Harruk",
[3621]="Kurll",
[3622]="Grokor",
[3624]="Zudd",
[3625]="Rarck",
[3626]="Jenn Langston",
[3627]="Erich Lohan",
[3628]="Steven Lohan",
[3629]="David Langston",
[3630]="Deviate Coiler",
[3631]="Deviate Stinglash",
[3632]="Deviate Creeper",
[3633]="Deviate Slayer",
[3634]="Deviate Stalker",
[3636]="Deviate Ravager",
[3637]="Deviate Guardian",
[3638]="Devouring Ectoplasm",
[3639]="Sentinel Tysha Moonblade",
[3640]="Evolving Ectoplasm",
[3641]="Deviate Lurker",
[3644]="Cerellean Whiteclaw",
[3649]="Thundris Windweaver",
[3650]="Asterion",
[3652]="Trigore the Lasher",
[3653]="Kresh",
[3654]="Mutanus the Devourer",
[3655]="Mad Magglish",
[3657]="Sentinel Elissa Starbreeze",
[3658]="Lizzarik",
[3659]="Jorb",
[3660]="Athrikus Narassin",
[3661]="Balthule Shadowstrike",
[3662]="Delmanis the Hated",
[3663]="Delgren the Purifier",
[3664]="Ilkrud Magthrull",
[3665]="Crane Operator Bigglefuzz",
[3666]="Wizbang Cranktoggle",
[3667]="Anaya Dawnrunner",
[3669]="Lord Cobrahn",
[3670]="Lord Pythas",
[3671]="Lady Anacondra",
[3672]="Boahn",
[3673]="Lord Serpentis",
[3674]="Skum",
[3678]="Disciple of Naralex",
[3679]="Naralex",
[3680]="Serpentbloom Snake",
[3681]="Wisp",
[3682]="Vrang Wildgore",
[3683]="Kiknikle",
[3684]="Pizznukle",
[3685]="Harb Clawhoof",
[3688]="Reban Freerunner",
[3689]="Laer Stepperunner",
[3690]="Kar Stormsinger",
[3691]="Raene Wolfrunner",
[3692]="Volcor",
[3693]="Terenthis",
[3694]="Sentinel Selarin",
[3695]="Grimclaw",
[3696]="Ran Bloodtooth",
[3698]="Bolyun",
[3700]="Jadenvis Seawatcher",
[3701]="Tharnariun Treetender",
[3702]="Alanndarian Nightsong",
[3703]="Krulmoo Fullmoon",
[3704]="Mahani",
[3705]="Gahroot",
[3706]="Tai\'jin",
[3707]="Ken\'jai",
[3708]="Gruna",
[3711]="Wrathtail Myrmidon",
[3712]="Wrathtail Razortail",
[3713]="Wrathtail Wave Rider",
[3715]="Wrathtail Sea Witch",
[3717]="Wrathtail Sorceress",
[3721]="Mystlash Hydra",
[3722]="Mystlash Flayer",
[3725]="Dark Strand Cultist",
[3727]="Dark Strand Enforcer",
[3728]="Dark Strand Adept",
[3730]="Dark Strand Excavator",
[3732]="Forsaken Seeker",
[3733]="Forsaken Herbalist",
[3734]="Forsaken Thug",
[3735]="Apothecary Falthis",
[3736]="Darkslayer Mordenthal",
[3737]="Saltspittle Puddlejumper",
[3739]="Saltspittle Warrior",
[3740]="Saltspittle Muckdweller",
[3742]="Saltspittle Oracle",
[3743]="Foulweald Warrior",
[3745]="Foulweald Pathfinder",
[3746]="Foulweald Den Watcher",
[3748]="Foulweald Shaman",
[3749]="Foulweald Ursa",
[3750]="Foulweald Totemic",
[3752]="Xavian Rogue",
[3754]="Xavian Betrayer",
[3755]="Xavian Felsworn",
[3757]="Xavian Hellcaller",
[3758]="Felmusk Satyr",
[3759]="Felmusk Rogue",
[3762]="Felmusk Felsworn",
[3763]="Felmusk Shadowstalker",
[3765]="Bleakheart Satyr",
[3767]="Bleakheart Trickster",
[3770]="Bleakheart Shadowstalker",
[3771]="Bleakheart Hellcaller",
[3772]="Lesser Felguard",
[3773]="Akkrilus",
[3774]="Felslayer",
[3779]="Syurana",
[3780]="Shadethicket Moss Eater",
[3781]="Shadethicket Wood Shaper",
[3782]="Shadethicket Stone Mover",
[3783]="Shadethicket Raincaller",
[3784]="Shadethicket Bark Ripper",
[3789]="Terrowulf Fleshripper",
[3791]="Terrowulf Shadow Weaver",
[3792]="Terrowulf Packlord",
[3797]="Cenarion Protector",
[3799]="Severed Druid",
[3801]="Severed Sleeper",
[3802]="Severed Dreamer",
[3803]="Severed Keeper",
[3804]="Forsaken Intruder",
[3806]="Forsaken Infiltrator",
[3807]="Forsaken Assassin",
[3808]="Forsaken Dark Stalker",
[3809]="Ashenvale Bear",
[3810]="Elder Ashenvale Bear",
[3811]="Giant Ashenvale Bear",
[3812]="Clattering Crawler",
[3814]="Spined Crawler",
[3815]="Blink Dragon",
[3816]="Wild Buck",
[3817]="Shadowhorn Stag",
[3818]="Elder Shadowhorn Stag",
[3819]="Wildthorn Stalker",
[3820]="Wildthorn Venomspitter",
[3821]="Wildthorn Lurker",
[3823]="Ghostpaw Runner",
[3824]="Ghostpaw Howler",
[3825]="Ghostpaw Alpha",
[3833]="Cenarion Vindicator",
[3834]="Crazed Ancient",
[3835]="Biletoad",
[3836]="Mountaineer Pebblebitty",
[3837]="Riding Hippogryph",
[3838]="Vesprystus",
[3840]="Druid of the Fang",
[3841]="Caylais Moonfeather",
[3842]="Brombar Higgleby",
[3843]="Anaya",
[3844]="Healing Ward IV",
[3845]="Shindrell Swiftfire",
[3846]="Talen",
[3847]="Orendil Broadleaf",
[3848]="Kayneth Stillwind",
[3849]="Deathstalker Adamant",
[3850]="Sorcerer Ashcrombe",
[3851]="Shadowfang Whitescalp",
[3853]="Shadowfang Moonwalker",
[3854]="Shadowfang Wolfguard",
[3855]="Shadowfang Darksoul",
[3857]="Shadowfang Glutton",
[3859]="Shadowfang Ragetooth",
[3861]="Bleak Worg",
[3862]="Slavering Worg",
[3863]="Lupine Horror",
[3864]="Fel Steed",
[3865]="Shadow Charger",
[3866]="Vile Bat",
[3868]="Blood Seeker",
[3872]="Deathsworn Captain",
[3873]="Tormented Officer",
[3875]="Haunted Servitor",
[3877]="Wailing Guardsman",
[3879]="Dark Strand Assassin",
[3880]="Sentinel Melyria Frostshadow",
[3881]="Grimtak",
[3882]="Zlagk",
[3883]="Moodan Sungrain",
[3884]="Jhawna Oatwind",
[3885]="Sentinel Velene Starstrike",
[3886]="Razorclaw the Butcher",
[3887]="Baron Silverlaine",
[3888]="Korra",
[3890]="Brakgul Deathbringer",
[3891]="Teronis\' Corpse",
[3892]="Relara Whitemoon",
[3893]="Forsaken Scout",
[3894]="Pelturas Whitemoon",
[3897]="Krolg",
[3898]="Aligar the Tormentor",
[3899]="Balizar the Umbrage",
[3900]="Caedakar the Vicious",
[3901]="Illiyana",
[3902]="Searing Totem II",
[3903]="Searing Totem III",
[3904]="Searing Totem IV",
[3906]="Healing Stream Totem II",
[3907]="Healing Stream Totem III",
[3908]="Healing Stream Totem IV",
[3909]="Healing Stream Totem V",
[3911]="Stoneclaw Totem II",
[3912]="Stoneclaw Totem III",
[3913]="Stoneclaw Totem IV",
[3914]="Rethilgore",
[3915]="Dagri",
[3916]="Shael\'dryn",
[3917]="Befouled Water Elemental",
[3919]="Withered Ancient",
[3920]="Anilia",
[3921]="Thistlefur Ursa",
[3922]="Thistlefur Totemic",
[3923]="Thistlefur Den Watcher",
[3924]="Thistlefur Shaman",
[3925]="Thistlefur Avenger",
[3926]="Thistlefur Pathfinder",
[3927]="Wolf Master Nandos",
[3928]="Rotting Slime",
[3931]="Shadethicket Oracle",
[3932]="Bloodtooth Guard",
[3933]="Hai\'zan",
[3934]="Innkeeper Boorand Plainswind",
[3935]="Toddrick",
[3936]="Shandris Feathermoon",
[3937]="Kira Songshine",
[3939]="Razormane Wolf",
[3940]="Taneel Darkwood",
[3941]="Uthil Mooncall",
[3942]="Mavoris Cloudsbreak",
[3943]="Ruuzel",
[3944]="Wrathtail Priestess",
[3945]="Caravaneer Ruzzgot",
[3946]="Velinde Starsong",
[3947]="Goblin Shipbuilder",
[3948]="Honni Goldenoat",
[3950]="Minor Water Guardian",
[3951]="Bhaldaran Ravenshade",
[3952]="Aeolynn",
[3953]="Tandaan Lightmane",
[3954]="Dalria",
[3955]="Shandrina",
[3956]="Harklan Moongrove",
[3958]="Lardan",
[3959]="Nantar",
[3960]="Ulthaan",
[3961]="Maliynn",
[3962]="Haljan Oakheart",
[3963]="Danlaar Nightstride",
[3964]="Kylanna",
[3965]="Cylania Rootstalker",
[3967]="Aayndia Floralwind",
[3968]="Sentry Totem",
[3969]="Fahran Silentblade",
[3970]="Llana",
[3974]="Houndmaster Loksey",
[3975]="Herod",
[3976]="Scarlet Commander Mograine",
[3977]="High Inquisitor Whitemane",
[3978]="Sage Truthseeker",
[3979]="Librarian Mae Paledust",
[3980]="Raleigh the Devout",
[3981]="Vorrel Sengutz",
[3982]="Monika Sengutz",
[3983]="Interrogator Vishas",
[3984]="Nancy Vishas",
[3985]="Grandpa Vishas",
[3986]="Sarilus Foulborne",
[3987]="Dal Bloodclaw",
[3988]="Venture Co. Operator",
[3989]="Venture Co. Logger",
[3991]="Venture Co. Deforester",
[3992]="Venture Co. Engineer",
[3993]="Venture Co. Machine Smith",
[3994]="Keeper Albagorm",
[3995]="Witch Doctor Jin\'Zil",
[3996]="Faldreas Goeth\'Shael",
[3998]="Windshear Vermin",
[3999]="Windshear Digger",
[4001]="Windshear Tunnel Rat",
[4002]="Windshear Stonecutter",
[4003]="Windshear Geomancer",
[4004]="Windshear Overlord",
[4005]="Deepmoss Creeper",
[4006]="Deepmoss Webspinner",
[4007]="Deepmoss Venomspitter",
[4008]="Cliff Stormer",
[4009]="Raging Cliff Stormer",
[4011]="Young Pridewing",
[4012]="Pridewing Wyvern",
[4013]="Pridewing Skyhunter",
[4014]="Pridewing Consort",
[4015]="Pridewing Patriarch",
[4016]="Fey Dragon",
[4017]="Wily Fey Dragon",
[4018]="Antlered Courser",
[4019]="Great Courser",
[4020]="Sap Beast",
[4021]="Corrosive Sap Beast",
[4022]="Bloodfury Harpy",
[4023]="Bloodfury Roguefeather",
[4024]="Bloodfury Slayer",
[4025]="Bloodfury Ambusher",
[4026]="Bloodfury Windcaller",
[4027]="Bloodfury Storm Witch",
[4028]="Charred Ancient",
[4029]="Blackened Ancient",
[4030]="Vengeful Ancient",
[4031]="Fledgling Chimaera",
[4032]="Young Chimaera",
[4034]="Enraged Stone Spirit",
[4035]="Furious Stone Spirit",
[4036]="Rogue Flame Spirit",
[4037]="Burning Ravager",
[4038]="Burning Destroyer",
[4040]="Cave Stalker",
[4041]="Scorched Basilisk",
[4042]="Singed Basilisk",
[4043]="Galthuk",
[4044]="Blackened Basilisk",
[4046]="Magatha Grimtotem",
[4047]="Zor Lonetree",
[4048]="Falfindel Waywarder",
[4049]="Seereth Stonebreak",
[4050]="Cenarion Caretaker",
[4051]="Cenarion Botanist",
[4052]="Cenarion Druid",
[4053]="Daughter of Cenarius",
[4054]="Laughing Sister",
[4056]="Mirkfallon Keeper",
[4057]="Son of Cenarius",
[4059]="Forest Spirit",
[4061]="Mirkfallon Dryad",
[4062]="Dark Iron Bombardier",
[4063]="Feeboz",
[4064]="Blackrock Scout",
[4065]="Blackrock Sentry",
[4066]="Nal\'taszar",
[4067]="Twilight Runner",
[4068]="Serpent Messenger",
[4070]="Venture Co. Builder",
[4072]="Prisoner of Jin\'Zil",
[4073]="XT:4",
[4074]="XT:9",
[4075]="Rat",
[4076]="Roach",
[4077]="Gaxim Rustfizzle",
[4078]="Collin Mauren",
[4079]="Sentinel Thenysil",
[4080]="Kaela Shadowspear",
[4081]="Lomac Gearstrip",
[4082]="Grawnal",
[4083]="Jeeda",
[4084]="Chylina",
[4085]="Nizzik",
[4086]="Veenix",
[4087]="Arias\'ta Bladesinger",
[4088]="Elanaria",
[4089]="Sildanair",
[4090]="Astarii Starseeker",
[4091]="Jandria",
[4092]="Lariia",
[4093]="Galak Wrangler",
[4094]="Galak Scout",
[4095]="Galak Mauler",
[4096]="Galak Windchaser",
[4097]="Galak Stormer",
[4099]="Galak Marauder",
[4100]="Screeching Harpy",
[4101]="Screeching Roguefeather",
[4104]="Screeching Windcaller",
[4107]="Highperch Wyvern",
[4109]="Highperch Consort",
[4110]="Highperch Patriarch",
[4111]="Gravelsnout Kobold",
[4112]="Gravelsnout Vermin",
[4113]="Gravelsnout Digger",
[4114]="Gravelsnout Forager",
[4116]="Gravelsnout Surveyor",
[4117]="Cloud Serpent",
[4118]="Venomous Cloud Serpent",
[4119]="Elder Cloud Serpent",
[4120]="Thundering Boulderkin",
[4124]="Needles Cougar",
[4126]="Crag Stalker",
[4127]="Hecklefang Hyena",
[4128]="Hecklefang Stalker",
[4129]="Hecklefang Snarler",
[4130]="Silithid Searcher",
[4131]="Silithid Invader",
[4132]="Silithid Ravager",
[4133]="Silithid Hive Drone",
[4138]="Jeen\'ra Nightrunner",
[4139]="Scorpid Terror",
[4140]="Scorpid Reaver",
[4142]="Sparkleshell Tortoise",
[4143]="Sparkleshell Snapper",
[4144]="Sparkleshell Borer",
[4146]="Jocaste",
[4147]="Saltstone Basilisk",
[4150]="Saltstone Gazer",
[4151]="Saltstone Crystalhide",
[4154]="Salt Flats Scavenger",
[4155]="Idriana",
[4156]="Astaia",
[4158]="Salt Flats Vulture",
[4159]="Me\'lynn",
[4160]="Ainethil",
[4161]="Lysheana",
[4163]="Syurna",
[4164]="Cylania",
[4165]="Elissa Dumas",
[4166]="Gazelle",
[4167]="Dendrythis",
[4168]="Elynna",
[4169]="Jaeana",
[4170]="Ellandrieth",
[4171]="Merelyssa",
[4172]="Anadyia",
[4173]="Landria",
[4175]="Vinasia",
[4177]="Melea",
[4180]="Ealyshia Dewwhisper",
[4181]="Fyrenna",
[4182]="Dalmond",
[4183]="Naram Longclaw",
[4184]="Geenia Sunshadow",
[4185]="Shaldyn",
[4186]="Mavralyn",
[4187]="Harlon Thornguard",
[4188]="Illyanie",
[4189]="Valdaron",
[4190]="Kyndri",
[4191]="Allyndia",
[4192]="Taldan",
[4193]="Grondal Moonbreeze",
[4194]="Ullanna",
[4195]="Tiyani",
[4196]="Silithid Swarm",
[4197]="Ken\'zigla",
[4198]="Braelyn Firehand",
[4200]="Laird",
[4201]="Ziz Fizziks",
[4202]="Gerenzo Wrenchwhistle",
[4203]="Ariyell Skyshadow",
[4204]="Firodren Mooncaller",
[4205]="Dorion",
[4208]="Lairn",
[4209]="Garryeth",
[4210]="Alegorn",
[4211]="Dannelor",
[4212]="Telonis",
[4213]="Taladan",
[4214]="Erion Shadewhisper",
[4215]="Anishar",
[4216]="Chardryn",
[4217]="Mathrengyl Bearwalker",
[4218]="Denatharion",
[4219]="Fylerian Nightwing",
[4220]="Cyroen",
[4221]="Talaelar",
[4222]="Voloren",
[4223]="Fyldan",
[4225]="Saenorion",
[4226]="Ulthir",
[4228]="Vaean",
[4229]="Mythrin\'dir",
[4230]="Yldan",
[4231]="Kieran",
[4232]="Glorandiir",
[4233]="Mythidan",
[4234]="Andrus",
[4235]="Turian",
[4236]="Cyridan",
[4240]="Caynrus",
[4241]="Mydrannul",
[4242]="Frostsaber Companion",
[4243]="Nightshade",
[4244]="Shadow",
[4248]="Pesterhide Hyena",
[4249]="Pesterhide Snarler",
[4250]="Galak Packhound",
[4251]="Goblin Racer",
[4252]="Gnome Racer",
[4253]="Bear Form (Night Elf Druid)",
[4254]="Geofram Bouldertoe",
[4255]="Brogus Thunderbrew",
[4256]="Golnir Bouldertoe",
[4257]="Lana Thunderbrew",
[4258]="Bengus Deepforge",
[4259]="Thurgrum Deepforge",
[4260]="Venture Co. Shredder",
[4261]="Bear Form (Tauren Druid)",
[4262]="Darnassus Sentinel",
[4263]="Deepmoss Hatchling",
[4264]="Deepmoss Matriarch",
[4265]="Nyoma",
[4266]="Danlyia",
[4267]="Daelyshia",
[4268]="Riding Wolf (Gray)",
[4269]="Riding Horse (Chestnut)",
[4270]="Riding Wolf (Red)",
[4271]="Riding Wolf (DarkGray)",
[4272]="Riding Wolf (DarkBrown)",
[4273]="Keeper Ordanus",
[4274]="Fenrus the Devourer",
[4275]="Archmage Arugal",
[4276]="Piznik",
[4277]="Eye of Kilrogg",
[4278]="Commander Springvale",
[4279]="Odo the Blindwatcher",
[4280]="Scarlet Preserver",
[4281]="Scarlet Scout",
[4282]="Scarlet Magician",
[4283]="Scarlet Sentry",
[4284]="Scarlet Augur",
[4285]="Scarlet Disciple",
[4286]="Scarlet Soldier",
[4287]="Scarlet Gallant",
[4288]="Scarlet Beastmaster",
[4289]="Scarlet Evoker",
[4290]="Scarlet Guardsman",
[4291]="Scarlet Diviner",
[4292]="Scarlet Protector",
[4293]="Scarlet Scryer",
[4294]="Scarlet Sorcerer",
[4295]="Scarlet Myrmidon",
[4296]="Scarlet Adept",
[4297]="Scarlet Conjuror",
[4298]="Scarlet Defender",
[4299]="Scarlet Chaplain",
[4300]="Scarlet Wizard",
[4301]="Scarlet Centurion",
[4302]="Scarlet Champion",
[4303]="Scarlet Abbot",
[4304]="Scarlet Tracking Hound",
[4305]="Kriggon Talsone",
[4306]="Scarlet Torturer",
[4307]="Heldan Galesong",
[4308]="Unfettered Spirit",
[4309]="Gorm Grimtotem",
[4310]="Cor Grimtotem",
[4311]="Holgar Stormaxe",
[4312]="Tharm",
[4314]="Gorkas",
[4316]="Kolkar Packhound",
[4317]="Nyse",
[4319]="Thyssiana",
[4320]="Caelyb",
[4321]="Baldruc",
[4323]="Searing Hatchling",
[4324]="Searing Whelp",
[4328]="Firemane Scalebane",
[4329]="Firemane Scout",
[4331]="Firemane Ash Tail",
[4334]="Firemane Flamecaller",
[4339]="Brimgore",
[4341]="Drywallow Crocolisk",
[4342]="Drywallow Vicejaw",
[4343]="Drywallow Snapper",
[4344]="Mottled Drywallow Crocolisk",
[4345]="Drywallow Daggermaw",
[4346]="Noxious Flayer",
[4347]="Noxious Reaver",
[4348]="Noxious Shredder",
[4351]="Bloodfen Raptor",
[4352]="Bloodfen Screecher",
[4355]="Bloodfen Scytheclaw",
[4356]="Bloodfen Razormaw",
[4357]="Bloodfen Lashtail",
[4358]="Mirefin Puddlejumper",
[4359]="Mirefin Murloc",
[4360]="Mirefin Warrior",
[4361]="Mirefin Muckdweller",
[4362]="Mirefin Coastrunner",
[4363]="Mirefin Oracle",
[4364]="Strashaz Warrior",
[4366]="Strashaz Serpent Guard",
[4368]="Strashaz Myrmidon",
[4370]="Strashaz Sorceress",
[4371]="Strashaz Siren",
[4374]="Strashaz Hydra",
[4376]="Darkmist Spider",
[4377]="Darkmist Lurker",
[4378]="Darkmist Recluse",
[4379]="Darkmist Silkspinner",
[4380]="Darkmist Widow",
[4382]="Withervine Creeper",
[4385]="Withervine Rager",
[4386]="Withervine Bark Ripper",
[4387]="Withervine Mire Beast",
[4388]="Young Murk Thresher",
[4389]="Murk Thresher",
[4390]="Elder Murk Thresher",
[4391]="Swamp Ooze",
[4392]="Corrosive Swamp Ooze",
[4393]="Acidic Swamp Ooze",
[4394]="Bubbling Swamp Ooze",
[4396]="Mudrock Tortoise",
[4397]="Mudrock Spikeshell",
[4398]="Mudrock Burrower",
[4399]="Mudrock Borer",
[4400]="Mudrock Snapjaw",
[4401]="Muckshell Clacker",
[4402]="Muckshell Snapclaw",
[4403]="Muckshell Pincer",
[4404]="Muckshell Scrabbler",
[4405]="Muckshell Razorclaw",
[4407]="Teloren",
[4408]="Aquatic Form (Night Elf Druid)",
[4409]="Gatekeeper Kordurus",
[4410]="Aquatic Form (Tauren Druid)",
[4411]="Darkfang Lurker",
[4412]="Darkfang Creeper",
[4413]="Darkfang Spider",
[4414]="Darkfang Venomspitter",
[4415]="Giant Darkfang Spider",
[4416]="Defias Strip Miner",
[4417]="Defias Taskmaster",
[4418]="Defias Wizard",
[4419]="Race Master Kronkrider",
[4420]="Overlord Ramtusk",
[4421]="Charlga Razorflank",
[4422]="Agathelos the Raging",
[4423]="Darnassian Protector",
[4424]="Aggem Thorncurse",
[4425]="Blind Hunter",
[4427]="Ward Guardian",
[4428]="Death Speaker Jargba",
[4429]="Goblin Pit Crewman",
[4430]="Gnome Pit Crewman",
[4435]="Razorfen Warrior",
[4436]="Razorfen Quilguard",
[4437]="Razorfen Warden",
[4438]="Razorfen Spearhide",
[4440]="Razorfen Totemic",
[4442]="Razorfen Defender",
[4444]="Deathstalker Vincent",
[4451]="Auld Stonespire",
[4452]="Kravel Koalbeard",
[4453]="Wizzle Brassbolts",
[4454]="Fizzle Brassbolts",
[4455]="Red Jack Flint",
[4456]="Fiora Longears",
[4457]="Murkgill Forager",
[4458]="Murkgill Hunter",
[4459]="Murkgill Oracle",
[4460]="Murkgill Lord",
[4461]="Murkgill Warrior",
[4462]="Blackrock Hunter",
[4463]="Blackrock Summoner",
[4464]="Blackrock Gladiator",
[4465]="Vilebranch Warrior",
[4466]="Vilebranch Scalper",
[4467]="Vilebranch Soothsayer",
[4468]="Jade Sludge",
[4469]="Emerald Ooze",
[4472]="Haunting Vision",
[4474]="Rotting Cadaver",
[4475]="Blighted Zombie",
[4479]="Fardel Dabyrie",
[4480]="Kenata Dabyrie",
[4481]="Marcel Dabyrie",
[4483]="Moktar Krin",
[4484]="Feero Ironhand",
[4485]="Belgrom Rockmaul",
[4486]="Genavie Callow",
[4488]="Parqual Fintallas",
[4489]="Braug Dimspirit",
[4490]="Grenka Bloodscreech",
[4493]="Scarlet Avenger",
[4494]="Scarlet Spellbinder",
[4495]="Gnome Pit Boss",
[4496]="Goblin Pit Boss",
[4498]="Maurin Bonesplitter",
[4499]="Rok\'Alim the Pounder",
[4500]="Overlord Mok\'Morokk",
[4501]="Draz\'Zilb",
[4502]="Tharg",
[4503]="Mudcrush Durtfeet",
[4504]="Frostmaw",
[4505]="Bloodsail Deckhand",
[4506]="Bloodsail Swabby",
[4507]="Daisy",
[4508]="Willix the Importer",
[4509]="Sargath",
[4510]="Heralath Fallowbrook",
[4511]="Agam\'ar",
[4512]="Rotting Agam\'ar",
[4514]="Raging Agam\'ar",
[4515]="Death\'s Head Acolyte",
[4516]="Death\'s Head Adept",
[4517]="Death\'s Head Priest",
[4518]="Death\'s Head Sage",
[4519]="Death\'s Head Seer",
[4520]="Razorfen Geomancer",
[4521]="Treshala Fallowbrook",
[4522]="Razorfen Dustweaver",
[4523]="Razorfen Groundshaker",
[4525]="Razorfen Earthbreaker",
[4526]="Wind Howler",
[4528]="Stone Rumbler",
[4530]="Razorfen Handler",
[4531]="Razorfen Beast Trainer",
[4532]="Razorfen Beastmaster",
[4534]="Tamed Hyena",
[4535]="Tamed Battleboar",
[4538]="Kraul Bat",
[4539]="Greater Kraul Bat",
[4540]="Scarlet Monk",
[4541]="Blood of Agamaggan",
[4542]="High Inquisitor Fairbanks",
[4543]="Bloodmage Thalnos",
[4544]="Krueg Skullsplitter",
[4545]="Nag\'zehn",
[4546]="Bor\'zehn",
[4547]="Tarkreu Shadowstalker",
[4548]="Steelsnap",
[4549]="William Montague",
[4550]="Ophelia Montague",
[4551]="Michael Garrett",
[4552]="Eunice Burch",
[4553]="Ronald Burch",
[4554]="Tawny Grisette",
[4555]="Eleanor Rusk",
[4556]="Gordon Wendham",
[4557]="Louis Warren",
[4558]="Lauren Newcomb",
[4559]="Timothy Weldon",
[4560]="Walter Ellingson",
[4561]="Daniel Bartlett",
[4562]="Thomas Mordan",
[4563]="Kaal Soulreaper",
[4564]="Luther Pickman",
[4565]="Richard Kerwin",
[4566]="Kaelystia Hatebringer",
[4567]="Pierce Shackleton",
[4568]="Anastasia Hartwell",
[4569]="Charles Seaton",
[4570]="Sydney Upton",
[4571]="Morley Bates",
[4572]="Silas Zimmer",
[4573]="Armand Cromwell",
[4574]="Lizbeth Cromwell",
[4575]="Hannah Akeley",
[4576]="Josef Gregorian",
[4577]="Millie Gregorian",
[4578]="Josephine Lister",
[4580]="Lucille Castleton",
[4581]="Salazar Bloch",
[4582]="Carolyn Ward",
[4583]="Miles Dexter",
[4584]="Gregory Charles",
[4585]="Ezekiel Graves",
[4586]="Graham Van Talen",
[4587]="Elizabeth Van Talen",
[4588]="Arthur Moore",
[4589]="Joseph Moore",
[4590]="Jonathan Chambers",
[4591]="Mary Edras",
[4592]="Nathaniel Steenwick",
[4593]="Christoph Walker",
[4594]="Angela Curthas",
[4595]="Baltus Fowler",
[4596]="James Van Brunt",
[4597]="Samuel Van Brunt",
[4598]="Brom Killian",
[4599]="Sarah Killian",
[4600]="Geoffrey Hartwell",
[4601]="Francis Eliot",
[4602]="Benijah Fenner",
[4603]="Nicholas Atwood",
[4604]="Abigail Sawyer",
[4605]="Basil Frye",
[4606]="Aelthalyste",
[4607]="Father Lankester",
[4608]="Father Lazarus",
[4609]="Doctor Marsh",
[4610]="Algernon",
[4611]="Doctor Herbert Halsey",
[4612]="Boyle",
[4613]="Christopher Drakul",
[4614]="Martha Alliestar",
[4615]="Katrina Alliestar",
[4616]="Lavinia Crowe",
[4617]="Thaddeus Webb",
[4618]="Martek the Exiled",
[4619]="Geltharis",
[4620]="Fobeed",
[4623]="Quilguard Champion",
[4624]="Booty Bay Bruiser",
[4625]="Death\'s Head Ward Keeper",
[4627]="Arugal\'s Voidwalker",
[4629]="Trackmaster Zherin",
[4630]="Pozzik",
[4631]="Wharfmaster Lozgil",
[4632]="Kolkar Centaur",
[4633]="Kolkar Scout",
[4634]="Kolkar Mauler",
[4635]="Kolkar Windchaser",
[4636]="Kolkar Battle Lord",
[4637]="Kolkar Destroyer",
[4638]="Magram Scout",
[4639]="Magram Outrunner",
[4640]="Magram Wrangler",
[4641]="Magram Windchaser",
[4642]="Magram Stormer",
[4643]="Magram Pack Runner",
[4644]="Magram Marauder",
[4645]="Magram Mauler",
[4646]="Gelkis Outrunner",
[4647]="Gelkis Scout",
[4648]="Gelkis Stamper",
[4649]="Gelkis Windchaser",
[4651]="Gelkis Earthcaller",
[4652]="Gelkis Mauler",
[4653]="Gelkis Marauder",
[4654]="Maraudine Scout",
[4655]="Maraudine Wrangler",
[4656]="Maraudine Mauler",
[4657]="Maraudine Windchaser",
[4658]="Maraudine Stormer",
[4659]="Maraudine Marauder",
[4660]="Maraudine Bonepaw",
[4661]="Gelkis Rumbler",
[4662]="Magram Bonepaw",
[4663]="Burning Blade Augur",
[4664]="Burning Blade Reaver",
[4665]="Burning Blade Adept",
[4666]="Burning Blade Felsworn",
[4667]="Burning Blade Shadowmage",
[4668]="Burning Blade Summoner",
[4670]="Hatefury Rogue",
[4671]="Hatefury Trickster",
[4672]="Hatefury Felsworn",
[4673]="Hatefury Betrayer",
[4674]="Hatefury Shadowstalker",
[4675]="Hatefury Hellcaller",
[4676]="Lesser Infernal",
[4677]="Doomwarder",
[4678]="Mana Eater",
[4679]="Nether Maiden",
[4680]="Doomwarder Captain",
[4681]="Mage Hunter",
[4682]="Nether Sister",
[4684]="Nether Sorceress",
[4685]="Ley Hunter",
[4686]="Deepstrider Giant",
[4687]="Deepstrider Searcher",
[4688]="Bonepaw Hyena",
[4689]="Starving Bonepaw",
[4690]="Rabid Bonepaw",
[4692]="Dread Swoop",
[4693]="Dread Flyer",
[4694]="Dread Ripper",
[4695]="Carrion Horror",
[4696]="Scorpashi Snapper",
[4697]="Scorpashi Lasher",
[4699]="Scorpashi Venomlash",
[4700]="Aged Kodo",
[4701]="Dying Kodo",
[4702]="Ancient Kodo",
[4705]="Burning Blade Invoker",
[4706]="Razzeric",
[4707]="Zuzubee",
[4708]="Shreev",
[4709]="Zamek",
[4710]="Riding Ram (Gray)",
[4711]="Slitherblade Naga",
[4712]="Slitherblade Sorceress",
[4713]="Slitherblade Warrior",
[4714]="Slitherblade Myrmidon",
[4715]="Slitherblade Razortail",
[4716]="Slitherblade Tidehunter",
[4718]="Slitherblade Oracle",
[4719]="Slitherblade Sea Witch",
[4720]="Rizzle Brassbolts",
[4721]="Zangen Stonehoof",
[4722]="Rau Cliffrunner",
[4723]="Foreman Cozzle",
[4726]="Raging Thunder Lizard",
[4727]="Elder Thunder Lizard",
[4728]="Gritjaw Basilisk",
[4729]="Hulking Gritjaw Basilisk",
[4730]="Lelanai",
[4731]="Zachariah Post",
[4732]="Randal Hunter",
[4752]="Kildar",
[4753]="Jartsam",
[4772]="Ultham Ironhorn",
[4773]="Velma Warnam",
[4775]="Felicia Doan",
[4777]="Riding Ram (White)",
[4778]="Riding Ram (Blue)",
[4779]="Riding Ram (Brown)",
[4780]="Riding Ram (Black)",
[4781]="Snufflenose Gopher",
[4782]="Truk Wildbeard",
[4783]="Dawnwatcher Selgorm",
[4784]="Argent Guard Manados",
[4785]="Illusionary Nightmare",
[4786]="Dawnwatcher Shaedlass",
[4787]="Argent Guard Thaelrid",
[4788]="Fallenroot Satyr",
[4789]="Fallenroot Rogue",
[4791]="Nazeer Bloodpike",
[4792]="\"Swamp Eye\" Jarl",
[4794]="Morgan Stern",
[4795]="Force of Nature",
[4798]="Fallenroot Shadowstalker",
[4799]="Fallenroot Hellcaller",
[4802]="Blackfathom Tide Priestess",
[4803]="Blackfathom Oracle",
[4805]="Blackfathom Sea Witch",
[4807]="Blackfathom Myrmidon",
[4809]="Twilight Acolyte",
[4810]="Twilight Reaver",
[4811]="Twilight Aquamancer",
[4812]="Twilight Loreseeker",
[4813]="Twilight Shadowmage",
[4814]="Twilight Elementalist",
[4815]="Murkshallow Snapclaw",
[4818]="Blindlight Murloc",
[4819]="Blindlight Muckdweller",
[4820]="Blindlight Oracle",
[4821]="Skittering Crustacean",
[4822]="Snapping Crustacean",
[4823]="Barbed Crustacean",
[4824]="Aku\'mai Fisher",
[4825]="Aku\'mai Snapjaw",
[4827]="Deep Pool Threshfin",
[4829]="Aku\'mai",
[4830]="Old Serra\'kis",
[4831]="Lady Sarevess",
[4832]="Twilight Lord Kelris",
[4834]="Theramore Infiltrator",
[4841]="Deadmire",
[4842]="Earthcaller Halmgar",
[4844]="Shadowforge Surveyor",
[4845]="Shadowforge Ruffian",
[4846]="Shadowforge Digger",
[4847]="Shadowforge Relic Hunter",
[4848]="Shadowforge Darkcaster",
[4849]="Shadowforge Archaeologist",
[4850]="Stonevault Cave Lurker",
[4851]="Stonevault Rockchewer",
[4852]="Stonevault Oracle",
[4853]="Stonevault Geomancer",
[4854]="Grimlok",
[4855]="Stonevault Brawler",
[4856]="Stonevault Cave Hunter",
[4857]="Stone Keeper",
[4860]="Stone Steward",
[4861]="Shrike Bat",
[4863]="Jadespine Basilisk",
[4872]="Obsidian Golem",
[4875]="Turhaw",
[4876]="Jawn Highmesa",
[4877]="Jandia",
[4878]="Montarr",
[4879]="Ogg\'marr",
[4880]="\"Stinky\" Ignatz",
[4883]="Krak",
[4884]="Zulrg",
[4885]="Gregor MacVince",
[4886]="Hans Weston",
[4887]="Ghamoo-ra",
[4888]="Marie Holdston",
[4889]="Torq Ironblast",
[4890]="Piter Verance",
[4891]="Dwane Wertle",
[4892]="Jensen Farran",
[4893]="Bartender Lillian",
[4894]="Craig Nollward",
[4895]="Smiling Jim",
[4896]="Charity Mipsy",
[4897]="Helenia Olden",
[4898]="Brant Jasperbloom",
[4899]="Uma Bartulm",
[4900]="Alchemist Narett",
[4901]="Sara Pierce",
[4902]="Mikal Pierce",
[4921]="Guard Byron",
[4922]="Guard Edward",
[4923]="Guard Jarad",
[4924]="Combat Master Criton",
[4926]="Krog",
[4941]="Caz Twosprocket",
[4943]="Mosarn",
[4944]="Captain Garran Vimes",
[4945]="Goblin Drag Car",
[4946]="Gnome Drag Car",
[4947]="Theramore Lieutenant",
[4948]="Adjutant Tesoran",
[4949]="Thrall",
[4950]="Spot",
[4951]="Theramore Practicing Guard",
[4952]="Theramore Combat Dummy",
[4953]="Moccasin",
[4954]="Uttnar",
[4958]="Haunting Spirit",
[4959]="Jorgen",
[4960]="Bishop DeLavey",
[4961]="Dashel Stonefist",
[4962]="Tapoke \"Slim\" Jahn",
[4963]="Mikhail",
[4964]="Commander Samaul",
[4965]="Pained",
[4966]="Private Hendel",
[4967]="Archmage Tervosh",
[4968]="Lady Jaina Proudmoore",
[4969]="Old Town Thug",
[4971]="Slim\'s Friend",
[4972]="Kagoro",
[4973]="Guard Lasiter",
[4974]="Aldwin Laughlin",
[4977]="Murkshallow Softshell",
[4978]="Aku\'mai Servant",
[4979]="Theramore Guard",
[4980]="Paval Reethe",
[4981]="Ben Trias",
[4982]="Thomas",
[4983]="Ogron",
[4984]="Argos Nightwhisper",
[4995]="Stockade Guard",
[4996]="Injured Stockade Guard",
[5032]="World Alchemy Trainer",
[5037]="World Engineering Trainer",
[5038]="World Enchanting Trainer",
[5040]="World Leatherworking Trainer",
[5041]="World Tailoring Trainer",
[5042]="Nurse Lillian",
[5043]="Defias Rioter",
[5044]="Theramore Skirmisher",
[5045]="Private Hallan",
[5046]="Lieutenant Caldwell",
[5047]="Ellaercia",
[5048]="Deviate Adder",
[5049]="Lyesa Steelbrow",
[5052]="Edward Remington",
[5053]="Deviate Crocolisk",
[5054]="Krumn",
[5055]="Deviate Lasher",
[5056]="Deviate Dreadfang",
[5057]="Theramore Deserter",
[5058]="Wolfguard Worg",
[5081]="Connor Rivers",
[5082]="Vincent Hyal",
[5083]="Clerk Lendry",
[5085]="Sentry Point Guard",
[5086]="Sentry Point Captain",
[5087]="Do\'gol",
[5088]="Falgran Hastil",
[5089]="Balos Jacken",
[5090]="Combat Master Szigeti",
[5091]="Guard Kahil",
[5092]="Guard Lana",
[5093]="Guard Narrisha",
[5094]="Guard Tark",
[5095]="Captain Andrews",
[5096]="Captain Thomas",
[5097]="Lupine Delusion",
[5099]="Soleil Stonemantle",
[5100]="Fillius Fizzlespinner",
[5101]="Bryllia Ironbrand",
[5102]="Dolman Steelfury",
[5103]="Grenil Steelfury",
[5106]="Bromiir Ormsen",
[5107]="Mangorn Flinthammer",
[5108]="Raena Flinthammer",
[5109]="Myra Tyrngaarde",
[5110]="Barim Jurgenstaad",
[5111]="Innkeeper Firebrew",
[5112]="Gwenna Firebrew",
[5113]="Kelv Sternhammer",
[5114]="Bilban Tosslespanner",
[5115]="Daera Brightspear",
[5116]="Olmin Burningbeard",
[5117]="Regnus Thundergranite",
[5118]="Brogun Stoneshield",
[5119]="Hegnar Swiftaxe",
[5120]="Brenwyn Wintersteel",
[5121]="Kelomir Ironhand",
[5122]="Skolmin Goldfury",
[5123]="Bretta Goldfury",
[5124]="Sognar Cliffbeard",
[5125]="Dolkin Craghelm",
[5126]="Olthran Craghelm",
[5127]="Fimble Finespindle",
[5128]="Bombus Finespindle",
[5129]="Lissyphus Finespindle",
[5130]="Jondor Steelbrow",
[5132]="Pithwick",
[5133]="Harick Boulderdrum",
[5134]="Jonivera Farmountain",
[5135]="Svalbrad Farmountain",
[5137]="Reyna Stonebranch",
[5138]="Gwina Stonebranch",
[5139]="Kurdrum Barleybeard",
[5140]="Edris Barleybeard",
[5141]="Theodrus Frostbeard",
[5142]="Braenna Flintcrag",
[5143]="Toldren Deepiron",
[5144]="Bink",
[5145]="Juli Stormkettle",
[5146]="Nittlebur Sparkfizzle",
[5147]="Valgar Highforge",
[5148]="Beldruk Doombrow",
[5149]="Brandur Ironhammer",
[5150]="Nissa Firestone",
[5151]="Ginny Longberry",
[5152]="Bingus",
[5153]="Jormund Stonebrow",
[5154]="Poranna Snowbraid",
[5155]="Ingrys Stonebrow",
[5156]="Maeva Snowbraid",
[5157]="Gimble Thistlefuzz",
[5158]="Tilli Thistlefuzz",
[5159]="Daryl Riknussun",
[5160]="Emrul Riknussun",
[5161]="Grimnur Stonebrand",
[5162]="Tansy Puddlefizz",
[5163]="Burbik Gearspanner",
[5164]="Grumnus Steelshaper",
[5165]="Hulfdan Blackbeard",
[5166]="Ormyr Flinteye",
[5167]="Fenthwick",
[5169]="Tynnus Venomsprout",
[5170]="Hjoldir Stoneblade",
[5171]="Thistleheart",
[5172]="Briarthorn",
[5173]="Alexander Calder",
[5174]="Springspindle Fizzlegear",
[5175]="Gearcutter Cogspinner",
[5177]="Tally Berryfizz",
[5178]="Soolie Berryfizz",
[5184]="Theramore Sentry",
[5185]="Hammerhead Shark",
[5186]="Basking Shark",
[5188]="Garyl",
[5189]="Thrumn",
[5190]="Merill Pleasance",
[5191]="Shalumon",
[5193]="Rebecca Laughlin",
[5194]="Black Riding Wolf",
[5195]="Brown Riding Wolf",
[5196]="Gray Riding Wolf",
[5197]="Red Riding Wolf",
[5198]="Arctic Riding Wolf",
[5199]="Medic Tamberlyn",
[5200]="Medic Helaina",
[5202]="Archery Target",
[5204]="Apothecary Zinge",
[5224]="Murk Slitherer",
[5225]="Murk Spitter",
[5226]="Murk Worm",
[5228]="Saturated Ooze",
[5229]="Gordunni Ogre",
[5232]="Gordunni Brute",
[5234]="Gordunni Mauler",
[5235]="Fungal Ooze",
[5236]="Gordunni Shaman",
[5237]="Gordunni Ogre Mage",
[5238]="Gordunni Battlemaster",
[5239]="Gordunni Mage-Lord",
[5240]="Gordunni Warlock",
[5241]="Gordunni Warlord",
[5243]="Cursed Atal\'ai",
[5244]="Zukk\'ash Stinger",
[5245]="Zukk\'ash Wasp",
[5246]="Zukk\'ash Worker",
[5247]="Zukk\'ash Tunneler",
[5249]="Woodpaw Mongrel",
[5251]="Woodpaw Trapper",
[5253]="Woodpaw Brute",
[5254]="Woodpaw Mystic",
[5255]="Woodpaw Reaver",
[5256]="Atal\'ai Warrior",
[5258]="Woodpaw Alpha",
[5259]="Atal\'ai Witch Doctor",
[5260]="Groddoc Ape",
[5261]="Enthralled Atal\'ai",
[5262]="Groddoc Thunderer",
[5263]="Mummified Atal\'ai",
[5267]="Unliving Atal\'ai",
[5268]="Ironfur Bear",
[5269]="Atal\'ai Priest",
[5270]="Atal\'ai Corpse Eater",
[5271]="Atal\'ai Deathwalker",
[5272]="Grizzled Ironfur Bear",
[5273]="Atal\'ai High Priest",
[5274]="Ironfur Patriarch",
[5276]="Sprite Dragon",
[5277]="Nightmare Scalebane",
[5278]="Sprite Darter",
[5280]="Nightmare Wyrmkin",
[5283]="Nightmare Wanderer",
[5286]="Longtooth Runner",
[5287]="Longtooth Howler",
[5288]="Rabid Longtooth",
[5291]="Hakkari Frostwing",
[5292]="Feral Scar Yeti",
[5293]="Hulking Feral Scar",
[5295]="Enraged Feral Scar",
[5296]="Rage Scar Yeti",
[5297]="Elder Rage Scar",
[5299]="Ferocious Rage Scar",
[5300]="Frayfeather Hippogryph",
[5304]="Frayfeather Stagwing",
[5305]="Frayfeather Skystormer",
[5306]="Frayfeather Patriarch",
[5307]="Vale Screecher",
[5308]="Rogue Vale Screecher",
[5312]="Lethlas",
[5314]="Phantim",
[5317]="Jademir Oracle",
[5319]="Jademir Tree Warder",
[5320]="Jademir Boughguard",
[5327]="Coast Crawl Snapclaw",
[5328]="Coast Crawl Deepseer",
[5331]="Hatecrest Warrior",
[5332]="Hatecrest Wave Rider",
[5333]="Hatecrest Serpent Guard",
[5334]="Hatecrest Myrmidon",
[5335]="Hatecrest Screamer",
[5336]="Hatecrest Sorceress",
[5337]="Hatecrest Siren",
[5343]="Lady Szallah",
[5345]="Diamond Head",
[5346]="Bloodroar the Stalker",
[5347]="Antilus the Soarer",
[5349]="Arash-ethis",
[5350]="Qirot",
[5352]="Old Grizzlegut",
[5353]="Itharius",
[5354]="Gnarl Leafbrother",
[5356]="Snarler",
[5357]="Land Walker",
[5358]="Cliff Giant",
[5359]="Shore Strider",
[5360]="Deep Strider",
[5361]="Wave Strider",
[5362]="Northspring Harpy",
[5363]="Northspring Roguefeather",
[5364]="Northspring Slayer",
[5366]="Northspring Windcaller",
[5384]="Brohann Caskbelly",
[5385]="Watcher Mahar Ba",
[5386]="Acolyte Dellis",
[5387]="High Explorer Magellas",
[5388]="Ingo Woolybush",
[5389]="Prospector Gunstan",
[5390]="Sage Palerunner",
[5391]="Galen Goodward",
[5392]="Yarr Hammerstone",
[5393]="Quartermaster Lungertz",
[5394]="Neeka Bloodscar",
[5395]="Felgur Twocuts",
[5396]="Captain Pentigast",
[5397]="Uthek the Wise",
[5398]="Warug",
[5399]="Veyzhak the Cannibal",
[5400]="Zekkis",
[5401]="Kazkaz the Unholy",
[5402]="Khan Hratha",
[5403]="White Stallion",
[5404]="Black Stallion",
[5405]="Pinto",
[5406]="Palomino",
[5407]="Nightmare",
[5409]="Harvester Swarm",
[5411]="Krinkle Goodsteel",
[5412]="Gurda Wildmane",
[5413]="Furen Longbeard",
[5414]="Apothecary Faustin",
[5416]="Infiltrator Marksen",
[5418]="Deathstalker Zraedus",
[5419]="Glasshide Basilisk",
[5420]="Glasshide Gazer",
[5421]="Glasshide Petrifier",
[5422]="Scorpid Hunter",
[5423]="Scorpid Tail Lasher",
[5424]="Scorpid Dunestalker",
[5425]="Starving Blisterpaw",
[5426]="Blisterpaw Hyena",
[5427]="Rabid Blisterpaw",
[5428]="Roc",
[5429]="Fire Roc",
[5430]="Searing Roc",
[5431]="Surf Glider",
[5432]="Giant Surf Glider",
[5434]="Coral Shark",
[5435]="Sand Shark",
[5441]="Hazzali Wasp",
[5450]="Hazzali Stinger",
[5451]="Hazzali Swarmer",
[5452]="Hazzali Worker",
[5453]="Hazzali Tunneler",
[5454]="Hazzali Sandreaver",
[5455]="Centipaar Wasp",
[5456]="Centipaar Stinger",
[5457]="Centipaar Swarmer",
[5458]="Centipaar Worker",
[5459]="Centipaar Tunneler",
[5460]="Centipaar Sandreaver",
[5461]="Sea Elemental",
[5462]="Sea Spray",
[5464]="Watchmaster Sorigal",
[5465]="Land Rager",
[5466]="Coast Strider",
[5467]="Deep Dweller",
[5469]="Dune Smasher",
[5470]="Raging Dune Smasher",
[5471]="Dunemaul Ogre",
[5472]="Dunemaul Enforcer",
[5473]="Dunemaul Ogre Mage",
[5474]="Dunemaul Brute",
[5475]="Dunemaul Warlock",
[5476]="Watcher Biggs",
[5477]="Noboru the Cudgel",
[5479]="Wu Shen",
[5480]="Ilsa Corbin",
[5481]="Thistleshrub Dew Collector",
[5482]="Stephen Ryback",
[5483]="Erika Tate",
[5484]="Brother Benjamin",
[5485]="Thistleshrub Rootshaper",
[5489]="Brother Joshua",
[5490]="Gnarled Thistleshrub",
[5491]="Arthur the Faithful",
[5492]="Katherine the Pure",
[5493]="Arnold Leland",
[5494]="Catherine Leland",
[5495]="Ursula Deline",
[5496]="Sandahl",
[5497]="Jennea Cannon",
[5498]="Elsharin",
[5499]="Lilyssia Nightbreeze",
[5500]="Tel\'Athir",
[5501]="Kaerbrus",
[5502]="Shylamiir",
[5503]="Eldraeith",
[5504]="Sheldras Moontree",
[5505]="Theridran",
[5506]="Maldryn",
[5508]="Strumner Flintheel",
[5509]="Kathrum Axehand",
[5510]="Thulman Flintcrag",
[5511]="Therum Deepforge",
[5512]="Kaita Deepforge",
[5513]="Gelman Stonehand",
[5514]="Brooke Stonebraid",
[5515]="Einris Brightspear",
[5516]="Ulfir Ironbeard",
[5517]="Thorfin Stoneshield",
[5518]="Lilliam Sparkspindle",
[5519]="Billibub Cogspinner",
[5520]="Spackle Thornberry",
[5523]="War Party Kodo",
[5543]="Clarice Foster",
[5546]="Grunt Zuul",
[5547]="Grunt Tharlak",
[5564]="Simon Tanner",
[5565]="Jillian Tanner",
[5566]="Tannysa",
[5567]="Sellandus",
[5568]="Captured Leper Gnome",
[5569]="Fizzlebang Booms",
[5570]="Bruuk Barleybeard",
[5591]="Dar",
[5592]="Tok\'Kar",
[5593]="Katar",
[5594]="Alchemist Pestlezugg",
[5595]="Ironforge Guard",
[5597]="Grunt Komak",
[5598]="Atal\'ai Exile",
[5599]="Kon Yelloweyes",
[5600]="Khan Dez\'hepah",
[5601]="Khan Jehn",
[5602]="Khan Shaka",
[5603]="Grunt Mojka",
[5605]="Tisa Martine",
[5606]="Goma",
[5607]="Roger",
[5608]="Jamin",
[5609]="Zazo",
[5610]="Kozish",
[5611]="Barkeep Morag",
[5612]="Gimrizz Shadowcog",
[5613]="Doyo\'da",
[5614]="Sarok",
[5615]="Wastewander Rogue",
[5616]="Wastewander Thief",
[5617]="Wastewander Shadow Mage",
[5618]="Wastewander Bandit",
[5620]="Bartender Wental",
[5622]="Ongeku",
[5623]="Wastewander Assassin",
[5624]="Undercity Guardian",
[5634]="Rhapsody Shindigger",
[5635]="Falstad Wildhammer",
[5636]="Gryphon Master Talonaxe",
[5637]="Roetten Stonehammer",
[5638]="Kreldig Ungor",
[5639]="Craven Drok",
[5640]="Keldran",
[5641]="Takata Steelblade",
[5642]="Vahlarriel Demonslayer",
[5643]="Tyranis Malem",
[5644]="Dalinda Malem",
[5645]="Sandfury Hideskinner",
[5646]="Sandfury Axe Thrower",
[5647]="Sandfury Firecaller",
[5648]="Sandfury Shadowcaster",
[5649]="Sandfury Blood Drinker",
[5650]="Sandfury Witch Doctor",
[5651]="Patrick Garrett",
[5652]="Practice Dummy",
[5653]="Tyler",
[5654]="Edward",
[5655]="Robert Gossom",
[5656]="Richard Van Brunt",
[5657]="Marla Fowler",
[5658]="Chloe Curthas",
[5659]="Andrew Hartwell",
[5660]="Riley Walker",
[5661]="Brother Malach",
[5662]="Sergeant Houser",
[5663]="Travist Bosk",
[5664]="Eldin Partridge",
[5665]="Alyssa Blaye",
[5666]="Gunther\'s Visage",
[5667]="Venya Marthand",
[5668]="Mattie Alred",
[5669]="Helena Atwood",
[5670]="Edrick Killian",
[5674]="Practice Target",
[5675]="Carendin Halgar",
[5676]="Summoned Voidwalker",
[5677]="Summoned Succubus",
[5679]="Lysta Bancroft",
[5680]="Male Human Captive",
[5681]="Female Human Captive",
[5682]="Dalin Forgewright",
[5683]="Comar Villard",
[5685]="Captive Ghoul",
[5686]="Captive Zombie",
[5687]="Captive Abomination",
[5688]="Innkeeper Renee",
[5690]="Clyde Kellen",
[5691]="Dalin Forgewright Projection",
[5692]="Comar Villard Projection",
[5693]="Godrick Farsan",
[5694]="High Sorcerer Andromath",
[5695]="Vance Undergloom",
[5696]="Gerard Abernathy",
[5697]="Theresa",
[5698]="Joanna Whitehall",
[5699]="Leona Tharpe",
[5700]="Samantha Shackleton",
[5701]="Selina Pickman",
[5702]="Jezelle Pruitt",
[5703]="Winifred Kerwin",
[5704]="Adrian Bartlett",
[5705]="Victor Bartholomew",
[5706]="Davitt Hickson",
[5707]="Reginald Grimsford",
[5708]="Spawn of Hakkar",
[5709]="Shade of Eranikus",
[5710]="Jammal\'an the Prophet",
[5711]="Ogom the Wretched",
[5712]="Zolo",
[5713]="Gasher",
[5714]="Loro",
[5715]="Hukku",
[5716]="Zul\'Lor",
[5717]="Mijan",
[5718]="Rothos",
[5719]="Morphaz",
[5720]="Weaver",
[5721]="Dreamscythe",
[5722]="Hazzas",
[5723]="Warug\'s Target Dummy",
[5724]="Ageron Kargal",
[5725]="Deathguard Lundmark",
[5726]="Jezelle\'s Felhunter",
[5727]="Jezelle\'s Felsteed",
[5728]="Jezelle\'s Succubus",
[5729]="Jezelle\'s Voidwalker",
[5730]="Jezelle\'s Imp",
[5731]="Apothecary Vallia",
[5732]="Apothecary Katrina",
[5733]="Apothecary Lycanus",
[5734]="Apothecary Keever",
[5735]="Caged Human Female",
[5736]="Caged Human Male",
[5738]="Caged Dwarf Male",
[5739]="Caged Squirrel",
[5741]="Caged Rabbit",
[5742]="Caged Toad",
[5743]="Caged Sheep",
[5744]="Cedric Stumpel",
[5747]="Hepzibah Sedgewick",
[5748]="Killian Sanatha",
[5749]="Kayla Smithe",
[5750]="Gina Lang",
[5752]="Corporal Melkins",
[5753]="Martha Strain",
[5754]="Zane Bradford",
[5755]="Deviate Viper",
[5756]="Deviate Venomwing",
[5757]="Lilly",
[5758]="Leo Sarn",
[5759]="Nurse Neela",
[5760]="Lord Azrethoc",
[5761]="Deviate Shambler",
[5762]="Deviate Moccasin",
[5763]="Nightmare Ectoplasm",
[5764]="Guardian of Blizzard",
[5765]="Ruzan",
[5766]="Savannah Cub",
[5767]="Nalpak",
[5768]="Ebru",
[5769]="Arch Druid Hamuul Runetotem",
[5770]="Nara Wildmane",
[5771]="Jugkar Grim\'rod",
[5772]="Lord Azrethoc\'s Image",
[5773]="Jugkar Grim\'rod\'s Image",
[5774]="Riding Wolf",
[5775]="Verdan the Everliving",
[5776]="Evolving Ectoplasm (Red)",
[5777]="Evolving Ectoplasm (Green)",
[5778]="Evolving Ectoplasm (Black)",
[5780]="Cloned Ectoplasm",
[5781]="Silithid Creeper Egg",
[5782]="Crildor",
[5783]="Kalldan Felmoon",
[5784]="Waldor",
[5785]="Sister Hatelash",
[5786]="Snagglespear",
[5787]="Enforcer Emilgund",
[5791]="Cobrahn Snake Form",
[5792]="Drag Master Miglen",
[5797]="Aean Swiftriver",
[5798]="Thora Feathermoon",
[5799]="Hannah Bladeleaf",
[5800]="Marcus Bel",
[5806]="Treant Ally",
[5807]="The Rake",
[5808]="Warlord Kolkanis",
[5809]="Watch Commander Zalaphil",
[5810]="Uzzek",
[5811]="Kamari",
[5812]="Tumi",
[5814]="Innkeeper Thulbek",
[5815]="Kurgul",
[5816]="Katis",
[5817]="Shimra",
[5819]="Mirelle Tremayne",
[5820]="Gillian Moore",
[5821]="Sheldon Von Croy",
[5822]="Felweaver Scornn",
[5823]="Death Flayer",
[5824]="Captain Flat Tusk",
[5826]="Geolord Mottle",
[5827]="Brontus",
[5828]="Humar the Pridelord",
[5829]="Snort the Heckler",
[5830]="Sister Rathtalon",
[5831]="Swiftmane",
[5832]="Thunderstomp",
[5833]="Margol the Rager",
[5834]="Azzere the Skyblade",
[5835]="Foreman Grills",
[5836]="Engineer Whirleygig",
[5837]="Stonearm",
[5838]="Brokespear",
[5839]="Dark Iron Geologist",
[5840]="Dark Iron Steamsmith",
[5841]="Rocklance",
[5842]="Takk the Leaper",
[5843]="Slave Worker",
[5844]="Dark Iron Slaver",
[5846]="Dark Iron Taskmaster",
[5847]="Heggin Stonewhisker",
[5848]="Malgin Barleybrew",
[5849]="Digger Flameforge",
[5850]="Blazing Elemental",
[5851]="Captain Gerogg Hammertoe",
[5852]="Inferno Elemental",
[5853]="Tempered War Golem",
[5854]="Heavy War Golem",
[5855]="Magma Elemental",
[5856]="Glassweb Spider",
[5857]="Searing Lava Spider",
[5858]="Greater Lava Spider",
[5859]="Hagg Taurenbane",
[5860]="Twilight Dark Shaman",
[5861]="Twilight Fire Guard",
[5862]="Twilight Geomancer",
[5863]="Geopriest Gukk\'rok",
[5864]="Swinegart Spearhide",
[5865]="Dishu",
[5870]="Krond",
[5871]="Larhka",
[5872]="Serpent Form",
[5873]="Stoneskin Totem",
[5874]="Strength of Earth Totem",
[5875]="Gan\'rul Bloodeye",
[5878]="Thun\'grim Firegaze",
[5879]="Fire Nova Totem",
[5880]="Un\'Thuwa",
[5881]="Cursed Sycamore",
[5882]="Pephredo",
[5883]="Enyo",
[5884]="Mai\'ah",
[5885]="Deino",
[5886]="Gwyn Farrow",
[5887]="Canaga Earthcaller",
[5888]="Seer Ravenfeather",
[5889]="Mesa Earth Spirit",
[5890]="Redrock Earth Spirit",
[5891]="Minor Manifestation of Earth",
[5892]="Searn Firewarder",
[5893]="Minor Manifestation of Fire",
[5894]="Corrupt Minor Manifestation of Water",
[5895]="Minor Manifestation of Water",
[5896]="Fire Spirit",
[5897]="Corrupt Water Spirit",
[5898]="Air Spirit",
[5899]="Brine",
[5900]="Telf Joolam",
[5901]="Islen Waterseer",
[5902]="Minor Manifestation of Air",
[5905]="Prate Cloudseer",
[5906]="Xanis Flameweaver",
[5907]="Kranal Fiss",
[5908]="Grunt Dogran",
[5909]="Cazul",
[5910]="Zankaja",
[5911]="Grunt Logmar",
[5912]="Deviate Faerie Dragon",
[5913]="Tremor Totem",
[5914]="Deviate Nightmare",
[5915]="Brother Ravenoak",
[5916]="Sentinel Amarassan",
[5917]="Clara Charles",
[5918]="Owl Form",
[5919]="Stoneskin Totem II",
[5920]="Stoneskin Totem III",
[5921]="Strength of Earth Totem II",
[5922]="Strength of Earth Totem III",
[5923]="Poison Cleansing Totem",
[5924]="Disease Cleansing Totem",
[5925]="Grounding Totem",
[5926]="Frost Resistance Totem",
[5927]="Fire Resistance Totem",
[5928]="Sorrow Wing",
[5929]="Magma Totem",
[5930]="Sister Riven",
[5931]="Foreman Rigger",
[5932]="Taskmaster Whipfang",
[5933]="Achellios the Banished",
[5934]="Heartrazor",
[5935]="Ironeye the Invincible",
[5937]="Vile Sting",
[5938]="Uthan Stillwater",
[5939]="Vira Younghoof",
[5940]="Harn Longcast",
[5941]="Lau\'Tiki",
[5942]="Zansoa",
[5943]="Rawrk",
[5944]="Yonada",
[5946]="Male Dark Assassin",
[5947]="Female Dark Assassin",
[5948]="Female Pirate",
[5949]="Male Pirate",
[5950]="Flametongue Totem",
[5951]="Hare",
[5952]="Den Grunt",
[5953]="Razor Hill Grunt",
[5955]="Tooga",
[5957]="Birgitte Cranston",
[5958]="Thuul",
[5974]="Dreadmaul Ogre",
[5975]="Dreadmaul Ogre Mage",
[5976]="Dreadmaul Brute",
[5977]="Dreadmaul Mauler",
[5978]="Dreadmaul Warlock",
[5979]="Wretched Lost One",
[5981]="Portal Seeker",
[5982]="Black Slayer",
[5983]="Bonepicker",
[5984]="Starving Snickerfang",
[5985]="Snickerfang Hyena",
[5988]="Scorpok Stinger",
[5990]="Redstone Basilisk",
[5991]="Redstone Crystalhide",
[5992]="Ashmane Boar",
[5993]="Helboar",
[5994]="Zayus",
[5996]="Nethergarde Miner",
[5997]="Nethergarde Engineer",
[5998]="Nethergarde Foreman",
[5999]="Nethergarde Soldier",
[6000]="Nethergarde Cleric",
[6001]="Nethergarde Analyst",
[6002]="Nethergarde Riftwatcher",
[6003]="Nethergarde Officer",
[6004]="Shadowsworn Cultist",
[6005]="Shadowsworn Thug",
[6006]="Shadowsworn Adept",
[6007]="Shadowsworn Enforcer",
[6008]="Shadowsworn Warlock",
[6009]="Shadowsworn Dreadweaver",
[6010]="Felhound",
[6011]="Felguard Sentry",
[6012]="Flametongue Totem II",
[6013]="Wayward Buzzard",
[6014]="X\'yera",
[6015]="Torta",
[6016]="Elemental Protection Totem",
[6017]="Lava Spout Totem",
[6018]="Ur\'kyo",
[6019]="Hornizz Brimbuzzle",
[6020]="Slimeshell Makrura",
[6021]="Boar Spirit",
[6026]="Breyk",
[6027]="Kitha",
[6028]="Burkrum",
[6030]="Thorvald Deepforge",
[6031]="Tormus Deepforge",
[6033]="Lake Frenzy",
[6034]="Lotherias",
[6035]="Razorfen Stalker",
[6047]="Aqua Guardian",
[6066]="Earthgrab Totem",
[6068]="Warug\'s Bodyguard",
[6069]="Maraudine Khan Guard",
[6070]="Maraudine Khan Advisor",
[6071]="Legion Hound",
[6072]="Diathorus the Seeker",
[6073]="Searing Infernal",
[6074]="Riding Tiger (White Striped)",
[6075]="Riding Raptor (Emerald)",
[6076]="Riding Tallstrider (Ivory)",
[6086]="Auberdine Sentinel",
[6087]="Astranaar Sentinel",
[6089]="Harry Burlguard",
[6090]="Bartleby",
[6091]="Dellylah",
[6093]="Dead-Tooth Jack",
[6094]="Byancie",
[6109]="Azuregos",
[6110]="Fire Nova Totem II",
[6111]="Fire Nova Totem III",
[6112]="Windfury Totem",
[6113]="Vejrek",
[6114]="Muren Stormpike",
[6115]="Felguard",
[6116]="Highborne Apparition",
[6117]="Highborne Lichling",
[6118]="Varo\'then\'s Ghost",
[6119]="Tog Rustsprocket",
[6120]="Lago Blackwrench",
[6121]="Remen Marcot",
[6122]="Gakin the Darkbinder",
[6123]="Dark Iron Spy",
[6124]="Captain Beld",
[6125]="Haldarr Satyr",
[6126]="Haldarr Trickster",
[6127]="Haldarr Felsworn",
[6128]="Vorlus Vilehoof",
[6129]="Draconic Magelord",
[6130]="Blue Scalebane",
[6131]="Draconic Mageweaver",
[6132]="Razorfen Servitor",
[6133]="Shade of Elura",
[6134]="Lord Arkkoroc",
[6135]="Arkkoran Clacker",
[6136]="Arkkoran Muckdweller",
[6137]="Arkkoran Pincer",
[6138]="Arkkoran Oracle",
[6139]="Highperch Soarer",
[6140]="Hetaera",
[6141]="Pridewing Soarer",
[6142]="Mathiel",
[6143]="Servant of Arkkoroc",
[6144]="Son of Arkkoroc",
[6145]="School of Fish",
[6146]="Cliff Breaker",
[6147]="Cliff Thunderer",
[6148]="Cliff Walker",
[6166]="Yorus Barleybrew",
[6167]="Chimaera Matriarch",
[6168]="Roogug",
[6169]="Klockmort Spannerspan",
[6170]="Gutspill",
[6171]="Duthorian Rall",
[6172]="Henze Faulk",
[6173]="Gazin Tenorm",
[6174]="Stephanie Turner",
[6175]="John Turner",
[6176]="Bath\'rah the Windwatcher",
[6177]="Narm Faulk",
[6178]="Muiredon Battleforge",
[6179]="Tiza Battleforge",
[6180]="Defias Raider",
[6181]="Jordan Stilwell",
[6182]="Daphne Stilwell",
[6184]="Timbermaw Pathfinder",
[6185]="Timbermaw Warrior",
[6186]="Timbermaw Totemic",
[6187]="Timbermaw Den Watcher",
[6188]="Timbermaw Shaman",
[6189]="Timbermaw Ursa",
[6190]="Spitelash Warrior",
[6193]="Spitelash Screamer",
[6194]="Spitelash Serpent Guard",
[6195]="Spitelash Siren",
[6196]="Spitelash Myrmidon",
[6198]="Blood Elf Surveyor",
[6199]="Blood Elf Reclaimer",
[6200]="Legashi Satyr",
[6201]="Legashi Rogue",
[6202]="Legashi Hellcaller",
[6206]="Caverndeep Burrower",
[6207]="Caverndeep Ambusher",
[6208]="Caverndeep Invader",
[6209]="Caverndeep Looter",
[6210]="Caverndeep Pillager",
[6211]="Caverndeep Reaver",
[6212]="Dark Iron Agent",
[6213]="Irradiated Invader",
[6215]="Chomper",
[6218]="Irradiated Slime",
[6219]="Corrosive Lurker",
[6220]="Irradiated Horror",
[6221]="Addled Leper",
[6222]="Leprous Technician",
[6223]="Leprous Defender",
[6224]="Leprous Machinesmith",
[6225]="Mechano-Tank",
[6226]="Mechano-Flamewalker",
[6227]="Mechano-Frostwalker",
[6228]="Dark Iron Ambassador",
[6229]="Crowd Pummeler 9-60",
[6230]="Peacekeeper Security Suit",
[6231]="Techbot",
[6232]="Arcane Nullifier X-21",
[6233]="Mechanized Sentry",
[6234]="Mechanized Guardian",
[6235]="Electrocutioner 6000",
[6236]="Klannoc Macleod",
[6237]="Stockade Archer",
[6238]="Big Will",
[6239]="Cyclonian",
[6240]="Affray Challenger",
[6241]="Bailor Stonehand",
[6243]="Gelihast",
[6244]="Takar the Seer",
[6245]="Anathera",
[6246]="Latherion",
[6247]="Doan Karhan",
[6248]="Twiggy Flathead",
[6249]="Affray Spectator",
[6250]="Crawler",
[6251]="Strahad Farsan",
[6252]="Acolyte Magaz",
[6253]="Acolyte Fenrick",
[6254]="Acolyte Wytula",
[6266]="Menara Voidrender",
[6267]="Acolyte Porena",
[6268]="Summoned Felhunter",
[6271]="Mouse",
[6272]="Innkeeper Janene",
[6286]="Zarrin",
[6287]="Radnaal Maneweaver",
[6288]="Jayla",
[6289]="Rand Rhobart",
[6290]="Yonn Deepcut",
[6291]="Balthus Stoneflayer",
[6292]="Eladriel",
[6293]="Jorah Annison",
[6294]="Krom Stoutarm",
[6295]="Wilma Ranthal",
[6297]="Kurdram Stonehammer",
[6298]="Thelgrum Stonehammer",
[6299]="Delfrum Flintbeard",
[6300]="Elisa Steelhand",
[6301]="Gorbold Steelhand",
[6306]="Helene Peltskinner",
[6328]="Dannie Fizzwizzle",
[6329]="Irradiated Pillager",
[6347]="Young Wavethrasher",
[6348]="Wavethrasher",
[6349]="Great Wavethrasher",
[6350]="Makrinni Razorclaw",
[6351]="Storm Bay Oracle",
[6352]="Coralshell Lurker",
[6366]="Kurzen Mindslave",
[6367]="Donni Anthania",
[6368]="Cat",
[6369]="Coralshell Tortoise",
[6370]="Makrinni Scrabbler",
[6371]="Storm Bay Warrior",
[6372]="Makrinni Snapclaw",
[6373]="Dane Winslow",
[6374]="Cylina Darkheart",
[6375]="Thunderhead Hippogryph",
[6376]="Wren Darkspring",
[6377]="Thunderhead Stagwing",
[6378]="Thunderhead Skystormer",
[6379]="Thunderhead Patriarch",
[6380]="Thunderhead Consort",
[6382]="Jubahl Corpseseeker",
[6386]="Ward of Zanzil",
[6387]="Dranh",
[6388]="Zanzil Skeleton",
[6389]="Deathguard Podrig",
[6390]="Ulag the Cleaver",
[6391]="Holdout Warrior",
[6392]="Holdout Medic",
[6393]="Henen Ragetotem",
[6394]="Ruga Ragetotem",
[6395]="Sergeant Rutger",
[6407]="Holdout Technician",
[6408]="Ula\'elek",
[6410]="Orm Stonehoof",
[6411]="Velora Nitely",
[6412]="Skeleton",
[6426]="Anguished Dead",
[6427]="Haunting Phantasm",
[6446]="Therzok",
[6466]="Gamon",
[6467]="Mennet Carkad",
[6486]="Riding Skeletal Horse (Black)",
[6487]="Arcanist Doan",
[6488]="Fallen Champion",
[6489]="Ironspine",
[6490]="Azshir the Sleepless",
[6491]="Spirit Healer",
[6492]="Rift Spawn",
[6493]="Illusionary Phantasm",
[6494]="Tazan",
[6495]="Riznek",
[6496]="Brivelthwerp",
[6497]="Astor Hadren",
[6498]="Devilsaur",
[6499]="Ironhide Devilsaur",
[6500]="Tyrant Devilsaur",
[6501]="Stegodon",
[6502]="Plated Stegodon",
[6503]="Spiked Stegodon",
[6504]="Thunderstomp Stegodon",
[6505]="Ravasaur",
[6506]="Ravasaur Runner",
[6507]="Ravasaur Hunter",
[6508]="Venomhide Ravasaur",
[6509]="Bloodpetal Lasher",
[6510]="Bloodpetal Flayer",
[6511]="Bloodpetal Thresher",
[6512]="Bloodpetal Trapper",
[6513]="Un\'Goro Stomper",
[6514]="Un\'Goro Gorilla",
[6516]="Un\'Goro Thunderer",
[6517]="Tar Beast",
[6518]="Tar Lurker",
[6519]="Tar Lord",
[6520]="Scorching Elemental",
[6521]="Living Blaze",
[6522]="Andron Gant",
[6523]="Dark Iron Rifleman",
[6527]="Tar Creeper",
[6546]="Tabetha",
[6547]="Suffering Victim",
[6548]="Magus Tirth",
[6549]="Demon of the Orb",
[6550]="Mana Surge",
[6551]="Gorishi Wasp",
[6552]="Gorishi Worker",
[6553]="Gorishi Reaver",
[6554]="Gorishi Stinger",
[6555]="Gorishi Tunneler",
[6556]="Muculent Ooze",
[6557]="Primal Ooze",
[6559]="Glutinous Ooze",
[6560]="Stone Guardian",
[6566]="Estelle Gendry",
[6567]="Ghok\'kah",
[6568]="Vizzklick",
[6569]="Gnoarn",
[6570]="Fenwick Thatros",
[6571]="Cat Form (Night Elf Druid)",
[6572]="Cat Form (Tauren Druid)",
[6573]="Travel Form (Druid)",
[6574]="Jun\'ha",
[6575]="Scarlet Trainee",
[6576]="Brienna Starglow",
[6577]="Bingles Blastenheimer",
[6579]="Shoni the Shilent",
[6581]="Ravasaur Matriarch",
[6582]="Clutchmother Zavas",
[6583]="Gruff",
[6584]="King Mosh",
[6585]="Uhk\'loc",
[6586]="Rokar Bladeshadow",
[6606]="Overseer Glibby",
[6607]="Harroc",
[6626]="\"Plucky\" Johnson",
[6646]="Monnos the Elder",
[6647]="Magister Hawkhelm",
[6648]="Antilos",
[6649]="Lady Sesspira",
[6650]="General Fangferror",
[6651]="Gatekeeper Rageroar",
[6652]="Master Feardred",
[6653]="Huge Toad",
[6666]="\"Plucky\" Johnson\'s Human Form",
[6667]="Gelkak Gyromast",
[6668]="Lord Cyrik Blackforge",
[6669]="The Threshwackonator 4100",
[6670]="Westfall Woodworker",
[6706]="Baritanas Skyriver",
[6707]="Fahrad",
[6726]="Thalon",
[6727]="Innkeeper Brianna",
[6728]="Narnie",
[6729]="Morridune",
[6730]="Jinky Twizzlefixxit",
[6731]="Harlown Darkweave",
[6732]="Amie Pierce",
[6733]="Stonevault Basher",
[6734]="Innkeeper Hearthstove",
[6735]="Innkeeper Saelienne",
[6736]="Innkeeper Keldamyr",
[6737]="Innkeeper Shaussiy",
[6738]="Innkeeper Kimlya",
[6739]="Innkeeper Bates",
[6740]="Innkeeper Allison",
[6741]="Innkeeper Norman",
[6746]="Innkeeper Pala",
[6747]="Innkeeper Kauth",
[6748]="Water Spirit",
[6749]="Erma",
[6766]="Ravenholdt Guard",
[6768]="Lord Jorach Ravenholdt",
[6771]="Ravenholdt Assassin",
[6774]="Falkhaan Isenstrider",
[6775]="Antur Fallow",
[6776]="Magrin Rivermane",
[6777]="Zan Shivsproket",
[6778]="Melika Isenstrider",
[6779]="Smudge Thunderwood",
[6780]="Porthannius",
[6781]="Melarith",
[6782]="Hands Springsprocket",
[6784]="Calvin Montague",
[6785]="Ratslin Maime",
[6786]="Ukor",
[6787]="Yelnagi Blackarm",
[6788]="Den Mother",
[6789]="Thistle Cub",
[6790]="Innkeeper Trelayne",
[6791]="Innkeeper Wiley",
[6806]="Tannok Frosthammer",
[6807]="Innkeeper Skindle",
[6826]="Talvash del Kissel",
[6846]="Defias Dockmaster",
[6866]="Defias Bodyguard",
[6867]="Tracking Hound",
[6868]="Jarkal Mossmeld",
[6886]="Onin MacHammar",
[6887]="Yalda",
[6906]="Baelog",
[6907]="Eric \"The Swift\"",
[6908]="Olaf",
[6909]="Sethir the Ancient",
[6910]="Revelosh",
[6911]="Minion of Sethir",
[6912]="Remains of a Paladin",
[6913]="Lost One Rift Traveler",
[6927]="Defias Dockworker",
[6928]="Innkeeper Grosk",
[6929]="Innkeeper Gryshka",
[6930]="Innkeeper Karakul",
[6932]="Swamp Spirit",
[6946]="Renzik \"The Shiv\"",
[6966]="Lucius",
[6986]="Dran Droffers",
[6987]="Malton Droffers",
[7007]="Tiev Mordune",
[7009]="Arantir",
[7010]="Zilzibin Drumlore",
[7011]="Earthen Rocksmasher",
[7012]="Earthen Sculptor",
[7015]="Flagglemurk the Cruel",
[7016]="Lady Vespira",
[7017]="Lord Sinslayer",
[7022]="Venomlash Scorpid",
[7023]="Obsidian Sentinel",
[7024]="Agent Kearnen",
[7025]="Blackrock Soldier",
[7026]="Blackrock Sorcerer",
[7027]="Blackrock Slayer",
[7028]="Blackrock Warlock",
[7029]="Blackrock Battlemaster",
[7030]="Shadowforge Geologist",
[7031]="Obsidian Elemental",
[7032]="Greater Obsidian Elemental",
[7033]="Firegut Ogre",
[7034]="Firegut Ogre Mage",
[7035]="Firegut Brute",
[7036]="Thaurissan Spy",
[7037]="Thaurissan Firewalker",
[7038]="Thaurissan Agent",
[7039]="War Reaver",
[7040]="Black Dragonspawn",
[7041]="Black Wyrmkin",
[7042]="Flamescale Dragonspawn",
[7043]="Flamescale Wyrmkin",
[7044]="Black Drake",
[7045]="Scalding Drake",
[7046]="Searscale Drake",
[7047]="Black Broodling",
[7048]="Scalding Broodling",
[7049]="Flamescale Broodling",
[7050]="Defias Drone",
[7051]="Malformed Defias Drone",
[7052]="Defias Tower Patroller",
[7053]="Klaven Mortwake",
[7055]="Blackrock Worg",
[7056]="Defias Tower Sentry",
[7057]="Digmaster Shovelphlange",
[7067]="Venture Co. Drone",
[7068]="Condemned Acolyte",
[7069]="Condemned Monk",
[7070]="Condemned Cleric",
[7071]="Cursed Paladin",
[7072]="Cursed Justicar",
[7073]="Arados the Damned",
[7074]="Judge Thelgram",
[7075]="Writhing Mage",
[7076]="Earthen Guardian",
[7077]="Earthen Hallshaper",
[7078]="Cleft Scorpid",
[7079]="Viscous Fallout",
[7086]="Cursed Ooze",
[7087]="Killian Hagey",
[7088]="Thuwd",
[7089]="Mooranta",
[7091]="Shadowforge Ambusher",
[7092]="Tainted Ooze",
[7093]="Vile Ooze",
[7097]="Ironbeak Owl",
[7098]="Ironbeak Screecher",
[7099]="Ironbeak Hunter",
[7100]="Warpwood Moss Flayer",
[7101]="Warpwood Shredder",
[7104]="Dessecus",
[7105]="Jadefire Satyr",
[7106]="Jadefire Rogue",
[7107]="Jadefire Trickster",
[7108]="Jadefire Betrayer",
[7109]="Jadefire Felsworn",
[7110]="Jadefire Shadowstalker",
[7111]="Jadefire Hellcaller",
[7112]="Jaedenar Cultist",
[7113]="Jaedenar Guardian",
[7114]="Jaedenar Enforcer",
[7115]="Jaedenar Adept",
[7118]="Jaedenar Darkweaver",
[7120]="Jaedenar Warlock",
[7125]="Jaedenar Hound",
[7126]="Jaedenar Hunter",
[7132]="Toxic Horror",
[7135]="Infernal Bodyguard",
[7136]="Infernal Sentry",
[7137]="Immolatus",
[7138]="Irontree Wanderer",
[7139]="Irontree Stomper",
[7149]="Withered Protector",
[7153]="Deadwood Warrior",
[7154]="Deadwood Gardener",
[7155]="Deadwood Pathfinder",
[7156]="Deadwood Den Watcher",
[7157]="Deadwood Avenger",
[7158]="Deadwood Shaman",
[7161]="Wrenix the Wretched",
[7166]="Wrenix\'s Gizmotronic Apparatus",
[7167]="Polly",
[7168]=" Polly",
[7170]="Thragomm",
[7172]="Lore Keeper of Norgannon",
[7175]="Stonevault Ambusher",
[7206]="Ancient Stone Keeper",
[7207]="Doc Mixilpixil",
[7208]="Noarm",
[7209]="Obsidian Shard",
[7226]="Sand Storm",
[7228]="Ironaya",
[7230]="Shayis Steelfury",
[7231]="Kelgruk Bloodaxe",
[7232]="Borgus Steelhand",
[7233]="Taskmaster Fizzule",
[7234]="Ferocitas the Dream Eater",
[7235]="Gnarlpine Mystic",
[7246]="Sandfury Shadowhunter",
[7247]="Sandfury Soul Eater",
[7266]="Ember",
[7267]="Chief Ukorz Sandscalp",
[7268]="Sandfury Guardian",
[7269]="Scarab",
[7271]="Witch Doctor Zum\'rah",
[7272]="Theka the Martyr",
[7273]="Gahz\'rilla",
[7274]="Sandfury Executioner",
[7275]="Shadowpriest Sezz\'ziz",
[7276]="Zul\'Farrak Dead Hero",
[7286]="Zul\'Farrak Zombie",
[7287]="Foreman Silixiz",
[7288]="Grand Foreman Puzik Gallywix",
[7290]="Shadowforge Sharpshooter",
[7291]="Galgann Firehammer",
[7292]="Dinita Stonemantle",
[7293]="[UNUSED] Drayl",
[7294]="Shim\'la",
[7295]="Shailiea",
[7296]="Corand",
[7297]="Gothard Winslow",
[7298]="Demnul Farmountain",
[7307]="Venture Co. Lookout",
[7308]="Venture Co. Patroller",
[7309]="Earthen Custodian",
[7310]="Mutated Venture Co. Drone",
[7311]="Uthel\'nay",
[7312]="Dink",
[7313]="Priestess A\'moora",
[7315]="Darnath Bladesinger",
[7316]="Sister Aquinne",
[7317]="Oben Rageclaw",
[7318]="Rageclaw",
[7319]="Lady Sathrah",
[7320]="Stonevault Mauler",
[7321]="Stonevault Flameweaver",
[7322]="Riding Tiger (Black)",
[7323]="Winstone Wolfe",
[7324]="Simone Cantrell",
[7325]="Master Kang",
[7327]="Withered Warrior",
[7328]="Withered Reaver",
[7329]="Withered Quilguard",
[7332]="Withered Spearhide",
[7333]="Withered Battle Boar",
[7334]="Battle Boar Horror",
[7335]="Death\'s Head Geomancer",
[7337]="Death\'s Head Necromancer",
[7340]="Skeletal Shadowcaster",
[7341]="Skeletal Frostweaver",
[7342]="Skeletal Summoner",
[7343]="Splinterbone Skeleton",
[7344]="Splinterbone Warrior",
[7345]="Splinterbone Captain",
[7346]="Splinterbone Centurion",
[7347]="Boneflayer Ghoul",
[7348]="Thorn Eater Ghoul",
[7349]="Tomb Fiend",
[7351]="Tomb Reaver",
[7352]="Frozen Soul",
[7353]="Freezing Spirit",
[7354]="Ragglesnout",
[7355]="Tuten\'kash",
[7356]="Plaguemaw the Rotting",
[7357]="Mordresh Fire Eye",
[7358]="Amnennar the Coldbringer",
[7360]="Dun Garok Soldier",
[7361]="Grubbis",
[7363]="Kum\'isha the Collector",
[7364]="Flawless Draenethyst Sphere",
[7365]="Flawless Draenethyst Fragment",
[7366]="Stoneskin Totem IV",
[7367]="Stoneskin Totem V",
[7368]="Stoneskin Totem VI",
[7369]="Deadwind Brute",
[7370]="Restless Shade",
[7371]="Deadwind Mauler",
[7372]="Deadwind Warlock",
[7376]="Sky Shadow",
[7379]="Deadwind Ogre Mage",
[7380]="Siamese",
[7381]="Silver Tabby",
[7382]="Orange Tabby",
[7383]="Black Tabby",
[7384]="Cornish Rex",
[7385]="Bombay",
[7386]="White Kitten",
[7387]="Green Wing Macaw",
[7389]="Senegal",
[7390]="Cockatiel",
[7391]="Hyacinth Macaw",
[7392]="Prairie Chicken",
[7394]="Ancona Chicken",
[7395]="Cockroach",
[7396]="Earthen Stonebreaker",
[7397]="Earthen Stonecarver",
[7398]="Stoneclaw Totem V",
[7399]="Stoneclaw Totem VI",
[7400]="Searing Totem V",
[7401]="Draenei Refugee",
[7402]="Searing Totem VI",
[7403]="Strength of Earth Totem IV",
[7404]="Galak Flame Guard",
[7405]="Deadly Cleft Scorpid",
[7406]="Oglethorpe Obnoticus",
[7407]="Chief Engineer Bilgewhizzle",
[7408]="Spigot Operator Luglunket",
[7409]="Faltering Draenethyst Sphere",
[7410]="Thelman Slatefist",
[7411]="Spirit of Sathrah",
[7412]="Frost Resistance Totem II",
[7413]="Frost Resistance Totem III",
[7414]="Mana Spring Totem II",
[7415]="Mana Spring Totem III",
[7416]="Mana Spring Totem IV",
[7423]="Flametongue Totem III",
[7424]="Fire Resistance Totem II",
[7425]="Fire Resistance Totem III",
[7427]="Taim Ragetotem",
[7428]="Frostmaul Giant",
[7429]="Frostmaul Preserver",
[7430]="Frostsaber Cub",
[7431]="Frostsaber",
[7432]="Frostsaber Stalker",
[7433]="Frostsaber Huntress",
[7434]="Frostsaber Pride Watcher",
[7435]="Cobalt Wyrmkin",
[7436]="Cobalt Scalebane",
[7437]="Cobalt Mageweaver",
[7438]="Winterfall Ursa",
[7439]="Winterfall Shaman",
[7440]="Winterfall Den Watcher",
[7441]="Winterfall Totemic",
[7442]="Winterfall Pathfinder",
[7443]="Shardtooth Mauler",
[7444]="Shardtooth Bear",
[7445]="Elder Shardtooth",
[7446]="Rabid Shardtooth",
[7447]="Fledgling Chillwind",
[7448]="Chillwind Chimaera",
[7449]="Chillwind Ravager",
[7450]="Ragged Owlbeast",
[7451]="Raging Owlbeast",
[7452]="Crazed Owlbeast",
[7453]="Moontouched Owlbeast",
[7454]="Berserk Owlbeast",
[7455]="Winterspring Owl",
[7456]="Winterspring Screecher",
[7457]="Rogue Ice Thistle",
[7458]="Ice Thistle Yeti",
[7459]="Ice Thistle Matriarch",
[7460]="Ice Thistle Patriarch",
[7461]="Hederine Initiate",
[7462]="Hederine Manastalker",
[7463]="Hederine Slayer",
[7464]="Magma Totem II",
[7465]="Magma Totem III",
[7466]="Magma Totem IV",
[7467]="Nature Resistance Totem",
[7468]="Nature Resistance Totem II",
[7469]="Nature Resistance Totem III",
[7483]="Windfury Totem II",
[7484]="Windfury Totem III",
[7485]="Nargatt",
[7486]="Grace of Air Totem",
[7487]="Grace of Air Totem II",
[7489]="Silverpine Deathguard",
[7503]="Curse of the Eye (Male)",
[7504]="Curse of the Eye (Female)",
[7505]="Bloodmage Drazial",
[7506]="Bloodmage Lynnore",
[7523]="Suffering Highborne",
[7524]="Anguished Highborne",
[7527]="Goblin Land Mine",
[7543]="Dark Whelpling",
[7544]="Crimson Whelpling",
[7545]="Emerald Whelpling",
[7546]="Bronze Whelpling",
[7547]="Azure Whelpling",
[7548]="Faeling",
[7549]="Tree Frog",
[7550]="Wood Frog",
[7551]="Dart Frog",
[7552]="Island Frog",
[7553]="Great Horned Owl",
[7554]="Snowy Owl",
[7555]="Hawk Owl",
[7556]="Eagle Owl",
[7558]="Cottontail Rabbit",
[7559]="Spotted Rabbit",
[7560]="Snowshoe Rabbit",
[7561]="Albino Snake",
[7562]="Brown Snake",
[7564]="Marin Noggenfogger",
[7565]="Black Kingsnake",
[7566]="Scarlet Snake",
[7567]="Crimson Snake",
[7568]="Ribbon Snake",
[7569]="Green Water Snake",
[7570]="Elven Wisp",
[7572]="Fallen Hero of the Horde",
[7583]="Sprinkle",
[7584]="Wandering Forest Walker",
[7603]="Leprous Assistant",
[7604]="Sergeant Bly",
[7605]="Raven",
[7606]="Oro Eyegouge",
[7607]="Weegli Blastfuse",
[7608]="Murta Grimgut",
[7623]="Dispatch Commander Ruag",
[7643]="Bengor",
[7664]="Razelikh the Defiler",
[7665]="Grol the Destroyer",
[7666]="Archmage Allistarj",
[7667]="Lady Sevine",
[7668]="Servant of Razelikh",
[7669]="Servant of Grol",
[7670]="Servant of Allistarj",
[7671]="Servant of Sevine",
[7683]="Alessandro Luca",
[7684]="Riding Tiger (Yellow)",
[7686]="Riding Tiger (Red)",
[7687]="Riding Tiger (White Spotted)",
[7689]="Riding Tiger (BlackSpotted)",
[7690]="Riding Tiger (BlackStriped)",
[7703]="Riding Raptor (Obsidian)",
[7704]="Riding Raptor (Crimson)",
[7706]="Riding Raptor (Ivory)",
[7707]="Riding Raptor (Turquoise)",
[7708]="Riding Raptor (Violet)",
[7709]="Riding Tallstrider (Brown)",
[7710]="Riding Tallstrider (Gray)",
[7711]="Riding Tallstrider (Pink)",
[7712]="Riding Tallstrider (Purple)",
[7713]="Riding Tallstrider (Turquoise)",
[7714]="Innkeeper Byula",
[7724]="Senior Surveyor Fizzledowser",
[7725]="Grimtotem Raider",
[7726]="Grimtotem Naturalist",
[7727]="Grimtotem Shaman",
[7728]="Kirith the Damned",
[7729]="Spirit of Kirith",
[7730]="Stonetalon Grunt",
[7731]="Innkeeper Jayka",
[7732]="Dupe Bug",
[7733]="Innkeeper Fizzgrimble",
[7734]="Ilifar",
[7735]="Felcular",
[7736]="Innkeeper Shyria",
[7737]="Innkeeper Greul",
[7738]="Burning Servant",
[7739]="Riding MechaStrider (Red)",
[7740]="Gracina Spiritmight",
[7744]="Innkeeper Thulfram",
[7749]="Riding MechaStrider (Blue)",
[7750]="Corporal Thund Splithoof",
[7763]="Curgle Cranklehop",
[7764]="Troyas Moonbreeze",
[7765]="Rockbiter",
[7766]="Tyrion",
[7767]="Witherbark Felhunter",
[7768]="Witherbark Bloodling",
[7769]="Hazzali Parasite",
[7770]="Winkey",
[7771]="Marvon Rivetseeker",
[7772]="Kalin Windflight",
[7773]="Marli Wishrunner",
[7774]="Shay Leafrunner",
[7775]="Gregan Brewspewer",
[7776]="Talo Thornhoof",
[7777]="Rok Orhan",
[7778]="Doran Steelwing",
[7779]="Priestess Tyriona",
[7780]="Rin\'ji",
[7783]="Loramus Thalipedes",
[7784]="Homing Robot OOX-17/TN",
[7785]="Ward of Zum\'rah",
[7786]="Skeleton of Zum\'rah",
[7787]="Sandfury Slave",
[7788]="Sandfury Drudge",
[7789]="Sandfury Cretin",
[7790]="Orokk Omosh",
[7791]="Theka the Martyr Shapeshift",
[7792]="Aturk the Anvil",
[7793]="Ox",
[7794]="McGavan",
[7795]="Hydromancer Velratha",
[7796]="Nekrum Gutchewer",
[7797]="Ruuzlu",
[7798]="Hank the Hammer",
[7799]="Gimblethorn",
[7800]="Mekgineer Thermaplugg",
[7801]="Gilveradin Sunchaser",
[7802]="Galvan the Ancient",
[7803]="Scorpid Duneburrower",
[7804]="Trenton Lighthammer",
[7805]="Wastewander Scofflaw",
[7806]="Homing Robot OOX-09/HL",
[7807]="Homing Robot OOX-22/FE",
[7808]="Marauding Owlbeast",
[7809]="Vilebranch Ambusher",
[7823]="Bera Stonehammer",
[7824]="Bulkrek Ragefist",
[7825]="Oran Snakewrithe",
[7826]="Ambassador Ardalan",
[7843]="Gnomeregan Evacuee",
[7844]="Fire Nova Totem IV",
[7845]="Fire Nova Totem V",
[7846]="Teremus the Devourer",
[7847]="Caliph Scorpidsting",
[7848]="Lurking Feral Scar",
[7849]="Mobile Alert System",
[7850]="Kernobee",
[7851]="Nethergarde Elite",
[7852]="Pratt McGrubben",
[7853]="Scooty",
[7854]="Jangdor Swiftstrider",
[7855]="Southsea Pirate",
[7856]="Southsea Freebooter",
[7857]="Southsea Dock Worker",
[7858]="Southsea Swashbuckler",
[7863]="Dream Vision",
[7864]="Lingering Highborne",
[7865]="Wildhammer Sentry",
[7866]="Peter Galen",
[7867]="Thorkaf Dragoneye",
[7868]="Sarah Tanner",
[7869]="Brumn Winterhoof",
[7870]="Caryssia Moonhunter",
[7871]="Se\'Jib",
[7872]="Death\'s Head Cultist",
[7873]="Razorfen Battleguard",
[7874]="Razorfen Thornweaver",
[7875]="Hadoken Swiftstrider",
[7876]="Tran\'rek",
[7877]="Latronicus Moonspear",
[7878]="Vestia Moonspear",
[7879]="Quintis Jonespyre",
[7880]="Ginro Hearthkindle",
[7881]="Stoley",
[7882]="Security Chief Bilgewhizzle",
[7883]="Andre Firebeard",
[7884]="Fraggar Thundermantle",
[7885]="Spitelash Battlemaster",
[7886]="Spitelash Enchantress",
[7895]="Ambassador Bloodrage",
[7897]="Alarm-a-bomb 2600",
[7898]="Pirate treasure trigger mob",
[7899]="Treasure Hunting Pirate",
[7900]="Angelas Moonbreeze",
[7901]="Treasure Hunting Swashbuckler",
[7902]="Treasure Hunting Buccaneer",
[7903]="Jewel",
[7904]="Jacob",
[7907]="Daryn Lightwind",
[7915]="Walking Bomb",
[7916]="Erelas Ambersky",
[7917]="Brother Sarno",
[7918]="Stone Watcher of Norgannon",
[7936]="Lyon Mountainheart",
[7937]="High Tinker Mekkatorque",
[7939]="Feathermoon Sentinel",
[7940]="Darnall",
[7941]="Mardrack Greenwell",
[7942]="Faralorn",
[7943]="Harklane",
[7944]="Tinkmaster Overspark",
[7945]="Savanne",
[7946]="Brannock",
[7947]="Vivianna",
[7948]="Kylanna Windwhisper",
[7949]="Xylinnia Starshine",
[7950]="Master Mechanic Castpipe",
[7951]="Zas\'Tysh",
[7952]="Zjolnir",
[7953]="Xar\'Ti",
[7954]="Binjy Featherwhistle",
[7955]="Milli Featherwhistle",
[7956]="Kindal Moonweaver",
[7957]="Jer\'kai Moonweaver",
[7975]="Mulgore Protector",
[7976]="Thalgus Thunderfist",
[7977]="Gammerita",
[7978]="Bimble Longberry",
[7980]="Deathguard Elite",
[7995]="Vile Priestess Hexx",
[7996]="Qiaga the Keeper",
[7997]="Captured Sprite Darter",
[7998]="Blastmaster Emi Shortfuse",
[7999]="Tyrande Whisperwind",
[8015]="Ashenvale Sentinel",
[8016]="Barrens Guard",
[8017]="Sen\'jin Guardian",
[8018]="Guthrum Thunderfist",
[8019]="Fyldren Moonfeather",
[8020]="Shyn",
[8021]="Orwin Gizzmick",
[8022]="Thadius Grimshade",
[8023]="Sharpbeak",
[8024]="Sharpbeak\'s Father",
[8025]="Sharpbeak\'s Mother",
[8026]="Thyn\'tel Bladeweaver",
[8035]="Dark Iron Land Mine",
[8055]="Thelsamar Mountaineer",
[8075]="Edana Hatetalon",
[8095]="Sul\'lithuz Sandcrawler",
[8096]="Protector of the People",
[8115]="Witch Doctor Uzer\'i",
[8116]="Ziggle Sparks",
[8117]="Wizbang Booms",
[8118]="Lillian Singh",
[8119]="Zikkel",
[8120]="Sul\'lithuz Abomination",
[8121]="Jaxxil Sparks",
[8122]="Kizzak Sparks",
[8123]="Rickle Goldgrubber",
[8124]="Qizzik",
[8125]="Dirge Quikcleave",
[8126]="Nixx Sprocketspring",
[8127]="Antu\'sul",
[8128]="Pikkle",
[8129]="Wrinkle Goodsteel",
[8130]="Sul\'lithuz Hatchling",
[8131]="Blizrik Buckshot",
[8136]="Lord Shalzaru",
[8137]="Gikkix",
[8138]="Sul\'lithuz Broodling",
[8139]="Jabbey",
[8140]="Brother Karman",
[8141]="Captain Evencane",
[8142]="Jannos Lighthoof",
[8143]="Loorana",
[8144]="Kulleg Stonehorn",
[8145]="Sheendra Tallgrass",
[8146]="Ruw",
[8147]="Camp Mojache Brave",
[8149]="Sul\'lithuz Warder",
[8150]="Janet Hommers",
[8151]="Nijel\'s Point Guard",
[8152]="Harnor",
[8153]="Narv Hidecrafter",
[8154]="Ghost Walker Brave",
[8155]="Kargath Grunt",
[8156]="Servant of Antu\'sul",
[8157]="Logannas",
[8158]="Bronk",
[8159]="Worb Strongstitch",
[8160]="Nioma",
[8161]="Harggan",
[8176]="Gharash",
[8177]="Rartar",
[8178]="Nina Lightbrew",
[8179]="Greater Healing Ward",
[8196]="Occulus",
[8197]="Chronalis",
[8198]="Tick",
[8199]="Warleader Krazzilak",
[8200]="Jin\'Zallah the Sandbringer",
[8201]="Omgorn the Lost",
[8202]="Cyclok the Mad",
[8203]="Kregg Keelhaul",
[8204]="Soriid the Devourer",
[8205]="Haarka the Ravenous",
[8207]="Greater Firebird",
[8208]="Murderous Blisterpaw",
[8210]="Razortalon",
[8211]="Old Cliff Jumper",
[8212]="The Reak",
[8213]="Ironback",
[8214]="Jalinde Summerdrake",
[8215]="Grimungous",
[8216]="Retherokk the Berserker",
[8217]="Mith\'rethis the Enchanter",
[8218]="Witherheart the Stalker",
[8219]="Zul\'arek Hatefowler",
[8236]="Muck Frenzy",
[8256]="Curator Thorius",
[8257]="Oozeling",
[8276]="Soaring Razorbeak",
[8277]="Rekk\'tilac",
[8278]="Smoldar",
[8279]="Faulty War Golem",
[8280]="Shleipnarr",
[8281]="Scald",
[8282]="Highlord Mastrogonde",
[8283]="Slave Master Blackheart",
[8284]="Dorius Stonetender",
[8296]="Mojo the Twisted",
[8297]="Magronos the Unyielding",
[8298]="Akubar the Seer",
[8299]="Spiteflayer",
[8300]="Ravage",
[8301]="Clack the Reaver",
[8302]="Deatheye",
[8303]="Grunter",
[8304]="Dreadscorn",
[8305]="Kixxle",
[8306]="Duhng",
[8307]="Tarban Hearthgrain",
[8308]="Alenndaar Lapidaar",
[8309]="Carlo Aurelius",
[8310]="Watcher Wollpert",
[8311]="Slime Maggot",
[8317]="Atal\'ai Deathwalker\'s Spirit",
[8318]="Atal\'ai Slave",
[8319]="Nightmare Whelp",
[8320]="Sprok",
[8324]="Atal\'ai Skeleton",
[8336]="Hakkari Sapper",
[8337]="Dark Iron Steelshifter",
[8338]="Dark Iron Marksman",
[8356]="Chesmu",
[8357]="Atepa",
[8358]="Hewa",
[8359]="Ahanu",
[8360]="Elki",
[8361]="Chepi",
[8362]="Kuruk",
[8363]="Shadi Mistrunner",
[8364]="Pakwa",
[8376]="Mechanical Chicken",
[8378]="Alexandra Blazen",
[8379]="Archmage Xylem",
[8380]="Captain Vanessa Beltis",
[8381]="Lindros",
[8382]="Patrick Mills",
[8383]="Master Wood",
[8384]="Deep Lurker",
[8385]="Mura Runetotem",
[8386]="Horizon Scout Crewman",
[8387]="Horizon Scout First Mate",
[8388]="Horizon Scout Cook",
[8389]="Horizon Scout Engineer",
[8390]="Chemist Cuely",
[8391]="Lathoric the Black",
[8392]="Pilot Xiggs Fuselighter",
[8393]="Thersa Windsong",
[8394]="Roland Geardabbler",
[8395]="Sanath Lim-yo",
[8396]="Sentinel Dalia Sunblade",
[8397]="Sentinel Keldara Sunblade",
[8398]="Ohanko",
[8399]="Nyrill",
[8400]="Obsidion",
[8401]="Halpa",
[8402]="Enslaved Archaeologist",
[8403]="Jeremiah Payson",
[8404]="Xan\'tish",
[8405]="Ogtinc",
[8408]="Warlord Krellian",
[8409]="Caravan Master Tset",
[8416]="Felix Whindlebolt",
[8417]="Dying Archaeologist",
[8418]="Falla Sagewind",
[8419]="Twilight Idolater",
[8420]="Kim\'jael",
[8421]="Dorius",
[8436]="Zamael Lunthistle",
[8437]="Hakkari Minion",
[8438]="Hakkari Bloodkeeper",
[8439]="Nilith Lokrav",
[8440]="Shade of Hakkar",
[8441]="Raze",
[8442]="Shadowsilk Poacher",
[8443]="Avatar of Hakkar",
[8444]="Trade Master Kovic",
[8446]="Xiggs Fuselighter\'s Flyingmachine",
[8447]="Clunk",
[8477]="Skeletal Servant",
[8478]="Second Mate Shandril",
[8479]="Kalaran Windblade",
[8480]="Kalaran the Deceiver",
[8496]="Liv Rizzlefix",
[8497]="Nightmare Suppressor",
[8503]="Gibblewilt",
[8504]="Dark Iron Sentry",
[8505]="Hex of Jammal\'an",
[8506]="Eranikus the Chained",
[8507]="Tymor",
[8508]="Gretta Ganter",
[8509]="Squire Maltrake",
[8510]="Atal\'ai Totem",
[8516]="Belnistrasz",
[8517]="Xiggs Fuselighter",
[8518]="Rynthariel the Keymaster",
[8519]="Blighted Surge",
[8520]="Plague Ravager",
[8521]="Blighted Horror",
[8522]="Plague Monstrosity",
[8523]="Scourge Soldier",
[8524]="Cursed Mage",
[8525]="Scourge Warder",
[8526]="Dark Caster",
[8527]="Scourge Guard",
[8528]="Dread Weaver",
[8529]="Scourge Champion",
[8530]="Cannibal Ghoul",
[8531]="Gibbering Ghoul",
[8532]="Diseased Flayer",
[8534]="Putrid Gargoyle",
[8535]="Putrid Shrieker",
[8538]="Unseen Servant",
[8539]="Eyeless Watcher",
[8540]="Torn Screamer",
[8541]="Hate Shrieker",
[8542]="Death Singer",
[8543]="Stitched Horror",
[8544]="Gangled Golem",
[8545]="Abomination",
[8546]="Dark Adept",
[8547]="Death Cultist",
[8548]="Vile Tutor",
[8550]="Shadowmage",
[8551]="Dark Summoner",
[8553]="Necromancer",
[8554]="Chief Sharptusk Thornmantle",
[8555]="Crypt Fiend",
[8556]="Crypt Walker",
[8557]="Crypt Horror",
[8558]="Crypt Slayer",
[8560]="Mossflayer Scout",
[8561]="Mossflayer Shadowhunter",
[8562]="Mossflayer Cannibal",
[8563]="Woodsman",
[8564]="Ranger",
[8565]="Pathstrider",
[8566]="Dark Iron Lookout",
[8567]="Glutton",
[8576]="Ag\'tor Bloodfist",
[8578]="Magus Rimtori",
[8579]="Yeh\'kinya",
[8580]="Atal\'alarion",
[8581]="Blood Elf Defender",
[8582]="Kadrak",
[8583]="Dirania Silvershine",
[8584]="Iverron",
[8585]="Frost Spectre",
[8586]="Haggrum Bloodfist",
[8587]="Jediga",
[8588]="Umbranse the Spiritspeaker",
[8596]="Plaguehound Runt",
[8597]="Plaguehound",
[8598]="Frenzied Plaguehound",
[8600]="Plaguebat",
[8601]="Noxious Plaguebat",
[8602]="Monstrous Plaguebat",
[8603]="Carrion Grub",
[8605]="Carrion Devourer",
[8606]="Living Decay",
[8607]="Rotting Sludge",
[8608]="Angered Infernal",
[8609]="Alexandra Constantine",
[8610]="Kroum",
[8611]="Idol Room Spawner",
[8612]="Screecher Spirit",
[8615]="Mithril Dragonling",
[8616]="Infernal Servant",
[8617]="Zalashji",
[8636]="Morta\'gya the Keeper",
[8637]="Dark Iron Watchman",
[8656]="Hukku\'s Voidwalker",
[8657]="Hukku\'s Succubus",
[8658]="Hukku\'s Imp",
[8659]="Jes\'rimon",
[8660]="The Evalcharr",
[8661]="Auctioneer Beardo",
[8662]="Idol Oven Fire Target",
[8664]="Saern Priderunner",
[8665]="Shylenai",
[8666]="Lil Timmy",
[8667]="Gusting Vortex",
[8668]="Felhound Tracker",
[8669]="Auctioneer Tolon",
[8670]="Auctioneer Chilton",
[8671]="Auctioneer Buckler",
[8672]="Auctioneer Leeka",
[8673]="Auctioneer Thathung",
[8674]="Auctioneer Stampi",
[8675]="Felbeast",
[8678]="Jubie Gadgetspring",
[8679]="Knaz Blunderflame",
[8680]="Massive Infernal",
[8681]="Outfitter Eric",
[8696]="Henry Stern",
[8716]="Dreadlord",
[8717]="Felguard Elite",
[8718]="Manahound",
[8719]="Auctioneer Fitch",
[8720]="Auctioneer Redmuse",
[8721]="Auctioneer Epitwee",
[8722]="Auctioneer Gullem",
[8723]="Auctioneer Golothas",
[8724]="Auctioneer Wabang",
[8736]="Buzzek Bracketswing",
[8737]="Linken",
[8738]="Vazario Linkgrease",
[8756]="Raytaf",
[8757]="Shahiar",
[8758]="Zaman",
[8759]="Mosshoof Runner",
[8760]="Mosshoof Stag",
[8761]="Mosshoof Courser",
[8762]="Timberweb Recluse",
[8763]="Mistwing Rogue",
[8764]="Mistwing Ravager",
[8766]="Forest Ooze",
[8767]="Sah\'rhee",
[8776]="Emerald Dragon Whelp",
[8816]="Deathly Usher",
[8836]="Battle Chicken",
[8837]="Muck Splash",
[8856]="Tyrion\'s Spybot",
[8876]="Sandfury Acolyte",
[8877]="Sandfury Zealot",
[8878]="Muuran",
[8879]="Royal Historian Archesonus",
[8881]="Riding Ram",
[8882]="Riding Tiger",
[8883]="Riding Horse",
[8884]="Skeletal Mount",
[8885]="Riding Raptor",
[8886]="Deviate Python",
[8887]="A tormented voice",
[8888]="Franclorn Forgewright",
[8889]="Anvilrage Overseer",
[8890]="Anvilrage Warden",
[8891]="Anvilrage Guardsman",
[8892]="Anvilrage Footman",
[8893]="Anvilrage Soldier",
[8894]="Anvilrage Medic",
[8895]="Anvilrage Officer",
[8896]="Shadowforge Peasant",
[8897]="Doomforge Craftsman",
[8898]="Anvilrage Marshal",
[8899]="Doomforge Dragoon",
[8900]="Doomforge Arcanasmith",
[8901]="Anvilrage Reservist",
[8902]="Shadowforge Citizen",
[8903]="Anvilrage Captain",
[8904]="Shadowforge Senator",
[8905]="Warbringer Construct",
[8906]="Ragereaver Golem",
[8907]="Wrath Hammer Construct",
[8908]="Molten War Golem",
[8909]="Fireguard",
[8910]="Blazing Fireguard",
[8911]="Fireguard Destroyer",
[8912]="Twilight\'s Hammer Torturer",
[8913]="Twilight Emissary",
[8914]="Twilight Bodyguard",
[8915]="Twilight\'s Hammer Ambassador",
[8916]="Arena Spectator",
[8917]="Quarry Slave",
[8920]="Weapon Technician",
[8921]="Bloodhound",
[8922]="Bloodhound Mastiff",
[8923]="Panzor the Invincible",
[8924]="The Behemoth",
[8925]="Dredge Worm",
[8926]="Deep Stinger",
[8927]="Dark Screecher",
[8928]="Burrowing Thundersnout",
[8929]="Princess Moira Bronzebeard",
[8931]="Innkeeper Heather",
[8932]="Borer Beetle",
[8933]="Cave Creeper",
[8934]="Christopher Hewen",
[8937]="Pet Bomb",
[8956]="Angerclaw Bear",
[8957]="Angerclaw Grizzly",
[8958]="Angerclaw Mauler",
[8959]="Felpaw Wolf",
[8960]="Felpaw Scavenger",
[8961]="Felpaw Ravager",
[8962]="Hilary",
[8963]="Effsee",
[8964]="Blackrock Drake",
[8965]="Shawn",
[8976]="Hematos",
[8977]="Krom\'Grul",
[8978]="Thauris Balgarr",
[8979]="Gruklash",
[8980]="Firegut Captain",
[8981]="Malfunctioning Reaver",
[8982]="Ironhand Guardian",
[8983]="Golem Lord Argelmach",
[8996]="Voidwalker Minion",
[8997]="Gershala Nightwhisper",
[9016]="Bael\'Gar",
[9017]="Lord Incendius",
[9018]="High Interrogator Gerstahn",
[9019]="Emperor Dagran Thaurissan",
[9020]="Commander Gor\'shak",
[9021]="Kharan Mighthammer",
[9022]="Dughal Stormwing",
[9023]="Marshal Windsor",
[9024]="Pyromancer Loregrain",
[9025]="Lord Roccor",
[9026]="Overmaster Pyron",
[9027]="Gorosh the Dervish",
[9028]="Grizzle",
[9029]="Eviscerator",
[9030]="Ok\'thor the Breaker",
[9031]="Anub\'shiah",
[9032]="Hedrum the Creeper",
[9033]="General Angerforge",
[9034]="Hate\'rel",
[9035]="Anger\'rel",
[9036]="Vile\'rel",
[9037]="Gloom\'rel",
[9038]="Seeth\'rel",
[9039]="Doom\'rel",
[9040]="Dope\'rel",
[9041]="Warder Stilgiss",
[9042]="Verek",
[9043]="Scarshield Grunt",
[9044]="Scarshield Sentry",
[9045]="Scarshield Acolyte",
[9046]="Scarshield Quartermaster",
[9047]="Jenal",
[9056]="Fineous Darkvire",
[9076]="Ghede",
[9077]="Warlord Goretooth",
[9078]="Shadowmage Vivian Lagrave",
[9079]="Hierophant Theodora Mulvadania",
[9080]="Lexlort",
[9081]="Galamav the Marksman",
[9082]="Thal\'trak Proudtusk",
[9083]="Razal\'blade",
[9084]="Thunderheart",
[9085]="Initiate Amakkar",
[9086]="Grunt Gargal",
[9087]="Bashana Runetotem",
[9096]="Rage Talon Dragonspawn",
[9097]="Scarshield Legionnaire",
[9098]="Scarshield Spellbinder",
[9099]="Sraaz",
[9116]="Eridan Bluewind",
[9117]="J.D. Collie",
[9118]="Larion",
[9119]="Muigin",
[9136]="Sha\'ni Proudtusk",
[9156]="Ambassador Flamelash",
[9157]="Bloodpetal Pest",
[9158]="Riding Horse (Warhorse)",
[9162]="Young Diemetradon",
[9163]="Diemetradon",
[9164]="Elder Diemetradon",
[9165]="Fledgling Pterrordax",
[9166]="Pterrordax",
[9167]="Frenzied Pterrordax",
[9176]="Gor\'tesh",
[9177]="Oralius",
[9178]="Burning Spirit",
[9179]="Jazzrik",
[9196]="Highlord Omokk",
[9197]="Spirestone Battle Mage",
[9198]="Spirestone Mystic",
[9199]="Spirestone Enforcer",
[9200]="Spirestone Reaver",
[9201]="Spirestone Ogre Magus",
[9216]="Spirestone Warlord",
[9217]="Spirestone Lord Magus",
[9218]="Spirestone Battle Lord",
[9219]="Spirestone Butcher",
[9236]="Shadow Hunter Vosh\'gajin",
[9237]="War Master Voone",
[9238]="Quentin",
[9239]="Smolderthorn Mystic",
[9240]="Smolderthorn Shadow Priest",
[9241]="Smolderthorn Headhunter",
[9256]="Farm Chicken",
[9257]="Scarshield Warlock",
[9258]="Scarshield Raider",
[9259]="Firebrand Grunt",
[9260]="Firebrand Legionnaire",
[9261]="Firebrand Darkweaver",
[9262]="Firebrand Invoker",
[9263]="Firebrand Dreadweaver",
[9264]="Firebrand Pyromancer",
[9265]="Smolderthorn Shadow Hunter",
[9266]="Smolderthorn Witch Doctor",
[9267]="Smolderthorn Axe Thrower",
[9268]="Smolderthorn Berserker",
[9269]="Smolderthorn Seer",
[9270]="Williden Marshal",
[9271]="Hol\'anyee Marshal",
[9272]="Spark Nilminer",
[9273]="Petra Grossen",
[9274]="Dadanga",
[9296]="Milly Osworth",
[9297]="Enraged Wyvern",
[9298]="Donova Snowden",
[9299]="Gaeriyan",
[9316]="Wenikee Boltbucket",
[9317]="Rilli Greasygob",
[9318]="Incendosaur",
[9319]="Houndmaster Grebmar",
[9336]="Boss Copperplug",
[9356]="Innkeeper Shul\'kar",
[9376]="Blazerunner",
[9377]="Swirling Vortex",
[9396]="Ground Pounder",
[9397]="Living Storm",
[9398]="Twilight\'s Hammer Executioner",
[9416]="Scarshield Worg",
[9436]="Spawn of Bael\'Gar",
[9437]="Dark Keeper Vorfalk",
[9438]="Dark Keeper Bethek",
[9439]="Dark Keeper Uggel",
[9441]="Dark Keeper Zimrel",
[9442]="Dark Keeper Ofgut",
[9443]="Dark Keeper Pelver",
[9445]="Dark Guard",
[9447]="Scarlet Warder",
[9448]="Scarlet Praetorian",
[9449]="Scarlet Cleric",
[9450]="Scarlet Curate",
[9451]="Scarlet Archmage",
[9452]="Scarlet Enchanter",
[9453]="Aquementas",
[9454]="Xavathras",
[9456]="Warlord Krom\'zar",
[9457]="Horde Defender",
[9458]="Horde Axe Thrower",
[9459]="Cyrus Therepentous",
[9460]="Gadgetzan Bruiser",
[9461]="Frenzied Black Drake",
[9462]="Chieftain Bloodmaw",
[9464]="Overlord Ror",
[9465]="Golhine the Hooded",
[9467]="Miblon Snarltooth",
[9476]="Watchman Doomgrip",
[9477]="Cloned Ooze",
[9496]="Gorishi Egg",
[9498]="Gorishi Grub",
[9499]="Plugger Spazzring",
[9500]="Mistress Nagmara",
[9501]="Innkeeper Adegwa",
[9502]="Phalanx",
[9503]="Private Rocknot",
[9516]="Lord Banehollow",
[9517]="Shadow Lord Fel\'dan",
[9518]="Rakaiah",
[9520]="Grark Lorkrub",
[9521]="Enraged Felbat",
[9522]="Blackrock Ambusher",
[9523]="Kolkar Stormseer",
[9524]="Kolkar Invader",
[9525]="Freewind Brave",
[9526]="Enraged Gryphon",
[9527]="Enraged Hippogryph",
[9528]="Arathandris Silversky",
[9529]="Maybess Riverbreeze",
[9536]="Maxwort Uberglint",
[9537]="Hurley Blackbreath",
[9538]="High Executioner Nuzrak",
[9539]="Shadow of Lexlort",
[9540]="Enohar Thunderbrew",
[9541]="Blackbreath Crony",
[9542]="Franclorn\'s Spirit",
[9543]="Ribbly Screwspigot",
[9544]="Yuka Screwspigot",
[9545]="Grim Patron",
[9546]="Raschal the Courier",
[9547]="Guzzling Patron",
[9548]="Cawind Trueaim",
[9549]="Borand",
[9550]="Furmund",
[9551]="Starn",
[9552]="Zanara",
[9553]="Nadia Vernon",
[9554]="Hammered Patron",
[9555]="Mu\'uta",
[9556]="Felhound Minion",
[9558]="Grimble",
[9559]="Grizzlowe",
[9560]="Marshal Maxwell",
[9561]="Jalinda Sprig",
[9562]="Helendis Riverhorn",
[9563]="Ragged John",
[9564]="Frezza",
[9565]="Mayara Brightwing",
[9566]="Zapetta",
[9568]="Overlord Wyrmthalak",
[9583]="Bloodaxe Veteran",
[9584]="Jalane Ayrole",
[9596]="Bannok Grimaxe",
[9598]="Arei",
[9599]="Arei Transformed",
[9600]="Parrot",
[9601]="Treant Spirit",
[9602]="Hahk\'Zor",
[9604]="Gorgon\'och",
[9605]="Blackrock Raider",
[9616]="Laris Geardawdle",
[9618]="Karna Remtravel",
[9619]="Torwa Pathfinder",
[9620]="Dreka\'Sur",
[9621]="Gargantuan Ooze",
[9622]="U\'cha",
[9623]="A-Me 01",
[9636]="Kireena",
[9637]="Scorching Totem",
[9656]="Tiny Walking Bomb",
[9657]="Lil\' Smoky",
[9660]="Agnar Beastamer",
[9662]="Sprite Darter Hatchling",
[9676]="Tink Sprocketwhistle",
[9677]="Ograbisi",
[9678]="Shill Dinger",
[9679]="Tobias Seecher",
[9680]="Crest Killer",
[9681]="Jaz",
[9682]="Marshal Reginald Windsor",
[9683]="Lar\'korwi Mate",
[9684]="Lar\'korwi",
[9687]="Windwall Totem",
[9688]="Windwall Totem II",
[9689]="Windwall Totem III",
[9690]="Ember Worg",
[9691]="Venomtip Scorpid",
[9692]="Bloodaxe Raider",
[9693]="Bloodaxe Evoker",
[9694]="Slavering Ember Worg",
[9695]="Deathlash Scorpid",
[9696]="Bloodaxe Worg",
[9697]="Giant Ember Worg",
[9698]="Firetail Scorpid",
[9699]="Fire Beetle",
[9700]="Lava Crab",
[9701]="Spire Scorpid",
[9705]="Illusionary Dreamwatcher",
[9706]="Yorba Screwspigot",
[9707]="Scarshield Portal",
[9708]="Burning Imp",
[9716]="Bloodaxe Warmonger",
[9717]="Bloodaxe Summoner",
[9718]="Ghok Bashguud",
[9736]="Quartermaster Zigris",
[9776]="Flamekin Spitter",
[9777]="Flamekin Sprite",
[9778]="Flamekin Torcher",
[9779]="Flamekin Rager",
[9796]="Galgar",
[9816]="Pyroguard Emberseer",
[9817]="Blackhand Dreadweaver",
[9818]="Blackhand Summoner",
[9819]="Blackhand Veteran",
[9836]="Mathredis Firestar",
[9856]="Auctioneer Grimful",
[9857]="Auctioneer Grizzlin",
[9858]="Auctioneer Kresky",
[9859]="Auctioneer Lympkin",
[9860]="Salia",
[9861]="Moora",
[9862]="Jaedenar Legionnaire",
[9876]="Locheed",
[9877]="Prince Xavalis",
[9878]="Entropic Beast",
[9879]="Entropic Horror",
[9916]="Jarquia",
[9936]="Corrupted Kitten",
[9937]="Common Kitten",
[9938]="Magmus",
[9956]="Shadowforge Flame Keeper",
[9976]="Tharlidun",
[9977]="Sylista",
[9978]="Wesley",
[9979]="Sarah Goode",
[9980]="Shelby Stoneflint",
[9981]="Sikwa",
[9982]="Penny",
[9983]="Kelsuwa",
[9984]="Ulbrek Firehand",
[9985]="Laziphus",
[9986]="Shyrka Wolfrunner",
[9987]="Shoja\'my",
[9988]="Xon\'cha",
[9989]="Lina Hearthstove",
[9990]="Lanti\'gah",
[9996]="Winna Hazzard",
[9997]="Spraggle Frock",
[9998]="Shizzle",
[9999]="Ringo",
[10000]="Arugal",
[10016]="Tainted Rat",
[10017]="Tainted Cockroach",
[10036]="Brackenwall Enforcer",
[10037]="Lakeshire Guard",
[10038]="Night Watch Guard",
[10040]="Gorishi Hive Guard",
[10041]="Gorishi Hive Queen",
[10042]="Corrupted Saber",
[10043]="Ribbly\'s Crony",
[10045]="Kirk Maxwell",
[10046]="Bethaine Flinthammer",
[10047]="Michael",
[10048]="Gereck",
[10049]="Hekkru",
[10050]="Seikwa",
[10051]="Seriadne",
[10052]="Maluressian",
[10053]="Anya Maulray",
[10054]="Bulrug",
[10055]="Morganus",
[10056]="Alassin",
[10057]="Theodore Mont Claire",
[10058]="Greth",
[10059]="Antarius",
[10060]="Grimestack",
[10061]="Killium Bouldertoe",
[10062]="Steven Black",
[10063]="Reggifuz",
[10076]="High Priestess of Thaurissan",
[10077]="Deathmaw",
[10078]="Terrorspark",
[10079]="Brave Moonhorn",
[10080]="Sandarr Dunereaver",
[10081]="Dustwraith",
[10082]="Zerillis",
[10083]="Rage Talon Flamescale",
[10085]="Jaelysia",
[10086]="Hesuwa Thunderhorn",
[10088]="Xao\'tsu",
[10089]="Silvaria",
[10090]="Belia Thundergranite",
[10096]="High Justice Grimstone",
[10116]="Slave",
[10117]="Tortured Slave",
[10118]="Nessa Shadowsong",
[10119]="Volchan",
[10120]="Vault Warder",
[10136]="Chemist Fuely",
[10157]="Moonkin Oracle",
[10158]="Moonkin",
[10159]="Young Moonkin",
[10160]="Raging Moonkin",
[10161]="Rookery Whelp",
[10162]="Lord Victor Nefarius",
[10176]="Kaltunk",
[10177]="Spire Scarab",
[10178]="Riding MechaStrider (Flourescent Green)",
[10179]="Riding MechaStrider (Black)",
[10180]="Riding MechaStrider (Steel)",
[10181]="Lady Sylvanas Windrunner",
[10182]="Rexxar",
[10183]="Moonflare Totem",
[10184]="Onyxia",
[10196]="General Colbatann",
[10197]="Mezzir the Howler",
[10198]="Kashoch the Reaver",
[10199]="Grizzle Snowpaw",
[10200]="Rak\'shiri",
[10201]="Lady Hederine",
[10202]="Azurous",
[10204]="Misha",
[10216]="Gubber Blump",
[10217]="Flame Buffet Totem",
[10218]="Superior Healing Ward",
[10219]="Gwennyth Bly\'Leggonde",
[10220]="Halycon",
[10221]="Bloodaxe Worg Pup",
[10257]="Bijou",
[10258]="Rookery Guardian",
[10259]="Worg Pup",
[10260]="Kibler",
[10261]="Burning Felhound",
[10262]="Opus",
[10263]="Burning Felguard",
[10264]="Solakar Flamewreath",
[10266]="Ug\'thok",
[10267]="Tinkee Steamboil",
[10268]="Gizrul the Slavener",
[10276]="Rotgath Stonebeard",
[10277]="Groum Stonebeard",
[10278]="Thrag Stonehoof",
[10290]="Captured Felwood Ooze",
[10293]="Dulciea Frostmoon",
[10296]="Vaelan",
[10299]="Scarshield Infiltrator",
[10300]="Ranshalla",
[10301]="Jaron Stoneshaper",
[10302]="Krakle",
[10303]="Storm Shadowhoof",
[10304]="Aurora Skycaller",
[10305]="Umi Rumplesnicker",
[10306]="Trull Failbane",
[10307]="Witch Doctor Mau\'ari",
[10316]="Blackhand Incarcerator",
[10317]="Blackhand Elite",
[10318]="Blackhand Assassin",
[10319]="Blackhand Iron Guard",
[10321]="Emberstrife",
[10322]="Riding Tiger (White)",
[10323]="Murkdeep",
[10336]="Riding Tiger (Leopard)",
[10337]="Riding Tiger (Orange)",
[10338]="Riding Tiger (Gold)",
[10339]="Gyth",
[10340]="Vaelastrasz the Red",
[10356]="Bayne",
[10357]="Ressan the Needler",
[10358]="Fellicent\'s Shade",
[10359]="Sri\'skulk",
[10360]="Kergul Bloodaxe",
[10361]="Gruul Darkblade",
[10363]="General Drakkisath",
[10364]="Yaelika Farclaw",
[10366]="Rage Talon Dragon Guard",
[10367]="Shrye Ragefist",
[10369]="Trayexir",
[10370]="[UNUSED] Xur\'gyl",
[10371]="Rage Talon Captain",
[10372]="Rage Talon Fire Tongue",
[10373]="Xabraxxis",
[10374]="Spire Spider",
[10375]="Spire Spiderling",
[10376]="Crystal Fang",
[10377]="Elu",
[10378]="Omusa Thunderhorn",
[10379]="Altsoba Ragetotem",
[10380]="Sanuye Runetotem",
[10381]="Ravaged Cadaver",
[10382]="Mangled Cadaver",
[10383]="Broken Cadaver",
[10384]="Spectral Citizen",
[10385]="Ghostly Citizen",
[10387]="Vengeful Phantom",
[10388]="Spiteful Phantom",
[10389]="Wrath Phantom",
[10390]="Skeletal Guardian",
[10391]="Skeletal Berserker",
[10393]="Skul",
[10394]="Black Guard Sentry",
[10398]="Thuzadin Shadowcaster",
[10399]="Thuzadin Acolyte",
[10400]="Thuzadin Necromancer",
[10405]="Plague Ghoul",
[10406]="Ghoul Ravener",
[10407]="Fleshflayer Ghoul",
[10408]="Rockwing Gargoyle",
[10409]="Rockwing Screecher",
[10411]="Eye of Naxxramas",
[10412]="Crypt Crawler",
[10413]="Crypt Beast",
[10414]="Patchwork Horror",
[10415]="Ash\'ari Crystal",
[10416]="Bile Spewer",
[10417]="Venom Belcher",
[10418]="Crimson Guardsman",
[10419]="Crimson Conjuror",
[10420]="Crimson Initiate",
[10421]="Crimson Defender",
[10422]="Crimson Sorcerer",
[10423]="Crimson Priest",
[10424]="Crimson Gallant",
[10425]="Crimson Battle Mage",
[10426]="Crimson Inquisitor",
[10427]="Pao\'ka Swiftmountain",
[10428]="Motega Firemane",
[10429]="Warchief Rend Blackhand",
[10430]="The Beast",
[10431]="Gregor Greystone",
[10432]="Vectus",
[10433]="Marduk Blackpool",
[10435]="Magistrate Barthilas",
[10436]="Baroness Anastari",
[10437]="Nerub\'enkan",
[10438]="Maleki the Pallid",
[10439]="Ramstein the Gorger",
[10440]="Baron Rivendare",
[10441]="Plagued Rat",
[10442]="Chromatic Whelp",
[10445]="Selina Dourman",
[10447]="Chromatic Dragonspawn",
[10455]="Binny Springblade",
[10456]="Prynne",
[10459]="Rend on Drake Visual",
[10460]="Prospector Ironboot",
[10461]="Plagued Insect",
[10463]="Shrieking Banshee",
[10464]="Wailing Banshee",
[10467]="Mana Tide Totem",
[10468]="Felnok Steelspring",
[10469]="Scholomance Adept",
[10470]="Scholomance Neophyte",
[10471]="Scholomance Acolyte",
[10472]="Scholomance Occultist",
[10475]="Scholomance Student",
[10476]="Scholomance Necrolyte",
[10477]="Scholomance Necromancer",
[10478]="Splintered Skeleton",
[10479]="Skulking Corpse",
[10480]="Unstable Corpse",
[10481]="Reanimated Corpse",
[10482]="Risen Lackey",
[10485]="Risen Aberration",
[10486]="Risen Warrior",
[10487]="Risen Protector",
[10488]="Risen Construct",
[10489]="Risen Guard",
[10491]="Risen Bonewarder",
[10495]="Diseased Ghoul",
[10497]="Ragged Ghoul",
[10498]="Spectral Tutor",
[10499]="Spectral Researcher",
[10500]="Spectral Teacher",
[10502]="Lady Illucia Barov",
[10503]="Jandice Barov",
[10504]="Lord Alexei Barov",
[10505]="Instructor Malicia",
[10506]="Kirtonos the Herald",
[10507]="The Ravenian",
[10508]="Ras Frostwhisper",
[10509]="Jed Runewatcher",
[10516]="The Unforgiven",
[10536]="Plagued Maggot",
[10537]="Cliffwatcher Longhorn",
[10538]="Vaelastrasz",
[10539]="Hagar Lightninghoof",
[10540]="Vol\'jin",
[10541]="Krakle\'s Thermometer",
[10556]="Lazy Peon",
[10557]="Flametongue Totem IV",
[10558]="Hearthsinger Forresten",
[10559]="Lady Vespia",
[10577]="Crypt Scarab",
[10578]="Bom\'bay",
[10579]="Kirtonos the Herald (Spell Visual)",
[10580]="Fetid Zombie",
[10581]="Young Arikara",
[10582]="Dog",
[10583]="Gryfe",
[10584]="Urok Doomhowl",
[10596]="Mother Smolderweb",
[10598]="Smolderweb Hatchling",
[10599]="Hulfnar Stonetotem",
[10600]="Thontek Rumblehoof",
[10601]="Urok Enforcer",
[10602]="Urok Ogre Magus",
[10603]="Hallucination",
[10604]="Huntress Nhemai",
[10605]="Scarlet Medic",
[10606]="Huntress Yaeliura",
[10608]="Scarlet Priest",
[10610]="Angus",
[10611]="Shorty",
[10612]="Guard Wachabe",
[10616]="Supervisor Raelen",
[10617]="Galak Messenger",
[10618]="Rivern Frostwind",
[10619]="Glacier",
[10636]="Pack Kodo",
[10637]="Malyfous Darkhammer",
[10638]="Kanati Greycloud",
[10639]="Rorgish Jowl",
[10640]="Oakpaw",
[10641]="Branch Snapper",
[10642]="Eck\'alom",
[10643]="Mugglefin",
[10644]="Mist Howler",
[10645]="Thalia Amberhide",
[10646]="Lakota Windsong",
[10647]="Prince Raze",
[10648]="Xavaric",
[10656]="Guardian Felhunter",
[10657]="Corrupted Cat",
[10658]="Winna\'s Kitten",
[10659]="Cobalt Whelp",
[10660]="Cobalt Broodling",
[10661]="Spell Eater",
[10662]="Spellmaw",
[10663]="Manaclaw",
[10664]="Scryer",
[10665]="Junior Apothecary Holland",
[10666]="Gordo",
[10667]="Chromie",
[10668]="Beaten Corpse",
[10676]="Raider Jhash",
[10678]="Plagued Hatchling",
[10680]="Summoned Blackhand Dreadweaver",
[10681]="Summoned Blackhand Veteran",
[10682]="Raider Kerr",
[10683]="Rookery Hatcher",
[10684]="Remorseful Highborne",
[10685]="Swine",
[10696]="Refuge Pointe Defender",
[10697]="Bile Slime",
[10698]="Summoned Zombie",
[10699]="Carrion Scarab",
[10716]="Belfry Bat",
[10717]="Temporal Parasite",
[10718]="Shahram",
[10719]="Herald of Thrall",
[10720]="Galak Assassin",
[10721]="Novice Warrior",
[10737]="Shy-Rotam",
[10738]="High Chief Winterfall",
[10739]="Mulgris Deepriver",
[10740]="Awbee",
[10741]="Sian-Rotam",
[10742]="Blackhand Dragon Handler",
[10756]="Scalding Elemental",
[10757]="Boiling Elemental",
[10758]="Grimtotem Bandit",
[10759]="Grimtotem Stomper",
[10760]="Grimtotem Geomancer",
[10761]="Grimtotem Reaver",
[10762]="Blackhand Thug",
[10776]="Finkle Einhorn",
[10778]="Janice Felstone",
[10779]="Infected Squirrel",
[10780]="Infected Deer",
[10781]="Royal Overseer Bauhaus",
[10782]="Royal Factor Bathrilor",
[10783]="Orb of Deception (Orc, Male)",
[10784]="Orb of Deception (Orc, Female)",
[10785]="Orb of Deception (Tauren, Male)",
[10786]="Orb of Deception (Tauren, Female)",
[10787]="Orb of Deception (Troll, Male)",
[10788]="Orb of Deception (Troll, Female)",
[10789]="Orb of Deception (Undead, Male)",
[10790]="Orb of Deception (Undead, Female)",
[10791]="Orb of Deception (Dwarf, Male)",
[10792]="Orb of Deception (Dwarf, Female)",
[10793]="Orb of Deception (Gnome, Male)",
[10794]="Orb of Deception (Gnome, Female)",
[10795]="Orb of Deception (Human, Male)",
[10796]="Orb of Deception (Human, Female)",
[10797]="Orb of Deception (NightElf, Male)",
[10798]="Orb of Deception (Nightelf, Female)",
[10799]="Warosh",
[10800]="Warosh the Redeemed",
[10801]="Jabbering Ghoul",
[10802]="Hitah\'ya the Keeper",
[10803]="Rifleman Wheeler",
[10804]="Rifleman Middlecamp",
[10805]="Spotter Klemmy",
[10806]="Ursius",
[10807]="Brumeran",
[10808]="Timmy the Cruel",
[10809]="Stonespine",
[10811]="Archivist Galford",
[10812]="Grand Crusader Dathrohan",
[10813]="Balnazzar",
[10814]="Chromatic Elite Guard",
[10816]="Wandering Skeleton",
[10817]="Duggan Wildhammer",
[10819]="Baron Bloodbane",
[10821]="Hed\'mush the Rotting",
[10822]="Warlord Thresh\'jin",
[10823]="Zul\'Brin Warpbranch",
[10824]="Ranger Lord Hawkspear",
[10825]="Gish the Unmoving",
[10826]="Lord Darkscythe",
[10827]="Deathspeaker Selendre",
[10828]="High General Abbendis",
[10836]="Farmer Dalson",
[10837]="High Executor Derrington",
[10838]="Commander Ashlam Valorfist",
[10839]="Argent Officer Garush",
[10840]="Argent Officer Pureheart",
[10856]="Argent Quartermaster Hasana",
[10857]="Argent Quartermaster Lightspark",
[10876]="Undead Scarab",
[10877]="Courier Hammerfall",
[10878]="Herald Moonstalker",
[10879]="Harbinger Balthazad",
[10880]="Warcaller Gorlach",
[10881]="Bluff Runner Windstrider",
[10882]="Arikara",
[10896]="Arnak Grimtotem",
[10897]="Sindrayl",
[10899]="Goraluk Anvilcrack",
[10901]="Lorekeeper Polkelt",
[10902]="Andorhal Tower One",
[10903]="Andorhal Tower Two",
[10904]="Andorhal Tower Three",
[10905]="Andorhal Tower Four",
[10916]="Winterfall Runner",
[10917]="Aurius",
[10918]="Lorax",
[10919]="Shatterspear Troll",
[10920]="Kelek Skykeeper",
[10921]="Taronn Redfeather",
[10922]="Greta Mosshoof",
[10923]="Tenell Leafrunner",
[10924]="Ivy Leafrunner",
[10925]="Rotting Worm",
[10926]="Pamela Redpath",
[10927]="Marlene Redpath",
[10928]="Succubus Minion",
[10929]="Haleh",
[10930]="Dargh Trueaim",
[10936]="Joseph Redpath",
[10937]="Captain Redpath",
[10938]="Redpath the Corrupted",
[10939]="Marduk the Black",
[10940]="Ghost of the Past",
[10941]="Wizlo Bearingshiner",
[10942]="Nessy",
[10943]="Decrepit Guardian",
[10944]="Davil Lightfire",
[10945]="Davil Crokford",
[10946]="Horgus the Ravager",
[10947]="Darrowshire Betrayer",
[10948]="Darrowshire Defender",
[10949]="Silver Hand Disciple",
[10950]="Redpath Militia",
[10951]="Marauding Corpse",
[10952]="Marauding Skeleton",
[10953]="Servant of Horgus",
[10954]="Bloodletter",
[10955]="Summoned Water Elemental",
[10956]="Naga Siren",
[10976]="Jeziba",
[10977]="Quixxil",
[10978]="Legacki",
[10979]="Scarlet Hound",
[10980]="Umi\'s Mechanical Yeti",
[10981]="Frostwolf",
[10982]="Whitewhisker Vermin",
[10983]="Winterax Troll",
[10984]="Winterax Berserker",
[10985]="Ice Giant",
[10986]="Snowblind Harpy",
[10987]="Irondeep Trogg",
[10988]="Kodo Spirit",
[10989]="Blizzard Elemental",
[10990]="Alterac Ram",
[10991]="Wildpaw Gnoll",
[10992]="Enraged Panther",
[10993]="Twizwick Sprocketgrind",
[10996]="Fallen Hero",
[10997]="Cannon Master Willey",
[11016]="Captured Arko\'narin",
[11017]="Roxxik",
[11018]="Arko\'narin",
[11019]="Jessir Moonbow",
[11020]="Remains of Trey Lightforge",
[11021]="Riding Tiger (Winterspring)",
[11022]="Alexi Barov",
[11023]="Weldon Barov",
[11024]="Della",
[11025]="Mukdrak",
[11026]="Sprite Jumpsprocket",
[11027]="Illusory Wraith",
[11028]="Jemma Quikswitch",
[11029]="Trixie Quikswitch",
[11030]="Mindless Undead",
[11031]="Franklin Lloyd",
[11032]="Malor the Zealous",
[11033]="Smokey LaRue",
[11034]="Lord Maxwell Tyrosus",
[11035]="Betina Bigglezink",
[11036]="Leonid Barthalomew the Revered",
[11037]="Jenna Lemkenilli",
[11038]="Caretaker Alen",
[11039]="Duke Nicholas Zverenhoff",
[11040]="Watcher Brownell",
[11041]="Milla Fairancora",
[11042]="Sylvanna Forestmoon",
[11043]="Crimson Monk",
[11044]="Doctor Martin Felben",
[11046]="Whuut",
[11047]="Kray",
[11048]="Victor Ward",
[11049]="Rhiannon Davis",
[11050]="Trianna",
[11051]="Vhan",
[11052]="Timothy Worthington",
[11053]="High Priestess MacDonnell",
[11054]="Crimson Rifleman",
[11055]="Shadow Priestess Vandis",
[11056]="Alchemist Arbington",
[11057]="Apothecary Dithers",
[11058]="Fras Siabi",
[11063]="Carlin Redpath",
[11064]="Darrowshire Spirit",
[11065]="Thonys Pillarstone",
[11066]="Jhag",
[11067]="Malcomb Wynn",
[11068]="Betty Quin",
[11069]="Jenova Stoneshield",
[11070]="Lalina Summermoon",
[11071]="Mot Dawnstrider",
[11072]="Kitta Firewind",
[11073]="Annora",
[11074]="Hgarth",
[11075]="Cauldron Lord Bilemaw",
[11076]="Cauldron Lord Razarch",
[11077]="Cauldron Lord Malvinious",
[11078]="Cauldron Lord Soulwrath",
[11079]="Wynd Nightchaser",
[11081]="Faldron",
[11082]="Stratholme Courier",
[11083]="Darianna",
[11084]="Tarn",
[11096]="Randal Worth",
[11097]="Drakk Stonehand",
[11098]="Hahrana Ironhide",
[11099]="Argent Guard",
[11100]="Mana Tide Totem II",
[11101]="Mana Tide Totem III",
[11102]="Argent Rider",
[11103]="Innkeeper Lyshaerya",
[11104]="Shelgrayn",
[11105]="Aboda",
[11106]="Innkeeper Sikewa",
[11116]="Innkeeper Abeqwa",
[11117]="Awenasa",
[11118]="Innkeeper Vizzie",
[11119]="Azzleby",
[11120]="Crimson Hammersmith",
[11121]="Black Guard Swordsmith",
[11122]="Restless Soul",
[11136]="Freed Soul",
[11137]="Xai\'ander",
[11138]="Maethrya",
[11139]="Yugrek",
[11140]="Egan",
[11141]="Spirit of Trey Lightforge",
[11142]="Undead Postman",
[11143]="Postmaster Malown",
[11145]="Myolor Sunderfury",
[11146]="Ironus Coldsteel",
[11147]="Riding MechaStrider (Green/Gray)",
[11148]="Riding MechaStrider (Purple)",
[11149]="Riding MechaStrider (Red/Blue)",
[11150]="Riding MechaStrider (Icy Blue)",
[11151]="Riding MechaStrider (Yellow/Green)",
[11152]="The Scourge Cauldron",
[11153]="Riding Skeletal Horse (Red)",
[11154]="Riding Skeletal Horse (Blue)",
[11155]="Riding Skeletal Horse (Brown)",
[11156]="Green Skeletal Warhorse",
[11176]="Krathok Moltenfist",
[11177]="Okothos Ironrager",
[11178]="Borgosh Corebender",
[11179]="Crystal Trigger",
[11180]="Bloodvenom Post Brave",
[11181]="Shi\'alune",
[11182]="Nixxrak",
[11183]="Blixxrak",
[11184]="Wixxrak",
[11185]="Xizzer Fizzbolt",
[11186]="Lunnix Sprocketslip",
[11187]="Himmik",
[11188]="Evie Whirlbrew",
[11189]="Qia",
[11190]="Everlook Bruiser",
[11191]="Lilith the Lithe",
[11192]="Kilram",
[11193]="Seril Scourgebane",
[11194]="Argent Defender",
[11195]="Skeletal Black Warhorse",
[11196]="Shatterspear Drummer",
[11197]="Mindless Skeleton",
[11198]="Draenei Exile",
[11199]="Crimson Cannon",
[11200]="Summoned Skeleton",
[11216]="Eva Sarkhoff",
[11217]="Lucien Sarkhoff",
[11218]="Kerlonian Evershade",
[11219]="Liladris Moonriver",
[11236]="Blood Parrot",
[11256]="Manifestation of Water",
[11257]="Scholomance Handler",
[11258]="Frail Skeleton",
[11259]="Nataka Longhorn",
[11260]="Northshire Peasant",
[11261]="Doctor Theolen Krastinov",
[11262]="Onyxian Whelp",
[11263]="Spectral Projection",
[11276]="Azshara Sentinel",
[11277]="Caer Darrow Citizen",
[11278]="Magnus Frostwake",
[11279]="Caer Darrow Guardsman",
[11280]="Caer Darrow Cannoneer",
[11281]="Caer Darrow Horseman",
[11282]="Melia",
[11283]="Sammy",
[11284]="Dark Shade",
[11285]="Rory",
[11286]="Magistrate Marduke",
[11287]="Baker Masterson",
[11288]="Spectral Betrayer",
[11289]="Spectral Defender",
[11290]="Mossflayer Zombie",
[11291]="Unliving Mossflayer",
[11296]="Darrowshire Poltergeist",
[11316]="Joseph Dirte",
[11317]="Jinar\'Zillen",
[11318]="Ragefire Trogg",
[11319]="Ragefire Shaman",
[11320]="Earthborer",
[11321]="Molten Elemental",
[11322]="Searing Blade Cultist",
[11323]="Searing Blade Enforcer",
[11324]="Searing Blade Warlock",
[11325]="Panda Cub",
[11326]="Mini Diablo",
[11327]="Zergling",
[11328]="Eastvale Peasant",
[11338]="Hakkari Shadowcaster",
[11339]="Hakkari Shadow Hunter",
[11340]="Hakkari Blood Priest",
[11346]="Hakkari Oracle",
[11347]="Zealot Lor\'Khan",
[11348]="Zealot Zath",
[11350]="Gurubashi Axe Thrower",
[11351]="Gurubashi Headhunter",
[11352]="Gurubashi Berserker",
[11353]="Gurubashi Blood Drinker",
[11355]="Gurubashi Warrior",
[11356]="Gurubashi Champion",
[11357]="Son of Hakkar",
[11359]="Soulflayer",
[11360]="Zulian Cub",
[11361]="Zulian Tiger",
[11365]="Zulian Panther",
[11368]="Bloodseeker Bat",
[11370]="Razzashi Broodwidow",
[11371]="Razzashi Serpent",
[11372]="Razzashi Adder",
[11373]="Razzashi Cobra",
[11374]="Hooktooth Frenzy",
[11378]="Foreman Thazz\'ril",
[11380]="Jin\'do the Hexxer",
[11382]="Bloodlord Mandokir",
[11383]="High Priestess Hai\'watna",
[11387]="Sandfury Speaker",
[11388]="Witherbark Speaker",
[11389]="Bloodscalp Speaker",
[11390]="Skullsplitter Speaker",
[11391]="Vilebranch Speaker",
[11397]="Nara Meideros",
[11401]="Priestess Alathea",
[11406]="High Priest Rohan",
[11407]="Var\'jun",
[11437]="Minor Infernal",
[11438]="Bibbly F\'utzbuckle",
[11439]="Illusion of Jandice Barov",
[11440]="Gordok Enforcer",
[11441]="Gordok Brute",
[11442]="Gordok Mauler",
[11443]="Gordok Ogre-Mage",
[11444]="Gordok Mage-Lord",
[11445]="Gordok Captain",
[11446]="Gordok Spirit",
[11447]="Mushgog",
[11448]="Gordok Warlock",
[11450]="Gordok Reaver",
[11451]="Wildspawn Satyr",
[11452]="Wildspawn Rogue",
[11453]="Wildspawn Trickster",
[11454]="Wildspawn Betrayer",
[11455]="Wildspawn Felsworn",
[11456]="Wildspawn Shadowstalker",
[11457]="Wildspawn Hellcaller",
[11458]="Petrified Treant",
[11459]="Ironbark Protector",
[11460]="Alzzin\'s Minion",
[11461]="Warpwood Guardian",
[11462]="Warpwood Treant",
[11464]="Warpwood Tangler",
[11465]="Warpwood Stomper",
[11466]="Highborne Summoner",
[11467]="Tsu\'zee",
[11469]="Eldreth Seether",
[11470]="Eldreth Sorcerer",
[11471]="Eldreth Apparition",
[11472]="Eldreth Spirit",
[11473]="Eldreth Spectre",
[11475]="Eldreth Phantasm",
[11476]="Skeletal Highborne",
[11477]="Rotting Highborne",
[11480]="Arcane Aberration",
[11483]="Mana Remnant",
[11484]="Residual Monstrosity",
[11486]="Prince Tortheldrin",
[11487]="Magister Kalendris",
[11488]="Illyanna Ravenoak",
[11489]="Tendris Warpwood",
[11490]="Zevrim Thornhoof",
[11491]="Old Ironbark",
[11492]="Alzzin the Wildshaper",
[11494]="Alzinn Trigger",
[11496]="Immol\'thar",
[11497]="The Razza",
[11498]="Skarr the Unbreakable",
[11500]="[UNUSED] Majordomo Bagrosh",
[11501]="King Gordok",
[11502]="Ragnaros",
[11516]="Timbermaw Warder",
[11517]="Oggleflint",
[11518]="Jergosh the Invoker",
[11519]="Bazzalan",
[11520]="Taragaman the Hungerer",
[11521]="Kodo Apparition",
[11536]="Quartermaster Miranda Breechlock",
[11546]="Jack Sterling",
[11547]="Skeletal Scholomance Student",
[11548]="Loh\'atu",
[11551]="Necrofiend",
[11552]="Timbermaw Mystic",
[11553]="Timbermaw Woodbender",
[11554]="Grazle",
[11555]="Gorn One Eye",
[11556]="Salfa",
[11557]="Meilosh",
[11558]="Kernda",
[11559]="Outcast Necromancer",
[11560]="Magrami Spectre",
[11561]="Undead Ravager",
[11562]="Drysnap Crawler",
[11563]="Drysnap Pincer",
[11564]="Gizelton Caravan Kodo",
[11576]="Whirlwind Ripper",
[11577]="Whirlwind Stormwalker",
[11578]="Whirlwind Shredder",
[11582]="Scholomance Dark Summoner",
[11583]="Nefarian",
[11596]="Smeed Scrabblescrew",
[11598]="Risen Guardian",
[11600]="Irondeep Shaman",
[11602]="Irondeep Skullthumper",
[11603]="Whitewhisker Digger",
[11604]="Whitewhisker Geomancer",
[11605]="Whitewhisker Overseer",
[11608]="Bardu Sharpeye",
[11609]="Alexia Ironknife",
[11610]="Kirsta Deepshadow",
[11611]="Cavalier Durgen",
[11613]="Huntsman Radley",
[11614]="Bloodshot",
[11615]="Mickey Levine",
[11616]="Nathaniel Dumah",
[11620]="Spectral Marauder",
[11621]="Spectral Corpse",
[11622]="Rattlegore",
[11623]="Scourge Summoning Crystal",
[11624]="Taiga Wisemane",
[11625]="Cork Gizelton",
[11626]="Rigger Gizelton",
[11627]="Tamed Kodo",
[11628]="Decaying Corpse",
[11629]="Jessica Redpath",
[11636]="Servant of Weldon Barov",
[11637]="Servant of Alexi Barov",
[11656]="Horde Peon",
[11657]="Morloch",
[11658]="Molten Giant",
[11659]="Molten Destroyer",
[11661]="Flamewaker",
[11662]="Flamewaker Priest",
[11663]="Flamewaker Healer",
[11664]="Flamewaker Elite",
[11665]="Lava Annihilator",
[11666]="Firewalker",
[11667]="Flameguard",
[11668]="Firelord",
[11669]="Flame Imp",
[11671]="Core Hound",
[11672]="Core Rager",
[11673]="Ancient Core Hound",
[11675]="Snowblind Windcaller",
[11677]="Taskmaster Snivvle",
[11678]="Snowblind Ambusher",
[11679]="Winterax Witch Doctor",
[11680]="Horde Scout",
[11681]="Horde Deforester",
[11682]="Horde Grunt",
[11683]="Horde Shaman",
[11684]="Warsong Shredder",
[11685]="Maraudine Priest",
[11686]="Ghostly Raider",
[11687]="Ghostly Marauder",
[11688]="Cursed Centaur",
[11689]="Riding Kodo (Brown)",
[11690]="Gnarlpine Instigator",
[11696]="Chal Fairwind",
[11697]="Mannoroc Lasher",
[11698]="Hive\'Ashi Stinger",
[11699]="Varian Wrynn",
[11700]="Sarin Starlight",
[11701]="Mor\'vek",
[11702]="Arin\'sor",
[11703]="Graw Cornerstone",
[11704]="Kriss Goldenlight",
[11705]="Rayan Dawnrisen",
[11706]="Adon",
[11707]="Joy Ar\'nareth",
[11708]="Coral Moongale",
[11709]="Jareth Wildwoods",
[11710]="Mirador",
[11711]="Sentinel Aynasha",
[11712]="Lilyn Darkriver",
[11713]="Blackwood Tracker",
[11714]="Marosh the Devious",
[11715]="Talendria",
[11716]="Celes Earthborne",
[11717]="Bethan Bluewater",
[11718]="Sar Browneye",
[11720]="Loruk Foreststrider",
[11721]="Hive\'Ashi Worker",
[11722]="Hive\'Ashi Defender",
[11723]="Hive\'Ashi Sandstalker",
[11724]="Hive\'Ashi Swarmer",
[11725]="Hive\'Zora Waywatcher",
[11726]="Hive\'Zora Tunneler",
[11727]="Hive\'Zora Wasp",
[11728]="Hive\'Zora Reaver",
[11729]="Hive\'Zora Hive Sister",
[11730]="Hive\'Regal Ambusher",
[11731]="Hive\'Regal Burrower",
[11732]="Hive\'Regal Spitfire",
[11733]="Hive\'Regal Slavemaker",
[11734]="Hive\'Regal Hive Lord",
[11735]="Stonelash Scorpid",
[11736]="Stonelash Pincer",
[11737]="Stonelash Flayer",
[11738]="Sand Skitterer",
[11739]="Rock Stalker",
[11740]="Dredge Striker",
[11741]="Dredge Crusher",
[11744]="Dust Stormer",
[11745]="Cyclone Warrior",
[11746]="Desert Rumbler",
[11747]="Desert Rager",
[11748]="Samantha Swifthoof",
[11749]="Feran Strongwind",
[11750]="Ganoosh",
[11751]="Rilan Howard",
[11752]="Blaise Montgomery",
[11753]="Gogo",
[11754]="Meggi Peppinrocker",
[11755]="Harlo Wigglesworth",
[11756]="Quinn",
[11757]="Umaron Stragarelm",
[11758]="Andi Lynn",
[11776]="Salome",
[11777]="Shadowshard Rumbler",
[11778]="Shadowshard Smasher",
[11781]="Ambershard Crusher",
[11782]="Ambershard Destroyer",
[11783]="Theradrim Shardling",
[11784]="Theradrim Guardian",
[11785]="Ambereye Basilisk",
[11786]="Ambereye Reaver",
[11787]="Rock Borer",
[11788]="Rock Worm",
[11789]="Deep Borer",
[11790]="Putridus Satyr",
[11791]="Putridus Trickster",
[11792]="Putridus Shadowstalker",
[11793]="Celebrian Dryad",
[11794]="Sister of Celebrian",
[11795]="Mylentha Riverbend",
[11796]="Bessany Plainswind",
[11797]="Moren Riverbend",
[11798]="Bunthen Plainswind",
[11799]="Tajarri",
[11800]="Silva Fil\'naveth",
[11801]="Rabine Saturna",
[11802]="Dendrite Starblaze",
[11803]="Twilight Keeper Exeter",
[11804]="Twilight Keeper Havunth",
[11805]="Jarund Stoutstrider",
[11806]="Sentinel Onaeya",
[11807]="Tristane Shadowstone",
[11808]="Grum Redbeard",
[11810]="Howin Kindfeather",
[11811]="Narain Soothfancy",
[11812]="Claira Kindfeather",
[11813]="Kerr Ironsight",
[11814]="Kali Remik",
[11815]="Voriya",
[11816]="Una Ji\'ro",
[11817]="Krah\'ranik",
[11818]="Orik\'ando",
[11819]="Jory Zaga",
[11820]="Locke Okarr",
[11821]="Darn Talongrip",
[11822]="Moonglade Warden",
[11823]="Vark Battlescar",
[11824]="Erik Felixe",
[11825]="Paige Felixe",
[11826]="Kristy Grant",
[11827]="Kimberly Grant",
[11828]="Kelly Grant",
[11829]="Fahrak",
[11830]="Hakkari Priest",
[11831]="Hakkari Witch Doctor",
[11832]="Keeper Remulos",
[11833]="Rahauro",
[11834]="Maur Grimtotem",
[11835]="Theodore Griffs",
[11836]="Captured Rabid Thistle Bear",
[11837]="Wildpaw Shaman",
[11838]="Wildpaw Mystic",
[11839]="Wildpaw Brute",
[11840]="Wildpaw Alpha",
[11856]="Kaya Flathoof",
[11857]="Makaba Flathoof",
[11858]="Grundig Darkcloud",
[11859]="Doomguard",
[11860]="Maggran Earthbinder",
[11861]="Mor\'rogal",
[11862]="Tsunaman",
[11863]="Azore Aldamort",
[11864]="Tammra Windfield",
[11865]="Buliwyf Stonehand",
[11866]="Ilyenia Moonfire",
[11867]="Woo Ping",
[11868]="Sayoc",
[11869]="Ansekhwa",
[11870]="Archibald",
[11871]="Grinning Dog",
[11872]="Myranda the Hag",
[11873]="Spectral Attendant",
[11874]="Masat T\'andr",
[11875]="Mortar Team Target Dummy",
[11876]="Demon Spirit",
[11877]="Roon Wildmane",
[11878]="Nathanos Blightcaller",
[11880]="Twilight Avenger",
[11881]="Twilight Geolord",
[11882]="Twilight Stonecaller",
[11883]="Twilight Master",
[11884]="Obi",
[11885]="Blighthound",
[11886]="Mercutio Filthgorger",
[11887]="Crypt Robber",
[11896]="Borelgore",
[11897]="Duskwing",
[11898]="Crusader Lord Valdelmar",
[11899]="Shardi",
[11900]="Brakkar",
[11901]="Andruk",
[11910]="Grimtotem Ruffian",
[11911]="Grimtotem Mercenary",
[11912]="Grimtotem Brute",
[11913]="Grimtotem Sorcerer",
[11914]="Gorehoof the Black",
[11915]="Gogger Rock Keeper",
[11916]="Imelda",
[11917]="Gogger Geomancer",
[11918]="Gogger Stonepounder",
[11920]="Goggeroc",
[11921]="Besseleth",
[11936]="Artist Renfray",
[11937]="Demon Portal Guardian",
[11939]="Umber",
[11940]="Merissa Stilwell",
[11941]="Yori Crackhelm",
[11942]="Orenthil Whisperwind",
[11943]="Magga",
[11944]="Vorn Skyseer",
[11945]="Claire Willower",
[11946]="Drek\'Thar",
[11947]="Captain Galvangar",
[11948]="Vanndar Stormpike",
[11949]="Captain Balinda Stonehearth",
[11956]="Great Bear Spirit",
[11957]="Great Cat Spirit",
[11979]="Kim Bridenbecker",
[11981]="Flamegor",
[11982]="Magmadar",
[11983]="Firemaw",
[11988]="Golemagg the Incinerator",
[11994]="Rob Bridenbecker",
[11996]="Ashley Bridenbecker",
[11997]="Stormpike Herald",
[11998]="Frostwolf Herald",
[12017]="Broodlord Lashlayer",
[12018]="Majordomo Executus",
[12019]="Dargon",
[12021]="Daeolyn Summerleaf",
[12022]="Lorelae Wintersong",
[12023]="Kharedon",
[12024]="Meliri",
[12025]="Malvor",
[12026]="My\'lanna",
[12027]="Tukk",
[12028]="Lah\'Mawhani",
[12029]="Narianna",
[12030]="Malux",
[12031]="Mai\'Lahii",
[12032]="Lui\'Mala",
[12033]="Wulan",
[12034]="Koiter",
[12037]="Ursol\'lok",
[12042]="Loganaar",
[12043]="Kulwia",
[12045]="Hae\'Wilani",
[12046]="Gor\'marok the Ravager",
[12047]="Stormpike Mountaineer",
[12048]="Alliance Sentinel",
[12050]="Stormpike Defender",
[12051]="Frostwolf Legionnaire",
[12052]="Frostwolf Warrior",
[12053]="Frostwolf Guardian",
[12056]="Baron Geddon",
[12057]="Garr",
[12076]="Lava Elemental",
[12096]="Stormpike Quartermaster",
[12097]="Frostwolf Quartermaster",
[12098]="Sulfuron Harbinger",
[12099]="Firesworn",
[12100]="Lava Reaver",
[12101]="Lava Surger",
[12116]="Priestess of Elune",
[12118]="Lucifron",
[12119]="Flamewaker Protector",
[12120]="Plagueland Termite",
[12121]="Draka",
[12122]="Duros",
[12123]="Reef Shark",
[12124]="Great Shark",
[12125]="Mammoth Shark",
[12126]="Lord Tirion Fordring",
[12127]="Stormpike Guardsman",
[12128]="Crimson Elite",
[12129]="Onyxian Warder",
[12136]="Snurk Bucksquick",
[12137]="Squibby Overspeck",
[12138]="Lunaclaw",
[12140]="Guardian of Elune",
[12141]="Ice Totem",
[12143]="Son of Flame",
[12144]="Lunaclaw Spirit",
[12145]="Riding Kodo (Black)",
[12146]="Riding Kodo (Olive)",
[12147]="Riding Kodo (White)",
[12148]="Riding Kodo (Teal)",
[12149]="Riding Kodo (Gray)",
[12150]="Riding Kodo (Purple)",
[12151]="Riding Kodo (Green)",
[12152]="Voice of Elune",
[12156]="Winterax Axe Thrower",
[12157]="Winterax Shadow Hunter",
[12158]="Winterax Hunter",
[12159]="Korrak the Bloodrager",
[12160]="Shadowglen Sentinel",
[12178]="Tortured Druid",
[12179]="Tortured Sentinel",
[12196]="Innkeeper Kaylisk",
[12197]="Glordrum Steelbeard",
[12198]="Martin Lindsey",
[12199]="Shade of Ambermoon",
[12201]="Princess Theradras",
[12202]="Human Skull",
[12203]="Landslide",
[12204]="Spitelash Raider",
[12205]="Spitelash Witch",
[12206]="Primordial Behemoth",
[12207]="Thessala Hydra",
[12208]="Conquered Soul of the Blightcaller",
[12216]="Poison Sprite",
[12217]="Corruptor",
[12218]="Vile Larva",
[12219]="Barbed Lasher",
[12220]="Constrictor Vine",
[12221]="Noxious Slime",
[12222]="Creeping Sludge",
[12223]="Cavern Lurker",
[12224]="Cavern Shambler",
[12225]="Celebras the Cursed",
[12236]="Lord Vyletongue",
[12237]="Meshlok the Harvester",
[12238]="Zaetar\'s Spirit",
[12239]="Spirit of Gelk",
[12240]="Spirit of Kolk",
[12241]="Spirit of Magra",
[12242]="Spirit of Maraudos",
[12243]="Spirit of Veng",
[12244]="Mark of Detonation (NW)",
[12245]="Vendor-Tron 1000",
[12246]="Super-Seller 680",
[12247]="Scourge Structure",
[12248]="Infiltrator Hameya",
[12249]="Mark of Detonation (SW)",
[12250]="Zaeldarr the Outcast",
[12251]="Mark of Detonation (CLS)",
[12252]="Mark of Detonation (CRS)",
[12253]="Mark of Detonation (CSH)",
[12254]="Mark of Detonation (NESH)",
[12255]="Mark of Detonation (NE)",
[12256]="Mark of Detonation (SE)",
[12257]="Mechanical Yeti",
[12258]="Razorlash",
[12259]="Gehennas",
[12260]="Onyxian Drake",
[12261]="Infected Mossflayer",
[12262]="Ziggurat Protector",
[12263]="Slaughterhouse Protector",
[12264]="Shazzrah",
[12265]="Lava Spawn",
[12276]="Hive\'Zora Egg",
[12277]="Melizza Brimbuzzle",
[12296]="Sickly Gazelle",
[12297]="Cured Gazelle",
[12298]="Sickly Deer",
[12299]="Cured Deer",
[12319]="Burning Blade Toxicologist",
[12320]="Burning Blade Crusher",
[12321]="Stormscale Toxicologist",
[12322]="Quel\'Lithien Protector",
[12336]="Brother Crowley",
[12337]="Crimson Courier",
[12338]="Shadowprey Guardian",
[12339]="Demetria",
[12340]="Drulzegar Skraghook",
[12341]="Blue Skeletal Horse",
[12342]="Brown Skeletal Horse",
[12343]="Red Skeletal Horse",
[12344]="Swift Green Skeletal Horse",
[12345]="Mottled Red Raptor",
[12346]="Emerald Raptor",
[12347]="Enraged Reef Crawler",
[12348]="Ivory Raptor",
[12349]="Turquoise Raptor",
[12350]="Violet Raptor",
[12351]="Dire Riding Wolf",
[12352]="Scarlet Trooper",
[12353]="Timber Riding Wolf",
[12354]="Brown Riding Kodo",
[12355]="Gray Riding Kodo",
[12356]="Green Riding Kodo",
[12357]="Teal Riding Kodo",
[12358]="Riding Striped Frostsaber",
[12359]="Riding Spotted Frostsaber",
[12360]="Riding Striped Nightsaber",
[12361]="Riding Nightsaber",
[12362]="Riding Frostsaber",
[12363]="Blue Mechanostrider",
[12364]="Icy Blue Mechanostrider Mod A",
[12365]="Red Mechanostrider",
[12366]="Unpainted Mechanostrider",
[12367]="Green Mechanostrider",
[12368]="White Mechanostrider Mod A",
[12369]="Lord Kragaru",
[12370]="Black Ram",
[12371]="Frost Ram",
[12372]="Brown Ram",
[12373]="Gray Ram",
[12374]="White Riding Ram",
[12375]="Chestnut Mare",
[12376]="Brown Horse",
[12377]="Wailing Spectre",
[12378]="Damned Soul",
[12379]="Unliving Caretaker",
[12380]="Unliving Resident",
[12381]="Ley Sprite",
[12382]="Mana Sprite",
[12383]="Nibbles",
[12384]="Augustus the Touched",
[12385]="Mortar Team Advanced Target Dummy",
[12387]="Large Vile Slime",
[12396]="Doomguard Commander",
[12397]="Lord Kazzak",
[12416]="Blackwing Legionnaire",
[12418]="Gordok Hyena",
[12419]="Lifelike Toad",
[12420]="Blackwing Mage",
[12422]="Death Talon Dragonspawn",
[12423]="Guard Roberts",
[12425]="Flint Shadowmore",
[12426]="Masterwork Target Dummy",
[12427]="Mountaineer Dolf",
[12428]="Deathguard Kel",
[12429]="Sentinel Shaya",
[12430]="Grunt Kor\'ja",
[12431]="Gorefang",
[12432]="Old Vicejaw",
[12433]="Krethis Shadowspinner",
[12434]="Monster Generator (Blackwing)",
[12435]="Razorgore the Untamed",
[12457]="Blackwing Spellbinder",
[12458]="Blackwing Taskmaster",
[12459]="Blackwing Warlock",
[12460]="Death Talon Wyrmguard",
[12461]="Death Talon Overseer",
[12463]="Death Talon Flamescale",
[12464]="Death Talon Seether",
[12465]="Death Talon Wyrmkin",
[12467]="Death Talon Captain",
[12468]="Death Talon Hatcher",
[12473]="Arcanite Dragonling",
[12474]="Emeraldon Boughguard",
[12475]="Emeraldon Tree Warder",
[12476]="Emeraldon Oracle",
[12477]="Verdantine Boughguard",
[12478]="Verdantine Oracle",
[12479]="Verdantine Tree Warder",
[12480]="Melris Malagan",
[12481]="Justine Demalier",
[12496]="Dreamtracker",
[12497]="Dreamroarer",
[12498]="Dreamstalker",
[12557]="Grethok the Controller",
[12576]="Grish Longrunner",
[12577]="Jarrodenus",
[12578]="Mishellena",
[12579]="Bloodfury Ripper",
[12580]="Reginald Windsor",
[12581]="Mercutio",
[12596]="Bibilfaz Featherwhistle",
[12616]="Vhulgra",
[12617]="Khaelyn Steelwing",
[12636]="Georgia",
[12656]="Thamarian",
[12657]="Don Pompa",
[12658]="Adam Lind",
[12676]="Sharptalon",
[12677]="Shadumbra",
[12678]="Ursangous",
[12696]="Senani Thunderheart",
[12716]="Decedra Willham",
[12717]="Muglash",
[12718]="Gurda Ragescar",
[12719]="Marukai",
[12720]="Framnali",
[12721]="Mitsuwa",
[12722]="Vera Nightshade",
[12723]="Har\'alen",
[12724]="Pixel",
[12736]="Je\'neu Sancrea",
[12737]="Mastok Wrilehiss",
[12738]="Nori Pridedrift",
[12739]="Onyxia\'s Elite Guard",
[12740]="Faustron",
[12756]="Lady Onyxia",
[12757]="Karang Amakkar",
[12758]="Onyxia Trigger",
[12759]="Tideress",
[12776]="Hraug",
[12777]="Captain Dirgehammer",
[12778]="Lieutenant Rachel Vaccar",
[12779]="Archmage Gaiman",
[12780]="Sergeant Major Skyshadow",
[12781]="Master Sergeant Biggins",
[12782]="Captain O\'Neal",
[12783]="Lieutenant Karter",
[12784]="Lieutenant Jackspring",
[12785]="Sergeant Major Clate",
[12786]="Guard Quine",
[12787]="Guard Hammon",
[12788]="Legionnaire Teena",
[12789]="Blood Guard Hini\'wana",
[12790]="Advisor Willington",
[12791]="Chieftain Earthbind",
[12792]="Lady Palanseer",
[12793]="Brave Stonehide",
[12794]="Stone Guard Zarg",
[12795]="First Sergeant Hola\'mahi",
[12796]="Raider Bork",
[12797]="Grunt Korf",
[12798]="Grunt Bek\'rah",
[12799]="Sergeant Ba\'sha",
[12800]="Chimaerok",
[12801]="Arcane Chimaerok",
[12802]="Chimaerok Devourer",
[12803]="Lord Lakmaeran",
[12805]="Officer Areyn",
[12807]="Greshka",
[12816]="Xen\'Zilla",
[12818]="Ruul Snowhoof",
[12819]="Ruul Snowhoof Bear Form",
[12836]="Wandering Protector",
[12837]="Yama Snowhoof",
[12856]="Ashenvale Outrunner",
[12858]="Torek",
[12859]="Splintertree Raider",
[12860]="Duriel Moonfire",
[12861]="Wisp (Ghost Visual Only)",
[12862]="Warsong Scout",
[12863]="Warsong Runner",
[12864]="Warsong Outrider",
[12865]="Ambassador Malcin",
[12866]="Myriam Moonsinger",
[12867]="Kuray\'bin",
[12876]="Baron Aquanis",
[12877]="Ertog Ragetusk",
[12896]="Silverwing Sentinel",
[12897]="Silverwing Warrior",
[12898]="Phantim Illusion",
[12899]="Axtroz",
[12900]="Somnus",
[12902]="Lorgus Jett",
[12903]="Splintertree Guard",
[12904]="Spirit Of Redemption",
[12918]="Chief Murgut",
[12919]="Nat Pagle",
[12920]="Doctor Gregory Victor",
[12921]="Enraged Foulweald",
[12922]="Imp Minion",
[12923]="Injured Soldier",
[12924]="Badly Injured Soldier",
[12925]="Critically Injured Soldier",
[12936]="Badly Injured Alliance Soldier",
[12937]="Critically Injured Alliance Soldier",
[12938]="Injured Alliance Soldier",
[12939]="Doctor Gustaf VanHowzen",
[12940]="Vorsha the Lasher",
[12941]="Jase Farlane",
[12942]="Leonard Porter",
[12943]="Werg Thickblade",
[12944]="Lokhtos Darkbargainer",
[12956]="Zannok Hidepiercer",
[12957]="Blimo Gadgetspring",
[12958]="Gigget Zipcoil",
[12959]="Nergal",
[12960]="Christi Galvanis",
[12961]="Kil\'Hiwana",
[12962]="Wik\'Tar",
[12976]="Kolkar Waylayer",
[12977]="Kolkar Ambusher",
[12996]="Mounted Ironforge Mountaineer",
[12997]="Monty",
[12998]="Dwarven Farmer",
[12999]="Blackwing Trigger",
[13000]="Gnome Engineer",
[13016]="Deeprun Rat",
[13017]="Enthralled Deeprun Rat",
[13018]="Nipsy",
[13019]="Burning Blade Seer",
[13020]="Vaelastrasz the Corrupt",
[13021]="Warpwood Crusher",
[13022]="Whip Lasher",
[13036]="Gordok Mastiff",
[13076]="Dun Morogh Mountaineer",
[13078]="Umi Thorson",
[13079]="Keetar",
[13080]="Irondeep Guard",
[13081]="Irondeep Raider",
[13082]="Milton Beats",
[13084]="Bixi Wobblebonk",
[13085]="Myrokos Silentform",
[13086]="Aggi Rumblestomp",
[13087]="Coldmine Invader",
[13088]="Masha Swiftcut",
[13089]="Coldmine Guard",
[13096]="Coldmine Explorer",
[13097]="Coldmine Surveyor",
[13098]="Irondeep Surveyor",
[13099]="Irondeep Explorer",
[13116]="Alliance Spirit Guide",
[13117]="Horde Spirit Guide",
[13118]="Crimson Bodyguard",
[13136]="Hive\'Ashi Drone",
[13137]="Lieutenant Rugba",
[13138]="Lieutenant Spencer",
[13139]="Commander Randolph",
[13140]="Commander Dardosh",
[13141]="Deeprot Stomper",
[13142]="Deeprot Tangler",
[13143]="Lieutenant Stronghoof",
[13144]="Lieutenant Vol\'talar",
[13145]="Lieutenant Grummus",
[13146]="Lieutenant Murp",
[13147]="Lieutenant Lewis",
[13148]="Flame of Ragnaros",
[13149]="Syndicate Brigand",
[13150]="Syndicate Agent",
[13151]="Syndicate Master Ryson",
[13152]="Commander Malgor",
[13153]="Commander Mulfort",
[13154]="Commander Louis Philips",
[13155]="Deathstalker Agent",
[13157]="Makasgar",
[13158]="Lieutenant Sanders",
[13159]="James Clark",
[13160]="Carrion Swarmer",
[13161]="Aerie Gryphon",
[13176]="Smith Regzar",
[13177]="Vahgruk",
[13178]="War Rider",
[13179]="Wing Commander Guse",
[13180]="Wing Commander Jeztor",
[13181]="Wing Commander Mulverick",
[13196]="Phase Lasher",
[13197]="Fel Lash",
[13216]="Gaelden Hammersmith",
[13217]="Thanthaldis Snowgleam",
[13218]="Grunnda Wolfheart",
[13219]="Jekyll Flandring",
[13220]="Layo Starstrike",
[13221]="Ryson\'s Eye in the Sky",
[13236]="Primalist Thurloga",
[13256]="Lokholar the Ice Lord",
[13257]="Murgot Deepforge",
[13276]="Wildspawn Imp",
[13277]="Dahne Pierce",
[13278]="Duke Hydraxis",
[13279]="Discordant Surge",
[13280]="Hydrospawn",
[13282]="Noxxion",
[13283]="Lord Tony Romano",
[13284]="Frostwolf Shaman",
[13285]="Death Lash",
[13296]="Lieutenant Largent",
[13297]="Lieutenant Stouthandle",
[13298]="Lieutenant Greywand",
[13299]="Lieutenant Lonadin",
[13300]="Lieutenant Mancuso",
[13301]="Hive\'Ashi Ambusher",
[13316]="Coldmine Peon",
[13317]="Coldmine Miner",
[13318]="Commander Mortimer",
[13319]="Commander Duffy",
[13320]="Commander Karl Philips",
[13321]="Frog",
[13322]="Hydraxian Honor Guard",
[13323]="Subterranean Diemetradon",
[13324]="Seasoned Guardsman",
[13325]="Seasoned Mountaineer",
[13326]="Seasoned Defender",
[13327]="Seasoned Sentinel",
[13328]="Seasoned Guardian",
[13329]="Seasoned Legionnaire",
[13330]="Seasoned Warrior",
[13331]="Veteran Defender",
[13332]="Veteran Guardian",
[13333]="Veteran Guardsman",
[13334]="Veteran Legionnaire",
[13335]="Veteran Mountaineer",
[13336]="Veteran Sentinel",
[13337]="Veteran Warrior",
[13338]="Core Rat",
[13356]="Stormpike Mine Layer",
[13357]="Frostwolf Mine Layer",
[13358]="Stormpike Bowman",
[13359]="Frostwolf Bowman",
[13377]="Master Engineer Zinfizzlex",
[13378]="Frostwolf Shredder Unit",
[13396]="Irondeep Miner",
[13397]="Irondeep Peon",
[13416]="Stormpike Shredder Unit",
[13417]="Sagorne Creststrider",
[13418]="Kaymard Copperpinch",
[13419]="Ivus the Forest Lord",
[13420]="Penney Copperpinch",
[13421]="Champion Guardian",
[13422]="Champion Defender",
[13424]="Champion Guardsman",
[13425]="Champion Legionnaire",
[13426]="Champion Mountaineer",
[13427]="Champion Sentinel",
[13428]="Champion Warrior",
[13429]="Nardstrum Copperpinch",
[13430]="Jaycrue Copperpinch",
[13431]="Whulwert Copperpinch",
[13432]="Seersa Copperpinch",
[13433]="Wulmort Jinglepocket",
[13434]="Macey Jinglepocket",
[13435]="Khole Jinglepocket",
[13436]="Guchie Jinglepocket",
[13437]="Wing Commander Ichman",
[13438]="Wing Commander Slidore",
[13439]="Wing Commander Vipore",
[13440]="Frostwolf Wolf Rider",
[13441]="Frostwolf Wolf Rider Commander",
[13442]="Arch Druid Renferal",
[13443]="Druid of the Grove",
[13444]="Greatfather Winter",
[13445]="Great-father Winter",
[13446]="Field Marshal Teravaine",
[13447]="Corporal Noreg Stormpike",
[13448]="Sergeant Yazra Bloodsnarl",
[13449]="Warmaster Garrick",
[13456]="Noxxion\'s Spawn",
[13476]="Balai Lok\'Wein",
[13477]="Noxxion Trigger",
[13516]="Frostwolf Outrunner",
[13517]="Seasoned Outrunner",
[13518]="Veteran Outrunner",
[13519]="Champion Outrunner",
[13520]="Stormpike Ranger",
[13521]="Seasoned Ranger",
[13522]="Veteran Ranger",
[13523]="Champion Ranger",
[13524]="Stormpike Commando",
[13525]="Seasoned Commando",
[13526]="Veteran Commando",
[13527]="Champion Commando",
[13528]="Frostwolf Reaver",
[13529]="Seasoned Reaver",
[13530]="Veteran Reaver",
[13531]="Champion Reaver",
[13533]="Spewed Larva",
[13534]="Seasoned Coldmine Guard",
[13535]="Veteran Coldmine Guard",
[13536]="Champion Coldmine Guard",
[13537]="Seasoned Coldmine Surveyor",
[13538]="Veteran Coldmine Surveyor",
[13539]="Champion Coldmine Surveyor",
[13540]="Seasoned Irondeep Explorer",
[13541]="Veteran Irondeep Explorer",
[13542]="Champion Irondeep Explorer",
[13543]="Seasoned Irondeep Raider",
[13544]="Veteran Irondeep Raider",
[13545]="Champion Irondeep Raider",
[13546]="Seasoned Coldmine Explorer",
[13547]="Veteran Coldmine Explorer",
[13548]="Champion Coldmine Explorer",
[13549]="Seasoned Coldmine Invader",
[13550]="Veteran Coldmine Invader",
[13551]="Champion Coldmine Invader",
[13552]="Seasoned Irondeep Guard",
[13553]="Veteran Irondeep Guard",
[13554]="Champion Irondeep Guard",
[13555]="Seasoned Irondeep Surveyor",
[13556]="Veteran Irondeep Surveyor",
[13557]="Champion Irondeep Surveyor",
[13576]="Stormpike Ram Rider",
[13577]="Stormpike Ram Rider Commander",
[13596]="Rotgrip",
[13597]="Frostwolf Explosives Expert",
[13598]="Stormpike Explosives Expert",
[13599]="Stolid Snapjaw",
[13601]="Tinkerer Gizlock",
[13602]="The Abominable Greench",
[13616]="Frostwolf Stable Master",
[13617]="Stormpike Stable Master",
[13618]="Stabled Frostwolf",
[13619]="Gizlock\'s Dummy",
[13620]="Gizlock",
[13636]="Strange Snowman",
[13656]="Willow",
[13676]="Stabled Alterac Ram",
[13696]="Noxxious Scion",
[13697]="Cavindra",
[13698]="Keeper Marandis",
[13699]="Selendra",
[13716]="Celebras the Redeemed",
[13717]="Centaur Pariah",
[13718]="The Nameless Prophet",
[13736]="Noxxious Essence",
[13737]="Marandis\' Sister",
[13738]="Veng",
[13739]="Maraudos",
[13740]="Magra",
[13741]="Gelk",
[13742]="Kolk",
[13743]="Corrupt Force of Nature",
[13756]="PvP Graveyard Credit Marker",
[13776]="Corporal Teeka Bloodsnarl",
[13777]="Sergeant Durgen Stormpike",
[13778]="PvP Tower Credit Marker",
[13796]="PvP Mine Credit Marker",
[13797]="Mountaineer Boombellow",
[13798]="Jotek",
[13816]="Prospector Stonehewer",
[13817]="Voggah Deathgrip",
[13836]="Burning Blade Nightmare",
[13837]="Captured Stallion",
[13839]="Royal Dreadguard",
[13840]="Warmaster Laggrond",
[13841]="Lieutenant Haggerdin",
[13842]="Frostwolf Ambassador Rokhstrom",
[13843]="Lieutenant Rotimer",
[13876]="Mekgineer Trigger",
[13896]="Scalebeard",
[13916]="Dire Maul Crystal Totem",
[13917]="Izzy Coppergrab",
[13936]="Ravenholdt",
[13956]="Winterax Mystic",
[13957]="Winterax Warrior",
[13958]="Winterax Seer",
[13959]="Alterac Yeti",
[13976]="Tortured Drake",
[13996]="Blackwing Technician",
[14020]="Chromaggus",
[14021]="Winterax Sentry",
[14022]="Corrupted Red Whelp",
[14023]="Corrupted Green Whelp",
[14024]="Corrupted Blue Whelp",
[14025]="Corrupted Bronze Whelp",
[14026]="Trigger Guse",
[14027]="Trigger Mulverick",
[14028]="Trigger Jeztor",
[14029]="Trigger Ichman",
[14030]="Trigger Slidore",
[14031]="Trigger Vipore",
[14041]="Haggle",
[14061]="Phase Lasher (Fire)",
[14062]="Phase Lasher (Nature)",
[14063]="Phase Lasher (Arcane)",
[14081]="Demon Portal",
[14101]="Enraged Felguard",
[14121]="Deeprun Diver",
[14122]="Massive Geyser",
[14123]="Steeljaw Snapper",
[14182]="Bounty Hunter Kolark",
[14183]="Artilleryman Sheldonore",
[14184]="Phase Lasher (Frost)",
[14185]="Najak Hexxen",
[14186]="Ravak Grimtotem",
[14187]="Athramanis",
[14188]="Dirk Swindle",
[14221]="Gravis Slipknot",
[14222]="Araga",
[14223]="Cranky Benj",
[14224]="7:XT",
[14225]="Prince Kellen",
[14226]="Kaskk",
[14227]="Hissperak",
[14228]="Giggler",
[14229]="Accursed Slitherblade",
[14230]="Burgle Eye",
[14231]="Drogoth the Roamer",
[14232]="Dart",
[14233]="Ripscale",
[14234]="Hayoc",
[14235]="The Rot",
[14236]="Lord Angler",
[14237]="Oozeworm",
[14241]="Ironbark the Redeemed",
[14242]="Sulhasa",
[14261]="Blue Drakonid",
[14262]="Green Drakonid",
[14263]="Bronze Drakonid",
[14264]="Red Drakonid",
[14265]="Black Drakonid",
[14266]="Shanda the Spinner",
[14267]="Emogg the Crusher",
[14268]="Lord Condar",
[14269]="Seeker Aqualon",
[14270]="Squiddic",
[14271]="Ribchaser",
[14272]="Snarlflare",
[14273]="Boulderheart",
[14274]="Winterax Tracker",
[14275]="Tamra Stormpike",
[14276]="Scargil",
[14277]="Lady Zephris",
[14278]="Ro\'Bark",
[14279]="Creepthess",
[14280]="Big Samras",
[14281]="Jimmy the Bleeder",
[14282]="Frostwolf Bloodhound",
[14283]="Stormpike Owl",
[14284]="Stormpike Battleguard",
[14285]="Frostwolf Battleguard",
[14301]="Brinna Valanaar",
[14302]="Chromatic Drakonid",
[14303]="Petrified Guardian",
[14304]="Kor\'kron Elite",
[14305]="Human Orphan",
[14306]="Eskhandar",
[14307]="Black Drakonid Spawner",
[14308]="Ferra",
[14309]="Red Drakonid Spawner",
[14310]="Green Drakonid Spawner",
[14311]="Bronze Drakonid Spawner",
[14312]="Blue Drakonid Spawner",
[14321]="Guard Fengus",
[14322]="Stomper Kreeg",
[14323]="Guard Slip\'kik",
[14324]="Cho\'Rush the Observer",
[14325]="Captain Kromcrush",
[14326]="Guard Mol\'dar",
[14327]="Lethtendris",
[14329]="Black War Wolf",
[14330]="Black War Raptor",
[14331]="Red Skeletal Warhorse",
[14332]="Black War Steed",
[14333]="Black War Kodo",
[14334]="Black Battlestrider",
[14335]="Black War Ram",
[14336]="Black War Saber",
[14337]="Field Repair Bot 74A",
[14338]="Knot Thimblejack",
[14339]="Death Howl",
[14340]="Alshirr Banebreath",
[14342]="Ragepaw",
[14343]="Olm the Wise",
[14344]="Mongress",
[14345]="The Ongar",
[14347]="Highlord Demitrian",
[14348]="Earthcaller Franzahl",
[14349]="Pimgib",
[14350]="Hydroling",
[14351]="Gordok Bushwacker",
[14353]="Mizzle the Crafty",
[14354]="Pusillin",
[14355]="Azj\'Tordin",
[14356]="Sawfin Frenzy",
[14357]="Lake Thresher",
[14358]="Shen\'dralar Ancient",
[14361]="Shen\'dralar Wisp",
[14362]="Thornling",
[14363]="Thief Catcher Shadowdelve",
[14364]="Shen\'dralar Spirit",
[14365]="Thief Catcher Farmountain",
[14366]="Warpwood Spores",
[14367]="Thief Catcher Thunderbrew",
[14368]="Lorekeeper Lydros",
[14369]="Shen\'dralar Zealot",
[14370]="Cadaverous Worm",
[14371]="Shen\'dralar Provisioner",
[14372]="Winterfall Ambusher",
[14373]="Sage Korolusk",
[14374]="Scholar Runethorn",
[14375]="Scout Stronghand",
[14376]="Scout Manslayer",
[14377]="Scout Tharr",
[14378]="Huntress Skymane",
[14379]="Huntress Ravenoak",
[14380]="Huntress Leafrunner",
[14381]="Lorekeeper Javon",
[14382]="Lorekeeper Mykos",
[14383]="Lorekeeper Kildrath",
[14385]="Doomguard Minion",
[14386]="Wandering Eye of Kilrogg",
[14387]="Lothos Riftwaker",
[14388]="Rogue Black Drake",
[14389]="Netherwalker",
[14390]="Expeditionary Mountaineer",
[14392]="Overlord Runthak",
[14393]="Expeditionary Priest",
[14394]="Major Mattingly",
[14395]="Griniblix the Spectator",
[14396]="Eye of Immol\'thar",
[14397]="Mana Burst",
[14398]="Eldreth Darter",
[14399]="Arcane Torrent",
[14400]="Arcane Feedback",
[14401]="Master Elemental Shaper Krixix",
[14402]="Seeker Cromwell",
[14403]="Seeker Nahr",
[14404]="Seeker Thompson",
[14421]="Brown Prairie Dog",
[14422]="BRD Trigger",
[14423]="Officer Jaxon",
[14424]="Mirelow",
[14425]="Gnawbone",
[14426]="Harb Foulmountain",
[14427]="Gibblesnik",
[14428]="Uruson",
[14429]="Grimmaw",
[14430]="Duskstalker",
[14431]="Fury Shelda",
[14432]="Threggil",
[14433]="Sludginn",
[14434]="Alarm-o-Bot",
[14435]="Prince Thunderaan",
[14436]="Mor\'zul Bloodbringer",
[14437]="Gorzeeki Wildeyes",
[14438]="Officer Pomeroy",
[14439]="Officer Brady",
[14440]="Hunter Sagewind",
[14441]="Hunter Ragetotem",
[14442]="Hunter Thunderhorn",
[14443]="Doomguard Tap Trigger",
[14444]="Orcish Orphan",
[14445]="Lord Captain Wyrmak",
[14446]="Fingat",
[14447]="Gilmorian",
[14448]="Molt Thorn",
[14449]="Blackwing Orb Trigger",
[14450]="Orphan Matron Nightingale",
[14451]="Orphan Matron Battlewail",
[14452]="Enslaved Doomguard Commander",
[14453]="Orb of Domination",
[14454]="The Windreaver",
[14455]="Whirling Invader",
[14456]="Blackwing Guardsman",
[14457]="Princess Tempestria",
[14458]="Watery Invader",
[14459]="Nefarian\'s Troops",
[14460]="Blazing Invader",
[14461]="Baron Charr",
[14462]="Thundering Invader",
[14463]="Daio the Decrepit",
[14464]="Avalanchion",
[14465]="Alliance Battle Standard",
[14466]="Horde Battle Standard",
[14467]="Kroshius",
[14469]="Niby the Almighty",
[14470]="Impsy",
[14471]="Setis",
[14472]="Gretheer",
[14473]="Lapress",
[14474]="Zora",
[14475]="Rex Ashil",
[14476]="Krellack",
[14477]="Grubthor",
[14478]="Huricanian",
[14479]="Twilight Lord Everun",
[14480]="Alowicious Czervik",
[14481]="Emmithue Smails",
[14482]="Xorothian Imp",
[14483]="Dread Guard",
[14484]="Injured Peasant",
[14485]="Plagued Peasant",
[14486]="Scourge Footsoldier",
[14487]="Gluggle",
[14488]="Roloch",
[14489]="Scourge Archer",
[14490]="Rippa",
[14491]="Kurmokk",
[14492]="Verifonix",
[14493]="Priest Epic Event Caller",
[14494]="Eris Havenfire",
[14495]="Invisible Trigger One",
[14496]="Stormwind Orphan",
[14497]="Shellene",
[14498]="Tosamina",
[14499]="Horde Orphan",
[14500]="J\'eevee",
[14501]="Warlock Mount Ritual Mob Type 3, Infernal (DND)",
[14502]="Xorothian Dreadsteed",
[14503]="The Cleaner",
[14504]="Dreadsteed Spirit",
[14505]="Riding Horse (Dreadsteed)",
[14506]="Lord Hel\'nurath",
[14507]="High Priest Venoxis",
[14508]="Short John Mithril",
[14509]="High Priest Thekal",
[14510]="High Priestess Mar\'li",
[14511]="Shadowed Spirit",
[14512]="Corrupted Spirit",
[14513]="Malicious Spirit",
[14514]="Banal Spirit",
[14515]="High Priestess Arlokk",
[14516]="Death Knight Darkreaver",
[14517]="High Priestess Jeklik",
[14518]="Aspect of Banality",
[14519]="Aspect of Corruption",
[14520]="Aspect of Malice",
[14521]="Aspect of Shadow",
[14522]="Ur\'dan",
[14523]="Ulathek",
[14524]="Vartrus the Ancient",
[14525]="Stoma the Ancient",
[14526]="Hastat the Ancient",
[14527]="Simone the Inconspicuous",
[14528]="Precious",
[14529]="Franklin the Friendly",
[14530]="Solenor the Slayer",
[14531]="Artorius the Amiable",
[14532]="Razzashi Venombrood",
[14533]="Simone the Seductress",
[14534]="Klinfran the Crazed",
[14535]="Artorius the Doombringer",
[14536]="Nelson the Nice",
[14538]="Precious the Devourer",
[14539]="Swift Timber Wolf",
[14540]="Swift Brown Wolf",
[14541]="Swift Gray Wolf",
[14542]="Great White Kodo",
[14543]="Swift Olive Raptor",
[14544]="Swift Orange Raptor",
[14545]="Swift Blue Raptor",
[14546]="Swift Brown Ram",
[14547]="Swift White Ram",
[14548]="Swift Gray Ram",
[14549]="Great Brown Kodo",
[14550]="Great Gray Kodo",
[14551]="Swift Yellow Mechanostrider",
[14552]="Swift White Mechanostrider",
[14553]="Swift Green Mechanostrider",
[14554]="Swift Stripped Mechanostrider",
[14555]="Swift Mistsaber",
[14556]="Swift Frostsaber",
[14557]="Swift Dawnsaber",
[14558]="Purple Skeletal Warhorse",
[14559]="Swift Palamino",
[14560]="Swift White Steed",
[14561]="Swift Brown Steed",
[14562]="Swift Blue Mechanostrider",
[14563]="Swift Red Mechanostrider",
[14564]="Terrordale Spirit",
[14565]="Riding Horse (Charger)",
[14566]="Ancient Equine Spirit",
[14567]="Derotain Mudsipper",
[14568]="Darkreaver\'s Fallen Charger",
[14581]="Sergeant Thunderhorn",
[14601]="Ebonroc",
[14602]="Swift Stormsaber",
[14603]="Zapped Shore Strider",
[14604]="Zapped Land Walker",
[14605]="Bone Construct",
[14606]="Drakonid Corpse Trigger",
[14621]="Overseer Maltorius",
[14622]="Thorium Brotherhood Lookout",
[14623]="Warsong Gulch Battlemaster",
[14624]="Master Smith Burninate",
[14625]="Overseer Oilfist",
[14626]="Taskmaster Scrange",
[14627]="Hansel Heavyhands",
[14628]="Evonice Sootsmoker",
[14629]="Loggerhead Snapjaw",
[14630]="Leatherback Snapjaw",
[14631]="Olive Snapjaw",
[14632]="Hawksbill Snapjaw",
[14633]="Albino Snapjaw",
[14634]="Lookout Captain Lolo Longstriker",
[14635]="Sleepy Dark Iron Worker",
[14636]="Chambermaid Pillaclencher",
[14637]="Zorbin Fandazzle",
[14638]="Zapped Wave Strider",
[14639]="Zapped Deep Strider",
[14640]="Zapped Cliff Giant",
[14645]="Warsong Gulch Herald",
[14646]="Stratholme Trigger",
[14661]="Stinglasher",
[14662]="Corrupted Fire Nova Totem V",
[14663]="Corrupted Stoneskin Totem VI",
[14664]="Corrupted Healing Stream Totem V",
[14666]="Corrupted Windfury Totem III",
[14667]="Corrupted Totem",
[14668]="Corrupted Infernal",
[14681]="Transporter Malfunction",
[14682]="Sever",
[14684]="Balzaphon",
[14686]="Lady Falther\'ess",
[14690]="Revanchion",
[14693]="Scorn",
[14695]="Lord Blackwood",
[14697]="Lumbering Horror",
[14715]="Silverwing Elite",
[14717]="Horde Elite",
[14718]="Horde Laborer",
[14720]="High Overlord Saurfang",
[14721]="Field Marshal Afrasiabi",
[14722]="Clavicus Knavingham",
[14723]="Mistina Steelshield",
[14724]="Bubulo Acerbus",
[14725]="Raedon Duskstriker",
[14726]="Rashona Straglash",
[14727]="Vehena",
[14728]="Rumstag Proudstrider",
[14729]="Ralston Farnsley",
[14730]="Revantusk Watcher",
[14731]="Lard",
[14732]="PvP CTF Credit Marker",
[14733]="Sentinel Farsong",
[14734]="Revantusk Drummer",
[14736]="Primal Torntusk",
[14737]="Smith Slagtree",
[14738]="Otho Moji\'ko",
[14739]="Mystic Yayo\'jin",
[14740]="Katoom the Angler",
[14741]="Huntsman Markhor",
[14742]="Zap Farflinger",
[14743]="Jhordy Lapforge",
[14744]="Frostwolf Riding Wolf",
[14745]="Stormpike Riding Ram",
[14748]="Vilebranch Kidnapper",
[14750]="Gurubashi Bat Rider",
[14751]="Frostwolf Battle Standard",
[14752]="Stormpike Battle Standard",
[14753]="Illiyana Moonblaze",
[14754]="Kelm Hargunth",
[14755]="Tiny Green Dragon",
[14756]="Tiny Red Dragon",
[14757]="Elder Torntusk",
[14758]="Zul\'Gurub Trigger",
[14761]="Creeping Doom",
[14762]="Dun Baldar North Marshal",
[14763]="Dun Baldar South Marshal",
[14764]="Icewing Marshal",
[14765]="Stonehearth Marshal",
[14766]="Iceblood Marshal",
[14767]="Tower Point Marshal",
[14768]="East Frostwolf Marshal",
[14769]="West Frostwolf Marshal",
[14770]="Dun Baldar North Warmaster",
[14771]="Dun Baldar South Warmaster",
[14772]="East Frostwolf Warmaster",
[14773]="Iceblood Warmaster",
[14774]="Icewing Warmaster",
[14775]="Stonehearth Warmaster",
[14776]="Tower Point Warmaster",
[14777]="West Frostwolf Warmaster",
[14781]="Captain Shatterskull",
[14821]="Razzashi Raptor",
[14822]="Sayge",
[14823]="Silas Darkmoon",
[14825]="Withered Mistress",
[14826]="Sacrificed Troll",
[14827]="Burth",
[14828]="Gelvas Grimegate",
[14829]="Yebb Neblegear",
[14832]="Kerri Hicks",
[14833]="Chronos",
[14834]="Hakkar",
[14841]="Rinling",
[14842]="Melnan Darkstone",
[14843]="Kruban Darkblade",
[14844]="Sylannia",
[14845]="Stamp Thunderhorn",
[14846]="Lhara",
[14847]="Professor Thaddeus Paleo",
[14848]="Herald",
[14849]="Darkmoon Faire Carnie",
[14850]="Gruk",
[14857]="Erk",
[14859]="Guard Taruc",
[14860]="Flik",
[14861]="Blood Steward of Kirtonos",
[14862]="Emissary Roman\'khan",
[14864]="Khaz Modan Ram",
[14865]="Felinni",
[14866]="Flik\'s Frog",
[14867]="Jubjub",
[14868]="Hornsley",
[14869]="Pygmy Cockatrice",
[14871]="Morja",
[14872]="Trok",
[14873]="Okla",
[14874]="Karu",
[14875]="Molthor",
[14876]="Zandalar Headshrinker",
[14877]="High Priest Venoxis Transform Visual",
[14878]="Jubling",
[14879]="Arathi Basin Battlemaster",
[14880]="Razzashi Skitterer",
[14881]="Spider",
[14882]="Atal\'ai Mistress",
[14883]="Voodoo Slave",
[14884]="Parasitic Serpent",
[14887]="Ysondre",
[14888]="Lethon",
[14889]="Emeriss",
[14890]="Taerar",
[14892]="Fang",
[14893]="Guard Kurall",
[14894]="Swarm of bees",
[14901]="Peon",
[14902]="Jin\'rokh the Breaker",
[14903]="Al\'tabim the All-Seeing",
[14904]="Maywiki of Zuldazar",
[14905]="Falthir the Sightless",
[14908]="Mogg",
[14909]="Pooka",
[14910]="Exzhal",
[14911]="Zandalar Enforcer",
[14912]="Captured Hakkari Zealot",
[14921]="Rin\'wosho the Trader",
[14941]="High Priestess Jeklik Transform Visual",
[14942]="Kartra Bloodsnarl",
[14943]="Guse\'s War Rider",
[14944]="Jeztor\'s War Rider",
[14945]="Mulverick\'s War Rider",
[14946]="Slidore\'s Gryphon",
[14947]="Ichman\'s Gryphon",
[14948]="Vipore\'s Gryphon",
[14961]="Mirvyna Jinglepocket",
[14962]="Dillord Copperpinch",
[14963]="Gapp Jinglepocket",
[14964]="Hecht Copperpinch",
[14965]="Frenzied Bloodseeker Bat",
[14966]="High Priest Thekal Transform Visual",
[14967]="High Priestess Mar\'li Transform Visual",
[14968]="High Priestess Arlokk Transform Visual",
[14981]="Elfarran",
[14982]="Lylandris",
[14983]="Field Marshal Oslight",
[14984]="Sergeant Maclear",
[14986]="Shade of Jin\'do",
[14987]="Powerful Healing Ward",
[14988]="Ohgan",
[14989]="Poisonous Cloud",
[14990]="Defilers Emissary",
[14991]="League of Arathor Emissary",
[14994]="Zandalarian Event Generator",
[15001]="PvP A-Mid Credit Marker",
[15002]="PvP Mid Credit Marker",
[15003]="PvP H-Mid Credit Marker",
[15004]="PvP ALT-S Credit Marker",
[15005]="PvP ALT-N Credit Marker",
[15006]="Deze Snowbane",
[15007]="Sir Malory Wheeler",
[15008]="Lady Hoteshem",
[15009]="Voodoo Spirit",
[15010]="Jungle Toad",
[15011]="Wagner Hammerstrike",
[15012]="Javnir Nashak",
[15021]="Deathmaster Dwire",
[15022]="Deathstalker Mortis",
[15041]="Spawn of Mar\'li",
[15042]="Zanza the Restless",
[15043]="Zulian Crocolisk",
[15045]="Arathi Farmer",
[15046]="Forsaken Farmer",
[15047]="Gurubashi",
[15061]="Spirit of Jin\'do",
[15062]="Arathi Lumberjack",
[15063]="Arathi Blacksmith",
[15064]="Forsaken Blacksmith",
[15065]="Lady",
[15066]="Cleo",
[15067]="Zulian Stalker",
[15068]="Zulian Guardian",
[15069]="Heart of Hakkar",
[15070]="Vinchaxa",
[15071]="Underfoot",
[15072]="Spike",
[15073]="Pat\'s Hellfire Guy",
[15074]="Arathi Miner",
[15075]="Forsaken Miner",
[15076]="Zandalarian Emissary",
[15077]="Riggle Bassbait",
[15078]="Jang",
[15079]="Fishbot 5000",
[15080]="Servant of the Hand",
[15082]="Gri\'lek",
[15083]="Hazza\'rah",
[15084]="Renataki",
[15085]="Wushoolay",
[15086]="Arathi Stablehand",
[15087]="Forsaken Stablehand",
[15088]="Booty Bay Elite",
[15089]="Forsaken Lumberjack",
[15090]="Swift Razzashi Raptor",
[15091]="Zul\'Gurub Panther Trigger",
[15101]="Zulian Prowler",
[15102]="Silverwing Emissary",
[15103]="Stormpike Emissary",
[15104]="Swift Zulian Tiger",
[15105]="Warsong Emissary",
[15106]="Frostwolf Emissary",
[15107]="Arathi Horse",
[15108]="Forsaken Horse",
[15109]="Primal Blessing Visual",
[15110]="Gurubashi Prisoner",
[15111]="Mad Servant",
[15112]="Brain Wash Totem",
[15113]="Honored Hero",
[15114]="Gahz\'ranka",
[15115]="Honored Ancestor",
[15116]="Grinkle",
[15117]="Chained Spirit",
[15119]="Barrus",
[15122]="Gahz\'ranka Dead",
[15124]="Targot Jinglepocket",
[15125]="Kosco Copperpinch",
[15126]="Rutherford Twing",
[15127]="Samuel Hawke",
[15128]="Defiler Elite",
[15130]="League of Arathor Elite",
[15131]="Qeeju",
[15135]="Chromatic Drake Mount",
[15136]="Hammerfall Elite",
[15137]="Menethil Elite",
[15138]="Silverpine Elite",
[15139]="Gahz\'ranka Herald",
[15140]="Pat\'s Splash Guy",
[15141]="Portal of Madness",
[15146]="Mad Voidwalker",
[15162]="Scarlet Inquisitor",
[15163]="Nightmare Illusion",
[15164]="Mulgore Trigger",
[15165]="Haughty Modiste",
[15168]="Vile Scarab",
[15169]="Ralo\'shan the Eternal Watcher",
[15170]="Rutgar Glyphshaper",
[15171]="Frankal Stonebridge",
[15172]="Glibb",
[15174]="Calandrath",
[15175]="Khur Hornstriker",
[15176]="Vargus",
[15177]="Cloud Skydancer",
[15178]="Runk Windtamer",
[15179]="Mishta",
[15180]="Baristolth of the Shifting Sands",
[15181]="Commander Mar\'alith",
[15182]="Vish Kozus",
[15183]="Geologist Larksbane",
[15184]="Cenarion Hold Infantry",
[15185]="Brood of Nozdormu",
[15186]="Murky",
[15187]="Cenarion Emissary Jademoon",
[15188]="Cenarion Emissary Blackhoof",
[15189]="Beetix Ficklespragg",
[15190]="Noggle Ficklespragg",
[15191]="Windcaller Proudhorn",
[15192]="Anachronos",
[15193]="The Banshee Queen",
[15194]="Hermit Ortell",
[15195]="Wickerman Guardian",
[15196]="Deathclasp",
[15197]="Darkcaller Yanka",
[15199]="Sergeant Hartman",
[15200]="Twilight Keeper Mayna",
[15201]="Twilight Flamereaver",
[15202]="Vyral the Vile",
[15203]="Prince Skaldrenox",
[15204]="High Marshal Whirlaxis",
[15205]="Baron Kazum",
[15206]="The Duke of Cynders",
[15207]="The Duke of Fathoms",
[15208]="The Duke of Shards",
[15209]="Crimson Templar",
[15211]="Azure Templar",
[15212]="Hoary Templar",
[15213]="Twilight Overlord",
[15214]="Invisible Stalker",
[15215]="Mistress Natalia Mar\'alith",
[15216]="Male Ghost",
[15217]="Female Ghost",
[15218]="Faire Cannon Trigger",
[15220]="The Duke of Zephyrs",
[15221]="Frankal Invisible Trigger",
[15222]="Rutgar Invisible Trigger",
[15224]="Dream Fog",
[15229]="Vekniss Soldier",
[15230]="Vekniss Warrior",
[15233]="Vekniss Guardian",
[15235]="Vekniss Stinger",
[15236]="Vekniss Wasp",
[15240]="Vekniss Hive Crawler",
[15246]="Qiraji Mindslayer",
[15247]="Qiraji Brainwasher",
[15249]="Qiraji Lasher",
[15250]="Qiraji Slayer",
[15252]="Qiraji Champion",
[15260]="Demented Druid Spirit",
[15261]="Spirit Shade",
[15262]="Obsidian Eradicator",
[15263]="The Prophet Skeram",
[15264]="Anubisath Sentinel",
[15270]="Huum Wildmane",
[15275]="Emperor Vek\'nilash",
[15276]="Emperor Vek\'lor",
[15277]="Anubisath Defender",
[15282]="Aurel Goldleaf",
[15286]="Xil\'xix",
[15288]="Aluntir",
[15290]="Arakis",
[15293]="Aendel Windspear",
[15299]="Viscidus",
[15300]="Vekniss Drone",
[15302]="Shade of Taerar",
[15303]="Maxima Blastenheimer",
[15304]="Ancient Mana Spring Totem",
[15305]="Lord Skwol",
[15306]="Bor Wildmane",
[15307]="Earthen Templar",
[15308]="Twilight Prophet",
[15309]="Spoops",
[15310]="Jesper",
[15311]="Anubisath Warder",
[15312]="Obsidian Nullifier",
[15313]="Moonkin (Druid - Night Elf)",
[15314]="Moonkin (Druid - Tauren)",
[15315]="Mylini Frostmoon",
[15316]="Qiraji Scarab",
[15317]="Qiraji Scorpion",
[15318]="Hive\'Zara Drone",
[15319]="Hive\'Zara Collector",
[15320]="Hive\'Zara Soldier",
[15323]="Hive\'Zara Sandstalker",
[15324]="Qiraji Gladiator",
[15325]="Hive\'Zara Wasp",
[15327]="Hive\'Zara Stinger",
[15328]="Steam Tonk",
[15333]="Silicate Feeder",
[15334]="Giant Eye Tentacle",
[15335]="Flesh Hunter",
[15336]="Hive\'Zara Tail Lasher",
[15338]="Obsidian Destroyer",
[15339]="Ossirian the Unscarred",
[15340]="Moam",
[15341]="General Rajaxx",
[15343]="Qiraji Swarmguard",
[15344]="Swarmguard Needler",
[15348]="Kurinnaxx",
[15349]="RC Blimp <PH>",
[15350]="Horde Warbringer",
[15351]="Alliance Brigadier General",
[15353]="Katrina Shimmerstar",
[15354]="Rachelle Gothena",
[15355]="Anubisath Guardian",
[15361]="Murki",
[15362]="Malfurion Stormrage",
[15363]="Spirit Totem",
[15364]="RC Mortar Tank <PH>",
[15368]="Tonk Mine",
[15369]="Ayamiss the Hunter",
[15370]="Buru the Gorger",
[15373]="Halloween Pirate Captain",
[15374]="Halloween Undead Pirate",
[15375]="Halloween Pirate Female",
[15376]="Halloween Male Ghost",
[15377]="Halloween Female Ghost",
[15378]="Merithra of the Dream",
[15379]="Caelestrasz",
[15380]="Arygos",
[15381]="Anachronos the Ancient",
[15382]="Fandral Staghelm",
[15383]="Sergeant Stonebrow",
[15384]="World Trigger",
[15385]="Colonel Zerran",
[15386]="Major Yeggeth",
[15387]="Qiraji Warrior",
[15388]="Major Pakkon",
[15389]="Captain Drenn",
[15390]="Captain Xurrem",
[15391]="Captain Qeez",
[15392]="Captain Tuubid",
[15394]="Hero of the Horde",
[15395]="Nafien",
[15410]="Anachronos Dragon Form",
[15411]="Arygos Dragon Form",
[15412]="Caelestrasz Dragon Form",
[15413]="Merithra Dragon Form",
[15414]="Qiraji Wasp",
[15415]="Southshore Stink Bomb Counter",
[15419]="Kania",
[15421]="Qiraji Drone",
[15422]="Qiraji Tank",
[15423]="Kaldorei Infantry",
[15424]="Anubisath Conqueror",
[15425]="Debug Point",
[15426]="Ahn\'Qiraj Trigger",
[15427]="Merithra\'s Wake",
[15428]="Sand Vortex",
[15429]="Disgusting Oozeling",
[15431]="Corporal Carnes",
[15432]="Dame Twinbraid",
[15434]="Private Draxlegauge",
[15436]="Mortar Sergeant Stouthammer",
[15437]="Master Nightsong",
[15440]="Captain Blackanvil",
[15441]="Ironforge Brigade Rifleman",
[15442]="Ironforge Brigade Footman",
[15443]="Janela Stouthammer",
[15444]="Arcanist Nozzlespring",
[15445]="Sergeant Major Germaine",
[15446]="Bonnie Stoneflayer",
[15448]="Private Porter",
[15449]="Hive\'Zora Abomination",
[15450]="Marta Finespindle",
[15451]="Sentinel Silversky",
[15452]="Nurse Stonefield",
[15453]="Keeper Moonshade",
[15454]="Anachronos Quest Trigger Invisible",
[15455]="Slicky Gastronome",
[15456]="Sarah Sadwhistle",
[15457]="Huntress Swiftriver",
[15458]="Commander Stronghammer",
[15459]="Miner Cromwell",
[15460]="Grunt Maug",
[15461]="Shrieker Scarab",
[15462]="Spitting Scarab",
[15463]="Grace of Air Totem III",
[15464]="Strength of Earth Totem V",
[15466]="Minion of Omen",
[15467]="Omen",
[15469]="Senior Sergeant T\'kelah",
[15471]="Lieutenant General Andorov",
[15473]="Kaldorei Elite",
[15475]="Beetle",
[15476]="Scorpion",
[15477]="Herbalist Proudfeather",
[15481]="Spirit of Azuregos",
[15491]="Eranikus, Tyrant of the Dream",
[15495]="Nighthaven Defender",
[15498]="Windcaller Yessendra",
[15499]="Warden Haro",
[15500]="Keyl Swiftclaw",
[15502]="Andorgos",
[15503]="Kandrostrasz",
[15504]="Vethsera",
[15505]="Canal Frenzy",
[15507]="Buru the Gorger Transform Visual",
[15508]="Batrider Pele\'keiki",
[15509]="Princess Huhuran",
[15510]="Fankriss the Unyielding",
[15511]="Lord Kri",
[15512]="Apothecary Jezel",
[15514]="Buru Egg",
[15515]="Skinner Jamani",
[15516]="Battleguard Sartura",
[15517]="Ouro",
[15520]="O\'Reily",
[15521]="Hive\'Zara Hatchling",
[15522]="Sergeant Umala",
[15524]="Temporary Reindeer",
[15525]="Doctor Serratus",
[15526]="Meridith the Mermaiden",
[15527]="Mana Fiend",
[15528]="Healer Longrunner",
[15529]="Lady Callow",
[15532]="Stoneguard Clayhoof",
[15533]="Bloodguard Rawtar",
[15534]="Fisherman Lin\'do",
[15535]="Chief Sharpclaw",
[15537]="Anubisath Warrior",
[15538]="Anubisath Swarmguard",
[15539]="General Zog",
[15540]="Windcaller Kaldon",
[15541]="Twilight Marauder Morna",
[15542]="Twilight Marauder",
[15543]="Princess Yauj",
[15544]="Vem",
[15545]="Cenarion Outrider",
[15546]="Hive\'Zara Swarmer",
[15549]="Elder Morndeep",
[15552]="Doctor Weavil",
[15553]="Doctor Weavil\'s Flying Machine",
[15554]="Number Two",
[15555]="Hive\'Zara Larva",
[15556]="Elder Splitrock",
[15557]="Elder Rumblerock",
[15558]="Elder Silvervein",
[15559]="Elder Highpeak",
[15560]="Elder Stonefort",
[15561]="Elder Obsidian",
[15562]="Elder Hammershout",
[15563]="Elder Bellowrage",
[15564]="Elder Darkcore",
[15565]="Elder Stormbrow",
[15566]="Elder Snowcrown",
[15567]="Elder Ironband",
[15568]="Elder Graveborn",
[15569]="Elder Goldwell",
[15570]="Elder Primestone",
[15571]="Maws",
[15572]="Elder Runetotem",
[15573]="Elder Ragetotem",
[15574]="Elder Stonespire",
[15575]="Elder Bloodhoof",
[15576]="Elder Winterhoof",
[15577]="Elder Skychaser",
[15578]="Elder Wildmane",
[15579]="Elder Darkhorn",
[15580]="Elder Proudhorn",
[15581]="Elder Grimtotem",
[15582]="Elder Windtotem",
[15583]="Elder Thunderhorn",
[15584]="Elder Skyseer",
[15585]="Elder Dawnstrider",
[15586]="Elder Dreamseer",
[15587]="Elder Mistwalker",
[15588]="Elder High Mountain",
[15589]="Eye of C\'Thun",
[15590]="Ossirian Crystal Trigger",
[15591]="Minion of Weavil",
[15592]="Elder Windrun",
[15593]="Elder Starsong",
[15594]="Elder Moonstrike",
[15595]="Elder Bladeleaf",
[15596]="Elder Starglade",
[15597]="Elder Moonwarden",
[15598]="Elder Bladeswift",
[15599]="Elder Bladesing",
[15600]="Elder Skygleam",
[15601]="Elder Starweave",
[15602]="Elder Meadowrun",
[15603]="Elder Nightwind",
[15604]="Elder Morningdew",
[15605]="Elder Riversong",
[15606]="Elder Brightspear",
[15607]="Elder Farwhisper",
[15609]="Cenarion Scout Landion",
[15610]="Cenarion Scout Azenel",
[15611]="Cenarion Scout Jalia",
[15612]="Krug Skullsplit",
[15613]="Merok Longstride",
[15614]="J.D. Shadesong",
[15615]="Shadow Priestess Shai",
[15616]="Orgrimmar Legion Grunt",
[15617]="Orgrimmar Legion Axe Thrower",
[15620]="Hive\'Regal Hunter-Killer",
[15621]="Yauj Brood",
[15622]="Vekniss Borer",
[15623]="Xandivious",
[15624]="Forest Wisp",
[15625]="Twilight Corrupter",
[15628]="Eranikus the Redeemed",
[15629]="Nightmare Phantasm",
[15630]="Spawn of Fankriss",
[15631]="Spotlight",
[15633]="Tyrande",
[15634]="Priestess of the Moon",
[15659]="Auctioneer Jaxon",
[15660]="Eranikus Transformed",
[15661]="Baby Shark",
[15663]="War Effort Volunteer",
[15664]="Metzen the Reindeer",
[15665]="Mounted Reindeer",
[15666]="Black Qiraji Battle Tank",
[15667]="Glob of Viscidus",
[15675]="Auctioneer Stockton",
[15676]="Auctioneer Yarly",
[15677]="Auctioneer Graves",
[15678]="Auctioneer Silva\'las",
[15679]="Auctioneer Cazarez",
[15681]="Auctioneer O\'reely",
[15682]="Auctioneer Cain",
[15683]="Auctioneer Naxxremis",
[15684]="Auctioneer Tricket",
[15685]="Southsea Kidnapper",
[15686]="Auctioneer Rhyker",
[15692]="Dark Iron Kidnapper",
[15693]="Jonathan the Revelator",
[15694]="Stormwind Reveler",
[15695]="Vek Twins Trigger",
[15696]="War Effort Recruit",
[15698]="Father Winter\'s Helper",
[15699]="Tranquil Mechanical Yeti",
[15700]="Warlord Gorchuk",
[15701]="Field Marshal Snowfall",
[15702]="Senior Sergeant Taiga",
[15703]="Senior Sergeant Grimsford",
[15704]="Senior Sergeant Kai\'jin",
[15705]="Winter\'s Little Helper",
[15706]="Winter Reindeer",
[15707]="Master Sergeant Fizzlebolt",
[15708]="Master Sergeant Maclure",
[15709]="Master Sergeant Moonshadow",
[15710]="Tiny Snowman",
[15712]="Dirt Mound",
[15713]="Blue Qiraji Battle Tank",
[15714]="Yellow Qiraji Battle Tank",
[15715]="Green Qiraji Battle Tank",
[15716]="Red Qiraji Battle Tank",
[15717]="Ouro Trigger",
[15718]="Ouro Scarab",
[15719]="Thunder Bluff Reveler",
[15720]="Timbermaw Ancestor",
[15721]="Mechanical Greench",
[15722]="Squire Leoren Mal\'derath",
[15723]="Booty Bay Reveler",
[15724]="Drunken Bruiser",
[15725]="Claw Tentacle",
[15726]="Eye Tentacle",
[15727]="C\'Thun",
[15728]="Giant Claw Tentacle",
[15729]="Father Winter\'s Helper (BIG) gm",
[15730]="Pat\'s Snowcloud Guy",
[15731]="Darnassus Commendation Officer",
[15732]="Wonderform Operator",
[15733]="Gnomeregan Commendation Officer",
[15734]="Ironforge Commendation Officer",
[15735]="Stormwind Commendation Officer",
[15736]="Orgrimmar Commendation Officer",
[15737]="Darkspear Commendation Officer",
[15738]="Undercity Commendation Officer",
[15739]="Thunder Bluff Commendation Officer",
[15740]="Colossus of Zora",
[15741]="Colossus of Regal",
[15742]="Colossus of Ashi",
[15743]="Colossal Anubisath Warbringer",
[15744]="Imperial Qiraji Destroyer",
[15745]="Greatfather Winter\'s Helper",
[15746]="Great-father Winter\'s Helper",
[15747]="Qiraji Captain",
[15748]="Lesser Anubisath Warbringer",
[15749]="Lesser Silithid Flayer",
[15750]="Qiraji Major",
[15751]="Anubisath Warbringer",
[15752]="Silithid Flayer",
[15753]="Qiraji Brigadier General",
[15754]="Greater Anubisath Warbringer",
[15756]="Greater Silithid Flayer",
[15757]="Qiraji Lieutenant General",
[15758]="Supreme Anubisath Warbringer",
[15759]="Supreme Silithid Flayer",
[15760]="Winter Reveler",
[15761]="Officer Vu\'Shalay",
[15762]="Officer Lunalight",
[15763]="Officer Porterhouse",
[15764]="Officer Ironbeard",
[15765]="Officer Redblade",
[15766]="Officer Maloof",
[15767]="Officer Thunderstrider",
[15768]="Officer Gothena",
[15769]="Resonating Crystal",
[15770]="Greater Resonating Crystal",
[15771]="Major Resonating Crystal",
[15772]="Christmas Darkmaster Gandling",
[15773]="Christmas Cannon Master Willey",
[15774]="Christmas Prince Tortheldrin",
[15775]="Christmas Emperor Dagran Thaurissan",
[15776]="Christmas Warchief Rend Blackhand",
[15777]="Christmas War Master Voone",
[15778]="Mouth Tentacle Mount Visual",
[15780]="Human Male Winter Reveler",
[15781]="Human Female Winter Reveler",
[15782]="Dwarf Male Winter Reveler",
[15783]="Dwarf Female Winter Reveler",
[15784]="Night Elf Female Winter Reveler",
[15785]="Troll Female Winter Reveler",
[15786]="Orc Female Winter Reveler",
[15787]="Goblin Female Winter Reveler",
[15788]="Undead Female Winter Reveler",
[15789]="Tauren Female Winter Reveler",
[15790]="Undead Male Winter Reveler",
[15791]="Orc Male Winter Reveler",
[15792]="Troll Male Winter Reveler",
[15793]="Tauren Male Winter Reveler",
[15794]="Night Elf Male Winter Reveler",
[15795]="Goblin Male Winter Reveler",
[15796]="Christmas Goraluk Anvilcrack",
[15797]="Colossus Researcher Sophia",
[15798]="Colossus Researcher Nestor",
[15799]="Colossus Researcher Eazel",
[15800]="Exit Trigger",
[15801]="GONG BOY DND DNR",
[15802]="Flesh Tentacle",
[15803]="Tranquil Air Totem",
[15804]="Lesser Resonating Crystal",
[15805]="Minor Resonating Crystal",
[15806]="Qiraji Lieutenant",
[15807]="Minor Anubisath Warbringer",
[15808]="Minor Silithid Flayer",
[15809]="C\'Thun Transformation Visual",
[15810]="Eroded Anubisath Warbringer",
[15811]="Faltering Silithid Flayer",
[15812]="Qiraji Officer",
[15813]="Qiraji Officer Zod",
[15814]="Qiraji Lieutenant Jo-rel",
[15815]="Qiraji Captain Ka\'ark",
[15816]="Qiraji Major He\'al-ie",
[15817]="Qiraji Brigadier General Pax-lish",
[15818]="Lieutenant General Nokhor",
[15832]="Father Winter\'s Helper (BIG) rm",
[15835]="Father Winter\'s Helper (BIG) rf",
[15838]="Father Winter\'s Helper (BIG) gf",
[15839]="Might of Kalimdor Grunt",
[15840]="Might of Kalimdor Sergeant",
[15841]="Might of Kalimdor Lieutenant",
[15842]="Might of Kalimdor Mage",
[15843]="Might of Kalimdor Priest",
[15844]="Might of Kalimdor Restorer",
[15845]="Might of Kalimdor Captain",
[15846]="Might of Kalimdor Archer",
[15847]="Might of Kalimdor Shaman",
[15848]="Might of Kalimdor Infantry",
[15849]="Might of Kalimdor Druid",
[15850]="Might of Kalimdor Skirmisher",
[15851]="Might of Kalimdor Marshal",
[15852]="Orgrimmar Elite Shieldguard",
[15853]="Orgrimmar Elite Infantryman",
[15854]="Orgrimmar Elite Cavalryman",
[15855]="Tauren Rifleman",
[15856]="Tauren Primalist",
[15857]="Stormwind Cavalryman",
[15858]="Stormwind Infantryman",
[15859]="Stormwind Archmage",
[15860]="Kaldorei Marksman",
[15861]="Ironforge Infantryman",
[15862]="Ironforge Cavalryman",
[15863]="Darkspear Shaman",
[15864]="Valadar Starsong",
[15865]="Might of Kalimdor Major",
[15866]="High Commander Lynore Windstryke",
[15867]="Might of Kalimdor Archmage",
[15868]="Highlord Leoric Von Zeldig",
[15869]="Malagav the Tactician",
[15870]="Duke August Foehammer",
[15871]="Elder Bronzebeard",
[15872]="Pat\'s Firework Cluster Guy (BLUE)",
[15873]="Pat\'s Firework Cluster Guy (RED)",
[15874]="Pat\'s Firework Cluster Guy (GREEN)",
[15875]="Pat\'s Firework Cluster Guy (PURPLE)",
[15876]="Pat\'s Firework Cluster Guy (WHITE)",
[15877]="Pat\'s Firework Cluster Guy (YELLOW)",
[15878]="Warcaller Finster",
[15879]="Pat\'s Firework Guy - BLUE",
[15880]="Pat\'s Firework Guy - GREEN",
[15881]="Pat\'s Firework Guy - PURPLE",
[15882]="Pat\'s Firework Guy - RED",
[15883]="Pat\'s Firework Guy - YELLOW",
[15884]="Pat\'s Firework Guy - WHITE",
[15885]="Pat\'s Firework Guy - BLUE BIG",
[15886]="Pat\'s Firework Guy - GREEN BIG",
[15887]="Pat\'s Firework Guy - PURPLE BIG",
[15888]="Pat\'s Firework Guy - RED BIG",
[15889]="Pat\'s Firework Guy - WHITE BIG",
[15890]="Pat\'s Firework Guy - YELLOW BIG",
[15891]="Lunar Festival Herald",
[15892]="Lunar Festival Emissary",
[15893]="Lunar Firework Credit Marker",
[15894]="Lunar Cluster Credit Marker",
[15895]="Lunar Festival Harbinger",
[15896]="C\'Thun Portal",
[15897]="Large Spotlight",
[15898]="Lunar Festival Vendor",
[15901]="Vanquished Tentacle",
[15902]="Giant Spotlight",
[15903]="Sergeant Carnes",
[15904]="Tentacle Portal",
[15905]="Darnassus Reveler",
[15906]="Ironforge Reveler",
[15907]="Undercity Reveler",
[15908]="Orgrimmar Reveler",
[15909]="Fariel Starsong",
[15910]="Giant Tentacle Portal",
[15911]="Pat\'s Firework Cluster Guy (BLUE BIG)",
[15912]="Pat\'s Firework Cluster Guy (GREEN BIG)",
[15913]="Pat\'s Firework Cluster Guy (PURPLE BIG)",
[15914]="Pat\'s Firework Cluster Guy (RED BIG)",
[15915]="Pat\'s Firework Cluster Guy (WHITE BIG)",
[15916]="Pat\'s Firework Cluster Guy (YELLOW BIG)",
[15917]="Lunar Festival Reveler",
[15918]="Pat\'s Firework Cluster Guy (ELUNE)",
[15922]="Viscidus Trigger",
[15925]="Toxic Slime",
[15928]="Thaddius",
[15929]="Stalagg",
[15930]="Feugen",
[15931]="Grobbulus",
[15932]="Gluth",
[15933]="Poison Cloud",
[15934]="Hive\'Zara Hornet",
[15936]="Heigan the Unclean",
[15952]="Maexxna",
[15953]="Grand Widow Faerlina",
[15954]="Noth the Plaguebringer",
[15956]="Anub\'Rekhan",
[15957]="Ouro Spawner",
[15961]="Lunar Festival Sentinel",
[15962]="Vekniss Hatchling",
[15963]="The Master\'s Eye",
[15964]="Buru Egg Trigger",
[15972]="Alterac Valley Battlemaster",
[15973]="Naxxramas Template",
[15974]="Dread Creeper",
[15975]="Carrion Spinner",
[15976]="Venom Stalker",
[15977]="Infectious Skitterer",
[15978]="Crypt Reaver",
[15979]="Tomb Horror",
[15980]="Naxxramas Cultist",
[15981]="Naxxramas Acolyte",
[15984]="Sartura\'s Royal Guard",
[15989]="Sapphiron",
[15990]="Kel\'Thuzad",
[16001]="Aldris Fourclouds",
[16002]="Colara Dean",
[16003]="Deathguard Tor",
[16004]="Elenia Haydon",
[16005]="Lieutenant Jocryn Heldric",
[16006]="InCombat Trigger",
[16007]="Orok Deathbane",
[16008]="Temma of the Wells",
[16009]="Tormek Stoneriver",
[16011]="Loatheb",
[16012]="Mokvar",
[16013]="Deliana",
[16014]="Mux Manascrambler",
[16015]="Vi\'el",
[16016]="Anthion Harmon",
[16017]="Patchwork Golem",
[16018]="Bile Retcher",
[16020]="Mad Scientist",
[16021]="Living Monstrosity",
[16022]="Surgical Assistant",
[16024]="Embalming Slime",
[16025]="Stitched Spewer",
[16027]="Living Poison",
[16028]="Patchwerk",
[16029]="Sludge Belcher",
[16030]="Maggot",
[16031]="Ysida Harmon",
[16032]="Falrin Treeshaper",
[16033]="Bodley",
[16034]="Plague Beast",
[16036]="Frenzied Bat",
[16037]="Plagued Bat",
[16042]="Lord Valthalak",
[16043]="Magma Lord Bokk",
[16044]="Mor Grayhoof Trigger",
[16045]="Isalien Trigger",
[16046]="Jarien and Sothos Trigger",
[16047]="Kormok Trigger",
[16048]="Lord Valthalak Trigger",
[16049]="Lefty",
[16050]="Rotfang",
[16051]="Snokh Blackspine",
[16052]="Malgen Longspear",
[16053]="Korv",
[16054]="Rezznik",
[16055]="Va\'jashni",
[16056]="Diseased Maggot",
[16057]="Rotting Maggot",
[16058]="Volida",
[16059]="Theldren",
[16060]="Gothik the Harvester",
[16061]="Instructor Razuvious",
[16062]="Highlord Mograine",
[16063]="Sir Zeliek",
[16064]="Thane Korth\'azz",
[16065]="Lady Blaumeux",
[16066]="Spectral Assassin",
[16067]="Skeletal Steed",
[16068]="Larva",
[16069]="Gurky",
[16070]="Garel Redrock",
[16072]="Tidelord Rrurgaz",
[16073]="Spirit of Lord Valthalak",
[16075]="Kwee Q. Peddlefeet",
[16076]="Tharl Stonebleeder",
[16079]="Theldren Trigger",
[16080]="Mor Grayhoof",
[16082]="Naxxramas Trigger",
[16083]="Mor Grayhoof Transformation Visual",
[16085]="Peddlefeet",
[16086]="Flower Shower",
[16090]="Rousch",
[16091]="Dirk Thunderwood",
[16092]="Silithis Teleporter",
[16093]="Spectral Stalker",
[16094]="Durik",
[16095]="Gnashjaw",
[16096]="Steamwheedle Bruiser",
[16097]="Isalien",
[16098]="Empyrean",
[16100]="Ysida\'s Trigger",
[16101]="Jarien",
[16102]="Sothos",
[16103]="Spirit of Jarien",
[16104]="Spirit of Sothos",
[16105]="Aristan Mottar",
[16106]="Evert Sorisam",
[16107]="Apothecary Staffron Lerent",
[16108]="Fenstad Argyle",
[16109]="Mara Rennick",
[16110]="Annalise Lerent",
[16111]="Love Fool",
[16112]="Korfax, Champion of the Light",
[16113]="Father Inigo Montoy",
[16114]="Scarlet Commander Marjhan",
[16115]="Commander Eligor Dawnbringer",
[16116]="Archmage Angela Dosantos",
[16117]="Plagued Swine",
[16118]="Kormok",
[16119]="Bone Minion",
[16120]="Bone Mage",
[16121]="Mortar",
[16123]="Gremnik Rizzlesprang",
[16124]="Unrelenting Trainee",
[16125]="Unrelenting Deathknight",
[16126]="Unrelenting Rider",
[16127]="Spectral Trainee",
[16129]="Shadow Fissure",
[16131]="Rohan the Assassin",
[16132]="Huntsman Leopold",
[16133]="Mataus the Wrathcaster",
[16134]="Rimblat Earthshatter",
[16135]="Rayne",
[16136]="Necrotic Shard",
[16137]="Naxxramas Military Sub-Boss Trigger",
[16139]="Cenarion Hold Reservist",
[16141]="Ghoul Berserker",
[16142]="Bile Sludge",
[16143]="Shadow of Doom",
[16145]="Deathknight Captain",
[16146]="Deathknight",
[16148]="Spectral Deathknight",
[16149]="Spectral Horse",
[16150]="Spectral Rider",
[16154]="Risen Deathknight",
[16156]="Dark Touched Warrior",
[16157]="Doom Touched Warrior",
[16158]="Death Touched Warrior",
[16163]="Deathknight Cavalier",
[16164]="Shade of Naxxramas",
[16165]="Necro Knight",
[16166]="Theldren Kill Credit",
[16167]="Bony Construct",
[16168]="Stoneskin Gargoyle",
[16172]="Damaged Necrotic Shard",
[16184]="Nerubian Overseer",
[16193]="Skeletal Smith",
[16194]="Unholy Axe",
[16211]="Naxxramas Combat Dummy",
[16212]="Dispatch Commander Metz",
[16215]="Unholy Staff",
[16216]="Unholy Swords",
[16218]="Tesla Coil",
[16225]="Pack Mule",
[16226]="Guard Didier",
[16227]="Bragok",
[16228]="Argent Dawn Infantry",
[16229]="Injured Argent Dawn Infantry",
[16230]="Cultist Engineer",
[16232]="Caravan Mule",
[16236]="Eye Stalk",
[16241]="Argent Recruiter",
[16243]="Plague Slime",
[16244]="Infectious Ghoul",
[16254]="Field Marshal Chambers",
[16255]="Argent Scout",
[16256]="Jessica Chambers",
[16281]="Keeper of the Rolls",
[16283]="Packmaster Stonebruiser",
[16284]="Argent Medic",
[16285]="Argent Emissary",
[16286]="Spore",
[16290]="Fallout Slime",
[16297]="Mutated Grub",
[16298]="Spectral Soldier",
[16299]="Skeletal Shocktrooper",
[16306]="Scourge Invasion Minion, spawner, Ghost/Ghoul",
[16336]="Scourge Invasion Minion, spawner, Ghost/Skeleton",
[16338]="Scourge Invasion Minion, spawner, Ghoul/Skeleton",
[16356]="Scourge Invasion Minion, finder",
[16359]="Argent Messenger",
[16360]="Zombie Chow",
[16361]="Commander Thomas Helleran",
[16363]="Grobbulus Cloud",
[16365]="Master Craftsman Omarion",
[16368]="Necropolis Acolyte",
[16369]="Polymorphed Chicken",
[16371]="Polymorphed Pig",
[16372]="Polymorphed Sheep",
[16373]="Polymorphed Rat",
[16374]="Polymorphed Cockroach",
[16375]="Sewage Slime",
[16376]="Craftsman Wilhelm",
[16377]="Polymorphed Turtle",
[16378]="Argent Sentry",
[16379]="Spirit of the Damned",
[16380]="Bone Witch",
[16381]="Archmage Tarsis Kir-Moldir",
[16382]="Patchwork Terror",
[16383]="Flameshocker",
[16384]="Argent Dawn Initiate",
[16385]="Lightning Totem",
[16386]="Necropolis Relay",
[16387]="Atiesh",
[16390]="Deathchill Servant",
[16392]="Captain Armando Ossex",
[16394]="Pallid Horror",
[16395]="Argent Dawn Paladin",
[16396]="Stormwind Elite Guard",
[16398]="Necropolis Proxy",
[16399]="Bloodsail Traitor",
[16400]="Toxic Tunnel",
[16401]="Necropolis",
[16416]="Bronn Fitzwrench",
[16417]="Rumsen Fizzlebrack",
[16418]="Mupsi Shacklefridd",
[16419]="Ghost of Naxxramas",
[16420]="Portal of Shadows",
[16421]="Necropolis health",
[16422]="Skeletal Soldier",
[16423]="Spectral Apparition",
[16427]="Soldier of the Frozen Wastes",
[16428]="Unstoppable Abomination",
[16429]="Soul Weaver",
[16430]="Ashbringer Trigger",
[16431]="Cracked Necrotic Crystal",
[16432]="Undercity Elite Guardian",
[16433]="Argent Dawn Crusader",
[16434]="Argent Dawn Champion",
[16435]="Argent Dawn Cleric",
[16436]="Argent Dawn Priest",
[16437]="Spectral Spirit",
[16438]="Skeletal Trooper",
[16439]="Fairbanks Transformed",
[16440]="Highlord Mograine Transform",
[16441]="Guardian of Icecrown",
[16445]="Terky",
[16446]="Plagued Gargoyle",
[16447]="Plagued Ghoul",
[16448]="Plagued Deathhound",
[16449]="Spirit of Naxxramas",
[16451]="Deathknight Vindicator",
[16452]="Necro Knight Guardian",
[16453]="Necro Stalker",
[16458]="Innkeeper Faralia",
[16474]="Blizzard",
[16478]="Lieutenant Orrin",
[16479]="Polymorph Clone",
[16484]="Lieutenant Nevell",
[16486]="Web Wrap",
[16490]="Lieutenant Lisande",
[16493]="Lieutenant Dagel",
[16494]="Lieutenant Rukag",
[16495]="Lieutenant Beitha",
[16505]="Naxxramas Follower",
[16506]="Naxxramas Worshipper",
[16508]="Argent Horse",
[16509]="Argent Warhorse",
[16510]="Argent Charger",
[16511]="Argent Mount",
[16512]="Argent Deathsteed",
[16513]="Argent Deathcharger",
[16531]="Faint Necrotic Crystal",
[16543]="Garon Hutchins",
[16547]="Speedy",
[16548]="Mr. Wiggles",
[16549]="Whiskers the Rat",
[16573]="Crypt Guard",
[16592]="Midsummer Bonfire",
[16606]="Midsummer Bonfire Despawner",
[16697]="Void Zone",
[16698]="Corpse Scarab",
[16701]="Spirit of Summer",
[16775]="Spirit of Mograine",
[16776]="Spirit of Blaumeux",
[16777]="Spirit of Zeliek",
[16778]="Spirit of Korth\'azz",
[16779]="Polymorphed Cow",
[16781]="Midsummer Celebrant",
[16783]="Plague Slime (Blue)",
[16784]="Plague Slime (Red)",
[16785]="Plague Slime (Green)",
[16786]="Argent Quartermaster",
[16787]="Argent Outfitter",
[16788]="Festival Flamekeeper",
[16803]="Deathknight Understudy",
[16817]="Festival Loremaster",
[16818]="Festival Talespinner",
[16861]="Death Lord",
[16979]="Midsummer Merchant",
[16980]="The Lich King",
[16981]="Plagued Guardian",
[16982]="Plagued Construct",
[16983]="Plagued Champion",
[16984]="Plagued Warrior",
[16985]="Midsummer Merchant Horde Costume",
[16986]="Midsummer Merchant Alliance Costume",
[16987]="Festival Flamekeeper Costume: Tauren",
[16988]="Festival Flamekeeper Costume: Human",
[16989]="Festival Flamekeeper Costume: Troll",
[16990]="Festival Flamekeeper Costume: Dwarf",
[16995]="Mouth of Kel\'Thuzad",
[16998]="Mr. Bigglesworth",
[17003]="Cinder Elemental",
[17025]="Sapphiron\'s Wing buffet",
[17038]="Stormwind Firebreather",
[17041]="Orgrimmar Fireeater",
[17048]="Ironforge Firebreather",
[17049]="Darnassus Firebreather",
[17050]="Thunder Bluff Fireeater",
[17051]="Undercity Fireeater",
[17055]="Maexxna Spiderling",
[17066]="Ribbon Pole Debug Target",
[17068]="Chief Expeditionary Requisitioner Enkles",
[17069]="Emmisary Whitebeard",
[17070]="Apothecary Quinard",
[17072]="Emmisary Gormok",
[17074]="Cenarion Scout",
[17079]="General Kirika",
[17080]="Marshal Bluewall",
[17081]="Scout Bloodfist",
[17082]="Rifleman Torrig",
[17090]="Silithus Dust Turnin Quest Doodad",
[17209]="William Kielar",
[17231]="Garden Gas",
[17255]="Hippogryph Hatchling",
[17266]="Riding Turtle",
[17286]="Invisible Man",
[17598]="Renn\'az",
[17635]="Lordaeron Commander",
[17647]="Lordaeron Soldier",
[17688]="Crown Guard Horde Capture Quest Doodad",
[17689]="<TXT>Crown Guard Capture Quest Doodad",
[17690]="<TXT>Eastwall Capture Quest Doodad",
[17691]="Eastwall Horde Capture Quest Doodad",
[17696]="<TXT>Northpass Capture Quest Doodad",
[17697]="Northpass Horde Capture Quest Doodad",
[17698]="<TXT>Plaguewood Capture Quest Doodad",
[17699]="Plaguewood Horde Capture Quest Doodad",
[17765]="Alliance Silithyst Sentinel",
[17766]="Horde Silithyst Sentinel",
[17794]="Alliance Tower Buffer",
[17795]="Horde Tower Buffer",
[17804]="Squire Rowe",
[17995]="Lordaeron Veteran",
[17996]="Lordaeron Fighter",
}
|
local dkjson = require("dkjson")
--lua to json
local obj = {
id = 1,
name = "thushear",
age = 10,
is_male = false,
hobby = {"film","read"}
}
local str = dkjson.encode(obj,{indent = true})
ngx.say(str,"<br/>")
-- str to obj
str = '{"hobby":["file","Read"],"is_male":false,"name":"thushear","id":1,"age":null}'
local obj,pos,err = dkjson.decode(str,1,nil)
ngx.say(obj.age,"<br/>")
ngx.say(obj.hobby[1],"<br/>")
-- circle ref
-- obj = {
-- id = 1
-- }
-- obj.obj = obj
-- ngx.say(dkjson.encode(obj),"<br/>")
|
-- Lua stuff
function onCreate()
-- triggered when the lua file is started
makeAnimatedLuaSprite('sexualintercourse', 'characters/stupid fucks', getProperty('GF_X') - 120, getProperty('GF_Y') + 200);
luaSpriteAddAnimationByPrefix('sexualintercourse', 'first', 'stereo boom', 24, false);
luaSpritePlayAnimation('sexualintercourse', 'first');
addLuaSprite('sexualintercourse', false);
end
-- Gameplay interactions
function onBeatHit()
-- triggered 4 times per section
if curBeat % 2 == 0 then
luaSpritePlayAnimation('sexualintercourse', 'first');
end
end
function onCountdownTick(counter)
-- counter = 0 -> "Three"
-- counter = 1 -> "Two"
-- counter = 2 -> "One"
-- counter = 3 -> "Go!"
-- counter = 4 -> Nothing happens lol, tho it is triggered at the same time as onSongStart i think
if counter % 2 == 0 then
luaSpritePlayAnimation('sexualintercourse', 'first');
end
end |
local highlights = require("neo-tree.ui.highlights")
local example = {
window = {
position = "left",
width = 40,
-- Mappings for tree window. See https://github.com/nvim-neo-tree/neo-tree.nvim/blob/main/lua/neo-tree/sources/filesystem/commands.lua
-- for built-in commands. You can also create your own commands by
-- providing a function instead of a string. See the built-in
-- commands for examples.
mappings = {
["<2-LeftMouse>"] = "example_command",
["<cr>"] = "example_command",
["D"] = "show_debug_info",
},
},
-- This section provides the renderers that will be used to render the tree.
-- The first level is the node type.
-- For each node type, you can specify a list of components to render.
-- Components are rendered in the order they are specified.
-- The first field in each component is the name of the function to call.
-- The rest of the fields are passed to the function as the "config" argument.
renderers = {
directory = {
{
"icon",
folder_closed = "",
folder_open = "",
padding = " ",
},
{ "name" },
},
file = {
{
"icon",
default = "*",
padding = " ",
},
{ "name" },
},
},
}
return example
|
-- Copyright (C) 2018 The Dota IMBA Development Team
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
--
-- Editors:
-- Firetoad, 06.09.2015
-- suthernfriend, 03.02.2018
function HexAura( keys )
local caster = keys.caster
local ability = keys.ability
local ability_level = ability:GetLevel() - 1
local modifier_slow = keys.modifier_slow
-- If the ability is on cooldown, do nothing
if not ability:IsCooldownReady() then
return nil
end
-- Parameters
local hex_aoe = ability:GetLevelSpecialValueFor("hex_aoe", ability_level)
local hex_duration = ability:GetLevelSpecialValueFor("hex_duration", ability_level)
local min_creeps = ability:GetLevelSpecialValueFor("min_creeps", ability_level)
local tower_loc = caster:GetAbsOrigin()
-- Find nearby enemies
local creeps = FindUnitsInRadius(caster:GetTeamNumber(), tower_loc, nil, hex_aoe, DOTA_UNIT_TARGET_TEAM_ENEMY, DOTA_UNIT_TARGET_BASIC, DOTA_UNIT_TARGET_FLAG_FOW_VISIBLE, FIND_ANY_ORDER, false)
local heroes = FindUnitsInRadius(caster:GetTeamNumber(), tower_loc, nil, hex_aoe, DOTA_UNIT_TARGET_TEAM_ENEMY, DOTA_UNIT_TARGET_HERO, DOTA_UNIT_TARGET_FLAG_FOW_VISIBLE, FIND_ANY_ORDER, false)
-- Check if the ability should be cast
if #creeps >= min_creeps or #heroes >= 1 then
-- Choose a random hero to be the modifier owner (having a non-hero hex modifier owner crashes the game)
local hero_owner = HeroList:GetHero(0)
-- Hex enemies
for _,enemy in pairs(creeps) do
if enemy:IsIllusion() then
enemy:ForceKill(true)
else
enemy:AddNewModifier(hero_owner, ability, "modifier_sheepstick_debuff", {duration = hex_duration})
ability:ApplyDataDrivenModifier(caster, enemy, modifier_slow, {})
end
end
for _,enemy in pairs(heroes) do
if enemy:IsIllusion() then
enemy:ForceKill(true)
else
enemy:AddNewModifier(hero_owner, ability, "modifier_sheepstick_debuff", {duration = hex_duration})
ability:ApplyDataDrivenModifier(caster, enemy, modifier_slow, {})
end
end
-- Put the ability on cooldown
ability:StartCooldown(ability:GetCooldown(ability_level))
end
end
function ManaFlare( keys )
local caster = keys.caster
local ability = keys.ability
local ability_level = ability:GetLevel() - 1
local particle_burn = keys.particle_burn
local sound_burn = keys.sound_burn
-- If the ability is on cooldown, do nothing
if not ability:IsCooldownReady() then
return nil
end
-- Parameters
local burn_aoe = ability:GetLevelSpecialValueFor("burn_aoe", ability_level)
local burn_pct = ability:GetLevelSpecialValueFor("burn_pct", ability_level)
local tower_loc = caster:GetAbsOrigin()
-- Find nearby enemies
local heroes = FindUnitsInRadius(caster:GetTeamNumber(), tower_loc, nil, burn_aoe, DOTA_UNIT_TARGET_TEAM_ENEMY, DOTA_UNIT_TARGET_HERO, DOTA_UNIT_TARGET_FLAG_FOW_VISIBLE, FIND_ANY_ORDER, false)
-- Check if the ability should be cast
if #heroes >= 1 then
-- Play sound
caster:EmitSound(sound_burn)
-- Iterate through enemies
for _,enemy in pairs(heroes) do
-- Burn mana
local mana_to_burn = enemy:GetMaxMana() * burn_pct / 100
enemy:ReduceMana(mana_to_burn)
-- Play mana burn particle
local mana_burn_pfx = ParticleManager:CreateParticle(particle_burn, PATTACH_ABSORIGIN, enemy)
ParticleManager:SetParticleControl(mana_burn_pfx, 0, enemy:GetAbsOrigin())
end
-- Put the ability on cooldown
ability:StartCooldown(ability:GetCooldown(ability_level))
end
end
function Chronotower( keys )
local caster = keys.caster
local ability = keys.ability
local ability_level = ability:GetLevel() - 1
local sound_stun = keys.sound_stun
local modifier_stun = keys.modifier_stun
-- If the ability is on cooldown, do nothing
if not ability:IsCooldownReady() then
return nil
end
-- Parameters
local stun_radius = ability:GetLevelSpecialValueFor("stun_radius", ability_level)
local stun_duration = ability:GetLevelSpecialValueFor("stun_duration", ability_level)
local min_creeps = ability:GetLevelSpecialValueFor("min_creeps", ability_level)
local tower_loc = caster:GetAbsOrigin()
-- Find nearby enemies
local creeps = FindUnitsInRadius(caster:GetTeamNumber(), tower_loc, nil, stun_radius, DOTA_UNIT_TARGET_TEAM_ENEMY, DOTA_UNIT_TARGET_BASIC, DOTA_UNIT_TARGET_FLAG_FOW_VISIBLE + DOTA_UNIT_TARGET_FLAG_MAGIC_IMMUNE_ENEMIES, FIND_ANY_ORDER, false)
local heroes = FindUnitsInRadius(caster:GetTeamNumber(), tower_loc, nil, stun_radius, DOTA_UNIT_TARGET_TEAM_ENEMY, DOTA_UNIT_TARGET_HERO, DOTA_UNIT_TARGET_FLAG_FOW_VISIBLE + DOTA_UNIT_TARGET_FLAG_MAGIC_IMMUNE_ENEMIES, FIND_ANY_ORDER, false)
-- Check if the ability should be cast
if #creeps >= min_creeps or #heroes >= 1 then
-- Play sound
caster:EmitSound(sound_stun)
-- Stun enemies
for _,enemy in pairs(creeps) do
ability:ApplyDataDrivenModifier(caster, enemy, modifier_stun, {})
enemy:AddNewModifier(caster, ability, "modifier_stunned", {duration = stun_duration})
end
for _,enemy in pairs(heroes) do
ability:ApplyDataDrivenModifier(caster, enemy, modifier_stun, {})
enemy:AddNewModifier(caster, ability, "modifier_stunned", {duration = stun_duration})
end
-- Put the ability on cooldown
ability:StartCooldown(ability:GetCooldown(ability_level))
end
end
function Reality( keys )
local caster = keys.caster
local ability = keys.ability
local ability_level = ability:GetLevel() - 1
local sound_reality = keys.sound_reality
-- If the ability is on cooldown, do nothing
if not ability:IsCooldownReady() then
return nil
end
-- Parameters
local reality_aoe = ability:GetLevelSpecialValueFor("reality_aoe", ability_level)
local tower_loc = caster:GetAbsOrigin()
-- Find nearby enemies
local heroes = FindUnitsInRadius(caster:GetTeamNumber(), tower_loc, nil, reality_aoe, DOTA_UNIT_TARGET_TEAM_ENEMY, DOTA_UNIT_TARGET_HERO, DOTA_UNIT_TARGET_FLAG_FOW_VISIBLE, FIND_ANY_ORDER, false)
-- Kill any existing illusions
local ability_used = false
for _,enemy in pairs(heroes) do
if enemy:IsIllusion() then
enemy:ForceKill(true)
ability_used = true
end
end
-- If the ability was used, play the sound and put it on cooldown
if ability_used then
-- Play sound
caster:EmitSound(sound_reality)
-- Put the ability on cooldown
ability:StartCooldown(ability:GetCooldown(ability_level))
end
end
function Force( keys )
local caster = keys.caster
local ability = keys.ability
local sound_force = keys.sound_force
-- If the ability is on cooldown, do nothing
if not ability:IsCooldownReady() then
return nil
end
-- Parameters
local force_aoe = ability:GetSpecialValueFor("force_aoe")
local force_distance = ability:GetSpecialValueFor("force_distance")
local force_duration = ability:GetSpecialValueFor("force_duration")
local min_creeps = ability:GetSpecialValueFor("min_creeps")
local stun_duration = ability:GetSpecialValueFor("stun_duration")
local tower_loc = caster:GetAbsOrigin()
local knockback_param
-- Find nearby enemies
local creeps = FindUnitsInRadius(caster:GetTeamNumber(), tower_loc, nil, force_aoe, DOTA_UNIT_TARGET_TEAM_ENEMY, DOTA_UNIT_TARGET_BASIC, DOTA_UNIT_TARGET_FLAG_FOW_VISIBLE, FIND_ANY_ORDER, false)
local heroes = FindUnitsInRadius(caster:GetTeamNumber(), tower_loc, nil, force_aoe, DOTA_UNIT_TARGET_TEAM_ENEMY, DOTA_UNIT_TARGET_HERO, DOTA_UNIT_TARGET_FLAG_FOW_VISIBLE, FIND_ANY_ORDER, false)
-- Check if the ability should be cast
if #creeps >= min_creeps or #heroes >= 1 then
-- Play sound
caster:EmitSound(sound_force)
-- Knockback enemies
for _,enemy in pairs(creeps) do
-- Set up knockback parameters
knockback_param =
{ should_stun = 1,
knockback_duration = force_duration,
duration = force_duration,
knockback_distance = force_distance,
knockback_height = 0,
center_x = tower_loc.x,
center_y = tower_loc.y,
center_z = tower_loc.z
}
enemy:RemoveModifierByName("modifier_knockback")
enemy:AddNewModifier(caster, nil, "modifier_knockback", knockback_param)
end
for _,enemy in pairs(heroes) do
-- Calculate distance from tower
local distance = (enemy:GetAbsOrigin() - caster:GetAbsOrigin()):Length2D()
-- Create dummy that knockbacks toward the tower
local direction = (enemy:GetAbsOrigin() - caster:GetAbsOrigin()):Normalized()
local knockback_dummy_loc = enemy:GetAbsOrigin() + direction * 150
local knockback_dummy = CreateUnitByName("npc_dummy_unit", knockback_dummy_loc, false, caster, caster, caster:GetTeamNumber())
-- Set up knockback parameters
knockback_param =
{ should_stun = 1,
knockback_duration = force_duration,
duration = force_duration,
knockback_distance = distance-180,
knockback_height = 0,
center_x = knockback_dummy:GetAbsOrigin().x,
center_y = knockback_dummy:GetAbsOrigin().y,
center_z = knockback_dummy:GetAbsOrigin().z
}
enemy:RemoveModifierByName("modifier_knockback")
enemy:AddNewModifier(caster, nil, "modifier_knockback", knockback_param)
knockback_dummy:Destroy()
enemy:AddNewModifier(caster, ability, "modifier_stunned", {duration = stun_duration})
end
-- Put the ability on cooldown
ability:StartCooldown(ability:GetCooldown(-1))
end
end
function Nature( keys )
local caster = keys.caster
local ability = keys.ability
local ability_level = ability:GetLevel() - 1
local sound_root = keys.sound_root
local modifier_root = keys.modifier_root
-- If the ability is on cooldown, do nothing
if not ability:IsCooldownReady() then
return nil
end
-- Parameters
local root_radius = ability:GetLevelSpecialValueFor("root_radius", ability_level)
local min_creeps = ability:GetLevelSpecialValueFor("min_creeps", ability_level)
local tower_loc = caster:GetAbsOrigin()
-- Find nearby enemies
local creeps = FindUnitsInRadius(caster:GetTeamNumber(), tower_loc, nil, root_radius, DOTA_UNIT_TARGET_TEAM_ENEMY, DOTA_UNIT_TARGET_BASIC, DOTA_UNIT_TARGET_FLAG_FOW_VISIBLE, FIND_ANY_ORDER, false)
local heroes = FindUnitsInRadius(caster:GetTeamNumber(), tower_loc, nil, root_radius, DOTA_UNIT_TARGET_TEAM_ENEMY, DOTA_UNIT_TARGET_HERO, DOTA_UNIT_TARGET_FLAG_FOW_VISIBLE, FIND_ANY_ORDER, false)
-- Check if the ability should be cast
if #creeps >= min_creeps or #heroes >= 1 then
-- Play sound
caster:EmitSound(sound_root)
-- Root enemies
for _,enemy in pairs(creeps) do
ability:ApplyDataDrivenModifier(caster, enemy, modifier_root, {})
end
for _,enemy in pairs(heroes) do
ability:ApplyDataDrivenModifier(caster, enemy, modifier_root, {})
end
-- Put the ability on cooldown
ability:StartCooldown(ability:GetCooldown(ability_level))
end
end
function Mindblast( keys )
local caster = keys.caster
local ability = keys.ability
local ability_level = ability:GetLevel() - 1
local sound_silence = keys.sound_silence
local modifier_silence = keys.modifier_silence
-- If the ability is on cooldown, do nothing
if not ability:IsCooldownReady() then
return nil
end
-- Parameters
local silence_radius = ability:GetLevelSpecialValueFor("silence_radius", ability_level)
local tower_loc = caster:GetAbsOrigin()
-- Find nearby enemies
local heroes = FindUnitsInRadius(caster:GetTeamNumber(), tower_loc, nil, silence_radius, DOTA_UNIT_TARGET_TEAM_ENEMY, DOTA_UNIT_TARGET_HERO, DOTA_UNIT_TARGET_FLAG_FOW_VISIBLE, FIND_ANY_ORDER, false)
-- Check if the ability should be cast
if #heroes >= 1 then
-- Play sound
caster:EmitSound(sound_silence)
-- Silence enemies
for _,enemy in pairs(heroes) do
ability:ApplyDataDrivenModifier(caster, enemy, modifier_silence, {})
end
-- Put the ability on cooldown
ability:StartCooldown(ability:GetCooldown(ability_level))
end
end
-- Fountain's Grievous Wounds
function GrievousWounds( keys )
local caster = keys.caster
local target = keys.target
local ability = keys.ability
local ability_level = ability:GetLevel() - 1
local modifier_debuff = keys.modifier_debuff
local particle_hit = keys.particle_hit
-- Parameters
local damage_increase = ability:GetLevelSpecialValueFor("damage_increase", ability_level)
-- Play hit particle
local hit_pfx = ParticleManager:CreateParticle(particle_hit, PATTACH_ABSORIGIN, target)
ParticleManager:SetParticleControl(hit_pfx, 0, target:GetAbsOrigin())
-- Calculate bonus damage
local base_damage = caster:GetAttackDamage()
local current_stacks = target:GetModifierStackCount(modifier_debuff, caster)
local total_damage = base_damage * ( 1 + current_stacks * damage_increase / 100 )
-- Apply damage
ApplyDamage({attacker = caster, victim = target, ability = ability, damage = total_damage, damage_type = DAMAGE_TYPE_PHYSICAL})
-- Apply bonus damage modifier
AddStacks(ability, caster, target, modifier_debuff, 1, true)
end
-- Tier 1 to 3 tower aura abilities
-- Author: Shush
-- Date: 8/2/2017
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
-- Tower's Protective Instincts
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
imba_tower_protective_instinct = imba_tower_protective_instinct or class({})
LinkLuaModifier("modifier_imba_tower_protective_instinct", "components/abilities/buildings/tower_abilities.lua", LUA_MODIFIER_MOTION_NONE)
function imba_tower_protective_instinct:GetIntrinsicModifierName()
return "modifier_imba_tower_protective_instinct"
end
function imba_tower_protective_instinct:GetAbilityTextureName()
return "wisp_empty1"
end
-- protective instinct modifier
modifier_imba_tower_protective_instinct = modifier_imba_tower_protective_instinct or class({})
function modifier_imba_tower_protective_instinct:OnCreated()
if IsServer() then
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
-- Ability specials
self.radius = self.ability:GetSpecialValueFor("radius")
-- Set stack count as 0 and start counting heroes
self.stacks = 0
self:StartIntervalThink(0.1)
end
end
function modifier_imba_tower_protective_instinct:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_protective_instinct:OnIntervalThink()
if IsServer() then
local heroes = FindUnitsInRadius(self.caster:GetTeamNumber(),
self.caster:GetAbsOrigin(),
nil,
self.radius,
DOTA_UNIT_TARGET_TEAM_FRIENDLY,
DOTA_UNIT_TARGET_HERO,
DOTA_UNIT_TARGET_FLAG_NOT_ILLUSIONS,
FIND_ANY_ORDER,
false)
-- Set stack count to the number of heroes around the tower
self:SetStackCount(#heroes)
end
end
function modifier_imba_tower_protective_instinct:IsHidden() return true end
function modifier_imba_tower_protective_instinct:IsPurgable() return false end
function modifier_imba_tower_protective_instinct:IsDebuff() return false end
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
-- Tower's Machinegun Aura
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
imba_tower_machinegun = imba_tower_machinegun or class({})
LinkLuaModifier("modifier_imba_tower_machinegun_aura", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
LinkLuaModifier("modifier_imba_tower_machinegun_aura_buff", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
function imba_tower_machinegun:GetIntrinsicModifierName()
return "modifier_imba_tower_machinegun_aura"
end
function imba_tower_machinegun:GetAbilityTextureName()
return "gyrocopter_skyhigh_flak_cannon"
end
-- Tower Aura
modifier_imba_tower_machinegun_aura = modifier_imba_tower_machinegun_aura or class({})
function modifier_imba_tower_machinegun_aura:OnCreated()
-- Ability properties
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
-- Ability specials
self.aura_radius = self.ability:GetSpecialValueFor("aura_radius")
self.aura_stickyness = self.ability:GetSpecialValueFor("aura_stickyness")
end
function modifier_imba_tower_machinegun_aura:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_machinegun_aura:GetAuraDuration()
return self.aura_stickyness
end
function modifier_imba_tower_machinegun_aura:GetAuraRadius()
return self.aura_radius
end
function modifier_imba_tower_machinegun_aura:GetAuraSearchFlags()
return DOTA_UNIT_TARGET_FLAG_PLAYER_CONTROLLED
end
function modifier_imba_tower_machinegun_aura:GetAuraSearchTeam()
return DOTA_UNIT_TARGET_TEAM_FRIENDLY
end
function modifier_imba_tower_machinegun_aura:GetAuraSearchType()
return DOTA_UNIT_TARGET_HERO + DOTA_UNIT_TARGET_BASIC
end
function modifier_imba_tower_machinegun_aura:GetModifierAura()
return "modifier_imba_tower_machinegun_aura_buff"
end
function modifier_imba_tower_machinegun_aura:IsAura()
return true
end
function modifier_imba_tower_machinegun_aura:IsDebuff() return false end
function modifier_imba_tower_machinegun_aura:IsHidden() return true end
function modifier_imba_tower_machinegun_aura:IsPurgable() return false end
-- Attack Speed Modifier
modifier_imba_tower_machinegun_aura_buff = modifier_imba_tower_machinegun_aura_buff or class({})
function modifier_imba_tower_machinegun_aura_buff:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
self.parent = self:GetParent()
-- Ability specials
self.bonus_as = self.ability:GetSpecialValueFor("bonus_as")
self.as_per_protective_instinct = self.ability:GetSpecialValueFor("as_per_protective_instinct")
end
function modifier_imba_tower_machinegun_aura_buff:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_machinegun_aura_buff:IsHidden() return false end
function modifier_imba_tower_machinegun_aura_buff:IsPurgable() return false end
function modifier_imba_tower_machinegun_aura_buff:IsDebuff() return false end
function modifier_imba_tower_machinegun_aura_buff:DeclareFunctions()
local decFuncs = {MODIFIER_PROPERTY_ATTACKSPEED_BONUS_CONSTANT}
return decFuncs
end
function modifier_imba_tower_machinegun_aura_buff:GetModifierAttackSpeedBonus_Constant()
local protective_instinct_stacks = self.caster:GetModifierStackCount("modifier_imba_tower_protective_instinct", self.caster)
local extra_as = self.bonus_as + self.as_per_protective_instinct * protective_instinct_stacks
return extra_as
end
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
-- Tower's Thorns Aura
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
imba_tower_thorns = imba_tower_thorns or class({})
LinkLuaModifier("modifier_imba_tower_thorns_aura", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
LinkLuaModifier("modifier_imba_tower_thorns_aura_buff", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
function imba_tower_thorns:GetAbilityTextureName()
return "custom/tower_thorns"
end
function imba_tower_thorns:GetIntrinsicModifierName()
return "modifier_imba_tower_thorns_aura"
end
-- Tower Aura
modifier_imba_tower_thorns_aura = modifier_imba_tower_thorns_aura or class({})
function modifier_imba_tower_thorns_aura:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
-- Ability specials
self.aura_radius = self.ability:GetSpecialValueFor("aura_radius")
self.aura_stickyness = self.ability:GetSpecialValueFor("aura_stickyness")
end
function modifier_imba_tower_thorns_aura:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_thorns_aura:GetAuraDuration()
return self.aura_stickyness
end
function modifier_imba_tower_thorns_aura:GetAuraRadius()
return self.aura_radius
end
function modifier_imba_tower_thorns_aura:GetAuraSearchFlags()
return DOTA_UNIT_TARGET_FLAG_PLAYER_CONTROLLED
end
function modifier_imba_tower_thorns_aura:GetAuraSearchTeam()
return DOTA_UNIT_TARGET_TEAM_FRIENDLY
end
function modifier_imba_tower_thorns_aura:GetAuraSearchType()
return DOTA_UNIT_TARGET_HERO + DOTA_UNIT_TARGET_BASIC
end
function modifier_imba_tower_thorns_aura:GetModifierAura()
return "modifier_imba_tower_thorns_aura_buff"
end
function modifier_imba_tower_thorns_aura:IsAura()
return true
end
function modifier_imba_tower_thorns_aura:IsDebuff()
return false
end
function modifier_imba_tower_thorns_aura:IsHidden()
return true
end
-- Return damage Modifier
modifier_imba_tower_thorns_aura_buff = modifier_imba_tower_thorns_aura_buff or class({})
function modifier_imba_tower_thorns_aura_buff:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
self.parent = self:GetParent()
self.particle_return = "particles/units/heroes/hero_centaur/centaur_return.vpcf"
-- Ability specials
self.return_damage_pct = self.ability:GetSpecialValueFor("return_damage_pct")
self.return_damage_per_stack = self.ability:GetSpecialValueFor("return_damage_per_stack")
self.minimum_damage = self.ability:GetSpecialValueFor("minimum_damage")
end
function modifier_imba_tower_thorns_aura_buff:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_thorns_aura_buff:IsHidden()
return false
end
function modifier_imba_tower_thorns_aura_buff:DeclareFunctions()
local decFuncs = {MODIFIER_EVENT_ON_ATTACK_LANDED}
return decFuncs
end
function modifier_imba_tower_thorns_aura_buff:OnAttackLanded( keys )
-- Ability properties
if IsServer() then
local attacker = keys.attacker
local target = keys.target
local protective_instinct_stacks = self.caster:GetModifierStackCount("modifier_imba_tower_protective_instinct", self.caster)
-- Only apply if the parent is the victim and the attacker is on the opposite team
if self.parent == target and attacker:GetTeamNumber() ~= self.parent:GetTeamNumber() then
-- Create return effect
local return_pfx = ParticleManager:CreateParticle(self.particle_return, PATTACH_ABSORIGIN, self.parent)
ParticleManager:SetParticleControlEnt(return_pfx, 0, self.parent, PATTACH_POINT_FOLLOW, "attach_hitloc", self.parent:GetAbsOrigin(), true)
ParticleManager:SetParticleControlEnt(return_pfx, 1, attacker, PATTACH_POINT_FOLLOW, "attach_hitloc", attacker:GetAbsOrigin(), true)
ParticleManager:ReleaseParticleIndex(return_pfx)
-- Get the hero's main attribute value
local main_attribute_value = self.parent:GetPrimaryStatValue()
-- Calculate damage based on percentage of main stat
local return_damage_pct_final = self.return_damage_pct + self.return_damage_per_stack * protective_instinct_stacks
local return_damage = main_attribute_value * (return_damage_pct_final * 0.01)
-- Increase damage to the minimum if it's not sufficient
if self.minimum_damage > return_damage then
return_damage = self.minimum_damage
end
-- Apply damage
local damageTable = {victim = attacker,
attacker = self.parent,
damage = return_damage,
damage_type = DAMAGE_TYPE_PHYSICAL,
ability = self.ability}
ApplyDamage(damageTable)
end
end
end
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
-- Tower's Aegis Aura
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
imba_tower_aegis = imba_tower_aegis or class({})
LinkLuaModifier("modifier_imba_tower_aegis_aura", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
LinkLuaModifier("modifier_imba_tower_aegis_aura_buff", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
function imba_tower_aegis:GetAbilityTextureName()
return "modifier_invulnerable"
end
function imba_tower_aegis:GetIntrinsicModifierName()
return "modifier_imba_tower_aegis_aura"
end
-- Tower Aura
modifier_imba_tower_aegis_aura = modifier_imba_tower_aegis_aura or class({})
function modifier_imba_tower_aegis_aura:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
-- Ability specials
self.aura_radius = self.ability:GetSpecialValueFor("aura_radius")
self.aura_stickyness = self.ability:GetSpecialValueFor("aura_stickyness")
end
function modifier_imba_tower_aegis_aura:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_aegis_aura:GetAuraDuration()
return self.aura_stickyness
end
function modifier_imba_tower_aegis_aura:GetAuraRadius()
return self.aura_radius
end
function modifier_imba_tower_aegis_aura:GetAuraSearchFlags()
return DOTA_UNIT_TARGET_FLAG_PLAYER_CONTROLLED
end
function modifier_imba_tower_aegis_aura:GetAuraSearchTeam()
return DOTA_UNIT_TARGET_TEAM_FRIENDLY
end
function modifier_imba_tower_aegis_aura:GetAuraSearchType()
return DOTA_UNIT_TARGET_HERO + DOTA_UNIT_TARGET_BASIC
end
function modifier_imba_tower_aegis_aura:GetModifierAura()
return "modifier_imba_tower_aegis_aura_buff"
end
function modifier_imba_tower_aegis_aura:IsAura()
return true
end
function modifier_imba_tower_aegis_aura:IsDebuff()
return false
end
function modifier_imba_tower_aegis_aura:IsHidden()
return true
end
-- Armor increase Modifier
modifier_imba_tower_aegis_aura_buff = modifier_imba_tower_aegis_aura_buff or class({})
function modifier_imba_tower_aegis_aura_buff:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
-- Ability specials
self.bonus_armor = self.ability:GetSpecialValueFor("bonus_armor")
self.armor_per_protective = self.ability:GetSpecialValueFor("armor_per_protective")
end
function modifier_imba_tower_aegis_aura_buff:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_aegis_aura_buff:IsHidden()
return false
end
function modifier_imba_tower_aegis_aura_buff:DeclareFunctions()
local decFuncs = {MODIFIER_PROPERTY_PHYSICAL_ARMOR_BONUS}
return decFuncs
end
function modifier_imba_tower_aegis_aura_buff:GetModifierPhysicalArmorBonus()
local protective_instinct_stacks = self.caster:GetModifierStackCount("modifier_imba_tower_protective_instinct", self.caster)
return self.bonus_armor + self.armor_per_protective * protective_instinct_stacks
end
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
-- Tower's Toughness Aura
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
imba_tower_toughness = imba_tower_toughness or class({})
LinkLuaModifier("modifier_imba_tower_toughness_aura", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
LinkLuaModifier("modifier_imba_tower_toughness_aura_buff", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
function imba_tower_toughness:GetAbilityTextureName()
return "custom/tower_toughness"
end
function imba_tower_toughness:GetIntrinsicModifierName()
return "modifier_imba_tower_toughness_aura"
end
-- Tower Aura
modifier_imba_tower_toughness_aura = modifier_imba_tower_toughness_aura or class({})
function modifier_imba_tower_toughness_aura:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
-- Ability specials
self.aura_radius = self.ability:GetSpecialValueFor("aura_radius")
self.aura_stickyness = self.ability:GetSpecialValueFor("aura_stickyness")
end
function modifier_imba_tower_toughness_aura:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_toughness_aura:GetAuraDuration()
return self.aura_stickyness
end
function modifier_imba_tower_toughness_aura:GetAuraRadius()
return self.aura_radius
end
function modifier_imba_tower_toughness_aura:GetAuraSearchFlags()
return DOTA_UNIT_TARGET_FLAG_PLAYER_CONTROLLED
end
function modifier_imba_tower_toughness_aura:GetAuraSearchTeam()
return DOTA_UNIT_TARGET_TEAM_FRIENDLY
end
function modifier_imba_tower_toughness_aura:GetAuraSearchType()
return DOTA_UNIT_TARGET_HERO + DOTA_UNIT_TARGET_BASIC
end
function modifier_imba_tower_toughness_aura:GetModifierAura()
return "modifier_imba_tower_toughness_aura_buff"
end
function modifier_imba_tower_toughness_aura:IsAura()
return true
end
function modifier_imba_tower_toughness_aura:IsDebuff()
return false
end
function modifier_imba_tower_toughness_aura:IsHidden()
return true
end
-- Health increase Modifier
modifier_imba_tower_toughness_aura_buff = modifier_imba_tower_toughness_aura_buff or class({})
function modifier_imba_tower_toughness_aura_buff:OnCreated()
if string.find(self:GetParent():GetUnitName(), "npc_dota_lone_druid_bear") then return end
if not self:GetParent():IsRealHero() then self:Destroy() return end
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
if self:GetParent():GetUnitName() == "npc_dota_courier" then
return nil
end
-- Ability specials
self.bonus_health = self.ability:GetSpecialValueFor("bonus_health")
self.health_per_protective = self.ability:GetSpecialValueFor("health_per_protective")
if IsServer() then
-- Start thinking
self:StartIntervalThink(0.2)
end
end
function modifier_imba_tower_toughness_aura_buff:OnIntervalThink()
if IsServer() then
if not self:GetParent():IsNull() then
self:GetParent():CalculateStatBonus()
end
end
end
function modifier_imba_tower_toughness_aura_buff:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_toughness_aura_buff:IsHidden()
return false
end
function modifier_imba_tower_toughness_aura_buff:DeclareFunctions()
local decFuncs = {MODIFIER_PROPERTY_HEALTH_BONUS}
return decFuncs
end
function modifier_imba_tower_toughness_aura_buff:GetModifierHealthBonus()
local protective_instinct_stacks = self.caster:GetModifierStackCount("modifier_imba_tower_protective_instinct", self.caster)
return self.bonus_health + self.health_per_protective * protective_instinct_stacks
end
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
-- Tower's Sniper Aura
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
imba_tower_sniper = imba_tower_sniper or class({})
LinkLuaModifier("modifier_imba_tower_sniper_aura", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
LinkLuaModifier("modifier_imba_tower_sniper_aura_buff", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
function imba_tower_sniper:GetAbilityTextureName()
return "sniper_assassinate"
end
function imba_tower_sniper:GetIntrinsicModifierName()
return "modifier_imba_tower_sniper_aura"
end
-- Tower Aura
modifier_imba_tower_sniper_aura = modifier_imba_tower_sniper_aura or class({})
function modifier_imba_tower_sniper_aura:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
-- Ability specials
self.aura_radius = self.ability:GetSpecialValueFor("aura_radius")
self.aura_stickyness = self.ability:GetSpecialValueFor("aura_stickyness")
end
function modifier_imba_tower_sniper_aura:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_sniper_aura:GetAuraDuration()
return self.aura_stickyness
end
function modifier_imba_tower_sniper_aura:GetAuraRadius()
return self.aura_radius
end
function modifier_imba_tower_sniper_aura:GetAuraSearchFlags()
return DOTA_UNIT_TARGET_FLAG_PLAYER_CONTROLLED
end
function modifier_imba_tower_sniper_aura:GetAuraSearchTeam()
return DOTA_UNIT_TARGET_TEAM_FRIENDLY
end
function modifier_imba_tower_sniper_aura:GetAuraSearchType()
return DOTA_UNIT_TARGET_HERO + DOTA_UNIT_TARGET_BASIC
end
function modifier_imba_tower_sniper_aura:GetModifierAura()
return "modifier_imba_tower_sniper_aura_buff"
end
function modifier_imba_tower_sniper_aura:IsAura()
return true
end
function modifier_imba_tower_sniper_aura:IsDebuff()
return false
end
function modifier_imba_tower_sniper_aura:IsHidden()
return true
end
-- Attack range Modifier
modifier_imba_tower_sniper_aura_buff = modifier_imba_tower_sniper_aura_buff or class({})
function modifier_imba_tower_sniper_aura_buff:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
-- Ability specials
self.bonus_range = self.ability:GetSpecialValueFor("bonus_range")
self.range_per_protective = self.ability:GetSpecialValueFor("range_per_protective")
end
function modifier_imba_tower_sniper_aura_buff:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_sniper_aura_buff:IsHidden()
return false
end
function modifier_imba_tower_sniper_aura_buff:DeclareFunctions()
local decFuncs = {MODIFIER_PROPERTY_ATTACK_RANGE_BONUS}
return decFuncs
end
function modifier_imba_tower_sniper_aura_buff:GetModifierAttackRangeBonus()
local protective_instinct_stacks = self.caster:GetModifierStackCount("modifier_imba_tower_protective_instinct", self.caster)
return self.bonus_range + self.range_per_protective * protective_instinct_stacks
end
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
-- Tower's Splash Aura
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
imba_tower_splash_fire = imba_tower_splash_fire or class({})
LinkLuaModifier("modifier_imba_tower_splash_fire_aura", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
LinkLuaModifier("modifier_imba_tower_splash_fire_aura_buff", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
function imba_tower_splash_fire:GetAbilityTextureName()
return "custom/tower_explosion"
end
function imba_tower_splash_fire:GetIntrinsicModifierName()
return "modifier_imba_tower_splash_fire_aura"
end
-- Tower Aura
modifier_imba_tower_splash_fire_aura = modifier_imba_tower_splash_fire_aura or class({})
function modifier_imba_tower_splash_fire_aura:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
-- Ability specials
self.aura_radius = self.ability:GetSpecialValueFor("aura_radius")
self.aura_stickyness = self.ability:GetSpecialValueFor("aura_stickyness")
end
function modifier_imba_tower_splash_fire_aura:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_splash_fire_aura:GetAuraDuration()
return self.aura_stickyness
end
function modifier_imba_tower_splash_fire_aura:GetAuraRadius()
return self.aura_radius
end
function modifier_imba_tower_splash_fire_aura:GetAuraSearchFlags()
return DOTA_UNIT_TARGET_FLAG_PLAYER_CONTROLLED
end
function modifier_imba_tower_splash_fire_aura:GetAuraSearchTeam()
return DOTA_UNIT_TARGET_TEAM_FRIENDLY
end
function modifier_imba_tower_splash_fire_aura:GetAuraSearchType()
return DOTA_UNIT_TARGET_HERO + DOTA_UNIT_TARGET_BASIC
end
function modifier_imba_tower_splash_fire_aura:GetModifierAura()
return "modifier_imba_tower_splash_fire_aura_buff"
end
function modifier_imba_tower_splash_fire_aura:IsAura()
return true
end
function modifier_imba_tower_splash_fire_aura:IsDebuff()
return false
end
function modifier_imba_tower_splash_fire_aura:IsHidden()
return true
end
-- Splash attack Modifier
modifier_imba_tower_splash_fire_aura_buff = modifier_imba_tower_splash_fire_aura_buff or class({})
function modifier_imba_tower_splash_fire_aura_buff:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
self.parent = self:GetParent()
self.particle_explosion = "particles/ambient/tower_salvo_explosion.vpcf"
-- Ability specials
self.splash_damage_pct = self.ability:GetSpecialValueFor("splash_damage_pct")
self.bonus_splash_per_protective = self.ability:GetSpecialValueFor("bonus_splash_per_protective")
self.splash_radius = self.ability:GetSpecialValueFor("splash_radius")
end
function modifier_imba_tower_splash_fire_aura_buff:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_splash_fire_aura_buff:IsHidden()
return false
end
function modifier_imba_tower_splash_fire_aura_buff:DeclareFunctions()
local decFuncs = {MODIFIER_EVENT_ON_ATTACK_LANDED}
return decFuncs
end
function modifier_imba_tower_splash_fire_aura_buff:OnAttackLanded( keys )
if IsServer() then
local target = keys.target --victim
local attacker = keys.attacker --attacker
local damage = keys.damage
-- Only apply if the attacker is the parent of the buff, and the victim is on the opposing team.
if self.parent == attacker and self.parent:GetTeamNumber() ~= target:GetTeamNumber() then
-- Add explosion particle
local explosion_pfx = ParticleManager:CreateParticle(self.particle_explosion, PATTACH_ABSORIGIN, target)
ParticleManager:SetParticleControl(explosion_pfx, 0, target:GetAbsOrigin())
ParticleManager:SetParticleControl(explosion_pfx, 3, target:GetAbsOrigin())
ParticleManager:ReleaseParticleIndex(explosion_pfx)
-- Calculate bonus damage
local protective_instinct_stacks = self.caster:GetModifierStackCount("modifier_imba_tower_protective_instinct", self.caster)
local splash_damage = damage * ((self.splash_damage_pct + self.bonus_splash_per_protective * protective_instinct_stacks) * 0.01)
-- Apply bonus damage on every enemy EXCEPT the main target
local enemy_units = FindUnitsInRadius(self.parent:GetTeamNumber(),
target:GetAbsOrigin(),
nil,
self.splash_radius,
DOTA_UNIT_TARGET_TEAM_ENEMY,
DOTA_UNIT_TARGET_HERO + DOTA_UNIT_TARGET_BASIC,
DOTA_UNIT_TARGET_FLAG_NONE,
FIND_ANY_ORDER,
false)
for _,enemy in pairs(enemy_units) do
if enemy ~= target then
local damageTable = {victim = enemy,
attacker = self.parent,
damage = splash_damage,
damage_type = DAMAGE_TYPE_PHYSICAL,
ability = self.ability
}
ApplyDamage(damageTable)
end
end
end
end
end
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
-- Tower's Replenishment Aura
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
imba_tower_replenishment = imba_tower_replenishment or class({})
LinkLuaModifier("modifier_imba_tower_replenishment_aura", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
LinkLuaModifier("modifier_imba_tower_replenishment_aura_buff", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
function imba_tower_replenishment:GetAbilityTextureName()
return "keeper_of_the_light_chakra_magic"
end
function imba_tower_replenishment:GetIntrinsicModifierName()
return "modifier_imba_tower_replenishment_aura"
end
-- Tower Aura
modifier_imba_tower_replenishment_aura = modifier_imba_tower_replenishment_aura or class({})
function modifier_imba_tower_replenishment_aura:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
-- Ability specials
self.aura_radius = self.ability:GetSpecialValueFor("aura_radius")
self.aura_stickyness = self.ability:GetSpecialValueFor("aura_stickyness")
end
function modifier_imba_tower_replenishment_aura:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_replenishment_aura:GetAuraDuration()
return self.aura_stickyness
end
function modifier_imba_tower_replenishment_aura:GetAuraRadius()
return self.aura_radius
end
function modifier_imba_tower_replenishment_aura:GetAuraSearchFlags()
return DOTA_UNIT_TARGET_FLAG_PLAYER_CONTROLLED
end
function modifier_imba_tower_replenishment_aura:GetAuraSearchTeam()
return DOTA_UNIT_TARGET_TEAM_FRIENDLY
end
function modifier_imba_tower_replenishment_aura:GetAuraSearchType()
return DOTA_UNIT_TARGET_HERO + DOTA_UNIT_TARGET_BASIC
end
function modifier_imba_tower_replenishment_aura:GetModifierAura()
return "modifier_imba_tower_replenishment_aura_buff"
end
function modifier_imba_tower_replenishment_aura:IsAura()
return true
end
function modifier_imba_tower_replenishment_aura:IsDebuff()
return false
end
function modifier_imba_tower_replenishment_aura:IsHidden()
return true
end
-- Cooldown reduction Modifier
modifier_imba_tower_replenishment_aura_buff = modifier_imba_tower_replenishment_aura_buff or class({})
function modifier_imba_tower_replenishment_aura_buff:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
-- Ability specials
self.cooldown_reduction_pct = self.ability:GetSpecialValueFor("cooldown_reduction_pct")
self.bonus_cooldown_reduction = self.ability:GetSpecialValueFor("bonus_cooldown_reduction")
end
function modifier_imba_tower_replenishment_aura_buff:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_replenishment_aura_buff:IsHidden()
return false
end
function modifier_imba_tower_replenishment_aura_buff:GetCustomCooldownReductionStacking()
local protective_instinct_stacks = self.caster:GetModifierStackCount("modifier_imba_tower_protective_instinct", self.caster)
return self.cooldown_reduction_pct + self.bonus_cooldown_reduction * protective_instinct_stacks
end
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
-- Tower's Observatory Vision
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
imba_tower_observatory = imba_tower_observatory or class({})
LinkLuaModifier("modifier_imba_tower_observatory_vision", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
function imba_tower_observatory:GetIntrinsicModifierName()
return "modifier_imba_tower_observatory_vision"
end
function imba_tower_observatory:GetAbilityTextureName()
return "custom/tower_observatory"
end
-- unobstructed vision modifier
modifier_imba_tower_observatory_vision = modifier_imba_tower_observatory_vision or class({})
function modifier_imba_tower_observatory_vision:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
-- Ability specials
self.additional_vision_per_hero = self.ability:GetSpecialValueFor("additional_vision_per_hero")
end
function modifier_imba_tower_observatory_vision:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_observatory_vision:IsHidden()
return false
end
function modifier_imba_tower_observatory_vision:CheckState()
local state = {[MODIFIER_STATE_FLYING] = true,
[MODIFIER_STATE_ROOTED] = true}
return state
end
function modifier_imba_tower_observatory_vision:DeclareFunctions()
local decFuncs = {MODIFIER_PROPERTY_BONUS_DAY_VISION,
MODIFIER_PROPERTY_BONUS_NIGHT_VISION}
return decFuncs
end
function modifier_imba_tower_observatory_vision:GetBonusDayVision()
local protective_instinct_stacks = self.caster:GetModifierStackCount("modifier_imba_tower_protective_instinct", self.caster)
local bonus_vision = self.additional_vision_per_hero * protective_instinct_stacks
return bonus_vision
end
function modifier_imba_tower_observatory_vision:GetBonusNightVision()
local protective_instinct_stacks = self.caster:GetModifierStackCount("modifier_imba_tower_protective_instinct", self.caster)
local bonus_vision = self.additional_vision_per_hero * protective_instinct_stacks
return bonus_vision
end
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
-- Tower's Spell Shield Aura
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
imba_tower_spell_shield = imba_tower_spell_shield or class({})
LinkLuaModifier("modifier_imba_tower_spell_shield_aura", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
LinkLuaModifier("modifier_imba_tower_spell_shield_aura_buff", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
function imba_tower_spell_shield:GetAbilityTextureName()
return "custom/tower_spellshield"
end
function imba_tower_spell_shield:GetIntrinsicModifierName()
return "modifier_imba_tower_spell_shield_aura"
end
-- Tower Aura
modifier_imba_tower_spell_shield_aura = modifier_imba_tower_spell_shield_aura or class({})
function modifier_imba_tower_spell_shield_aura:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
-- Ability specials
self.aura_radius = self.ability:GetSpecialValueFor("aura_radius")
self.aura_stickyness = self.ability:GetSpecialValueFor("aura_stickyness")
end
function modifier_imba_tower_spell_shield_aura:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_spell_shield_aura:GetAuraDuration()
return self.aura_stickyness
end
function modifier_imba_tower_spell_shield_aura:GetAuraRadius()
return self.aura_radius
end
function modifier_imba_tower_spell_shield_aura:GetAuraSearchFlags()
return DOTA_UNIT_TARGET_FLAG_PLAYER_CONTROLLED
end
function modifier_imba_tower_spell_shield_aura:GetAuraSearchTeam()
return DOTA_UNIT_TARGET_TEAM_FRIENDLY
end
function modifier_imba_tower_spell_shield_aura:GetAuraSearchType()
return DOTA_UNIT_TARGET_HERO + DOTA_UNIT_TARGET_BASIC
end
function modifier_imba_tower_spell_shield_aura:GetModifierAura()
return "modifier_imba_tower_spell_shield_aura_buff"
end
function modifier_imba_tower_spell_shield_aura:IsAura()
return true
end
function modifier_imba_tower_spell_shield_aura:IsDebuff()
return false
end
function modifier_imba_tower_spell_shield_aura:IsHidden()
return true
end
-- Attack range Modifier
modifier_imba_tower_spell_shield_aura_buff = modifier_imba_tower_spell_shield_aura_buff or class({})
function modifier_imba_tower_spell_shield_aura_buff:OnCreated( ... )
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
-- Ability specials
self.magic_resistance = self.ability:GetSpecialValueFor("magic_resistance")
self.bonus_mr_per_protective = self.ability:GetSpecialValueFor("bonus_mr_per_protective")
end
function modifier_imba_tower_spell_shield_aura_buff:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_spell_shield_aura_buff:IsHidden()
return false
end
function modifier_imba_tower_spell_shield_aura_buff:DeclareFunctions()
local decFuncs = {MODIFIER_PROPERTY_MAGICAL_RESISTANCE_BONUS}
return decFuncs
end
function modifier_imba_tower_spell_shield_aura_buff:GetModifierMagicalResistanceBonus()
local protective_instinct_stacks = self.caster:GetModifierStackCount("modifier_imba_tower_protective_instinct", self.caster)
return self.magic_resistance + self.bonus_mr_per_protective * protective_instinct_stacks
end
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
-- Tower's Mana Burn Aura
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
imba_tower_mana_burn = imba_tower_mana_burn or class({})
LinkLuaModifier("modifier_imba_tower_mana_burn_aura", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
LinkLuaModifier("modifier_imba_tower_mana_burn_aura_buff", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
function imba_tower_mana_burn:GetAbilityTextureName()
return "custom/tower_mana_burn"
end
function imba_tower_mana_burn:GetIntrinsicModifierName()
return "modifier_imba_tower_mana_burn_aura"
end
-- Tower Aura
modifier_imba_tower_mana_burn_aura = modifier_imba_tower_mana_burn_aura or class({})
function modifier_imba_tower_mana_burn_aura:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
-- Ability specials
self.aura_radius = self.ability:GetSpecialValueFor("aura_radius")
self.aura_stickyness = self.ability:GetSpecialValueFor("aura_stickyness")
end
function modifier_imba_tower_mana_burn_aura:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_mana_burn_aura:GetAuraDuration()
return self.aura_stickyness
end
function modifier_imba_tower_mana_burn_aura:GetAuraRadius()
return self.aura_radius
end
function modifier_imba_tower_mana_burn_aura:GetAuraSearchFlags()
return DOTA_UNIT_TARGET_FLAG_PLAYER_CONTROLLED
end
function modifier_imba_tower_mana_burn_aura:GetAuraSearchTeam()
return DOTA_UNIT_TARGET_TEAM_FRIENDLY
end
function modifier_imba_tower_mana_burn_aura:GetAuraSearchType()
return DOTA_UNIT_TARGET_HERO + DOTA_UNIT_TARGET_BASIC
end
function modifier_imba_tower_mana_burn_aura:GetModifierAura()
return "modifier_imba_tower_mana_burn_aura_buff"
end
function modifier_imba_tower_mana_burn_aura:IsAura()
return true
end
function modifier_imba_tower_mana_burn_aura:IsDebuff()
return false
end
function modifier_imba_tower_mana_burn_aura:IsHidden()
return true
end
-- Mana Burn damage Modifier
modifier_imba_tower_mana_burn_aura_buff = modifier_imba_tower_mana_burn_aura_buff or class({})
function modifier_imba_tower_mana_burn_aura_buff:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.parent = self:GetParent()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
self.particle_mana_burn = "particles/generic_gameplay/generic_manaburn.vpcf"
-- Ability specials
self.mana_burn = self.ability:GetSpecialValueFor("mana_burn")
self.additional_burn_per_hero = self.ability:GetSpecialValueFor("additional_burn_per_hero")
self.mana_burn_damage_pct = self.ability:GetSpecialValueFor("mana_burn_damage_pct")
self.illusion_mana_burn_pct = self.ability:GetSpecialValueFor("illusion_mana_burn_pct")
end
function modifier_imba_tower_mana_burn_aura_buff:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_mana_burn_aura_buff:IsHidden()
return false
end
function modifier_imba_tower_mana_burn_aura_buff:DeclareFunctions()
local decFuncs = {MODIFIER_EVENT_ON_ATTACK_LANDED}
return decFuncs
end
function modifier_imba_tower_mana_burn_aura_buff:OnAttackLanded( keys )
if IsServer() then
local attacker = keys.attacker
local target = keys.target
local protective_instinct_stacks = self.caster:GetModifierStackCount("modifier_imba_tower_protective_instinct", self.caster)
-- Only apply if the parent is the attacker and the victim is on the opposite team
if self.parent == attacker and attacker:GetTeamNumber() ~= target:GetTeamNumber() then
-- Only applies on non spell immune enemies
if not target:IsMagicImmune() then
-- Create mana burn effect
local particle_mana_burn_fx = ParticleManager:CreateParticle(self.particle_mana_burn, PATTACH_ABSORIGIN, target)
ParticleManager:SetParticleControl(particle_mana_burn_fx, 0, target:GetAbsOrigin())
ParticleManager:ReleaseParticleIndex(particle_mana_burn_fx)
-- Calculate mana burn efficiency
local target_current_mana = target:GetMana()
local mana_burn_total = self.mana_burn + self.additional_burn_per_hero * protective_instinct_stacks
-- Reduce mana burn and damage to the target's mana if it goes over his current mana
if target:GetMana() < mana_burn_total then
mana_burn_total = target_current_mana
end
-- Illusions burn mana on a much lower value
if attacker:IsIllusion() then
mana_burn_total = mana_burn_total * (self.illusion_mana_burn_pct * 0.01)
end
-- Calculate damage based on taget's current mana
local mana_burn_damage = mana_burn_total * (self.mana_burn_damage_pct * 0.01)
-- Burn target's mana
target:ReduceMana(mana_burn_total)
-- Apply damage
local damageTable = {victim = target,
attacker = self.parent,
damage = mana_burn_damage,
damage_type = DAMAGE_TYPE_MAGICAL,
ability = self.ability}
ApplyDamage(damageTable)
end
end
end
end
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
-- Tower's Bash Aura
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
imba_tower_permabash = imba_tower_permabash or class({})
LinkLuaModifier("modifier_imba_tower_permabash_aura", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
LinkLuaModifier("modifier_imba_tower_permabash_aura_buff", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
LinkLuaModifier("modifier_imba_tower_permabash_stun", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
function imba_tower_permabash:GetIntrinsicModifierName()
return "modifier_imba_tower_permabash_aura"
end
function imba_tower_permabash:GetAbilityTextureName()
return "custom/tower_bash"
end
-- Tower Aura
modifier_imba_tower_permabash_aura = modifier_imba_tower_permabash_aura or class({})
function modifier_imba_tower_permabash_aura:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
-- Ability specials
self.aura_radius = self.ability:GetSpecialValueFor("aura_radius")
self.aura_stickyness = self.ability:GetSpecialValueFor("aura_stickyness")
end
function modifier_imba_tower_permabash_aura:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_permabash_aura:GetAuraDuration()
return self.aura_stickyness
end
function modifier_imba_tower_permabash_aura:GetAuraRadius()
return self.aura_radius
end
function modifier_imba_tower_permabash_aura:GetAuraSearchFlags()
return DOTA_UNIT_TARGET_FLAG_PLAYER_CONTROLLED
end
function modifier_imba_tower_permabash_aura:GetAuraSearchTeam()
return DOTA_UNIT_TARGET_TEAM_FRIENDLY
end
function modifier_imba_tower_permabash_aura:GetAuraSearchType()
return DOTA_UNIT_TARGET_HERO + DOTA_UNIT_TARGET_BASIC
end
function modifier_imba_tower_permabash_aura:GetModifierAura()
return "modifier_imba_tower_permabash_aura_buff"
end
function modifier_imba_tower_permabash_aura:IsAura()
return true
end
function modifier_imba_tower_permabash_aura:IsDebuff()
return false
end
function modifier_imba_tower_permabash_aura:IsHidden()
return true
end
-- Bash Modifier
modifier_imba_tower_permabash_aura_buff = modifier_imba_tower_permabash_aura_buff or class({})
function modifier_imba_tower_permabash_aura_buff:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
self.parent = self:GetParent()
self.modifier_bash = "modifier_imba_tower_permabash_stun"
-- Ability specials
self.bash_damage = self.ability:GetSpecialValueFor("bash_damage")
self.bash_duration = self.ability:GetSpecialValueFor("bash_duration")
self.bash_damage_per_protective = self.ability:GetSpecialValueFor("bash_damage_per_protective")
self.bash_chance = self.ability:GetSpecialValueFor("bash_chance")
end
function modifier_imba_tower_permabash_aura_buff:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_permabash_aura_buff:IsHidden()
return false
end
function modifier_imba_tower_permabash_aura_buff:DeclareFunctions()
local decFuncs = {MODIFIER_EVENT_ON_ATTACK_LANDED}
return decFuncs
end
function modifier_imba_tower_permabash_aura_buff:OnAttackLanded( keys )
if IsServer() then
local attacker = keys.attacker
local target = keys.target
local protective_instinct_stacks = self.caster:GetModifierStackCount("modifier_imba_tower_protective_instinct", self.caster)
-- Only apply if the parent is the victim and the attacker is on the opposite team
if self.parent == attacker and attacker:GetTeamNumber() ~= target:GetTeamNumber() then
if RollPseudoRandom(self.bash_chance, self) then
target:AddNewModifier(self.caster, self.ability, self.modifier_bash, {duration = self.bash_duration})
-- Calculate damage
local bash_damage_total = self.bash_damage + self.bash_damage_per_protective * protective_instinct_stacks
-- Apply damage
local damageTable = {victim = target,
attacker = attacker,
damage = bash_damage_total,
damage_type = DAMAGE_TYPE_PHYSICAL,
ability = self.ability}
ApplyDamage(damageTable)
end
end
end
end
-- Permabash stun modifier
modifier_imba_tower_permabash_stun = modifier_imba_tower_permabash_stun or class({})
function modifier_imba_tower_permabash_stun:CheckState()
local state = {[MODIFIER_STATE_STUNNED] = true}
return state
end
function modifier_imba_tower_permabash_stun:GetEffectName()
return "particles/generic_gameplay/generic_stunned.vpcf"
end
function modifier_imba_tower_permabash_stun:GetEffectAttachType()
return PATTACH_OVERHEAD_FOLLOW
end
function modifier_imba_tower_permabash_stun:IsHidden() return false end
function modifier_imba_tower_permabash_stun:IsPurgable() return false end
function modifier_imba_tower_permabash_stun:IsDebuff() return false end
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
-- Tower's Vicious Aura
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
imba_tower_vicious = imba_tower_vicious or class({})
LinkLuaModifier("modifier_imba_tower_vicious_aura", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
LinkLuaModifier("modifier_imba_tower_vicious_aura_buff", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
function imba_tower_vicious:GetAbilityTextureName()
return "custom/tower_vicious"
end
function imba_tower_vicious:GetIntrinsicModifierName()
return "modifier_imba_tower_vicious_aura"
end
-- Tower Aura
modifier_imba_tower_vicious_aura = modifier_imba_tower_vicious_aura or class({})
function modifier_imba_tower_vicious_aura:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
-- Ability specials
self.aura_radius = self.ability:GetSpecialValueFor("aura_radius")
self.aura_stickyness = self.ability:GetSpecialValueFor("aura_stickyness")
end
function modifier_imba_tower_vicious_aura:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_vicious_aura:GetAuraDuration()
return self.aura_stickyness
end
function modifier_imba_tower_vicious_aura:GetAuraRadius()
return self.aura_radius
end
function modifier_imba_tower_vicious_aura:GetAuraSearchFlags()
return DOTA_UNIT_TARGET_FLAG_PLAYER_CONTROLLED
end
function modifier_imba_tower_vicious_aura:GetAuraSearchTeam()
return DOTA_UNIT_TARGET_TEAM_FRIENDLY
end
function modifier_imba_tower_vicious_aura:GetAuraSearchType()
return DOTA_UNIT_TARGET_HERO + DOTA_UNIT_TARGET_BASIC
end
function modifier_imba_tower_vicious_aura:GetModifierAura()
return "modifier_imba_tower_vicious_aura_buff"
end
function modifier_imba_tower_vicious_aura:IsAura()
return true
end
function modifier_imba_tower_vicious_aura:IsDebuff()
return false
end
function modifier_imba_tower_vicious_aura:IsHidden()
return true
end
-- Critical Modifier
modifier_imba_tower_vicious_aura_buff = modifier_imba_tower_vicious_aura_buff or class({})
function modifier_imba_tower_vicious_aura_buff:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
self.parent = self:GetParent()
-- Ability specials
self.crit_damage = self.ability:GetSpecialValueFor("crit_damage")
self.crit_chance_per_protective = self.ability:GetSpecialValueFor("crit_chance_per_protective")
self.crit_chance = self.ability:GetSpecialValueFor("crit_chance")
end
function modifier_imba_tower_vicious_aura_buff:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_vicious_aura_buff:IsHidden()
return false
end
function modifier_imba_tower_vicious_aura_buff:DeclareFunctions()
local decFuncs = {MODIFIER_PROPERTY_PREATTACK_CRITICALSTRIKE}
return decFuncs
end
function modifier_imba_tower_vicious_aura_buff:GetModifierPreAttack_CriticalStrike()
if IsServer() then
local protective_instinct_stacks = self.caster:GetModifierStackCount("modifier_imba_tower_protective_instinct", self.caster)
-- Calculate crit chance
local true_crit_chance = self.crit_chance + self.crit_chance_per_protective * protective_instinct_stacks
if RollPseudoRandom(true_crit_chance, self) then
return self.crit_damage
else
return nil
end
end
end
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
-- Tower's Spellmastery Aura
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
imba_tower_spellmastery = imba_tower_spellmastery or class({})
LinkLuaModifier("modifier_imba_tower_spellmastery_aura", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
LinkLuaModifier("modifier_imba_tower_spellmastery_aura_buff", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
function imba_tower_spellmastery:GetAbilityTextureName()
return "custom/tower_spellmastery"
end
function imba_tower_spellmastery:GetIntrinsicModifierName()
return "modifier_imba_tower_spellmastery_aura"
end
-- Tower Aura
modifier_imba_tower_spellmastery_aura = modifier_imba_tower_spellmastery_aura or class({})
function modifier_imba_tower_spellmastery_aura:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
-- Ability specials
self.aura_radius = self.ability:GetSpecialValueFor("aura_radius")
self.aura_stickyness = self.ability:GetSpecialValueFor("aura_stickyness")
end
function modifier_imba_tower_spellmastery_aura:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_spellmastery_aura:GetAuraDuration()
return self.aura_stickyness
end
function modifier_imba_tower_spellmastery_aura:GetAuraRadius()
return self.aura_radius
end
function modifier_imba_tower_spellmastery_aura:GetAuraSearchFlags()
return DOTA_UNIT_TARGET_FLAG_PLAYER_CONTROLLED
end
function modifier_imba_tower_spellmastery_aura:GetAuraSearchTeam()
return DOTA_UNIT_TARGET_TEAM_FRIENDLY
end
function modifier_imba_tower_spellmastery_aura:GetAuraSearchType()
return DOTA_UNIT_TARGET_HERO + DOTA_UNIT_TARGET_BASIC
end
function modifier_imba_tower_spellmastery_aura:GetModifierAura()
return "modifier_imba_tower_spellmastery_aura_buff"
end
function modifier_imba_tower_spellmastery_aura:IsAura()
return true
end
function modifier_imba_tower_spellmastery_aura:IsDebuff()
return false
end
function modifier_imba_tower_spellmastery_aura:IsHidden()
return true
end
-- Spell amp/cast range Modifier
modifier_imba_tower_spellmastery_aura_buff = modifier_imba_tower_spellmastery_aura_buff or class({})
function modifier_imba_tower_spellmastery_aura_buff:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
self.parent = self:GetParent()
-- Ability specials
self.spellamp_bonus = self.ability:GetSpecialValueFor("spellamp_bonus")
self.spellamp_per_protective = self.ability:GetSpecialValueFor("spellamp_per_protective")
self.cast_range_bonus = self.ability:GetSpecialValueFor("cast_range_bonus")
end
function modifier_imba_tower_spellmastery_aura_buff:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_spellmastery_aura_buff:IsHidden()
return false
end
function modifier_imba_tower_spellmastery_aura_buff:DeclareFunctions()
local decFuncs = {MODIFIER_PROPERTY_SPELL_AMPLIFY_PERCENTAGE,
MODIFIER_PROPERTY_CAST_RANGE_BONUS_STACKING}
return decFuncs
end
function modifier_imba_tower_spellmastery_aura_buff:GetModifierSpellAmplify_Percentage()
local protective_instinct_stacks = self.caster:GetModifierStackCount("modifier_imba_tower_protective_instinct", self.caster)
local spellamp = self.spellamp_bonus + self.spellamp_per_protective * protective_instinct_stacks
return spellamp
end
function modifier_imba_tower_spellmastery_aura_buff:GetModifierCastRangeBonusStacking()
return self.cast_range_bonus
end
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
-- Tower's Plague Aura
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
imba_tower_plague = imba_tower_plague or class({})
LinkLuaModifier("modifier_imba_tower_plague_aura", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
LinkLuaModifier("modifier_imba_tower_plague_aura_debuff", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
function imba_tower_plague:GetAbilityTextureName()
return "custom/tower_rot"
end
function imba_tower_plague:GetIntrinsicModifierName()
return "modifier_imba_tower_plague_aura"
end
-- Tower Aura
modifier_imba_tower_plague_aura = modifier_imba_tower_plague_aura or class({})
function modifier_imba_tower_plague_aura:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
self.particle_rot = "particles/hero/tower/plague_tower_aura.vpcf"
-- Ability specials
self.aura_radius = self.ability:GetSpecialValueFor("aura_radius")
if not self.particle_rot_fx then
-- Apply particles
self.particle_rot_fx = ParticleManager:CreateParticle(self.particle_rot, PATTACH_ABSORIGIN, self.caster)
ParticleManager:SetParticleControl(self.particle_rot_fx, 0, self.caster:GetAbsOrigin())
ParticleManager:SetParticleControl(self.particle_rot_fx, 3, self.caster:GetAbsOrigin())
self:AddParticle(self.particle_rot_fx, false, false, -1, false, false)
end
end
function modifier_imba_tower_plague_aura:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_plague_aura:GetAuraRadius()
return self.aura_radius
end
function modifier_imba_tower_plague_aura:GetAuraSearchFlags()
return DOTA_UNIT_TARGET_FLAG_NONE
end
function modifier_imba_tower_plague_aura:GetAuraSearchTeam()
return DOTA_UNIT_TARGET_TEAM_ENEMY
end
function modifier_imba_tower_plague_aura:GetAuraSearchType()
return DOTA_UNIT_TARGET_HERO + DOTA_UNIT_TARGET_BASIC
end
function modifier_imba_tower_plague_aura:GetModifierAura()
return "modifier_imba_tower_plague_aura_debuff"
end
function modifier_imba_tower_plague_aura:IsAura()
return true
end
function modifier_imba_tower_plague_aura:IsDebuff()
return false
end
function modifier_imba_tower_plague_aura:IsHidden()
return true
end
-- Attack Speed/Move speed slow Modifier
modifier_imba_tower_plague_aura_debuff = modifier_imba_tower_plague_aura_debuff or class({})
function modifier_imba_tower_plague_aura_debuff:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
-- Ability specials
self.ms_slow = self.ability:GetSpecialValueFor("ms_slow")
self.additional_slow_per_protective = self.ability:GetSpecialValueFor("additional_slow_per_protective")
self.as_slow = self.ability:GetSpecialValueFor("as_slow")
end
function modifier_imba_tower_plague_aura_debuff:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_plague_aura_debuff:IsHidden()
return false
end
function modifier_imba_tower_plague_aura_debuff:DeclareFunctions()
local decFuncs = {MODIFIER_PROPERTY_MOVESPEED_BONUS_PERCENTAGE,
MODIFIER_PROPERTY_ATTACKSPEED_BONUS_CONSTANT}
return decFuncs
end
function modifier_imba_tower_plague_aura_debuff:GetModifierMoveSpeedBonus_Percentage()
local protective_instinct_stacks = self.caster:GetModifierStackCount("modifier_imba_tower_protective_instinct", self.caster)
local ms_slow_total = self.ms_slow + self.additional_slow_per_protective * protective_instinct_stacks
return ms_slow_total
end
function modifier_imba_tower_plague_aura_debuff:GetModifierAttackSpeedBonus_Constant()
local protective_instinct_stacks = self.caster:GetModifierStackCount("modifier_imba_tower_protective_instinct", self.caster)
local as_slow_total = self.as_slow + self.additional_slow_per_protective * protective_instinct_stacks
return as_slow_total
end
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
-- Tower's Atrophy Aura
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
imba_tower_atrophy = imba_tower_atrophy or class({})
LinkLuaModifier("modifier_imba_tower_atrophy_aura", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
LinkLuaModifier("modifier_imba_tower_atrophy_aura_debuff", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
function imba_tower_atrophy:GetAbilityTextureName()
return "custom/tower_atrophy"
end
function imba_tower_atrophy:GetIntrinsicModifierName()
return "modifier_imba_tower_atrophy_aura"
end
-- Tower Aura
modifier_imba_tower_atrophy_aura = modifier_imba_tower_atrophy_aura or class({})
function modifier_imba_tower_atrophy_aura:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
-- Ability specials
self.aura_radius = self.ability:GetSpecialValueFor("aura_radius")
end
function modifier_imba_tower_atrophy_aura:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_atrophy_aura:GetAuraRadius()
return self.aura_radius
end
function modifier_imba_tower_atrophy_aura:GetAuraSearchFlags()
return DOTA_UNIT_TARGET_FLAG_NONE
end
function modifier_imba_tower_atrophy_aura:GetAuraSearchTeam()
return DOTA_UNIT_TARGET_TEAM_ENEMY
end
function modifier_imba_tower_atrophy_aura:GetAuraSearchType()
return DOTA_UNIT_TARGET_HERO + DOTA_UNIT_TARGET_BASIC
end
function modifier_imba_tower_atrophy_aura:GetModifierAura()
return "modifier_imba_tower_atrophy_aura_debuff"
end
function modifier_imba_tower_atrophy_aura:IsAura()
return true
end
function modifier_imba_tower_atrophy_aura:IsDebuff()
return false
end
function modifier_imba_tower_atrophy_aura:IsHidden()
return true
end
-- Attack damage reduction Modifier
modifier_imba_tower_atrophy_aura_debuff = modifier_imba_tower_atrophy_aura_debuff or class({})
function modifier_imba_tower_atrophy_aura_debuff:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
-- Ability specials
self.damage_reduction = self.ability:GetSpecialValueFor("damage_reduction")
self.additional_dr_per_protective = self.ability:GetSpecialValueFor("additional_dr_per_protective")
end
function modifier_imba_tower_atrophy_aura_debuff:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_atrophy_aura_debuff:IsHidden()
return false
end
function modifier_imba_tower_atrophy_aura_debuff:DeclareFunctions()
local decFuncs = {MODIFIER_PROPERTY_BASEDAMAGEOUTGOING_PERCENTAGE}
return decFuncs
end
function modifier_imba_tower_atrophy_aura_debuff:GetModifierBaseDamageOutgoing_Percentage()
local protective_instinct_stacks = self.caster:GetModifierStackCount("modifier_imba_tower_protective_instinct", self.caster)
local total_damage_reduction = self.damage_reduction + self.additional_dr_per_protective * protective_instinct_stacks
return total_damage_reduction
end
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
-- Tower's Regeneration Aura
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
imba_tower_regeneration = imba_tower_regeneration or class({})
LinkLuaModifier("modifier_imba_tower_regeneration_aura", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
LinkLuaModifier("modifier_imba_tower_regeneration_aura_buff", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
function imba_tower_regeneration:GetAbilityTextureName()
return "custom/tower_regen"
end
function imba_tower_regeneration:GetIntrinsicModifierName()
return "modifier_imba_tower_regeneration_aura"
end
-- Tower Aura
modifier_imba_tower_regeneration_aura = modifier_imba_tower_regeneration_aura or class({})
function modifier_imba_tower_regeneration_aura:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
-- Ability specials
self.aura_radius = self.ability:GetSpecialValueFor("aura_radius")
self.aura_stickyness = self.ability:GetSpecialValueFor("aura_stickyness")
end
function modifier_imba_tower_regeneration_aura:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_regeneration_aura:GetAuraDuration()
return self.aura_stickyness
end
function modifier_imba_tower_regeneration_aura:GetAuraRadius()
return self.aura_radius
end
function modifier_imba_tower_regeneration_aura:GetAuraSearchFlags()
return DOTA_UNIT_TARGET_FLAG_PLAYER_CONTROLLED
end
function modifier_imba_tower_regeneration_aura:GetAuraSearchTeam()
return DOTA_UNIT_TARGET_TEAM_FRIENDLY
end
function modifier_imba_tower_regeneration_aura:GetAuraSearchType()
return DOTA_UNIT_TARGET_HERO + DOTA_UNIT_TARGET_BASIC
end
function modifier_imba_tower_regeneration_aura:GetModifierAura()
return "modifier_imba_tower_regeneration_aura_buff"
end
function modifier_imba_tower_regeneration_aura:IsAura()
return true
end
function modifier_imba_tower_regeneration_aura:IsDebuff()
return false
end
function modifier_imba_tower_regeneration_aura:IsHidden()
return true
end
-- HP Regen Modifier
modifier_imba_tower_regeneration_aura_buff = modifier_imba_tower_regeneration_aura_buff or class({})
function modifier_imba_tower_regeneration_aura_buff:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
self.parent = self:GetParent()
-- Ability specials
self.hp_regen = self.ability:GetSpecialValueFor("hp_regen")
self.bonus_hp_regen_per_protective = self.ability:GetSpecialValueFor("bonus_hp_regen_per_protective")
end
function modifier_imba_tower_regeneration_aura_buff:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_regeneration_aura_buff:IsHidden()
return false
end
function modifier_imba_tower_regeneration_aura_buff:DeclareFunctions()
local decFuncs = {MODIFIER_PROPERTY_HEALTH_REGEN_PERCENTAGE}
return decFuncs
end
function modifier_imba_tower_regeneration_aura_buff:GetModifierHealthRegenPercentage()
local protective_instinct_stacks = self.caster:GetModifierStackCount("modifier_imba_tower_protective_instinct", self.caster)
local hp_regen_total = self.hp_regen + self.bonus_hp_regen_per_protective * protective_instinct_stacks
return hp_regen_total
end
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
-- Tower's Starlight Aura
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
imba_tower_starlight = imba_tower_starlight or class({})
LinkLuaModifier("modifier_imba_tower_starlight_aura", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
LinkLuaModifier("modifier_imba_tower_starlight_aura_buff", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
LinkLuaModifier("modifier_imba_tower_starlight_debuff", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
function imba_tower_starlight:GetAbilityTextureName()
return "custom/tower_starlight"
end
function imba_tower_starlight:GetIntrinsicModifierName()
return "modifier_imba_tower_starlight_aura"
end
-- Tower Aura
modifier_imba_tower_starlight_aura = modifier_imba_tower_starlight_aura or class({})
function modifier_imba_tower_starlight_aura:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
-- Ability specials
self.aura_radius = self.ability:GetSpecialValueFor("aura_radius")
self.aura_stickyness = self.ability:GetSpecialValueFor("aura_stickyness")
end
function modifier_imba_tower_starlight_aura:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_starlight_aura:GetAuraDuration()
return self.aura_stickyness
end
function modifier_imba_tower_starlight_aura:GetAuraRadius()
return self.aura_radius
end
function modifier_imba_tower_starlight_aura:GetAuraSearchFlags()
return DOTA_UNIT_TARGET_FLAG_PLAYER_CONTROLLED
end
function modifier_imba_tower_starlight_aura:GetAuraSearchTeam()
return DOTA_UNIT_TARGET_TEAM_FRIENDLY
end
function modifier_imba_tower_starlight_aura:GetAuraSearchType()
return DOTA_UNIT_TARGET_HERO + DOTA_UNIT_TARGET_BASIC
end
function modifier_imba_tower_starlight_aura:GetModifierAura()
return "modifier_imba_tower_starlight_aura_buff"
end
function modifier_imba_tower_starlight_aura:IsAura()
return true
end
function modifier_imba_tower_starlight_aura:IsDebuff()
return false
end
function modifier_imba_tower_starlight_aura:IsHidden()
return true
end
-- Blind infliction Modifier
modifier_imba_tower_starlight_aura_buff = modifier_imba_tower_starlight_aura_buff or class({})
function modifier_imba_tower_starlight_aura_buff:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
self.parent = self:GetParent()
self.modifier_blind = "modifier_imba_tower_starlight_debuff"
self.particle_beam = "particles/econ/items/luna/luna_lucent_ti5/luna_lucent_beam_impact_bits_ti_5.vpcf"
-- Ability specials
self.blind_duration = self.ability:GetSpecialValueFor("blind_duration")
self.blind_chance = self.ability:GetSpecialValueFor("blind_chance")
end
function modifier_imba_tower_starlight_aura_buff:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_starlight_aura_buff:IsHidden()
return false
end
function modifier_imba_tower_starlight_aura_buff:DeclareFunctions()
local decFuncs = {MODIFIER_EVENT_ON_ATTACK_LANDED}
return decFuncs
end
function modifier_imba_tower_starlight_aura_buff:OnAttackLanded(keys)
if IsServer() then
local attacker = keys.attacker
local target = keys.target
-- Only apply if the parent is the victim and the attacker is on the opposite team
if self.parent == attacker and attacker:GetTeamNumber() ~= target:GetTeamNumber() then
if RollPseudoRandom(self.blind_chance, self) then
-- Apply effect
local particle_beam_fx = ParticleManager:CreateParticle(self.particle_beam, PATTACH_ABSORIGIN_FOLLOW, target)
ParticleManager:SetParticleControl(particle_beam_fx, 0, target:GetAbsOrigin())
ParticleManager:SetParticleControl(particle_beam_fx, 1, target:GetAbsOrigin())
ParticleManager:ReleaseParticleIndex(particle_beam_fx)
-- Add blindness modifier
target:AddNewModifier(self.caster, self.ability, self.modifier_blind, {duration = self.blind_duration})
end
end
end
end
-- Blind debuff
modifier_imba_tower_starlight_debuff = modifier_imba_tower_starlight_debuff or class({})
function modifier_imba_tower_starlight_debuff:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
-- Ability specials
self.miss_chance = self.ability:GetSpecialValueFor("miss_chance")
self.additional_miss_per_protective = self.ability:GetSpecialValueFor("additional_miss_per_protective")
end
function modifier_imba_tower_starlight_debuff:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_starlight_debuff:IsHidden()
return false
end
function modifier_imba_tower_starlight_debuff:IsPurgable()
return true
end
function modifier_imba_tower_starlight_debuff:IsDebuff()
return true
end
function modifier_imba_tower_starlight_debuff:DeclareFunctions()
local decFuncs = {MODIFIER_PROPERTY_MISS_PERCENTAGE}
return decFuncs
end
function modifier_imba_tower_starlight_debuff:GetModifierMiss_Percentage()
local protective_instinct_stacks = self.caster:GetModifierStackCount("modifier_imba_tower_protective_instinct", self.caster)
-- Calculate miss chance
local total_miss_chance = self.miss_chance + self.additional_miss_per_protective * protective_instinct_stacks
return total_miss_chance
end
function modifier_imba_tower_starlight_debuff:GetEffectName()
return "particles/ambient/tower_laser_blind.vpcf"
end
function modifier_imba_tower_starlight_debuff:GetEffectAttachType()
return PATTACH_OVERHEAD_FOLLOW
end
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
-- Tower's Grievous Wounds Aura
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
imba_tower_grievous_wounds = imba_tower_grievous_wounds or class({})
LinkLuaModifier("modifier_imba_tower_grievous_wounds_aura", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
LinkLuaModifier("modifier_imba_tower_grievous_wounds_aura_buff", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
LinkLuaModifier("modifier_imba_tower_grievous_wounds_debuff", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
function imba_tower_grievous_wounds:GetAbilityTextureName()
return "ursa_fury_swipes"
end
function imba_tower_grievous_wounds:GetIntrinsicModifierName()
return "modifier_imba_tower_grievous_wounds_aura"
end
-- Tower Aura
modifier_imba_tower_grievous_wounds_aura = modifier_imba_tower_grievous_wounds_aura or class({})
function modifier_imba_tower_grievous_wounds_aura:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
-- Ability specials
self.aura_stickyness = self.ability:GetSpecialValueFor("aura_stickyness")
self.aura_radius = self.ability:GetSpecialValueFor("aura_radius")
end
function modifier_imba_tower_grievous_wounds_aura:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_grievous_wounds_aura:GetAuraDuration()
return self.aura_stickyness
end
function modifier_imba_tower_grievous_wounds_aura:GetAuraRadius()
return self.aura_radius
end
function modifier_imba_tower_grievous_wounds_aura:GetAuraSearchFlags()
return DOTA_UNIT_TARGET_FLAG_NOT_ILLUSIONS
end
function modifier_imba_tower_grievous_wounds_aura:GetAuraSearchTeam()
return DOTA_UNIT_TARGET_TEAM_FRIENDLY
end
function modifier_imba_tower_grievous_wounds_aura:GetAuraSearchType()
return DOTA_UNIT_TARGET_HERO
end
function modifier_imba_tower_grievous_wounds_aura:GetModifierAura()
return "modifier_imba_tower_grievous_wounds_aura_buff"
end
function modifier_imba_tower_grievous_wounds_aura:IsAura()
return true
end
function modifier_imba_tower_grievous_wounds_aura:IsDebuff()
return false
end
function modifier_imba_tower_grievous_wounds_aura:IsHidden()
return true
end
-- Grievous infliction Modifier
modifier_imba_tower_grievous_wounds_aura_buff = modifier_imba_tower_grievous_wounds_aura_buff or class({})
function modifier_imba_tower_grievous_wounds_aura_buff:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
self.parent = self:GetParent()
self.grievous_debuff = "modifier_imba_tower_grievous_wounds_debuff"
-- Ability specials
self.damage_increase = self.ability:GetSpecialValueFor("damage_increase")
self.damage_increase_per_hero = self.ability:GetSpecialValueFor("damage_increase_per_hero")
self.debuff_duration = self.ability:GetSpecialValueFor("debuff_duration")
end
function modifier_imba_tower_grievous_wounds_aura_buff:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_grievous_wounds_aura_buff:IsHidden()
return false
end
function modifier_imba_tower_grievous_wounds_aura_buff:DeclareFunctions()
local decFuncs = {MODIFIER_EVENT_ON_ATTACK_LANDED}
return decFuncs
end
function modifier_imba_tower_grievous_wounds_aura_buff:OnAttackLanded(keys)
if IsServer() then
local attacker = keys.attacker
local target = keys.target
local protective_instinct_stacks = self.caster:GetModifierStackCount("modifier_imba_tower_protective_instinct", self.caster)
-- Only apply if the parent is the victim and the attacker is on the opposite team
if self.parent == attacker and attacker:GetTeamNumber() ~= target:GetTeamNumber() then
-- Add debuff modifier. Increment stack count and refresh
if not target:HasModifier(self.grievous_debuff) then
target:AddNewModifier(self.caster, self.ability, self.grievous_debuff, {duration = self.debuff_duration})
end
local grievous_debuff_handler = target:FindModifierByName(self.grievous_debuff)
-- Increase stack count and refresh
grievous_debuff_handler:IncrementStackCount()
grievous_debuff_handler:ForceRefresh()
-- Calculate damage based on stacks
local grievous_stacks = grievous_debuff_handler:GetStackCount()
local damage = (self.damage_increase + self.damage_increase_per_hero * protective_instinct_stacks) * grievous_stacks
-- Apply damage
local damageTable = {victim = target,
attacker = self.parent,
damage = damage,
damage_type = DAMAGE_TYPE_PHYSICAL,
ability = self.ability}
ApplyDamage(damageTable)
end
end
end
-- Fury Swipes debuff
modifier_imba_tower_grievous_wounds_debuff = modifier_imba_tower_grievous_wounds_debuff or class({})
function modifier_imba_tower_grievous_wounds_debuff:IsHidden()
return false
end
function modifier_imba_tower_grievous_wounds_debuff:IsPurgable()
return true
end
function modifier_imba_tower_grievous_wounds_debuff:IsDebuff()
return true
end
function modifier_imba_tower_grievous_wounds_debuff:GetEffectName()
return "particles/units/heroes/hero_ursa/ursa_fury_swipes_debuff.vpcf"
end
function modifier_imba_tower_grievous_wounds_debuff:GetEffectAttachType()
return PATTACH_OVERHEAD_FOLLOW
end
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
-- Tower's Essence Drain Aura
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
imba_tower_essence_drain = imba_tower_essence_drain or class({})
LinkLuaModifier("modifier_imba_tower_essence_drain_aura", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
LinkLuaModifier("modifier_imba_tower_essence_drain_aura_buff", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
LinkLuaModifier("modifier_imba_tower_essence_drain_debuff", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
LinkLuaModifier("modifier_imba_tower_essence_drain_buff", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
function imba_tower_essence_drain:GetAbilityTextureName()
return "slark_essence_shift"
end
function imba_tower_essence_drain:GetIntrinsicModifierName()
return "modifier_imba_tower_essence_drain_aura"
end
-- Tower Aura
modifier_imba_tower_essence_drain_aura = modifier_imba_tower_essence_drain_aura or class({})
function modifier_imba_tower_essence_drain_aura:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
-- Ability specials
self.aura_stickyness = self.ability:GetSpecialValueFor("aura_stickyness")
self.aura_radius = self.ability:GetSpecialValueFor("aura_radius")
end
function modifier_imba_tower_essence_drain_aura:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_essence_drain_aura:GetAuraDuration()
return self.aura_stickyness
end
function modifier_imba_tower_essence_drain_aura:GetAuraRadius()
return self.aura_radius
end
function modifier_imba_tower_essence_drain_aura:GetAuraSearchFlags()
return DOTA_UNIT_TARGET_FLAG_NOT_ILLUSIONS
end
function modifier_imba_tower_essence_drain_aura:GetAuraSearchTeam()
return DOTA_UNIT_TARGET_TEAM_FRIENDLY
end
function modifier_imba_tower_essence_drain_aura:GetAuraSearchType()
return DOTA_UNIT_TARGET_HERO
end
function modifier_imba_tower_essence_drain_aura:GetModifierAura()
return "modifier_imba_tower_essence_drain_aura_buff"
end
function modifier_imba_tower_essence_drain_aura:IsAura()
return true
end
function modifier_imba_tower_essence_drain_aura:IsDebuff()
return false
end
function modifier_imba_tower_essence_drain_aura:IsHidden()
return true
end
-- Essence Drain infliction Modifier
modifier_imba_tower_essence_drain_aura_buff = modifier_imba_tower_essence_drain_aura_buff or class({})
function modifier_imba_tower_essence_drain_aura_buff:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
self.parent = self:GetParent()
self.modifier_debuff = "modifier_imba_tower_essence_drain_debuff"
self.modifier_buff = "modifier_imba_tower_essence_drain_buff"
self.particle_drain = "particles/econ/items/slark/slark_ti6_blade/slark_ti6_blade_essence_shift.vpcf"
-- Ability specials
self.duration = self.ability:GetSpecialValueFor("duration")
self.duration_per_protective = self.ability:GetSpecialValueFor("duration_per_protective")
end
function modifier_imba_tower_essence_drain_aura_buff:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_essence_drain_aura_buff:IsHidden()
return false
end
function modifier_imba_tower_essence_drain_aura_buff:DeclareFunctions()
local decFuncs = {MODIFIER_EVENT_ON_ATTACK_LANDED}
return decFuncs
end
function modifier_imba_tower_essence_drain_aura_buff:OnAttackLanded( keys )
if IsServer() then
local attacker = keys.attacker
local target = keys.target
local protective_instinct_stacks = self.caster:GetModifierStackCount("modifier_imba_tower_protective_instinct", self.caster)
-- Only apply if the parent is the attacker and the victim is on the opposite team
if (self.parent == attacker) and (attacker:GetTeamNumber() ~= target:GetTeamNumber()) and target:IsHero() then
-- Apply effect
local particle_drain_fx = ParticleManager:CreateParticle(self.particle_drain, PATTACH_ABSORIGIN, target)
ParticleManager:SetParticleControl(particle_drain_fx, 0, target:GetAbsOrigin())
ParticleManager:SetParticleControl(particle_drain_fx, 1, self.parent:GetAbsOrigin())
ParticleManager:SetParticleControl(particle_drain_fx, 2, self.parent:GetAbsOrigin())
ParticleManager:SetParticleControl(particle_drain_fx, 3, self.parent:GetAbsOrigin())
ParticleManager:ReleaseParticleIndex(particle_drain_fx)
-- Calculate duration
local total_duration = self.duration + self.duration_per_protective * protective_instinct_stacks
-- Add debuff modifier to the enemy Increment stack count and refresh
if not target:HasModifier(self.modifier_debuff) then
target:AddNewModifier(self.caster, self.ability, self.modifier_debuff, {duration = total_duration})
end
local drain_debuff_handler = target:FindModifierByName(self.modifier_debuff)
-- Increase stacks and refresh
drain_debuff_handler:IncrementStackCount()
drain_debuff_handler:ForceRefresh()
-- Add buff modifier to the attacker.
if not self.parent:HasModifier(self.modifier_buff) then
self.parent:AddNewModifier(self.caster, self.ability, self.modifier_buff, {duration = total_duration})
end
local drain_buff_handler = self.parent:FindModifierByName(self.modifier_buff)
-- Increase stacks and refresh
drain_buff_handler:IncrementStackCount()
drain_buff_handler:ForceRefresh()
end
end
end
-- Essence Drain debuff (enemy)
modifier_imba_tower_essence_drain_debuff = modifier_imba_tower_essence_drain_debuff or class({})
function modifier_imba_tower_essence_drain_debuff:OnCreated()
if IsServer() then
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
self.parent = self:GetParent()
-- Ability specials
self.stat_drain_amount_enemy = self.ability:GetSpecialValueFor("stat_drain_amount_enemy")
-- Get the duration
self.duration = self:GetDuration()
-- Initialize table
self.stacks_table = {}
-- Start thinking
self:StartIntervalThink(0.1)
end
end
function modifier_imba_tower_essence_drain_debuff:OnIntervalThink()
if IsServer() then
-- Check if there are any stacks left on the table
if #self.stacks_table > 0 then
-- For each stack, check if it is past its expiration time. If it is, remove it from the table
for i = #self.stacks_table, 1, -1 do
if self.stacks_table[i] + self.duration < GameRules:GetGameTime() then
table.remove(self.stacks_table, i)
end
end
-- If after removing the stacks, the table is empty, remove the modifier.
if #self.stacks_table == 0 then
self:Destroy()
-- Otherwise, set its stack count
else
self:SetStackCount(#self.stacks_table)
end
-- Recalculate bonus based on new stack count
self:GetParent():CalculateStatBonus()
-- If there are no stacks on the table, just remove the modifier.
else
self:Destroy()
end
end
end
function modifier_imba_tower_essence_drain_debuff:OnRefresh()
if IsServer() then
-- Insert new stack values
table.insert(self.stacks_table, GameRules:GetGameTime())
end
end
function modifier_imba_tower_essence_drain_debuff:IsHidden()
return false
end
function modifier_imba_tower_essence_drain_debuff:IsPurgable()
return true
end
function modifier_imba_tower_essence_drain_debuff:IsDebuff()
return true
end
function modifier_imba_tower_essence_drain_debuff:DeclareFunctions()
local decFuncs = {MODIFIER_PROPERTY_STATS_AGILITY_BONUS,
MODIFIER_PROPERTY_STATS_INTELLECT_BONUS,
MODIFIER_PROPERTY_STATS_STRENGTH_BONUS}
return decFuncs
end
function modifier_imba_tower_essence_drain_debuff:GetModifierBonusStats_Agility()
local stacks = self:GetStackCount()
local stats_drain = self.stat_drain_amount_enemy * stacks
return stats_drain
end
function modifier_imba_tower_essence_drain_debuff:GetModifierBonusStats_Intellect()
local stacks = self:GetStackCount()
local stats_drain = self.stat_drain_amount_enemy * stacks
return stats_drain
end
function modifier_imba_tower_essence_drain_debuff:GetModifierBonusStats_Strength()
local stacks = self:GetStackCount()
local stats_drain = self.stat_drain_amount_enemy * stacks
return stats_drain
end
-- Essence Drain buff (ally)
modifier_imba_tower_essence_drain_buff = modifier_imba_tower_essence_drain_buff or class({})
function modifier_imba_tower_essence_drain_buff:OnCreated()
if IsServer() then
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
self.parent = self:GetParent()
-- Ability specials
self.stat_drain_amount_ally = self.ability:GetSpecialValueFor("stat_drain_amount_ally")
-- Set the hero's main attribute
self.primary_attribute = self.parent:GetPrimaryAttribute()
-- Get the duration
self.duration = self:GetDuration()
-- Initialize table
self.stacks_table = {}
-- Start thinking
self:StartIntervalThink(0.1)
end
end
function modifier_imba_tower_essence_drain_buff:OnIntervalThink()
if IsServer() then
-- Check if there are any stacks left on the table
if #self.stacks_table > 0 then
-- For each stack, check if it is past its expiration time. If it is, remove it from the table
for i = #self.stacks_table, 1, -1 do
if self.stacks_table[i] + self.duration < GameRules:GetGameTime() then
table.remove(self.stacks_table, i)
end
end
-- If after removing the stacks, the table is empty, remove the modifier.
if #self.stacks_table == 0 then
self:Destroy()
-- Otherwise, set its stack count
else
self:SetStackCount(#self.stacks_table)
end
-- Recalculate bonus based on new stack count
self:GetParent():CalculateStatBonus()
-- If there are no stacks on the table, just remove the modifier.
else
self:Destroy()
end
end
end
function modifier_imba_tower_essence_drain_buff:OnRefresh()
if IsServer() then
-- Insert new stack values
table.insert(self.stacks_table, GameRules:GetGameTime())
end
end
function modifier_imba_tower_essence_drain_buff:IsHidden()
return false
end
function modifier_imba_tower_essence_drain_buff:IsPurgable()
return true
end
function modifier_imba_tower_essence_drain_buff:IsDebuff()
return false
end
function modifier_imba_tower_essence_drain_buff:DeclareFunctions()
local decFuncs = {MODIFIER_PROPERTY_STATS_AGILITY_BONUS,
MODIFIER_PROPERTY_STATS_INTELLECT_BONUS,
MODIFIER_PROPERTY_STATS_STRENGTH_BONUS}
return decFuncs
end
function modifier_imba_tower_essence_drain_buff:GetModifierBonusStats_Agility()
if IsServer() then
-- Grant bonuses if Agility is the main attribute
if self.primary_attribute == DOTA_ATTRIBUTE_AGILITY then
local stacks = self:GetStackCount()
local stats_drain = self.stat_drain_amount_ally * stacks
return stats_drain
end
return nil
end
end
function modifier_imba_tower_essence_drain_buff:GetModifierBonusStats_Intellect()
if IsServer() then
-- Grant bonuses if Intelligence is the main attribute
if self.primary_attribute == DOTA_ATTRIBUTE_INTELLECT then
local stacks = self:GetStackCount()
local stats_drain = self.stat_drain_amount_ally * stacks
return stats_drain
end
return nil
end
end
function modifier_imba_tower_essence_drain_buff:GetModifierBonusStats_Strength()
if IsServer() then
-- Grant bonuses if Strength is the main attribute
if self.primary_attribute == DOTA_ATTRIBUTE_STRENGTH then
local stacks = self:GetStackCount()
local stats_drain = self.stat_drain_amount_ally * stacks
return stats_drain
end
return nil
end
end
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
-- Tower's Protection Aura
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
imba_tower_protection = imba_tower_protection or class({})
LinkLuaModifier("modifier_imba_tower_protection_aura", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
LinkLuaModifier("modifier_imba_tower_protection_aura_buff", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
function imba_tower_protection:GetAbilityTextureName()
return "custom/tower_protection"
end
function imba_tower_protection:GetIntrinsicModifierName()
return "modifier_imba_tower_protection_aura"
end
-- Tower Aura
modifier_imba_tower_protection_aura = modifier_imba_tower_protection_aura or class({})
function modifier_imba_tower_protection_aura:OnCreated()
-- Ability propertes
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
-- Ability specials
self.aura_radius = self.ability:GetSpecialValueFor("aura_radius")
self.aura_stickyness = self.ability:GetSpecialValueFor("aura_stickyness")
end
function modifier_imba_tower_protection_aura:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_protection_aura:GetAuraDuration()
return self.aura_stickyness
end
function modifier_imba_tower_protection_aura:GetAuraRadius()
return self.aura_radius
end
function modifier_imba_tower_protection_aura:GetAuraSearchFlags()
return DOTA_UNIT_TARGET_FLAG_PLAYER_CONTROLLED
end
function modifier_imba_tower_protection_aura:GetAuraSearchTeam()
return DOTA_UNIT_TARGET_TEAM_FRIENDLY
end
function modifier_imba_tower_protection_aura:GetAuraSearchType()
return DOTA_UNIT_TARGET_HERO + DOTA_UNIT_TARGET_BASIC
end
function modifier_imba_tower_protection_aura:GetModifierAura()
return "modifier_imba_tower_protection_aura_buff"
end
function modifier_imba_tower_protection_aura:IsAura()
return true
end
function modifier_imba_tower_protection_aura:IsDebuff()
return false
end
function modifier_imba_tower_protection_aura:IsHidden()
return true
end
-- Protection Modifier
modifier_imba_tower_protection_aura_buff = modifier_imba_tower_protection_aura_buff or class({})
function modifier_imba_tower_protection_aura_buff:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
self.parent = self:GetParent()
-- Ability specials
self.damage_reduction = self.ability:GetSpecialValueFor("damage_reduction")
self.additional_dr_per_protective = self.ability:GetSpecialValueFor("additional_dr_per_protective")
end
function modifier_imba_tower_protection_aura_buff:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_protection_aura_buff:IsHidden()
return false
end
function modifier_imba_tower_protection_aura_buff:DeclareFunctions()
local decFuncs = {MODIFIER_PROPERTY_INCOMING_DAMAGE_PERCENTAGE}
return decFuncs
end
function modifier_imba_tower_protection_aura_buff:GetModifierIncomingDamage_Percentage()
local protective_instinct_stacks = self.caster:GetModifierStackCount("modifier_imba_tower_protective_instinct", self.caster)
local damage_reduction_total = self.damage_reduction + self.additional_dr_per_protective * protective_instinct_stacks
return damage_reduction_total
end
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
-- Tower's Disease Aura
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
imba_tower_disease = imba_tower_disease or class({})
LinkLuaModifier("modifier_imba_tower_disease_aura", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
LinkLuaModifier("modifier_imba_tower_disease_aura_debuff", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
function imba_tower_disease:GetAbilityTextureName()
return "custom/disease_aura"
end
function imba_tower_disease:GetIntrinsicModifierName()
return "modifier_imba_tower_disease_aura"
end
-- Tower Aura
modifier_imba_tower_disease_aura = modifier_imba_tower_disease_aura or class({})
function modifier_imba_tower_disease_aura:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
-- Ability specials
self.aura_radius = self.ability:GetSpecialValueFor("aura_radius")
self.aura_stickyness = self.ability:GetSpecialValueFor("aura_stickyness")
end
function modifier_imba_tower_disease_aura:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_disease_aura:GetAuraRadius()
return self.aura_radius
end
function modifier_imba_tower_disease_aura:GetAuraDuration()
return self.aura_stickyness
end
function modifier_imba_tower_disease_aura:GetAuraSearchFlags()
return DOTA_UNIT_TARGET_FLAG_NONE
end
function modifier_imba_tower_disease_aura:GetAuraSearchTeam()
return DOTA_UNIT_TARGET_TEAM_ENEMY
end
function modifier_imba_tower_disease_aura:GetAuraSearchType()
return DOTA_UNIT_TARGET_HERO + DOTA_UNIT_TARGET_BASIC
end
function modifier_imba_tower_disease_aura:GetModifierAura()
return "modifier_imba_tower_disease_aura_debuff"
end
function modifier_imba_tower_disease_aura:IsAura()
return true
end
function modifier_imba_tower_disease_aura:IsDebuff()
return false
end
function modifier_imba_tower_disease_aura:IsHidden()
return true
end
-- Attack damage reduction Modifier
modifier_imba_tower_disease_aura_debuff = modifier_imba_tower_disease_aura_debuff or class({})
function modifier_imba_tower_disease_aura_debuff:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
-- Ability specials
self.stat_reduction = self.ability:GetSpecialValueFor("stat_reduction")
self.additional_sr_per_protective = self.ability:GetSpecialValueFor("additional_sr_per_protective")
end
function modifier_imba_tower_disease_aura_debuff:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_disease_aura_debuff:IsHidden()
return false
end
function modifier_imba_tower_disease_aura_debuff:DeclareFunctions()
local decFuncs = {MODIFIER_PROPERTY_STATS_AGILITY_BONUS,
MODIFIER_PROPERTY_STATS_INTELLECT_BONUS,
MODIFIER_PROPERTY_STATS_STRENGTH_BONUS}
return decFuncs
end
function modifier_imba_tower_disease_aura_debuff:GetModifierBonusStats_Agility()
local protective_instinct_stacks = self.caster:GetModifierStackCount("modifier_imba_tower_protective_instinct", self.caster)
local total_stat_reduction = self.stat_reduction + self.additional_sr_per_protective * protective_instinct_stacks
return total_stat_reduction
end
function modifier_imba_tower_disease_aura_debuff:GetModifierBonusStats_Intellect()
local protective_instinct_stacks = self.caster:GetModifierStackCount("modifier_imba_tower_protective_instinct", self.caster)
local total_stat_reduction = self.stat_reduction + self.additional_sr_per_protective * protective_instinct_stacks
return total_stat_reduction
end
function modifier_imba_tower_disease_aura_debuff:GetModifierBonusStats_Strength()
local protective_instinct_stacks = self.caster:GetModifierStackCount("modifier_imba_tower_protective_instinct", self.caster)
local total_stat_reduction = self.stat_reduction + self.additional_sr_per_protective * protective_instinct_stacks
return total_stat_reduction
end
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
-- Tower's Doppleganger Aura
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
imba_tower_doppleganger = imba_tower_doppleganger or class({})
LinkLuaModifier("modifier_imba_tower_doppleganger_aura", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
LinkLuaModifier("modifier_imba_tower_doppleganger_aura_buff", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
LinkLuaModifier("modifier_imba_tower_doppleganger_cooldown", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
function imba_tower_doppleganger:GetAbilityTextureName()
return "custom/tower_doppleganger"
end
function imba_tower_doppleganger:GetIntrinsicModifierName()
return "modifier_imba_tower_doppleganger_aura"
end
-- Tower Aura
modifier_imba_tower_doppleganger_aura = modifier_imba_tower_doppleganger_aura or class({})
function modifier_imba_tower_doppleganger_aura:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
-- Ability specials
self.aura_stickyness = self.ability:GetSpecialValueFor("aura_stickyness")
self.aura_radius = self.ability:GetSpecialValueFor("aura_radius")
end
function modifier_imba_tower_doppleganger_aura:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_doppleganger_aura:GetAuraDuration()
return self.aura_stickyness
end
function modifier_imba_tower_doppleganger_aura:GetAuraRadius()
return self.aura_radius
end
function modifier_imba_tower_doppleganger_aura:GetAuraSearchFlags()
return DOTA_UNIT_TARGET_FLAG_NOT_SUMMONED + DOTA_UNIT_TARGET_FLAG_NOT_ILLUSIONS
end
function modifier_imba_tower_doppleganger_aura:GetAuraSearchTeam()
return DOTA_UNIT_TARGET_TEAM_FRIENDLY
end
function modifier_imba_tower_doppleganger_aura:GetAuraSearchType()
return DOTA_UNIT_TARGET_HERO
end
function modifier_imba_tower_doppleganger_aura:GetModifierAura()
return "modifier_imba_tower_doppleganger_aura_buff"
end
function modifier_imba_tower_doppleganger_aura:IsAura()
return true
end
function modifier_imba_tower_doppleganger_aura:IsDebuff()
return false
end
function modifier_imba_tower_doppleganger_aura:IsHidden()
return true
end
-- Doppleganger Modifier
modifier_imba_tower_doppleganger_aura_buff = modifier_imba_tower_doppleganger_aura_buff or class({})
function modifier_imba_tower_doppleganger_aura_buff:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
self.parent = self:GetParent()
self.particle_doppleganger = "particles/econ/items/phantom_lancer/phantom_lancer_immortal_ti6/phantom_lancer_immortal_ti6_spiritlance_cast.vpcf"
self.prevention_modifier = "modifier_imba_tower_doppleganger_cooldown"
-- Ability specials
self.incoming_damage = self.ability:GetSpecialValueFor("incoming_damage")
self.outgoing_damage = self.ability:GetSpecialValueFor("outgoing_damage")
self.doppleganger_duration = self.ability:GetSpecialValueFor("doppleganger_duration")
self.doppleganger_cooldown = self.ability:GetSpecialValueFor("doppleganger_cooldown")
self.cd_reduction_per_protective = self.ability:GetSpecialValueFor("cd_reduction_per_protective")
self.summon_distance = self.ability:GetSpecialValueFor("summon_distance")
end
function modifier_imba_tower_doppleganger_aura_buff:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_doppleganger_aura_buff:IsHidden()
return false
end
function modifier_imba_tower_doppleganger_aura_buff:DeclareFunctions()
local decFuncs = {MODIFIER_EVENT_ON_ATTACK_LANDED}
return decFuncs
end
function modifier_imba_tower_doppleganger_aura_buff:OnAttackLanded(keys)
if IsServer() then
local attacker = keys.attacker
local target = keys.target
local protective_instinct_stacks = self.caster:GetModifierStackCount("modifier_imba_tower_protective_instinct", self.caster)
-- If the parent is an illusion, do nothing
if self.parent:IsIllusion() then
return nil
end
-- Only apply if the parent is the victim and the attacker is on the opposite team and is not prevented
if self.parent == target and attacker:GetTeamNumber() ~= self.parent:GetTeamNumber() and not self.parent:HasModifier(self.prevention_modifier) then
-- Calculate cooldown and add a prevention modifier to the parent
local cooldown_doppleganger = self.doppleganger_cooldown - self.cd_reduction_per_protective * protective_instinct_stacks
self.parent:AddNewModifier(self.caster, self.ability, self.prevention_modifier, {duration = cooldown_doppleganger})
-- Create effect
local particle_doppleganger_fx = ParticleManager:CreateParticle(self.particle_doppleganger, PATTACH_ABSORIGIN, self.parent)
ParticleManager:SetParticleControl(particle_doppleganger_fx, 0, self.parent:GetAbsOrigin())
ParticleManager:SetParticleControl(particle_doppleganger_fx, 1, self.parent:GetAbsOrigin())
ParticleManager:ReleaseParticleIndex(particle_doppleganger_fx)
-- Calculate doppleganger origin and create it
local rand_distance = math.random(0, self.summon_distance)
local summon_origin = self.parent:GetAbsOrigin() + RandomVector(rand_distance)
local doppleganger = CreateUnitByName(self.parent:GetUnitName(), summon_origin, true, self.parent, nil, self.parent:GetTeamNumber())
-- Turn doppleganger into an illusion with the correct properties
doppleganger:AddNewModifier(self.caster, self.ability, "modifier_illusion", {duration = self.doppleganger_duration, outgoing_damage = self.outgoing_damage, incoming_damage = self.incoming_damage})
doppleganger:MakeIllusion()
doppleganger:SetRespawnsDisabled(true)
-- Set the doppleganger as controllable by the player
doppleganger:SetControllableByPlayer(self.parent:GetPlayerID(), false)
doppleganger:SetPlayerID(self.parent:GetPlayerID())
-- Set the doppleganger's level to the parent's
local parent_level = self.parent:GetLevel()
for i=1, parent_level-1 do
doppleganger:HeroLevelUp(false)
end
-- Set the skill points to 0 and learn the skills of the caster
doppleganger:SetAbilityPoints(0)
for abilitySlot=0,15 do
local ability = self.parent:GetAbilityByIndex(abilitySlot)
if ability ~= nil then
local abilityLevel = ability:GetLevel()
local abilityName = ability:GetAbilityName()
local illusionAbility = doppleganger:FindAbilityByName(abilityName)
illusionAbility:SetLevel(abilityLevel)
end
end
-- Recreate the items of the caster
for itemSlot=0,5 do
local item = self.parent:GetItemInSlot(itemSlot)
if item ~= nil then
local itemName = item:GetName()
local newItem = CreateItem(itemName, doppleganger, doppleganger)
doppleganger:AddItem(newItem)
end
end
-- Set Forward Vector the same as the player
doppleganger:SetForwardVector(self.parent:GetForwardVector())
-- Roll a chance to swap positions with the doppleganger
local swap_change = math.random(1,2)
if swap_change == 2 then
local parent_loc = self.parent:GetAbsOrigin()
local doppleganger_loc = doppleganger:GetAbsOrigin()
self.parent:SetAbsOrigin(doppleganger_loc)
doppleganger:SetAbsOrigin(parent_loc)
end
-- Stop the attacker, since it still auto attacks the original (will force it to attack the closest target)
attacker:Stop()
-- Stop the illusion, since it automatically attacks everything, then decide the next step
doppleganger:Stop()
-- Imitate target attack location
if self.parent:IsAttacking() then
local attack_target = self.parent:GetAttackTarget()
doppleganger:MoveToTargetToAttack(attack_target)
end
if self.parent:IsChanneling() then
local current_ability = self.parent:GetCurrentActiveAbility()
local ability_name = current_ability:GetName()
StartChannelingAnimation(self.parent, doppleganger, ability_name) -- custom function
end
end
end
end
-- Doppleganger cooldown modifier
modifier_imba_tower_doppleganger_cooldown = modifier_imba_tower_doppleganger_cooldown or class({})
function modifier_imba_tower_doppleganger_cooldown:IsHidden()
return false
end
function modifier_imba_tower_doppleganger_cooldown:IsPurgable()
return false
end
function modifier_imba_tower_doppleganger_cooldown:IsDebuff()
return false
end
-- Custom function responsible for stopping the illusion, making it look like it's casting the
-- same channeling spell as its original. Assigns the corrects gesture depending on the ability.
function StartChannelingAnimation (parent, doppleganger, ability_name)
local ability_gesture
local channel_4 = {"imba_bane_fiends_grip", "imba_pudge_dismember",}
local cast_4 = {"imba_crystal_maiden_freezing_field", "imba_enigma_black_hole", "imba_sandking_epicenter", "witch_doctor_death_ward",}
local cast_1 = {"elder_titan_echo_stomp", "keeper_of_the_light_illuminate", "oracle_fortunes_end",}
local cast_3 = {"imba_lion_mana_drain",} -- Should be changed in the next update to "imba_lion_mana_drain"
for _,v in ipairs(channel_4) do
if ability_name == v then
ability_gesture = ACT_DOTA_CHANNEL_ABILITY_4
break
end
end
for _,v in ipairs(cast_4) do
if ability_name == v then
ability_gesture = ACT_DOTA_CAST_ABILITY_4
break
end
end
for _,v in ipairs(cast_1) do
if ability_name == v then
ability_gesture = ACT_DOTA_CAST_ABILITY_1
break
end
end
for _,v in ipairs(cast_3) do
if ability_name == v then
ability_gesture = ACT_DOTA_CAST_ABILITY_3
break
end
end
-- If a target is channeling a spell that doesn't really have an animation, ignore it.
if ability_gesture == nil then
return nil
end
-- Start animation, stop movement, and stop attacking
doppleganger:StartGesture(ability_gesture)
doppleganger:SetAttackCapability(DOTA_UNIT_CAP_NO_ATTACK)
doppleganger:SetMoveCapability(DOTA_UNIT_CAP_MOVE_NONE)
-- Check if parent is still casting, otherwise stop the gesture and return the attack capability
Timers:CreateTimer(FrameTime(), function()
if not parent:IsChanneling() then
doppleganger:FadeGesture(ability_gesture)
doppleganger:SetAttackCapability(parent:GetAttackCapability())
doppleganger:SetMoveCapability(DOTA_UNIT_CAP_MOVE_GROUND)
return nil
end
return FrameTime()
end)
end
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
-- Tower's Barrier Aura
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
imba_tower_barrier = imba_tower_barrier or class({})
LinkLuaModifier("modifier_imba_tower_barrier_aura", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
LinkLuaModifier("modifier_imba_tower_barrier_aura_buff", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
LinkLuaModifier("modifier_imba_tower_barrier_aura_cooldown", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
function imba_tower_barrier:GetIntrinsicModifierName()
return "modifier_imba_tower_barrier_aura"
end
function imba_tower_barrier:GetAbilityTextureName()
return "custom/tower_barrier"
end
-- Tower Aura
modifier_imba_tower_barrier_aura = modifier_imba_tower_barrier_aura or class({})
function modifier_imba_tower_barrier_aura:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
self.prevention_modifier = "modifier_imba_tower_barrier_aura_cooldown"
-- Ability specials
self.aura_radius = self.ability:GetSpecialValueFor("aura_radius")
self.aura_stickyness = self.ability:GetSpecialValueFor("aura_stickyness")
end
function modifier_imba_tower_barrier_aura:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_barrier_aura:GetAuraDuration()
return self.aura_stickyness
end
function modifier_imba_tower_barrier_aura:GetAuraRadius()
return self.aura_radius
end
function modifier_imba_tower_barrier_aura:GetAuraSearchFlags()
return DOTA_UNIT_TARGET_FLAG_PLAYER_CONTROLLED
end
function modifier_imba_tower_barrier_aura:GetAuraSearchTeam()
return DOTA_UNIT_TARGET_TEAM_FRIENDLY
end
function modifier_imba_tower_barrier_aura:GetAuraEntityReject(target)
if target:HasModifier(self.prevention_modifier) then
return true -- reject
end
return false
end
function modifier_imba_tower_barrier_aura:GetAuraSearchType()
return DOTA_UNIT_TARGET_HERO + DOTA_UNIT_TARGET_BASIC
end
function modifier_imba_tower_barrier_aura:GetModifierAura()
return "modifier_imba_tower_barrier_aura_buff"
end
function modifier_imba_tower_barrier_aura:IsAura()
return true
end
function modifier_imba_tower_barrier_aura:IsDebuff()
return false
end
function modifier_imba_tower_barrier_aura:IsHidden()
return true
end
-- Barrier Modifier
modifier_imba_tower_barrier_aura_buff = modifier_imba_tower_barrier_aura_buff or class({})
function modifier_imba_tower_barrier_aura_buff:OnCreated()
if IsServer() then
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
self.parent = self:GetParent()
self.prevention_modifier = "modifier_imba_tower_barrier_aura_cooldown"
-- Ability specials
self.base_maxdamage = self.ability:GetSpecialValueFor("base_maxdamage")
self.maxdamage_per_protective = self.ability:GetSpecialValueFor("maxdamage_per_protective")
self.replenish_duration = self.ability:GetSpecialValueFor("replenish_duration")
-- Assign variables
self.tower_barrier_damage = 0
self.tower_barrier_max = self.base_maxdamage
-- Calculate max damage to show on modifier creation
local protective_instinct_stacks = self.caster:GetModifierStackCount("modifier_imba_tower_protective_instinct", self.caster)
local show_stacks = self.base_maxdamage + self.maxdamage_per_protective * protective_instinct_stacks
self:SetStackCount(show_stacks)
-- Start thinking
self:StartIntervalThink(FrameTime())
end
end
function modifier_imba_tower_barrier_aura_buff:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_barrier_aura_buff:OnIntervalThink()
if IsServer() then
local protective_instinct_stacks = self.caster:GetModifierStackCount("modifier_imba_tower_protective_instinct", self.caster)
self.tower_barrier_max = self.base_maxdamage + self.maxdamage_per_protective * protective_instinct_stacks
-- If the barrier should be broken, break it
local barrier_life = self.tower_barrier_max - self.tower_barrier_damage
if barrier_life <= 0 then
self.parent:AddNewModifier(self.caster, self.ability, self.prevention_modifier, {duration = self.replenish_duration})
self:Destroy()
end
self:SetStackCount(barrier_life)
end
end
function modifier_imba_tower_barrier_aura_buff:DeclareFunctions()
local decFuncs = {MODIFIER_PROPERTY_INCOMING_DAMAGE_PERCENTAGE,
MODIFIER_EVENT_ON_TAKEDAMAGE}
return decFuncs
end
function modifier_imba_tower_barrier_aura_buff:GetModifierIncomingDamage_Percentage()
return -100
end
function modifier_imba_tower_barrier_aura_buff:OnTakeDamage(keys)
if IsServer() then
local unit = keys.unit
local damage = keys.original_damage
local damage_type = keys.damage_type
-- Only apply on the golem taking damage
if unit == self.parent then
-- Adjust damage according to armor or magic resist, if damage types match.
if damage_type == DAMAGE_TYPE_PHYSICAL then
damage = damage * (1 - self.parent:GetPhysicalArmorReduction() * 0.01)
elseif damage_type == DAMAGE_TYPE_MAGICAL then
damage = damage * (1- self.parent:GetMagicalArmorValue() * 0.01)
end
-- Increase the damage that the barrier had blocked
self.tower_barrier_damage = self.tower_barrier_damage + damage
end
end
end
function modifier_imba_tower_barrier_aura_buff:IsHidden()
return false
end
function modifier_imba_tower_barrier_aura_buff:GetEffectName()
return "particles/hero/tower/barrier_aura_shell.vpcf"
end
function modifier_imba_tower_barrier_aura_buff:GetEffectAttachType()
return PATTACH_ABSORIGIN_FOLLOW
end
-- Barrier cooldown modifier
modifier_imba_tower_barrier_aura_cooldown = modifier_imba_tower_barrier_aura_cooldown or class({})
function modifier_imba_tower_barrier_aura_cooldown:IsHidden()
return false
end
function modifier_imba_tower_barrier_aura_cooldown:IsPurgable()
return false
end
function modifier_imba_tower_barrier_aura_cooldown:IsDebuff()
return false
end
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
-- Tower's Soul Leech Aura
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
imba_tower_soul_leech = imba_tower_soul_leech or class({})
LinkLuaModifier("modifier_imba_tower_soul_leech_aura", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
LinkLuaModifier("modifier_imba_tower_soul_leech_aura_buff", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
function imba_tower_soul_leech:GetAbilityTextureName()
return "custom/tower_soul_leech"
end
function imba_tower_soul_leech:GetIntrinsicModifierName()
return "modifier_imba_tower_soul_leech_aura"
end
-- Tower Aura
modifier_imba_tower_soul_leech_aura = modifier_imba_tower_soul_leech_aura or class({})
function modifier_imba_tower_soul_leech_aura:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
-- Ability specials
self.aura_radius = self.ability:GetSpecialValueFor("aura_radius")
self.aura_stickyness = self.ability:GetSpecialValueFor("aura_stickyness")
end
function modifier_imba_tower_soul_leech_aura:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_soul_leech_aura:GetAuraDuration()
return self.aura_stickyness
end
function modifier_imba_tower_soul_leech_aura:GetAuraRadius()
return self.aura_radius
end
function modifier_imba_tower_soul_leech_aura:GetAuraSearchFlags()
return DOTA_UNIT_TARGET_FLAG_PLAYER_CONTROLLED
end
function modifier_imba_tower_soul_leech_aura:GetAuraSearchTeam()
return DOTA_UNIT_TARGET_TEAM_FRIENDLY
end
function modifier_imba_tower_soul_leech_aura:GetAuraSearchType()
return DOTA_UNIT_TARGET_HERO + DOTA_UNIT_TARGET_BASIC
end
function modifier_imba_tower_soul_leech_aura:GetModifierAura()
return "modifier_imba_tower_soul_leech_aura_buff"
end
function modifier_imba_tower_soul_leech_aura:IsAura()
return true
end
function modifier_imba_tower_soul_leech_aura:IsDebuff()
return false
end
function modifier_imba_tower_soul_leech_aura:IsHidden()
return true
end
-- Leech Modifier
modifier_imba_tower_soul_leech_aura_buff = modifier_imba_tower_soul_leech_aura_buff or class({})
function modifier_imba_tower_soul_leech_aura_buff:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
self.parent = self:GetParent()
self.particle_lifesteal = "particles/generic_gameplay/generic_lifesteal.vpcf"
self.particle_spellsteal = "particles/items3_fx/octarine_core_lifesteal.vpcf"
-- Ability specials
self.soul_leech_pct = self.ability:GetSpecialValueFor("soul_leech_pct")
self.leech_per_protective = self.ability:GetSpecialValueFor("leech_per_protective")
self.creep_lifesteal_pct = self.ability:GetSpecialValueFor("creep_lifesteal_pct")
end
function modifier_imba_tower_soul_leech_aura_buff:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_soul_leech_aura_buff:IsHidden()
return false
end
function modifier_imba_tower_soul_leech_aura_buff:DeclareFunctions()
local decFuncs = {MODIFIER_EVENT_ON_TAKEDAMAGE}
return decFuncs
end
function modifier_imba_tower_soul_leech_aura_buff:OnTakeDamage(keys)
local attacker = keys.attacker
local target = keys.unit
local damage = keys.damage
local damage_type = keys.damage_type
local protective_instinct_stacks = self.caster:GetModifierStackCount("modifier_imba_tower_protective_instinct", self.caster)
-- Only apply if the parent of this buff attacked an enemy
if attacker == self.parent and self.parent:GetTeamNumber() ~= target:GetTeamNumber() then
-- Play appropriate effect depending on damage type
if damage_type == DAMAGE_TYPE_MAGICAL or damage_type == DAMAGE_TYPE_PURE then
local particle_spellsteal_fx = ParticleManager:CreateParticle(self.particle_spellsteal, PATTACH_ABSORIGIN, attacker)
ParticleManager:SetParticleControl(particle_spellsteal_fx, 0, attacker:GetAbsOrigin())
ParticleManager:ReleaseParticleIndex(particle_spellsteal_fx)
end
if damage_type == DAMAGE_TYPE_PHYSICAL then
local particle_lifesteal_fx = ParticleManager:CreateParticle(self.particle_lifesteal, PATTACH_ABSORIGIN, attacker)
ParticleManager:SetParticleControl(particle_lifesteal_fx, 0, attacker:GetAbsOrigin())
ParticleManager:ReleaseParticleIndex(particle_lifesteal_fx)
end
-- Calculate life/spell steal
local soul_leech_total = self.soul_leech_pct + self.leech_per_protective * protective_instinct_stacks
-- Decrease heal if the target is a creep
if target:IsCreep() then
soul_leech_total = soul_leech_total * (self.creep_lifesteal_pct * 0.01)
end
-- Heal caster by damage, only if damage isn't negative (to prevent negative heal)
if damage > 0 then
local heal_amount = damage * (soul_leech_total * 0.01)
self.parent:Heal(heal_amount, self.parent)
end
end
end
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
-- Tower's Frost Shroud Aura
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
imba_tower_frost_shroud = imba_tower_frost_shroud or class({})
LinkLuaModifier("modifier_imba_tower_frost_shroud_aura", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
LinkLuaModifier("modifier_imba_tower_frost_shroud_aura_buff", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
LinkLuaModifier("modifier_imba_tower_frost_shroud_debuff", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
function imba_tower_frost_shroud:GetAbilityTextureName()
return "custom/tower_frost_shroud"
end
function imba_tower_frost_shroud:GetIntrinsicModifierName()
return "modifier_imba_tower_frost_shroud_aura"
end
-- Tower Aura
modifier_imba_tower_frost_shroud_aura = modifier_imba_tower_frost_shroud_aura or class({})
function modifier_imba_tower_frost_shroud_aura:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
-- Ability specials
self.aura_stickyness = self.ability:GetSpecialValueFor("aura_stickyness")
self.aura_radius = self.ability:GetSpecialValueFor("aura_radius")
end
function modifier_imba_tower_frost_shroud_aura:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_frost_shroud_aura:GetAuraDuration()
return self.aura_stickyness
end
function modifier_imba_tower_frost_shroud_aura:GetAuraRadius()
return self.aura_radius
end
function modifier_imba_tower_frost_shroud_aura:GetAuraSearchFlags()
return DOTA_UNIT_TARGET_FLAG_NOT_ILLUSIONS
end
function modifier_imba_tower_frost_shroud_aura:GetAuraSearchTeam()
return DOTA_UNIT_TARGET_TEAM_FRIENDLY
end
function modifier_imba_tower_frost_shroud_aura:GetAuraSearchType()
return DOTA_UNIT_TARGET_HERO
end
function modifier_imba_tower_frost_shroud_aura:GetModifierAura()
return "modifier_imba_tower_frost_shroud_aura_buff"
end
function modifier_imba_tower_frost_shroud_aura:IsAura()
return true
end
function modifier_imba_tower_frost_shroud_aura:IsDebuff()
return false
end
function modifier_imba_tower_frost_shroud_aura:IsHidden()
return true
end
-- Frost Shroud trigger Modifier
modifier_imba_tower_frost_shroud_aura_buff = modifier_imba_tower_frost_shroud_aura_buff or class({})
function modifier_imba_tower_frost_shroud_aura_buff:OnCreated()
if IsServer() then
-- Ability properties
self.caster = self:GetCaster()
self.parent = self:GetParent()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
self.modifier_frost = "modifier_imba_tower_frost_shroud_debuff"
self.particle_frost = "particles/hero/tower/tower_frost_shroud.vpcf"
-- Ability specials
self.frost_shroud_chance = self.ability:GetSpecialValueFor("frost_shroud_chance")
self.frost_shroud_duration = self.ability:GetSpecialValueFor("frost_shroud_duration")
self.aoe_radius = self.ability:GetSpecialValueFor("aoe_radius")
end
end
function modifier_imba_tower_frost_shroud_aura_buff:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_frost_shroud_aura_buff:IsHidden()
return false
end
function modifier_imba_tower_frost_shroud_aura_buff:DeclareFunctions()
local decFuncs = {MODIFIER_EVENT_ON_TAKEDAMAGE}
return decFuncs
end
function modifier_imba_tower_frost_shroud_aura_buff:OnTakeDamage(keys)
if IsServer() then
local attacker = keys.attacker
local target = keys.unit
-- Only apply if the parent is the victim and the attacker is on the opposite team
if self.parent == target and attacker:GetTeamNumber() ~= target:GetTeamNumber() then
-- Roll for a proc
if RollPseudoRandom(self.frost_shroud_chance, self) then
-- Apply effect
local particle_frost_fx = ParticleManager:CreateParticle(self.particle_frost, PATTACH_ABSORIGIN, target)
ParticleManager:SetParticleControl(particle_frost_fx, 0, self.parent:GetAbsOrigin())
ParticleManager:SetParticleControl(particle_frost_fx, 1, Vector(1, 1, 1))
ParticleManager:ReleaseParticleIndex(particle_frost_fx)
-- Find all enemies in the aoe radius of the blast
local enemies = FindUnitsInRadius(self.parent:GetTeamNumber(),
self.parent:GetAbsOrigin(),
nil,
self.aoe_radius,
DOTA_UNIT_TARGET_TEAM_ENEMY,
DOTA_UNIT_TARGET_HERO + DOTA_UNIT_TARGET_BASIC,
DOTA_UNIT_TARGET_FLAG_NONE,
FIND_ANY_ORDER,
false)
for _, enemy in pairs(enemies) do
-- Add debuff modifier to the enemy Increment stack count and refresh
if not enemy:HasModifier(self.modifier_frost) then
enemy:AddNewModifier(self.caster, self.ability, self.modifier_frost, {duration = self.frost_shroud_duration})
end
local modifier_frost_handler = enemy:FindModifierByName(self.modifier_frost)
modifier_frost_handler:IncrementStackCount()
modifier_frost_handler:ForceRefresh()
end
end
end
end
end
-- Frost Shroud debuff (enemy)
modifier_imba_tower_frost_shroud_debuff = modifier_imba_tower_frost_shroud_debuff or class({})
function modifier_imba_tower_frost_shroud_debuff:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
self.parent = self:GetParent()
-- Ability specials
self.ms_slow = self.ability:GetSpecialValueFor("ms_slow")
self.as_slow = self.ability:GetSpecialValueFor("as_slow")
self.slow_per_protective = self.ability:GetSpecialValueFor("slow_per_protective")
-- Initialize table
self.stacks_table = {}
-- Get duration
self.duration = self:GetDuration()
if IsServer() then
-- Start thinking
self:StartIntervalThink(0.1)
end
end
function modifier_imba_tower_frost_shroud_debuff:OnRefresh()
if IsServer() then
-- Insert new stack values
table.insert(self.stacks_table, GameRules:GetGameTime())
end
end
function modifier_imba_tower_frost_shroud_debuff:OnIntervalThink()
if IsServer() then
-- Check if there are any stacks left on the table
if #self.stacks_table > 0 then
-- For each stack, check if it is past its expiration time. If it is, remove it from the table
for i = #self.stacks_table, 1, -1 do
if self.stacks_table[i] + self.duration < GameRules:GetGameTime() then
table.remove(self.stacks_table, i)
end
end
-- If after removing the stacks, the table is empty, remove the modifier.
if #self.stacks_table == 0 then
self:Destroy()
-- Otherwise, set its stack count
else
self:SetStackCount(#self.stacks_table)
end
-- If there are no stacks on the table, just remove the modifier.
else
self:Destroy()
end
end
end
function modifier_imba_tower_frost_shroud_debuff:IsHidden()
return false
end
function modifier_imba_tower_frost_shroud_debuff:IsPurgable()
return true
end
function modifier_imba_tower_frost_shroud_debuff:IsDebuff()
return true
end
function modifier_imba_tower_frost_shroud_debuff:DeclareFunctions()
local decFuncs = {MODIFIER_PROPERTY_MOVESPEED_BONUS_PERCENTAGE,
MODIFIER_PROPERTY_ATTACKSPEED_BONUS_CONSTANT}
return decFuncs
end
function modifier_imba_tower_frost_shroud_debuff:GetModifierMoveSpeedBonus_Percentage()
local protective_instinct_stacks = self.caster:GetModifierStackCount("modifier_imba_tower_protective_instinct", self.caster)
-- Calculate slow percentage, based on stack count
local movespeed_slow = (self.ms_slow + self.slow_per_protective * protective_instinct_stacks) * self:GetStackCount()
return movespeed_slow
end
function modifier_imba_tower_frost_shroud_debuff:GetModifierAttackSpeedBonus_Constant()
local protective_instinct_stacks = self.caster:GetModifierStackCount("modifier_imba_tower_protective_instinct", self.caster)
-- Calculate slow percentage, based on stack count
local attackspeed_slow = (self.as_slow + self.slow_per_protective * protective_instinct_stacks) * self:GetStackCount()
return attackspeed_slow
end
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
-- HEALING TOWER
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
imba_tower_healing_tower = imba_tower_healing_tower or class({})
LinkLuaModifier("modifier_tower_healing_think", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
function imba_tower_healing_tower:GetIntrinsicModifierName()
return "modifier_tower_healing_think"
end
function imba_tower_healing_tower:GetAbilityTextureName()
return "custom/tower_healing_wave"
end
modifier_tower_healing_think = modifier_tower_healing_think or class({})
function modifier_tower_healing_think:OnCreated()
if IsServer() then
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
self.particle_heal = "particles/hero/tower/tower_healing_wave.vpcf"
-- Ability specials
self.search_radius = self.ability:GetSpecialValueFor("search_radius")
self.bounce_delay = self.ability:GetSpecialValueFor("bounce_delay")
self.hp_threshold = self.ability:GetSpecialValueFor("hp_threshold")
self.bounce_radius = self.ability:GetSpecialValueFor("bounce_radius")
self:StartIntervalThink(0.2)
end
end
function modifier_tower_healing_think:OnRefresh()
self:OnCreated()
end
function modifier_tower_healing_think:OnIntervalThink()
if IsServer() then
-- If ability is on cooldown, do nothing
if not self.ability:IsCooldownReady() then
return nil
end
-- Set variables
local healing_in_process = false
local current_healed_hero
-- Clear heroes healed marker
local heroes = FindUnitsInRadius(self.caster:GetTeamNumber(),
self.caster:GetAbsOrigin(),
nil,
25000, --global
DOTA_UNIT_TARGET_TEAM_FRIENDLY,
DOTA_UNIT_TARGET_HERO,
DOTA_UNIT_TARGET_FLAG_NONE,
FIND_ANY_ORDER,
false)
for _, hero in pairs(heroes) do
hero.healed_by_healing_wave = false
end
-- Look for heroes that need healing
heroes = FindUnitsInRadius(self.caster:GetTeamNumber(),
self.caster:GetAbsOrigin(),
nil,
self.search_radius,
DOTA_UNIT_TARGET_TEAM_FRIENDLY,
DOTA_UNIT_TARGET_HERO,
DOTA_UNIT_TARGET_FLAG_NONE,
FIND_ANY_ORDER,
false)
-- Find at least one hero that needs healing, and heal him
for _, hero in pairs(heroes) do
local hero_hp_percent = hero:GetHealthPercent()
if hero_hp_percent <= self.hp_threshold then
current_healed_hero = hero
HealingWaveBounce(self.caster, self.caster, self.ability, hero)
self.ability:StartCooldown(self.ability:GetCooldown(-1))
break
end
end
-- If no hero was found that needed healing, do nothing
if not current_healed_hero then
return nil
end
-- Start bouncing with bounce delay
Timers:CreateTimer(self.bounce_delay, function()
-- Still don't know if other heroes need healing, assumes doesn't unless found
local heroes_need_healing = false
-- Look for other heroes nearby, regardless of if they need healing
heroes = FindUnitsInRadius(
self.caster:GetTeamNumber(),
current_healed_hero:GetAbsOrigin(),
nil,
self.bounce_radius,
DOTA_UNIT_TARGET_TEAM_FRIENDLY,
DOTA_UNIT_TARGET_HERO,
DOTA_UNIT_TARGET_FLAG_NONE,
FIND_ANY_ORDER,
false
)
-- Search for a hero
for _, hero in pairs(heroes) do
if not hero.healed_by_healing_wave and current_healed_hero ~= hero then
heroes_need_healing = true
HealingWaveBounce(self.caster, current_healed_hero, self.ability, hero)
current_healed_hero = hero
break
end
end
-- If a hero was found, there might be more: repeat operation
if heroes_need_healing then
return bounce_delay
else
return nil
end
end)
end
end
function HealingWaveBounce(caster, source, ability, hero)
local sound_cast = "Greevil.Shadow_Wave"
local particle_heal = "particles/hero/tower/tower_healing_wave.vpcf"
local heal_amount = ability:GetSpecialValueFor("heal_amount")
-- Mark hero as healed
hero.healed_by_healing_wave = true
-- Apply particle effect
local particle_heal_fx = ParticleManager:CreateParticle(particle_heal, PATTACH_ABSORIGIN, source)
ParticleManager:SetParticleControl(particle_heal_fx, 0, source:GetAbsOrigin())
ParticleManager:SetParticleControl(particle_heal_fx, 1, hero:GetAbsOrigin())
ParticleManager:SetParticleControl(particle_heal_fx, 3, source:GetAbsOrigin())
ParticleManager:SetParticleControl(particle_heal_fx, 4, source:GetAbsOrigin())
ParticleManager:ReleaseParticleIndex(particle_heal_fx)
-- Play cast sound
EmitSoundOn(sound_cast, caster)
-- Heal target
hero:Heal(heal_amount, caster)
-- dispel
hero:Purge(false, true, false, true, false)
end
function modifier_tower_healing_think:IsHidden()
return true
end
function modifier_tower_healing_think:IsPurgable()
return false
end
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
-- Tower's Tenacity Aura
---------------------------------------------------
---------------------------------------------------
---------------------------------------------------
imba_tower_tenacity = imba_tower_tenacity or class({})
LinkLuaModifier("modifier_imba_tower_tenacity_aura", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
LinkLuaModifier("modifier_imba_tower_tenacity_aura_buff", "components/abilities/buildings/tower_abilities", LUA_MODIFIER_MOTION_NONE)
function imba_tower_tenacity:GetAbilityTextureName()
return "custom/tower_tenacity"
end
function imba_tower_tenacity:GetIntrinsicModifierName()
return "modifier_imba_tower_tenacity_aura"
end
-- Tower Aura
modifier_imba_tower_tenacity_aura = modifier_imba_tower_tenacity_aura or class({})
function modifier_imba_tower_tenacity_aura:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
-- Ability specials
self.aura_radius = self.ability:GetSpecialValueFor("aura_radius")
self.aura_stickyness = self.ability:GetSpecialValueFor("aura_stickyness")
end
function modifier_imba_tower_tenacity_aura:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_tenacity_aura:GetAuraDuration()
return self.aura_stickyness
end
function modifier_imba_tower_tenacity_aura:GetAuraRadius()
return self.aura_radius
end
function modifier_imba_tower_tenacity_aura:GetAuraSearchFlags()
return DOTA_UNIT_TARGET_FLAG_PLAYER_CONTROLLED
end
function modifier_imba_tower_tenacity_aura:GetAuraSearchTeam()
return DOTA_UNIT_TARGET_TEAM_FRIENDLY
end
function modifier_imba_tower_tenacity_aura:GetAuraSearchType()
return DOTA_UNIT_TARGET_HERO + DOTA_UNIT_TARGET_BASIC
end
function modifier_imba_tower_tenacity_aura:GetModifierAura()
return "modifier_imba_tower_tenacity_aura_buff"
end
function modifier_imba_tower_tenacity_aura:IsAura()
return true
end
function modifier_imba_tower_tenacity_aura:IsDebuff()
return false
end
function modifier_imba_tower_tenacity_aura:IsHidden()
return true
end
-- Tenacity Modifier
modifier_imba_tower_tenacity_aura_buff = modifier_imba_tower_tenacity_aura_buff or class({})
function modifier_imba_tower_tenacity_aura_buff:OnCreated()
-- Ability properties
self.caster = self:GetCaster()
self.ability = self:GetAbility()
if not self.ability then
self:Destroy()
return nil
end
self.parent = self:GetParent()
-- Ability specials
self.base_tenacity_pct = self.ability:GetSpecialValueFor("base_tenacity_pct")
self.tenacity_per_protective = self.ability:GetSpecialValueFor("tenacity_per_protective")
end
function modifier_imba_tower_tenacity_aura_buff:DeclareFunctions()
local funcs = {
MODIFIER_PROPERTY_STATUS_RESISTANCE_STACKING,
}
return funcs
end
function modifier_imba_tower_tenacity_aura_buff:OnRefresh()
self:OnCreated()
end
function modifier_imba_tower_tenacity_aura_buff:IsHidden()
return false
end
function modifier_imba_tower_tenacity_aura_buff:GetModifierStatusResistanceStacking()
if self.caster:IsNull() then return 0 end
local protective_instinct_stacks = self.caster:GetModifierStackCount("modifier_imba_tower_protective_instinct", self.caster)
local tenacity = self.base_tenacity_pct + self.tenacity_per_protective * protective_instinct_stacks
return tenacity
end
|
--
-- Created by IntelliJ IDEA.
-- User: guoxiang.li
-- Date: 2020/06/30
-- Time: 21:26
-- To change this template use File | Settings | File Templates.
--
local a, b
a = 12
b = 3
a = a % b
|
--[[
This LocalScript is designed to simply listen for errors,
then report them back to the server so that the ErrorReporter can handle them.
]]
-- services
local ScriptContext = game:GetService("ScriptContext")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Players = game:GetService("Players")
-- helpers
local function printWarningMessage(target)
local msg = table.concat({
string.format("Could not locate %s.", target),
string.format("Clientside error reporting disabled for %s", Players.LocalPlayer.Name),
}, " ")
warn(msg)
end
-- find the error signal by navigating into the folder in ReplicatedStorage
local ErrorFolder = ReplicatedStorage:FindFirstChild("ErrorReporting", false)
if not ErrorFolder then
printWarningMessage("ReplicatedStorage.ErrorReporting")
return
end
local ClientErrorEvent = ErrorFolder:FindFirstChild("ClientErrorEvent")
if not ClientErrorEvent then
printWarningMessage("ReplicatedStorage.ErrorReporting.ClientErrorEvent")
return
end
-- simply pass the error up to the server. The server will strip out any player information.
ScriptContext.Error:Connect(function(message, stack, origin)
ClientErrorEvent:FireServer(message, stack, origin)
end) |
local vim = vim
local cmp = require 'cmp'
local luasnip = require 'luasnip'
local M = {}
local menu = {
gh_issues = '[issue]',
nvim_lua = '[lua]',
nvim_lsp = '[lsp]',
luasnip = '[snip]',
path = '[path]',
buffer = '[buf]',
}
local function has_words_before()
local line, col = unpack(vim.api.nvim_win_get_cursor(0))
return col ~= 0 and vim.api.nvim_buf_get_lines(0, line - 1, line, true)[1]:sub(col, col):match("%s") == nil
end
function M.setup()
cmp.setup {
completion = {
keyword_length = 3,
autocomplete = false,
},
documentation = {
border = 'single',
},
snippet = {
expand = function(args) require'luasnip'.lsp_expand(args.body) end,
},
mapping = {
['<CR>'] = cmp.config.disable,
['<C-d>'] = cmp.mapping(cmp.mapping.scroll_docs(-4), { 'i', 'c' }),
['<C-f>'] = cmp.mapping(cmp.mapping.scroll_docs( 4), { 'i', 'c' }),
['<C-n>'] = cmp.mapping(function(fallback)
if cmp.visible() then
cmp.select_next_item()
elseif has_words_before() then
cmp.complete()
else
fallback()
end
end, { 'i', 'c' }),
['<C-p>'] = cmp.mapping(function(fallback)
if cmp.visible() then
cmp.select_prev_item()
elseif has_words_before() then
cmp.complete()
else
fallback()
end
end, { 'i', 'c' }),
['<C-e>'] = cmp.mapping(function(fallback)
if cmp.visible() then
cmp.abort()
elseif luasnip.jumpable(-1) then
luasnip.jump(-1)
else
fallback()
end
end, { 'i', 'c', 's' }),
['<C-y>'] = cmp.mapping(function(fallback)
if cmp.visible() then
cmp.confirm {
behavior = cmp.ConfirmBehavior.Insert,
select = true,
}
if luasnip.expand_or_jumpable() then
luasnip.expand_or_jump()
end
elseif luasnip.expand_or_jumpable() then
luasnip.expand_or_jump()
else
fallback()
end
end, { 'i', 'c', 's' }),
},
sources = cmp.config.sources({
-- { name = 'gh_issues' },
{ name = 'nvim_lua' },
{ name = 'nvim_lsp' },
}, {
{ name = 'luasnip' },
{ name = 'path' },
{ name = 'buffer', keyword_length = 5 },
}),
formatting = {
format = function(entry, vim_item)
vim_item.menu = menu[entry.source.name]
return vim_item
end,
},
}
end
return M
|
return {
short_music_name = "song06",
bpm = 640,
offset_time = 0,
music_name = "bgm-song06",
left_track = {
{
begin_time = "0.5625",
key_flag = "K_LEFT",
end_time = "0.5625"
},
{
begin_time = "3.5625",
key_flag = "K_LEFT",
end_time = "3.5625"
},
{
begin_time = "6.65625",
key_flag = "K_LEFT",
end_time = "6.65625"
},
{
begin_time = "9.65625",
key_flag = "K_LEFT",
end_time = "9.65625"
},
{
begin_time = "11.53042",
key_flag = "K_LEFT",
end_time = "11.53042"
},
{
begin_time = "12.65625",
key_flag = "K_LEFT",
end_time = "12.65625"
},
{
begin_time = "13.40625",
key_flag = "K_LEFT",
end_time = "13.40625"
},
{
begin_time = "15.5625",
key_flag = "K_LEFT",
end_time = "15.5625"
},
{
begin_time = "20.15625",
key_flag = "K_LEFT",
end_time = "20.15625"
},
{
begin_time = "20.90625",
key_flag = "K_LEFT",
end_time = "20.90625"
},
{
begin_time = "23.0625",
key_flag = "K_LEFT",
end_time = "23.0625"
},
{
begin_time = "25.59375",
key_flag = "K_LEFT",
end_time = "25.59375"
},
{
begin_time = "27.65625",
key_flag = "K_LEFT",
end_time = "27.65625"
},
{
begin_time = "30.65625",
key_flag = "K_LEFT",
end_time = "30.65625"
},
{
begin_time = "33.1875",
key_flag = "K_LEFT",
end_time = "33.1875"
},
{
begin_time = "35.34375",
key_flag = "K_LEFT",
end_time = "35.34375"
},
{
begin_time = "36.18792",
key_flag = "K_LEFT",
end_time = "36.18792"
},
{
begin_time = "37.125",
key_flag = "K_LEFT",
end_time = "37.125"
},
{
begin_time = "39.65625",
key_flag = "K_LEFT",
end_time = "39.65625"
},
{
begin_time = "41.34375",
key_flag = "K_LEFT",
end_time = "41.34375"
},
{
begin_time = "41.71875",
key_flag = "K_LEFT",
end_time = "41.71875"
},
{
begin_time = "42.46992",
key_flag = "K_LEFT",
end_time = "42.46992"
},
{
begin_time = "44.71875",
key_flag = "K_LEFT",
end_time = "44.71875"
},
{
begin_time = "45.9375",
key_flag = "K_LEFT",
end_time = "45.9375"
},
{
begin_time = "47.0625",
key_flag = "K_LEFT",
end_time = "47.0625"
},
{
begin_time = "49.21875",
key_flag = "K_LEFT",
end_time = "49.21875"
},
{
begin_time = "50.71875",
key_flag = "K_LEFT",
end_time = "50.71875"
},
{
begin_time = "51.65625",
key_flag = "K_LEFT",
end_time = "51.65625"
},
{
begin_time = "52.78125",
key_flag = "K_LEFT",
end_time = "52.78125"
},
{
begin_time = "54.1875",
key_flag = "K_LEFT",
end_time = "54.1875"
},
{
begin_time = "55.5",
key_flag = "K_LEFT",
end_time = "55.5"
},
{
begin_time = "56.25094",
key_flag = "K_LEFT",
end_time = "56.25094"
},
{
begin_time = "56.8125",
key_flag = "K_LEFT",
end_time = "56.8125"
},
{
begin_time = "57.1875",
key_flag = "K_LEFT",
end_time = "57.1875"
},
{
begin_time = "57.93811",
key_flag = "K_LEFT",
end_time = "57.93811"
},
{
begin_time = "58.5005",
key_flag = "K_LEFT",
end_time = "58.5005"
},
{
begin_time = "60.1875",
key_flag = "K_LEFT",
end_time = "60.1875"
},
{
begin_time = "61.5",
key_flag = "K_LEFT",
end_time = "61.5"
},
{
begin_time = "63",
key_flag = "K_LEFT",
end_time = "63"
},
{
begin_time = "64.5",
key_flag = "K_LEFT",
end_time = "64.5"
},
{
begin_time = "65.25",
key_flag = "K_LEFT",
end_time = "65.25"
},
{
begin_time = "66.00054",
key_flag = "K_LEFT",
end_time = "66.00054"
},
{
begin_time = "67.5",
key_flag = "K_LEFT",
end_time = "67.5"
},
{
begin_time = "69.375",
key_flag = "K_LEFT",
end_time = "69.375"
},
{
begin_time = "70.875",
key_flag = "K_LEFT",
end_time = "70.875"
},
{
begin_time = "72.46875",
key_flag = "K_LEFT",
end_time = "72.46875"
},
{
begin_time = "74.06238",
key_flag = "K_LEFT",
end_time = "74.06238"
},
{
begin_time = "74.625",
key_flag = "K_LEFT",
end_time = "74.625"
},
{
begin_time = "75.5621",
key_flag = "K_LEFT",
end_time = "75.5621"
},
{
begin_time = "76.96847",
key_flag = "K_LEFT",
end_time = "76.96847"
},
{
begin_time = "78.46875",
key_flag = "K_LEFT",
end_time = "78.46875"
},
{
begin_time = "79.96769",
key_flag = "K_LEFT",
end_time = "79.96769"
},
{
begin_time = "81.56223",
key_flag = "K_LEFT",
end_time = "81.56223"
},
{
begin_time = "83.25",
key_flag = "K_LEFT",
end_time = "83.25"
},
{
begin_time = "84.84375",
key_flag = "K_LEFT",
end_time = "84.84375"
},
{
begin_time = "86.8125",
key_flag = "K_LEFT",
end_time = "86.8125"
},
{
begin_time = "88.3125",
key_flag = "K_LEFT",
end_time = "88.3125"
},
{
begin_time = "90.1875",
key_flag = "K_LEFT",
end_time = "90.1875"
},
{
begin_time = "91.6875",
key_flag = "K_LEFT",
end_time = "91.6875"
},
{
begin_time = "92.8125",
key_flag = "K_LEFT",
end_time = "92.8125"
},
{
begin_time = "94.3125",
key_flag = "K_LEFT",
end_time = "94.3125"
},
{
begin_time = "95.4375",
key_flag = "K_LEFT",
end_time = "95.4375"
},
{
begin_time = "96.00083",
key_flag = "K_LEFT",
end_time = "96.00083"
},
{
begin_time = "96.37533",
key_flag = "K_LEFT",
end_time = "96.37533"
},
{
begin_time = "97.31203",
key_flag = "K_LEFT",
end_time = "97.31203"
},
{
begin_time = "98.2515",
key_flag = "K_LEFT",
end_time = "98.2515"
},
{
begin_time = "99",
key_flag = "K_LEFT",
end_time = "99"
},
{
begin_time = "102.5625",
key_flag = "K_LEFT",
end_time = "102.5625"
}
},
right_track = {
{
begin_time = "1.96953",
key_flag = "K_RIGHT",
end_time = "1.96953"
},
{
begin_time = "5.062435",
key_flag = "K_RIGHT",
end_time = "5.062435"
},
{
begin_time = "8.15625",
key_flag = "K_RIGHT",
end_time = "8.15625"
},
{
begin_time = "11.15521",
key_flag = "K_RIGHT",
end_time = "11.15521"
},
{
begin_time = "11.90625",
key_flag = "K_RIGHT",
end_time = "11.90625"
},
{
begin_time = "14.15625",
key_flag = "K_RIGHT",
end_time = "14.15625"
},
{
begin_time = "14.90625",
key_flag = "K_RIGHT",
end_time = "14.90625"
},
{
begin_time = "17.0625",
key_flag = "K_RIGHT",
end_time = "17.0625"
},
{
begin_time = "18.65625",
key_flag = "K_RIGHT",
end_time = "18.65625"
},
{
begin_time = "19.40625",
key_flag = "K_RIGHT",
end_time = "19.40625"
},
{
begin_time = "21.5625",
key_flag = "K_RIGHT",
end_time = "21.5625"
},
{
begin_time = "24.56188",
key_flag = "K_RIGHT",
end_time = "24.56188"
},
{
begin_time = "25.96875",
key_flag = "K_RIGHT",
end_time = "25.96875"
},
{
begin_time = "28.96875",
key_flag = "K_RIGHT",
end_time = "28.96875"
},
{
begin_time = "31.96875",
key_flag = "K_RIGHT",
end_time = "31.96875"
},
{
begin_time = "33.65625",
key_flag = "K_RIGHT",
end_time = "33.65625"
},
{
begin_time = "34.875",
key_flag = "K_RIGHT",
end_time = "34.875"
},
{
begin_time = "35.8125",
key_flag = "K_RIGHT",
end_time = "35.8125"
},
{
begin_time = "36.5625",
key_flag = "K_RIGHT",
end_time = "36.5625"
},
{
begin_time = "37.875",
key_flag = "K_RIGHT",
end_time = "37.875"
},
{
begin_time = "40.875",
key_flag = "K_RIGHT",
end_time = "40.875"
},
{
begin_time = "41.53125",
key_flag = "K_RIGHT",
end_time = "41.53125"
},
{
begin_time = "43.87474",
key_flag = "K_RIGHT",
end_time = "43.87474"
},
{
begin_time = "45.1875",
key_flag = "K_RIGHT",
end_time = "45.1875"
},
{
begin_time = "46.5",
key_flag = "K_RIGHT",
end_time = "46.5"
},
{
begin_time = "47.625",
key_flag = "K_RIGHT",
end_time = "47.625"
},
{
begin_time = "48.65625",
key_flag = "K_RIGHT",
end_time = "48.65625"
},
{
begin_time = "49.78125",
key_flag = "K_RIGHT",
end_time = "49.78125"
},
{
begin_time = "51.09375",
key_flag = "K_RIGHT",
end_time = "51.09375"
},
{
begin_time = "52.21875",
key_flag = "K_RIGHT",
end_time = "52.21875"
},
{
begin_time = "53.81258",
key_flag = "K_RIGHT",
end_time = "53.81258"
},
{
begin_time = "55.125",
key_flag = "K_RIGHT",
end_time = "55.125"
},
{
begin_time = "55.87539",
key_flag = "K_RIGHT",
end_time = "55.87539"
},
{
begin_time = "56.625",
key_flag = "K_RIGHT",
end_time = "56.625"
},
{
begin_time = "57",
key_flag = "K_RIGHT",
end_time = "57"
},
{
begin_time = "57.5625",
key_flag = "K_RIGHT",
end_time = "57.5625"
},
{
begin_time = "58.1253",
key_flag = "K_RIGHT",
end_time = "58.1253"
},
{
begin_time = "58.87571",
key_flag = "K_RIGHT",
end_time = "58.87571"
},
{
begin_time = "60.75",
key_flag = "K_RIGHT",
end_time = "60.75"
},
{
begin_time = "62.25",
key_flag = "K_RIGHT",
end_time = "62.25"
},
{
begin_time = "63.5625",
key_flag = "K_RIGHT",
end_time = "63.5625"
},
{
begin_time = "64.875",
key_flag = "K_RIGHT",
end_time = "64.875"
},
{
begin_time = "65.625",
key_flag = "K_RIGHT",
end_time = "65.625"
},
{
begin_time = "66.93835",
key_flag = "K_RIGHT",
end_time = "66.93835"
},
{
begin_time = "68.4375",
key_flag = "K_RIGHT",
end_time = "68.4375"
},
{
begin_time = "70.3125",
key_flag = "K_RIGHT",
end_time = "70.3125"
},
{
begin_time = "71.8125",
key_flag = "K_RIGHT",
end_time = "71.8125"
},
{
begin_time = "73.31293",
key_flag = "K_RIGHT",
end_time = "73.31293"
},
{
begin_time = "74.34375",
key_flag = "K_RIGHT",
end_time = "74.34375"
},
{
begin_time = "74.8125",
key_flag = "K_RIGHT",
end_time = "74.8125"
},
{
begin_time = "76.22027",
key_flag = "K_RIGHT",
end_time = "76.22027"
},
{
begin_time = "77.718",
key_flag = "K_RIGHT",
end_time = "77.718"
},
{
begin_time = "79.21875",
key_flag = "K_RIGHT",
end_time = "79.21875"
},
{
begin_time = "80.71875",
key_flag = "K_RIGHT",
end_time = "80.71875"
},
{
begin_time = "82.6875",
key_flag = "K_RIGHT",
end_time = "82.6875"
},
{
begin_time = "84.46875",
key_flag = "K_RIGHT",
end_time = "84.46875"
},
{
begin_time = "85.6875",
key_flag = "K_RIGHT",
end_time = "85.6875"
},
{
begin_time = "87",
key_flag = "K_RIGHT",
end_time = "87"
},
{
begin_time = "89.0625",
key_flag = "K_RIGHT",
end_time = "89.0625"
},
{
begin_time = "90.5625",
key_flag = "K_RIGHT",
end_time = "90.5625"
},
{
begin_time = "92.0625",
key_flag = "K_RIGHT",
end_time = "92.0625"
},
{
begin_time = "93.5625",
key_flag = "K_RIGHT",
end_time = "93.5625"
},
{
begin_time = "95.06298",
key_flag = "K_RIGHT",
end_time = "95.06298"
},
{
begin_time = "95.625",
key_flag = "K_RIGHT",
end_time = "95.625"
},
{
begin_time = "96.1875",
key_flag = "K_RIGHT",
end_time = "96.1875"
},
{
begin_time = "96.5625",
key_flag = "K_RIGHT",
end_time = "96.5625"
},
{
begin_time = "98.0625",
key_flag = "K_RIGHT",
end_time = "98.0625"
},
{
begin_time = "98.625",
key_flag = "K_RIGHT",
end_time = "98.625"
},
{
begin_time = "100.875",
key_flag = "K_RIGHT",
end_time = "100.875"
},
{
begin_time = "102.6575",
key_flag = "K_RIGHT",
end_time = "102.6575"
}
}
}
|
bordok_herd_master = Creature:new {
objectName = "@mob/creature_names:bordok_herd_master",
socialGroup = "bordok",
faction = "",
level = 40,
chanceHit = 0.43,
damageMin = 355,
damageMax = 420,
baseXp = 3915,
baseHAM = 9500,
baseHAMmax = 11600,
armor = 0,
resists = {25,25,25,200,200,-1,-1,-1,-1},
meatType = "meat_herbivore",
meatAmount = 250,
hideType = "hide_leathery",
hideAmount = 175,
boneType = "bone_mammal",
boneAmount = 165,
milk = 0,
tamingChance = 0.25,
ferocity = 0,
pvpBitmask = ATTACKABLE,
creatureBitmask = PACK + HERD,
optionsBitmask = AIENABLED,
diet = HERBIVORE,
templates = {"object/mobile/bordok_hue.iff"},
hues = { 8, 9, 10, 11, 12, 13, 14, 15 },
scale = 1.1,
lootGroups = {},
weapons = {},
conversationTemplate = "",
attacks = {
{"intimidationattack",""}
}
}
CreatureTemplates:addCreatureTemplate(bordok_herd_master, "bordok_herd_master")
|
canyon_corsair_guard = Creature:new {
objectName = "@mob/creature_names:canyon_corsair_guard",
randomNameType = NAME_GENERIC,
randomNameTag = true,
socialGroup = "canyon_corsair",
faction = "canyon_corsair",
level = 36,
chanceHit = 0.42,
damageMin = 325,
damageMax = 360,
baseXp = 3642,
baseHAM = 8900,
baseHAMmax = 10900,
armor = 0,
resists = {25,60,25,-1,-1,-1,25,-1,-1},
meatType = "",
meatAmount = 0,
hideType = "",
hideAmount = 0,
boneType = "",
boneAmount = 0,
milk = 0,
tamingChance = 0.0,
ferocity = 0,
pvpBitmask = AGGRESSIVE + ATTACKABLE + ENEMY,
creatureBitmask = PACK + KILLER,
optionsBitmask = AIENABLED,
diet = HERBIVORE,
templates = {
"object/mobile/dressed_corsair_guard_hum_f.iff",
"object/mobile/dressed_corsair_guard_hum_m.iff",
"object/mobile/dressed_corsair_guard_nikto_m.iff",
"object/mobile/dressed_corsair_guard_rod_m.iff"
},
lootGroups = {
{
groups = {
{group = "junk", chance = 4100000},
{group = "tailor_components", chance = 1000000},
{group = "color_crystals", chance = 400000},
{group = "power_crystals", chance = 400000},
{group = "melee_two_handed", chance = 600000},
{group = "carbines", chance = 600000},
{group = "pistols", chance = 600000},
{group = "clothing_attachments", chance = 400000},
{group = "armor_attachments", chance = 400000},
{group = "canyon_corsair_common", chance = 1500000}
}
}
},
weapons = {"canyon_corsair_weapons"},
conversationTemplate = "",
reactionStf = "@npc_reaction/slang",
attacks = merge(swordsmanmaster,carbineermaster,tkamaster,brawlermaster,marksmanmaster)
}
CreatureTemplates:addCreatureTemplate(canyon_corsair_guard, "canyon_corsair_guard")
|
------------------------
--- For GUI Building ---
------------------------
stats = {
[1] = {
[1] = { id = "joinDate", name = "Join Date" },
[2] = { id = "country", name = "Country" },
[3] = { id = "id5", name = "Playtime" },
[4] = { id = "id4", name = "Total Checkpoints" },
[5] = { id = "id6", name = "Total Deaths" },
},
[2] = {
[1] = { id = "id1", name = "Starts" },
[2] = { id = "id2", name = "Finishes" },
[3] = { id = "id3", name = "Wins" },
[4] = { id = "race_top1", name = "Top 1's" },
},
[3] = {
[1] = { id = "id7", name = "Starts" },
[2] = { id = "id8", name = "Finishes" },
[3] = { id = "id9", name = "Wins" },
[4] = { id = "nts_top1", name = "Top 1's" },
},
[4] = {
[1] = { id = "id10", name = "Starts" },
[2] = { id = "id11", name = "Wins" },
[3] = { id = "rtf_top1", name = "Top 1's" },
},
[5] = {
[1] = { id = "id12", name = "Deaths" },
[2] = { id = "id13", name = "Wins" },
[3] = { id = "id14", name = "Kills" },
[4] = { id = "dd_top1", name = "Top 1's" },
},
[6] = {
[1] = { id = "id15", name = "Flags Delivered" },
},
[7] = {
[1] = { id = "id16", name = "Deaths" },
[2] = { id = "id17", name = "Wins" },
[3] = { id = "id18", name = "Kills" },
[4] = { id = "sh_top1", name = "Top 1's" },
},
}
subgroups = {
[1] = "General",
[2] = "Race",
[3] = "Never The Same",
[4] = "Reach The Flag",
[5] = "Destruction Derby",
[6] = "Capture The Flag",
[7] = "Shooter",
} |
local _, L = ...
function L.GetListString(...)
local ret = ''
local strings = {...}
local num = #strings
for i, str in pairs(strings) do
ret = ret .. '• ' .. str .. (i == num and '' or '\n')
end
return ret
end
function L.ValidateKey(key)
return ( key and ( not key:lower():match('button') ) ) and key
end
function L.GetDefaultConfig()
local t = {}
for k, v in pairs(L.defaults) do
t[k] = v
end
return t
end
function L.Get(key)
if L.cfg and L.cfg[key] ~= nil then
return L.cfg[key]
else
return L.defaults[key]
end
end
function L.Set(key, val)
L.cfg = L.cfg or {}
L.cfg[key] = val
end
function L.GetFromSV(tbl)
local id = tbl[#tbl]
return ( L.cfg and L.cfg[id])
end
function L.GetFromDefaultOrSV(tbl)
local id = tbl[#tbl]
return ( L.cfg and L.cfg[id]) or L.defaults[id]
end
setmetatable(L, {
__call = function(self, input, newValue)
return L.Get(input) or self[input]
end,
})
----------------------------------
-- Default config
----------------------------------
L.defaults = {
----------------------------------
scale = 1,
strata = 'MEDIUM',
hideui = false,
-- theme = 'DEFAULT',
titlescale = 1,
titleoffset = 500,
titleoffsetY = 0,
elementscale = 1,
boxscale = 1,
boxoffsetX = 0,
boxoffsetY = 150,
boxlock = true,
boxpoint = 'Bottom',
disableprogression = false,
flipshortcuts = false,
delaydivisor = 15,
anidivisor = 5,
inspect = 'SHIFT',
accept = 'SPACE',
reset = 'BACKSPACE',
}---------------------------------
local stratas = {
LOW = L['Low'],
MEDIUM = L['Medium'],
HIGH = L['High'],
DIALOG = L['Dialog'],
FULLSCREEN = L['Fullscreen'],
FULLSCREEN_DIALOG = L['Fullscreen dialog'],
TOOLTIP = L['Tooltip'],
}
local modifiers = {
SHIFT = SHIFT_KEY_TEXT,
CTRL = CTRL_KEY_TEXT,
ALT = ALT_KEY_TEXT,
NOMOD = NONE,
}
--[[
local themes = {
DEFAULT = DEFAULT;
ALLIANCE = ALLIANCE_CHEER;
HORDE = HORDE_CHEER;
NEUTRAL = BUG_CATEGORY8;
}]]
local titleanis = {
[0] = OFF,
[1] = SPELL_CAST_TIME_INSTANT,
[5] = FAST,
[10] = SLOW,
}
L.options = {
type = 'group',
args = {
general = {
type = 'group',
name = GENERAL,
order = 1,
args = {
framelock = {
type = 'group',
name = LOCK_FOCUS_FRAME,
inline = true,
order = 0,
args = {
boxlock = {
type = 'toggle',
name = MODEL .. ' / ' .. LOCALE_TEXT_LABEL,
get = L.GetFromSV,
set = function(_, val) L.cfg.boxlock = val end,
order = 0,
},
titlelock = {
type = 'toggle',
name = QUESTS_LABEL .. ' / ' .. GOSSIP_OPTIONS,
get = L.GetFromSV,
set = function(_, val) L.cfg.titlelock = val end,
order = 1,
},
},
},
text = {
type = 'group',
name = L['Behavior'],
inline = true,
order = 1,
args = {
delaydivisor = {
type = 'range',
name = 'Text speed',
desc = L['Change the speed of text delivery.'] .. '\n\n' ..
MINIMUM .. '\n"' .. L['How are you doing today?'] .. '"\n -> ' ..
format(D_SECONDS, (strlen(L['How are you doing today?']) / 5) + 2) .. '\n\n' ..
MAXIMUM .. '\n"' .. L['How are you doing today?'] .. '"\n -> ' ..
format(D_SECONDS, (strlen(L['How are you doing today?']) / 40) + 2),
min = 5,
max = 40,
step = 5,
order = 1,
get = L.GetFromDefaultOrSV,
set = function(self, val)
L.cfg.delaydivisor = val
end,
},
disableprogression = {
type = 'toggle',
name = L['Disable automatic text progress'],
desc = L['Stop NPCs from automatically proceeding to the next line of dialogue.'],
order = 2,
get = L.GetFromSV,
set = function(_, val) L.cfg.disableprogression = val end,
},
showprogressbar = {
type = 'toggle',
name = L['Show text progress bar'],
order = 4,
get = L.GetFromSV,
set = function(_, val) L.cfg.showprogressbar = val end,
disabled = function() return L('disableprogression') end,
},
mouseheader = {
type = 'header',
name = MOUSE_LABEL,
order = 5,
},
flipshortcuts = {
type = 'toggle',
name = L['Flip mouse functions'],
desc = L.GetListString(
L['Left click is used to handle text.'],
L['Right click is used to accept/hand in quests.']),
order = 6,
get = L.GetFromSV,
set = function(_, val) L.cfg.flipshortcuts = val end,
disabled = function() return ConsolePort end,
},
immersivemode = {
type = 'toggle',
name = L['Immersive mode'],
desc = L['Use your primary mouse button to read through text, accept/turn in quests and select the best available gossip option.'],
order = 7,
get = L.GetFromSV,
set = function(_, val) L.cfg.immersivemode = val end,
disabled = function() return ConsolePort end,
},
},
},
hide = {
type = 'group',
name = L['Hide interface'],
inline = true,
order = 2,
args = {
hideui = {
type = 'toggle',
name = L['Hide interface'],
desc = L['Hide my user interface when interacting with an NPC.'],
order = 0,
get = L.GetFromSV,
set = function(_, val) L.cfg.hideui = val end,
},
hideminimap = {
type = 'toggle',
name = L['Hide minimap'],
disabled = function() return not L('hideui') end,
order = 1,
get = L.GetFromSV,
set = function(_, val)
L.cfg.hideminimap = val
L.ToggleIgnoreFrame(Minimap, not val)
L.ToggleIgnoreFrame(MinimapCluster, not val)
end,
},
hidetracker = {
type = 'toggle',
name = L['Hide objective tracker'],
disabled = function() return not L('hideui') end,
order = 1,
get = L.GetFromSV,
set = function(_, val)
L.cfg.hidetracker = val
L.ToggleIgnoreFrame(ObjectiveTrackerFrame, not val)
end,
},
hidetooltip = {
type = 'toggle',
name = L['Hide tooltip'],
disabled = function() return not L('hideui') end,
order = 1,
get = L.GetFromSV,
set = function(_, val)
L.cfg.hidetooltip = val
end,
},
},
},
ontheflybox = {
type = 'group',
name = PLAYBACK,
inline = true,
order = 3,
args = {
onthefly = {
type = 'toggle',
name = QUICKBUTTON_NAME_EVERYTHING,
order = 0,
get = L.GetFromSV,
set = function(_, val) L.cfg.onthefly = val end,
},
ontheflydesc = {
type = 'description',
fontSize = 'medium',
order = 1,
name = L["The quest/gossip text doesn't vanish when you stop interacting with the NPC or when accepting a new quest. Instead, it vanishes at the end of the text sequence. This allows you to maintain your immersive experience when speed leveling."],
},
supertracked = {
type = 'toggle',
name = OBJECTIVES_TRACKER_LABEL,
order = 2,
get = L.GetFromSV,
set = function(_, val) L.cfg.supertracked = val end,
},
supertrackeddesc = {
type = 'description',
fontSize = 'medium',
order = 3,
name = L["When a quest is supertracked (clicked on in the objective tracker, or set automatically by proximity), the quest text will play if nothing else is obstructing it."],
},
},
},
talkinghead = {
type = 'group',
name = L['Hook talking head'],
inline = true,
order = 5,
args = {
movetalkinghead = {
type = 'toggle',
name = VIDEO_OPTIONS_ENABLED,
order = 0,
get = L.GetFromSV,
set = function(_, val) L.cfg.movetalkinghead = val end,
},
movetalkingheaddesc = {
type = 'description',
fontSize = 'medium',
name = L["The regular talking head frame appears in the same place as Immersion when you're not interacting with anything and on top of Immersion if they are visible at the same time."],
},
},
},
},
},
keybindings = {
type = 'group',
name = KEY_BINDINGS,
order = 2,
disabled = function() return ConsolePort end,
args = {
header = {
type = 'header',
name = KEY_BINDINGS,
order = 0,
},
accept = {
type = 'keybinding',
name = ACCEPT,
desc = L.GetListString(ACCEPT, NEXT, CONTINUE, COMPLETE_QUEST, SPELL_CAST_TIME_INSTANT .. ': ' .. modifiers[L('inspect')]),
get = L.GetFromSV,
set = function(_, val) L.cfg.accept = L.ValidateKey(val) end,
order = 1,
},
reset = {
type = 'keybinding',
name = RESET,
get = L.GetFromSV,
set = function(_, val) L.cfg.reset = L.ValidateKey(val) end,
order = 4,
},
goodbye = {
type = 'keybinding',
name = GOODBYE .. '/' .. CLOSE .. ' (' .. KEY_ESCAPE .. ')',
desc = L.GetListString(QUESTS_LABEL, GOSSIP_OPTIONS),
get = L.GetFromSV,
set = function(_, val) L.cfg.goodbye = L.ValidateKey(val) end,
order = 2,
},
enablenumbers = {
type = 'toggle',
name = '[1-9] ' .. PET_BATTLE_SELECT_AN_ACTION, -- lol
desc = L.GetListString(QUESTS_LABEL, GOSSIP_OPTIONS),
get = L.GetFromSV,
set = function(_, val) L.cfg.enablenumbers = val end,
order = 5,
},
},
},
display = {
type = 'group',
name = DISPLAY,
order = 3,
args = {
anidivisor = {
type = 'select',
name = L['Dynamic offset'],
order = 0,
values = titleanis,
get = L.GetFromDefaultOrSV,
set = function(_, val) L.cfg.anidivisor = val end,
style = 'dropdown',
},
strata = {
type = 'select',
name = L['Frame strata'],
order = 1,
values = stratas,
get = L.GetFromDefaultOrSV,
set = function(_, val) local f = L.frame
L.cfg.strata = val
f:SetFrameStrata(val)
f.TalkBox:SetFrameStrata(val)
end,
style = 'dropdown',
},
scale = {
type = 'range',
name = L['Global scale'],
min = 0.5,
max = 1.5,
step = 0.1,
order = 2,
get = L.GetFromDefaultOrSV,
set = function(self, val)
L.cfg.scale = val
L.frame:SetScale(val)
end,
},
solidbackground = {
type = 'toggle',
name = L['Solid background'],
order = 3,
get = L.GetFromSV,
set = function(_, val)
L.cfg.solidbackground = val
L.frame.TalkBox.BackgroundFrame.SolidBackground:SetShown(val)
L.frame.TalkBox.Elements:SetBackdrop(val and L.Backdrops.TALKBOX_SOLID or L.Backdrops.TALKBOX)
end,
},
header = {
type = 'header',
name = DISPLAY,
order = 4,
},
description = {
type = 'description',
fontSize = 'medium',
order = 5,
name = L.GetListString(
MODEL ..' / '.. LOCALE_TEXT_LABEL ..': '..L['Customize the talking head frame.'],
QUESTS_LABEL..' / '..GOSSIP_OPTIONS..': '..L['Change the placement and scale of your dialogue options.']) .. '\n',
},
box = {
type = 'group',
name = MODEL .. ' / ' .. LOCALE_TEXT_LABEL,
inline = true,
order = 6,
args = {
boxscale = {
type = 'range',
name = L['Scale'],
order = 0,
min = 0.5,
max = 1.5,
step = 0.1,
get = L.GetFromDefaultOrSV,
set = function(self, val)
L.cfg.boxscale = val
L.frame.TalkBox:SetScale(val)
end,
},
disableglowani = {
type = 'toggle',
name = L['Disable sheen animation'],
order = 1,
get = L.GetFromSV,
set = function(_, val) L.cfg.disableglowani = val end,
},
disableportrait = {
type = 'toggle',
name = L['Disable portrait border'],
order = 3,
get = L.GetFromSV,
set = function(_, val)
L.cfg.disableportrait = val
L.frame.TalkBox.PortraitFrame:SetShown(not val)
L.frame.TalkBox.MainFrame.Model.PortraitBG:SetShown(not val)
end,
},
disableanisequence = {
type = 'toggle',
name = L['Disable model animations'],
order = 5,
get = L.GetFromSV,
set = function(_, val)
L.cfg.disableanisequence = val
end
},
disableboxhighlight = {
type = 'toggle',
name = L['Disable mouseover highlight'],
order = 6,
get = L.GetFromSV,
set = function(_, val)
L.cfg.disableboxhighlight = val
end,
},
resetposition = {
type = 'execute',
name = RESET_POSITION,
order = 7,
func = function(self)
L.Set('boxpoint', L.defaults.boxpoint)
L.Set('boxoffsetX', L.defaults.boxoffsetX)
L.Set('boxoffsetY', L.defaults.boxoffsetY)
local t = L.frame.TalkBox
t.extraY = 0
t.offsetX = L('boxoffsetX')
t.offsetY = L('boxoffsetY')
t:ClearAllPoints()
t:SetPoint(L('boxpoint'), UIParent, L('boxoffsetX'), L('boxoffsetY'))
end,
},
},
},
titles = {
type = 'group',
name = QUESTS_LABEL .. ' / ' .. GOSSIP_OPTIONS,
inline = true,
order = 7,
args = {
gossipatcursor = {
type = 'toggle',
name = L['Show at mouse location'],
get = L.GetFromSV,
set = function(_, val) L.cfg.gossipatcursor = val end,
order = 0,
},
titlescale = {
type = 'range',
name = 'Scale',
min = 0.5,
max = 1.5,
step = 0.1,
order = 2,
get = L.GetFromDefaultOrSV,
set = function(self, val)
L.cfg.titlescale = val
L.frame.TitleButtons:SetScale(val)
end,
},
},
},
elements = {
type = 'group',
name = QUEST_OBJECTIVES .. ' / ' .. QUEST_REWARDS,
inline = true,
order = 8,
args = {
elementscale = {
type = 'range',
name = 'Scale',
min = 0.5,
max = 1.5,
step = 0.1,
order = 2,
get = L.GetFromDefaultOrSV,
set = function(self, val)
L.cfg.elementscale = val
L.frame.TalkBox.Elements:SetScale(val)
end,
},
inspect = {
type = 'select',
name = INSPECT .. ' ('..ITEMS..')',
order = 3,
values = modifiers,
get = L.GetFromDefaultOrSV,
set = function(_, val)
L.cfg.inspect = val
end,
style = 'dropdown',
},
},
},
},
},
--[[ experimental = {
type = 'group',
name = 'Experimental',
order = 5,
args = {
nameplatemodebox = {
type = 'group',
name = 'Anchor to NPC nameplate',
inline = true,
order = 0,
args = {
nameplatemode = {
type = 'toggle',
name = VIDEO_OPTIONS_ENABLED,
order = 0,
get = L.GetFromSV,
set = function(_, val) L.cfg.nameplatemode = val end,
},
nameplatemodecvar = {
type = 'execute',
name = 'Toggle CVar',
order = 1,
func = function(self)
local state = GetCVarBool('nameplateShowFriends')
SetCVar('nameplateShowFriends', not state)
local msg = state and NAMEPLATES_MESSAGE_FRIENDLY_OFF or NAMEPLATES_MESSAGE_FRIENDLY_ON
UIErrorsFrame:AddMessage(msg, YELLOW_FONT_COLOR.r, YELLOW_FONT_COLOR.g, YELLOW_FONT_COLOR.b)
end,
},
nameplatemodedesc = {
type = 'description',
fontSize = 'medium',
order = 2,
name = 'Show frame on NPC nameplate. This feature requires a CVar to be enabled (nameplateShowFriends).\nClick on the button above to toggle this CVar on/off.\n\nNote that you might have to press Cancel in the interface options for the CVar changes to take effect.',
},
},
},
},
},]]
},
} |
--[[
* Natural Selection 2 - Combat++ Mod
* Created by: WhiteWizard
*
* Combat++ Client message hooks.
]]
local function OnCombatScoreUpdate(message)
CombatScoreDisplayUI_SetNewXPAward(message.xp, message.source, message.targetId)
end
Client.HookNetworkMessage("CombatScoreUpdate", OnCombatScoreUpdate)
local function OnCombatSkillPointUpdate(message)
CombatScoreDisplayUI_SkillPointEarned(message.source, message.kill, message.assists)
end
Client.HookNetworkMessage("CombatSkillPointUpdate", OnCombatSkillPointUpdate)
|
local _, ns = ...
local SyLevel = ns.SyLevel
local colorFunc
local typeface, size, align, reference, offsetx, offsety, flags
local Media = SyLevel.media
local function createText(self)
local tc = self.SyLevelBindText
if (not tc) then
if (not self:IsObjectType("Frame")) then
tc = self:GetParent():CreateFontString(nil, "OVERLAY")
else
tc = self:CreateFontString(nil, "OVERLAY")
end
self.SyLevelBindText = tc
end
return tc
end
local function UpdateFont()
typeface, size, align, reference, offsetx, offsety, flags = SyLevel:GetFontSettings()
end
local function UpdateColorFunc()
colorFunc = SyLevel:GetColorFunc()
end
local function textDisplay(frame, value)
if not frame then return end
if value then
local tc = createText(frame)
if not typeface then UpdateFont() end
if not colorFunc then UpdateColorFunc() end
tc:SetFont(Media:Fetch("font", typeface), size, flags)
tc:SetJustifyH("CENTER")
tc:SetTextColor(1, 1, 1, 1)
tc:SetPoint("TOP", frame, "TOP", offsetx, offsety)
tc:SetText(value)
tc:Show()
elseif (frame.SyLevelBindText) then
frame.SyLevelBindText:Hide()
end
end
SyLevel:RegisterOptionCallback(UpdateFont)
SyLevel:RegisterOptionCallback(UpdateColorFunc)
SyLevel:RegisterDisplay("BindsOnText", textDisplay) |
--[[
Copyright (c) 2015-present, Facebook, Inc.
All rights reserved.
This source code is licensed under the BSD-style license found in the
LICENSE file in the root directory of this source tree. An additional grant
of patent rights can be found in the PATENTS file in the same directory.
]]--
--[[
Copyright (c) 2015-present, Facebook, Inc.
All rights reserved.
This source code is licensed under the BSD-style license found in the
LICENSE file in the root directory of this source tree. An additional grant
of patent rights can be found in the PATENTS file in the same directory.
]]--
--[[
Copyright (c) 2015-present, Facebook, Inc.
All rights reserved.
This source code is licensed under the BSD-style license found in the
LICENSE file in the root directory of this source tree. An additional grant
of patent rights can be found in the PATENTS file in the same directory.
]]--
--[[
Copyright (c) 2015-present, Facebook, Inc.
All rights reserved.
This source code is licensed under the BSD-style license found in the
LICENSE file in the root directory of this source tree. An additional grant
of patent rights can be found in the PATENTS file in the same directory.
]]--
frame = "2 0 185 2 32 107 25 25 0 0 0 0 0 1 1 35 10 0 1 263 860 16 16 0 0 5 5 0 0 1 162 77 -1 32 107 0 0 0 7 27 171 25 25 0 0 0 0 0 1 1 35 10 0 1 221 1370 16 16 0 0 5 5 0 0 1 162 77 -1 26 172 -0.898438 1.78906 0 9 32 86 25 25 0 0 0 0 0 1 1 35 10 0 1 257 693 16 16 0 0 5 5 0 0 1 162 77 -1 31 87 -1.30469 1.51563 0 11 32 372 300 300 300 0 0 0 0 1 1 156 0 0 3 256 2976 33 33 0 0 5 5 0 0 1 162 23 -1 32 372 0 0 0 12 12 440 300 300 300 0 0 0 0 1 1 156 0 0 3 96 3520 33 33 0 0 5 5 0 0 1 162 23 -1 12 440 0 0 0 13 27 146 25 25 0 0 0 0 0 1 1 35 10 0 1 217 1172 16 16 0 0 5 5 0 0 1 162 77 -1 26 145 -1.44531 -1.38281 0 15 28 155 25 25 0 0 0 0 0 1 1 35 10 0 1 231 1242 16 16 0 0 5 5 0 0 1 162 77 16 28 155 0 0 0 19 37 188 25 25 0 0 0 0 0 1 1 35 10 0 1 298 1507 16 16 0 0 5 5 0 0 1 162 77 20 37 187 0 -2 0 10 40 86 2500 2500 0 0 0 0 0 1 1 133 1 0 3 320 688 99 65 0 0 5 5 0 0 1 162 23 -1 40 86 0 0 0 21 38 127 25 25 0 0 0 0 0 1 1 35 10 0 1 309 1017 16 16 0 0 5 5 0 0 1 162 77 22 38 127 0 0 0 23 4 156 1000 1000 0 0 0 0 0 1 1 137 1 0 3 32 1248 57 57 0 0 5 5 0 0 1 162 23 -1 4 156 0 0 0 25 31 98 25 25 0 0 0 0 0 1 1 35 10 0 1 253 784 16 16 0 0 5 5 0 0 1 162 77 -1 31 98 0 0 0 20 36 182 2500 2500 0 0 0 0 0 1 1 133 1 0 3 288 1456 99 65 0 0 5 5 0 0 1 162 23 -1 36 182 0 0 0 27 32 380 300 300 300 0 0 0 0 1 1 156 0 0 3 256 3040 33 33 0 0 5 5 0 0 1 162 23 -1 32 380 0 0 0 3 40 110 2500 2500 0 0 0 0 0 1 1 133 1 0 3 320 880 99 65 0 0 5 5 0 0 1 162 23 -1 40 110 0 0 0 32 20 432 300 300 300 0 0 0 0 1 1 156 0 0 3 160 3456 33 33 0 0 5 5 0 0 1 162 23 -1 20 432 0 0 0 36 44 456 300 300 300 0 0 0 0 1 1 156 0 0 3 352 3648 33 33 0 0 5 5 0 0 1 162 23 -1 44 456 0 0 0 39 12 432 300 300 300 0 0 0 0 1 1 156 0 0 3 96 3456 33 33 0 0 5 5 0 0 1 162 23 -1 12 432 0 0 0 40 36 456 300 300 300 0 0 0 0 1 1 156 0 0 3 288 3648 33 33 0 0 5 5 0 0 1 162 23 -1 36 456 0 0 0 41 54 492 500 500 0 0 0 0 0 1 1 109 1 0 3 432 3936 77 49 0 0 5 5 0 0 1 162 23 -1 54 492 0 0 0 43 96 160 1 1 0 0 0 0 0 1 1 101 0 0 0 768 1280 27 31 0 0 5 5 0 0 1 162 23 -1 96 160 0 0 0 45 20 424 300 300 300 0 0 0 0 1 1 156 0 0 3 160 3392 33 33 0 0 5 5 0 0 1 162 23 -1 20 424 0 0 0 47 114 500 500 500 0 0 0 0 0 1 1 109 1 0 3 912 4000 77 49 0 0 5 5 0 0 1 162 23 -1 114 500 0 0 0 48 20 456 300 300 300 0 0 0 0 1 1 156 0 0 3 160 3648 33 33 0 0 5 5 0 0 1 162 23 -1 20 456 0 0 0 51 480 480 1 1 0 0 0 0 0 1 1 101 0 0 0 3840 3840 27 31 0 0 5 5 0 0 1 162 23 -1 480 480 0 0 0 54 20 296 600 600 0 0 0 0 0 1 1 118 1 0 3 160 2368 76 47 0 0 5 5 0 0 1 162 23 -1 20 296 0 0 0 55 52 432 300 300 300 0 0 0 0 1 1 156 0 0 3 416 3456 33 33 0 0 5 5 0 0 1 162 23 -1 52 432 0 0 0 57 102 500 500 500 0 0 0 0 0 1 1 109 1 0 3 816 4000 77 49 0 0 5 5 0 0 1 162 23 -1 102 500 0 0 0 61 96 416 1 1 0 0 0 0 0 1 1 101 0 0 0 768 3328 27 31 0 0 5 5 0 0 1 162 23 -1 96 416 0 0 0 62 44 432 300 300 300 0 0 0 0 1 1 156 0 0 3 352 3456 33 33 0 0 5 5 0 0 1 162 23 -1 44 432 0 0 0 26 40 98 2500 2500 0 0 0 0 0 1 1 133 1 0 3 320 784 99 65 0 0 5 5 0 0 1 162 23 -1 40 98 0 0 0 64 28 424 300 300 300 0 0 0 0 1 1 156 0 0 3 224 3392 33 33 0 0 5 5 0 0 1 162 23 -1 28 424 0 0 0 22 40 122 2500 2500 0 0 0 0 0 1 1 133 1 0 3 320 976 99 65 0 0 5 5 0 0 1 162 23 -1 40 122 0 0 0 66 18 484 500 500 0 0 0 0 0 1 1 109 1 0 3 144 3872 77 49 0 0 5 5 0 0 1 162 23 -1 18 484 0 0 0 68 28 456 300 300 300 0 0 0 0 1 1 156 0 0 3 224 3648 33 33 0 0 5 5 0 0 1 162 23 -1 28 456 0 0 0 69 28 432 300 300 300 0 0 0 0 1 1 156 0 0 3 224 3456 33 33 0 0 5 5 0 0 1 162 23 -1 28 432 0 0 0 8 36 170 2500 2500 0 0 0 0 0 1 1 133 1 0 3 288 1360 99 65 0 0 5 5 0 0 1 162 23 -1 36 170 0 0 0 16 36 158 2500 2500 0 0 0 0 0 1 1 133 1 0 3 288 1264 99 65 0 0 5 5 0 0 1 162 23 -1 36 158 0 0 0 71 36 448 300 300 300 0 0 0 0 1 1 156 0 0 3 288 3584 33 33 0 0 5 5 0 0 1 162 23 -1 36 448 0 0 0 73 36 440 300 300 300 0 0 0 0 1 1 156 0 0 3 288 3520 33 33 0 0 5 5 0 0 1 162 23 -1 36 440 0 0 0 72 36 424 300 300 300 0 0 0 0 1 1 156 0 0 3 288 3392 33 33 0 0 5 5 0 0 1 162 23 -1 36 424 0 0 0 74 36 432 300 300 300 0 0 0 0 1 1 156 0 0 3 288 3456 33 33 0 0 5 5 0 0 1 162 23 -1 36 432 0 0 0 75 44 448 300 300 300 0 0 0 0 1 1 156 0 0 3 352 3584 33 33 0 0 5 5 0 0 1 162 23 -1 44 448 0 0 0 76 44 440 300 300 300 0 0 0 0 1 1 156 0 0 3 352 3520 33 33 0 0 5 5 0 0 1 162 23 -1 44 440 0 0 0 77 44 424 300 300 300 0 0 0 0 1 1 156 0 0 3 352 3392 33 33 0 0 5 5 0 0 1 162 23 -1 44 424 0 0 0 79 52 456 300 300 300 0 0 0 0 1 1 156 0 0 3 416 3648 33 33 0 0 5 5 0 0 1 162 23 -1 52 456 0 0 0 108 160 416 1 1 0 0 0 0 0 1 1 101 0 0 0 1280 3328 27 31 0 0 5 5 0 0 1 162 23 -1 160 416 0 0 0 80 52 448 300 300 300 0 0 0 0 1 1 156 0 0 3 416 3584 33 33 0 0 5 5 0 0 1 162 23 -1 52 448 0 0 0 81 52 440 300 300 300 0 0 0 0 1 1 156 0 0 3 416 3520 33 33 0 0 5 5 0 0 1 162 23 -1 52 440 0 0 0 82 52 424 300 300 300 0 0 0 0 1 1 156 0 0 3 416 3392 33 33 0 0 5 5 0 0 1 162 23 -1 52 424 0 0 0 85 12 456 300 300 300 0 0 0 0 1 1 156 0 0 3 96 3648 33 33 0 0 5 5 0 0 1 162 23 -1 12 456 0 0 0 83 416 352 1 1 0 0 0 0 0 1 1 101 0 0 0 3328 2816 27 31 0 0 5 5 0 0 1 162 23 -1 416 352 0 0 0 114 416 160 1 1 0 0 0 0 0 1 1 101 0 0 0 3328 1280 27 31 0 0 5 5 0 0 1 162 23 -1 416 160 0 0 0 87 12 448 300 300 300 0 0 0 0 1 1 156 0 0 3 96 3584 33 33 0 0 5 5 0 0 1 162 23 -1 12 448 0 0 0 86 42 492 500 500 0 0 0 0 0 1 1 109 1 0 3 336 3936 77 49 0 0 5 5 0 0 1 162 23 -1 42 492 0 0 0 90 12 424 300 300 300 0 0 0 0 1 1 156 0 0 3 96 3392 33 33 0 0 5 5 0 0 1 162 23 -1 12 424 0 0 0 88 352 352 1 1 0 0 0 0 0 1 1 101 0 0 0 2816 2816 27 31 0 0 5 5 0 0 1 162 23 -1 352 352 0 0 0 92 20 448 300 300 300 0 0 0 0 1 1 156 0 0 3 160 3584 33 33 0 0 5 5 0 0 1 162 23 -1 20 448 0 0 0 91 480 288 1 1 0 0 0 0 0 1 1 101 0 0 0 3840 2304 27 31 0 0 5 5 0 0 1 162 23 -1 480 288 0 0 0 95 20 440 300 300 300 0 0 0 0 1 1 156 0 0 3 160 3520 33 33 0 0 5 5 0 0 1 162 23 -1 20 440 0 0 0 94 42 484 500 500 0 0 0 0 0 1 1 109 1 0 3 336 3872 77 49 0 0 5 5 0 0 1 162 23 -1 42 484 0 0 0 93 160 160 1 1 0 0 0 0 0 1 1 101 0 0 0 1280 1280 27 31 0 0 5 5 0 0 1 162 23 -1 160 160 0 0 0 96 28 448 300 300 300 0 0 0 0 1 1 156 0 0 3 224 3584 33 33 0 0 5 5 0 0 1 162 23 -1 28 448 0 0 0 98 28 440 300 300 300 0 0 0 0 1 1 156 0 0 3 224 3520 33 33 0 0 5 5 0 0 1 162 23 -1 28 440 0 0 0 102 480 224 1 1 0 0 0 0 0 1 1 101 0 0 0 3840 1792 27 31 0 0 5 5 0 0 1 162 23 -1 480 224 0 0 0 119 22 396 500 500 500 0 0 0 0 1 1 169 1 0 3 176 3168 88 57 0 0 5 5 0 0 1 162 23 -1 22 396 0 0 0 120 66 476 500 500 0 0 0 0 0 1 1 109 1 0 3 528 3808 77 49 0 0 5 5 0 0 1 162 23 -1 66 476 0 0 0 124 160 96 1 1 0 0 0 0 0 1 1 101 0 0 0 1280 768 27 31 0 0 5 5 0 0 1 162 23 -1 160 96 0 0 0 127 30 476 500 500 0 0 0 0 0 1 1 109 1 0 3 240 3808 77 49 0 0 5 5 0 0 1 162 23 -1 30 476 0 0 0 131 36 310 1250 1250 0 0 0 0 0 1 1 113 1 0 3 288 2480 113 81 0 0 5 5 0 0 1 162 23 -1 36 310 0 0 0 135 114 492 500 500 0 0 0 0 0 1 1 109 1 0 3 912 3936 77 49 0 0 5 5 0 0 1 162 23 -1 114 492 0 0 0 137 114 484 500 500 0 0 0 0 0 1 1 109 1 0 3 912 3872 77 49 0 0 5 5 0 0 1 162 23 -1 114 484 0 0 0 138 114 476 500 500 0 0 0 0 0 1 1 109 1 0 3 912 3808 77 49 0 0 5 5 0 0 1 162 23 -1 114 476 0 0 0 139 102 492 500 500 0 0 0 0 0 1 1 109 1 0 3 816 3936 77 49 0 0 5 5 0 0 1 162 23 -1 102 492 0 0 0 140 102 484 500 500 0 0 0 0 0 1 1 109 1 0 3 816 3872 77 49 0 0 5 5 0 0 1 162 23 -1 102 484 0 0 0 141 102 476 500 500 0 0 0 0 0 1 1 109 1 0 3 816 3808 77 49 0 0 5 5 0 0 1 162 23 -1 102 476 0 0 0 142 90 500 500 500 0 0 0 0 0 1 1 109 1 0 3 720 4000 77 49 0 0 5 5 0 0 1 162 23 -1 90 500 0 0 0 143 90 492 500 500 0 0 0 0 0 1 1 109 1 0 3 720 3936 77 49 0 0 5 5 0 0 1 162 23 -1 90 492 0 0 0 144 90 484 500 500 0 0 0 0 0 1 1 109 1 0 3 720 3872 77 49 0 0 5 5 0 0 1 162 23 -1 90 484 0 0 0 145 90 476 500 500 0 0 0 0 0 1 1 109 1 0 3 720 3808 77 49 0 0 5 5 0 0 1 162 23 -1 90 476 0 0 0 149 52 406 500 500 500 0 0 0 0 1 1 160 1 0 3 416 3248 97 73 0 0 5 5 0 0 1 162 23 -1 52 406 0 0 0 151 352 96 1 1 0 0 0 0 0 1 1 101 0 0 0 2816 768 27 31 0 0 5 5 0 0 1 162 23 -1 352 96 0 0 0 156 8 294 850 850 0 0 0 0 0 1 1 116 1 0 3 64 2352 97 77 0 0 5 5 0 0 1 162 23 -1 8 294 0 0 0 163 22 372 500 500 500 0 0 0 0 1 1 170 1 0 3 176 2976 89 57 0 0 5 5 0 0 1 162 23 -1 22 372 0 0 0 171 288 480 1 1 0 0 0 0 0 1 1 101 0 0 0 2304 3840 27 31 0 0 5 5 0 0 1 162 23 -1 288 480 0 0 0 177 352 224 1 1 0 0 0 0 0 1 1 101 0 0 0 2816 1792 27 31 0 0 5 5 0 0 1 162 23 -1 352 224 0 0 0 183 78 500 500 500 0 0 0 0 0 1 1 109 1 0 3 624 4000 77 49 0 0 5 5 0 0 1 162 23 -1 78 500 0 0 0 184 78 492 500 500 0 0 0 0 0 1 1 109 1 0 3 624 3936 77 49 0 0 5 5 0 0 1 162 23 -1 78 492 0 0 0 186 78 484 500 500 0 0 0 0 0 1 1 109 1 0 3 624 3872 77 49 0 0 5 5 0 0 1 162 23 -1 78 484 0 0 0 187 78 476 500 500 0 0 0 0 0 1 1 109 1 0 3 624 3808 77 49 0 0 5 5 0 0 1 162 23 -1 78 476 0 0 0 188 66 500 500 500 0 0 0 0 0 1 1 109 1 0 3 528 4000 77 49 0 0 5 5 0 0 1 162 23 -1 66 500 0 0 0 189 32 416 1 1 0 0 0 0 0 1 1 101 0 0 0 256 3328 27 31 0 0 5 5 0 0 1 162 23 -1 32 416 0 0 0 190 66 492 500 500 0 0 0 0 0 1 1 109 1 0 3 528 3936 77 49 0 0 5 5 0 0 1 162 23 -1 66 492 0 0 0 192 66 484 500 500 0 0 0 0 0 1 1 109 1 0 3 528 3872 77 49 0 0 5 5 0 0 1 162 23 -1 66 484 0 0 0 194 54 500 500 500 0 0 0 0 0 1 1 109 1 0 3 432 4000 77 49 0 0 5 5 0 0 1 162 23 -1 54 500 0 0 0 195 54 484 500 500 0 0 0 0 0 1 1 109 1 0 3 432 3872 77 49 0 0 5 5 0 0 1 162 23 -1 54 484 0 0 0 196 8 318 850 850 0 0 0 0 0 1 1 116 1 0 3 64 2544 97 77 0 0 5 5 0 0 1 162 23 -1 8 318 0 0 0 198 54 476 500 500 0 0 0 0 0 1 1 109 1 0 3 432 3808 77 49 0 0 5 5 0 0 1 162 23 -1 54 476 0 0 0 199 6 180 850 850 0 0 0 0 0 1 1 135 1 0 3 48 1440 81 57 0 0 5 5 0 0 1 162 23 -1 6 180 0 0 0 200 8 172 850 850 0 0 0 0 0 1 1 136 1 0 3 64 1376 97 37 0 0 5 5 0 0 1 162 23 -1 8 172 0 0 0 201 6 164 750 750 0 0 0 0 0 1 1 139 1 0 3 48 1312 77 53 0 0 5 5 0 0 1 162 23 -1 6 164 0 0 0 205 6 148 600 600 0 0 0 0 0 1 1 140 1 0 3 48 1184 73 64 0 0 5 5 0 0 1 162 23 -1 6 148 0 0 0 14 36 146 2500 2500 0 0 0 0 0 1 1 133 1 0 3 288 1168 99 65 0 0 5 5 0 0 1 162 23 -1 36 146 0 0 0 206 6 348 600 600 0 0 0 0 0 1 1 112 1 0 3 48 2784 85 57 0 0 5 5 0 0 1 162 23 -1 6 348 0 0 0 209 6 140 750 750 0 0 0 0 0 1 1 142 1 0 3 48 1120 77 47 0 0 5 5 0 0 1 162 23 -1 6 140 0 0 0 211 32 404 300 300 300 0 0 0 0 1 1 156 0 0 3 256 3232 33 33 0 0 5 5 0 0 1 162 23 -1 32 404 0 0 0 212 6 132 850 850 0 0 0 0 0 1 1 138 1 0 3 48 1056 71 57 0 0 5 5 0 0 1 162 23 -1 6 132 0 0 0 214 42 500 500 500 0 0 0 0 0 1 1 109 1 0 3 336 4000 77 49 0 0 5 5 0 0 1 162 23 -1 42 500 0 0 0 216 30 500 500 500 0 0 0 0 0 1 1 109 1 0 3 240 4000 77 49 0 0 5 5 0 0 1 162 23 -1 30 500 0 0 0 221 18 492 500 500 0 0 0 0 0 1 1 109 1 0 3 144 3936 77 49 0 0 5 5 0 0 1 162 23 -1 18 492 0 0 0 222 30 492 500 500 0 0 0 0 0 1 1 109 1 0 3 240 3936 77 49 0 0 5 5 0 0 1 162 23 -1 30 492 0 0 0 224 30 484 500 500 0 0 0 0 0 1 1 109 1 0 3 240 3872 77 49 0 0 5 5 0 0 1 162 23 -1 30 484 0 0 0 227 18 476 500 500 0 0 0 0 0 1 1 109 1 0 3 144 3808 77 49 0 0 5 5 0 0 1 162 23 -1 18 476 0 0 0 228 42 476 500 500 0 0 0 0 0 1 1 109 1 0 3 336 3808 77 49 0 0 5 5 0 0 1 162 23 -1 42 476 0 0 0 232 22 404 550 550 550 0 0 0 0 1 1 166 1 0 3 176 3232 73 45 0 0 5 5 0 0 1 162 23 -1 22 404 0 0 0 234 32 396 300 300 300 0 0 0 0 1 1 156 0 0 3 256 3168 33 33 0 0 5 5 0 0 1 162 23 -1 32 396 0 0 0 240 42 388 500 500 500 0 0 0 0 1 1 165 1 0 3 336 3104 65 49 0 0 5 5 0 0 1 162 23 -1 42 388 0 0 0 241 22 388 500 500 500 0 0 0 0 1 1 164 1 0 3 176 3104 81 49 0 0 5 5 0 0 1 162 23 -1 22 388 0 0 0 242 32 388 300 300 300 0 0 0 0 1 1 156 0 0 3 256 3104 33 33 0 0 5 5 0 0 1 162 23 -1 32 388 0 0 0 245 224 288 1 1 0 0 0 0 0 1 1 101 0 0 0 1792 2304 27 31 0 0 5 5 0 0 1 162 23 -1 224 288 0 0 0 247 42 380 450 450 450 0 0 0 0 1 1 171 1 0 3 336 3040 65 53 0 0 5 5 0 0 1 162 23 -1 42 380 0 0 0 248 22 380 450 450 450 0 0 0 0 1 1 163 1 0 3 176 3040 65 49 0 0 5 5 0 0 1 162 23 -1 22 380 0 0 0 250 480 32 1 1 0 0 0 0 0 1 1 101 0 0 0 3840 256 27 31 0 0 5 5 0 0 1 162 23 -1 480 32 0 0 0 252 58 376 500 500 500 0 0 0 0 1 1 155 1 0 3 464 3008 77 37 0 0 5 5 0 0 1 162 23 -1 58 376 0 0 0 253 42 372 250 250 250 0 0 0 0 1 1 159 1 0 3 336 2976 89 45 0 0 5 5 0 0 1 162 23 -1 42 372 0 0 0 256 416 416 1 1 0 0 0 0 0 1 1 101 0 0 0 3328 3328 27 31 0 0 5 5 0 0 1 162 23 -1 416 416 0 0 0 257 60 368 300 300 300 0 0 0 0 1 1 156 0 0 3 480 2944 33 33 0 0 5 5 0 0 1 162 23 -1 60 368 0 0 0 261 56 358 600 600 600 0 0 0 0 1 1 167 1 0 3 448 2864 97 73 0 0 5 5 0 0 1 162 23 -1 56 358 0 0 0 263 28 358 750 750 750 0 0 0 0 1 1 154 1 0 3 224 2864 113 79 0 0 5 5 0 0 1 162 23 -1 28 358 0 0 0 266 48 344 600 600 0 0 0 0 0 1 1 108 1 0 3 384 2752 69 42 0 0 5 5 0 0 1 162 124 -1 48 344 0 0 0 269 6 340 750 750 0 0 0 0 0 1 1 123 1 0 3 48 2720 96 55 0 0 5 5 0 0 1 162 23 -1 6 340 0 0 0 270 36 342 1500 1500 0 0 0 0 0 1 1 106 1 0 3 288 2736 117 83 0 0 5 5 0 0 1 162 23 -1 36 342 0 0 0 272 8 330 850 850 0 0 0 0 0 1 1 122 1 0 3 64 2640 97 61 0 0 5 5 0 0 1 162 23 -1 8 330 0 0 0 273 36 326 1000 1000 0 0 0 0 0 1 1 111 1 0 3 288 2608 105 73 0 0 5 5 0 0 1 162 23 -1 36 326 0 0 0 274 224 352 1 1 0 0 0 0 0 1 1 101 0 0 0 1792 2816 27 31 0 0 5 5 0 0 1 162 23 -1 224 352 0 0 0 197 20 320 750 750 0 0 0 0 0 1 1 117 1 0 3 160 2560 76 47 0 0 5 5 0 0 1 162 23 -1 20 320 0 0 0 132 48 312 750 750 0 0 0 0 0 1 1 120 1 0 3 384 2496 71 49 0 0 5 5 0 0 1 162 23 -1 48 312 0 0 0 280 96 96 1 1 0 0 0 0 0 1 1 101 0 0 0 768 768 27 31 0 0 5 5 0 0 1 162 23 -1 96 96 0 0 0 282 288 160 1 1 0 0 0 0 0 1 1 101 0 0 0 2304 1280 27 31 0 0 5 5 0 0 1 162 23 -1 288 160 0 0 0 284 20 308 500 500 0 0 0 0 0 1 1 115 1 0 3 160 2464 76 47 0 0 5 5 0 0 1 162 23 -1 20 308 0 0 0 289 480 96 1 1 0 0 0 0 0 1 1 101 0 0 0 3840 768 27 31 0 0 5 5 0 0 1 162 23 -1 480 96 0 0 0 290 8 306 1300 1300 0 0 0 0 0 1 1 114 1 0 3 64 2448 97 79 0 0 5 5 0 0 1 162 23 -1 8 306 0 0 0 293 16 122 1500 1500 0 0 0 0 0 1 1 130 1 0 3 128 976 117 83 0 0 5 5 0 0 1 162 23 -1 16 122 0 0 0 294 32 32 1 1 0 0 0 0 0 1 1 101 0 0 0 256 256 27 31 0 0 5 5 0 0 1 162 23 -1 32 32 0 0 0 302 32 160 1 1 0 0 0 0 0 1 1 101 0 0 0 256 1280 27 31 0 0 5 5 0 0 1 162 23 -1 32 160 0 0 0 318 416 96 1 1 0 0 0 0 0 1 1 101 0 0 0 3328 768 27 31 0 0 5 5 0 0 1 162 23 -1 416 96 0 0 0 331 416 480 1 1 0 0 0 0 0 1 1 101 0 0 0 3328 3840 27 31 0 0 5 5 0 0 1 162 23 -1 416 480 0 0 0 332 352 480 1 1 0 0 0 0 0 1 1 101 0 0 0 2816 3840 27 31 0 0 5 5 0 0 1 162 23 -1 352 480 0 0 0 333 224 480 1 1 0 0 0 0 0 1 1 101 0 0 0 1792 3840 27 31 0 0 5 5 0 0 1 162 23 -1 224 480 0 0 0 334 160 480 1 1 0 0 0 0 0 1 1 101 0 0 0 1280 3840 27 31 0 0 5 5 0 0 1 162 23 -1 160 480 0 0 0 335 96 480 1 1 0 0 0 0 0 1 1 101 0 0 0 768 3840 27 31 0 0 5 5 0 0 1 162 23 -1 96 480 0 0 0 336 32 480 1 1 0 0 0 0 0 1 1 101 0 0 0 256 3840 27 31 0 0 5 5 0 0 1 162 23 -1 32 480 0 0 0 337 480 416 1 1 0 0 0 0 0 1 1 101 0 0 0 3840 3328 27 31 0 0 5 5 0 0 1 162 23 -1 480 416 0 0 0 338 352 416 1 1 0 0 0 0 0 1 1 101 0 0 0 2816 3328 27 31 0 0 5 5 0 0 1 162 23 -1 352 416 0 0 0 339 288 416 1 1 0 0 0 0 0 1 1 101 0 0 0 2304 3328 27 31 0 0 5 5 0 0 1 162 23 -1 288 416 0 0 0 340 224 416 1 1 0 0 0 0 0 1 1 101 0 0 0 1792 3328 27 31 0 0 5 5 0 0 1 162 23 -1 224 416 0 0 0 341 480 352 1 1 0 0 0 0 0 1 1 101 0 0 0 3840 2816 27 31 0 0 5 5 0 0 1 162 23 -1 480 352 0 0 0 342 288 352 1 1 0 0 0 0 0 1 1 101 0 0 0 2304 2816 27 31 0 0 5 5 0 0 1 162 23 -1 288 352 0 0 0 343 160 352 1 1 0 0 0 0 0 1 1 101 0 0 0 1280 2816 27 31 0 0 5 5 0 0 1 162 23 -1 160 352 0 0 0 344 96 352 1 1 0 0 0 0 0 1 1 101 0 0 0 768 2816 27 31 0 0 5 5 0 0 1 162 23 -1 96 352 0 0 0 345 32 352 1 1 0 0 0 0 0 1 1 101 0 0 0 256 2816 27 31 0 0 5 5 0 0 1 162 23 -1 32 352 0 0 0 346 416 288 1 1 0 0 0 0 0 1 1 101 0 0 0 3328 2304 27 31 0 0 5 5 0 0 1 162 23 -1 416 288 0 0 0 347 352 288 1 1 0 0 0 0 0 1 1 101 0 0 0 2816 2304 27 31 0 0 5 5 0 0 1 162 23 -1 352 288 0 0 0 348 288 288 1 1 0 0 0 0 0 1 1 101 0 0 0 2304 2304 27 31 0 0 5 5 0 0 1 162 23 -1 288 288 0 0 0 349 160 288 1 1 0 0 0 0 0 1 1 101 0 0 0 1280 2304 27 31 0 0 5 5 0 0 1 162 23 -1 160 288 0 0 0 350 96 288 1 1 0 0 0 0 0 1 1 101 0 0 0 768 2304 27 31 0 0 5 5 0 0 1 162 23 -1 96 288 0 0 0 351 32 288 1 1 0 0 0 0 0 1 1 101 0 0 0 256 2304 27 31 0 0 5 5 0 0 1 162 23 -1 32 288 0 0 0 352 416 224 1 1 0 0 0 0 0 1 1 101 0 0 0 3328 1792 27 31 0 0 5 5 0 0 1 162 23 -1 416 224 0 0 0 353 288 224 1 1 0 0 0 0 0 1 1 101 0 0 0 2304 1792 27 31 0 0 5 5 0 0 1 162 23 -1 288 224 0 0 0 354 224 224 1 1 0 0 0 0 0 1 1 101 0 0 0 1792 1792 27 31 0 0 5 5 0 0 1 162 23 -1 224 224 0 0 0 355 160 224 1 1 0 0 0 0 0 1 1 101 0 0 0 1280 1792 27 31 0 0 5 5 0 0 1 162 23 -1 160 224 0 0 0 356 96 224 1 1 0 0 0 0 0 1 1 101 0 0 0 768 1792 27 31 0 0 5 5 0 0 1 162 23 -1 96 224 0 0 0 357 32 224 1 1 0 0 0 0 0 1 1 101 0 0 0 256 1792 27 31 0 0 5 5 0 0 1 162 23 -1 32 224 0 0 0 358 480 160 1 1 0 0 0 0 0 1 1 101 0 0 0 3840 1280 27 31 0 0 5 5 0 0 1 162 23 -1 480 160 0 0 0 359 352 160 1 1 0 0 0 0 0 1 1 101 0 0 0 2816 1280 27 31 0 0 5 5 0 0 1 162 23 -1 352 160 0 0 0 360 224 160 1 1 0 0 0 0 0 1 1 101 0 0 0 1792 1280 27 31 0 0 5 5 0 0 1 162 23 -1 224 160 0 0 0 361 288 96 1 1 0 0 0 0 0 1 1 101 0 0 0 2304 768 27 31 0 0 5 5 0 0 1 162 23 -1 288 96 0 0 0 362 224 96 1 1 0 0 0 0 0 1 1 101 0 0 0 1792 768 27 31 0 0 5 5 0 0 1 162 23 -1 224 96 0 0 0 363 32 96 1 1 0 0 0 0 0 1 1 101 0 0 0 256 768 27 31 0 0 5 5 0 0 1 162 23 -1 32 96 0 0 0 364 416 32 1 1 0 0 0 0 0 1 1 101 0 0 0 3328 256 27 31 0 0 5 5 0 0 1 162 23 -1 416 32 0 0 0 365 352 32 1 1 0 0 0 0 0 1 1 101 0 0 0 2816 256 27 31 0 0 5 5 0 0 1 162 23 -1 352 32 0 0 0 366 288 32 1 1 0 0 0 0 0 1 1 101 0 0 0 2304 256 27 31 0 0 5 5 0 0 1 162 23 -1 288 32 0 0 0 367 224 32 1 1 0 0 0 0 0 1 1 101 0 0 0 1792 256 27 31 0 0 5 5 0 0 1 162 23 -1 224 32 0 0 0 368 160 32 1 1 0 0 0 0 0 1 1 101 0 0 0 1280 256 27 31 0 0 5 5 0 0 1 162 23 -1 160 32 0 0 0 369 96 32 1 1 0 0 0 0 0 1 1 101 0 0 0 768 256 27 31 0 0 5 5 0 0 1 162 23 -1 96 32 0 0 0 1 121 0 468 146 2500 2500 0 0 0 0 0 1 1 133 1 0 3 3744 1168 99 65 0 0 5 5 0 0 1 162 23 -1 468 146 0 0 1 1 492 380 300 300 300 0 0 0 0 1 1 156 0 0 3 3936 3040 33 33 0 0 5 5 0 0 1 162 23 -1 492 380 0 0 1 130 492 456 300 300 300 0 0 0 0 1 1 156 0 0 3 3936 3648 33 33 0 0 5 5 0 0 1 162 23 -1 492 456 0 0 1 5 488 118 1500 1500 0 0 0 0 0 0 1 130 1 0 3 3904 944 117 83 0 0 5 5 0 0 1 162 156 -1 488 118 0 0 1 18 499 164 850 850 0 0 0 0 0 0 1 135 1 0 3 3992 1312 81 57 0 0 5 5 0 0 1 162 156 -1 499 164 0 0 1 17 492 424 300 300 300 0 0 0 0 1 1 156 0 0 3 3936 3392 33 33 0 0 5 5 0 0 1 162 23 -1 492 424 0 0 1 24 497 172 850 850 0 0 0 0 0 0 1 136 1 0 3 3976 1376 97 37 0 0 5 5 0 0 1 162 156 -1 497 172 0 0 1 126 484 440 300 300 300 0 0 0 0 1 1 156 0 0 3 3872 3520 33 33 0 0 5 5 0 0 1 162 23 -1 484 440 0 0 1 28 460 143 25 25 0 0 0 0 0 0 1 35 10 0 1 3687 1148 16 16 0 0 5 5 0 0 1 162 156 -1 460 143 0 0 1 122 476 432 300 300 300 0 0 0 0 1 1 156 0 0 3 3808 3456 33 33 0 0 5 5 0 0 1 162 23 -1 476 432 0 0 1 29 459 165 25 25 0 0 0 0 0 0 1 35 10 0 1 3677 1322 16 16 0 0 5 5 0 0 1 162 156 60 460 163 0.945313 -1.76563 1 30 460 456 300 300 300 0 0 0 0 1 1 156 0 0 3 3680 3648 33 33 0 0 5 5 0 0 1 162 23 -1 460 456 0 0 1 31 460 171 25 25 0 0 0 0 0 0 1 35 10 0 1 3687 1370 16 16 0 0 5 5 0 0 1 162 156 -1 460 171 0 0 1 123 476 424 300 300 300 0 0 0 0 1 1 156 0 0 3 3808 3392 33 33 0 0 5 5 0 0 1 162 23 -1 476 424 0 0 1 33 460 179 25 25 0 0 0 0 0 0 1 35 10 0 1 3687 1436 16 16 0 0 5 5 0 0 1 162 156 58 460 179 0 0 1 100 460 448 300 300 300 0 0 0 0 1 1 156 0 0 3 3680 3584 33 33 0 0 5 5 0 0 1 162 23 -1 460 448 0 0 1 34 492 318 850 850 0 0 0 0 0 0 1 116 1 0 3 3936 2544 97 77 0 0 5 5 0 0 1 162 156 -1 492 318 0 0 1 37 450 119 25 25 0 0 0 0 0 0 1 35 10 0 1 3603 956 16 16 0 0 5 5 0 0 1 162 156 -1 450 119 0 0 1 118 476 456 300 300 300 0 0 0 0 1 1 156 0 0 3 3808 3648 33 33 0 0 5 5 0 0 1 162 23 -1 476 456 0 0 1 38 450 110 25 25 0 0 0 0 0 0 1 35 10 0 1 3603 880 16 16 0 0 5 5 0 0 1 162 156 -1 450 110 0 0 1 117 500 424 300 300 300 0 0 0 0 1 1 156 0 0 3 4000 3392 33 33 0 0 5 5 0 0 1 162 23 -1 500 424 0 0 1 42 451 96 25 25 0 0 0 0 0 0 1 35 10 0 1 3613 774 16 16 0 0 5 5 0 0 1 162 156 50 452 96 2 0 1 44 476 440 300 300 300 0 0 0 0 1 1 156 0 0 3 3808 3520 33 33 0 0 5 5 0 0 1 162 23 -1 476 440 0 0 1 46 451 88 25 25 0 0 0 0 0 0 1 35 10 0 1 3614 706 16 16 0 0 5 5 0 0 1 162 156 -1 451 88 -1.44531 1.38281 1 121 476 448 300 300 300 0 0 0 0 1 1 156 0 0 3 3808 3584 33 33 0 0 5 5 0 0 1 162 23 -1 476 448 0 0 1 49 460 86 2500 2500 0 0 0 0 0 1 1 133 1 0 3 3680 688 99 65 0 0 5 5 0 0 1 162 23 -1 460 86 0 0 1 136 492 404 300 300 300 0 0 0 0 1 1 156 0 0 3 3936 3232 33 33 0 0 5 5 0 0 1 162 23 -1 492 404 0 0 1 50 460 98 2500 2500 0 0 0 0 0 1 1 133 1 0 3 3680 784 99 65 0 0 5 5 0 0 1 162 23 -1 460 98 0 0 1 52 500 456 300 300 300 0 0 0 0 1 1 156 0 0 3 4000 3648 33 33 0 0 5 5 0 0 1 162 23 -1 500 456 0 0 1 53 460 110 2500 2500 0 0 0 0 0 1 1 133 1 0 3 3680 880 99 65 0 0 5 5 0 0 1 162 23 -1 460 110 0 0 1 112 468 424 300 300 300 0 0 0 0 1 1 156 0 0 3 3744 3392 33 33 0 0 5 5 0 0 1 162 23 -1 468 424 0 0 1 56 460 122 2500 2500 0 0 0 0 0 1 1 133 1 0 3 3680 976 99 65 0 0 5 5 0 0 1 162 23 -1 460 122 0 0 1 58 468 182 2500 2500 0 0 0 0 0 1 1 133 1 0 3 3744 1456 99 65 0 0 5 5 0 0 1 162 23 -1 468 182 0 0 1 157 406 484 500 500 0 0 0 0 0 0 1 109 1 0 3 3248 3872 77 49 0 0 5 5 0 0 1 162 156 -1 406 484 0 0 1 150 394 476 500 500 0 0 0 0 0 0 1 109 1 0 3 3152 3808 77 49 0 0 5 5 0 0 1 162 156 -1 394 476 0 0 1 59 468 170 2500 2500 0 0 0 0 0 1 1 133 1 0 3 3744 1360 99 65 0 0 5 5 0 0 1 162 23 -1 468 170 0 0 1 153 406 492 500 500 0 0 0 0 0 0 1 109 1 0 3 3248 3936 77 49 0 0 5 5 0 0 1 162 156 -1 406 492 0 0 1 60 468 158 2500 2500 0 0 0 0 0 1 1 133 1 0 3 3744 1264 99 65 0 0 5 5 0 0 1 162 23 -1 468 158 0 0 1 146 394 500 500 500 0 0 0 0 0 0 1 109 1 0 3 3152 4000 77 49 0 0 5 5 0 0 1 162 156 -1 394 500 0 0 1 63 460 424 300 300 300 0 0 0 0 1 1 156 0 0 3 3680 3392 33 33 0 0 5 5 0 0 1 162 23 -1 460 424 0 0 1 35 504 320 750 750 0 0 0 0 0 0 1 117 1 0 3 4032 2560 76 47 0 0 5 5 0 0 1 162 156 -1 504 320 0 0 1 67 466 492 500 500 0 0 0 0 0 0 1 109 1 0 3 3728 3936 77 49 0 0 5 5 0 0 1 162 156 -1 466 492 0 0 1 70 484 448 300 300 300 0 0 0 0 1 1 156 0 0 3 3872 3584 33 33 0 0 5 5 0 0 1 162 23 -1 484 448 0 0 1 107 468 448 300 300 300 0 0 0 0 1 1 156 0 0 3 3744 3584 33 33 0 0 5 5 0 0 1 162 23 -1 468 448 0 0 1 78 394 492 500 500 0 0 0 0 0 0 1 109 1 0 3 3152 3936 77 49 0 0 5 5 0 0 1 162 156 -1 394 492 0 0 1 89 482 372 500 500 500 0 0 0 0 0 1 170 1 0 3 3856 2976 89 57 0 0 5 5 0 0 1 162 156 -1 482 372 0 0 1 97 478 492 500 500 0 0 0 0 0 0 1 109 1 0 3 3824 3936 77 49 0 0 5 5 0 0 1 162 156 -1 478 492 0 0 1 148 394 484 500 500 0 0 0 0 0 0 1 109 1 0 3 3152 3872 77 49 0 0 5 5 0 0 1 162 156 -1 394 484 0 0 1 101 460 440 300 300 300 0 0 0 0 1 1 156 0 0 3 3680 3520 33 33 0 0 5 5 0 0 1 162 23 -1 460 440 0 0 1 104 460 432 300 300 300 0 0 0 0 1 1 156 0 0 3 3680 3456 33 33 0 0 5 5 0 0 1 162 23 -1 460 432 0 0 1 103 454 492 500 500 0 0 0 0 0 0 1 109 1 0 3 3632 3936 77 49 0 0 5 5 0 0 1 162 156 -1 454 492 0 0 1 106 468 456 300 300 300 0 0 0 0 1 1 156 0 0 3 3744 3648 33 33 0 0 5 5 0 0 1 162 23 -1 468 456 0 0 1 105 492 432 300 300 300 0 0 0 0 1 1 156 0 0 3 3936 3456 33 33 0 0 5 5 0 0 1 162 23 -1 492 432 0 0 1 109 468 440 300 300 300 0 0 0 0 1 1 156 0 0 3 3744 3520 33 33 0 0 5 5 0 0 1 162 23 -1 468 440 0 0 1 110 468 432 300 300 300 0 0 0 0 1 1 156 0 0 3 3744 3456 33 33 0 0 5 5 0 0 1 162 23 -1 468 432 0 0 1 113 500 448 300 300 300 0 0 0 0 1 1 156 0 0 3 4000 3584 33 33 0 0 5 5 0 0 1 162 23 -1 500 448 0 0 1 115 500 440 300 300 300 0 0 0 0 1 1 156 0 0 3 4000 3520 33 33 0 0 5 5 0 0 1 162 23 -1 500 440 0 0 1 116 500 432 300 300 300 0 0 0 0 1 1 156 0 0 3 4000 3456 33 33 0 0 5 5 0 0 1 162 23 -1 500 432 0 0 1 125 484 456 300 300 300 0 0 0 0 1 1 156 0 0 3 3872 3648 33 33 0 0 5 5 0 0 1 162 23 -1 484 456 0 0 1 128 484 432 300 300 300 0 0 0 0 1 1 156 0 0 3 3872 3456 33 33 0 0 5 5 0 0 1 162 23 -1 484 432 0 0 1 129 484 424 300 300 300 0 0 0 0 1 1 156 0 0 3 3872 3392 33 33 0 0 5 5 0 0 1 162 23 -1 484 424 0 0 1 133 492 448 300 300 300 0 0 0 0 1 1 156 0 0 3 3936 3584 33 33 0 0 5 5 0 0 1 162 23 -1 492 448 0 0 1 134 492 440 300 300 300 0 0 0 0 1 1 156 0 0 3 3936 3520 33 33 0 0 5 5 0 0 1 162 23 -1 492 440 0 0 1 152 406 500 500 500 0 0 0 0 0 0 1 109 1 0 3 3248 4000 77 49 0 0 5 5 0 0 1 162 156 -1 406 500 0 0 1 158 406 476 500 500 0 0 0 0 0 0 1 109 1 0 3 3248 3808 77 49 0 0 5 5 0 0 1 162 156 -1 406 476 0 0 1 160 418 500 500 500 0 0 0 0 0 0 1 109 1 0 3 3344 4000 77 49 0 0 5 5 0 0 1 162 156 -1 418 500 0 0 1 161 418 492 500 500 0 0 0 0 0 0 1 109 1 0 3 3344 3936 77 49 0 0 5 5 0 0 1 162 156 -1 418 492 0 0 1 164 418 484 500 500 0 0 0 0 0 0 1 109 1 0 3 3344 3872 77 49 0 0 5 5 0 0 1 162 156 -1 418 484 0 0 1 165 418 476 500 500 0 0 0 0 0 0 1 109 1 0 3 3344 3808 77 49 0 0 5 5 0 0 1 162 156 -1 418 476 0 0 1 166 430 500 500 500 0 0 0 0 0 0 1 109 1 0 3 3440 4000 77 49 0 0 5 5 0 0 1 162 156 -1 430 500 0 0 1 167 430 492 500 500 0 0 0 0 0 0 1 109 1 0 3 3440 3936 77 49 0 0 5 5 0 0 1 162 156 -1 430 492 0 0 1 168 430 484 500 500 0 0 0 0 0 0 1 109 1 0 3 3440 3872 77 49 0 0 5 5 0 0 1 162 156 -1 430 484 0 0 1 169 430 476 500 500 0 0 0 0 0 0 1 109 1 0 3 3440 3808 77 49 0 0 5 5 0 0 1 162 156 -1 430 476 0 0 1 170 442 500 500 500 0 0 0 0 0 0 1 109 1 0 3 3536 4000 77 49 0 0 5 5 0 0 1 162 156 -1 442 500 0 0 1 172 482 388 500 500 500 0 0 0 0 0 1 164 1 0 3 3856 3104 81 49 0 0 5 5 0 0 1 162 156 -1 482 388 0 0 1 173 442 492 500 500 0 0 0 0 0 0 1 109 1 0 3 3536 3936 77 49 0 0 5 5 0 0 1 162 156 -1 442 492 0 0 1 174 442 484 500 500 0 0 0 0 0 0 1 109 1 0 3 3536 3872 77 49 0 0 5 5 0 0 1 162 156 -1 442 484 0 0 1 176 442 476 500 500 0 0 0 0 0 0 1 109 1 0 3 3536 3808 77 49 0 0 5 5 0 0 1 162 156 -1 442 476 0 0 1 178 454 500 500 500 0 0 0 0 0 0 1 109 1 0 3 3632 4000 77 49 0 0 5 5 0 0 1 162 156 -1 454 500 0 0 1 180 454 484 500 500 0 0 0 0 0 0 1 109 1 0 3 3632 3872 77 49 0 0 5 5 0 0 1 162 156 -1 454 484 0 0 1 182 454 476 500 500 0 0 0 0 0 0 1 109 1 0 3 3632 3808 77 49 0 0 5 5 0 0 1 162 156 -1 454 476 0 0 1 202 478 484 500 500 0 0 0 0 0 0 1 109 1 0 3 3824 3872 77 49 0 0 5 5 0 0 1 162 156 -1 478 484 0 0 1 203 502 156 750 750 0 0 0 0 0 0 1 139 1 0 3 4016 1248 77 53 0 0 5 5 0 0 1 162 156 -1 502 156 0 0 1 204 500 148 1000 1000 0 0 0 0 0 0 1 137 1 0 3 4000 1184 57 57 0 0 5 5 0 0 1 162 156 -1 500 148 0 0 1 207 502 140 600 600 0 0 0 0 0 0 1 140 1 0 3 4016 1120 73 64 0 0 5 5 0 0 1 162 156 -1 502 140 0 0 1 210 502 132 750 750 0 0 0 0 0 0 1 142 1 0 3 4016 1056 77 47 0 0 5 5 0 0 1 162 156 -1 502 132 0 0 1 213 502 124 850 850 0 0 0 0 0 0 1 138 1 0 3 4016 992 71 57 0 0 5 5 0 0 1 162 156 -1 502 124 0 0 1 215 452 376 300 300 300 0 0 0 0 1 1 156 0 0 3 3616 3008 33 33 0 0 5 5 0 0 1 162 23 -1 452 376 0 0 1 217 478 500 500 500 0 0 0 0 0 0 1 109 1 0 3 3824 4000 77 49 0 0 5 5 0 0 1 162 156 -1 478 500 0 0 1 218 466 500 500 500 0 0 0 0 0 0 1 109 1 0 3 3728 4000 77 49 0 0 5 5 0 0 1 162 156 -1 466 500 0 0 1 219 460 338 1500 1500 0 0 0 0 0 0 1 106 1 0 3 3680 2704 117 83 0 0 5 5 0 0 1 162 156 -1 460 338 0 0 1 223 490 492 500 500 0 0 0 0 0 0 1 109 1 0 3 3920 3936 77 49 0 0 5 5 0 0 1 162 156 -1 490 492 0 0 1 225 490 484 500 500 0 0 0 0 0 0 1 109 1 0 3 3920 3872 77 49 0 0 5 5 0 0 1 162 156 -1 490 484 0 0 1 226 466 484 500 500 0 0 0 0 0 0 1 109 1 0 3 3728 3872 77 49 0 0 5 5 0 0 1 162 156 -1 466 484 0 0 1 229 466 476 500 500 0 0 0 0 0 0 1 109 1 0 3 3728 3808 77 49 0 0 5 5 0 0 1 162 156 -1 466 476 0 0 1 230 478 476 500 500 0 0 0 0 0 0 1 109 1 0 3 3824 3808 77 49 0 0 5 5 0 0 1 162 156 -1 478 476 0 0 1 231 490 476 500 500 0 0 0 0 0 0 1 109 1 0 3 3920 3808 77 49 0 0 5 5 0 0 1 162 156 -1 490 476 0 0 1 233 482 404 550 550 550 0 0 0 0 0 1 166 1 0 3 3856 3232 73 45 0 0 5 5 0 0 1 162 156 -1 482 404 0 0 1 236 464 398 500 500 500 0 0 0 0 0 1 160 1 0 3 3712 3184 97 73 0 0 5 5 0 0 1 162 156 -1 464 398 0 0 1 238 482 396 500 500 500 0 0 0 0 0 1 169 1 0 3 3856 3168 88 57 0 0 5 5 0 0 1 162 156 -1 482 396 0 0 1 239 492 396 300 300 300 0 0 0 0 1 1 156 0 0 3 3936 3168 33 33 0 0 5 5 0 0 1 162 23 -1 492 396 0 0 1 243 502 388 500 500 500 0 0 0 0 0 1 165 1 0 3 4016 3104 65 49 0 0 5 5 0 0 1 162 156 -1 502 388 0 0 1 244 492 388 300 300 300 0 0 0 0 1 1 156 0 0 3 3936 3104 33 33 0 0 5 5 0 0 1 162 23 -1 492 388 0 0 1 246 450 384 500 500 500 0 0 0 0 0 1 155 1 0 3 3600 3072 77 37 0 0 5 5 0 0 1 162 156 -1 450 384 0 0 1 249 502 380 450 450 450 0 0 0 0 0 1 171 1 0 3 4016 3040 65 53 0 0 5 5 0 0 1 162 156 -1 502 380 0 0 1 251 482 380 450 450 450 0 0 0 0 0 1 163 1 0 3 3856 3040 65 49 0 0 5 5 0 0 1 162 156 -1 482 380 0 0 1 254 502 372 250 250 250 0 0 0 0 0 1 159 1 0 3 4016 2976 89 45 0 0 5 5 0 0 1 162 156 -1 502 372 0 0 1 255 492 372 300 300 300 0 0 0 0 1 1 156 0 0 3 3936 2976 33 33 0 0 5 5 0 0 1 162 23 -1 492 372 0 0 1 259 448 366 600 600 600 0 0 0 0 0 1 167 1 0 3 3584 2928 97 73 0 0 5 5 0 0 1 162 156 -1 448 366 0 0 1 262 472 358 750 750 750 0 0 0 0 0 1 154 1 0 3 3776 2864 113 79 0 0 5 5 0 0 1 162 156 -1 472 358 0 0 1 264 490 348 600 600 0 0 0 0 0 0 1 112 1 0 3 3920 2784 85 57 0 0 5 5 0 0 1 162 156 -1 490 348 0 0 1 220 472 340 600 600 0 0 0 0 0 0 1 108 1 0 3 3776 2720 69 42 0 0 5 5 0 0 1 162 156 -1 472 340 0 0 1 267 490 340 750 750 0 0 0 0 0 0 1 123 1 0 3 3920 2720 96 55 0 0 5 5 0 0 1 162 156 -1 490 340 0 0 1 271 492 330 850 850 0 0 0 0 0 0 1 122 1 0 3 3936 2640 97 61 0 0 5 5 0 0 1 162 156 -1 492 330 0 0 1 276 460 322 1000 1000 0 0 0 0 0 0 1 111 1 0 3 3680 2576 105 73 0 0 5 5 0 0 1 162 156 -1 460 322 0 0 1 281 504 308 500 500 0 0 0 0 0 0 1 115 1 0 3 4032 2464 76 47 0 0 5 5 0 0 1 162 156 -1 504 308 0 0 1 285 472 304 750 750 0 0 0 0 0 0 1 120 1 0 3 3776 2432 71 49 0 0 5 5 0 0 1 162 156 -1 472 304 0 0 1 287 460 306 1250 1250 0 0 0 0 0 0 1 113 1 0 3 3680 2448 113 81 0 0 5 5 0 0 1 162 156 -1 460 306 0 0 1 288 492 306 1300 1300 0 0 0 0 0 0 1 114 1 0 3 3936 2448 97 79 0 0 5 5 0 0 1 162 156 -1 492 306 0 0 1 291 504 296 600 600 0 0 0 0 0 0 1 118 1 0 3 4032 2368 76 47 0 0 5 5 0 0 1 162 156 -1 504 296 0 0 1 292 492 294 850 850 0 0 0 0 0 0 1 116 1 0 3 3936 2352 97 77 0 0 5 5 0 0 1 162 156 -1 492 294 0 0 1 0 1 0 100000 100000 0 400 0 0 0"
tc = require 'torchcraft'
replayer = require 'torchcraft.replayer'
f = replayer.frameFromString(frame)
print(frame)
print(f:getNumPlayers())
--print(f:getUnits(0))
print(f:getResources(0))
t = f:toTable()
for k, v in pairs(t) do
print(k)
end
print(t.resources)
--print(f:toString())
|
local t = My.Translator.translate
local f = string.format
My.Translator:register("de", {
side_mission_scan_asteroids = function(number)
return f("%d Asteroiden scannen", number)
end,
side_mission_scan_asteroids_description = function(number, sectorName, payment)
return Util.random({
f("Unsere Aufzeichnungen zu einigen Asteroiden in Sektor %s sind nicht mehr aktuell.", sectorName),
f("Die SMC hat uns nach unseren Schüftquoten für den nächsten Monat gefragt. Aber ohne die Mineralienkonzentration von einigen Asteroiden in Sektor %s zu kennen geht das nicht.", sectorName),
f("Unsere Schürfer haben uns widersprüchliche Zahlen zur Mineralienkonzentration von Asteroiden in Sektor %s genannt. Wir suchen nach jemandem, der überprüft, wer Recht hat.", sectorName),
}) .. " " .. Util.random({
"Ihr müsst dort hin fliegen und die neusten Daten holen.",
"Fliegt dort hin und holt die Zahlen für uns.",
"Machen Sie ihr Schiff fertig und fliegen sie unverzüglich da hin.",
}) .. "\n\n" .. Util.random({
f("Wir zahlen ihnen %0.2fRP, wenn sie den Auftrag annehmen.", payment),
f("%0.2fRP, wenn sie den Auftrag annehmen. Das ist leicht verdientes Geld.", payment),
f("%0.2fRP als Bezahung könnt ihr nicht ablehnen.", payment),
})
end,
side_mission_scan_asteroids_accept = function(asteroidNames, sectorName)
return Util.random({
f("Nun gut. Das ist euer Arbeitsauftrag: Scannt die folgenden Asteroiden in Sektor %s:", sectorName),
f("Macht folgendes. Fliegt in Sektor %s und scannt dort folgende Asteroiden:", sectorName),
f("Ihr Auftrag ist diese Asteroiden in Sektor %s zu scannen:", sectorName),
}) .. "\n\n" .. Util.mkString(Util.map(asteroidNames, function(asteroidName) return " * " .. asteroidName end), "\n") .. "\n\n" .. Util.random({
"Habt ihr das verstanden?",
"Und jetzt los. Ihr werdet nicht fürs Rumstehen bezahlt.",
"Hört auf hier herum zu stehen und tut, was ich euch gesagt habe.",
"Bei dieser Mission bin ich ihr Vorgesetzter. Also los jetzt. An die Arbeit!",
})
end,
side_mission_scan_asteroids_short_hint = function(numberOfAsteroids)
if numberOfAsteroids > 1 then
return f("Weitere %d Asteroiden scannen.", numberOfAsteroids)
else
return "Noch einen Asteroiden scannen."
end
end,
side_mission_scan_asteroids_hint = function(asteroidNames, sectorName)
return "Scannen Sie die folgenden Asteroiden in Sektor " .. sectorName .. ": " .. Util.mkString(asteroidNames, ", ", " " .. t("generic_and") .. " ")
end,
side_mission_scan_asteroids_success = function(payment)
return Util.random({
f("Nun gut. Hier sind eure %0.2fRP für das Scannen der Asteroiden.", payment),
f("Euer Auftrag wurde erledigt. Eure Belohnung beträgt %0.2fRP.", payment),
}) .. " " .. Util.random({
"Verschwendet nicht alles davon für Drinks.",
"Meldet euch um euren nächsten Auftrag zu bekommen.",
})
end,
}) |
BLT.Items.ColorTextBox = BLT.Items.ColorTextBox or class(BLT.Items.TextBox)
local ColorTextBox = BLT.Items.ColorTextBox
ColorTextBox.type_name = "ColoredTextBox"
function ColorTextBox:Init(...)
ColorTextBox.super.Init(self, ...)
local panel = self:Panel()
panel:rect({name = "color_preview", w = self.items_size, h = self.items_size})
self:UpdateColor()
end
function ColorTextBox:UpdateColor()
local preview = self:Panel():child("color_preview")
if preview then
preview:set_color(self:Value())
preview:set_right(self._textbox.panel:right())
end
end
function ColorTextBox:Value()
return Color:from_hex(self.value)
end
function ColorTextBox:SetValue(value, ...)
if type_name(value) == "Color" then
value = value:to_hex()
end
return ColorTextBox.super.SetValue(self, value, ...)
end
function ColorTextBox:_SetValue(...)
ColorTextBox.super._SetValue(self, ...)
self:UpdateColor()
end
function ColorTextBox:MousePressed(button, x, y)
local result = ColorTextBox.super.MousePressed(self, button, x, y)
if not result and self.show_color_dialog and self.enabled then
if button == Idstring("0") and self:Panel():inside(x,y) then
self:RunCallback(self.show_color_dialog)
return true
end
end
return result
end
function BLT.Items.Menu:ColorTextBox(params)
return self:NewItem(BLT.Items.ColorTextBox:new(self:ConfigureItem(params)))
end |
mapObjects = {
["Duel"] = {
["Objects"] = {
{ 8957, 2539.6001, 2823, 12.7 },
{ 8957, 2616.3, 2830.8999, 12.7 },
},
},
}
--
function loadMap(map, dimension)
if (mapObjects[map]) then
unloadMap()
for k, v in ipairs(mapObjects[map]["Objects"]) do
local obj = createObject(v[1], v[2], v[3], v[4], v[5] or 0, v[6] or 0, v[7] or 0)
local obj2 = createObject(v[1], v[2], v[3], v[4]+5, v[5] or 0, v[6] or 0, v[7] or 0)
setElementInterior(obj,0)
setElementInterior(obj2,0)
setElementDimension(obj, dimension)
setElementDimension(obj2, dimension)
end
else
outputChatBox("invalid map contact a developer")
end
end
function unloadMap()
for k, v in ipairs(getElementsByType("object", resourceRoot)) do
if isElement(v) then destroyElement(v) end
end
end
|
--[[
Name: cl_menu_phone.lua
For: TalosLife
By: TalosLife
]]--
local Panel = {}
function Panel:Init()
end
function Panel:OnKeyCodeTyped( key )
if key == KEY_ENTER then
self:KillFocus()
end
end
function Panel:DoClick()
GAMEMODE.Gui.m_pnlPhone:MakePopup()
GAMEMODE.Gui.m_pnlPhone:SetKeyboardInputEnabled( true )
GAMEMODE.Gui.m_pnlPhone:SetMouseInputEnabled( false )
self:RequestFocus()
end
function Panel:OnFocusChanged( b )
if b then return end
GAMEMODE.Gui.m_pnlPhone:SetKeyboardInputEnabled( false )
GAMEMODE.Gui.m_pnlPhone:SetMouseInputEnabled( false )
GAMEMODE.Gui.m_pnlPhone:KillFocus()
end
function Panel:SetSelected( b )
self.m_bSelected = b
if not b then
self:OnFocusChanged( false )
else
self:DoClick()
end
end
vgui.Register( "SRPPhone_TextEntry", Panel, "DTextEntry" )
-- --------------------------------------------------------------------------
local Panel = {}
function Panel:Init()
self.m_matGr = Material( "gui/gradient_down.vtf" )
self.m_tblBtns = {}
self.m_pnlBtnContainer = vgui.Create( "EditablePanel", self )
self.m_pnlBtnContainer.Paint = function( _, intW, intH )
for k, v in pairs( self.m_tblBtns ) do
local x, y = v:GetPos()
local w, h = v:GetSize()
draw.SimpleText(
v.m_strText,
"HudHintTextSmall",
x +(w /2),
y +h,
Color(255, 255, 255, 255),
TEXT_ALIGN_CENTER
)
end
end
end
function Panel:AddButton( strName, strMat, funcDoClick )
local iconSize = 24
local pnl = vgui.Create( "DButton", self.m_pnlBtnContainer )
pnl:SetSize( 48, 32 )
pnl:SetText( " " )
pnl.m_strText = strName
pnl.m_matIcon = Material( strMat )
pnl.DoClick = funcDoClick
pnl.Paint = function( p, intW, intH )
if p.m_bSelected then
draw.RoundedBox(
4,
0,
0,
intW,
intH,
Color( 255, 255, 255, 50 )
)
end
surface.SetMaterial( p.m_matIcon )
surface.SetDrawColor( 255, 255, 255, 255 )
surface.DrawTexturedRect( (intW /2) -(iconSize /2), (intH /2) -(iconSize /2), iconSize, iconSize )
end
table.insert( self.m_tblBtns, pnl )
return pnl
end
function Panel:SetSelected( b )
self.m_bSelected = b
end
function Panel:SetIcon( strIcon )
self.m_matIcon = Material( strIcon )
end
function Panel:SetAppName( strName )
self.m_strAppName = strName
end
function Panel:GetAppName()
return self.m_strAppName
end
function Panel:SetAppPanel( strPanel )
self.m_pnlApp = vgui.Create( strPanel )
self.m_pnlApp:SetVisible( false )
end
function Panel:DoClick()
self:GetParent():ShowMenu( self.m_pnlApp )
end
function Panel:Paint( intW, intH )
surface.SetDrawColor( 50, 50, 50, 255 )
surface.DrawRect( 0, 0, intW, intH )
surface.SetMaterial( self.m_matGr )
surface.SetDrawColor( 0, 0, 0, 255 )
surface.DrawTexturedRect( 0, 0, intW, intH )
end
function Panel:PerformLayout( intW, intH )
local x = 0
for k, v in pairs( self.m_tblBtns ) do
v:SetSize( 48, 24 )
v:SetPos( x, 0 )
x = x +v:GetWide()
end
self.m_pnlBtnContainer:SetPos( (intW /2) -(x /2), 0 )
self.m_pnlBtnContainer:SetSize( x, intH )
end
vgui.Register( "SRPPhone_AppToolbar", Panel, "EditablePanel" )
-- --------------------------------------------------------------------------
local Panel = {}
function Panel:Init()
self.m_matIcon = Material( "taloslife/phone/phone.png" )
self:SetText( " " )
end
function Panel:SetSelected( b )
self.m_bSelected = b
end
function Panel:SetIcon( strIcon )
self.m_matIcon = Material( strIcon, "noclamp smooth" )
end
function Panel:SetAppName( strName )
self.m_strAppName = strName
end
function Panel:GetAppName()
return self.m_strAppName
end
function Panel:SetAppPanel( strPanel )
self.m_pnlApp = vgui.Create( strPanel )
self.m_pnlApp:SetVisible( false )
end
function Panel:GetAppPanel()
return self.m_pnlApp
end
function Panel:DoClick()
self:GetParent():ShowMenu( self.m_pnlApp )
end
function Panel:Paint( intW, intH )
surface.SetMaterial( self.m_matIcon )
surface.SetDrawColor( 255, 255, 255, 255 )
surface.DrawTexturedRect( 0, 0, intW, intH )
end
function Panel:PerformLayout( intW, intH )
end
vgui.Register( "SRPPhone_AppIcon", Panel, "DButton" )
-- --------------------------------------------------------------------------
local days = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" }
local Panel = {}
function Panel:Init()
self.m_matSignal = Material( "taloslife/phone/stat_sys_signal_evdo_1.png", "noclamp" )
self.m_pnlClockLabel = vgui.Create( "DLabel", self )
self.m_pnlClockLabel:SetExpensiveShadow( 2, Color(0, 0, 0, 255) )
self.m_pnlClockLabel:SetTextColor( Color(255, 255, 255, 255) )
self.m_pnlClockLabel:SetFont( "Trebuchet18" )
end
function Panel:Think()
local min = math.floor( GAMEMODE.DayNight:GetTime() %60 )
local hour = math.floor( GAMEMODE.DayNight:GetTime() /60 )
local pm = hour >= 12 and "PM" or "AM"
if hour >= 12 then hour = hour -12 end
if hour == 0 then hour = 12 end
if min < 10 then min = "0".. min end
self.m_pnlClockLabel:SetText( (hour.. ":".. min.. " ".. pm ).. " - ".. days[GAMEMODE.DayNight:GetDay() or 1] )
self.m_pnlClockLabel:SizeToContents()
end
function Panel:Paint( intW, intH )
surface.SetDrawColor( 0, 0, 0, 255 )
surface.DrawRect( 0, 0, intW, intH )
local x, y = self.m_pnlClockLabel:GetPos()
surface.SetMaterial( self.m_matSignal )
surface.SetDrawColor( 255, 255, 255, 255 )
surface.DrawTexturedRect( x -15 -8, y -2, 15, 19 )
end
function Panel:PerformLayout( intW, intH )
self.m_pnlClockLabel:SizeToContents()
self.m_pnlClockLabel:SetPos( intW -self.m_pnlClockLabel:GetWide() -5, 5 )
end
vgui.Register( "SRPPhoneTitleBar", Panel, "EditablePanel" )
-- --------------------------------------------------------------------------
local Panel = {}
function Panel:Init()
self.m_tblApps = {}
self.m_intAppLabelTall = 5
self.m_intCurSelection = 1
end
function Panel:ShowMenu( ... )
self:GetParent():ShowMenu( ... )
end
function Panel:DoClick()
self:GetCurrentSelection():DoClick()
end
function Panel:NextSelection()
self.m_intCurSelection = self.m_intCurSelection +1
if self.m_intCurSelection > #self.m_tblApps then
self.m_intCurSelection = 1
end
for k, v in pairs( self.m_tblApps ) do
v:SetSelected( k == self.m_intCurSelection )
end
end
function Panel:LastSelection()
self.m_intCurSelection = self.m_intCurSelection -1
if 0 >= self.m_intCurSelection then
self.m_intCurSelection = #self.m_tblApps
end
for k, v in pairs( self.m_tblApps ) do
v:SetSelected( k == self.m_intCurSelection )
end
end
function Panel:GetCurrentSelection()
for k, v in pairs( self.m_tblApps ) do
if k == self.m_intCurSelection then
return v
end
end
end
function Panel:Refresh()
for k, v in pairs( self.m_tblApps ) do
if ValidPanel( v ) then
v:Remove()
end
end
self.m_tblApps = {}
self.m_intCurSelection = 1
for k, v in pairs( GAMEMODE.Gui.m_tblDefPhoneApps ) do
local app = vgui.Create( "SRPPhone_AppIcon", self )
app:SetIcon( v.Icon )
app:SetAppPanel( v.Panel )
app:SetAppName( v.Name )
table.insert( self.m_tblApps, app )
if #self.m_tblApps == self.m_intCurSelection then
app:SetSelected( true )
else
app:SetSelected( false )
end
end
self:InvalidateLayout()
end
function Panel:Paint()
for k, v in pairs( self.m_tblApps ) do
local x, y = v:GetPos()
local w, h = v:GetSize()
surface.SetFont( "HudHintTextSmall" )
local tW, tH = surface.GetTextSize( v:GetAppName() )
if v.m_bSelected then
draw.RoundedBox(
4,
x,
y,
w,
h +self.m_intAppLabelTall +tH,
Color( 255, 255, 255, 50 )
)
end
draw.SimpleText(
v:GetAppName(),
"HudHintTextSmall",
x +(w /2),
y +h,
Color(255, 255, 255, 255),
TEXT_ALIGN_CENTER
)
end
end
function Panel:PerformLayout( intW, intH )
local x, y = 0, 0
local iconSize, iconPadding, iconPaddingY = 50, 5, 10
local perRow, count = 4, 0
for k, v in pairs( self.m_tblApps ) do
v:SetPos( x, y )
v:SetSize( iconSize, iconSize )
count = count +1
if count < perRow then
x = x +iconSize +iconPadding
else
x = 0
count = 0
y = y +iconSize +iconPaddingY +self.m_intAppLabelTall
end
end
end
vgui.Register( "SRPAppList", Panel, "EditablePanel" )
-- --------------------------------------------------------------------------
local Panel = {}
function Panel:Init()
self.m_pnlTitleBar = vgui.Create( "SRPPhoneTitleBar", self )
self.m_pnlAppList = vgui.Create( "SRPAppList", self )
self.m_pnlAppList:Refresh()
self.m_tblPageBuffer = {}
end
function Panel:HomePage()
local cur = self.m_tblPageBuffer[#self.m_tblPageBuffer]
if not cur then return end
self.m_bAnim = true
cur:SetPos( 0, self.m_pnlTitleBar:GetTall() )
cur:MoveTo( self:GetWide(), self.m_pnlTitleBar:GetTall(), 0.25, 0, 2, function()
cur:SetVisible( false )
end )
self.m_pnlAppList:SetVisible( true )
self.m_pnlAppList:SetPos( -self:GetWide(), 30 )
self.m_pnlAppList:MoveTo( 0, 30, 0.25, 0, 2, function()
self.m_pnlAppList:SetVisible( true )
self.m_bAnim = false
end )
self.m_tblPageBuffer = {}
end
function Panel:ShowMenu( pnlMenu, funcCallback )
if self.m_bAnim then return end
self.m_bAnim = true
pnlMenu:SetParent( self )
pnlMenu:SetSize( self:GetWide(), self:GetTall() -self.m_pnlTitleBar:GetTall() )
pnlMenu:InvalidateLayout()
local old = self.m_tblPageBuffer[#self.m_tblPageBuffer]
old = old or self.m_pnlAppList
old:SetPos( 0, old ~= self.m_pnlAppList and self.m_pnlTitleBar:GetTall() or 30 )
old:MoveTo( -self:GetWide(), old ~= self.m_pnlAppList and self.m_pnlTitleBar:GetTall() or 30, 0.25, 0, 2, function()
old:SetVisible( false )
if funcCallback then funcCallback() end
end )
pnlMenu:SetVisible( true )
pnlMenu:SetPos( self:GetWide(), self.m_pnlTitleBar:GetTall() )
pnlMenu:MoveTo( 0, self.m_pnlTitleBar:GetTall(), 0.25, 0, 2, function()
pnlMenu:SetVisible( true )
self.m_bAnim = false
if funcCallback then funcCallback() end
end )
if pnlMenu.OnShowPage then
pnlMenu:OnShowPage()
end
table.insert( self.m_tblPageBuffer, pnlMenu )
end
function Panel:GetCurrentMenu()
return self.m_tblPageBuffer[#self.m_tblPageBuffer]
end
function Panel:DoClick()
if self.m_pnlAppList:IsVisible() then
self.m_pnlAppList:DoClick()
else
self.m_tblPageBuffer[#self.m_tblPageBuffer]:DoClick()
end
end
function Panel:NextSelection()
if self.m_pnlAppList:IsVisible() then
self.m_pnlAppList:NextSelection()
else
self.m_tblPageBuffer[#self.m_tblPageBuffer]:NextSelection()
end
end
function Panel:LastSelection()
if self.m_pnlAppList:IsVisible() then
self.m_pnlAppList:LastSelection()
else
self.m_tblPageBuffer[#self.m_tblPageBuffer]:LastSelection()
end
end
function Panel:BackPage()
if self.m_pnlAppList:IsVisible() then return end
if #self.m_tblPageBuffer == 0 then return end
if self.m_bAnim then return end
self.m_bAnim = true
local old = self.m_tblPageBuffer[#self.m_tblPageBuffer]
local new = self.m_tblPageBuffer[#self.m_tblPageBuffer -1]
if not new then new = self.m_pnlAppList end
local oldIDX, newIDX = #self.m_tblPageBuffer, #self.m_tblPageBuffer -1
old:MoveTo( self:GetWide(), self.m_pnlTitleBar:GetTall(), 0.25, 0, 2, function()
old:SetVisible( false )
if old.OnPageBack then
old:OnPageBack()
end
self.m_tblPageBuffer[oldIDX] = nil
end )
new:SetPos( -self:GetWide(), new ~= self.m_pnlAppList and self.m_pnlTitleBar:GetTall() or 30 )
new:SetVisible( true )
new:MoveTo( 0, new ~= self.m_pnlAppList and self.m_pnlTitleBar:GetTall() or 30, 0.25, 0, 2, function()
new:SetVisible( true )
self.m_bAnim = false
end )
end
function Panel:NumberTyped( int )
if #self.m_tblPageBuffer == 0 then return end
if not self.m_tblPageBuffer[#self.m_tblPageBuffer].NumberTyped then return end
self.m_tblPageBuffer[#self.m_tblPageBuffer]:NumberTyped( int )
end
function Panel:Paint( intW, intH )
end
function Panel:PerformLayout( intW, intH )
self.m_pnlTitleBar:SetPos( 0, 0 )
self.m_pnlTitleBar:SetSize( intW, 25 )
self.m_pnlAppList:SetPos( 5, 30 )
self.m_pnlAppList:SetSize( intW -10, intH -35 )
end
vgui.Register( "SRPPhoneHomeMenu", Panel, "EditablePanel" )
-- --------------------------------------------------------------------------
local Panel = {}
function Panel:Init()
self:SetMouseInputEnabled( false )
self:SetKeyboardInputEnabled( false )
self.m_matBG = Material( "taloslife/phone/android_01.png", "noclamp" )
self.m_matWallpaper = Material( "taloslife/phone/wallpapers/grass.png", "noclamp smooth" )
self.m_intMenuX = 23
self.m_intMenuY = 43
self.m_intMenuW = 248 -self.m_intMenuX
self.m_intMenuH = 442 -self.m_intMenuY
self.m_intScrH = ScrH()
self.m_pnlContent = vgui.Create( "SRPPhoneHomeMenu", self )
hook.Add( "GamemodeSharedGameVarChanged", "JailClosePhone", function( pPlayer, strVar, vaOld, vaNew )
if pPlayer ~= LocalPlayer() or strVar ~= "arrested" then return end
if vaNew and self:IsVisible() then
self:Toggle()
end
end )
end
function Panel:HomePage()
self.m_pnlContent:HomePage()
end
function Panel:GetApp( strAppName )
for k, v in pairs( self.m_pnlContent.m_pnlAppList.m_tblApps ) do
if v:GetAppName() == strAppName then
return v
end
end
end
function Panel:ShowApp( strAppName, funcCallback )
self.m_pnlContent:ShowMenu( self:GetApp(strAppName):GetAppPanel(), funcCallback )
end
function Panel:ShowMenu( pnlMenu, funcCallback )
self.m_pnlContent:ShowMenu( pnlMenu, funcCallback )
end
function Panel:GetCurrentMenu()
return self.m_pnlContent:GetCurrentMenu()
end
function Panel:DoClick()
self.m_pnlContent:DoClick()
end
function Panel:NextSelection()
self.m_pnlContent:NextSelection()
end
function Panel:LastSelection()
self.m_pnlContent:LastSelection()
end
function Panel:BackPage()
self.m_pnlContent:BackPage()
end
function Panel:NumberTyped( int )
self.m_pnlContent:NumberTyped( int )
end
function Panel:Think()
if not self:IsVisible() or self.m_bClosing then return end
if LocalPlayer():HasWeapon( "weapon_handcuffed" ) or LocalPlayer():HasWeapon( "weapon_ziptied" ) then
self:Toggle()
end
end
function Panel:Toggle()
local posX, posY = self:GetPos()
local w, h = self:GetSize()
if self:IsVisible() then
self.m_bClosing = true
self:MoveTo( posX, self.m_intScrH, 0.25, 0, 2, function()
self:SetVisible( false )
self.m_bClosing = nil
end )
else
if LocalPlayer():HasWeapon( "weapon_handcuffed" ) or LocalPlayer():HasWeapon( "weapon_ziptied" ) then
return
end
if GAMEMODE.Player:GetSharedGameVar( LocalPlayer(), "arrested" ) then
return
end
self.m_bClosing = nil
self:SetVisible( true )
self:MoveTo( posX, self.m_intScrH -h +32, 0.25, 0, 2, function()
self:SetVisible( true )
end )
end
end
function Panel:Paint( intW, intH )
surface.SetMaterial( self.m_matBG )
surface.SetDrawColor( 255, 255, 255, 255 )
surface.DrawTexturedRect( 0, 0, intW, intH )
surface.SetMaterial( self.m_matWallpaper )
surface.DrawTexturedRect( self.m_intMenuX, self.m_intMenuY, self.m_intMenuW, self.m_intMenuH )
end
function Panel:PerformLayout( intW, intH )
self.m_pnlContent:SetPos( self.m_intMenuX, self.m_intMenuY )
self.m_pnlContent:SetSize( self.m_intMenuW, self.m_intMenuH )
end
vgui.Register( "SRPPhoneMenu", Panel, "EditablePanel" )
hook.Add( "GamemodeDefineGameVars", "DefinePhoneData", function( pPlayer )
GAMEMODE.Player:DefineGameVar( "phone_number", "", "String", true )
end ) |
local mod = DBM:NewMod(2353, "DBM-EternalPalace", nil, 1179)
local L = mod:GetLocalizedStrings()
mod:SetRevision("2019071740256")
mod:SetCreatureID(152364)
mod:SetEncounterID(2305)
mod:SetZone()
mod:SetUsedIcons(1, 2)
mod:SetHotfixNoticeRev(20190716000000)--2019, 7, 16
--mod:SetMinSyncRevision(16950)
--mod.respawnTime = 29
mod:RegisterCombat("combat")
mod:RegisterEventsInCombat(
"SPELL_CAST_START 296459 296894 295916 296701 296566",
"SPELL_CAST_SUCCESS 296737",
"SPELL_AURA_APPLIED 296566 296737",
"SPELL_AURA_REMOVED 296737",
"SPELL_INTERRUPT",
-- "SPELL_PERIODIC_DAMAGE",
-- "SPELL_PERIODIC_MISSED",
"UNIT_DIED",
"UNIT_SPELLCAST_SUCCEEDED boss1"
)
--[[
(ability.id = 296566 or ability.id = 296459 or ability.id = 296894 or ability.id = 302465 or ability.id = 295916 or ability.id = 296701 or ability.id = 304098) and type = "begincast"
or ability.id = 296737 and type = "cast"
or type = "death" and target.id = 152512
or type = "interrupt"
--]]
local warnArcanadoBurst = mod:NewSpellAnnounce(296430, 2)
local warnSquallTrap = mod:NewSpellAnnounce(296459, 4)
local warnArcaneBomb = mod:NewTargetNoFilterAnnounce(296737, 4)
--Rising Fury
local specWarnTideFistCast = mod:NewSpecialWarningDefensive(296566, nil, nil, nil, 1, 2)
local specWarnTideFist = mod:NewSpecialWarningTaunt(296566, nil, nil, nil, 1, 2)
local specWarnArcaneBomb = mod:NewSpecialWarningMoveAway(296737, nil, nil, nil, 1, 2)
local yellArcaneBomb = mod:NewPosYell(296737)
local yellArcaneBombFades = mod:NewIconFadesYell(296737)
local specWarnUnshackledPower = mod:NewSpecialWarningCount(296894, nil, nil, nil, 2, 2)
--Raging Storm
local specWarnAncientTempest = mod:NewSpecialWarningSpell(295916, nil, nil, nil, 2, 2)
local specWarnGaleBuffet = mod:NewSpecialWarningSpell(304098, nil, nil, nil, 2, 2)
--local specWarnGTFO = mod:NewSpecialWarningGTFO(270290, nil, nil, nil, 1, 8)
--Rising Fury
mod:AddTimerLine(DBM:EJ_GetSectionInfo(20076))
local timerTideFistCD = mod:NewNextCountTimer(58.2, 296546, nil, "Tank", nil, 5, nil, DBM_CORE_TANK_ICON, nil, mod:IsTank() and 2, 4)
local timerArcanadoBurstCD = mod:NewNextCountTimer(58.2, 296430, nil, nil, nil, 3)
local timerArcaneBombCD = mod:NewNextCountTimer(58.2, 296737, nil, "-Tank", nil, 3, nil, nil, nil, 3, 4)
local timerUnshacklingPowerCD = mod:NewNextCountTimer(58.2, 296894, nil, nil, nil, 2, nil, DBM_CORE_HEALER_ICON, nil, 1, 4)
local timerAncientTempestCD = mod:NewNextTimer(95.9, 295916, nil, nil, nil, 6)
--Raging Storm
mod:AddTimerLine(DBM:EJ_GetSectionInfo(20078))
local timerGaleBuffetCD = mod:NewCDTimer(22.6, 304098, nil, nil, nil, 2)
--local berserkTimer = mod:NewBerserkTimer(600)
--mod:AddRangeFrameOption(6, 264382)
--mod:AddInfoFrameOption(275270, true)
mod:AddSetIconOption("SetIconOnArcaneBomb", 296737, true, false, {1, 2})
mod.vb.unshackledCount = 0
mod.vb.arcanadoCount = 0
mod.vb.tideFistCount = 0
mod.vb.arcaneBombCount = 0
mod.vb.arcaneBombicon = 1
mod.vb.tempestStage = false
mod.vb.addsLeft = 1
local arcanadoTimers = {5.9, 12.0, 13.1, 10.5, 12.0, 13.1, 10.6}
local tideFistTimers = {15.1, 20.0, 19.0, 20.0}
local unshackledPowerTimers = {10.0, 18.0, 18.0, 18.0, 18.0}
local arcaneBombTimers = {7.1, 19.9, 22.1, 18.0, 25.5}
function mod:OnCombatStart(delay)
self.vb.unshackledCount = 0
self.vb.arcanadoCount = 0
self.vb.tideFistCount = 0
self.vb.arcaneBombCount = 0
self.vb.arcaneBombicon = 1
self.vb.tempestStage = false
--Seem same in heroic and mythic thus far
timerArcanadoBurstCD:Start(6-delay, 1)
timerArcaneBombCD:Start(7-delay, 1)
timerUnshacklingPowerCD:Start(10-delay, 1)
timerTideFistCD:Start(15-delay, 1)
timerAncientTempestCD:Start(95.6)
end
function mod:OnCombatEnd()
-- if self.Options.InfoFrame then
-- DBM.InfoFrame:Hide()
-- end
-- if self.Options.RangeFrame then
-- DBM.RangeCheck:Hide()
-- end
end
function mod:SPELL_CAST_START(args)
local spellId = args.spellId
if spellId == 296566 then
self.vb.tideFistCount = self.vb.tideFistCount + 1
if self:IsTanking("player", "boss1", nil, true) then
specWarnTideFistCast:Show()
specWarnTideFistCast:Play("defensive")
end
local timer = tideFistTimers[self.vb.tideFistCount+1]
if timer then
timerTideFistCD:Start(timer, self.vb.tideFistCount+1)
end
elseif spellId == 296459 then
warnSquallTrap:Show()
elseif spellId == 296894 then--296894 verified all difficulties, 302465 is unknown
self.vb.unshackledCount = self.vb.unshackledCount + 1
specWarnUnshackledPower:Show(self.vb.unshackledCount)
specWarnUnshackledPower:Play("aesoon")
local timer = unshackledPowerTimers[self.vb.unshackledCount+1]
if timer then
timerUnshacklingPowerCD:Start(timer, self.vb.unshackledCount+1)
end
elseif spellId == 295916 then--Ancient Tempest (phase change)
self.vb.tempestStage = true
self.vb.arcaneBombCount = 0
if self:IsMythic() then
self.vb.addsLeft = 2
else
self.vb.addsLeft = 1
end
timerTideFistCD:Stop()
timerArcanadoBurstCD:Stop()
timerArcaneBombCD:Stop()
timerUnshacklingPowerCD:Stop()
specWarnAncientTempest:Show()
specWarnAncientTempest:Play("phasechange")
elseif spellId == 296701 then--296701 verified all difficulties. 304098 is unknown
if self:CheckBossDistance(args.sourceGUID, true, 34471) then--43 yards
specWarnGaleBuffet:Show()
specWarnGaleBuffet:Play("carefly")
end
timerGaleBuffetCD:Start(nil, args.sourceGUID)
if not self:CheckBossDistance(args.sourceGUID, true) then
timerGaleBuffetCD:SetSTFade(true, args.sourceGUID)
end
end
end
function mod:SPELL_CAST_SUCCESS(args)
local spellId = args.spellId
if spellId == 296737 and self:AntiSpam(5, 1) then
self.vb.arcaneBombicon = 1
self.vb.arcaneBombCount = self.vb.arcaneBombCount + 1
local timer = self.vb.tempestStage and 20 or arcaneBombTimers[self.vb.arcaneBombCount+1]
if timer then
timerArcaneBombCD:Start(timer, self.vb.arcaneBombCount+1)
end
end
end
function mod:SPELL_AURA_APPLIED(args)
local spellId = args.spellId
if spellId == 296566 then
if not args:IsPlayer() then
specWarnTideFist:Show(args.destName)
specWarnTideFist:Play("tauntboss")
end
elseif spellId == 296737 then
warnArcaneBomb:CombinedShow(0.3, args.destName)
local icon = self.vb.arcaneBombicon
if args:IsPlayer() then
specWarnArcaneBomb:Show()
specWarnArcaneBomb:Play("runout")
yellArcaneBomb:Yell(icon, icon, icon)
yellArcaneBombFades:Countdown(spellId, nil, icon)
end
if self.Options.SetIconOnArcaneBomb then
self:SetIcon(args.destname, self.vb.arcaneBombicon)
end
self.vb.arcaneBombicon = self.vb.arcaneBombicon + 1
end
end
--mod.SPELL_AURA_APPLIED_DOSE = mod.SPELL_AURA_APPLIED
function mod:SPELL_AURA_REMOVED(args)
local spellId = args.spellId
if spellId == 296737 then
if args:IsPlayer() then
yellArcaneBombFades:Cancel()
end
if self.Options.SetIconOnArcaneBomb then
self:SetIcon(args.destname, 0)
end
end
end
--[[
function mod:SPELL_PERIODIC_DAMAGE(_, _, _, _, destGUID, _, _, _, spellId, spellName)
if spellId == 270290 and destGUID == UnitGUID("player") and self:AntiSpam(2, 2) then
specWarnGTFO:Show(spellName)
specWarnGTFO:Play("watchfeet")
end
end
mod.SPELL_PERIODIC_MISSED = mod.SPELL_PERIODIC_DAMAGE
--]]
function mod:SPELL_INTERRUPT(args)
if type(args.extraSpellId) == "number" and args.extraSpellId == 304951 then--Focus Power
--First arcane bomb is cast immediately after spell lock ends
--This means if mage interrupts, 6 seconds after interrupt, hunter, 3 seconds later.
timerGaleBuffetCD:Start(11, args.destGUID)
if not self:CheckBossDistance(args.destGUID, true) then
timerGaleBuffetCD:SetSTFade(true, args.destGUID)
end
end
end
function mod:UNIT_DIED(args)
local cid = self:GetCIDFromGUID(args.destGUID)
if cid == 152512 then--Stormwraith
timerGaleBuffetCD:Stop(args.destGUID)
self.vb.addsLeft = self.vb.addsLeft - 1
if self.vb.addsLeft == 0 then
self.vb.tempestStage = false
self.vb.unshackledCount = 0
self.vb.arcanadoCount = 0
self.vb.tideFistCount = 0
self.vb.arcaneBombCount = 0
timerArcaneBombCD:Stop()
timerArcanadoBurstCD:Start(6, 1)
timerArcaneBombCD:Start(7, 1)
timerUnshacklingPowerCD:Start(10, 1)
timerTideFistCD:Start(15, 1)
timerAncientTempestCD:Start(95.8)
end
end
end
function mod:UNIT_SPELLCAST_SUCCEEDED(uId, _, spellId)
if spellId == 296428 then--Arcanado Burst
self.vb.arcanadoCount = self.vb.arcanadoCount + 1
warnArcanadoBurst:Show(self.vb.arcanadoCount)
local timer = arcanadoTimers[self.vb.arcanadoCount+1]
if timer then
timerArcanadoBurstCD:Start(timer, self.vb.arcanadoCount+1)
end
end
end
|
local PATH = (...):gsub('%.[^%.]+$', '')
local Components = require(PATH..".components")
local Type = require(PATH..".type")
--- An object that exists in a world. An entity
--- contains components which are processed by systems.
---@class Entity:table
local Entity = {}
Entity.__mt = {
__index = Entity,
}
--- Creates a new Entity. Optionally adds it to a World.
---@param world World World to add the entity to
---@return Entity A new Entity
function Entity.new(world)
if (world ~= nil and not Type.isWorld(world)) then
error("bad argument #1 to 'Entity.new' (world/nil expected, got "..type(world)..")", 2)
end
local e = setmetatable({
__world = nil,
__components = {},
__isEntity = true,
}, Entity.__mt)
if (world) then
world:addEntity(e)
end
return e
end
local function give(e, name, componentClass, ...)
local component = componentClass:__initialize(...)
e[name] = component
e.__components[name] = component
e:__dirty()
end
local function remove(e, name, componentClass)
e[name] = nil
e.__components[name] = nil
e:__dirty()
end
--- Gives an Entity a Component.
--- If the Component already exists, it's overridden by this new Component
---@param componentClass Component ComponentClass to add an instance of
---@vararg any[] additional arguments to pass to the Component's populate function
---@return Entity self
function Entity:give(name, ...)
local ok, componentClass = Components.try(name)
if not ok then
error("bad argument #1 to 'Entity:get' ("..componentClass..")", 2)
end
give(self, name, componentClass, ...)
return self
end
--- Ensures an Entity to have a Component.
--- If the Component already exists, no action is taken
---@param componentClass Component ComponentClass to add an instance of
---@vararg any[] to pass to the Component's populate function
---@return Entity selfs
function Entity:ensure(name, ...)
local ok, componentClass = Components.try(name)
if not ok then
error("bad argument #1 to 'Entity:get' ("..componentClass..")", 2)
end
if self[name] then
return self
end
give(self, name, componentClass, ...)
return self
end
--- Removes a Component from an Entity.
---@param componentClass Component ComponentClass of the Component to remove
---@return Entity self
function Entity:remove(name)
local ok, componentClass = Components.try(name)
if not ok then
error("bad argument #1 to 'Entity:get' ("..componentClass..")", 2)
end
remove(self, name, componentClass)
return self
end
--- Assembles an Entity.
---@param assemblage function Function that will assemble an entity
---@vararg any[] additional arguments to pass to the assemblage function.
---@return Entity self
function Entity:assemble(assemblage, ...)
if type(assemblage) ~= "function" then
error("bad argument #1 to 'Entity:assemble' (function expected, got "..type(assemblage)..")")
end
assemblage(self, ...)
return self
end
--- Destroys the Entity.
--- Removes the Entity from its World if it's in one.
---@return self
function Entity:destroy()
if self.__world then
self.__world:removeEntity(self)
end
return self
end
--- Internal: Tells the World it's in that this Entity is dirty.
---@return self
function Entity:__dirty()
if self.__world then
self.__world:__dirtyEntity(self)
end
return self
end
--- Returns true if the Entity has a Component.
---@param componentClass Component ComponentClass of the Component to check
---@return boolean
function Entity:has(name)
local ok, componentClass = Components.try(name)
if not ok then
error("bad argument #1 to 'Entity:has' ("..componentClass..")", 2)
end
return self[name] and true or false
end
--- Gets a Component from the Entity.
---@param componentClass Component ComponentClass of the Component to get
---@return table
function Entity:get(name)
local ok, componentClass = Components.try(name)
if not ok then
error("bad argument #1 to 'Entity:get' ("..componentClass..")", 2)
end
return self[name]
end
--- Returns a table of all Components the Entity has.
--- Warning: Do not modify this table.
--- Use Entity:give/ensure/remove instead
---@return table Table of all Components the Entity has
function Entity:getComponents()
return self.__components
end
--- Returns true if the Entity is in a World.
---@return boolean
function Entity:inWorld()
return self.__world and true or false
end
--- Returns the World the Entity is in.
---@return World
function Entity:getWorld()
return self.__world
end
function Entity:serialize()
local data = {}
for _, component in pairs(self.__components) do
if component.__name then
local componentData = component:serialize()
if componentData ~= nil then
componentData.__name = component.__name
data[#data + 1] = componentData
end
end
end
return data
end
function Entity:deserialize(data)
for i = 1, #data do
local componentData = data[i]
if (not Components.has(componentData.__name)) then
error("bad argument #1 to 'Entity:deserialize' (ComponentClass '"..tostring(componentData.__name).."' wasn't yet loaded)") --- luacheck: ignore
end
local componentClass = Components[componentData.__name]
local component = componentClass:__new()
component:deserialize(componentData)
self[componentData.__name] = component
self.__components[componentData.__name] = component
self:__dirty()
end
end
return setmetatable(Entity, {
__call = function(_, ...)
return Entity.new(...)
end,
})
|
-- local status_ok, tabout = pcall(require, "tabout")
-- if not status_ok then
-- return
-- end
--
-- tabout.setup {
-- tabkey = "<Tab>", -- key to trigger tabout, set to an empty string to disable
-- backwards_tabkey = "<S-Tab>", -- key to trigger backwards tabout, set to an empty string to disable
-- act_as_tab = true, -- shift content if tab out is not possible
-- act_as_shift_tab = true, -- reverse shift content if tab out is not possible (if your keyboard/terminal supports <S-Tab>)
-- enable_backwards = true, -- well ...
-- completion = false, -- if the tabkey is used in a completion pum
-- tabouts = {
-- { open = "'", close = "'" },
-- { open = '"', close = '"' },
-- { open = "`", close = "`" },
-- { open = "(", close = ")" },
-- { open = "[", close = "]" },
-- { open = "{", close = "}" },
-- },
-- ignore_beginning = false, --[[ if the cursor is at the beginning of a filled element it will rather tab out than shift the content ]]
-- exclude = {}, -- tabout will ignore these filetypes
-- }
|
local playsession = {
{"BlkKnight", {1213003}},
{"elvo36", {514946}},
{"iReed", {964994}},
{"Bidoas", {1069406}},
{"Krono", {256807}},
{"Mordalfus", {338199}},
{"NormalValue", {1209827}},
{"TfGuy44", {3724}},
{"Immo", {1141}},
{"Gizan", {339145}},
{"Camo5", {884571}},
{"cabb99", {403934}},
{"waxman", {61092}},
{"coldd", {4927}},
{"RashiNerha", {46216}},
{"n11101100", {11669}},
{"mewmew", {1050226}},
{"crash893", {372369}},
{"VorceShard", {48782}},
{"mstevens901", {4505}},
{"Parkouralvoil", {752515}},
{"ClassAction", {966345}},
{"tykak", {956106}},
{"Gh0sTP1rate", {1399}},
{"sky_2017", {880051}},
{"pixel-perfect", {7495}},
{"The_Wraith", {16190}},
{"Griffin904", {136793}},
{"TheKaboomShroom", {415534}},
{"Zymoran", {356449}},
{"2387354150", {373492}},
{"Mxlppxl", {578352}},
{"squidgedude757", {26649}},
{"jeast360", {187370}},
{"Taylor-Swift", {3232}},
{"Edyconex", {27422}},
{"10514187", {1635}},
{"Aero182218", {157305}},
{"Karden_Atreides", {173085}},
{"TheKoopa", {429249}},
{"KingCoolICE", {14677}},
{"OmegaTitan177", {6721}},
{"Krengrus", {31721}},
{"Roufails", {19112}},
{"cubun_2009", {10427}},
{"ViVas", {9490}},
{"OmegaLunch", {895}},
{"barton1906", {21662}},
{"flachen", {31274}},
{"nikithase", {43713}}
}
return playsession |
local Assert = require(script.Parent._Util.Assert)
local assertTypeOf = Assert.prepTypeOf("Darken")
local clampColour = require(script.Parent._Util.ClampColour)
return function(colour: Color3, coefficient: number): Color3
assertTypeOf("colour", "Color3", colour)
assertTypeOf("coefficient", "number", coefficient)
return clampColour(colour:Lerp(Color3.new(), coefficient))
end
|
---------------------------------------------------------------------------
-- userbase.lua:
-- Base Lua definitions that other Lua scripts rely on (auto-loaded).
---------------------------------------------------------------------------
-- Lua global data
chk_interrupt_macro = { }
chk_interrupt_activity = { }
chk_lua_option = { }
-- Push into this table, rather than indexing into it.
chk_lua_save = { }
chk_force_autopickup = { }
-- Data placed in this table will automatically persist through
-- saves and deaths. See persist.lua for the details of how this is done.
if not c_persist then
c_persist = { }
end
function c_save()
if not chk_lua_save then
return
end
local res = ""
for i, fn in ipairs(chk_lua_save) do
res = res .. fn(file)
end
return res
end
-- This function returns true to tell Crawl not to process the option further
function c_process_lua_option(key, val, mode)
if chk_lua_option and chk_lua_option[key] then
return chk_lua_option[key](key, val, mode)
end
return false
end
function c_interrupt_macro(iname, cause, extra)
-- If some joker undefined the table, stop all macros
if not chk_interrupt_macro then
return true
end
-- Maybe we don't know what macro is running? Kill it to be safe
-- We also kill macros that don't add an entry to chk_interrupt_macro.
if not c_macro_name or not chk_interrupt_macro[c_macro_name] then
return true
end
return chk_interrupt_macro[c_macro_name](iname, cause, extra)
end
-- Notice that c_interrupt_activity defaults to *false* whereas
-- c_interrupt_macro defaults to *true*. This is because "false" really just
-- means "go ahead and use the default logic to kill this activity" here,
-- whereas false is interpreted as "no, don't stop this macro" for
-- c_interrupt_macro.
--
-- If c_interrupt_activity, or one of the individual hooks wants to ensure that
-- the activity continues, it must return *nil* (make sure you know what you're
-- doing when you return nil!).
function c_interrupt_activity(aname, iname, cause, extra)
-- If some joker undefined the table, bail out
if not chk_interrupt_activity then
return false
end
-- No activity name? Bail!
if not aname or not chk_interrupt_activity[aname] then
return false
end
return chk_interrupt_activity[aname](iname, cause, extra)
end
function opt_boolean(optname, default)
default = default or false
local optval = options[optname]
if optval == nil then
return default
else
return optval == "true" or optval == "yes"
end
end
function ch_force_autopickup(it, name)
if not chk_force_autopickup then
return
end
for i = 1, #chk_force_autopickup do
res = chk_force_autopickup[i](it, name)
if type(res) == "boolean" then
return res
end
end
end
function add_autopickup_func(func)
table.insert(chk_force_autopickup, func)
end
function clear_autopickup_funcs()
for i in pairs(chk_force_autopickup) do
chk_force_autopickup[i] = nil
end
end
|
return function(ngx)
ngx.print('Hello World!\n')
ngx.eof()
end
|
-- Lua bindings for GNU bc
require("bc")
-- Return table of factorials from 0 to n
function facsUpTo (n)
local f, fList = bc.number(1), {}
fList[0] = 1
for i = 1, n do
f = bc.mul(f, i)
fList[i] = f
end
return fList
end
-- Return left factorial of n
function leftFac (n)
local sum = bc.number(0)
for k = 0, n - 1 do sum = bc.add(sum, facList[k]) end
return bc.tostring(sum)
end
-- Main procedure
facList = facsUpTo(10000)
for i = 0, 10 do print("!" .. i .. " = " .. leftFac(i)) end
for i = 20, 110, 10 do print("!" .. i .. " = " .. leftFac(i)) end
for i = 1000, 10000, 1000 do
print("!" .. i .. " contains " .. #leftFac(i) .. " digits")
end
|
local unexpected = {}
local order = {}
randomize()
for i = 1, 100 do
table.insert(unexpected, i)
it('does 100 its', function()
table.insert(order, i)
end)
end
teardown(function()
assert.are_not.same(unexpected, order)
end)
|
Weapon.PrettyName = "TEC-9"
Weapon.WeaponID = "m9k_tec9"
Weapon.DamageMultiplier = 1.1
Weapon.WeaponType = WEAPON_PRIMARY |
-- Only required if you have packer configured as `opt`
vim.cmd("packadd packer.nvim")
return require("packer").startup(function(use)
use({ "wbthomason/packer.nvim", opt = true })
local config = function(name)
return string.format("require('plugins.%s')", name)
end
-- local use_with_config = function(path, name)
-- use({ path, config = config(name) })
-- end
-- LSP
use("neovim/nvim-lspconfig") -- makes LSP configuration easier
use("jose-elias-alvarez/nvim-lsp-ts-utils") -- utilities to improve TypeScript DX
use({ "RRethy/vim-illuminate", config = config("illuminate") }) -- highlights and allows moving between variable references
-- use("~/git/null-ls.nvim") -- allows using neovim as language server
-- Formatting
use({ "mhartington/formatter.nvim", config = config("formatter") })
-- Treesitter
use({
"nvim-treesitter/nvim-treesitter",
run = ":TSUpdate",
config = config("treesitter"),
})
use({ "windwp/nvim-ts-autotag", ft = { "typescript", "typescriptreact" } }) -- automatically close jsx tags
use({ "JoosepAlviste/nvim-ts-context-commentstring", ft = { "typescript", "typescriptreact" } }) -- makes jsx comments actually work
-- Code completion
use({
"hrsh7th/nvim-cmp", -- completion
requires = {
"hrsh7th/cmp-nvim-lsp",
"hrsh7th/cmp-nvim-lua",
"hrsh7th/cmp-buffer",
"hrsh7th/cmp-path",
"hrsh7th/cmp-cmdline",
"saadparwaiz1/cmp_luasnip",
-- Snippets
"L3MON4D3/LuaSnip", --snippet engine
"rafamadriz/friendly-snippets", -- a bunch of snippets to use
},
config = config("cmp"),
})
-- Schemastore (set up is in ../lsp/jsonls.lua)
use("b0o/schemastore.nvim")
-- Custom text objects
use("wellle/targets.vim") -- many useful additional text objects
use({
"kana/vim-textobj-user",
{
"jasonlong/vim-textobj-css", -- av/iv for variable segment
},
})
-- Registers
-- use_with_config("svermeulen/vim-subversive", "subversive") -- adds "substitute" operator
-- use_with_config("svermeulen/vim-cutlass", "cutlass") -- separates cut and delete operations
-- use_with_config("svermeulen/vim-yoink", "yoink") -- improves paste
-- use_with_config("tversteeg/registers.nvim", "registers") -- shows register contents intelligently
-- Integrations
-- File explorer
use({
"kyazdani42/nvim-tree.lua",
config = config("nvim-tree"),
requires = { "kyazdani42/nvim-web-devicons" },
})
-- use_with_config("mcchrish/nnn.vim", "nnn") -- simple nnn integration
use({
"nvim-telescope/telescope.nvim",
config = config("telescope"),
requires = {
{
"nvim-treesitter/nvim-treesitter",
},
{
"nvim-lua/plenary.nvim",
},
{
"kyazdani42/nvim-web-devicons",
},
{
"nvim-telescope/telescope-fzf-native.nvim",
run = "make",
},
},
})
-- Visual
use({ "folke/tokyonight.nvim", config = config("colours") }) -- colortheme
-- use({ "EdenEast/nightfox.nvim", config = config("colours") }) -- colortheme
use({
"nvim-lualine/lualine.nvim", -- status line
requires = { "kyazdani42/nvim-web-devicons" },
config = config("lualine"),
})
use({ "lukas-reineke/indent-blankline.nvim", config = config("indent-blankline") }) -- show indentation guides
-- Utilities & niceness
use("airblade/vim-gitgutter")
use("christoomey/vim-sort-motion")
use({ "rrethy/vim-hexokinase", run = "make hexokinase" }) -- show colours in code
use("tommcdo/vim-exchange")
use("tpope/vim-abolish") -- Abbreviation, Substitustion, Coercion
use("tpope/vim-commentary")
use("tpope/vim-repeat")
use("tpope/vim-sleuth") -- Adjust indentation automatically
use("tpope/vim-surround")
use("tpope/vim-unimpaired") -- Lots of mappings
-- use({ "rmagatti/auto-session", config = config("auto-session") })
-- Misc
use("dag/vim-fish") -- fish support
use("nvim-lua/plenary.nvim") -- required for some plugins (and testing)
use("junegunn/goyo.vim") -- focus mode
use({
"iamcco/markdown-preview.nvim", -- preview markdown output in browser
opt = true,
ft = { "markdown" },
config = "vim.cmd[[doautocmd BufEnter]]",
run = "cd app && yarn install",
cmd = "MarkdownPreview",
})
end)
|
--[[
Export.lua
@Author : DengSir ([email protected])
@Link : https://dengsir.github.io
]]
local ns = select(2, ...)
local Addon = ns.Addon
local L = ns.L
local AceSerializer = LibStub('AceSerializer-3.0')
local Base64 = LibStub('LibBase64-1.0')
local CRC32 = LibStub('LibCRC32-1.0')
local template = ([[
# %s (Name) : %%s
# %s (Author) : %%s
# %s (Selector) : %%s
# %s (Notes) : %%s
# %s (Script) : #
%%s
]]):format(L['Script name'], L['Script author'], L['Script selector'], L['Script notes'], L['Script'])
function Addon:Export(script)
return template:format(
script:GetName() or '',
script:GetAuthor() or '',
script:GetPlugin():GetPluginTitle(),
(script:GetNotes() or ''):gsub('\n', '\n# '),
Base64.Encode(self:RawExport(script)):gsub('(..?.?.?.?.?.?.?.?.?.?.?.?.?.?.?.?.?.?.?.?.?.?.?.?.?.?.?.?.?.?.?)', function(x)
return '# ' .. x .. '\n'
end)
)
end
function Addon:RawExport(script)
local code = AceSerializer:Serialize({
db = script:GetDB(),
plugin = script:GetPlugin():GetPluginName(),
key = script:GetKey(),
extra = script:GetPlugin():OnExport(script:GetKey()),
})
return CRC32:enc(code) .. code
end
function Addon:Import(code)
local code = code:match('%(Script%) : (.+)')
if not code then
return false, 'Decode failed'
end
code = code:gsub('[# ]', '')
local ok, data = pcall(Base64.Decode, code)
if not ok then
return false, 'Decode failed'
end
local crc, data = data:match('^(%d+)(^.+)$')
if not crc or not data then
return false, 'Decode failed'
end
if CRC32:enc(data) ~= tonumber(crc) then
return false, 'CRC32 error'
end
local ok, data = AceSerializer:Deserialize(data)
if not ok or type(data) ~= 'table' then
return false, 'Deserialize failed'
end
if not data.plugin or not data.key or not data.db then
return false, 'Data error'
end
local plugin = self:GetPlugin(data.plugin)
if not plugin then
return false, 'Script Selector not exists'
end
local script = self:GetClass('Script'):New(data.db, plugin, data.key)
if not script:GetScript() then
return false, 'Build script failed'
end
return true, script, data.extra
end
|
-- Startup sequence
local MOD = {
--LoadIndex = 1,
LoadName = "Startup",
UseOffline = true,
}
MijHUD.LoadModule(MOD)
local BootInterval = 0.125 -- 0.22
local MxColumnWidth = 30
MOD.BootSequence = {
Done = 30,
Snd = {},
Lf = {
Ena = 1,
Dis = 30,
"CPU CHECK",
"MEMORY SET",
"D-BUS CLEAR",
"ROM LOADED",
"STATUS CHK",
"OK"
};
Rt = {
Ena = 7,
Dis = 30,
"CHECKSUMS",
"-ROM F2h-",
"92C2A508",
"133C81F7",
"622094BE",
"63D6C6A9",
"CA8257D2"
};
Mx = {
Ena = 14, Dis = 30,
{"MijHUD v1.792 initializing", false};
{"Primary system startup:", false};
{"\t# Verifying hardware integrity", "[OK]"};
{"\t# Loading initial RAM image", "[OK]"};
{"\t# Loading common runtime code", "[OK]"};
{"\t# Initializing /proc structure", "[OK]"};
{"\t# Mounting default filesystem", "[OK]"};
{"\t# Starting primary services", "[OK]"};
{"Auxiliary system startup:", false};
{"\t# Initializing I/O controller", "[OK]"};
{"\t# Loading ext. device drivers", "[OK]"};
{"\t# Initializing user monitor", "[OK]"};
{"\t# Initializing sensor array", "[OK]"};
{"\t# Loading user configuration", "[OK]"};
{"MijHUD initialization completed", false};
};
}
local function set_sounds(from, to, path)
for i = from, to do
MOD.BootSequence.Snd[i] = path
end
end
set_sounds( 2, 7, Sound("mijhud/boot-1a.mp3"))
set_sounds( 8, 14, Sound("mijhud/boot-1b.mp3"))
set_sounds(18, 23, Sound("mijhud/boot-2a.mp3"))
set_sounds(25, 29, Sound("mijhud/boot-2a.mp3"))
set_sounds(30, 30, Sound("mijhud/boot-2b.mp3"))
local components = {}
local function mx_setmaxlen(nx)
local maxlen = 0
local font = MijHUD.GetFont("HUD_Txt26")
for _, vt in ipairs(MOD.BootSequence.Mx) do
if not vt[2] then continue end
local vtx = scr.TextSize(vt[1], font)
if maxlen < vtx then maxlen = vtx end
end
MOD.BootSequence.Mx.LenX = maxlen + nx
end
local hud_hide = MijHUD.Core.List_HideHUD
function MOD.DrawBaseHUD(item)
if not MijHUD.IsStarting then return end
if hud_hide[item] then return false end
end
function MOD.Initialize()
MijHUD.IsStarting = false
MijHUD.LoadTextures("HUD", {
BootLf = "mijhud/boot_lf.png",
BootRt = "mijhud/boot_rt.png",
BootMx = "mijhud/boot_mx.png",
})
MijHUD.CreateFont("HUD", {
Name = "Txt26",
Font = "OCR A Extended",
Size = 26,
})
timer.Create("MijHUD.Startup", BootInterval, 0, MOD.DoStartup)
local mhud = MijHUD.Basic.UtilsDispLf
An_DeltaX = ScrW()/2 - (mhud.W + 10)
An_DeltaY = ScrH()/2 - (mhud.H + 10)
An_Scale = mhud.H / mhud.W
An_FinalSz = mhud.W
local boot_lf = MijHUD.NewComponent(true)
MOD.StartupDispLf = boot_lf
function boot_lf:OnRender(x,y,w,h)
local dats = MOD.BootSequence.Lf
local mval = MijHUD.IsStarting - dats.Ena
local dval = MijHUD.IsStarting - dats.Dis
if mval < 0 or dval > -1 then return end
local tex = MijHUD.GetTexture("HUD_BootLf")
local font = MijHUD.GetFont("HUD_Txt26")
local col_b = MijHUD.GetColor("Pri_Back")
local col_m = MijHUD.GetColor("Pri_ColA")
scr.DrawTexRect(x, y, w, h, tex, col_b)
for i = 1, math.Clamp(mval, 0, #dats) do
scr.DrawText(x+w+4, y+4+26*(i-1), dats[i], -1, -1, col_m, font)
end
end
boot_lf:SetViewport(50,-40,36,180)
local boot_rt = MijHUD.NewComponent(true)
MOD.StartupDispRt = boot_rt
function boot_rt:OnRender(x,y,w,h)
local dats = MOD.BootSequence.Rt
local mval = MijHUD.IsStarting - dats.Ena
local dval = MijHUD.IsStarting - dats.Dis
if mval < 0 or dval > -1 then return end
local tex = MijHUD.GetTexture("HUD_BootRt")
local font = MijHUD.GetFont("HUD_Txt26")
local col_b = MijHUD.GetColor("Pri_Back")
local col_m = MijHUD.GetColor("Pri_ColA")
scr.DrawTexRect(x, y, w, h, tex, col_b)
for i = 1, math.Clamp(mval, 0, #dats) do
scr.DrawText(x-4, y+4+26*(i-1), dats[i], 1, -1, col_m, font)
end
end
boot_rt:SetViewport(-50,-160,36,210)
local boot_mx = MijHUD.NewComponent(true)
MOD.StartupDispMx = boot_mx
function boot_mx:OnRender(x,y,w,h)
local dats = MOD.BootSequence.Mx
local mval = MijHUD.IsStarting - dats.Ena
local dval = MijHUD.IsStarting - dats.Dis
if mval < 0 or dval > -1 then return end
local tex = MijHUD.GetTexture("HUD_BootMx")
local font = MijHUD.GetFont("HUD_Txt26")
local col_b = MijHUD.GetColor("Pri_Back")
local col_m = MijHUD.GetColor("Pri_ColA")
scr.DrawTexRect(x, y, w, h, tex, col_b)
for i = 1, math.Clamp(mval, 0, #dats) do
local txti, stsi = dats[i][1], dats[i][2]
scr.DrawText(x+w+4, y+4+26*(i-1), txti, -1, -1, col_m, font)
if stsi and i < mval then
local mlen = dats.LenX + 4
scr.DrawText(x+w+mlen, y+4+26*(i-1), stsi, -1, -1, col_m, font)
end
end
end
boot_mx:SetViewport(30,20,36,416)
table.insert(components, boot_lf)
table.insert(components, boot_rt)
table.insert(components, boot_mx)
end
function MOD.ToggleHUD()
---[[
if MijHUD.IsShown or MijHUD.IsStarting then
MijHUD.IsStarting = false
MijHUD.IsShown = false
else
MOD.BeginStartup()
end
return true
--]]
end
function MOD.BeginStartup()
MijHUD.IsStarting = 0
mx_setmaxlen(MxColumnWidth)
end
function MOD.RenderHUD(ofln)
if not (ofln and MijHUD.IsStarting) then return end
for i = 1, #components do
components[i]:CallRender()
end
end
function MOD.Interval(ofln)
if not (ofln and MijHUD.IsStarting) then return end
for i = 1, #components do
components[i]:CallInterval()
end
end
function MOD.DoStartup()
local startval = MijHUD.IsStarting
if not startval then return end
local startval_n = startval + 1
local bootseq = MOD.BootSequence
local sndpath = bootseq.Snd[startval_n]
if sndpath then
LocalPlayer():EmitSound(sndpath)
end
MijHUD.IsStarting = startval_n
if startval_n == bootseq.Done then
MijHUD.IsStarting = false
MijHUD.IsShown = true
end
end
|
ESX = nil
previewPed = nil
isInterfaceOpening = false
isModelLoaded = false
isPlayerReady = false
--[[ NOTE: (on player initialization)
The way es_extended spawns player causes the ped to start a little above ground
and 'fall down'. Since our camera position is based off of ped position,
if we open the ui too early during player's first login, the camera will be pointing 'too high'.
Unfortunately, I did not find a way to detect when that fall is finished, so I decided
to black out the screen and wait a few seconds (if the special animation is disabled).
This ensures the player will not see that fall or the model being changed from es_extended default.
]]--
function PreparePlayer()
if Config.EnterCityAnimation then
if not IsScreenFadedOut() then
DoScreenFadeOut(0)
end
while not isModelLoaded do
Citizen.Wait(0)
end
playerPed = PlayerPedId()
SwitchOutPlayer(playerPed, 0, 1)
while GetPlayerSwitchState() ~= 5 do
Citizen.Wait(0)
end
DoScreenFadeIn(500)
while not IsScreenFadedIn() do
Citizen.Wait(0)
end
SwitchInPlayer(playerPed)
while GetPlayerSwitchState() ~= 12 do
Citizen.Wait(0)
end
else
--TODO: Possibly use a more refined first login detection (event from server) if this does not cut it.
if not IsScreenFadedOut() then
DoScreenFadeOut(0)
end
Citizen.Wait(7500)
DoScreenFadeIn(500)
end
isPlayerReady = true
end
if not Config.ExtendedMode and not Config.StandAlone then
AddEventHandler('esx:loadingScreenOff', function()
PreparePlayer()
end)
else
--[[ TODO: Bring this back if spawnmanager ever gets changed
AddEventHandler('playerSpawned', function()
if not isPlayerReady then
DoScreenFadeOut(0)
end
end)
--]]
Citizen.CreateThread(function()
while GetIsLoadingScreenActive() do
Citizen.Wait(100)
end
PreparePlayer()
end)
end
function IsPlayerFullyLoaded()
return isPlayerReady
end
local initialized = false
local openTabs = {}
local currentTab = nil
local isVisible = false
local isCancelable = true
local shouldPay = false
local playerLoaded = false
local firstSpawn = true
local identityLoaded = false
local preparingSkin = true
local isPlayerNew = false
local currentChar = {}
local oldChar = {}
local oldLoadout = {}
local currentIdentity = nil
local xPlayer = nil
local isOnDuty = false
function SetOnDutyStatus(value)
isOnDuty = value
end
if not Config.StandAlone then
Citizen.CreateThread(function()
while ESX == nil do
TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end)
Citizen.Wait(0)
end
end)
end
function BeginCharacterPreview()
-- Snapshot all changes data (to be reverted if cancelled)
for k, v in pairs(currentChar) do
oldChar[k] = v
end
local playerPed = PlayerPedId()
local playerHeading = GetEntityHeading(playerPed)
previewPed = ClonePed(playerPed, playerHeading, false, true)
SetEntityInvincible(previewPed, true)
FreezePedCameraRotation(previewPed, true)
FreezeEntityPosition(previewPed, true)
PlayIdleAnimation(previewPed)
end
function EndCharacterPreview(save)
-- This applies (or ignores) changes to current player ped based on value of 'save'
if previewPed then
if save then
local newModelHash = GetHashKey('mp_m_freemode_01')
if currentChar.sex == 1 then
newModelHash = GetHashKey('mp_f_freemode_01')
end
-- Replace non-preview player model if gender change was accepted
if GetEntityModel(PlayerPedId()) ~= newModelHash then
LoadModel(newModelHash)
end
ClonePedToTarget(previewPed, PlayerPedId())
else
-- Revert all changes to data variables
for k, v in pairs(oldChar) do
currentChar[k] = v
end
end
ClearAllAnimations(previewPed)
DeleteEntity(previewPed)
end
end
function setVisible(visible)
SetNuiFocus(visible, visible)
SendNUIMessage({
action = 'setVisible',
show = visible
})
isVisible = visible
DisplayRadar(not visible)
end
function ResetAllTabs()
local clothes = nil
for k, v in pairs(openTabs) do
if openTabs[k] == 'apparel' then
clothes = GetClothesData()
end
end
SendNUIMessage({
action = 'enableTabs',
tabs = openTabs,
character = currentChar,
clothes = clothes,
identity = currentIdentity
})
end
function GetLoadout()
local result = {}
if not Config.StandAlone then
local dataLoaded = false
ESX.TriggerServerCallback('esx:getPlayerData', function(data)
if data ~= nil then
result = data.loadout
end
dataLoaded = true
end)
while not dataLoaded do
Citizen.Wait(100)
end
end
return result
end
-- skinchanger/esx_skin replacements
--[[
Unlike skinchanger, this loads only clothes and does not
re-load other parts of your character (that did not change)
--]]
function UpdateClothes(data)
local playerPed = PlayerPedId()
currentChar.sex = data.sex
currentChar.tshirt_1 = data.tshirt_1
currentChar.tshirt_2 = data.tshirt_2
currentChar.torso_1 = data.torso_1
currentChar.torso_2 = data.torso_2
currentChar.decals_1 = data.decals_1
currentChar.decals_2 = data.decals_2
currentChar.arms = data.arms
currentChar.arms_2 = data.arms_2
currentChar.pants_1 = data.pants_1
currentChar.pants_2 = data.pants_2
currentChar.shoes_1 = data.shoes_1
currentChar.shoes_2 = data.shoes_2
currentChar.mask_1 = data.mask_1
currentChar.mask_2 = data.mask_2
currentChar.bproof_1 = data.bproof_1
currentChar.bproof_2 = data.bproof_2
currentChar.neckarm_1 = data.chain_1 or data.neckarm_1
currentChar.neckarm_2 = data.chain_2 or data.neckarm_2
currentChar.helmet_1 = data.helmet_1
currentChar.helmet_2 = data.helmet_2
currentChar.glasses_1 = data.glasses_1
currentChar.glasses_2 = data.glasses_2
currentChar.lefthand_1 = data.watches_1 or data.lefthand_1
currentChar.lefthand_2 = data.watches_2 or data.lefthand_2
currentChar.righthand_1 = data.bracelets_1 or data.righthand_1
currentChar.righthand_2 = data.bracelets_2 or data.righthand_2
currentChar.bags_1 = data.bags_1
currentChar.bags_2 = data.bags_2
currentChar.ears_1 = data.ears_1
currentChar.ears_2 = data.ears_2
SetPedComponentVariation(playerPed, 8, currentChar.tshirt_1, currentChar.tshirt_2, 2)
SetPedComponentVariation(playerPed, 11, currentChar.torso_1, currentChar.torso_2, 2)
SetPedComponentVariation(playerPed, 10, currentChar.decals_1, currentChar.decals_2, 2)
SetPedComponentVariation(playerPed, 3, currentChar.arms, currentChar.arms_2, 2)
SetPedComponentVariation(playerPed, 4, currentChar.pants_1, currentChar.pants_2, 2)
SetPedComponentVariation(playerPed, 6, currentChar.shoes_1, currentChar.shoes_2, 2)
SetPedComponentVariation(playerPed, 1, currentChar.mask_1, currentChar.mask_2, 2)
SetPedComponentVariation(playerPed, 9, currentChar.bproof_1, currentChar.bproof_2, 2)
SetPedComponentVariation(playerPed, 7, currentChar.neckarm_1, currentChar.neckarm_2, 2)
SetPedComponentVariation(playerPed, 5, currentChar.bags_1, currentChar.bags_2, 2)
if currentChar.helmet_1 == -1 then
ClearPedProp(playerPed, 0)
else
SetPedPropIndex(playerPed, 0, currentChar.helmet_1, currentChar.helmet_2, 2)
end
if currentChar.glasses_1 == -1 then
ClearPedProp(playerPed, 1)
else
SetPedPropIndex(playerPed, 1, currentChar.glasses_1, currentChar.glasses_2, 2)
end
if currentChar.lefthand_1 == -1 then
ClearPedProp(playerPed, 6)
else
SetPedPropIndex(playerPed, 6, currentChar.lefthand_1, currentChar.lefthand_2, 2)
end
if currentChar.righthand_1 == -1 then
ClearPedProp(playerPed, 7)
else
SetPedPropIndex(playerPed, 7, currentChar.righthand_1, currentChar.righthand_2, 2)
end
if currentChar.ears_1 == -1 then
ClearPedProp(playerPed, 2)
else
SetPedPropIndex(playerPed, 2, currentChar.ears_1, currentChar.ears_2, 2)
end
end
RegisterNetEvent('skinchanger:loadClothes')
AddEventHandler('skinchanger:loadClothes', function(playerSkin, clothesSkin)
UpdateClothes(clothesSkin)
end)
RegisterNetEvent('skinchanger:loadSkin')
AddEventHandler('skinchanger:loadSkin', function(skin, cb)
local newChar = GetDefaultCharacter(skin['sex'] == 0)
-- corrections for changed data format and names
local changed = {}
changed.chain_1 = 'neckarm_1'
changed.chain_2 = 'neckarm_2'
changed.watches_1 = 'lefthand_1'
changed.watches_2 = 'lefthand_2'
changed.bracelets_1 = 'righthand_1'
changed.bracelets_2 = 'righthand_2'
for k, v in pairs(skin) do
if k ~= 'face' and k ~= 'skin' then
if changed[k] == nil then
newChar[k] = v
else
newChar[changed[k]] = v
end
end
end
oldLoadout = GetLoadout()
LoadCharacter(newChar, cb)
end)
AddEventHandler('skinchanger:loadDefaultModel', function(loadMale, cb)
local defaultChar = GetDefaultCharacter(loadMale)
oldLoadout = GetLoadout()
LoadCharacter(defaultChar, cb)
end)
AddEventHandler('skinchanger:change', function(key, val)
--[[
IMPORTANT: This is provided only for compatibility reasons.
It's VERY inefficient as it reloads entire character for a single change.
DON'T USE IT.
]]
local changed = {}
changed.chain_1 = 'neckarm_1'
changed.chain_2 = 'neckarm_2'
changed.watches_1 = 'lefthand_1'
changed.watches_2 = 'lefthand_2'
changed.bracelets_1 = 'righthand_1'
changed.bracelets_2 = 'righthand_2'
if key ~= 'face' and key ~= 'skin' then
if changed[key] == nil then
currentChar[key] = val
else
currentChar[changed[key]] = val
end
-- TODO: (!) Rewrite this to only load changed part.
oldLoadout = GetLoadout()
LoadCharacter(currentChar, cb)
end
end)
AddEventHandler('skinchanger:getSkin', function(cb)
cb(currentChar)
end)
AddEventHandler('skinchanger:modelLoaded', function()
-- empty for now, no idea what it's purpose really is
end)
AddEventHandler('cui_character:close', function(save, tabs)
if (not save) and (not isCancelable) then
return
end
if save and shouldPay then
ESX.TriggerServerCallback('cui_character:paying', function(hasPaid)
save = hasPaid
end, tabs)
end
-- Saving and discarding changes
if save then
TriggerServerEvent('cui_character:save', currentChar)
end
EndCharacterPreview(save)
-- Release character models and ui textures
SetModelAsNoLongerNeeded(GetHashKey('mp_m_freemode_01'))
SetModelAsNoLongerNeeded(GetHashKey('mp_f_freemode_01'))
SetStreamedTextureDictAsNoLongerNeeded('mparrow')
SetStreamedTextureDictAsNoLongerNeeded('mpleaderboard')
if identityLoaded == true then
SetStreamedTextureDictAsNoLongerNeeded('pause_menu_pages_char_mom_dad')
SetStreamedTextureDictAsNoLongerNeeded('char_creator_portraits')
identityLoaded = false
end
Camera.Deactivate()
isCancelable = true
shouldPay = false
setVisible(false)
for i = 0, #openTabs do
openTabs[i] = nil
end
end)
RegisterNetEvent('cui_character:open')
AddEventHandler('cui_character:open', function(tabs, cancelable, non_free)
if isOnDuty then
AddTextEntry('notifyOnDuty', 'You cannot access this command while ~r~on duty~s~.')
BeginTextCommandThefeedPost('notifyOnDuty')
ThefeedNextPostBackgroundColor(140)
EndTextCommandThefeedPostTicker(false, false)
isInterfaceOpening = false
return
end
shouldPay = non_free
if isInterfaceOpening then
return
end
isInterfaceOpening = true
if cancelable ~= nil then
isCancelable = cancelable
end
while (not initialized) or (not isModelLoaded) or (not isPlayerReady) do
Citizen.Wait(100)
end
if not Config.StandAlone then
oldLoadout = GetLoadout()
end
-- Request character models and ui textures
local maleModelHash = GetHashKey('mp_m_freemode_01')
local femaleModelHash = GetHashKey('mp_f_freemode_01')
RequestModel(maleModelHash)
RequestModel(femaleModelHash)
RequestStreamedTextureDict('mparrow')
RequestStreamedTextureDict('mpleaderboard')
while not HasStreamedTextureDictLoaded('mparrow') or
not HasStreamedTextureDictLoaded('mpleaderboard') or
not HasModelLoaded(maleModelHash) or
not HasModelLoaded(femaleModelHash) do
Wait(100)
end
BeginCharacterPreview()
SendNUIMessage({
action = 'clearAllTabs'
})
local firstTabName = ''
local clothes = nil
for i = 0, #openTabs do
openTabs[i] = nil
end
for k, v in pairs(tabs) do
if k == 1 then
firstTabName = v
end
local tabName = tabs[k]
table.insert(openTabs, tabName)
if tabName == 'identity' then
if not identityLoaded then
RequestStreamedTextureDict('pause_menu_pages_char_mom_dad')
RequestStreamedTextureDict('char_creator_portraits')
while not HasStreamedTextureDictLoaded('pause_menu_pages_char_mom_dad') or not HasStreamedTextureDictLoaded('char_creator_portraits') do
Wait(100)
end
identityLoaded = true
end
elseif tabName == 'apparel' then
-- load clothes data from natives here
clothes = GetClothesData()
end
end
SendNUIMessage({
action = 'enableTabs',
tabs = tabs,
character = currentChar,
clothes = clothes,
identity = currentIdentity
})
SendNUIMessage({
action = 'activateTab',
tab = firstTabName
})
Camera.Activate()
SendNUIMessage({
action = 'refreshViewButtons',
view = Camera.currentView
})
SendNUIMessage({
action = 'setCancelable',
value = isCancelable
})
setVisible(true)
isInterfaceOpening = false
end)
AddEventHandler('cui_character:playerPrepared', function(newplayer)
if newplayer and (not Config.EnableESXIdentityIntegration) then
TriggerEvent('cui_character:open', { 'identity', 'features', 'style', 'apparel' }, false, false)
end
end)
AddEventHandler('cui_character:getCurrentClothes', function(cb)
local result = {}
result.sex = currentChar.sex
result.tshirt_1 = currentChar.tshirt_1
result.tshirt_2 = currentChar.tshirt_2
result.torso_1 = currentChar.torso_1
result.torso_2 = currentChar.torso_2
result.decals_1 = currentChar.decals_1
result.decals_2 = currentChar.decals_2
result.arms = currentChar.arms
result.arms_2 = currentChar.arms_2
result.pants_1 = currentChar.pants_1
result.pants_2 = currentChar.pants_2
result.shoes_1 = currentChar.shoes_1
result.shoes_2 = currentChar.shoes_2
result.mask_1 = currentChar.mask_1
result.mask_2 = currentChar.mask_2
result.bproof_1 = currentChar.bproof_1
result.bproof_2 = currentChar.bproof_2
result.neckarm_1 = currentChar.chain_1 or currentChar.neckarm_1
result.neckarm_2 = currentChar.chain_2 or currentChar.neckarm_2
result.helmet_1 = currentChar.helmet_1
result.helmet_2 = currentChar.helmet_2
result.glasses_1 = currentChar.glasses_1
result.glasses_2 = currentChar.glasses_2
result.lefthand_1 = currentChar.watches_1 or currentChar.lefthand_1
result.lefthand_2 = currentChar.watches_2 or currentChar.lefthand_2
result.righthand_1 = currentChar.bracelets_1 or currentChar.righthand_1
result.righthand_2 = currentChar.bracelets_2 or currentChar.righthand_2
result.bags_1 = currentChar.bags_1
result.bags_2 = currentChar.bags_2
result.ears_1 = currentChar.ears_1
result.ears_2 = currentChar.ears_2
cb(result)
end)
AddEventHandler('cui_character:updateClothes', function(data, save, updateOld, callback)
UpdateClothes(data)
if save then
TriggerServerEvent('cui_character:save', currentChar)
end
if callback then
callback()
end
end)
if not Config.StandAlone then
RegisterNetEvent('esx:playerLoaded')
AddEventHandler('esx:playerLoaded', function(player)
xPlayer = xPlayer
playerLoaded = true
end)
AddEventHandler('esx:onPlayerSpawn', function()
Citizen.CreateThread(function()
while not playerLoaded do
Citizen.Wait(100)
end
if firstSpawn then
oldLoadout = GetLoadout()
ESX.TriggerServerCallback('esx_skin:getPlayerSkin', function(skin)
if skin ~= nil then
LoadCharacter(skin)
else
LoadCharacter(GetDefaultCharacter(true))
isPlayerNew = true
end
preparingSkin = false
end)
if Config.EnableESXIdentityIntegration then
local preparingIndentity = true
ESX.TriggerServerCallback('cui_character:getIdentity', function(identity)
if identity ~= nil then
LoadIdentity(identity)
end
preparingIndentity = false
end)
while preparingIdentity do
Citizen.Wait(100)
end
end
end
end)
end)
-- StandAlone Deployment
else
AddEventHandler('onClientResourceStart', function(resource)
if resource == GetCurrentResourceName() then
Citizen.CreateThread(function()
Citizen.Wait(250)
TriggerServerEvent('cui_character:requestPlayerData')
end)
end
end)
RegisterNetEvent('cui_character:recievePlayerData')
AddEventHandler('cui_character:recievePlayerData', function(playerData)
isPlayerNew = playerData.newPlayer
if not isPlayerNew then
LoadCharacter(playerData.skin)
else
LoadCharacter(GetDefaultCharacter(true))
end
preparingSkin = false
playerLoaded = true
ShutdownLoadingScreen()
ShutdownLoadingScreenNui()
end)
end
Citizen.CreateThread(function()
while preparingSkin do
Citizen.Wait(100)
end
TriggerEvent('cui_character:playerPrepared', isPlayerNew)
firstSpawn = false
while not initialized do
SendNUIMessage({
action = 'loadInitData',
hair = GetColorData(GetHairColors(), true),
lipstick = GetColorData(GetLipstickColors(), false),
facepaint = GetColorData(GetFacepaintColors(), false),
blusher = GetColorData(GetBlusherColors(), false),
naturaleyecolors = Config.UseNaturalEyeColors,
-- esx identity integration
esxidentity = Config.EnableESXIdentityIntegration,
identitylimits = {
namemax = Config.MaxNameLength,
heightmin = Config.MinHeight,
heightmax = Config.MaxHeight,
yearmin = Config.LowestYear,
yearmax = Config.HighestYear
},
})
initialized = true
Citizen.Wait(100)
end
end)
RegisterNUICallback('setCameraView', function(data, cb)
Camera.SetView(data['view'])
end)
RegisterNUICallback('updateCameraRotation', function(data, cb)
Camera.mouseX = tonumber(data['x'])
Camera.mouseY = tonumber(data['y'])
Camera.updateRot = true
end)
RegisterNUICallback('updateCameraZoom', function(data, cb)
Camera.radius = Camera.radius + (tonumber(data['zoom']))
Camera.updateZoom = true
end)
RegisterNUICallback('playSound', function(data, cb)
local sound = data['sound']
if sound == 'tabchange' then
PlaySoundFrontend(-1, 'Continue_Appears', 'DLC_HEIST_PLANNING_BOARD_SOUNDS', 1)
elseif sound == 'mouseover' then
PlaySoundFrontend(-1, 'Faster_Click', 'RESPAWN_ONLINE_SOUNDSET', 1)
elseif sound == 'panelbuttonclick' then
PlaySoundFrontend(-1, 'Reset_Prop_Position', 'DLC_Dmod_Prop_Editor_Sounds', 0)
elseif sound == 'optionchange' then
PlaySoundFrontend(-1, 'HACKING_MOVE_CURSOR', 0, 1)
end
end)
RegisterNUICallback('setCurrentTab', function(data, cb)
currentTab = data['tab']
end)
RegisterNUICallback('close', function(data, cb)
TriggerEvent('cui_character:close', data['save'], data['tabs'])
end)
RegisterNUICallback('updateMakeupType', function(data, cb)
--[[
NOTE: This is a pure control variable that does not call any natives.
It only modifies which options are going to be visible in the ui.
Since face paint replaces blusher and eye makeup,
we need to save in the database which type the player selected:
0 - 'None',
1 - 'Eye Makeup',
2 - 'Face Paint'
]]--
local type = tonumber(data['type'])
currentChar['makeup_type'] = type
SendNUIMessage({
action = 'refreshMakeup',
character = currentChar
})
end)
RegisterNUICallback('syncFacepaintOpacity', function(data, cb)
local prevtype = data['prevtype']
local currenttype = data['currenttype']
local prevopacity = prevtype .. '_2'
local currentopacity = currenttype .. '_2'
currentChar[currentopacity] = currentChar[prevopacity]
end)
RegisterNUICallback('clearMakeup', function(data, cb)
if data['clearopacity'] then
currentChar['makeup_2'] = 100
if data['clearblusher'] then
currentChar['blush_2'] = 100
end
end
currentChar['makeup_1'] = 255
currentChar['makeup_3'] = 255
currentChar['makeup_4'] = 255
SetPedHeadOverlay(previewPed, 4, currentChar.makeup_1, currentChar.makeup_2 / 100 + 0.0) -- Eye Makeup
SetPedHeadOverlayColor(previewPed, 4, 0, currentChar.makeup_3, currentChar.makeup_4) -- Eye Makeup Color
if data['clearblusher'] then
currentChar['blush_1'] = 255
currentChar['blush_3'] = 0
SetPedHeadOverlay(previewPed, 5, currentChar.blush_1, currentChar.blush_2 / 100 + 0.0) -- Blusher
SetPedHeadOverlayColor(previewPed, 5, 2, currentChar.blush_3, 255) -- Blusher Color
end
end)
RegisterNUICallback('updateGender', function(data, cb)
currentChar.sex = tonumber(data['value'])
local modelHash = nil
local isMale = true
if currentChar.sex == 0 then
modelHash = GetHashKey('mp_m_freemode_01')
elseif currentChar.sex == 1 then
isMale = false
modelHash = GetHashKey('mp_f_freemode_01')
else
return
end
-- NOTE: There seems to be no native for model change that preserves existing coords
local previewCoords = GetEntityCoords(previewPed)
DeleteEntity(previewPed)
previewPed = CreatePed(4, modelHash, 397.92, -1004.4, -99.0, false, true)
local defaultChar = GetDefaultCharacter(isMale)
ApplySkinToPed(previewPed, defaultChar)
for k, v in pairs(defaultChar) do
currentChar[k] = v
end
ResetAllTabs()
for height = 1, 1000, 50 do
SetPedCoordsKeepVehicle(previewPed, previewCoords.x, previewCoords.y, height + 0.0)
local foundGround, zPos = GetGroundZFor_3dCoord(previewCoords.x, previewCoords.y, 2500.0)
if foundGround then
SetPedCoordsKeepVehicle(previewPed, previewCoords.x, previewCoords.y, zPos)
end
end
PlayIdleAnimation(previewPed)
end)
RegisterNUICallback('updateHeadBlend', function(data, cb)
local key = data['key']
local value = tonumber(data['value'])
currentChar[key] = value
local weightFace = currentChar.face_md_weight / 100 + 0.0
local weightSkin = currentChar.skin_md_weight / 100 + 0.0
SetPedHeadBlendData(previewPed, currentChar.mom, currentChar.dad, 0, currentChar.mom, currentChar.dad, 0, weightFace, weightSkin, 0.0, false)
end)
RegisterNUICallback('updateFaceFeature', function(data, cb)
local key = data['key']
local value = tonumber(data['value'])
local index = tonumber(data['index'])
currentChar[key] = value
SetPedFaceFeature(previewPed, index, (currentChar[key] / 100) + 0.0)
end)
RegisterNUICallback('updateEyeColor', function(data, cb)
local value = tonumber(data['value'])
currentChar['eye_color'] = value
SetPedEyeColor(previewPed, currentChar.eye_color)
end)
RegisterNUICallback('updateHairColor', function(data, cb)
local key = data['key']
local value = tonumber(data['value'])
local highlight = data['highlight']
currentChar[key] = value
if highlight then
SetPedHairColor(previewPed, currentChar['hair_color_1'], currentChar[key])
else
SetPedHairColor(previewPed, currentChar[key], currentChar['hair_color_2'])
end
end)
RegisterNUICallback('updateHeadOverlay', function(data, cb)
local key = data['key']
local keyPaired = data['keyPaired']
local value = tonumber(data['value'])
local index = tonumber(data['index'])
local isOpacity = (data['isOpacity'])
currentChar[key] = value
if isOpacity then
SetPedHeadOverlay(previewPed, index, currentChar[keyPaired], currentChar[key] / 100 + 0.0)
else
SetPedHeadOverlay(previewPed, index, currentChar[key], currentChar[keyPaired] / 100 + 0.0)
end
end)
RegisterNUICallback('updateHeadOverlayExtra', function(data, cb)
local key = data['key']
local keyPaired = data['keyPaired']
local value = tonumber(data['value'])
local index = tonumber(data['index'])
local keyExtra = data['keyExtra']
local valueExtra = tonumber(data['valueExtra'])
local indexExtra = tonumber(data['indexExtra'])
local isOpacity = (data['isOpacity'])
currentChar[key] = value
if isOpacity then
currentChar[keyExtra] = value
SetPedHeadOverlay(previewPed, index, currentChar[keyPaired], currentChar[key] / 100 + 0.0)
SetPedHeadOverlay(previewPed, indexExtra, valueExtra, currentChar[key] / 100 + 0.0)
else
currentChar[keyExtra] = valueExtra
SetPedHeadOverlay(previewPed, index, currentChar[key], currentChar[keyPaired] / 100 + 0.0)
SetPedHeadOverlay(previewPed, indexExtra, currentChar[keyExtra], currentChar[keyPaired] / 100 + 0.0)
end
end)
RegisterNUICallback('updateOverlayColor', function(data, cb)
local key = data['key']
local value = tonumber(data['value'])
local index = tonumber(data['index'])
local colortype = tonumber(data['colortype'])
currentChar[key] = value
SetPedHeadOverlayColor(previewPed, index, colortype, currentChar[key])
end)
RegisterNUICallback('updateComponent', function(data, cb)
local drawableKey = data['drawable']
local drawableValue = tonumber(data['dvalue'])
local textureKey = data['texture']
local textureValue = tonumber(data['tvalue'])
local index = tonumber(data['index'])
currentChar[drawableKey] = drawableValue
currentChar[textureKey] = textureValue
SetPedComponentVariation(previewPed, index, currentChar[drawableKey], currentChar[textureKey], 2)
end)
RegisterNUICallback('updateApparelComponent', function(data, cb)
local drawableKey = data['drwkey']
local textureKey = data['texkey']
local component = tonumber(data['cmpid'])
currentChar[drawableKey] = tonumber(data['drwval'])
currentChar[textureKey] = tonumber(data['texval'])
SetPedComponentVariation(previewPed, component, currentChar[drawableKey], currentChar[textureKey], 2)
-- Some clothes have 'forced components' that change torso and other parts.
-- adapted from: https://gist.github.com/root-cause/3b80234367b0c856d60bf5cb4b826f86
local hash = GetHashNameForComponent(previewPed, component, currentChar[drawableKey], currentChar[textureKey])
--print('main component hash ' .. hash)
local fcDrawable, fcTexture, fcType = -1, -1, -1
local fcCount = GetShopPedApparelForcedComponentCount(hash) - 1
--print('found ' .. fcCount + 1 .. ' forced components')
for fcId = 0, fcCount do
local fcNameHash, fcEnumVal, f5, f7, f8 = -1, -1, -1, -1, -1
fcNameHash, fcEnumVal, fcType = GetForcedComponent(hash, fcId)
--print('forced component [' .. fcId .. ']: nameHash: ' .. fcNameHash .. ', enumVal: ' .. fcEnumVal .. ', type: ' .. fcType--[[.. ', field5: ' .. f5 .. ', field7: ' .. f7 .. ', field8: ' .. f8 --]])
-- only set torsos, using other types here seems to glitch out
if fcType == 3 then
if (fcNameHash == 0) or (fcNameHash == GetHashKey('0')) then
fcDrawable = fcEnumVal
fcTexture = 0
else
fcType, fcDrawable, fcTexture = GetComponentDataFromHash(fcNameHash)
end
-- Apply component to ped, save it in current character data
if IsPedComponentVariationValid(previewPed, fcType, fcDrawable, fcTexture) then
currentChar['arms'] = fcDrawable
currentChar['arms_2'] = fcTexture
SetPedComponentVariation(previewPed, fcType, fcDrawable, fcTexture, 2)
end
end
end
-- Forced components do not pick proper torso for 'None' variant, need manual correction
if GetEntityModel(previewPed) == GetHashKey('mp_f_freemode_01') then
if (GetPedDrawableVariation(previewPed, 11) == 15) and (GetPedTextureVariation(previewPed, 11) == 16) then
currentChar['arms'] = 15
currentChar['arms_2'] = 0
SetPedComponentVariation(previewPed, 3, 15, 0, 2);
end
elseif GetEntityModel(previewPed) == GetHashKey('mp_m_freemode_01') then
if (GetPedDrawableVariation(previewPed, 11) == 15) and (GetPedTextureVariation(previewPed, 11) == 0) then
currentChar['arms'] = 15
currentChar['arms_2'] = 0
SetPedComponentVariation(previewPed, 3, 15, 0, 2);
end
end
end)
RegisterNUICallback('updateApparelProp', function(data, cb)
local drawableKey = data['drwkey']
local textureKey = data['texkey']
local prop = tonumber(data['propid'])
currentChar[drawableKey] = tonumber(data['drwval'])
currentChar[textureKey] = tonumber(data['texval'])
if currentChar[drawableKey] == -1 then
ClearPedProp(previewPed, prop)
else
SetPedPropIndex(previewPed, prop, currentChar[drawableKey], currentChar[textureKey], false)
end
end)
function GetHairColors()
local result = {}
local i = 0
if Config.UseNaturalHairColors then
for i = 0, 18 do
table.insert(result, i)
end
table.insert(result, 24)
table.insert(result, 26)
table.insert(result, 27)
table.insert(result, 28)
for i = 55, 60 do
table.insert(result, i)
end
else
for i = 0, 60 do
table.insert(result, i)
end
end
return result
end
function GetLipstickColors()
local result = {}
local i = 0
for i = 0, 31 do
table.insert(result, i)
end
table.insert(result, 48)
table.insert(result, 49)
table.insert(result, 55)
table.insert(result, 56)
table.insert(result, 62)
table.insert(result, 63)
return result
end
function GetFacepaintColors()
local result = {}
local i = 0
for i = 0, 63 do
table.insert(result, i)
end
return result
end
function GetBlusherColors()
local result = {}
local i = 0
for i = 0, 22 do
table.insert(result, i)
end
table.insert(result, 25)
table.insert(result, 26)
table.insert(result, 51)
table.insert(result, 60)
return result
end
function RGBToHexCode(r, g, b)
local result = string.format('#%x', ((r << 16) | (g << 8) | b))
return result
end
function GetColorData(indexes, isHair)
local result = {}
local GetRgbColor = nil
if isHair then
GetRgbColor = function(index)
return GetPedHairRgbColor(index)
end
else
GetRgbColor = function(index)
return GetPedMakeupRgbColor(index)
end
end
for i, index in ipairs(indexes) do
local r, g, b = GetRgbColor(index)
local hex = RGBToHexCode(r, g, b)
table.insert(result, { index = index, hex = hex })
end
return result
end
function GetComponentDataFromHash(hash)
local blob = string.rep('\0\0\0\0\0\0\0\0', 9 + 16)
if not Citizen.InvokeNative(0x74C0E2A57EC66760, hash, blob) then
return nil
end
-- adapted from: https://gist.github.com/root-cause/3b80234367b0c856d60bf5cb4b826f86
local lockHash = string.unpack('<i4', blob, 1)
local hash = string.unpack('<i4', blob, 9)
local locate = string.unpack('<i4', blob, 17)
local drawable = string.unpack('<i4', blob, 25)
local texture = string.unpack('<i4', blob, 33)
local field5 = string.unpack('<i4', blob, 41)
local component = string.unpack('<i4', blob, 49)
local field7 = string.unpack('<i4', blob, 57)
local field8 = string.unpack('<i4', blob, 65)
local gxt = string.unpack('c64', blob, 73)
return component, drawable, texture, gxt, field5, field7, field8
end
function GetPropDataFromHash(hash)
local blob = string.rep('\0\0\0\0\0\0\0\0', 9 + 16)
if not Citizen.InvokeNative(0x5D5CAFF661DDF6FC, hash, blob) then
return nil
end
-- adapted from: https://gist.github.com/root-cause/3b80234367b0c856d60bf5cb4b826f86
local lockHash = string.unpack('<i4', blob, 1)
local hash = string.unpack('<i4', blob, 9)
local locate = string.unpack('<i4', blob, 17)
local drawable = string.unpack('<i4', blob, 25)
local texture = string.unpack('<i4', blob, 33)
local field5 = string.unpack('<i4', blob, 41)
local prop = string.unpack('<i4', blob, 49)
local field7 = string.unpack('<i4', blob, 57)
local field8 = string.unpack('<i4', blob, 65)
local gxt = string.unpack('c64', blob, 73)
return prop, drawable, texture, gxt, field5, field7, field8
end
function GetComponentsData(id)
local result = {}
local componentBlacklist = nil
if blacklist ~= nil then
if GetEntityModel(previewPed) == GetHashKey('mp_m_freemode_01') then
componentBlacklist = blacklist.components.male
elseif GetEntityModel(previewPed) == GetHashKey('mp_f_freemode_01') then
componentBlacklist = blacklist.components.female
end
end
local drawableCount = GetNumberOfPedDrawableVariations(previewPed, id) - 1
for drawable = 0, drawableCount do
local textureCount = GetNumberOfPedTextureVariations(previewPed, id, drawable) - 1
for texture = 0, textureCount do
local hash = GetHashNameForComponent(previewPed, id, drawable, texture)
if hash ~= 0 then
local component, drawable, texture, gxt = GetComponentDataFromHash(hash)
-- only named components
if gxt ~= '' then
label = GetLabelText(gxt)
if label ~= 'NULL' then
local blacklisted = false
if componentBlacklist ~= nil then
if componentBlacklist[component] ~= nil then
if componentBlacklist[component][drawable] ~= nil then
if componentBlacklist[component][drawable][texture] ~= nil then
blacklisted = true
end
end
end
end
if not blacklisted then
table.insert(result, {
name = label,
component = component,
drawable = drawable,
texture = texture
})
end
end
end
end
end
end
return result
end
function GetPropsData(id)
local result = {}
local propBlacklist = nil
if blacklist ~= nil then
if GetEntityModel(previewPed) == GetHashKey('mp_m_freemode_01') then
propBlacklist = blacklist.props.male
elseif GetEntityModel(previewPed) == GetHashKey('mp_f_freemode_01') then
propBlacklist = blacklist.props.female
end
end
local drawableCount = GetNumberOfPedPropDrawableVariations(previewPed, id) - 1
for drawable = 0, drawableCount do
local textureCount = GetNumberOfPedPropTextureVariations(previewPed, id, drawable) - 1
for texture = 0, textureCount do
local hash = GetHashNameForProp(previewPed, id, drawable, texture)
if hash ~= 0 then
local prop, drawable, texture, gxt = GetPropDataFromHash(hash)
-- only named props
if gxt ~= '' then
label = GetLabelText(gxt)
if label ~= 'NULL' then
local blacklisted = false
if propBlacklist ~= nil then
if propBlacklist[prop] ~= nil then
if propBlacklist[prop][drawable] ~= nil then
if propBlacklist[prop][drawable][texture] ~= nil then
blacklisted = true
end
end
end
end
if not blacklisted then
table.insert(result, {
name = label,
prop = prop,
drawable = drawable,
texture = texture
})
end
end
end
end
end
end
return result
end
function GetClothesData()
local result = {
topsover = {},
topsunder = {},
pants = {},
shoes = {},
bags = {},
masks = {},
neckarms = {},
hats = {},
ears = {},
glasses = {},
lefthands = {},
righthands = {},
}
result.topsover = GetComponentsData(11)
result.topsunder = GetComponentsData(8)
result.pants = GetComponentsData(4)
result.shoes = GetComponentsData(6)
-- result.bags = GetComponentsData(5) -- there seems to be no named components in this category
result.masks = GetComponentsData(1)
result.neckarms = GetComponentsData(7) -- chains/ties/suspenders/bangles
result.hats = GetPropsData(0)
result.ears = GetPropsData(2)
result.glasses = GetPropsData(1)
result.lefthands = GetPropsData(6)
result.righthands = GetPropsData(7)
--[[
unused components:
face (0), torso/arms (3), parachute/bag (5), bulletproof vest (9), badges (10)
unused props:
mouth (3), left hand (4), righ thand (5), left wrist (6), right wrist (7), hip (8),
left foot(9), right foot (10)
]]
return result
end
function GetDefaultCharacter(isMale)
local result = {
sex = 1,
mom = 21,
dad = 0,
face_md_weight = 50,
skin_md_weight = 50,
nose_1 = 0,
nose_2 = 0,
nose_3 = 0,
nose_4 = 0,
nose_5 = 0,
nose_6 = 0,
cheeks_1 = 0,
cheeks_2 = 0,
cheeks_3 = 0,
lip_thickness = 0,
jaw_1 = 0,
jaw_2 = 0,
chin_1 = 0,
chin_2 = 0,
chin_3 = 0,
chin_4 = 0,
neck_thickness = 0,
hair_1 = 0,
hair_2 = 0,
hair_color_1 = 0,
hair_color_2 = 0,
tshirt_1 = 0,
tshirt_2 = 0,
torso_1 = 0,
torso_2 = 0,
decals_1 = 0,
decals_2 = 0,
arms = 15,
arms_2 = 0,
pants_1 = 0,
pants_2 = 0,
shoes_1 = 0,
shoes_2 = 0,
mask_1 = 0,
mask_2 = 0,
bproof_1 = 0,
bproof_2 = 0,
neckarm_1 = 0,
neckarm_2 = 0,
helmet_1 = -1,
helmet_2 = 0,
glasses_1 = -1,
glasses_2 = 0,
lefthand_1 = -1,
lefthand_2 = 0,
righthand_1 = -1,
righthand_2 = 0,
bags_1 = 0,
bags_2 = 0,
eye_color = 0,
eye_squint = 0,
eyebrows_2 = 100,
eyebrows_1 = 0,
eyebrows_3 = 0,
eyebrows_4 = 0,
eyebrows_5 = 0,
eyebrows_6 = 0,
makeup_type = 0,
makeup_1 = 255,
makeup_2 = 100,
makeup_3 = 255,
makeup_4 = 255,
lipstick_1 = 255,
lipstick_2 = 100,
lipstick_3 = 0,
lipstick_4 = 0,
ears_1 = -1,
ears_2 = 0,
chest_1 = 255,
chest_2 = 100,
chest_3 = 0,
chest_4 = 0,
bodyb_1 = 255,
bodyb_2 = 100,
bodyb_3 = 255,
bodyb_4 = 100,
age_1 = 255,
age_2 = 100,
blemishes_1 = 255,
blemishes_2 = 100,
blush_1 = 255,
blush_2 = 100,
blush_3 = 0,
complexion_1 = 255,
complexion_2 = 100,
sun_1 = 255,
sun_2 = 100,
moles_1 = 255,
moles_2 = 100,
beard_1 = 255,
beard_2 = 100,
beard_3 = 0,
beard_4 = 0
}
if isMale then
result['sex'] = 0
result['torso_1'] = 15
result['tshirt_1'] = 15
result['pants_1'] = 61
result['shoes_1'] = 34
else
result['torso_1'] = 18
result['tshirt_1'] = 2
result['pants_1'] = 19
result['shoes_1'] = 35
end
return result
end
function LoadModel(hash)
isModelLoaded = false
local playerPed = PlayerPedId()
SetEntityInvincible(playerPed, true)
if IsModelInCdimage(hash) and IsModelValid(hash) then
RequestModel(hash)
while not HasModelLoaded(hash) do
Citizen.Wait(0)
end
SetPlayerModel(PlayerId(), hash)
FreezePedCameraRotation(playerPed, true)
end
SetEntityInvincible(playerPed, false)
isModelLoaded = true
end
function PlayIdleAnimation(ped)
local animDict = nil
if GetEntityModel(ped) == GetHashKey('mp_m_freemode_01') then
animDict = 'anim@heists@heist_corona@team_idles@male_c'
elseif GetEntityModel(ped) == GetHashKey('mp_f_freemode_01') then
animDict = 'anim@heists@heist_corona@team_idles@female_a'
else
return
end
while not HasAnimDictLoaded(animDict) do
RequestAnimDict(animDict)
Wait(100)
end
ClearPedTasksImmediately(ped)
TaskPlayAnim(ped, animDict, 'idle', 1.0, 1.0, -1, 1, 1, 0, 0, 0)
end
function ClearAllAnimations(ped)
ClearPedTasksImmediately(ped)
if HasAnimDictLoaded('anim@heists@heist_corona@team_idles@female_a') then
RemoveAnimDict('anim@heists@heist_corona@team_idles@female_a')
end
if HasAnimDictLoaded('anim@heists@heist_corona@team_idles@male_c') then
RemoveAnimDict('anim@heists@heist_corona@team_idles@male_c')
end
end
-- Loading character data
function ApplySkinToPed(ped, skin)
-- Face Blend
local weightFace = skin.face_md_weight / 100 + 0.0
local weightSkin = skin.skin_md_weight / 100 + 0.0
SetPedHeadBlendData(ped, skin.mom, skin.dad, 0, skin.mom, skin.dad, 0, weightFace, weightSkin, 0.0, false)
-- Facial Features
SetPedFaceFeature(ped, 0, (skin.nose_1 / 100) + 0.0) -- Nose Width
SetPedFaceFeature(ped, 1, (skin.nose_2 / 100) + 0.0) -- Nose Peak Height
SetPedFaceFeature(ped, 2, (skin.nose_3 / 100) + 0.0) -- Nose Peak Length
SetPedFaceFeature(ped, 3, (skin.nose_4 / 100) + 0.0) -- Nose Bone Height
SetPedFaceFeature(ped, 4, (skin.nose_5 / 100) + 0.0) -- Nose Peak Lowering
SetPedFaceFeature(ped, 5, (skin.nose_6 / 100) + 0.0) -- Nose Bone Twist
SetPedFaceFeature(ped, 6, (skin.eyebrows_5 / 100) + 0.0) -- Eyebrow height
SetPedFaceFeature(ped, 7, (skin.eyebrows_6 / 100) + 0.0) -- Eyebrow depth
SetPedFaceFeature(ped, 8, (skin.cheeks_1 / 100) + 0.0) -- Cheekbones Height
SetPedFaceFeature(ped, 9, (skin.cheeks_2 / 100) + 0.0) -- Cheekbones Width
SetPedFaceFeature(ped, 10, (skin.cheeks_3 / 100) + 0.0) -- Cheeks Width
SetPedFaceFeature(ped, 11, (skin.eye_squint / 100) + 0.0) -- Eyes squint
SetPedFaceFeature(ped, 12, (skin.lip_thickness / 100) + 0.0) -- Lip Fullness
SetPedFaceFeature(ped, 13, (skin.jaw_1 / 100) + 0.0) -- Jaw Bone Width
SetPedFaceFeature(ped, 14, (skin.jaw_2 / 100) + 0.0) -- Jaw Bone Length
SetPedFaceFeature(ped, 15, (skin.chin_1 / 100) + 0.0) -- Chin Height
SetPedFaceFeature(ped, 16, (skin.chin_2 / 100) + 0.0) -- Chin Length
SetPedFaceFeature(ped, 17, (skin.chin_3 / 100) + 0.0) -- Chin Width
SetPedFaceFeature(ped, 18, (skin.chin_4 / 100) + 0.0) -- Chin Hole Size
SetPedFaceFeature(ped, 19, (skin.neck_thickness / 100) + 0.0) -- Neck Thickness
-- Appearance
SetPedComponentVariation(ped, 2, skin.hair_1, skin.hair_2, 2) -- Hair Style
SetPedHairColor(ped, skin.hair_color_1, skin.hair_color_2) -- Hair Color
SetPedHeadOverlay(ped, 2, skin.eyebrows_1, skin.eyebrows_2 / 100 + 0.0) -- Eyebrow Style + Opacity
SetPedHeadOverlayColor(ped, 2, 1, skin.eyebrows_3, skin.eyebrows_4) -- Eyebrow Color
SetPedHeadOverlay(ped, 1, skin.beard_1, skin.beard_2 / 100 + 0.0) -- Beard Style + Opacity
SetPedHeadOverlayColor(ped, 1, 1, skin.beard_3, skin.beard_4) -- Beard Color
SetPedHeadOverlay(ped, 0, skin.blemishes_1, skin.blemishes_2 / 100 + 0.0) -- Skin blemishes + Opacity
SetPedHeadOverlay(ped, 12, skin.bodyb_3, skin.bodyb_4 / 100 + 0.0) -- Skin blemishes body effect + Opacity
SetPedHeadOverlay(ped, 11, skin.bodyb_1, skin.bodyb_2 / 100 + 0.0) -- Body Blemishes + Opacity
SetPedHeadOverlay(ped, 3, skin.age_1, skin.age_2 / 100 + 0.0) -- Age + opacity
SetPedHeadOverlay(ped, 6, skin.complexion_1, skin.complexion_2 / 100 + 0.0) -- Complexion + Opacity
SetPedHeadOverlay(ped, 9, skin.moles_1, skin.moles_2 / 100 + 0.0) -- Moles/Freckles + Opacity
SetPedHeadOverlay(ped, 7, skin.sun_1, skin.sun_2 / 100 + 0.0) -- Sun Damage + Opacity
SetPedEyeColor(ped, skin.eye_color) -- Eyes Color
SetPedHeadOverlay(ped, 4, skin.makeup_1, skin.makeup_2 / 100 + 0.0) -- Makeup + Opacity
SetPedHeadOverlayColor(ped, 4, 0, skin.makeup_3, skin.makeup_4) -- Makeup Color
SetPedHeadOverlay(ped, 5, skin.blush_1, skin.blush_2 / 100 + 0.0) -- Blush + Opacity
SetPedHeadOverlayColor(ped, 5, 2, skin.blush_3) -- Blush Color
SetPedHeadOverlay(ped, 8, skin.lipstick_1, skin.lipstick_2 / 100 + 0.0) -- Lipstick + Opacity
SetPedHeadOverlayColor(ped, 8, 2, skin.lipstick_3, skin.lipstick_4) -- Lipstick Color
SetPedHeadOverlay(ped, 10, skin.chest_1, skin.chest_2 / 100 + 0.0) -- Chest Hair + Opacity
SetPedHeadOverlayColor(ped, 10, 1, skin.chest_3, skin.chest_4) -- Chest Hair Color
-- Clothing and Accessories
SetPedComponentVariation(ped, 8, skin.tshirt_1, skin.tshirt_2, 2) -- Undershirts
SetPedComponentVariation(ped, 11, skin.torso_1, skin.torso_2, 2) -- Jackets
SetPedComponentVariation(ped, 3, skin.arms, skin.arms_2, 2) -- Torsos
SetPedComponentVariation(ped, 10, skin.decals_1, skin.decals_2, 2) -- Decals
SetPedComponentVariation(ped, 4, skin.pants_1, skin.pants_2, 2) -- Legs
SetPedComponentVariation(ped, 6, skin.shoes_1, skin.shoes_2, 2) -- Shoes
SetPedComponentVariation(ped, 1, skin.mask_1, skin.mask_2, 2) -- Masks
SetPedComponentVariation(ped, 9, skin.bproof_1, skin.bproof_2, 2) -- Vests
SetPedComponentVariation(ped, 7, skin.neckarm_1, skin.neckarm_2, 2) -- Necklaces/Chains/Ties/Suspenders
SetPedComponentVariation(ped, 5, skin.bags_1, skin.bags_2, 2) -- Bags
if skin.helmet_1 == -1 then
ClearPedProp(ped, 0)
else
SetPedPropIndex(ped, 0, skin.helmet_1, skin.helmet_2, 2) -- Hats
end
if skin.glasses_1 == -1 then
ClearPedProp(ped, 1)
else
SetPedPropIndex(ped, 1, skin.glasses_1, skin.glasses_2, 2) -- Glasses
end
if skin.lefthand_1 == -1 then
ClearPedProp(ped, 6)
else
SetPedPropIndex(ped, 6, skin.lefthand_1, skin.lefthand_2, 2) -- Left Hand Accessory
end
if skin.righthand_1 == -1 then
ClearPedProp(ped, 7)
else
SetPedPropIndex(ped, 7, skin.righthand_1, skin.righthand_2, 2) -- Right Hand Accessory
end
if skin.ears_1 == -1 then
ClearPedProp(ped, 2)
else
SetPedPropIndex (ped, 2, skin.ears_1, skin.ears_2, 2) -- Ear Accessory
end
end
function LoadCharacter(data, callback)
for k, v in pairs(data) do
currentChar[k] = v
end
local modelHash = nil
if data.sex == 0 then
modelHash = GetHashKey('mp_m_freemode_01')
else
modelHash = GetHashKey('mp_f_freemode_01')
end
LoadModel(modelHash)
local playerPed = PlayerPedId()
ApplySkinToPed(playerPed, data)
if not Config.StandAlone then
ESX.SetPlayerData('loadout', oldLoadout)
TriggerEvent('esx:restoreLoadout')
end
if callback ~= nil then
callback()
end
end
-- Map Locations
local closestCoords = nil
local closestType = ''
local distToClosest = 1000.0
local inMarkerRange = false
function DisplayTooltip(suffix)
SetTextComponentFormat('STRING')
AddTextComponentString('Press ~INPUT_PICKUP~ to ' .. suffix)
DisplayHelpTextFromStringLabel(0, 0, 1, -1)
end
function UpdateClosestLocation(locations, type)
local pedPosition = GetEntityCoords(PlayerPedId())
for i = 1, #locations do
local loc = locations[i]
local distance = GetDistanceBetweenCoords(pedPosition.x, pedPosition.y, pedPosition.z, loc[1], loc[2], loc[3], false)
if (distToClosest == nil or closestCoords == nil) or (distance < distToClosest) or (closestCoords == loc) then
distToClosest = distance
closestType = type
closestCoords = vector3(loc[1], loc[2], loc[3])
end
if (distToClosest < 20.0) and (distToClosest > 1.0) then
inMarkerRange = true
else
inMarkerRange = false
end
end
end
Citizen.CreateThread(function()
while true do
if Config.EnableClothingShops then
UpdateClosestLocation(Config.ClothingShops, 'clothing')
end
if Config.EnableBarberShops then
UpdateClosestLocation(Config.BarberShops, 'barber')
end
if Config.EnablePlasticSurgeryUnits then
UpdateClosestLocation(Config.PlasticSurgeryUnits, 'surgery')
end
if Config.EnableNewIdentityProviders then
UpdateClosestLocation(Config.NewIdentityProviders, 'identity')
end
Citizen.Wait(500)
end
end)
Citizen.CreateThread(function()
while true do
-- TODO: make nearby players invisible while using these,
-- use https://runtime.fivem.net/doc/natives/?_0xE135A9FF3F5D05D8
-- TODO: possibly charge money for use
if inMarkerRange then
DrawMarker(
20,
closestCoords.x, closestCoords.y, closestCoords.z + 1.0,
0.0, 0.0, 0.0,
0.0, 0.0, 0.0,
1.0, 1.0, 1.0,
45, 110, 185, 128,
true, -- move up and down
false,
2,
true, -- rotate
nil,
nil,
false
)
end
if distToClosest < 1.0 and (not isVisible) then
if isOnDuty then
SetTextComponentFormat('STRING')
AddTextComponentString('You cannot access this while ~r~on duty~s~.')
DisplayHelpTextFromStringLabel(0, 0, 1, -1)
else
if closestType == 'clothing' then
DisplayTooltip('use clothing store.')
if IsControlJustPressed(1, 38) then
TriggerEvent('cui_character:open', { 'apparel' }, true, true)
end
elseif closestType == 'barber' then
DisplayTooltip('use barber shop.')
if IsControlJustPressed(1, 38) then
TriggerEvent('cui_character:open', { 'style' }, true, true)
end
elseif closestType == 'surgery' then
DisplayTooltip('use platic surgery unit.')
if IsControlJustPressed(1, 38) then
TriggerEvent('cui_character:open', { 'features' }, true, true)
end
elseif closestType == 'identity' then
DisplayTooltip('change your identity.')
if IsControlJustPressed(1, 38) then
TriggerEvent('cui_character:open', { 'identity' }, true, true)
end
end
end
end
Citizen.Wait(0)
end
end)
-- Map Blips
if Config.EnableClothingShops then
Citizen.CreateThread(function()
for k, v in ipairs(Config.ClothingShops) do
local blip = AddBlipForCoord(v)
SetBlipSprite(blip, 73)
SetBlipColour(blip, 84)
SetBlipAsShortRange(blip, true)
BeginTextCommandSetBlipName('STRING')
AddTextComponentString('Clothing Store')
EndTextCommandSetBlipName(blip)
end
end)
end
if Config.EnableBarberShops then
Citizen.CreateThread(function()
for k, v in ipairs(Config.BarberShops) do
local blip = AddBlipForCoord(v)
SetBlipSprite(blip, 71)
SetBlipColour(blip, 84)
SetBlipAsShortRange(blip, true)
BeginTextCommandSetBlipName('STRING')
AddTextComponentString('Barber Shop')
EndTextCommandSetBlipName(blip)
end
end)
end
if Config.EnablePlasticSurgeryUnits then
Citizen.CreateThread(function()
for k, v in ipairs(Config.PlasticSurgeryUnits) do
local blip = AddBlipForCoord(v)
SetBlipSprite(blip, 102)
SetBlipColour(blip, 84)
SetBlipAsShortRange(blip, true)
BeginTextCommandSetBlipName('STRING')
AddTextComponentString('Platic Surgery Unit')
EndTextCommandSetBlipName(blip)
end
end)
end
if Config.EnableNewIdentityProviders then
Citizen.CreateThread(function()
for k, v in ipairs(Config.NewIdentityProviders) do
local blip = AddBlipForCoord(v)
SetBlipSprite(blip, 498)
SetBlipColour(blip, 84)
SetBlipAsShortRange(blip, true)
BeginTextCommandSetBlipName('STRING')
AddTextComponentString('Municipal Building')
EndTextCommandSetBlipName(blip)
end
end)
end
-- ESX Identity Integration
if Config.EnableESXIdentityIntegration then
function LoadIdentity(data)
currentIdentity = {}
for k, v in pairs(data) do
currentIdentity[k] = v
end
end
AddEventHandler('esx_skin:resetFirstSpawn', function()
firstSpawn = true
end)
AddEventHandler('cui_character:setCurrentIdentity', function(data)
currentIdentity = data
end)
end |
local t = LoadActor(THEME:GetPathB("","_doors"), "_newer door", 1.5, true )
t[#t+1] = LoadActor(("../cheer"))..{
StartTransitioningCommand=cmd(play);
};
t[#t+1] = LoadActor(("../../cleared"))..{
StartTransitioningCommand=cmd(play);
};
t[#t+1] = Def.ActorFrame{
Def.Sprite{
InitCommand=cmd(Center);
SetCommand=function(self)
if GAMESTATE:IsWinner(PLAYER_1) then
self:Load(THEME:GetPathB ("","ScreenGameplay out/rave/p1"))
elseif GAMESTATE:IsWinner("PlayerNumber_P2") then
self:Load(THEME:GetPathB ("","ScreenGameplay out/rave/p2"))
elseif GAMESTATE:IsDraw() then
self:Load(THEME:GetPathB ("","ScreenGameplay out/rave/draw"))
end;
end;
OnCommand=function(self)
self:queuecommand("Set")
self:diffusealpha(0):sleep(0.5):
zoomy(0):zoomx(4):linear(0.198):
diffusealpha(1):zoomy(1):zoomx(1):
sleep(2.604):linear(0.132):
zoomy(0):zoomx(4):diffusealpha(0)
end;
};
};
return t |
local pipes = require('pipes')
local function fmtTm()
return os.date('%Y%m%d %H:%M:%S')
end
local function fmtSrc(src)
return string.format('%08x', src)
end
local function funcStr(src, ss, str)
io.output(io.stderr):write(fmtTm(),' [', fmtSrc(src), '] ', str, '\n')
end
local function funcLua(src, ss, ...)
local tb = table.pack(...)
local tbStr = {}
for i=1, tb.n do
local tmp = tb[i]
if tmp then
table.insert(tbStr, tmp)
end
end
local str = table.concat(tbStr)
funcStr(src, ss, str)
end
pipes.dispatch('lua', function(src, ss, ...)
local ok, err = pcall(funcLua, src, ss, ...)
if not ok then
local tm = pipes.now()
io.output(io.stderr):write(fmtTm(),' [', fmtSrc(pipes.self()), '] ', 'logger error: ', err, '\n')
end
end)
pipes.dispatch('string', function(src, ss, str)
local ok, err = pcall(funcStr, src, ss, str)
if not ok then
local tm = pipes.now()
io.output(io.stderr):write(fmtTm(),' [', fmtSrc(pipes.self()), '] ', 'logger error: ', err, '\n')
end
end)
|
-- vessels/documentation.lua
-----Load documentation via doc_helper------------------------
local MP = minetest.get_modpath(minetest.get_current_modname())
local docpath = MP .. DIR_DELIM .. "doc"
doc.add_category("vessels",
{
name = "_Vessels_",
description = "Vessels",
build_formspec = doc.entry_builders.text_and_square_gallery,
})
doc.build_entries(docpath, "vessels")
|
collectibles =
{
{"we_firesword_inactive", 1},
{"qe_yashaessence", 1},
{"gold", 50},
}
markers = {
{
map = "res/map/highland/highland.tmx",
position = {500, 1700},
step = 0
},
{
map = "res/map/highland/highland.tmx",
position = {375, 1325},
npc = "npc_jason",
step = 0
}
} |
local say = require("say")
local assert = require("luassert")
local Query = require("exasolvs.Query")
local function append_yields(_, arguments)
local appender_class = arguments[1]
local expected = arguments[2]
local original_query = arguments[3]
local out_query = Query:new()
local appender = appender_class:new(out_query)
local ok, result = pcall(appender.append, appender, original_query)
local actual = out_query:to_string()
arguments[1] = original_query
arguments[2] = expected
if ok then
arguments[3] = actual or "<nil>"
else
arguments[3] = "Error: " .. result
end
arguments.n = 3
return expected == actual
end
local function append_error(_, arguments)
local appender_class = arguments[1]
local expected = arguments[2]
local original_query = arguments[3]
local out_query = Query:new()
local appender = appender_class:new(out_query)
local ok, result = pcall(appender.append, appender, original_query)
arguments[1] = original_query
arguments[2] = expected
if ok then
arguments[3] = "no error (unexpected success)"
return false
else
arguments[3] = result
return string.find(result, expected, 1, true) ~= nil
end
end
say:set("assertion.append_yields.positive", "Appended query part:\n%s\nExpected: %s\nbut got : %s")
say:set("assertion.append_yields.negative",
"Appender query part \n%s\nExpected a different query than %s\nbut got exactly that")
say:set("assertion.append_error.positive", "Appended query part:\n%s\n"
.. "\nExpected error containing: %s\nbut got : %s")
say:set("assertion.append_error.negative",
"Appended query part\n%sExpected error not containing:\n%s\nbut got exactly that")
assert:register("assertion", "append_error", append_error,
"assertion.append_error.positive", "assertion.append_error.negative")
assert:register("assertion", "append_yields", append_yields, "assertion.append_yields.positive",
"assertion.append_yields.negative") |
--------------------------------------------------------------------------------
-- Acid resist gates --
--------------------------------------------------------------------------------
data:extend{
{
type = "technology",
name = "acid-resist-gates",
--icon = "__Reinforced-Walls__/graphics/icons/tech-tree1.png",
--icon_size = 128,
icons = LSlib.technology.getIcons("gates", nil, nil, require("prototypes/prototype-settings")["acid-resist-gate"]["wall-tint"]),
prerequisites = {"reinforced-gates", "acid-resist-walls"},
effects =
{
{
type = "unlock-recipe",
recipe = "acid-resist-gate",
},
},
unit = data.raw["technology"]["acid-resist-walls"].unit,
order = data.raw["technology"]["acid-resist-walls"].order,
},
}
|
return {
name = "doh.tiar.jp",
label = _("Tiarap Public DNS - JP"),
resolver_url = "https://doh.tiar.jp/dns-query",
bootstrap_dns = "172.104.93.80,2400:8902::f03c:91ff:feda:c514",
help_link = "https://tiarap.org/",
help_link_text = "Tiarap.org"
}
|
local entity_manager = require("control.entity_manager")
local force_manager = require("control.force_manager")
local gui = require("control.gui")
local function init_player(player)
if not global.tc_player_state then
global.tc_player_state = {}
end
if global.tc_player_state[player.index] == nil then
global.tc_player_state[player.index] = {
toggled = false,
dirty = 0,
last_surface_index = -1,
last_bounding_box = {{-1, -1}, {-1, -1}}
}
end
gui.update_all()
-- this call creates the alternative force for this player if it doesn't already exist
force_manager.fetch_alternative_force(player.force)
end
local function revert_what_we_can(base_force, alternative_force)
local safe_to_revert_all_entities = true
for _, player in pairs(game.players) do
if player.connected then
if player.force.name == alternative_force.name then
safe_to_revert_all_entities = false
end
end
end
if safe_to_revert_all_entities then
entity_manager.find_and_revert_all_entities(base_force, alternative_force)
else
entity_manager.find_and_revert_previous_player_range_entities(base_force, alternative_force, true)
end
end
local function reset_player(player)
if global.tc_player_state[player.index] ~= nil then
if global.tc_player_state[player.index].toggled then
global.tc_player_state[player.index].toggled = false
force_manager.restore_player_original_force(player)
gui.update_all()
local base_force = force_manager.fetch_base_force(player.force)
local alternative_force = force_manager.fetch_alternative_force(player.force)
revert_what_we_can(base_force, alternative_force)
end
end
end
local function reset_stale_players()
for _, player in pairs(game.players) do
if player.connected ~= true then
reset_player(player)
end
end
end
local function on_mod_init()
if global.globally_disabled then
return
end
if not global.tc_player_state then
global.tc_player_state = {}
end
global.globally_disabled = false
global.tc_debug = false
global.recreate_forces = false
global.current_mod_state_version = 2
if global.tc_debug == true then
global.tc_renders = {}
end
for _, player in pairs(game.players) do
if player.connected == true then
init_player(player)
end
end
end
local function on_player_joined(event)
if global.globally_disabled then
return
end
init_player(game.players[event.player_index])
end
local function on_player_left(event)
if global.globally_disabled then
return
end
if not global.tc_player_state or not global.tc_player_state[event.player_index] then
return
end
reset_player(game.players[event.player_index])
end
local function on_research_started(event)
if global.globally_disabled then
return
end
if not global.tc_player_state then
return
end
force_manager.notify_research_started(event)
end
local function on_research_finished(event)
if global.globally_disabled then
return
end
if not global.tc_player_state then
return
end
force_manager.notify_research_finished(event)
end
local function on_player_changed_position(event)
if global.globally_disabled then
return
end
if not global.tc_player_state or not global.tc_player_state[event.player_index] then
return
end
local player = game.players[event.player_index]
local base_force = entity_manager.force_manager.fetch_base_force(player.force)
local alternative_force = entity_manager.force_manager.fetch_alternative_force(player.force)
entity_manager.find_and_revert_previous_player_range_entities(base_force, alternative_force, true)
entity_manager.find_and_convert_player_range_construction_entities(player, base_force, alternative_force)
end
local function on_player_changed_force(event)
if global.globally_disabled then
return
end
if not global.tc_player_state or not global.tc_player_state[event.player_index] then
return
end
local player = game.players[event.player_index]
local new_force = player.force
local old_force = event.force
local new_base_force = force_manager.fetch_base_force(new_force)
local new_alternative_force = force_manager.fetch_alternative_force(new_force)
local old_base_force = force_manager.fetch_base_force(old_force)
local old_alternative_force = force_manager.fetch_alternative_force(old_force)
if new_base_force.name ~= old_base_force.name or new_alternative_force.name ~= old_alternative_force.name then
revert_what_we_can(old_base_force, old_alternative_force)
reset_player(player)
end
end
local function starts_with(str, start)
return str:sub(1, #start) == start
end
local function on_toggle(player)
if global.globally_disabled then
return
end
if not global.tc_player_state or not global.tc_player_state[player.index] or not player.character then
return
end
local base_force = entity_manager.force_manager.fetch_base_force(player.force)
local alternative_force = entity_manager.force_manager.fetch_alternative_force(player.force)
if not global.tc_player_state[player.index].toggled then
force_manager.switch_player_to_alternative_force(player)
global.tc_player_state[player.index].toggled = true
entity_manager.find_and_convert_player_range_construction_entities(player, base_force, alternative_force)
else
force_manager.restore_player_original_force(player)
global.tc_player_state[player.index].toggled = false
revert_what_we_can(base_force, alternative_force)
end
end
local function on_global_disable(player)
if global.globally_disabled then
return
end
if not player.admin then
player.print({"disable.global-disable-you-not-admin"})
return
end
player.print({"disable.global-disable-starting"})
for _, player in pairs(game.players) do
reset_player(player)
end
entity_manager.garbage_collect()
force_manager.garbage_collect(true)
global.globally_disabled = true
for _, player in pairs(game.players) do
if player.connected == true then
player.print({"disable.global-disable-complete", player.name})
end
end
end
local function garbage_collect(event)
if global.globally_disabled then
return
end
-- if a mod version upgrade has signaled that our alternative forces are somehow in a bad state and need re-creating, do that now as part of GC
if global.recreate_forces == true then
for _, player in pairs(game.players) do
reset_player(player)
end
entity_manager.garbage_collect()
force_manager.garbage_collect(true)
for _, player in pairs(game.players) do
if player.connected == true then
init_player(player)
end
end
global.recreate_forces = false
else
reset_stale_players()
entity_manager.garbage_collect()
force_manager.garbage_collect(false)
end
end
script.on_init(on_mod_init)
script.on_event(defines.events.on_player_joined_game, on_player_joined)
script.on_event(defines.events.on_player_left_game, on_player_left)
script.on_event(defines.events.on_research_started, on_research_started)
script.on_event(defines.events.on_research_finished, on_research_finished)
script.on_event(defines.events.on_player_changed_position, on_player_changed_position)
script.on_event(defines.events.on_player_changed_force, on_player_changed_force)
script.on_event(defines.events.on_pre_player_died, on_player_left)
script.on_nth_tick(7200, garbage_collect) -- every 2 minutes-ish
entity_manager.init(force_manager)
gui.register_events(on_toggle, on_global_disable)
|
return {
msg_timeout = 100,
tbar_timeout = 200,
font_def = "default.ttf",
font_fb = "emoji.ttf",
font_sz = 18,
font_hint = 2,
font_str = "",
text_color = "\\#aaaaaa",
-- decoration settings
borderw = 1,
bordert = 1,
bordert_float = 1,
borderw_float = 4,
border_color = {60, 104, 135},
titlebar_color = {60, 104, 135},
-- quite expensive so need to be 'none' at start (or have a GPU probe stage)
shadow_style = "none",
shadow_focus = 0.5,
shadow_defocus = 1.0,
shadow_t = 10,
shadow_l = 10,
shadow_d = 10,
shadow_r = 10,
-- soft, fixed
shadow_style = "none",
shadow_color = {0, 0, 0},
-- right now, the options are 'none', 'image', 'full'
browser_preview = "full",
browser_timer = 5,
browser_position = 20,
browser_trigger = "selection", -- or visibility
-- for the first run, enable more helpers
first_run = true,
-- show the description field of the menu item that is selected
menu_helper = true,
-- should entries that request a password show the input as *** chars
passmask = false,
--
-- advanced lockscreen features, not currently mapped to UI
-- lock_ok = "/some/path/like/resume_all",
-- lock_on = "/some/path/like/suspend_all"
-- lock_fail_1 = "/system/output=fail_once",
-- lock_fail_10 = "/system/shutdown/ok",
--
-- default window dimensions (relative tiler size) for windows
-- created in float mode with unknown starting size
float_defw = 0.3,
float_defh = 0.2,
-- % ratio (0..1) of allocated column space for titlebar
htab_barw = 0.1,
-- padding pixels
htab_lpad = 0,
htab_tpad = 0,
htab_rpad = 0,
-- default encoder setting, used by suppl when building string. We don't
-- have a way to query the span of these parameters yet (like available
-- codecs).
enc_fps = 30,
enc_srate = -1,
enc_vcodec = "H264",
enc_vpreset = 8,
enc_container = "mkv",
enc_presilence = 0,
enc_vbr = 0,
enc_vqual = 7,
-- SECURITY: set _path to :disabled to disable these features
extcon_path = "durden",
control_path = "control",
-- SECURITY: set to "full" to allow clients that request authentication tokens
-- against the GPU to let those tokens go through. This can compromise security
-- or safety as the privileges given for such a token may expose buffer contents
-- or queue GPU resources that may compromise the display server.
gpu_auth = "full",
-- SECURITY: set to passive, active, full or none depending on the default
-- access permissions to any client that requests to manage gamma or clipboard
gamma_access = "none",
clipboard_access = "none",
-- if > 0, wait n ticks before re-activating external connection path
-- (default clock, ~25 == 1s.)
extcon_rlimit = 25,
-- ignore rlimit first n ticks after startup (allow initial start burst)
extcon_startdelay = 100,
-- if n > 0: while >= n external windows, disable external windows (
-- requires extcon_rlimit > 0 as it uses the same timer when evaluating)
extcon_wndlimit = 0,
-- limit subwindows per connection, also covers hidden windows (e.g. clipboard)
subwnd_limit = 10,
-- MANUAL/REQUIRES RESTART: setting this to true possibly reduces latency,
-- Performance footprint etc. but prevents certain features like selective
-- desktop sharing and multiple displays.
display_simple = false,
display_shader = "basic",
-- clear-color on display rendertarget when no wallpaper is set
display_color = {30, 30, 30},
-- on dedicated- fullscreen, switch rendertarget refreshrate to the following
-- cloclvalue (0, disabled entirely, -n every n frame, n every n tick
display_fs_rtrate = 2,
-- some people can't handle the flash transition between workspaces,
-- setting this to a higher value adds animation fade in/out
transition = 10,
animation = 10,
wnd_animation = 10,
-- (none, move-h, move-v, fade)
ws_transition_in = "fade",
ws_transition_out = "fade",
ws_autodestroy = true,
ws_autoadopt = true,
ws_default = "tile",
ws_altmenu = "wsmenu",
-- [parent] or [current]
ws_child_default = "parent",
ws_popup = "wsbtn",
-- per window toggle, global default here
hide_titlebar = false,
-- if titlebars are "hidden" and this is true, merge the selected window
-- titlebar into the statusbar center area and recursively relayout
titlebar_statusbar = false,
-- %(fmt-char) p (tag) t (title) i (ident) a (archetype)
-- optional character limit after each entry, whitespace breaks out of fmt-char
titlebar_ptn = "%p %t - %i",
titlebar_sidepad = 5,
-- we repeat regular mouse/mstate properties here to avoid a separate
-- path for loading / restoring / updating
mouse_focus_event = "click", -- motion, hover
mouse_remember_position = true,
mouse_factor = 1.0,
mouse_autohide = true,
mouse_reveal = true,
mouse_dblclick = 12,
mouse_hidetime = 420,
mouse_hovertime = 40,
mouse_dragdelta = 4,
mouse_cursorset = "default",
-- use in iostatem to join all mouse devices into one label
mouse_coalesce = true,
-- disable all mouse management and related menus
mouse_block = false,
-- > 0, the minimum clock-delta before a button is accepted again
mouse_debounce_1 = 0,
mouse_debounce_2 = 0,
mouse_debounce_3 = 0,
mouse_debounce_4 = 0,
mouse_debounce_5 = 0,
mouse_debounce_6 = 0,
mouse_debounce_7 = 0,
mouse_debounce_8 = 0,
-- used for keyboard- move step size in float mode
float_tile_sz = {16, 16},
float_tbar_override = false,
float_bg_rclick = "/global/tools/popup/menu=/menus/floatbg",
float_bg_click = "",
float_bg_dblclick = "",
-- used for adding 'gaps' in the tile layout
tile_gap_w = 0,
tile_gap_h = 0,
-- control child window creation in [normal or child]
--
-- normal inserts in tile mode based on currently selected window and
-- workspace insertion mode, child sets it as a child to the spawning
-- window. 'child' also forces ws_child_default = parent.
tile_insert_child = "child",
-- used as a workaround for mouse-control issues when we cannot get
-- relative samples etc. due to being in a windows mode with different
-- scaling parameters, SDL on OSX for instance.
mouse_hardlock = false,
mouse_scalef = 1.0,
-- default classifier for unknown touch devices
mt_classifier = "relmouse",
-- time since last input from which a device is considered in an 'idle' state
idle_threshold = 2500,
-- audio settings
global_gain = 1.0,
gain_fade = 10,
global_mute = false,
-- default keyboard repeat rate for all windows, some archetypes have
-- default overrides and individual windows can have strong overrides
kbd_period = 4,
kbd_delay = 600,
-- accepted values: m1, m2, none
meta_lock = "m2",
meta_stick_time = 0,
meta_dbltime = 10,
meta_guard = false,
-- minimum amount of ticks from epoch (-1 disables entirely)
-- before device- event notifications appears
device_notification = 500,
-- built-in terminal defaults
term_autosz = true, -- will ignore cellw / cellh and use font testrender
term_cellw = 12,
term_cellh = 12,
term_font_sz = 12,
term_font_hint = 2,
term_blink = 0,
term_tpack = false,
term_cursor = "block",
term_font = "hack.ttf",
term_bgcol = {0x00, 0x00, 0x00},
term_fgcol = {0xff, 0xff, 0xff},
term_opa = 1.0,
term_bitmap = false,
term_palette = "",
term_append_arg = "", -- ci=ind,r,g,b to override individual colors
-- input bar graphics
lbar_dim = 0.8,
lbar_tpad = 4,
lbar_bpad = 0,
lbar_spacing = 10,
lbar_sz = 12, -- dynamically recalculated on font changes
lbar_bg = {0x33, 0x33, 0x33},
lbar_helperbg = {0x24, 0x24, 0x24},
lbar_textstr = "\\#cccccc ",
lbar_alertstr = "\\#ff0000 ",
lbar_labelstr = "\\#00ff00 ",
lbar_menulblstr = "\\#ffff00 ",
lbar_menulblselstr = "\\#ffff00 ",
lbar_helperstr = "\\#aaaaaa ",
lbar_errstr = "\\#ff4444 ",
lbar_caret_w = 2,
lbar_caret_h = 16,
lbar_caret_col = {0x00, 0xff, 0x00},
lbar_seltextstr = "\\#ffffff ",
lbar_seltextbg = {0x44, 0x66, 0x88},
lbar_itemspace = 10,
lbar_fltfun = "prefix",
lbar_nextsym = string.char(0xe2) .. string.char(0x9e) .. string.char(0xa1),
-- binding bar
bind_waittime = 30,
bind_repeat = 5,
-- statusbar
sbar_tpad = 2, -- add some space to the text
sbar_bpad = 2,
sbar_sz = 12, -- dynamically recalculated on font changes
sbar_textstr = "\\#00ff00 ",
sbar_alpha = 0.3,
sbar_tspace = 0,
sbar_lspace = 0,
sbar_dspace = 0,
sbar_rspace = 0,
sbar_tshadow = 8,
sbar_lshadow = 8,
sbar_dshadow = 8,
sbar_rshadow = 8,
sbar_popup_pad = 4,
sbar_shadow = "soft",
sbar_shadow_color = {0x00, 0x00, 0x00},
sbar_pos = "top",
sbar_visible = "desktop", -- (desktop / hud / hidden)
sbar_wsbuttons = true, -- show the dynamic workspace switch buttons
sbar_wsmeta = true, -- show the workspace- create button
sbar_numberprefix = true,
sbar_lblcolor = "dynamic", -- or specific: "\\#ffff00",
sbar_prefixcolor = "dynamic", -- "\\#ffffff ",
-- titlebar
tbar_sz = 12, -- dynamically recalculated on font changes
tbar_tpad = 4,
tbar_bpad = 2,
tbar_text = "left", -- left, center, right
tbar_textstr = "\\#ffffff ",
tbar_rclick = "/global/tools/popup/menu=/target",
-- icons
icon_set = "default",
-- notification system
notifications_enable = true,
-- LWA specific settings, only really useful for development / debugging
lwa_autores = true,
-- cleared after running the first time
first_run = true
};
|
Skada:AddLoadableModule("Overhealing", nil, function(Skada, L)
if Skada.db.profile.modulesBlocked.Overhealing then return end
local mod = Skada:NewModule(L["Overhealing"])
local spellsmod = Skada:NewModule(L["Overhealing spells"])
mod.metadata = {showspots = true, click1 = spellsmod, columns = {Overheal = true, Percent = true}, icon = "Interface\\Icons\\Ability_paladin_infusionoflight"}
spellsmod.metadata = {columns = {Healing = true, Percent = true}}
function mod:OnEnable()
Skada:AddMode(self, L["Healing"])
end
function mod:OnDisable()
Skada:RemoveMode(self)
end
-- Called by Skada when a new player is added to a set.
function mod:AddPlayerAttributes(player)
if not player.overhealing then
player.overhealing = 0
end
end
-- Called by Skada when a new set is created.
function mod:AddSetAttributes(set)
if not set.overhealing then
set.overhealing = 0
end
end
function mod:GetSetSummary(set)
return Skada:FormatNumber(set.overhealing)
end
function mod:Update(win, set)
local nr = 1
local max = 0
for i, player in ipairs(set.players) do
if player.overhealing > 0 then
local d = win.dataset[nr] or {}
win.dataset[nr] = d
d.id = player.id
d.value = player.overhealing
d.label = player.name
d.valuetext = Skada:FormatValueText(
Skada:FormatNumber(player.overhealing), self.metadata.columns.Overheal,
string.format("%02.1f%%", player.overhealing / math.max(1, player.healing) * 100), self.metadata.columns.Percent
)
d.class = player.class
d.role = player.role
if player.overhealing > max then
max = player.overhealing
end
nr = nr + 1
end
end
win.metadata.maxvalue = max
end
function spellsmod:Enter(win, id, label)
spellsmod.playerid = id
spellsmod.title = label..L["'s Healing"]
end
-- Spell view of a player.
function spellsmod:Update(win, set)
-- View spells for this player.
local player = Skada:find_player(set, self.playerid)
local nr = 1
local max = 0
if player then
for spellname, spell in pairs(player.healingspells) do
local d = win.dataset[nr] or {}
win.dataset[nr] = d
d.id = spell.name -- ticket 362: this needs to be spellname because spellid is not unique with pets that mirror abilities (DK DRW)
d.label = spell.name
d.value = spell.overhealing
d.valuetext = Skada:FormatValueText(
Skada:FormatNumber(spell.overhealing), self.metadata.columns.Healing,
string.format("%02.1f%%", spell.overhealing / player.overhealing * 100), self.metadata.columns.Percent
)
local _, _, icon = GetSpellInfo(spell.id)
d.icon = icon
d.spellid = spell.id
if spell.overhealing > max then
max = spell.overhealing
end
nr = nr + 1
end
end
win.metadata.hasicon = true
win.metadata.maxvalue = max
end
end)
|
local function utf8len(str)
return vim.str_utfindex(str)
end
local function utf8char(str, i)
if i >= utf8len(str) or i < 0 then
return nil
end
local s1 = vim.str_byteindex(str, i)
local s2 = vim.str_byteindex(str, i + 1)
return string.sub(str, s1 + 1, s2)
end
local unicode = require("nabla.ascii.unicode")
local style = unicode.style
local grid = {}
function grid:new(w, h, content, t)
if not content and w and h and w > 0 and h > 0 then
content = {}
for y = 1, h do
local row = ""
for x = 1, w do
row = row .. " "
end
table.insert(content, row)
end
end
local o = {
w = w or 0,
h = h or 0,
t = t,
children = {},
content = content or {},
my = 0, -- middle y (might not be h/2, for example fractions with big denominator, etc )
}
return setmetatable(o, {
__tostring = function(g)
return table.concat(g.content, "\n")
end,
__index = grid,
})
end
function grid:join_hori(g, top_align)
local combined = {}
local num_max = math.max(self.my, g.my)
local den_max = math.max(self.h - self.my, g.h - g.my)
local s1, s2
if not top_align then
s1 = num_max - self.my
s2 = num_max - g.my
else
s1 = 0
s2 = 0
end
local h
if not top_align then
h = den_max + num_max
else
h = math.max(self.h, g.h)
end
for y = 1, h do
local r1 = self:get_row(y - s1)
local r2 = g:get_row(y - s2)
table.insert(combined, r1 .. r2)
end
local c = grid:new(self.w + g.w, h, combined)
c.my = num_max
table.insert(c.children, { self, 0, s1 })
table.insert(c.children, { g, self.w, s2 })
return c
end
function grid:get_row(y)
if y < 1 or y > self.h then
local s = ""
for i = 1, self.w do
s = s .. " "
end
return s
end
return self.content[y]
end
function grid:join_vert(g, align_left)
local w = math.max(self.w, g.w)
local h = self.h + g.h
local combined = {}
local s1, s2
if not align_left then
s1 = math.floor((w - self.w) / 2)
s2 = math.floor((w - g.w) / 2)
else
s1 = 0
s2 = 0
end
for x = 1, w do
local c1 = self:get_col(x - s1)
local c2 = g:get_col(x - s2)
table.insert(combined, c1 .. c2)
end
local rows = {}
for y = 1, h do
local row = ""
for x = 1, w do
row = row .. utf8char(combined[x], y - 1)
end
table.insert(rows, row)
end
local c = grid:new(w, h, rows)
table.insert(c.children, { self, s1, 0 })
table.insert(c.children, { g, s2, self.h })
return c
end
function grid:get_col(x)
local s = ""
if x < 1 or x > self.w then
for i = 1, self.h do
s = s .. " "
end
else
for y = 1, self.h do
s = s .. utf8char(self.content[y], x - 1)
end
end
return s
end
function grid:enclose_paren()
local left_content = {}
if self.h == 1 then
left_content = { style.left_single_par }
else
for y = 1, self.h do
if y == 1 then
table.insert(left_content, style.left_top_par)
elseif y == self.h then
table.insert(left_content, style.left_bottom_par)
else
table.insert(left_content, style.left_middle_par)
end
end
end
local left_paren = grid:new(1, self.h, left_content, "par")
left_paren.my = self.my
local right_content = {}
if self.h == 1 then
right_content = { style.right_single_par }
else
for y = 1, self.h do
if y == 1 then
table.insert(right_content, style.right_top_par)
elseif y == self.h then
table.insert(right_content, style.right_bottom_par)
else
table.insert(right_content, style.right_middle_par)
end
end
end
local right_paren = grid:new(1, self.h, right_content, "par")
right_paren.my = self.my
local c1 = left_paren:join_hori(self)
local c2 = c1:join_hori(right_paren)
return c2
end
function grid:put_paren(exp, parent)
if exp.priority() < parent.priority() then
return self:enclose_paren()
else
return self
end
end
function grid:join_super(superscript)
local spacer = grid:new(self.w, superscript.h)
local upper = spacer:join_hori(superscript, true)
local result = upper:join_vert(self, true)
result.my = self.my + superscript.h
return result
end
function grid:combine_sub(other)
local spacer = grid:new(self.w, other.h)
local lower = spacer:join_hori(other)
local result = self:join_vert(lower, true)
result.my = self.my
return result
end
function grid:join_sub_sup(sub, sup)
local upper_spacer = grid:new(self.w, sup.h)
local middle_spacer = grid:new(math.max(sub.w, sup.w), self.h)
local right = sup:join_vert(middle_spacer, true)
right = right:join_vert(sub, true)
local left = upper_spacer:join_vert(self, true)
local res = left:join_hori(right, true)
res.my = self.my + sup.h
return res
end
return grid
|
---@alias FramePoint string|"'TOPLEFT'"|"'TOPRIGHT'"|"'BOTTOMLEFT'"|"'BOTTOMRIGHT'"|"'TOP'"|"'BOTTOM'"|"'LEFT'"|"'RIGHT'"|"'CENTER'"
---@alias Layer string|"'BACKGROUND'"|"'BORDER'"|"'ARTWORK'"|"'OVERLAY'"|"'HIGHLIGHT'"
---@alias Strata string|"'WORLD'"|"'BACKGROUND'"|"'LOW'"|"'MEDIUM'"|"'HIGH'"|"'DIALOG'"|"'FULLSCREEN'"|"'FULLSCREEN_DIALOG'"|"'TOOLTIP'"
---@alias Event string
---@alias ButtonType string|"'Button4'"|"'Button5'"|"'LeftButton'"|"'RightButton'"|"'MiddleButton'"
---@alias FrameHandlerType string|"'OnLoad'"|"'OnUpdate'"|"'OnAttributeChanged'"|"'OnChar'"|"'OnDisable'"|"'OnDragStart'"|"'OnDragStop'"|"'OnEnable'"|"'OnEnter'"|"'OnEvent'"|"'OnHide'"|"'OnHyperlinkClick'"|"'OnHyperlinkEnter'"|"'OnHyperlinkLeave'"|"'OnKeyDown'"|"'OnKeyUp'"|"'OnLeave'"|"'OnMouseDown'"|"'OnMouseUp'"|"'OnMouseWheel'"|"'OnReceiveDrag"|"'OnShow'"|"'OnSizeChanged'"
---@alias ButtonState string|"'DISABLED'"|"'NORMAL'"|"'PUSHED'"
---@alias ClickType string|"'Button4Down'"|"'Button4Up'"|"'Button5Down'"|"'Button5Up'"|"'LeftButtonDown'"|"'LeftButtonUp'"|"'MiddleButtonDown'"|"'MiddleButtonUp'"|"'RightButtonDown'"|"'RightButtonUp'"|"'AnyDown'"|"'AnyUp'"
---@alias AlphaMode string|"'ADD'"|"'ALPHAKEY'"|"'BLEND'"|"'DISABLE'"|"'MOD'" |
-- Example configuration file for Premake5 using the CUDA module
-- To build this sample, run '.\premake5.exe vs2019' from the root of this project.
-- Include the premake5 CUDA module
require('premake5-cuda')
workspace "NVIDA"
architecture "x64"
location ("builds")
if _ACTION == "vs2019" then
location ("builds/VisualStudio2019")
end
configurations
{
"Debug",
"Release",
}
vectorextensions "AVX2"
filter "configurations:Debug" defines { "DEBUG" } symbols "On"
filter "configurations:Release" defines { "NDEBUG" } optimize "On"
outputdir = "%{cfg.buildcfg}-%{cfg.system}-%{cfg.architecture}"
include "sandbox/example" |
function qico()
local q = {} -- msg queue, just strings for now
local t = {} -- topics
function add_event(name, payload)
local tmp = {
name = name,
payload = payload,
}
add(q, tmp)
end
function add_topic(name)
t[name] = {}
local topic_str = ""
for k,v in pairs(t) do
topic_str = topic_str.." "..k
end
end
function add_subscriber(name, fn)
add(t[name], fn)
end
function process_queue()
for k,v in pairs(q) do
if t[v.name] != nil then
for ik,iv in pairs(t[v.name]) do
iv(v.name, v.payload)
end
end
q[k] = nil
end
end
return {
ae = add_event,
at = add_topic,
as = add_subscriber,
proc = process_queue,
q = q,
t = t
}
end
|
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end
function onThink() npcHandler:onThink() end
local voices = {
{ text = 'Ask me if you need help!' },
{ text = 'Buy and sell everything you want here!' },
{ text = 'No need to run from shop to shop, my place is all that\'s needed!' },
{ text = 'Special offers for premium customers!' }
}
npcHandler:addModule(VoiceModule:new(voices))
-- Basic keywords
keywordHandler:addKeyword({'name'}, StdModule.say, {npcHandler = npcHandler, text = 'My name is Lee\'Delle.'})
keywordHandler:addKeyword({'job'}, StdModule.say, {npcHandler = npcHandler, text = 'I\'m a merchant. If you like to see my offers, just ask me for a {trade}.'})
keywordHandler:addKeyword({'time'}, StdModule.say, {npcHandler = npcHandler, text = 'It\'s about |TIME|.'})
keywordHandler:addKeyword({'bank'}, StdModule.say, {npcHandler = npcHandler, text = 'Well, it\'s a good idea to leave most of your money in the bank and only take what you need. That way your gold is safe.'})
keywordHandler:addKeyword({'cookie'}, StdModule.say, {npcHandler = npcHandler, text = 'Oh no! I\'ve got to watch what I eat. {Lily} loves cookies, though.'})
keywordHandler:addKeyword({'merchant'}, StdModule.say, {npcHandler = npcHandler, text = 'There are many merchants in this village. Just ask them for a {trade} to see their offers. But I can promise you - my offers are the best around!'})
keywordHandler:addKeyword({'how', 'are', 'you'}, StdModule.say, {npcHandler = npcHandler, text = 'I\'m fine. I\'m delighted to welcome you as my customer.'})
keywordHandler:addKeyword({'information'}, StdModule.say, {npcHandler = npcHandler, text = 'What kind of information do you need? I could tell you about different topics such as {equipment}, {monsters} or {Rookgaard} in general.'})
keywordHandler:addKeyword({'help'}, StdModule.say, {npcHandler = npcHandler, text = 'How can I help you? Would you like to {trade} with me? I can also give you general {hints}. Or just ask me anything you\'d like to know.'})
keywordHandler:addKeyword({'tibia'}, StdModule.say, {npcHandler = npcHandler, text = 'You should really take some time and travel around the marvellous areas of Tibia. There\'s everything - ice islands, deserts, jungles and mountains!'})
keywordHandler:addKeyword({'temple'}, StdModule.say, {npcHandler = npcHandler, text = 'The temple is the place to go when you are very low on {health} or poisoned. Ask {Cipfried} for a heal - he usually notices emergencies by himself.'})
keywordHandler:addKeyword({'health'}, StdModule.say, {npcHandler = npcHandler, text = 'Health potions will heal you for about 75 hit points. It can\'t hurt to carry one with you, just in case.'})
keywordHandler:addKeyword({'equipment'}, StdModule.say, {npcHandler = npcHandler, text = 'Well, very important equipment would be a {backpack}, a {rope}, a {shovel}, a {weapon}, an {armor} and a {shield}. Maybe also a torch if you\'re heading into a dark {dungeon}.'})
keywordHandler:addKeyword({'fishing'}, StdModule.say, {npcHandler = npcHandler, text = 'I sell fishing rods and worms in case you want to go fishing. Simply ask me for a {trade}.'})
keywordHandler:addKeyword({'weapon'}, StdModule.say, {npcHandler = npcHandler, text = 'You could check out which weapons I offer by asking me for a {trade}. Don\'t be shy!'})
keywordHandler:addKeyword({'food'}, StdModule.say, {npcHandler = npcHandler, text = 'Oh, I\'m sorry, that\'s one of the things I don\'t have for sale. But {Willie} or {Billy} surely have something to eat for you.'})
keywordHandler:addKeyword({'king'}, StdModule.say, {npcHandler = npcHandler, text = 'The king supports our little village very much!'})
keywordHandler:addKeyword({'academy'}, StdModule.say, {npcHandler = npcHandler, text = 'In the academy you can get a lot of information from books. You can also try out a few things by yourself.'})
keywordHandler:addKeyword({'rookgaard'}, StdModule.say, {npcHandler = npcHandler, text = 'Isn\'t it lovely here? You\'ll be surprised once you reach the {mainland} - so much to explore!'})
keywordHandler:addKeyword({'mainland'}, StdModule.say, {npcHandler = npcHandler, text = 'Well, the mainland also consists of several continents. You can go there once you\'ve reached level 8 and talked to the {oracle}.'})
keywordHandler:addKeyword({'monster'}, StdModule.say, {npcHandler = npcHandler, text = 'Good monsters to start with are rats. They live in the {sewers} under the village of {Rookgaard}.'})
keywordHandler:addKeyword({'sell'}, StdModule.say, {npcHandler = npcHandler, text = 'Just ask me for a {trade} to see what I buy from you.'})
keywordHandler:addKeyword({'dungeon'}, StdModule.say, {npcHandler = npcHandler, text = 'Be careful down there! Make sure you bought enough {torches} and a {rope} or you might get lost.'})
keywordHandler:addKeyword({'sewer'}, StdModule.say, {npcHandler = npcHandler, text = 'There are many sewer entrances throughout Rookgaard. If you want to know more details about monsters and dungeons, best talk to one of the guards.'})
keywordHandler:addKeyword({'offer'}, StdModule.say, {npcHandler = npcHandler, text = 'Just ask me for a {trade} to see my offers. Apart from that, I also sell {footballs}.'})
keywordHandler:addAliasKeyword({'stuff'})
keywordHandler:addAliasKeyword({'wares'})
keywordHandler:addAliasKeyword({'buy'})
keywordHandler:addKeyword({'quest'}, StdModule.say, {npcHandler = npcHandler, text = 'I really love flowers. My favourites are {honey flowers}. Sadly, they are very rare on this isle. If you can find one for me, I\'ll give you a little reward.'})
keywordHandler:addAliasKeyword({'mission'})
keywordHandler:addKeyword({'armor'}, StdModule.say, {npcHandler = npcHandler, text = 'You could check out which armors or shields I offer by asking me for a {trade}. Don\'t be shy!'})
keywordHandler:addAliasKeyword({'shield'})
keywordHandler:addKeyword({'backpack'}, StdModule.say, {npcHandler = npcHandler, text = 'Yes, I\'m selling that. Simply ask me for a {trade} to view all my offers.'})
keywordHandler:addAliasKeyword({'rope'})
keywordHandler:addAliasKeyword({'shovel'})
keywordHandler:addAliasKeyword({'torch'})
keywordHandler:addKeyword({'money'}, StdModule.say, {npcHandler = npcHandler, text = 'Well, no gold, no deal. Earn gold by fighting {monsters} and picking up the things they carry. Sell it to {merchants} to make profit!'})
keywordHandler:addAliasKeyword({'gold'})
-- Names
keywordHandler:addKeyword({'hint'}, StdModule.rookgaardHints, {npcHandler = npcHandler})
keywordHandler:addKeyword({'obi'}, StdModule.say, {npcHandler = npcHandler, text = 'He sells {weapons}. However, I can offer you better deals than him!'})
keywordHandler:addKeyword({'norma'}, StdModule.say, {npcHandler = npcHandler, text = 'I\'m glad she stopped selling stuff. There was too much of a competition going on!'})
keywordHandler:addKeyword({'loui'}, StdModule.say, {npcHandler = npcHandler, text = 'Sometimes, I see him walking outside the village near some hole.'})
keywordHandler:addKeyword({'santiago'}, StdModule.say, {npcHandler = npcHandler, text = 'He dedicated his life to welcome newcomers to this island.'})
keywordHandler:addKeyword({'zirella'}, StdModule.say, {npcHandler = npcHandler, text = 'Poor old woman, her son {Tom} never visits her.'})
keywordHandler:addKeyword({'al', 'dee'}, StdModule.say, {npcHandler = npcHandler, text = 'Al Dee has a general {equipment} store in the north-western part of the village.'})
keywordHandler:addKeyword({'amber'}, StdModule.say, {npcHandler = npcHandler, text = 'She lives under the {academy}. Always nice to chat with her!'})
keywordHandler:addKeyword({'billy'}, StdModule.say, {npcHandler = npcHandler, text = 'He\'s a local farmer. If you need fresh {food} to regain health, it\'s a good place to go. He\'s only trading with premium adventurers, though.'})
keywordHandler:addKeyword({'willie'}, StdModule.say, {npcHandler = npcHandler, text = 'He\'s a local farmer. If you need fresh {food} to regain your health, it\'s a good place to go. However, many monsters carry also food such as meat. Or you could simply pick {blueberries}.'})
keywordHandler:addKeyword({'cipfried'}, StdModule.say, {npcHandler = npcHandler, text = 'Visiting Cipfried in the {temple} is a good idea if you are injured or poisoned. He can heal you.'})
keywordHandler:addKeyword({'dixi'}, StdModule.say, {npcHandler = npcHandler, text = 'She\'s {Obi\'s} granddaughter and deals with {armors} and {shields}, just as I do.'})
keywordHandler:addKeyword({'hyacinth'}, StdModule.say, {npcHandler = npcHandler, text = 'He mostly stays by himself. He\'s a hermit outside of town - good luck finding him.'})
keywordHandler:addKeyword({'lily'}, StdModule.say, {npcHandler = npcHandler, text = 'She buys all {blueberries} and {cookies} you can find.'})
keywordHandler:addKeyword({'oracle'}, StdModule.say, {npcHandler = npcHandler, text = 'You can find the oracle on the top floor of the {academy}, just above {Seymour}. Go there when you are level 8 to reach more areas of {Tibia}.'})
keywordHandler:addKeyword({'paulie'}, StdModule.say, {npcHandler = npcHandler, text = 'He is the {bank} clerk, just below the academy.'})
keywordHandler:addKeyword({'seymour'}, StdModule.say, {npcHandler = npcHandler, text = 'Seymour is a teacher running the {academy}. He has a lot of important {information} about Tibia.'})
keywordHandler:addKeyword({'tom'}, StdModule.say, {npcHandler = npcHandler, text = 'He\'s the local tanner. You could try selling fresh corpses or leather to him.'})
keywordHandler:addKeyword({'dallheim'}, StdModule.say, {npcHandler = npcHandler, text = 'He is a great warrior and our protector.'})
keywordHandler:addAliasKeyword({'zerbrus'})
-- Football
local footballKeyword = keywordHandler:addKeyword({'football'}, StdModule.say, {npcHandler = npcHandler, text = 'Do you want to buy a football for 111 gold?'})
footballKeyword:addChildKeyword({'yes'}, StdModule.say, {npcHandler = npcHandler, text = 'Here you go.', reset = true},
function(player) return player:getMoney() >= 111 end,
function(player)
if player:removeMoney(111) then
player:addItem(2109, 1)
end
end
)
footballKeyword:addChildKeyword({'yes'}, StdModule.say, {npcHandler = npcHandler, text = 'You don\'t have enough money.', reset = true})
footballKeyword:addChildKeyword({''}, StdModule.say, {npcHandler = npcHandler, text = 'Oh, but it\'s fun to play!', reset = true})
-- Honey Flower
keywordHandler:addKeyword({'honey', 'flower'}, StdModule.say, {npcHandler = npcHandler, text = 'Oh, thank you so much! Please take this piece of armor as reward.'},
function(player) return player:getItemCount(2103) > 0 end,
function(player) player:removeItem(2103, 1) player:addItem(2468, 1) end
)
keywordHandler:addKeyword({'honey', 'flower'}, StdModule.say, {npcHandler = npcHandler, text = 'Honey flowers are my favourites <sighs>.'})
npcHandler:setMessage(MESSAGE_WALKAWAY, 'Bye, bye.')
npcHandler:setMessage(MESSAGE_FAREWELL, 'Bye, bye, |PLAYERNAME|.')
npcHandler:setMessage(MESSAGE_SENDTRADE, 'Sure, take a look, honey.')
npcHandler:setMessage(MESSAGE_GREET, 'Nice to see you, |PLAYERNAME|! Ask me for a {trade} if you like to see my exclusive offers.')
npcHandler:addModule(FocusModule:new())
|
return {
version = "1.1",
luaversion = "5.1",
tiledversion = "1.0.3",
orientation = "orthogonal",
renderorder = "right-down",
width = 64,
height = 64,
tilewidth = 16,
tileheight = 16,
nextobjectid = 1,
properties = {},
tilesets = {
{
name = "tiles_s",
firstgid = 1,
tilewidth = 16,
tileheight = 16,
spacing = 1,
margin = 0,
image = "../images/tiles_s.png",
imagewidth = 50,
imageheight = 16,
tileoffset = {
x = 0,
y = 0
},
grid = {
orientation = "orthogonal",
width = 16,
height = 16
},
properties = {},
terrains = {},
tilecount = 3,
tiles = {}
}
},
layers = {
{
type = "tilelayer",
name = "foreground",
x = 0,
y = 0,
width = 64,
height = 64,
visible = true,
opacity = 1,
offsetx = 0,
offsety = 0,
properties = {
["solid"] = "0"
},
encoding = "lua",
data = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
}
},
{
type = "tilelayer",
name = "tiles-bg",
x = 0,
y = 0,
width = 64,
height = 64,
visible = true,
opacity = 1,
offsetx = 0,
offsety = 0,
properties = {
["solid"] = "0"
},
encoding = "lua",
data = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 2, 2, 2, 2, 2, 2, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 3, 3, 3, 3, 2, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 0, 0, 0, 0, 0, 2, 2, 2, 0, 0, 0, 0, 0, 0, 3, 3, 3, 3, 3, 3, 3, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 0, 0, 0, 0, 0, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 0, 0, 0, 0, 0, 3, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 0, 0, 0, 0, 0, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 0, 0, 0, 0, 0, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 0, 0, 0, 0, 0, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
}
},
{
type = "tilelayer",
name = "tiles-solid",
x = 0,
y = 0,
width = 64,
height = 64,
visible = true,
opacity = 1,
offsetx = 0,
offsety = 0,
properties = {
["solid"] = "1"
},
encoding = "lua",
data = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 2, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 2, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 0, 0, 0, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
}
}
}
}
|
--[[--------------------------------------------------------------------
Grid
Compact party and raid unit frames.
Copyright (c) 2006-2009 Kyle Smith (Pastamancer)
Copyright (c) 2009-2016 Phanx <[email protected]>
All rights reserved. See the accompanying LICENSE file for details.
https://github.com/Phanx/Grid
https://mods.curse.com/addons/wow/grid
http://www.wowinterface.com/downloads/info5747-Grid.html
------------------------------------------------------------------------
GridLocale-deDE.lua
German localization
Contributors: Alakabaster, derwanderer, Firuzz, kaybe, kunda, Leialyn, ole510
----------------------------------------------------------------------]]
if GetLocale() ~= "deDE" then return end
local _, Grid = ...
local L = { }
Grid.L = L
------------------------------------------------------------------------
-- GridCore
L["Debugging"] = "Debuggen"
L["Debugging messages help developers or testers see what is happening inside Grid in real time. Regular users should leave debugging turned off except when troubleshooting a problem for a bug report."] = "Debug-Nachrichten helfen Entwicklern und Testern zu sehen, was aktuell innerhalb von Grid passiert. Normale Bentzer sollten Debug-Nachrichten ausgeschaltet lassen, es sei denn, sie wollen ein Problem oder einen Fehler berichten."
L["Enable debugging messages for the %s module."] = "Debug-Nachrichten für das Modul %s aktivieren"
L["General"] = "Allgemein"
L["Module debugging menu."] = "Debug-Menü."
L["Open Grid's options in their own window, instead of the Interface Options window, when typing /grid or right-clicking on the minimap icon, DataBroker icon, or layout tab."] = "Die Optionen von Grid in einem alleinstehenden Fenster anzeigen, anstatt in den Interface-Optionen. Das Fenster wird angezeigt, wenn du '/grid' in den Chat eingibst mit der rechten Maustaste auf das Minikartensymbol, DataBroker-Symbol oder Grid-Reiter klickst."
L["Output Frame"] = "Ausgabefenster"
L["Right-Click for more options."] = "Rechtsklick für Optionen."
L["Show debugging messages in this frame."] = "Debug-Nachrichten in diesem Fenster anzeigen"
L["Show minimap icon"] = "Minikartenbutton anzeigen"
L["Show the Grid icon on the minimap. Note that some DataBroker display addons may hide the icon regardless of this setting."] = "Das Grid-Icon an der Minimap anzeigen. Beachte: Einige DataBroker-Addons können das Icon dennoch verstecken, unabhängig von dieser Einstellung."
L["Standalone options"] = "Alleinstehenden Optionen"
L["Toggle debugging for %s."] = "Aktiviere das Debuggen für %s."
------------------------------------------------------------------------
-- GridFrame
L["Adjust the font outline."] = "Den Schriftumriss anpassen."
L["Adjust the font settings"] = "Die Schriftart anpassen"
L["Adjust the font size."] = "Die Schriftgröße anpassen."
L["Adjust the height of each unit's frame."] = "Die Höhe von jedem Einheitenfenster anpassen."
L["Adjust the size of the border indicators."] = "Die Randbreite der Indikatoren anpassen."
L["Adjust the size of the center icon."] = "Die Größe des Symbols im Zentrum anpassen."
L["Adjust the size of the center icon's border."] = "Die Randbreite des Symbols im Zentrum anpassen."
L["Adjust the size of the corner indicators."] = "Die Größe der Eckenindikatoren anpassen."
L["Adjust the texture of each unit's frame."] = "Die Textur von jedem Einheitenfenster anpassen."
L["Adjust the width of each unit's frame."] = "Die Breite von jedem Einheitenfenster anpassen."
L["Always"] = "Immer"
L["Bar Options"] = "Leistenoptionen"
L["Border"] = "Rand"
L["Border Size"] = "Randbreite"
L["Bottom Left Corner"] = "Untere linke Ecke"
L["Bottom Right Corner"] = "Untere rechte Ecke"
L["Center Icon"] = "Symbol im Zentrum"
L["Center Text"] = "Text im Zentrum 1"
L["Center Text 2"] = "Text im Zentrum 2"
L["Center Text Length"] = "Länge des mittleren Textes"
L["Color the healing bar using the active status color instead of the health bar color."] = "Färbt die Heilleiste mit der Farbe des aktiven Status, anstelle der Heilleistenfarbe"
L["Corner Size"] = "Eckengröße"
L["Darken the text color to match the inverted bar."] = "Text abdunkeln, um der invertierten Leiste zu entsprechen." -- Needs review
L["Enable Mouseover Highlight"] = "Mausberührungshervorhebung"
L["Enable right-click menu"] = "Rechtsklick-Menü einschalten"
L["Enable %s"] = "%s aktivieren"
L["Enable %s indicator"] = "Indikator: %s"
L["Font"] = "Schriftart"
L["Font Outline"] = "Schriftumriss"
L["Font Shadow"] = "Schriftschatten"
L["Font Size"] = "Schriftgröße"
L["Frame"] = "Rahmen"
L["Frame Alpha"] = "Rahmentransparenz"
L["Frame Height"] = "Rahmenhöhe"
L["Frame Texture"] = "Rahmentextur"
L["Frame Width"] = "Rahmenbreite"
L["Healing Bar"] = "Heilleiste"
L["Healing Bar Opacity"] = "Heilleistendeckkraft"
L["Healing Bar Uses Status Color"] = "Heilleiste benutzt Statusfarbe"
L["Health Bar"] = "Gesundheitsleiste"
L["Health Bar Color"] = "Gesundheitsleistenfarbe"
L["Horizontal"] = "Horizontal"
L["Icon Border Size"] = "Symbolrandbreite"
L["Icon Cooldown Frame"] = "Symbol Cooldown-Rahmen" -- Needs review
L["Icon Options"] = "Symboloptionen"
L["Icon Size"] = "Symbolgröße"
L["Icon Stack Text"] = "Symbolstapeltext"
L["Indicators"] = "Indikatoren"
L["Invert Bar Color"] = "Leistenfarbe invertieren"
L["Invert Text Color"] = "Textfarbe invertieren"
L["Make the healing bar use the status color instead of the health bar color."] = "Die Heilungsleiste verwendet die Statusfarbe statt der Lebensbalkenfarbe"
L["Never"] = "Nie"
L["None"] = "Kein Umriss"
L["Number of characters to show on Center Text indicator."] = "Anzahl der Buchstaben der Indikatoren 'Text im Zentrum 1/2'."
L["OOC"] = "Außerhalb des Kampfes"
L["Options for assigning statuses to indicators."] = "Optionen für die Status-Indikatorzuordnung."
L["Options for GridFrame."] = "Optionen für den Grid-Rahmen."
L["Options for %s indicator."] = "Optionen für den Indikator: %s."
L["Options related to bar indicators."] = "Optionen für Leistenindikatoren."
L["Options related to icon indicators."] = "Optionen für Symbolindikatoren."
L["Options related to text indicators."] = "Optionen für Textindikatoren."
L["Orientation of Frame"] = "Ausrichtung der Statusleiste"
L["Orientation of Text"] = "Ausrichtung des Texts"
L["Set frame orientation."] = "Ausrichtung der Statusleiste festlegen."
L["Set frame text orientation."] = "Textausrichtung festlegen."
L["Sets the opacity of the healing bar."] = "Verändert die Deckkraft der Heilleiste."
L["Show the standard unit menu when right-clicking on a frame."] = "Zeige das standardmäßige Einheitenmenü bei Rechtsklick auf einen Rahmen."
L["Show Tooltip"] = "Tooltip anzeigen"
L["Show unit tooltip. Choose 'Always', 'Never', or 'OOC'."] = "Einheiten-Tooltip anzeigen. Wähle 'Außerhalb des Kampfes', 'Immer' oder 'Nie'."
L["Statuses"] = "Status"
L["Swap foreground/background colors on bars."] = "Tauscht die Vordergrund-/Hintergrundfarbe der Leisten."
L["Text Options"] = "Textoptionen"
L["Thick"] = "Dick"
L["Thin"] = "Dünn"
L["Throttle Updates"] = "Aktualisierung drosseln"
L["Throttle updates on group changes. This option may cause delays in updating frames, so you should only enable it if you're experiencing temporary freezes or lockups when people join or leave your group."] = [=[Drosselt die Aktualisiersrate bei Gruppenänderungen auf 0,1 Sekunden (Standard: sofort).
ACHTUNG:
Diese Option kann Verzögerungen bei der Rahmenaktualisierung verursachen. Deshalb sollte man diese Option nur aktivieren, wenn man temporäre Lags oder 'Hänger' hat, wenn Spieler der Gruppe beitreten oder sie verlassen.]=]
L["Toggle center icon's cooldown frame."] = "Cooldown-Rahmen für Symbol im Zentrum ein-/ausblenden."
L["Toggle center icon's stack count text."] = "Stack-Text für Symbol im Zentrum ein-/ausblenden."
L["Toggle mouseover highlight."] = "Rahmen Hervorhebung (Mouseover Highlight) ein-/ausschalten."
L["Toggle status display."] = "Aktiviert die Anzeige dieses Status."
L["Toggle the font drop shadow effect."] = "Schriftschatten ein-/ausschalten."
L["Toggle the %s indicator."] = "Aktiviert den Indikator: %s."
L["Top Left Corner"] = "Obere linke Ecke"
L["Top Right Corner"] = "Obere rechte Ecke"
L["Vertical"] = "Vertikal"
------------------------------------------------------------------------
-- GridLayout
L["10 Player Raid Layout"] = "Layout 10-Spieler-Schlachtzug"
L["25 Player Raid Layout"] = "Layout 25-Spieler-Schlachtzug"
L["40 Player Raid Layout"] = "Layout 40-Spieler-Schlachtzug"
L["Adjust background color and alpha."] = "Anpassen der Hintergrundfarbe und Transparenz."
L["Adjust border color and alpha."] = "Anpassen der Rahmenfarbe und Transparenz."
L["Adjust frame padding."] = "Zwischenabstand anpassen."
L["Adjust frame spacing."] = "Abstand anpassen."
L["Adjust Grid scale."] = "Skalierung anpassen."
L["Adjust the extra spacing inside the layout frame, around the unit frames."] = "Der Abstand innerhalb des Layoutfensters, rund um den Einheitfenstern, anpassen."
L["Adjust the spacing between individual unit frames."] = "Der Abstand zwischen den individuellen Einheitfenstern anpassen."
L["Advanced"] = "Erweitert"
L["Advanced options."] = "Erweiterte Einstellungen."
L["Allows mouse click through the Grid Frame."] = "Erlaubt Mausklicks durch den Grid-Rahmen."
L["Alt-Click to permanantly hide this tab."] = "Alt-Klick, um diesen Reiter immer zu verstecken."
-- L["Always hide wrong zone groups"] = ""
L["Arena Layout"] = "Layout Arena"
L["Background color"] = "Hintergrund"
L["Background Texture"] = "Hintergrundtextur"
L["Battleground Layout"] = "Layout Schlachtfeld"
L["Beast"] = "Wildtier"
L["Border color"] = "Rand"
L["Border Inset"] = "Einsätze des Rands"
L["Border Size"] = "Größe des Rands"
L["Border Texture"] = "Randtextur"
L["Bottom"] = "Unten"
L["Bottom Left"] = "Untenlinks"
L["Bottom Right"] = "Untenrechts"
L["By Creature Type"] = "Nach Kreaturtyp"
-- L["ByGroup Layout Options"] = ""
L["By Owner Class"] = "Nach Besitzerklasse"
L["Center"] = "Zentriert"
L["Choose the layout border texture."] = "Die Randtextur des Layouts auswählen."
L["Clamped to screen"] = "Im Bildschirm lassen"
L["Class colors"] = "Klassenfarben"
L["Click through the Grid Frame"] = "Durch Grid-Rahmen klicken"
L["Color for %s."] = "Farbe für %s."
L["Color of pet unit creature types."] = "Farbe für die verschiedenen Kreaturtypen."
L["Color of player unit classes."] = "Farbe für Spielerklassen."
L["Color of unknown units or pets."] = "Farbe für unbekannte Einheiten oder Begleiter."
L["Color options for class and pets."] = "Legt fest, wie Klassen und Begleiter eingefärbt werden."
L["Colors"] = "Farben"
L["Creature type colors"] = "Kreaturtypfarben"
L["Demon"] = "Dämon"
L["Dragonkin"] = "Drachkin"
L["Drag this tab to move Grid."] = "Reiter klicken und bewegen, um Grid zu verschieben."
L["Elemental"] = "Elementar"
L["Fallback colors"] = "Ersatzfarben"
L["Flexible Raid Layout"] = "Layout flexibler Schlachtzug"
L["Frame lock"] = "Grid sperren"
L["Frame Spacing"] = "Zwischenabstand"
L["Group Anchor"] = "Ankerpunkt der Gruppe"
L["Hide when in mythic raid instance"] = "In einer mythischen Schlachtzugsinstanz verstecken"
L["Hide when in raid instance"] = "In einer Schlachtzugsinstanz verstecken"
L["Horizontal groups"] = "Horizontal gruppieren"
L["Humanoid"] = "Humanoid"
L["Layout"] = "Layout"
L["Layout Anchor"] = "Ankerpunkt des Layouts"
L["Layout Background"] = "Hintergrund des Layouts"
L["Layout Padding"] = "Layoutsabstand"
L["Layouts"] = "Layouts"
L["Left"] = "Links"
L["Lock Grid to hide this tab."] = "'Grid sperren' um diesen Reiter zu verstecken."
L["Locks/unlocks the grid for movement."] = "Sperrt Grid oder entsperrt Grid, um den Rahmen zu verschieben."
L["Not specified"] = "Nicht spezifiziert"
L["Options for GridLayout."] = "Optionen für das Layout von Grid."
L["Padding"] = "Zwischenabstand"
L["Party Layout"] = "Layout Gruppe"
L["Pet color"] = "Begleiterfarbe"
L["Pet coloring"] = "Begleiterfärbung"
L["Reset Position"] = "Position zurücksetzen"
L["Resets the layout frame's position and anchor."] = "Setzt den Ankerpunkt und die Position des Layoutrahmens zurück."
L["Right"] = "Rechts"
L["Scale"] = "Skalierung"
L["Select which layout to use when in a 10 player raid."] = "Wähle, welches Layout verwendet werden soll, wenn Du in einem 10-Spieler-Schlachtzug bist."
L["Select which layout to use when in a 25 player raid."] = "Wähle, welches Layout verwendet werden soll, wenn Du in einem 25-Spieler-Schlachtzug bist."
L["Select which layout to use when in a 40 player raid."] = "Wähle, welches Layout verwendet werden soll, wenn Du in einem 40-Spieler-Schlachtzug bist."
L["Select which layout to use when in a battleground."] = "Wähle, welches Layout verwendet werden soll, wenn Du in einem Schlachtfeld bist."
L["Select which layout to use when in a flexible raid."] = "Wähle, welches Layout verwendet werden soll, wenn Du in einem flexiblen Schlachtzug bist."
L["Select which layout to use when in an arena."] = "Wähle, welches Layout verwendet werden soll, wenn Du in einer Arena bist."
L["Select which layout to use when in a party."] = "Wähle, welches Layout verwendet werden soll, wenn Du in einer Gruppe bist."
L["Select which layout to use when not in a party."] = "Wähle, welches Layout verwendet werden soll, wenn Du in keiner Gruppe bist."
L["Sets where Grid is anchored relative to the screen."] = "Setzt den Ankerpunkt von Grid relativ zum Bildschirm."
L["Sets where groups are anchored relative to the layout frame."] = "Setzt den Ankerpunkt der Gruppe relativ zum Layoutrahmen."
L["Set the coloring strategy of pet units."] = "Legt fest, wie die Begleiter eingefärbt werden."
L["Set the color of pet units."] = "Legt die Begleiterfarbe fest."
L["Show all groups"] = "Alle Gruppen zeigen"
L["Show a tab for dragging when Grid is unlocked."] = "Reiter immer anzeigen. (Egal ob Grid gesperrt oder entsperrt ist.)"
L["Show Frame"] = "Rahmen anzeigen"
L["Show groups with all players in wrong zone."] = "Zeigt Gruppen, in denen alle Spieler in einer falschen Zone sind."
L["Show groups with all players offline."] = "Zeigt Gruppen, in denen alle Spieler offline sind."
L["Show Offline"] = "Offline zeigen"
L["Show tab"] = "Reiter anzeigen"
L["Solo Layout"] = "Layout Solo"
L["Spacing"] = "Abstand"
L["Switch between horizontal/vertical groups."] = "Wechselt zwischen horizontaler/vertikaler Gruppierung."
L["The color of unknown pets."] = "Farbe für unbekannte Begleiter."
L["The color of unknown units."] = "Farbe für unbekannte Einheiten."
L["Toggle whether to permit movement out of screen."] = "Legt fest ob der Grid-Rahmen im Bildschirm bleiben soll."
L["Top"] = "Oben"
L["Top Left"] = "Obenlinks"
L["Top Right"] = "Obenrechts"
L["Undead"] = "Untoter"
L["Unknown Pet"] = "Unbekannter Begleiter"
L["Unknown Unit"] = "Unbekannte Einheit"
L["Use the 40 Player Raid layout when in a raid group outside of a raid instance, instead of choosing a layout based on the current Raid Difficulty setting."] = "Verwendet das Layout 40-Spieler-Schlachtzug, wenn du in einem Schlachtzug aber außerhalb einer Schlachtzugsinstanz bist, anstatt ein Layout nach der momentanen Schlachtzugsschwierigkeit auszuwählen."
L["Using Fallback color"] = "Nach Ersatzfarbe"
-- L["World Raid as 40 Player"] = ""
L["Wrong Zone"] = "Falsche Zone"
------------------------------------------------------------------------
-- GridLayoutLayouts
L["By Class 10"] = "10er nach Klasse"
L["By Class 10 w/Pets"] = "10er nach Klasse mit Begleitern"
L["By Class 25"] = "25er nach Klasse"
L["By Class 25 w/Pets"] = "25er nach Klasse mit Begleitern"
L["By Class 40"] = "40er nach Klasse"
L["By Class 40 w/Pets"] = "40er nach Klasse mit Begleitern"
L["By Group 10"] = "10er nach Gruppe"
L["By Group 10 w/Pets"] = "10er nach Gruppe mit Begleitern"
L["By Group 15"] = "15er nach Gruppe"
L["By Group 15 w/Pets"] = "15er nach Gruppe mit Begleitern"
L["By Group 25"] = "25er nach Gruppe"
L["By Group 25 w/Pets"] = "25er nach Gruppe mit Begleitern"
L["By Group 25 w/Tanks"] = "25er nach Gruppe mit Tanks"
L["By Group 40"] = "40er nach Gruppe"
L["By Group 40 w/Pets"] = "40er nach Gruppe mit Begleitern"
L["By Group 5"] = "5er nach Gruppe"
L["By Group 5 w/Pets"] = "5er nach Gruppe mit Begleitern"
L["None"] = "Ausblenden"
------------------------------------------------------------------------
-- GridLDB
L["Click to toggle the frame lock."] = "Linksklick, um Grid zu entsperren."
------------------------------------------------------------------------
-- GridStatus
L["Color"] = "Farbe"
L["Color for %s"] = "Farbe für %s"
L["Enable"] = "Aktivieren"
L["Opacity"] = "Deckkraft" -- Needs review
L["Options for %s."] = "Optionen für %s."
L["Priority"] = "Priorität"
L["Priority for %s"] = "Priorität für %s"
L["Range filter"] = "Entfernungsfilter"
L["Reset class colors"] = "Klassenfarben zurücksetzen"
L["Reset class colors to defaults."] = "Klassenfarben auf Standard zurücksetzen."
L["Show status only if the unit is in range."] = "Zeigen Sie den Status nur, wenn die Einheit in Reichweite befindet."
L["Status"] = "Status"
L["Status: %s"] = "Status: %s"
L["Text"] = "Text"
L["Text to display on text indicators"] = "Text, der in einem Textindikator angezeigt wird"
------------------------------------------------------------------------
-- GridStatusAbsorbs
L["Absorbs"] = "Absorptionen"
L["Only show total absorbs greater than this percent of the unit's maximum health."] = "Nur Absorptionen anzeigen, die größer sind als dieser Prozentsatz der maximalen Gesundheit einer Einheit." -- Needs review
------------------------------------------------------------------------
-- GridStatusAggro
L["Aggro"] = "Aggro"
L["Aggro alert"] = "Aggro-Alarm"
L["Aggro color"] = "Aggro Farbe"
L["Color for Aggro."] = "Farbe für 'Aggro'."
L["Color for High Threat."] = "Farbe für 'Hohe Bedrohung'."
L["Color for Tanking."] = "Farbe für 'Tanken'."
L["High"] = "Hoch"
L["High Threat color"] = "Farbe bei hoher Bedrohung"
L["Show detailed threat levels instead of simple aggro status."] = "Zeigt mehrere Bedrohungsstufen."
L["Tank"] = "Tank"
L["Tanking color"] = "Tanken Farbe"
L["Threat"] = "Bedrohung"
------------------------------------------------------------------------
-- GridStatusAuras
L["Add Buff"] = "Neuen Buff hinzufügen"
L["Add Debuff"] = "Neuen Debuff hinzufügen"
L["Auras"] = "Auren"
L["<buff name>"] = "<Buffname>"
L["Buff: %s"] = "Buff: %s"
L["Change what information is shown by the status color."] = "Ändere welche Information für die Statusfarbe angezeigt wird."
L["Change what information is shown by the status color and text."] = "Ändere welche Informationen für die Statusfarbe und den Statustext angezeigt werden."
L["Change what information is shown by the status text."] = "Ändere welche Information für den Statustext angezeigt wird."
L["Class Filter"] = "Klassenfilter"
L["Color"] = "Farbe"
L["Color to use when the %s is above the high count threshold values."] = "Farbe, welche genutzt wird wenn %s über dem hohem Schwellenwert liegt."
L["Color to use when the %s is between the low and high count threshold values."] = "Farbe, welche genutzt wird, wenn %s zwischen dem niedrigen und der hohem Schwellenwert liegt."
L["Color when %s is below the low threshold value."] = "Farbe, welche genutzt wird, wenn %s unter dem niedrigen Schwellenwert liegt"
L["Create a new buff status."] = "Fügt einen neuen Buff-Status hinzu."
L["Create a new debuff status."] = "Fügt einen neuen Debuff-Status hinzu."
L["Curse"] = "Fluch"
L["<debuff name>"] = "<Debuffname>"
L["(De)buff name"] = "(De)buff-Name"
L["Debuff: %s"] = "Debuff: %s"
L["Debuff type: %s"] = "Debufftyp: %s"
L["Disease"] = "Krankheit"
L["Display status only if the buff is not active."] = "Zeigt den Status nur an, wenn der Buff nicht aktiv ist."
L["Display status only if the buff was cast by you."] = "Zeigt den Status nur an, wenn Du ihn gezaubert hast."
L["Ghost"] = "Geistererscheinung"
L["High color"] = "Farbe für \"Hoch\""
L["High threshold"] = "Hoher Schwellwert"
L["Low color"] = "Farbe für \"Niedrig\""
L["Low threshold"] = "Niedriger Schwellwert"
L["Magic"] = "Magie"
L["Middle color"] = "Farbe für \"Mittig\""
L["Pet"] = "Begleiter"
L["Poison"] = "Gift"
L["Present or missing"] = "Vorhanden oder fehlend"
L["Refresh interval"] = "Aktualisierungsintervall"
L["Remove an existing buff or debuff status."] = "Löscht einen vorhandenen Buff oder Debuff."
L["Remove Aura"] = "Debuff/Buff löschen"
L["Remove %s from the menu"] = "Entfernt %s vom Menü"
L["%s colors"] = "%s Farben"
L["%s colors and threshold values."] = "%s Farben und Schwellenwerte"
L["Show advanced options"] = "Erweiterte Optionen zeigen"
L[ [=[Show advanced options for buff and debuff statuses.
Beginning users may wish to leave this disabled until you are more familiar with Grid, to avoid being overwhelmed by complicated options menus.]=] ] = [=[Zeigt erweiterte Einstellungen für Buff- und Debuff-Status
Beginner sollten diese Option deaktiviert lassen, solange sie noch keine Erfahrung mit Grid gemacht haben, um zu vielen und/oder komplizierten Menüs aus dem Weg zu gehen.]=]
L["Show duration"] = "Dauer anzeigen"
L["Show if mine"] = "Zeigen wenn es meiner ist"
L["Show if missing"] = "Zeigen wenn es fehlt"
L["Show on pets and vehicles."] = "Auf Begleitern und Fahrzeugen anzeigen"
L["Show on %s players."] = "Zeigt den Status für die Klasse: %s."
L["Show status for the selected classes."] = "Zeigt den Status für die ausgwählte Klasse."
L["Show the time left to tenths of a second, instead of only whole seconds."] = "Zeige die verbleibende Zeit in Zehntelsekunden, anstelle von ganzen Sekunden "
L["Show the time remaining, for use with the center icon cooldown."] = "Zeigt die Dauer im Cooldown-Rahmen (Symbol im Zentrum)."
L["Show time left to tenths"] = "Verbleibende Zeit in Zehntelsekunden anzeigen"
L["%s is high when it is at or above this value."] = "%s ist hoch wenn der Wert gleich oder höher ist."
L["%s is low when it is at or below this value."] = "%s ist niedrig wenn der Wert gleich oder höher ist."
L["Stack count"] = "Stapelanzahl"
L["Status Information"] = "Statusinformation"
L["Text"] = "Text"
L["Time in seconds between each refresh of the status time left."] = "Zeit in Sekunden zwischen jeder Aktualisierung des Status Zeit verbleiben."
L["Time left"] = "Verbleibende Zeit"
------------------------------------------------------------------------
-- GridStatusHeals
L["Heals"] = "Heilungen"
L["Ignore heals cast by you."] = "Ignoriert Heilungen die von Dir gezaubert werden."
L["Ignore Self"] = "Sich selbst ignorieren"
L["Incoming heals"] = "Eingehende Heilungen"
L["Minimum Value"] = "Mindestwert"
L["Only show incoming heals greater than this amount."] = "Nur eingehende Heilungen anzeigen, die grösser als dieser Wert sind."
------------------------------------------------------------------------
-- GridStatusHealth
L["Color deficit based on class."] = "Färbt das Defizit nach Klassenfarbe."
L["Color health based on class."] = "Färbt den Gesundheitsbalken in Klassenfarbe."
L["DEAD"] = "TOT"
L["Death warning"] = "Todeswarnung"
L["FD"] = "TG"
L["Feign Death warning"] = "Warnung wenn totgestellt"
L["Health"] = "Gesundheit"
L["Health deficit"] = "Gesundheitsdefizit"
L["Health threshold"] = "Gesundheitsgrenzwert"
L["Low HP"] = "Wenig HP"
L["Low HP threshold"] = "Wenig-HP-Grenzwert"
L["Low HP warning"] = "Wenig-HP-Warnung"
L["Offline"] = "Offline"
L["Offline warning"] = "Offlinewarnung"
L["Only show deficit above % damage."] = "Zeigt Defizit bei mehr als % Schaden."
L["Set the HP % for the low HP warning."] = "Setzt den % Grenzwert für die Wenig-HP-Warnung."
L["Show dead as full health"] = "Zeige Tote mit voller Gesundheit an"
L["Treat dead units as being full health."] = "Behandle Tote als hätten sie volle Gesundheit."
L["Unit health"] = "Gesundheit"
L["Use class color"] = "Benutze Klassenfarbe"
------------------------------------------------------------------------
-- GridStatusMana
L["Low Mana"] = "Wenig Mana"
L["Low Mana warning"] = "Wenig-Mana-Warnung"
L["Mana"] = "Mana"
L["Mana threshold"] = "Mana Grenzwert"
L["Set the percentage for the low mana warning."] = "Setzt den % Grenzwert für die Wenig-Mana-Warnung."
------------------------------------------------------------------------
-- GridStatusName
L["Color by class"] = "Nach Klasse einfärben"
L["Unit Name"] = "Namen"
------------------------------------------------------------------------
-- GridStatusRange
L["Out of Range"] = "Außer Reichweite"
L["Range"] = "Entfernung"
L["Range check frequency"] = "Häufigkeit der Reichweitenmessung"
L["Seconds between range checks"] = "Sekunden zwischen den Reichweitenmessungen"
------------------------------------------------------------------------
-- GridStatusReadyCheck
L["?"] = "?"
L["AFK"] = "AFK"
L["AFK color"] = "AFK Farbe"
L["Color for AFK."] = "Farbe für 'AFK'."
L["Color for Not Ready."] = "Farbe für 'Nicht bereit'."
L["Color for Ready."] = "Farbe für 'Bereit'."
L["Color for Waiting."] = "Farbe für 'Warten'."
L["Delay"] = "Verzögerung"
L["Not Ready color"] = "Nicht bereit Farbe"
L["R"] = "OK"
L["Ready Check"] = "Bereitschaftscheck"
L["Ready color"] = "Bereit Farbe"
L["Set the delay until ready check results are cleared."] = "Zeit, bis die Bereitschaftscheck-Ergebnisse gelöscht werden."
L["Waiting color"] = "Warten Farbe"
L["X"] = "X"
------------------------------------------------------------------------
-- GridStatusResurrect
L["Casting color"] = "Farbe: Wirken"
L["Pending color"] = "Farbe: Abwarten"
L["RES"] = "REZ"
L["Resurrection"] = "Wiederbelebung"
L["Show the status until the resurrection is accepted or expires, instead of only while it is being cast."] = "Zeigen den Status bis die Wiederbelebung akzeptiert wurde oder abgelaufen ist, anstatt es nur währen des zauberns zu tun."
L["Show until used"] = "Zeige bis benutzt"
L["Use this color for resurrections that are currently being cast."] = "Nutze diese Farbe für die Wiederbelebungen, die zur Zeit gezaubert werden."
L["Use this color for resurrections that have finished casting and are waiting to be accepted."] = "Nutze diese Farbe für Wiederbelebungen die fertige gezaubert wurden und darauf warten angenommen zuwerden."
------------------------------------------------------------------------
-- GridStatusTarget
L["Target"] = "Ziel"
L["Your Target"] = "Dein Ziel"
------------------------------------------------------------------------
-- GridStatusVehicle
L["Driving"] = "Fährt"
L["In Vehicle"] = "In Fahrzeug"
------------------------------------------------------------------------
-- GridStatusVoiceComm
L["Talking"] = "Redet"
L["Voice Chat"] = "Sprachchat"
|
--[[dividerData = {
type = "divider",
width = "full", -- or "half" (optional)
height = 10, -- (optional)
alpha = 0.25, -- (optional)
reference = "MyAddonDivider" -- unique global reference to control (optional)
} ]]
local widgetVersion = 2
local LAM = LibAddonMenu2
if not LAM:RegisterWidget("divider", widgetVersion) then return end
local wm = WINDOW_MANAGER
local MIN_HEIGHT = 10
local MAX_HEIGHT = 50
local MIN_ALPHA = 0
local MAX_ALPHA = 1
local DEFAULT_ALPHA = 0.25
local function GetValueInRange(value, min, max, default)
if not value or type(value) ~= "number" then
return default
end
return math.min(math.max(min, value), max)
end
function LAMCreateControl.divider(parent, dividerData, controlName)
local control = LAM.util.CreateBaseControl(parent, dividerData, controlName)
local isHalfWidth = control.isHalfWidth
local width = control:GetWidth()
local height = GetValueInRange(dividerData.height, MIN_HEIGHT, MAX_HEIGHT, MIN_HEIGHT)
local alpha = GetValueInRange(dividerData.alpha, MIN_ALPHA, MAX_ALPHA, DEFAULT_ALPHA)
control:SetDimensions(isHalfWidth and width / 2 or width, height)
control.divider = wm:CreateControlFromVirtual(nil, control, "ZO_Options_Divider")
local divider = control.divider
divider:SetWidth(isHalfWidth and width / 2 or width)
divider:SetAnchor(TOPLEFT)
divider:SetAlpha(alpha)
return control
end
|
local combat = Combat()
combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)
combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_ICEAREA)
combat:setArea(createCombatArea(AREA_SHORTWAVE3))
function onGetFormulaValues(player, level, maglevel)
local min = (level / 5) + (maglevel * 4.5) + 20
local max = (level / 5) + (maglevel * 7.6) + 48
return -min, -max
end
combat:setCallback(CALLBACK_PARAM_LEVELMAGICVALUE, "onGetFormulaValues")
local spell = Spell("instant")
function spell.onCastSpell(creature, var)
return combat:execute(creature, var)
end
spell:group("attack")
spell:id(43)
spell:name("Strong Ice Wave")
spell:words("exevo gran frigo hur")
spell:level(40)
spell:mana(170)
spell:needDirection(true)
spell:cooldown(8 * 1000)
spell:groupCooldown(2 * 1000)
spell:needLearn(false)
spell:vocation("druid;true", "elder druid;true")
spell:register() |
abyssal_underlord_dark_rift_oaa = class( AbilityBaseClass )
LinkLuaModifier( "modifier_abyssal_underlord_dark_rift_oaa_timer", "abilities/oaa_dark_rift.lua", LUA_MODIFIER_MOTION_NONE )
LinkLuaModifier( "modifier_abyssal_underlord_dark_rift_oaa_portal", "abilities/oaa_dark_rift.lua", LUA_MODIFIER_MOTION_NONE )
--------------------------------------------------------------------------------
function abyssal_underlord_dark_rift_oaa:GetAOERadius()
return self:GetSpecialValueFor( "radius" )
end
--------------------------------------------------------------------------------
function abyssal_underlord_dark_rift_oaa:GetCastAnimation()
return ACT_DOTA_CAST_ABILITY_4
end
--------------------------------------------------------------------------------
function abyssal_underlord_dark_rift_oaa:GetAssociatedPrimaryAbilities()
return "abyssal_underlord_cancel_dark_rift_oaa"
end
--------------------------------------------------------------------------------
function abyssal_underlord_dark_rift_oaa:OnUpgrade()
local caster = self:GetCaster()
local spell = caster:FindAbilityByName( self:GetAssociatedPrimaryAbilities() )
if spell then
-- if the spell hasn't be upgraded yet
-- init the disabled state
if spell:GetLevel() then
spell:SetActivated( false )
end
-- upgrade the subspell
spell:SetLevel( self:GetLevel() )
end
end
--------------------------------------------------------------------------------
function abyssal_underlord_dark_rift_oaa:OnSpellStart()
local caster = self:GetCaster()
local originCaster = caster:GetAbsOrigin()
local duration = self:GetSpecialValueFor( "portal_duration" )
local pos = self:GetCursorPosition()
local team = caster:GetTeamNumber()
local minRange = self:GetSpecialValueFor( "minimum_range" )
local vectorTarget = pos - originCaster
-- if the target point is too close, push it out to minimum range
if vectorTarget:Length2D() < minRange then
pos = originCaster + ( vectorTarget:Normalized() * minRange )
end
local thinker1 = CreateModifierThinker( caster, self, "modifier_abyssal_underlord_dark_rift_oaa_portal", {
targetX = pos.x,
targetY = pos.y,
},
originCaster, team, false )
-- for the sake of sanity in regards to the cancel subspell
-- as well as a neat detail where you can keep track of the portals' duration
-- we'll add a timer modifier that actually handles the portals' duration
-- instead of, y'know, making the portals handle it themselves
local mod = caster:AddNewModifier( caster, self, "modifier_abyssal_underlord_dark_rift_oaa_timer", {
duration = duration,
} )
-- link the modifiers together
-- CreateModifierThinker returns the thinker unit, not the modifier
mod.modPortal = thinker1:FindModifierByName( "modifier_abyssal_underlord_dark_rift_oaa_portal" )
end
--------------------------------------------------------------------------------
modifier_abyssal_underlord_dark_rift_oaa_timer = class( ModifierBaseClass )
--------------------------------------------------------------------------------
function modifier_abyssal_underlord_dark_rift_oaa_timer:IsHidden()
return false
end
function modifier_abyssal_underlord_dark_rift_oaa_timer:IsDebuff()
return false
end
function modifier_abyssal_underlord_dark_rift_oaa_timer:IsPurgable()
return false
end
function modifier_abyssal_underlord_dark_rift_oaa_timer:RemoveOnDeath()
return false
end
function modifier_abyssal_underlord_dark_rift_oaa_timer:GetAttributes()
return MODIFIER_ATTRIBUTE_MULTIPLE
end
--------------------------------------------------------------------------------
if IsServer() then
function modifier_abyssal_underlord_dark_rift_oaa_timer:OnCreated( event )
local caster = self:GetCaster()
local spell = self:GetAbility()
local spell2 = caster:FindAbilityByName( spell:GetAssociatedPrimaryAbilities() )
-- activate the sub spell
if spell2 then
spell2:SetActivated( true )
end
end
--------------------------------------------------------------------------------
function modifier_abyssal_underlord_dark_rift_oaa_timer:OnDestroy()
local caster = self:GetCaster()
-- if the linked portals exists, destroy them
if self.modPortal and not self.modPortal:IsNull() then
self.modPortal:Destroy()
end
local spell = self:GetAbility()
local spell2 = caster:FindAbilityByName( spell:GetAssociatedPrimaryAbilities() )
if spell2 then
-- don't deactivate subspell if caster has a second
-- instance of this modifier
if not caster:HasModifier( self:GetName() ) then
spell2:SetActivated( false )
end
end
end
end
--------------------------------------------------------------------------------
modifier_abyssal_underlord_dark_rift_oaa_portal = class( ModifierBaseClass )
--------------------------------------------------------------------------------
function modifier_abyssal_underlord_dark_rift_oaa_portal:IsHidden()
return true
end
function modifier_abyssal_underlord_dark_rift_oaa_portal:IsDebuff()
return false
end
function modifier_abyssal_underlord_dark_rift_oaa_portal:IsPurgable()
return false
end
--------------------------------------------------------------------------------
if IsServer() then
function modifier_abyssal_underlord_dark_rift_oaa_portal:OnCreated( event )
local parent = self:GetParent()
local caster = self:GetCaster()
local spell = self:GetAbility()
self.radius = spell:GetSpecialValueFor( "radius" )
self.originSecond = GetGroundPosition( Vector( event.targetX, event.targetY, 0 ), caster )
local originParent = parent:GetAbsOrigin()
-- create portal particles
self.partPortal1 = ParticleManager:CreateParticle( "particles/units/heroes/heroes_underlord/abyssal_underlord_dark_rift_portal.vpcf", PATTACH_WORLDORIGIN, parent )
ParticleManager:SetParticleControl( self.partPortal1, 0, originParent )
ParticleManager:SetParticleControl( self.partPortal1, 2, originParent )
ParticleManager:SetParticleControl( self.partPortal1, 1, Vector( self.radius, 1, 1 ) )
self.partPortal2 = ParticleManager:CreateParticle( "particles/units/heroes/heroes_underlord/abyssal_underlord_dark_rift_portal.vpcf", PATTACH_WORLDORIGIN, parent )
ParticleManager:SetParticleControl( self.partPortal2, 0, self.originSecond )
ParticleManager:SetParticleControl( self.partPortal2, 2, self.originSecond )
ParticleManager:SetParticleControl( self.partPortal2, 1, Vector( self.radius, 1, 1 ) )
-- play cast sounds
parent:EmitSound( "Hero_AbyssalUnderlord.DarkRift.Cast" )
EmitSoundOnLocationWithCaster( self.originSecond, "Hero_AbyssalUnderlord.DarkRift.Cast", parent )
-- destroy trees
GridNav:DestroyTreesAroundPoint( originParent, self.radius, true )
GridNav:DestroyTreesAroundPoint( self.originSecond, self.radius, true )
self:StartIntervalThink( spell:GetSpecialValueFor( "teleport_delay" ) )
end
--------------------------------------------------------------------------------
function modifier_abyssal_underlord_dark_rift_oaa_portal:OnIntervalThink()
local parent = self:GetParent()
local spell = self:GetAbility()
local originParent = parent:GetAbsOrigin()
local team = parent:GetTeamNumber()
-- destroy all trees in portals
GridNav:DestroyTreesAroundPoint( originParent, self.radius, true )
GridNav:DestroyTreesAroundPoint( self.originSecond, self.radius, true )
-- play teleporation sounds
parent:EmitSound( "Hero_AbyssalUnderlord.DarkRift.Aftershock" )
EmitSoundOnLocationWithCaster( self.originSecond, "Hero_AbyssalUnderlord.DarkRift.Aftershock", parent )
-- emit warp particles
local part = ParticleManager:CreateParticle( "particles/units/heroes/heroes_underlord/abbysal_underlord_darkrift_warp.vpcf", PATTACH_WORLDORIGIN, parent )
ParticleManager:SetParticleControl( part, 1, Vector( self.radius, 1, 1 ) )
ParticleManager:SetParticleControl( part, 2, originParent )
part = ParticleManager:CreateParticle( "particles/units/heroes/heroes_underlord/abbysal_underlord_darkrift_warp.vpcf", PATTACH_WORLDORIGIN, parent )
ParticleManager:SetParticleControl( part, 1, Vector( self.radius, 1, 1 ) )
ParticleManager:SetParticleControl( part, 2, self.originSecond )
local targetTeam = spell:GetAbilityTargetTeam()
local targetType = spell:GetAbilityTargetType()
local targetFlags = bit.bor( DOTA_UNIT_TARGET_FLAG_MAGIC_IMMUNE_ENEMIES, DOTA_UNIT_TARGET_FLAG_PLAYER_CONTROLLED )--spell:GetAbilityTargetFlags()
-- find the units in both portals
local unitsPortal1 = FindUnitsInRadius(
team,
originParent,
nil,
self.radius,
targetTeam,
targetType,
targetFlags,
FIND_ANY_ORDER,
false
)
local unitsPortal2 = FindUnitsInRadius(
team,
self.originSecond,
nil,
self.radius,
targetTeam,
targetType,
targetFlags,
FIND_ANY_ORDER,
false
)
local unitsAll = {}
local function FindInTable( t, target )
for k, v in pairs( t ) do
if v == target then
return k
end
end
return nil
end
local function CheckRiftTeleport( unit )
return not FindInTable( unitsAll, unit ) and not unit:IsRooted() and ( not unit:IsOpposingTeam( parent:GetTeamNumber() ) or not unit:HasModifier( "modifier_fountain_aura_buff" ) )
end
-- if the unit hasn't been telported by a previous portal, retain its old position and put it at its new one
for _, unit in pairs( unitsPortal1 ) do
if CheckRiftTeleport( unit ) then
unit.tempOriginOld = unit:GetAbsOrigin()
local vectorOffset = unit:GetAbsOrigin() - originParent
unit:SetAbsOrigin( self.originSecond + vectorOffset )
table.insert( unitsAll, unit )
end
end
for _, unit in pairs( unitsPortal2 ) do
if CheckRiftTeleport( unit ) then
unit.tempOriginOld = unit:GetAbsOrigin()
local vectorOffset = unit:GetAbsOrigin() - self.originSecond
unit:SetAbsOrigin( originParent + vectorOffset )
table.insert( unitsAll, unit )
end
end
-- final touches, such as making sure units aren't in unpathable terrain
for _, unit in pairs( unitsAll ) do
FindClearSpaceForUnit( unit, unit:GetAbsOrigin(), true )
local originUnit = unit:GetAbsOrigin()
part = ParticleManager:CreateParticle( "particles/units/heroes/heroes_underlord/abbysal_underlord_darkrift_ambient_end.vpcf", PATTACH_ABSORIGIN_FOLLOW, unit )
ParticleManager:SetParticleControl( part, 2, unit.tempOriginOld )
ParticleManager:SetParticleControl( part, 5, unit.tempOriginOld )
unit.tempOriginOld = nil
-- interrupt the unit, so that channeled abilities won't keep channeling
unit:Interrupt()
end
end
--------------------------------------------------------------------------------
function modifier_abyssal_underlord_dark_rift_oaa_portal:OnDestroy()
ParticleManager:DestroyParticle( self.partPortal1, false )
ParticleManager:ReleaseParticleIndex( self.partPortal1 )
ParticleManager:DestroyParticle( self.partPortal2, false )
ParticleManager:ReleaseParticleIndex( self.partPortal2 )
UTIL_Remove( self:GetParent() )
end
end |
local neuron = {weights = nil, bias = nil, transfer_function}
local matrix = require "matrix"
local cmath = require "cmath"
function neurom:new(n_features, set_bias, set_transfer)
local result ={}
setmetatable(result,self)
self.__index = self
self.weights = matrix.one(n_features,1)
self.bias = set_bias
self.transfer_function = set_transfer
return result
end
function neruron:activate(X)
local result = (X * (self.weights)) + self.bias
print(self.weights)
local output = self.transfer_function(result)
return output
end
return neuron |
plr = game.Players.LocalPlayer
loc = plr.PERKS
perks = true
loc.POINTS.Value = perks
loc.DAMAGE.Value = perks
loc.HEALTH.Value= perks
loc.GOLD.Value = perks
loc.ENERGY.Value = perks
loc.ARMOR.Value = perks
loc.PEACEFUL.Value = perks
loc.DOUBLEMINE.Value = perks
loc.DOUBLEKILLS.Value = perks
loc.FLAMEHEAD.Value = perks
loc.DOUBLEWOOD.Value = perks
loc.DOUBLEKINGVOTE.Value = perks
loc.DOUBLEGATEDAMAGE.Value = perks
loc.DOUBLEOUTPOST.Value = perks
loc.FLAMESWORD.Value = perks
loc.TEMP_KILLS.Value = perks |
-- ========== THIS IS AN AUTOMATICALLY GENERATED FILE! ==========
DefineConst{
group = "Buildings",
help = T(4698, --[[ConstDef Buildings BuildingDailyDustAccumulation help]] "Dust accumulation per Sol"),
id = "BuildingDailyDustAccumulation",
name = T(4699, --[[ConstDef Buildings BuildingDailyDustAccumulation name]] "Building dust accumulation per Sol"),
value = 5000,
}
DefineConst{
group = "Buildings",
help = T(4696, --[[ConstDef Buildings BuildingDailyDustMaxPercents help]] "Maximum dust accumulated per Sol"),
id = "BuildingDailyDustMaxPercents",
name = T(4697, --[[ConstDef Buildings BuildingDailyDustMaxPercents name]] "Building dust max percentage per Sol"),
value = 30,
}
DefineConst{
group = "Buildings",
help = T(4700, --[[ConstDef Buildings BuildingDailyDustMin help]] "Minimum dust accumulated per Sol"),
id = "BuildingDailyDustMin",
name = T(4701, --[[ConstDef Buildings BuildingDailyDustMin name]] "Building dust min per Sol"),
value = 100,
}
DefineConst{
group = "Buildings",
help = T(4702, --[[ConstDef Buildings BuildingDustModifier help]] "Modifier applied to dust accumulated by buildings"),
id = "BuildingDustModifier",
name = T(4703, --[[ConstDef Buildings BuildingDustModifier name]] "Building dust modifier"),
value = 100,
}
DefineConst{
group = "Buildings",
help = T(4704, --[[ConstDef Buildings BuildingMaintenancePointsModifier help]] "Modifier applied to maintenance points accumulated by buildings"),
id = "BuildingMaintenancePointsModifier",
name = T(4705, --[[ConstDef Buildings BuildingMaintenancePointsModifier name]] "Building maintenance points modifier"),
value = 100,
}
DefineConst{
group = "Buildings",
help = T(4706, --[[ConstDef Buildings CommandCenterMaxDrones help]] "Maximum number of Drones a Drone Hub can control"),
id = "CommandCenterMaxDrones",
name = T(4707, --[[ConstDef Buildings CommandCenterMaxDrones name]] "Command center max Drones"),
value = 20,
}
DefineConst{
group = "Buildings",
help = T(8632, --[[ConstDef Buildings ConstructionNanitesTimeDelta help]] "How often the construction nanite tech picks up resources from nearby storages."),
id = "ConstructionNanitesTimeDelta",
name = T(8633, --[[ConstDef Buildings ConstructionNanitesTimeDelta name]] "Construction Nanites Time Delta"),
value = 3000,
}
DefineConst{
group = "Buildings",
help = T(4710, --[[ConstDef Buildings CropFailThreshold help]] "Average performance of Farms required for Crops to succeed"),
id = "CropFailThreshold",
name = T(4711, --[[ConstDef Buildings CropFailThreshold name]] "Crop fail threshold"),
value = 25,
}
DefineConst{
group = "Buildings",
help = T(4708, --[[ConstDef Buildings LargeBuildingHexes help]] "Buildings with this many or more hexes are considered 'large' (affects Dust Devils' paths and dust accumulation during them)"),
id = "LargeBuildingHexes",
name = T(4709, --[[ConstDef Buildings LargeBuildingHexes name]] "Large building hexes"),
value = 12,
}
DefineConst{
group = "Buildings",
help = T(4712, --[[ConstDef Buildings PipesPillarSpacing help]] "When building pipes, every 'PipesPillarSpacing'-th pipe will have a support pillar underneath it"),
id = "PipesPillarSpacing",
name = T(4713, --[[ConstDef Buildings PipesPillarSpacing name]] "Pipes pillar spacing"),
value = 4,
}
DefineConst{
group = "Buildings",
help = T(4694, --[[ConstDef Buildings RechargeStationTimeMod help]] "Time multiplier only when recharging from a station"),
id = "RechargeStationTimeMod",
name = T(4695, --[[ConstDef Buildings RechargeStationTimeMod name]] "Recharge station time mod"),
value = 100,
}
DefineConst{
group = "Camera",
id = "DefaultFovX_16_9",
scale = "degrees",
value = 4200,
}
DefineConst{
group = "Camera",
id = "OverviewFovX_16_9",
scale = "degrees",
value = 1560,
}
DefineConst{
group = "Camera",
help = "",
id = "OverviewFovX_4_3",
name = "",
scale = "degrees",
value = 1440,
}
DefineConst{
group = "Colonist",
help = T(4758, --[[ConstDef Colonist ApplicantsPoolStartingSize help]] "Applicants pool starting size"),
id = "ApplicantsPoolStartingSize",
name = T(4759, --[[ConstDef Colonist ApplicantsPoolStartingSize name]] "Applicants pool starting size"),
value = 100,
}
DefineConst{
group = "Colonist",
id = "BirthThreshold",
name = T(337606533515, --[[ConstDef Colonist BirthThreshold name]] "Threshold of accumulated stat points to trigger birth of a new Colonist"),
scale = "Needs",
value = 1000000,
}
DefineConst{
group = "Colonist",
help = T(691313621108, --[[ConstDef Colonist ForcedByUserLockTimeout help]] "Lock time to Workplace, Residence, Dome selected by user"),
id = "ForcedByUserLockTimeout",
name = T(492281705322, --[[ConstDef Colonist ForcedByUserLockTimeout name]] "ForcedByUserLockTimeout"),
scale = "sols",
value = 3600000,
}
DefineConst{
group = "Colonist",
help = T(237836219339, --[[ConstDef Colonist FundingFromTourist help]] "Funding received from each tourist when landing on Mars (in M)"),
id = "FundingFromTourist",
name = T(884220740845, --[[ConstDef Colonist FundingFromTourist name]] "FundingFromTourist"),
value = 10,
}
DefineConst{
group = "Colonist",
help = T(8805, --[[ConstDef Colonist NonHomeDomePerformancePenalty help]] "Performance penalty for colonists working in another connected dome"),
id = "NonHomeDomePerformancePenalty",
name = T(8806, --[[ConstDef Colonist NonHomeDomePerformancePenalty name]] "Connected dome performance penalty"),
value = 10,
}
DefineConst{
group = "Colonist",
help = T(4740, --[[ConstDef Colonist NonSpecialistPerformancePenalty help]] "Performance penalty for non-Specialists assigned to a specialized work position"),
id = "NonSpecialistPerformancePenalty",
name = T(4741, --[[ConstDef Colonist NonSpecialistPerformancePenalty name]] "Non-specialist performance penalty"),
value = 50,
}
DefineConst{
group = "Colonist",
help = T(4761, --[[ConstDef Colonist Other_gender_chance help]] "The chance to generate a Colonist with 'Other' sex"),
id = "Other_gender_chance",
name = T(4762, --[[ConstDef Colonist Other_gender_chance name]] "'Other' sex chance"),
value = 1,
}
DefineConst{
group = "Colonist",
help = T(603743631388, --[[ConstDef Colonist ProjectMorphiousPositiveTraitChance help]] "Chance to get positive trait when Resting and ProjectMorpheus is active"),
id = "ProjectMorphiousPositiveTraitChance",
name = T(580388115170, --[[ConstDef Colonist ProjectMorphiousPositiveTraitChance name]] "ProjectMorpheusPositiveTraitChance"),
value = 2,
}
DefineConst{
group = "Colonist",
id = "TimeBeforeStarving",
name = T(4760, --[[ConstDef Colonist TimeBeforeStarving name]] "Time before starting to starve"),
scale = "hours",
value = 1080000,
}
DefineConst{
group = "Colonist",
help = T(850859674012, --[[ConstDef Colonist TouristSolsOnMars help]] "The number of sols that tourists stay on Mars."),
id = "TouristSolsOnMars",
name = T(432745681792, --[[ConstDef Colonist TouristSolsOnMars name]] "TouristSolsOnMars"),
value = 5,
}
DefineConst{
group = "Colonist",
id = "VisitFailPenalty",
name = T(4763, --[[ConstDef Colonist VisitFailPenalty name]] "Comfort penalty when failing to satisfy a need via a visit"),
scale = "Stat",
value = 10000,
}
DefineConst{
group = "Colonist",
id = "botanist_arrival_chance",
name = T(4748, --[[ConstDef Colonist botanist_arrival_chance name]] "Arrival chance (Botanist)"),
value = 12,
}
DefineConst{
group = "Colonist",
help = T(4756, --[[ConstDef Colonist cloning_points help]] "Cloning points at full performance per hour"),
id = "cloning_points",
name = T(4757, --[[ConstDef Colonist cloning_points name]] "Cloning points"),
value = 20,
}
DefineConst{
group = "Colonist",
help = T(4752, --[[ConstDef Colonist eat_food_per_visit help]] "Food eaten per visit to building, Farm or stockpile"),
id = "eat_food_per_visit",
name = T(4753, --[[ConstDef Colonist eat_food_per_visit name]] "Food used per visit"),
scale = "Resources",
value = 200,
}
DefineConst{
group = "Colonist",
id = "engineer_arrival_chance",
name = T(4745, --[[ConstDef Colonist engineer_arrival_chance name]] "Arrival chance (Engineer)"),
value = 12,
}
DefineConst{
group = "Colonist",
id = "geologist_arrival_chance",
name = T(4747, --[[ConstDef Colonist geologist_arrival_chance name]] "Arrival chance (Geologist)"),
value = 12,
}
DefineConst{
group = "Colonist",
id = "medic_arrival_chance",
name = T(4749, --[[ConstDef Colonist medic_arrival_chance name]] "Arrival chance (Medic)"),
value = 6,
}
DefineConst{
group = "Colonist",
help = T(4754, --[[ConstDef Colonist positive_playground_chance help]] "Colonist's chance to get a Perk when grown if they’ve visited a playground as a child"),
id = "positive_playground_chance",
name = T(4755, --[[ConstDef Colonist positive_playground_chance name]] "Chance to get a Perk"),
value = 100,
}
DefineConst{
group = "Colonist",
id = "scientist_arrival_chance",
name = T(4744, --[[ConstDef Colonist scientist_arrival_chance name]] "Arrival chance (Scientist)"),
value = 16,
}
DefineConst{
group = "Colonist",
id = "security_arrival_chance",
name = T(4746, --[[ConstDef Colonist security_arrival_chance name]] "Arrival chance (Officer)"),
value = 6,
}
DefineConst{
group = "Colonist",
help = T(4750, --[[ConstDef Colonist specialist_chance_mul help]] "Multiplier for arrival chances of all Specialist types"),
id = "specialist_chance_mul",
name = T(4751, --[[ConstDef Colonist specialist_chance_mul name]] "Specialist chance multiplier"),
value = 100,
}
DefineConst{
group = "Cost",
help = T(4716, --[[ConstDef Cost Concrete_cost_modifier help]] "All building construction costs in Concrete will be modified by this percent"),
id = "Concrete_cost_modifier",
name = T(4717, --[[ConstDef Cost Concrete_cost_modifier name]] "Cost modifier (Concrete)"),
value = 0,
}
DefineConst{
group = "Cost",
help = T(4728, --[[ConstDef Cost Concrete_dome_cost_modifier help]] "All Dome construction costs in in Concrete will be modified by this percent"),
id = "Concrete_dome_cost_modifier",
name = T(4729, --[[ConstDef Cost Concrete_dome_cost_modifier name]] "Dome cost modifier (Concrete)"),
value = 0,
}
DefineConst{
group = "Cost",
help = T(4720, --[[ConstDef Cost Electronics_cost_modifier help]] "All building construction costs in Electronics will be modified by this percent"),
id = "Electronics_cost_modifier",
name = T(4721, --[[ConstDef Cost Electronics_cost_modifier name]] "Cost modifier (Electronics)"),
value = 0,
}
DefineConst{
group = "Cost",
help = T(4732, --[[ConstDef Cost Electronics_dome_cost_modifier help]] "All Dome construction costs in in Electronics will be modified by this percent"),
id = "Electronics_dome_cost_modifier",
name = T(4733, --[[ConstDef Cost Electronics_dome_cost_modifier name]] "Dome cost modifier (Electronics)"),
value = 0,
}
DefineConst{
group = "Cost",
help = T(4722, --[[ConstDef Cost MachineParts_cost_modifier help]] "All building construction costs in Machine Parts will be modified by this percent"),
id = "MachineParts_cost_modifier",
name = T(4723, --[[ConstDef Cost MachineParts_cost_modifier name]] "Cost modifier (Machine Parts)"),
value = 0,
}
DefineConst{
group = "Cost",
help = T(4734, --[[ConstDef Cost MachineParts_dome_cost_modifier help]] "All Dome construction costs in in Machine Parts will be modified by this percent"),
id = "MachineParts_dome_cost_modifier",
name = T(4735, --[[ConstDef Cost MachineParts_dome_cost_modifier name]] "Dome cost modifier (Machine Parts)"),
value = 0,
}
DefineConst{
group = "Cost",
help = T(4714, --[[ConstDef Cost Metals_cost_modifier help]] "All building construction costs in Metals will be modified by this percent"),
id = "Metals_cost_modifier",
name = T(4715, --[[ConstDef Cost Metals_cost_modifier name]] "Cost modifier (Metals)"),
value = 0,
}
DefineConst{
group = "Cost",
help = T(4726, --[[ConstDef Cost Metals_dome_cost_modifier help]] "All Dome construction costs in in Metals will be modified by this percent"),
id = "Metals_dome_cost_modifier",
name = T(4727, --[[ConstDef Cost Metals_dome_cost_modifier name]] "Dome cost modifier (Metals)"),
value = 0,
}
DefineConst{
group = "Cost",
help = T(357577730941, --[[ConstDef Cost PolymersPerFracture help]] "The number of polymers required to fix a single dome/passage fracture"),
id = "PolymersPerFracture",
name = T(805664154231, --[[ConstDef Cost PolymersPerFracture name]] "Fracture Repair Cost"),
scale = 1000,
value = 5000,
}
DefineConst{
group = "Cost",
help = T(4718, --[[ConstDef Cost Polymers_cost_modifier help]] "All building construction costs in Polymers will be modified by this percent"),
id = "Polymers_cost_modifier",
name = T(4719, --[[ConstDef Cost Polymers_cost_modifier name]] "Cost modifier (Polymers)"),
value = 0,
}
DefineConst{
group = "Cost",
help = T(4730, --[[ConstDef Cost Polymers_dome_cost_modifier help]] "All Dome construction costs in in Polymers will be modified by this percent"),
id = "Polymers_dome_cost_modifier",
name = T(4731, --[[ConstDef Cost Polymers_dome_cost_modifier name]] "Dome cost modifier (Polymers)"),
value = 0,
}
DefineConst{
group = "Cost",
help = T(4724, --[[ConstDef Cost PreciousMetals_cost_modifier help]] "All building construction costs in Rare Metals will be modified by this percent"),
id = "PreciousMetals_cost_modifier",
name = T(4725, --[[ConstDef Cost PreciousMetals_cost_modifier name]] "Cost modifier (Rare Metals)"),
value = 0,
}
DefineConst{
group = "Cost",
help = T(4736, --[[ConstDef Cost PreciousMetals_dome_cost_modifier help]] "All Dome construction costs in in Rare Metals will be modified by this percent"),
id = "PreciousMetals_dome_cost_modifier",
name = T(4737, --[[ConstDef Cost PreciousMetals_dome_cost_modifier name]] "Dome cost modifier (Rare Metals)"),
value = 0,
}
DefineConst{
group = "Cost",
help = T(4738, --[[ConstDef Cost rebuild_cost_modifier help]] "All building rebuild construction costs will be modified by this percent"),
id = "rebuild_cost_modifier",
name = T(4739, --[[ConstDef Cost rebuild_cost_modifier name]] "Rebuild cost modifier"),
value = 100,
}
DefineConst{
id = "ShockGraceMax",
scale = "hours",
value = 1080000,
}
DefineConst{
id = "ShockGraceMin",
scale = "hours",
value = 360000,
}
DefineConst{
group = "Drone",
help = T(4658, --[[ConstDef Drone AndroidConstructionTime help]] "Biorobot construction time"),
id = "AndroidConstructionTime",
name = T(4659, --[[ConstDef Drone AndroidConstructionTime name]] "Biorobot construction time"),
scale = "hours",
value = 180000,
}
DefineConst{
group = "Drone",
help = T(4656, --[[ConstDef Drone AndroidElectronicsCost help]] "Price for constructing a Biorobot in a Drone Factory"),
id = "AndroidElectronicsCost",
name = T(4657, --[[ConstDef Drone AndroidElectronicsCost name]] "Biorobot Electronics cost"),
value = 5000,
}
DefineConst{
group = "Drone",
help = T(4664, --[[ConstDef Drone DroneBuildingRepairAmount help]] "Drones generate this many Repair points (per second) when repairing a building"),
id = "DroneBuildingRepairAmount",
name = T(4665, --[[ConstDef Drone DroneBuildingRepairAmount name]] "Drone building Repair amount"),
value = 5000,
}
DefineConst{
group = "Drone",
help = T(4666, --[[ConstDef Drone DroneBuildingRepairBatteryUse help]] "Battery usage when Drone is repairing a building (per second)"),
id = "DroneBuildingRepairBatteryUse",
name = T(4667, --[[ConstDef Drone DroneBuildingRepairBatteryUse name]] "Drone building Repair battery usage"),
value = 100,
}
DefineConst{
group = "Drone",
help = T(4682, --[[ConstDef Drone DroneCarryBatteryUse help]] "Battery usage when Drone is moving and carrying a resource (per second)"),
id = "DroneCarryBatteryUse",
name = T(4683, --[[ConstDef Drone DroneCarryBatteryUse name]] "Drone carry battery usage"),
value = 150,
}
DefineConst{
group = "Drone",
help = T(4668, --[[ConstDef Drone DroneCleanAmount help]] "When cleaning a building Drones generate this many Clean points (per second)"),
id = "DroneCleanAmount",
name = T(4669, --[[ConstDef Drone DroneCleanAmount name]] "Drone Clean amount"),
value = 2000,
}
DefineConst{
group = "Drone",
help = T(4660, --[[ConstDef Drone DroneConstructAmount help]] "Drones generate this many Construct points (per second) when constructing a building"),
id = "DroneConstructAmount",
name = T(4661, --[[ConstDef Drone DroneConstructAmount name]] "Drone Construct amount"),
value = 100,
}
DefineConst{
group = "Drone",
help = T(4662, --[[ConstDef Drone DroneConstructBatteryUse help]] "Battery usage when Drone is constructing a building (per second)"),
id = "DroneConstructBatteryUse",
name = T(4663, --[[ConstDef Drone DroneConstructBatteryUse name]] "Drone construct battery usage"),
value = 300,
}
DefineConst{
group = "Drone",
help = T(6978, --[[ConstDef Drone DroneConstructionTime help]] "Drone construction time using the Drone Hub"),
id = "DroneConstructionTime",
name = T(6979, --[[ConstDef Drone DroneConstructionTime name]] "Drone construction time"),
scale = "hours",
value = 180000,
}
DefineConst{
group = "Drone",
help = T(4672, --[[ConstDef Drone DroneDeconstructAmount help]] "Drones generate this many Destroy points (per second) when destroying a Black Cube"),
id = "DroneDeconstructAmount",
name = T(4673, --[[ConstDef Drone DroneDeconstructAmount name]] "Drone Destroy amount"),
value = 1000,
}
DefineConst{
group = "Drone",
help = T(4674, --[[ConstDef Drone DroneDeconstructBatteryUse help]] "Battery usage when Drone is destroying a Black Cube (per second)"),
id = "DroneDeconstructBatteryUse",
name = T(4675, --[[ConstDef Drone DroneDeconstructBatteryUse name]] "Drone Destroy battery usage"),
value = 100,
}
DefineConst{
group = "Drone",
help = T(6976, --[[ConstDef Drone DroneElectronicsCost help]] "Price for constructing a Drone using the Drone Hub"),
id = "DroneElectronicsCost",
name = T(6977, --[[ConstDef Drone DroneElectronicsCost name]] "Drone Electronics cost"),
value = 1000,
}
DefineConst{
group = "Drone",
help = T(4684, --[[ConstDef Drone DroneEmergencyPower help]] "Drones will go to recharge when looking for work at twice this limit; They will drop what they're doing and go to recharge at this limit"),
id = "DroneEmergencyPower",
name = T(4685, --[[ConstDef Drone DroneEmergencyPower name]] "Drone emergency power"),
value = 6000,
}
DefineConst{
group = "Drone",
help = T(4686, --[[ConstDef Drone DroneGatherResourceWorkTime help]] "Drones will load resources for this amount of time"),
id = "DroneGatherResourceWorkTime",
name = T(4687, --[[ConstDef Drone DroneGatherResourceWorkTime name]] "Drone gather resource work time"),
scale = "hours",
value = 15000,
}
DefineConst{
group = "Drone",
help = T(8468, --[[ConstDef Drone DroneHubOrderDroneRange help]] "How far away from the drone hub it would look for factories when ordering drone construction."),
id = "DroneHubOrderDroneRange",
name = T(8469, --[[ConstDef Drone DroneHubOrderDroneRange name]] "Drone Hub order drone range"),
scale = "meters",
value = 50000,
}
DefineConst{
group = "Drone",
help = T(4654, --[[ConstDef Drone DroneMaxDustBonus help]] "Additional dust limit increase (in %) beyond which a dirty Drone will Malfunction"),
id = "DroneMaxDustBonus",
name = T(4655, --[[ConstDef Drone DroneMaxDustBonus name]] "Drone max dust bonus"),
value = 0,
}
DefineConst{
group = "Drone",
help = T(4680, --[[ConstDef Drone DroneMoveBatteryUse help]] "Battery usage when Drone is moving (without carrying resources) (per second)"),
id = "DroneMoveBatteryUse",
name = T(4681, --[[ConstDef Drone DroneMoveBatteryUse name]] "Drone move battery usage"),
value = 100,
}
DefineConst{
group = "Drone",
help = T(4644, --[[ConstDef Drone DroneRechargeTime help]] "The time it takes for a Drone to be fully recharged"),
id = "DroneRechargeTime",
name = T(4645, --[[ConstDef Drone DroneRechargeTime name]] "Drone recharge time"),
scale = "hours",
value = 40000,
}
DefineConst{
group = "Drone",
help = T(4650, --[[ConstDef Drone DroneRepairAnimReps help]] "Drone repair time is dictated by the number of repetitions of the Repair animation"),
id = "DroneRepairAnimReps",
name = T(4651, --[[ConstDef Drone DroneRepairAnimReps name]] "Drone repair anim repetitions"),
value = 4,
}
DefineConst{
group = "Drone",
help = T(960116597482, --[[ConstDef Drone DroneRepairSupplyLeak help]] "The amount of time in seconds it takes a Drone to fix a supply leak"),
id = "DroneRepairSupplyLeak",
name = T(197593111647, --[[ConstDef Drone DroneRepairSupplyLeak name]] "Drone supply leak repair time"),
value = 60,
}
DefineConst{
group = "Drone",
id = "DroneResourceCarryAmount",
name = T(6980, --[[ConstDef Drone DroneResourceCarryAmount name]] "Drone resource carry amount"),
value = 1,
}
DefineConst{
group = "Drone",
help = T(4676, --[[ConstDef Drone DroneTransformWasteRockObstructorToStockpileAmount help]] "Drones generate 'transform_to_waste_rock' points (per second) when removing Waste Rock obstructions"),
id = "DroneTransformWasteRockObstructorToStockpileAmount",
name = T(4677, --[[ConstDef Drone DroneTransformWasteRockObstructorToStockpileAmount name]] "Drone transform Waste Rock obstruction to stockpile amount"),
value = 100,
}
DefineConst{
group = "Drone",
help = T(4678, --[[ConstDef Drone DroneTransformWasteRockObstructorToStockpileBatteryUse help]] "Battery usage when Drone is removing Waste Rock obstructions (per second)"),
id = "DroneTransformWasteRockObstructorToStockpileBatteryUse",
name = T(4679, --[[ConstDef Drone DroneTransformWasteRockObstructorToStockpileBatteryUse name]] "Drone transform Waste Rock obstruction to stockpile battery use"),
value = 100,
}
DefineConst{
group = "Drone",
help = T(4646, --[[ConstDef Drone RechargeCleansDrones help]] "Drones will be cleaned of dust when being recharged if this value is bigger than 0"),
id = "RechargeCleansDrones",
name = T(4647, --[[ConstDef Drone RechargeCleansDrones name]] "Recharging cleans Drones"),
value = 1,
}
DefineConst{
group = "Gameplay",
help = T(10139, --[[ConstDef Gameplay ApplicantGenerationInterval help]] "How long it takes to generate a new Applicant in the Applicant Pool"),
id = "ApplicantGenerationInterval",
name = T(10140, --[[ConstDef Gameplay ApplicantGenerationInterval name]] "Applicant Generation Period"),
scale = "hours",
value = 210000,
}
DefineConst{
group = "Gameplay",
help = T(8466, --[[ConstDef Gameplay ApplicantSuspendGenerate help]] "Determines whether the applicant pool gains new entries."),
id = "ApplicantSuspendGenerate",
name = T(8467, --[[ConstDef Gameplay ApplicantSuspendGenerate name]] "Applicant Generation Suspended"),
value = 0,
}
DefineConst{
group = "Gameplay",
help = T(4597, --[[ConstDef Gameplay CargoCapacity help]] "Maximum payload (in kg) of a resupply Rocket"),
id = "CargoCapacity",
name = T(4598, --[[ConstDef Gameplay CargoCapacity name]] "Payload Capacity"),
value = 50000,
}
DefineConst{
group = "Gameplay",
help = T(992693275986, --[[ConstDef Gameplay CrimeEventDestroyedBuildingsCount help]] "CrimeEvent - the number of destroyed buildings from single crime event"),
id = "CrimeEventDestroyedBuildingsCount",
name = T(792834925451, --[[ConstDef Gameplay CrimeEventDestroyedBuildingsCount name]] "CrimeEventDestroyedBuildingsCount"),
value = 1,
}
DefineConst{
group = "Gameplay",
help = T(752761093718, --[[ConstDef Gameplay CrimeEventSabotageBuildingsCount help]] "CrimeEvent - the number of sabotaged buildings from single crime event"),
id = "CrimeEventSabotageBuildingsCount",
name = T(869176701600, --[[ConstDef Gameplay CrimeEventSabotageBuildingsCount name]] "CrimeEventSabotageBuildingsCount"),
value = 1,
}
DefineConst{
group = "Gameplay",
help = T(4617, --[[ConstDef Gameplay DeepScanAvailable help]] "Deep scanning is available when this is not 0"),
id = "DeepScanAvailable",
name = T(4618, --[[ConstDef Gameplay DeepScanAvailable name]] "Can perform deep scan"),
value = 0,
}
DefineConst{
group = "Gameplay",
help = T(4603, --[[ConstDef Gameplay ExportPricePreciousMetals help]] "Amount of Funding (in millions) received by exporting one unit of Rare Metals"),
id = "ExportPricePreciousMetals",
name = T(4604, --[[ConstDef Gameplay ExportPricePreciousMetals name]] "Rare Metals Price (M)"),
value = 25,
}
DefineConst{
group = "Gameplay",
help = T(4615, --[[ConstDef Gameplay FoodPerRocketPassenger help]] "The amount of Food (unscaled) supplied with each Colonist arrival"),
id = "FoodPerRocketPassenger",
name = T(4616, --[[ConstDef Gameplay FoodPerRocketPassenger name]] "Food per Rocket Passenger"),
value = 1000,
}
DefineConst{
group = "Gameplay",
help = T(4585, --[[ConstDef Gameplay FundingGainsModifier help]] "All Funding is multiplied by this percent"),
id = "FundingGainsModifier",
name = T(4586, --[[ConstDef Gameplay FundingGainsModifier name]] "Global Funding gains multiplier"),
value = 100,
}
DefineConst{
group = "Gameplay",
help = T(524823774609, --[[ConstDef Gameplay GameRuleRebelYellProgress help]] "GameRule - RebelYell - points to add to renegade generation."),
id = "GameRuleRebelYellProgress",
name = T(782696503433, --[[ConstDef Gameplay GameRuleRebelYellProgress name]] "GameRuleRebelYellProgress"),
scale = "Stat",
value = 10000,
}
DefineConst{
group = "Gameplay",
help = T(4605, --[[ConstDef Gameplay InstantCables help]] "Cables are built instantly when this is not 0"),
id = "InstantCables",
name = T(4606, --[[ConstDef Gameplay InstantCables name]] "Instant Cables"),
value = 0,
}
DefineConst{
group = "Gameplay",
help = T(10464, --[[ConstDef Gameplay InstantPassages help]] "Passages are built instantly and cost nothing when this is not 0"),
id = "InstantPassages",
name = T(10141, --[[ConstDef Gameplay InstantPassages name]] "Instant Passages"),
value = 0,
}
DefineConst{
group = "Gameplay",
help = T(4607, --[[ConstDef Gameplay InstantPipes help]] "Pipes are built instantly when this is not 0"),
id = "InstantPipes",
name = T(4608, --[[ConstDef Gameplay InstantPipes name]] "Instant Pipes"),
value = 0,
}
DefineConst{
group = "Gameplay",
help = T(4609, --[[ConstDef Gameplay IsDeepMetalsExploitable help]] "Deep Metals deposits are exploitable when this is not 0"),
id = "IsDeepMetalsExploitable",
name = T(4610, --[[ConstDef Gameplay IsDeepMetalsExploitable name]] "Exploitable Deep Metals"),
value = 0,
}
DefineConst{
group = "Gameplay",
help = T(4613, --[[ConstDef Gameplay IsDeepPreciousMetalsExploitable help]] "Deep Rare Metals deposits are exploitable when this is not 0"),
id = "IsDeepPreciousMetalsExploitable",
name = T(4614, --[[ConstDef Gameplay IsDeepPreciousMetalsExploitable name]] "Can exploit deep Rare Metals"),
value = 0,
}
DefineConst{
group = "Gameplay",
help = T(4611, --[[ConstDef Gameplay IsDeepWaterExploitable help]] "Deep Water deposits are exploitable when this is not 0"),
id = "IsDeepWaterExploitable",
name = T(4612, --[[ConstDef Gameplay IsDeepWaterExploitable name]] "Exploitable Deep Water"),
value = 0,
}
DefineConst{
group = "Gameplay",
help = T(10142, --[[ConstDef Gameplay MaxColonistsPerPod help]] "Maximum number of Colonists that can arrive on Mars in a single Pod"),
id = "MaxColonistsPerPod",
name = T(10143, --[[ConstDef Gameplay MaxColonistsPerPod name]] "Colonists per Pod"),
value = 12,
}
DefineConst{
group = "Gameplay",
help = T(4593, --[[ConstDef Gameplay MaxColonistsPerRocket help]] "Maximum number of Colonists that can arrive on Mars in a single Rocket"),
id = "MaxColonistsPerRocket",
name = T(4594, --[[ConstDef Gameplay MaxColonistsPerRocket name]] "Colonists per Rocket"),
value = 12,
}
DefineConst{
group = "Gameplay",
id = "MaxResearchCollaborationLoss",
name = T(8027, --[[ConstDef Gameplay MaxResearchCollaborationLoss name]] "Max Research Collaboration Loss (%)"),
value = 50,
}
DefineConst{
group = "Gameplay",
help = T(8464, --[[ConstDef Gameplay OutsourceDisabled help]] "Determines whether the player can buy research points via outsourcing."),
id = "OutsourceDisabled",
name = T(8465, --[[ConstDef Gameplay OutsourceDisabled name]] "Outsource Disabled"),
value = 0,
}
DefineConst{
group = "Gameplay",
id = "OutsourceMaxOrderCount",
name = T(970197122036, --[[ConstDef Gameplay OutsourceMaxOrderCount name]] "Maximum Outsource Orders"),
value = 5,
}
DefineConst{
group = "Gameplay",
id = "OutsourceResearch",
name = T(593431521691, --[[ConstDef Gameplay OutsourceResearch name]] "Outsource Research Points"),
value = 1000,
}
DefineConst{
group = "Gameplay",
id = "OutsourceResearchCost",
name = T(839458405314, --[[ConstDef Gameplay OutsourceResearchCost name]] "Outsource Research Cost (in millions)"),
scale = "mil",
value = 200000000,
}
DefineConst{
group = "Gameplay",
id = "OutsourceResearchTime",
name = T(940974210714, --[[ConstDef Gameplay OutsourceResearchTime name]] "Outsource Research Duration"),
scale = "sols",
value = 3600000,
}
DefineConst{
group = "Gameplay",
help = T(136058990142, --[[ConstDef Gameplay OverpopulatedDome help]] "The number of Homless colonists that Overpopulated the dome."),
id = "OverpopulatedDome",
name = T(290519601836, --[[ConstDef Gameplay OverpopulatedDome name]] "OverpopulatedDome"),
value = 20,
}
DefineConst{
group = "Gameplay",
help = T(4599, --[[ConstDef Gameplay SponsorFundingInterval help]] "Period (in Sols) of additional periodical Funding from mission sponsors"),
id = "SponsorFundingInterval",
name = T(4600, --[[ConstDef Gameplay SponsorFundingInterval name]] "Funding Interval (Sols)"),
scale = "sols",
value = 3600000,
}
DefineConst{
group = "Gameplay",
help = T(4601, --[[ConstDef Gameplay SponsorFundingPerInterval help]] "Amount of additional Funding (in millions) received periodically from mission sponsor"),
id = "SponsorFundingPerInterval",
name = T(4602, --[[ConstDef Gameplay SponsorFundingPerInterval name]] "Additional Funding (M)"),
value = 0,
}
DefineConst{
group = "Gameplay",
help = T(750913549910, --[[ConstDef Gameplay SponsorGoalsCount help]] "Number of sponsor goals"),
id = "SponsorGoalsCount",
name = T(750913549910, --[[ConstDef Gameplay SponsorGoalsCount name]] "Number of sponsor goals"),
value = 5,
}
DefineConst{
group = "Gameplay",
help = T(4581, --[[ConstDef Gameplay SupplyMissionsEnabled help]] "Determines where supply missions are enabled"),
id = "SupplyMissionsEnabled",
name = T(4582, --[[ConstDef Gameplay SupplyMissionsEnabled name]] "Supply Missions Enabled"),
value = 1,
}
DefineConst{
group = "Gameplay",
help = T(4589, --[[ConstDef Gameplay TravelTimeEarthMars help]] "Time it takes for a Rocket to travel from Earth to Mars"),
id = "TravelTimeEarthMars",
name = T(4590, --[[ConstDef Gameplay TravelTimeEarthMars name]] "Rocket Travel Time (Earth to Mars)"),
scale = "hours",
value = 750000,
}
DefineConst{
group = "Gameplay",
help = T(4591, --[[ConstDef Gameplay TravelTimeMarsEarth help]] "Time it takes for a Rocket to travel from Mars to Earth"),
id = "TravelTimeMarsEarth",
name = T(4592, --[[ConstDef Gameplay TravelTimeMarsEarth name]] "Rocket Travel Time (Mars to Earth)"),
scale = "hours",
value = 750000,
}
DefineConst{
group = "Gameplay",
id = "WasteRockToConcreteRatio",
name = T(7665, --[[ConstDef Gameplay WasteRockToConcreteRatio name]] "WasteRock To Concrete Ratio"),
value = 5,
}
DefineConst{
group = "Research",
help = T(4621, --[[ConstDef Research BreakThroughTechCostMod help]] "Breakthrough tech cost modifier"),
id = "BreakThroughTechCostMod",
name = T(4622, --[[ConstDef Research BreakThroughTechCostMod name]] "Breakthrough tech cost modifier"),
value = 100,
}
DefineConst{
group = "Research",
help = T(4625, --[[ConstDef Research BreakthroughResearchSpeedMod help]] "Research point multiplier for Breakthrough Research (in %)"),
id = "BreakthroughResearchSpeedMod",
name = T(4626, --[[ConstDef Research BreakthroughResearchSpeedMod name]] "Breakthrough Research Speed Mod"),
value = 100,
}
DefineConst{
group = "Research",
help = T(4629, --[[ConstDef Research ElectricityForResearchPoint help]] "Excess electrical Power will be converted to research at the rate defined by this value."),
id = "ElectricityForResearchPoint",
name = T(4630, --[[ConstDef Research ElectricityForResearchPoint name]] "Electricity for Research"),
scale = "Resources",
value = 0,
}
DefineConst{
group = "Research",
help = T(4623, --[[ConstDef Research ExperimentalResearchSpeedMod help]] "Research point multiplier for Experimental Research (in %)"),
id = "ExperimentalResearchSpeedMod",
name = T(4624, --[[ConstDef Research ExperimentalResearchSpeedMod name]] "Experimental Research Speed Mod"),
value = 100,
}
DefineConst{
group = "Research",
id = "ExplorerRoverResearchPoints",
name = T(4631, --[[ConstDef Research ExplorerRoverResearchPoints name]] "Research points generated per RC Commander"),
value = 0,
}
DefineConst{
group = "Research",
help = T(4627, --[[ConstDef Research SponsorResearch help]] "Sponsor Funding gained per Sol"),
id = "SponsorResearch",
name = T(4628, --[[ConstDef Research SponsorResearch name]] "Sponsor Research per Sol"),
value = 100,
}
DefineConst{
group = "Rover",
help = T(4634, --[[ConstDef Rover RCRoverDistanceToProvokeAutomaticUnsiege help]] "Go To command will automatically cause unsiege if target is further than this distance"),
id = "RCRoverDistanceToProvokeAutomaticUnsiege",
name = T(4635, --[[ConstDef Rover RCRoverDistanceToProvokeAutomaticUnsiege name]] "RC Commander distance to provoke automatic unsiege"),
value = 15000,
}
DefineConst{
group = "Rover",
help = T(4642, --[[ConstDef Rover RCRoverDroneRechargeCost help]] "The amount of battery drained from RC Commander when recharging a Drone."),
id = "RCRoverDroneRechargeCost",
name = T(4643, --[[ConstDef Rover RCRoverDroneRechargeCost name]] "RC Commander Drone battery recharge cost"),
value = 15000,
}
DefineConst{
group = "Rover",
help = T(4632, --[[ConstDef Rover RCRoverMaxDrones help]] "Maximum Drones an RC Commander can control"),
id = "RCRoverMaxDrones",
name = T(4633, --[[ConstDef Rover RCRoverMaxDrones name]] "RC Commander max Drones"),
value = 8,
}
DefineConst{
group = "Rover",
help = T(4636, --[[ConstDef Rover RCRoverScanAnomalyTime help]] "RC Commander Anomaly scanning time (for each layer of depth)"),
id = "RCRoverScanAnomalyTime",
name = T(4637, --[[ConstDef Rover RCRoverScanAnomalyTime name]] "RC Commander Anomaly scan time"),
scale = "hours",
value = 180000,
}
DefineConst{
group = "Rover",
help = T(4638, --[[ConstDef Rover RCRoverTransferResourceWorkTime help]] "The time it takes for an RC Commander to transfer 1 resource to a Depot."),
id = "RCRoverTransferResourceWorkTime",
name = T(4639, --[[ConstDef Rover RCRoverTransferResourceWorkTime name]] "RC Commander resource gather time"),
value = 1000,
}
DefineConst{
group = "Rover",
help = T(4640, --[[ConstDef Rover RCTransportGatherResourceWorkTime help]] "The time it takes the RC Transport to gather 1 resource from a deposit"),
id = "RCTransportGatherResourceWorkTime",
name = T(4641, --[[ConstDef Rover RCTransportGatherResourceWorkTime name]] "RC Transport resource gather time"),
scale = "hours",
value = 15000,
}
DefineConst{
group = "Scale",
id = "Resources",
value = 1000,
}
DefineConst{
group = "Scale",
id = "Stat",
value = 1000,
}
DefineConst{
group = "Scale",
id = "degrees",
value = 60,
}
DefineConst{
group = "Scale",
id = "hours",
scale = "sec",
value = 30000,
}
DefineConst{
group = "Scale",
id = "meters",
value = 100,
}
DefineConst{
group = "Scale",
id = "mil",
value = 1000000,
}
DefineConst{
group = "Scale",
id = "sols",
scale = "hours",
value = 720000,
}
DefineConst{
group = "Stat",
id = "ColdWaveSanityDamage",
name = T(438538796804, --[[ConstDef Stat ColdWaveSanityDamage name]] "Sanity damage from a Cold Wave (per hour)"),
scale = "Stat",
value = 300,
}
DefineConst{
group = "Stat",
id = "DustStormSanityDamage",
name = T(438538796803, --[[ConstDef Stat DustStormSanityDamage name]] "Sanity damage from Dust Storms (per hour)"),
scale = "Stat",
value = 300,
}
DefineConst{
group = "Stat",
id = "GameRuleRebelYellRenegadeCreation",
name = T(8879, --[[ConstDef Stat GameRuleRebelYellRenegadeCreation name]] "Renegade creation point when game rule Rebel Yell is activated"),
scale = "Stat",
value = 23100,
}
DefineConst{
group = "Stat",
help = T(4550, --[[ConstDef Stat HighStatLevel help]] "Stats above this level are considered high"),
id = "HighStatLevel",
name = T(4551, --[[ConstDef Stat HighStatLevel name]] "High Stat Threshold"),
scale = "Stat",
value = 70000,
}
DefineConst{
group = "Stat",
help = T(4556, --[[ConstDef Stat HighStatMoraleEffect help]] "High Health, Sanity and Comfort increase the Colonist's morale by this much"),
id = "HighStatMoraleEffect",
name = T(4557, --[[ConstDef Stat HighStatMoraleEffect name]] "High Stat Morale Effect"),
scale = "Stat",
value = 5000,
}
DefineConst{
group = "Stat",
help = T(4577, --[[ConstDef Stat LowSanityNegativeTraitChance help]] "Chance of getting a negative trait when Sanity reaches zero, in %"),
id = "LowSanityNegativeTraitChance",
name = T(4578, --[[ConstDef Stat LowSanityNegativeTraitChance name]] "Chance for getting a flaw when experiencing a Sanity breakdown"),
value = 30,
}
DefineConst{
group = "Stat",
help = T(4575, --[[ConstDef Stat LowSanitySuicideChance help]] "Chance of suicide when Sanity reaches zero, in %"),
id = "LowSanitySuicideChance",
name = T(4576, --[[ConstDef Stat LowSanitySuicideChance name]] "Chance of Suicide"),
value = 1,
}
DefineConst{
group = "Stat",
help = T(4548, --[[ConstDef Stat LowStatLevel help]] "Stats below this level are considered low"),
id = "LowStatLevel",
name = T(4549, --[[ConstDef Stat LowStatLevel name]] "Low Stat Threshold"),
scale = "Stat",
value = 30000,
}
DefineConst{
group = "Stat",
help = T(4552, --[[ConstDef Stat LowStatMoraleEffect help]] "Low Health, Sanity and Comfort decreases a Colonist's morale by this amount"),
id = "LowStatMoraleEffect",
name = T(4553, --[[ConstDef Stat LowStatMoraleEffect name]] "Low Stat Morale Effect"),
scale = "Stat",
value = 10000,
}
DefineConst{
group = "Stat",
help = T(8660, --[[ConstDef Stat MalfunctionedDome help]] "Colonist Sanity decreased when rest in malfunctioned Dome"),
id = "MalfunctionedDome",
name = T(8661, --[[ConstDef Stat MalfunctionedDome name]] "Malfunctioned Dome Sanity Penalty"),
scale = "Stat",
value = 5000,
}
DefineConst{
group = "Stat",
help = T(7426, --[[ConstDef Stat MedicalBuildingMinComfortBirthDecrease help]] "Decreases minimum Colonist Comfort for giving birth in a Dome Medical Building"),
id = "MedicalBuildingMinComfortBirthDecrease",
name = T(4573, --[[ConstDef Stat MedicalBuildingMinComfortBirthDecrease name]] "Penalty to Colonist Comfort for Birth from Medical Buildings"),
scale = "Stat",
value = 15000,
}
DefineConst{
group = "Stat",
id = "MeteorHealthDamage",
name = T(7563, --[[ConstDef Stat MeteorHealthDamage name]] "Health damage from small meteor (one-time on impact)"),
scale = "Stat",
value = 50000,
}
DefineConst{
group = "Stat",
id = "MeteorSanityDamage",
name = T(4579, --[[ConstDef Stat MeteorSanityDamage name]] "Sanity damage from meteor (one-time on impact)"),
scale = "Stat",
value = 12000,
}
DefineConst{
group = "Stat",
help = T(7424, --[[ConstDef Stat MinComfortBirth help]] "Minimum Colonist Comfort for Birth"),
id = "MinComfortBirth",
name = T(7425, --[[ConstDef Stat MinComfortBirth name]] "Minimum Colonist Comfort for Birth"),
scale = "Stat",
value = 70000,
}
DefineConst{
group = "Stat",
help = T(4554, --[[ConstDef Stat MoraleInitRange help]] "Morale of new Colonists starts randomly in this range, centered around half of maximum Morale"),
id = "MoraleInitRange",
name = T(4555, --[[ConstDef Stat MoraleInitRange name]] "Initial Morale Range"),
scale = "Stat",
value = 20000,
}
DefineConst{
group = "Stat",
id = "MysteryDreamSanityDamage",
name = T(6975, --[[ConstDef Stat MysteryDreamSanityDamage name]] "Sanity damage for Dreamers from Mirages (per hour)"),
scale = "Stat",
value = 500,
}
DefineConst{
group = "Stat",
help = T(4558, --[[ConstDef Stat NoHomeComfort help]] "Colonist Comfort decreases when homeless"),
id = "NoHomeComfort",
name = T(4559, --[[ConstDef Stat NoHomeComfort name]] "Homeless Comfort Penalty"),
scale = "Stat",
value = 20000,
}
DefineConst{
group = "Stat",
help = T(8807, --[[ConstDef Stat NonHomeDomeServiceThresholdDecrement help]] "Service threshold penalty for colonists being serviced in another connected dome"),
id = "NonHomeDomeServiceThresholdDecrement",
name = T(8808, --[[ConstDef Stat NonHomeDomeServiceThresholdDecrement name]] "Connected dome service threshold penalty"),
scale = "Stat",
value = 10000,
}
DefineConst{
group = "Stat",
id = "OutsideFoodConsumptionComfort",
name = T(4580, --[[ConstDef Stat OutsideFoodConsumptionComfort name]] "Comfort damage from eating raw food from piles"),
scale = "Stat",
value = 3000,
}
DefineConst{
group = "Stat",
id = "OutsideWorkplaceSanityDecrease",
name = T(4572, --[[ConstDef Stat OutsideWorkplaceSanityDecrease name]] "Outside Workplace Sanity Penalty"),
scale = "Stat",
value = 10000,
}
DefineConst{
group = "Stat",
help = T(4564, --[[ConstDef Stat OxygenMaxOutsideTime help]] "This is the time it takes for Colonists outside of Domes to start losing health"),
id = "OxygenMaxOutsideTime",
name = T(4565, --[[ConstDef Stat OxygenMaxOutsideTime name]] "Oxygen max outside time"),
scale = "hours",
value = 120000,
}
DefineConst{
group = "Stat",
id = "PerformanceEffectOnServiceComfort",
name = T(359628595078, --[[ConstDef Stat PerformanceEffectOnServiceComfort name]] "Max effect of worker performance on Service Quality"),
scale = "Stat",
value = 20000,
}
DefineConst{
group = "Stat",
id = "RenegadeCreation",
name = T(4574, --[[ConstDef Stat RenegadeCreation name]] "Renegade creation point"),
scale = "Stat",
value = 70000,
}
DefineConst{
group = "Stat",
help = T(4560, --[[ConstDef Stat SeeDeadSanity help]] "Colonist Sanity decreases when a Colonist from the same Residence dies from non-natural causes"),
id = "SeeDeadSanity",
name = T(4561, --[[ConstDef Stat SeeDeadSanity name]] "Seeing Death"),
scale = "Stat",
value = 15000,
}
DefineConst{
group = "Stat",
help = T(4566, --[[ConstDef Stat WorkDarkHoursSanityDecrease help]] "When working during dark hours Colonists will lose this much Sanity (per work shift)"),
id = "WorkDarkHoursSanityDecrease",
name = T(4567, --[[ConstDef Stat WorkDarkHoursSanityDecrease name]] "Dark hours work Sanity decrease"),
scale = "Stat",
value = 10000,
}
DefineConst{
group = "Stat",
help = T(8809, --[[ConstDef Stat WorkInWorkshopComfortBoost help]] "Workers in Workshop receive Comfort boost"),
id = "WorkInWorkshopComfortBoost",
name = T(8809, --[[ConstDef Stat WorkInWorkshopComfortBoost name]] "Workers in Workshop receive Comfort boost"),
scale = "Stat",
value = 5000,
}
DefineConst{
group = "Stat",
help = T(8811, --[[ConstDef Stat WorkInWorkshopMoraleBoost help]] "Workers in Workshop receive Morale boost"),
id = "WorkInWorkshopMoraleBoost",
name = T(8811, --[[ConstDef Stat WorkInWorkshopMoraleBoost name]] "Workers in Workshop receive Morale boost"),
scale = "Stat",
value = 10000,
}
DefineConst{
group = "Stat",
help = T(4570, --[[ConstDef Stat WorkOvertimeHealth help]] "Decreased Health from heavy workloads"),
id = "WorkOvertimeHealth",
name = T(4571, --[[ConstDef Stat WorkOvertimeHealth name]] "Heavy Workload Health Penalty"),
scale = "Stat",
value = 10000,
}
DefineConst{
group = "Stat",
help = T(4568, --[[ConstDef Stat WorkOvertimeSanityDecrease help]] "Decreased Sanity from heavy workloads"),
id = "WorkOvertimeSanityDecrease",
name = T(4569, --[[ConstDef Stat WorkOvertimeSanityDecrease name]] "Heavy Workload Sanity Penalty"),
scale = "Stat",
value = 10000,
}
DefineConst{
group = "StoryBits",
help = T(939854144179, --[[ConstDef StoryBits MaxCooldown help]] "Each StoryBits category is assigned a random cooldown between MinCoolDown and MaxCoolDown when a StoryBit triggers"),
id = "MaxCooldown",
name = T(234981181428, --[[ConstDef StoryBits MaxCooldown name]] "Maximum Cooldown"),
scale = "sols",
value = 8640000,
}
DefineConst{
group = "StoryBits",
help = T(316584207221, --[[ConstDef StoryBits MinCooldown help]] "Each StoryBits category is assigned a random cooldown between MinCoolDown and MaxCoolDown when a StoryBit triggers"),
id = "MinCooldown",
name = T(136932901153, --[[ConstDef StoryBits MinCooldown name]] "Min Cooldown"),
scale = "sols",
value = 3600000,
}
DefineConst{
group = "StoryBits",
help = T(10865, --[[ConstDef StoryBits NotificationTimeout help]] "Time to wait for the player to click the StoryBit notification before the pop up is forced"),
id = "NotificationTimeout",
name = T(262180053685, --[[ConstDef StoryBits NotificationTimeout name]] "Notification Timeout"),
scale = "hours",
value = 240000,
}
DefineConst{
group = "StoryBits",
help = T(382207919709, --[[ConstDef StoryBits TickDuration help]] "Time duration between Tick triggers"),
id = "TickDuration",
name = T(942145509228, --[[ConstDef StoryBits TickDuration name]] "Tick Duration"),
scale = "hours",
value = 30000,
}
DefineConst{
group = "Traits",
help = T(715051458672, --[[ConstDef Traits ExtrovertIncreaseComfortThreshold help]] "Increases Comfort Threshold for Social Buildings when used by extroverts"),
id = "ExtrovertIncreaseComfortThreshold",
name = T(982066645807, --[[ConstDef Traits ExtrovertIncreaseComfortThreshold name]] "ExtrovertIncreaseComfortThreshold"),
scale = "Stat",
value = 20000,
}
DefineConst{
group = "Traits",
help = T(290290906449, --[[ConstDef Traits MaxColonistTraitsToGenerate help]] "Max base traits generated per Colonist"),
id = "MaxColonistTraitsToGenerate",
name = T(455324213448, --[[ConstDef Traits MaxColonistTraitsToGenerate name]] "MaxColonistTraitsToGenerate"),
value = 3,
}
DefineConst{
group = "Workplace",
help = T(4688, --[[ConstDef Workplace AvoidWorkplaceSols help]] "After being fired, Colonists will avoid that Workplace for this many days when searching for a Workplace"),
id = "AvoidWorkplaceSols",
name = T(4689, --[[ConstDef Workplace AvoidWorkplaceSols name]] "Avoid Workplace Sols"),
value = 5,
}
DefineConst{
group = "Workplace",
help = T(4690, --[[ConstDef Workplace DefaultOutsideWorkplacesRadius help]] "Colonists search this far (in hexes) outisde their Dome when looking for a Workplace"),
id = "DefaultOutsideWorkplacesRadius",
name = T(4691, --[[ConstDef Workplace DefaultOutsideWorkplacesRadius name]] "Default outside Workplaces radius"),
value = 10,
}
DefineConst{
group = "Workplace",
help = T(384684843215, --[[ConstDef Workplace OvertimedShiftPerformance help]] "Heavy workload Shift Performance change"),
id = "OvertimedShiftPerformance",
name = T(570435030757, --[[ConstDef Workplace OvertimedShiftPerformance name]] "Heavy workload Shift Performance"),
value = 20,
}
DefineConst{
group = "Workplace",
help = T(4692, --[[ConstDef Workplace WorkingHours help]] "Normal shift duration"),
id = "WorkingHours",
name = T(4693, --[[ConstDef Workplace WorkingHours name]] "Working hours"),
value = 8,
}
LoadDlcConsts()
|
server = nil
service = nil
return function()
if server.Settings.Trello then
debugPrint('Trello Module is enabled.')
server.TrelloAPI = {
}
else
debugPrint('Trello Module is disabled.')
end
end |
function truth(a, b)
local ix = a:find(b)
if ix then
return string.rep("_", ix-1) .. b .. string.rep("_", #a-#b-ix+1), true
end
return string.rep("_", #a), false
end
for line in io.lines(arg[1]) do
local sep, t, u, c, res = line:find(";"), {}, {}, 1, {}
for i in line:sub(sep+1):gmatch("%S+") do u[#u + 1] = i end
for i in line:sub(1, sep-1):gmatch("%S+") do
local r, f = "", false
if c <= #u then
r, f = truth(i, u[c])
if f then c = c + 1 end
else
r = string.rep("_", #i)
end
if #r > 0 then res[#res + 1] = r end
end
print((c <= #u) and "I cannot fix history" or table.concat(res, " "))
end
|
lycan_boss_shapeshift = class(AbilityBaseClass)
LinkLuaModifier( "modifier_lycan_boss_shapeshift_transform", "modifiers/modifier_lycan_boss_shapeshift_transform", LUA_MODIFIER_MOTION_NONE )
LinkLuaModifier( "modifier_lycan_boss_shapeshift", "modifiers/modifier_lycan_boss_shapeshift", LUA_MODIFIER_MOTION_NONE )
--------------------------------------------------------------------------------
function lycan_boss_shapeshift:OnAbilityPhaseStart()
if IsServer() then
EmitSoundOn( "lycan_lycan_ability_shapeshift_06", self:GetCaster() )
end
return true
end
--------------------------------------------------------------------------------
function lycan_boss_shapeshift:OnSpellStart()
if IsServer() then
self:GetCaster():AddNewModifier( self:GetCaster(), self, "modifier_lycan_boss_shapeshift_transform", { duration = self:GetSpecialValueFor( "transformation_time" ) } )
end
end
|
local playsession = {
{"mewmew", {1386}},
{"AhalaiMahalai", {31625}},
{"ookl", {823766}},
{"MegaDocent", {332213}},
{"Eagle34", {120738}},
{"judos", {251351}},
{"JoaoPinga", {10322}},
{"Nikkichu", {249795}},
{"p0p3", {218437}},
{"autopss", {6052475}},
{"Hanakocz", {2432}},
{"XaLpHa1989", {161955}},
{"Eisklinge20", {184355}},
{"RustyNova016", {894603}},
{"JB_Delta", {4361}},
{"elvaleto", {689}},
{"cowzy", {1044994}},
{"itskris", {62732}},
{"TheInvisibleMan2000", {5872}},
{"leetsui", {405572}},
{"Monkeyboy1024", {157513}},
{"epicNtek", {21841}},
{"TfGuy44", {65213}},
{"Arnietom", {2846}},
{"KIRkomMAX", {1023667}},
{"unixfreak", {125994}},
{"vvictor", {26831}},
{"akisute", {3101}},
{"Strataholic", {27603}},
{"Vykstorm", {3164}},
{"adam1285", {4290}},
{"Julian_314", {2324}},
{"drbln", {5906}},
{"anima", {3311}},
{"Waffledragon122", {2756}},
{"Thymey", {19192}},
{"kingslandingjun", {8362}},
{"brftjx", {6999}},
{"redlabel", {64743}},
{"floxys", {23977}},
{"rikkert", {2404}},
{"Shawn1368", {3461}},
{"CowCompressor", {7670}},
{"QuaxzRu", {6382}},
{"pickles28", {18775}},
{"wilm", {23096}},
{"rjdunlap", {1253}},
{"Lino007", {991275}},
{"3615-Motiok", {7522}},
{"Socol_312", {417524}},
{"boksiora", {4073}},
{"Serjik.exe", {29784}},
{"jackazzm", {4004}},
{"Sky89", {7172}},
{"eifel", {3515}},
{"thmmerd", {2312}},
{"joooo", {14648}},
{"mundsundu", {13182}},
{"meteorsbor", {7583}},
{"jrz126", {8892}}
}
return playsession |
local Migrate = {}
Migrate.version = 010802
function Migrate.Run()
if not global.version then
global.version = 0
end
if global.version < Migrate.version then
if global.version < 010003 then Migrate.v1_0_3() end
if global.version < 010100 then Migrate.v1_1_0() end
if global.version < 010401 then Migrate.v1_4_1() end
if global.version < 010500 then Migrate.v1_5_0() end
if global.version < 010600 then Migrate.v1_6_0() end
if global.version < 010700 then Migrate.v1_7_0() end
if global.version < 010703 then Migrate.v1_7_3() end
if global.version < 010704 then Migrate.v1_7_4() end
end
global.version = Migrate.version
end
function Migrate.RecreateGuis()
for _, player in pairs(game.players) do
ToggleGUI.Destroy(player)
ToggleGUI.Init(player)
end
end
function Migrate.v1_0_3()
--[[
It was discovered that in on_configuration_changed Space Exploration would
"fix" all Tiles for all Zones that it knows of, which causes problems
specifically for the Planetary Sandbox, which initially used Stars.
At this point, we unfortunately have to completely remove those Sandboxes,
which is unavoidable because by the nature of this update we would have
triggered the complete-reset of that Surface anyway.
]]
Debug.log("Migration 1.0.3 Starting")
if SpaceExploration.enabled then
local planetaryLabId = 3
local planetaryLabsOnStars = {}
local playersToKickFromPlanetaryLabs = {}
for name, surfaceData in pairs(global.seSurfaces) do
if (not surfaceData.orbital) and SpaceExploration.IsStar(name) then
table.insert(planetaryLabsOnStars, {
zoneName = name,
sandboxForceName = surfaceData.sandboxForceName,
})
end
end
for index, player in pairs(game.players) do
local playerData = global.players[index]
if playerData.insideSandbox == planetaryLabId
and SpaceExploration.IsStar(player.surface.name)
then
table.insert(playersToKickFromPlanetaryLabs, player)
end
end
for _, player in pairs(playersToKickFromPlanetaryLabs) do
Debug.log("Kicking Player out of Planetary Lab: " .. player.name)
Sandbox.Exit(player)
end
for _, surfaceData in pairs(planetaryLabsOnStars) do
Debug.log("Destroying Planetary Lab inside Star: " .. surfaceData.zoneName)
SpaceExploration.DeleteSandbox(
global.sandboxForces[surfaceData.sandboxForceName],
surfaceData.zoneName
)
end
end
Debug.log("Migration 1.0.3 Finished")
end
function Migrate.v1_1_0()
--[[
A "persistent" Sandbox Inventory was created for each Player.
]]
Debug.log("Migration 1.1.0 Starting")
for index, player in pairs(game.players) do
local playerData = global.players[index]
playerData.sandboxInventory = game.create_inventory(#player.get_main_inventory())
if playerData.insideSandbox ~= nil then
Debug.log("Player inside Sandbox, fully-syncing the inventory.")
Inventory.Persist(
player.get_main_inventory(),
playerData.sandboxInventory
)
end
end
Debug.log("Migration 1.1.0 Finished")
end
function Migrate.v1_4_1()
--[[
The levels for level-based Research wasn't being synchronized.
]]
Debug.log("Migration 1.4.1 Starting")
Research.SyncAllForces()
Debug.log("Migration 1.4.1 Finished")
end
function Migrate.v1_5_0()
--[[
Bonus Slots for Sandbox Force Inventories were added.
]]
Debug.log("Migration 1.5.0 Starting")
Force.SyncAllForces()
Debug.log("Migration 1.5.0 Finished")
end
function Migrate.v1_6_0()
--[[
Last-known positions inside Sandboxes were added.
]]
Debug.log("Migration 1.6.0 Starting")
for index, _ in pairs(game.players) do
local playerData = global.players[index]
playerData.lastSandboxPositions = {}
end
Debug.log("Migration 1.6.0 Finished")
end
function Migrate.v1_7_0()
--[[
Configurable-per-Sandbox daytime was added.
]]
Debug.log("Migration 1.7.0 Starting")
for surfaceName, _ in pairs(global.labSurfaces) do
local surface = game.surfaces[surfaceName]
if surface then
surface.always_day = false
surface.freeze_daytime = true
surface.daytime = 0.95
global.labSurfaces[surfaceName].daytime = 0.95
end
end
for surfaceName, _ in pairs(global.seSurfaces) do
local surface = game.surfaces[surfaceName]
if surface then
surface.always_day = false
surface.freeze_daytime = true
surface.daytime = 0.95
global.seSurfaces[surfaceName].daytime = 0.95
end
end
Migrate.RecreateGuis()
Debug.log("Migration 1.7.0 Finished")
end
function Migrate.v1_7_3()
--[[
The daylight portrait icon had the same name as the Reset Button.
]]
Debug.log("Migration 1.7.3 Starting")
Migrate.RecreateGuis()
Debug.log("Migration 1.7.3 Finished")
end
function Migrate.v1_7_4()
--[[
The 1.7.3 migration wasn't correctly applied to 1.7.x
Allow-all-Tech was incorrectly applying the existing Force's bonuses
]]
Migrate.v1_7_3()
Debug.log("Migration 1.7.4 Starting")
if settings.global[Settings.allowAllTech].value then
game.print("Blueprint Sandboxes Notice: You had the Unlock-all-Technologies " ..
"Setting enabled, but there was a bug pre-1.7.4 that was incorrectly " ..
"overriding some of the bonuses from leveled-research. You should " ..
"disable, then re-enable this setting in order to fix that.")
end
Debug.log("Migration 1.7.4 Finished")
end
return Migrate
|
local utils = require('telescope.utils')
local entry_display = {}
entry_display.truncate = function(str, len)
str = tostring(str) -- We need to make sure its an actually a string and not a number
if utils.strdisplaywidth(str) <= len then
return str
end
local charlen = 0
local cur_len = 0
local result = ''
local len_of_dots = utils.strdisplaywidth('…')
while true do
local part = utils.strcharpart(str, charlen, 1)
cur_len = cur_len + utils.strdisplaywidth(part)
if (cur_len + len_of_dots) > len then
result = result .. '…'
break
end
result = result .. part
charlen = charlen + 1
end
return result
end
entry_display.create = function(configuration)
local generator = {}
for _, v in ipairs(configuration.items) do
if v.width then
local justify = v.right_justify
table.insert(generator, function(item)
if type(item) == 'table' then
return utils.align_str(entry_display.truncate(item[1], v.width), v.width, justify), item[2]
else
return utils.align_str(entry_display.truncate(item, v.width), v.width, justify)
end
end)
else
table.insert(generator, function(item)
if type(item) == 'table' then
return item[1], item[2]
else
return item
end
end)
end
end
return function(self, picker)
local results = {}
local highlights = {}
for i = 1, table.getn(generator) do
if self[i] ~= nil then
local str, hl = generator[i](self[i], picker)
if hl then
local hl_start = 0
for j = 1, (i - 1) do
hl_start = hl_start + #results[j] + (#configuration.separator or 1)
end
local hl_end = hl_start + #str:gsub('%s*$', '')
table.insert(highlights, { { hl_start, hl_end }, hl })
end
table.insert(results, str)
end
end
if configuration.separator_hl then
local width = #configuration.separator or 1
local hl_start, hl_end
for _, v in ipairs(results) do
hl_start = (hl_end or 0) + #tostring(v)
hl_end = hl_start + width
table.insert(highlights, { { hl_start, hl_end }, configuration.separator_hl })
end
end
local final_str = table.concat(results, configuration.separator or "│")
if configuration.hl_chars then
for i = 1, #final_str do
local c = final_str:sub(i,i)
local hl = configuration.hl_chars[c]
if hl then
table.insert(highlights, { { i - 1, i }, hl })
end
end
end
return final_str, highlights
end
end
entry_display.resolve = function(self, entry)
local display, display_highlights
if type(entry.display) == 'function' then
self:_increment("display_fn")
display, display_highlights = entry:display(self)
if type(display) == 'string' then
return display, display_highlights
end
else
display = entry.display
end
if type(display) == 'string' then
return display, display_highlights
end
end
return entry_display
|
local Q = require 'Q'
local qconsts = require 'Q/UTILS/lua/q_consts'
require 'Q/UTILS/lua/strict'
local tests = {}
tests.t1 = function()
local a = Q.mk_col({1, 2, 4, 5, 6, 7, 8, 9}, "I4")
local b = Q.mk_col({0, 1, 2, 1, 1, 2, 0, 2}, "I2")
local exp_val = {9, 13, 20}
local nb = 3
local res = Q.sumby(a, b, nb, {is_safe = true})
assert(type(res) == "Reducer")
local vres = res:eval()
assert(type(vres) == "lVector")
-- vefiry
assert(vres:length() == nb)
assert(vres:length() == #exp_val)
local val, nn_val
for i = 1, vres:length() do
val, nn_val = vres:get_one(i-1)
assert(val:to_num() == exp_val[i])
end
print("Test t1 completed")
end
tests.t2 = function()
-- sumby test in safe mode ( default is safe mode )
-- group by column exceeds limit
local a = Q.mk_col({1, 2, 4, 5, 6, 7, 8, 9}, "I4")
local b = Q.mk_col({0, 1, 4, 1, 1, 2, 0, 2}, "I2")
local nb = 3
local res = Q.sumby(a, b, nb)
local status = pcall(res.eval, res)
assert(status == false)
print("Test t2 completed")
end
tests.t3 = function()
-- Values of b, not having 0
local a = Q.mk_col({1, 2, 4, 5, 6, 7, 8, 9}, "I4")
local b = Q.mk_col({1, 1, 2, 1, 1, 2, 1, 2}, "I2")
local exp_val = {0, 22, 20}
local nb = 3
local res = Q.sumby(a, b, nb)
local vres = res:eval()
-- vefiry
assert(vres:length() == nb)
assert(vres:length() == #exp_val)
local val, nn_val
for i = 1, vres:length() do
val, nn_val = vres:get_one(i-1)
assert(val:to_num() == exp_val[i])
end
print("Test t3 completed")
end
tests.t4 = function()
-- Length of input vector more than chunk size
-- note that len must be a mutlple of period for this test
local len = qconsts.chunk_size * 2 + 655
local period = 3
local a = Q.seq( {start = 1, by = 1, qtype = "I4", len = len} )
local b = Q.period({ len = len, start = 0, by = 1, period = period, qtype = "I4"})
local value = len/period
local exp_sum = period*(value*(value+1)/2)
local exp_val = {exp_sum-(value+value), exp_sum-value, exp_sum}
local nb = 3
local res = Q.sumby(a, b, nb)
local vres = res:eval()
assert(vres:length() == nb)
local val, nn_val
for i = 1, vres:length() do
val, nn_val = vres:get_one(i-1)
assert(val:to_num() == exp_val[i])
end
print("Test t4 completed")
end
tests.t5 = function()
local len = qconsts.chunk_size * 2 + 7491
local period = 3
local nb = 3
local p = 0.5
local a = Q.seq( {start = 1, by = 1, qtype = "I4", len = len} )
local b = Q.period({ len = len, start = 0, by = 1, period = period, qtype = "I4"})
local c = Q.const( { val = true, qtype = "B1", len = len })
-- local c = Q.rand( { probability = p, qtype = "B1", len = len })
-- TODO local res = Q.sumby(a, b, nb, { where = c })
local res = Q.sumby(a, b, nb)
local vres = res:eval()
assert(vres:length() == nb)
local val, nn_val
for i = 1, vres:length() do
local act_val, nn_val = vres:get_one(i-1)
local exp_val, n2 = Q.sum(Q.where(a, Q.vvand(c, Q.vseq(b, i-1)))):eval()
-- print("i/actual/expected", i, act_val:to_num(), exp_val:to_num())
assert(act_val:to_num() == exp_val:to_num())
end
print("Test t5 completed")
end
return tests
|
local m = {} -- module
local lfs = require "lfs"
local exception = require "exception"
local fileutil = require "fileutil"
local property = require "property"
local sourceCtxPath = property.sourceCtxPath or ""
--
-- createFile
--
function m.createFile (fileName)
if fileName then
fileutil.noBackDirectory(fileName)
local file, err = io.open(sourceCtxPath .. fileName, "w")
if file == nil then
exception(err)
end
file:write("")
file:close()
else
exception("fileName is empty")
end
end
--
-- createDirectory
--
function m.createDirectory (directoryName)
if directoryName then
fileutil.noBackDirectory(directoryName)
local ok, err = lfs.mkdir(sourceCtxPath .. directoryName)
if not ok then
exception(err)
end
else
exception("directoryName is empty")
end
end
--
-- rename
--
function m.rename (oldName, newName)
if oldName and newName then
fileutil.noBackDirectory(oldName)
fileutil.countBackDirectories(newName)
local ok, err = os.rename(sourceCtxPath .. oldName, sourceCtxPath .. newName)
if not ok then
exception(err)
end
else
exception("oldName/newName is empty")
end
end
--
-- remove
--
function m.remove (path)
if path then
fileutil.noBackDirectory(path)
fileutil.remove(sourceCtxPath .. path)
else
exception("path is empty")
end
end
--
-- save
--
function m.save (fileName, content)
if fileName then
fileutil.noBackDirectory(fileName)
local file, err = io.open(sourceCtxPath .. fileName, "w")
if file == nil then
exception(err)
end
if content then
file:write(content)
else
file:write("")
end
file:close()
else
exception("fileName is empty")
end
end
--
-- fileContent
--
function m.fileContent (fileName)
if fileName then
fileutil.noBackDirectory(fileName)
local file, err = io.open(sourceCtxPath .. fileName, "r")
if file == nil then
exception(err)
end
local content = file:read("*all")
file:close()
return content
else
exception("fileName is empty")
end
end
return m -- return module |
local entityEnumerator = {
__gc = function(enum)
if enum.destructor and enum.handle then
enum.destructor(enum.handle)
end
enum.destructor = nil
enum.handle = nil
end
}
local function EnumerateEntities(initFunc, moveFunc, disposeFunc)
return coroutine.wrap(
function()
local iter, id = initFunc()
if not id or id == 0 then
disposeFunc(iter)
return
end
local enum = {handle = iter, destructor = disposeFunc}
setmetatable(enum, entityEnumerator)
local next = true
repeat
coroutine.yield(id)
next, id = moveFunc(iter)
until not next
enum.destructor, enum.handle = nil, nil
disposeFunc(iter)
end
)
end
local function vehicles()
return EnumerateEntities(FindFirstVehicle, FindNextVehicle, EndFindVehicle)
end
Citizen.CreateThread(
function()
while true do
Citizen.Wait(vehConfig.LoopTime or 15000)
for veh in vehicles() do
if vehConfig.blacklist[GetEntityModel(veh)] == true then
local ped = GetPedInVehicleSeat(veh, -1)
if ped ~= 0 then
if IsPedAPlayer(ped) then
ClearPedTasksImmediately(ped)
while not NetworkHasControlOfEntity(veh) do
NetworkRequestControlOfEntity(veh)
Citizen.Wait(1)
end
SetEntityAsMissionEntity(veh, true, true)
DeleteVehicle(veh)
DeleteEntity(veh)
end
else
while not NetworkHasControlOfEntity(veh) do
NetworkRequestControlOfEntity(veh)
Citizen.Wait(1)
end
SetEntityAsMissionEntity(veh, true, true)
DeleteVehicle(veh)
DeleteEntity(veh)
end
end
Citizen.Wait(vehConfig.TimeBetween or 5)
end
end
end
)
|
enchantress_untouchable_lua = class({})
LinkLuaModifier( "modifier_enchantress_untouchable_lua", "abilities/waveunits/modifier_enchantress_untouchable_lua", LUA_MODIFIER_MOTION_NONE )
LinkLuaModifier( "modifier_enchantress_untouchable_lua_debuff", "abilities/waveunits/modifier_enchantress_untouchable_lua_debuff", LUA_MODIFIER_MOTION_NONE )
--------------------------------------------------------------------------------
-- Passive Modifier
function enchantress_untouchable_lua:GetIntrinsicModifierName()
return "modifier_enchantress_untouchable_lua"
end
|
--[[
UTL.RateApp()
Opens rate dialog. For iOS it is required to have Config.IOS_APP_ID variable set to app ID
Usage:
Config = {
IOS_APP_ID = "000000000"
};
local function create(group, params, scene)
-- when user clicks Rate button call
UTL.RateApp();
end
]]
function UTL.RateApp()
local packageName = system.getInfo("androidAppPackageName");
local targetStore = system.getInfo("targetAppStore");
local config = {
iOSAppId = Config.IOS_APP_ID,
supportedAndroidStores = { "google" }
};
native.showPopup("appStore", config);
end
function UTL.LCS(string1, string2)
local res = {};
local len1, len2 = string1:len(), string2:len();
print(len1, len2);
for i = 0, len1 do
res[i] = {};
for j = 0, len2 do
res[i][j] = {
len = 0,
str = ""
};
end
end
for i = 1, len1 do
for j = 1, len2 do
local c1, c2 = string1:sub(i, i), string2:sub(j, j);
local equal = false;
if (type(c1) == "string" and type(c2) == "string") then
equal = c1 == c2;
end
if (type(c1) == "table" and type(c2) == "table") then
equal = UTL.ArrayEqual(c1, c2);
end
if (equal) then
print(c1, c2, "equal");
res[i][j].len = res[i - 1][j - 1].len + 1;
res[i][j].str = res[i - 1][j - 1].str .. c1;
else
print(c1, c2, "not equal");
if (res[i - 1][j].len > res[i][j - 1].len) then
res[i][j].len = res[i - 1][j].len;
res[i][j].str = res[i - 1][j].str;
else
res[i][j].len = res[i][j - 1].len;
res[i][j].str = res[i][j - 1].str;
end
end
end
end
print("LCS(" .. string1 .. ", " .. string2 .. ") = " .. res[len1][len2].str);
return res[len1][len2].str;
end
function UTL.MultiIndexMap()
local miMap = {
vals = {}
};
miMap.Set = function(self, ...)
local t = {...};
local cval = self.vals;
for i = 1, #t - 2 do
if (cval[t[i]] == nil) then
cval[t[i]] = {};
end
cval = cval[t[i]];
end
cval[t[#t - 1]] = t[#t];
end
miMap.Get = function(self, ...)
local t = {...};
UTL.Dump(self);
local cval = self.vals;
for i = 1, #t do
if (cval[t[i]] == nil) then
return nil;
end
cval = cval[t[i]];
end
return cval;
end
return miMap;
end
function UTL.Set()
local set = {
vals = UTL.MultiIndexMap()
};
set.Set = function(self, ...)
self.vals:Set(..., 1);
end
set.IsSet = function(self, ...)
local v = self.vals:Get(...);
return (v == 1);
end
return set;
end
function UTL.GetDist(o1, o2)
return math.pow(math.pow(o1.x - o2.x, 2) + math.pow(o1.y - o2.y, 2), 0.5);
end
function UTL.GetAngle(o1, o2)
local distance = UTL.GetDist(o1, o2);
local dx = (o1.x - o2.x) / distance;
local dy = (o1.y - o2.y) / distance;
local angle = math.asin(dx) / math.pi * 180;
if (dy > 0) then
angle = 180 - angle;
end
return angle;
end
function UTL.URLify(str)
local result = "";
for i = 1, string.len(str) do
local ch = string.sub(str, i, i);
if (ch ~= " ") then
result = result .. ch;
else
result = result .. "%20";
end
end
return result;
end
function UTL.FileExist( fname, path )
local results = false;
local filePath = system.pathForFile( fname, path );
if filePath then
filePath = io.open( filePath, "r" );
end
if filePath then
filePath:close();
results = true;
end
return results;
end
function UTL.CreateFolder(name)
local lfs = require "lfs"
local temp_path = system.pathForFile( "", system.TemporaryDirectory )
local success = lfs.chdir( temp_path ) -- returns true on success
local new_folder_path
if success then
lfs.mkdir( name )
new_folder_path = lfs.currentdir() .. "/" .. name
end
end
function UTL.Error(msg)
if (Device.isSimulator) then
native.showAlert("Error", msg, {"OK"});
else
print(msg);
end
end
function UTL.ToPostData(tbl)
local p = {};
for k,v in pairs(tbl) do
if (type(v) == "table") then
for k1,v1 in pairs(v) do
p[#p + 1] = k .. "%5B" .. k1 .. "%5D=" .. v1;
end
else
p[#p + 1] = k .. "=" .. v;
end
end
local str = "";
for i = 1, #p do
str = str .. p[i];
if (i ~= #p) then
str = str .. "&";
end
end
return str;
end
function UTL.Post(url, data, onsuccess, onerror, oncomplete)
onsuccess = onsuccess or UTL.EmptyFn;
onerror = onerror or UTL.EmptyFn;
oncomplete = oncomplete or UTL.EmptyFn;
local params = {};
params.body = UTL.ToPostData(data);
params.timeout = 10;
local function networkListener(event)
if ( event.isError ) then
onerror({
isError = true,
message = "Network error"
});
return oncomplete();
else
local r = JSON.decode(event.response);
if (r == nil) then
onerror({
isError = true,
message = "Invalid response from server"
});
UTL.Dump(event);
return oncomplete();
end
if (r.is_error) then
onerror({
isError = true,
message = r.message
});
return oncomplete();
end
onsuccess(r);
return oncomplete();
end
end
network.request(url, "POST", networkListener, params);
end
|
g_commando_house_loot_deed = {
description = "Command Bunker Blueprint",
minimumLevel = 0,
maximumLevel = 0,
lootItems = {
{itemTemplate = "commando_house_loot_deed", weight = 10000000}
}
}
addLootGroupTemplate("g_commando_house_loot_deed", g_commando_house_loot_deed)
|
local flashingVehicles = { }
function bindKeys(res)
bindKey("p", "down", toggleFlashers)
for key, value in ipairs(getElementsByType("vehicle")) do
if isElementStreamedIn(value) then
local flasherState = getElementData(value, "lspd:flashers")
if flasherState and flasherState > 0 then
flashingVehicles[value] = true
end
end
end
end
addEventHandler("onClientResourceStart", getResourceRootElement(), bindKeys)
function toggleFlashers()
local theVehicle = getPedOccupiedVehicle(getLocalPlayer())
if (theVehicle) then
triggerServerEvent("lspd:toggleFlashers", theVehicle)
end
end
addCommandHandler("togglecarflashers", toggleFlashers, false)
function streamIn()
if getElementType( source ) == "vehicle" and getElementData( source, "lspd:flashers" ) then
local flasherState = getElementData(source, "lspd:flashers")
if flasherState and flasherState > 0 then
flashingVehicles[source] = true
else
local headlightColors = getElementData(source, "headlightcolors") or {255,255,255}
setVehicleHeadLightColor(source, headlightColors[1], headlightColors[2], headlightColors[3])
end
end
end
addEventHandler("onClientElementStreamIn", getRootElement(), streamIn)
function streamOut()
if getElementType( source ) == "vehicle" then
flashingVehicles[source] = nil
end
end
addEventHandler("onClientElementStreamOut", getRootElement(), streamOut)
function updateSirens( name )
if name == "lspd:flashers" and isElementStreamedIn( source ) and getElementType( source ) == "vehicle" then
local flasherState = getElementData(source, "lspd:flashers")
if flasherState then
flashingVehicles[source] = true
--else
-- flashingVehicles[source] = nil
end
end
end
addEventHandler("onClientElementDataChange", getRootElement(), updateSirens)
local quickFlashState = 0
function doFlashes()
quickFlashState = ( quickFlashState + 1 ) % 12
for veh in pairs(flashingVehicles) do
if not (isElement(veh)) then
flashingVehicles[veh] = nil
else
local flasherState = getElementData(veh, "lspd:flashers") or 0
_G['doFlashersFor' .. flasherState]( veh )
end
end
end
setTimer(doFlashes, 50, 0)
function doFlashersFor0( veh )
flashingVehicles[veh] = nil
local headlightColors = getElementData(veh, "headlightcolors") or {255,255,255}
setVehicleHeadLightColor(veh, headlightColors[1], headlightColors[2], headlightColors[3])
setVehicleLightState(veh, 0, 0)
setVehicleLightState(veh, 1, 0)
setVehicleLightState(veh, 2, 0)
setVehicleLightState(veh, 3, 0)
end
function doFlashersFor2( veh, backOnly, thePlayer )
-- old flashers for tow trucks
local state = quickFlashState < 6 and 1 or 0
if not backOnly then
setVehicleHeadLightColor(veh, 128, 64, 0)
setVehicleLightState(veh, 0, 1-state)
setVehicleLightState(veh, 1, state)
end
setVehicleLightState(veh, 2, 1-state)
setVehicleLightState(veh, 3, state)
end
function doFlashersFor1( veh ) -- regular PD flashers
doQuickFlashers( veh, 0, 0, 0, 0, 0, 0 )
doFlashersFor2( veh, true )
end
function doFlashersFor3( veh ) -- regular ES flashers
doQuickFlashers( veh, 255, 0, 0, 255, 0, 0 )
doFlashersFor2( veh, true )
end
function doQuickFlashers( veh, r1, g1, b1, r2, g2, b2 )
-- Red, White, Red, White, Red, White, -Alternate-, Blue, White, Blue, White, Blue, White, -repeat-.
if quickFlashState < 6 then
setVehicleLightState(veh, 0, 1)
setVehicleLightState(veh, 1, 0)
else
setVehicleLightState(veh, 0, 0)
setVehicleLightState(veh, 1, 1)
end
if quickFlashState == 0 or quickFlashState == 2 or quickFlashState == 4 then
setVehicleHeadLightColor(veh, r1, g1, b1)
elseif quickFlashState == 6 or quickFlashState == 8 or quickFlashState == 10 then
setVehicleHeadLightColor(veh, r2, g2, b2)
else
setVehicleHeadLightColor(veh, 255, 255, 255)
end
end
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.