content
stringlengths
5
1.05M
local spinner = {} -- Copied from github.com/EmmanuelOga/easing -- This function was contributed by Kikito local inOutQuad = function(t, b, c, d) t = math.min(math.max(t, 0), 1) t = t / d * 2 if t < 1 then return c / 2 * t^2 + b else return -c / 2 * ((t - 1) * (t - 3) - 1) + b end end spinner.new = function (r, width, speed, precision) return { time = 0, radius = r + (width or 1)/2, width = width or 1, speed = speed or 1, precision = precision or 100, polygon = {}, update = spinner.update, draw = spinner.draw, } end local pi2 = math.pi * 2 spinner.update = function (self, dt) self.time = (self.time + (dt * self.speed)) % 1 self.polygon = {} local rotation = self.time * 270 local offset = self.radius * pi2 local off4 = offset/4 local dashoffset, plusrotate local d = 0.5 if self.time > 0.5 then local t = self.time - d dashoffset = inOutQuad(t, off4, offset - off4, d) plusrotate = inOutQuad(t, 135, 450 - 135, d) else local t = self.time dashoffset = inOutQuad(t, offset, off4 - offset, d) plusrotate = inOutQuad(t, 0, 135, d) end rotation = ((rotation + plusrotate) * math.pi / 180) % pi2 local start = rotation local finish = rotation + ((offset - dashoffset) / self.radius) + 0.25 finish = finish < start and finish + pi2 or finish local a = pi2 / self.precision for i = 0, self.precision do local ang = start + (a * i) if ang < finish then self.polygon[#self.polygon + 1] = self.radius * math.cos(ang) self.polygon[#self.polygon + 1] = self.radius * math.sin(ang) end end end spinner.draw = function (self, x, y, r, sx, sy) love.graphics.push() love.graphics.translate(x, y) love.graphics.scale(sx, sy) love.graphics.rotate((r or 0) - math.pi/2) local _w = love.graphics.getLineWidth() love.graphics.setLineWidth(self.width) if self.polygon and #self.polygon > 4 and #self.polygon % 2 == 0 then love.graphics.line(unpack(self.polygon)) end love.graphics.setLineWidth(_w) love.graphics.pop() end return spinner
--[[ LuCI - Lua Configuration Interface - dump1090 support Copyright 2014 Álvaro Fernández Rojas <noltari@gmail.com> 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 $Id$ ]]-- m = Map("dump1090", "dump1090", translate("dump1090 is a Mode S decoder specifically designed for RTLSDR devices, here you can configure the settings.")) s = m:section(TypedSection, "dump1090", "") s.addremove = true s.anonymous = false enable=s:option(Flag, "disabled", translate("Enabled")) enable.enabled="0" enable.disabled="1" enable.default = "1" enable.rmempty = false respawn=s:option(Flag, "respawn", translate("Respawn")) respawn.default = false device_index=s:option(Value, "device_index", translate("RTL device index")) device_index.rmempty = true device_index.datatype = "uinteger" gain=s:option(Value, "gain", translate("Gain (-10 for auto-gain)")) gain.rmempty = true gain.datatype = "integer" enable_agc=s:option(Flag, "enable_agc", translate("Enable automatic gain control")) enable_agc.default = false freq=s:option(Value, "freq", translate("Frequency")) freq.rmempty = true freq.datatype = "uinteger" ifile=s:option(Value, "ifile", translate("Data file")) ifile.rmempty = true ifile.datatype = "file" raw=s:option(Flag, "raw", translate("Show only messages hex values")) raw.default = false net=s:option(Flag, "net", translate("Enable networking")) modeac=s:option(Flag, "modeac", translate("Enable decoding of SSR Modes 3/A & 3/C")) modeac.default = false net_beast=s:option(Flag, "net_beast", translate("TCP raw output in Beast binary format")) net_beast.default = false net_only=s:option(Flag, "net_only", translate("Enable just networking, no RTL device or file used")) net_only.default = false net_bind_address=s:option(Value, "net_bind_address", translate("IP address to bind to")) net_bind_address.rmempty = true net_bind_address.datatype = "ipaddr" net_http_port=s:option(Value, "net_http_port", translate("HTTP server port")) net_http_port.rmempty = true net_http_port.datatype = "port" net_ri_port=s:option(Value, "net_ri_port", translate("TCP raw input listen port")) net_ri_port.rmempty = true net_ri_port.datatype = "port" net_ro_port=s:option(Value, "net_ro_port", translate("TCP raw output listen port")) net_ro_port.rmempty = true net_ro_port.datatype = "port" net_sbs_port=s:option(Value, "net_sbs_port", translate("TCP BaseStation output listen port")) net_sbs_port.rmempty = true net_sbs_port.datatype = "port" net_bi_port=s:option(Value, "net_bi_port", translate("TCP Beast input listen port")) net_bi_port.rmempty = true net_bi_port.datatype = "port" net_bo_port=s:option(Value, "net_bo_port", translate("TCP Beast output listen port")) net_bo_port.rmempty = true net_bo_port.datatype = "port" net_ro_size=s:option(Value, "net_ro_size", translate("TCP raw output minimum size")) net_ro_size.rmempty = true net_ro_size.datatype = "uinteger" net_ro_rate=s:option(Value, "net_ro_rate", translate("TCP raw output memory flush rate")) net_ro_rate.rmempty = true net_ro_rate.datatype = "uinteger" net_heartbeat=s:option(Value, "net_heartbeat", translate("TCP heartbeat rate in seconds")) net_heartbeat.rmempty = true net_heartbeat.datatype = "uinteger" net_buffer=s:option(Value, "net_buffer", translate("TCP buffer size 64Kb * (2^n)")) net_buffer.rmempty = true net_buffer.datatype = "uinteger" lat=s:option(Value, "lat", translate("Reference/receiver latitude for surface posn")) lat.rmempty = true lat.datatype = "integer" lon=s:option(Value, "lon", translate("Reference/receiver longitude for surface posn")) lon.rmempty = true lon.datatype = "integer" fix=s:option(Flag, "fix", translate("Enable single-bits error correction using CRC")) fix.default = false no_fix=s:option(Flag, "no_fix", translate("Disable single-bits error correction using CRC")) no_fix.default = false no_crc_check=s:option(Flag, "no_crc_check", translate("Disable messages with broken CRC")) no_crc_check.default = false phase_enhance=s:option(Flag, "phase_enhance", translate("Enable phase enhancement")) phase_enhance.default = false agressive=s:option(Flag, "agressive", translate("More CPU for more messages")) agressive.default = false mlat=s:option(Flag, "mlat", translate("Display raw messages in Beast ascii mode")) mlat.default = false stats=s:option(Flag, "stats", translate("Print stats at exit")) stats.default = false stats_every=s:option(Value, "stats_every", translate("Show and reset stats every seconds")) stats_every.rmempty = true stats_every.datatype = "uinteger" onlyaddr=s:option(Flag, "onlyaddr", translate("Show only ICAO addresses")) onlyaddr.default = false metric=s:option(Flag, "metric", translate("Use metric units")) metric.default = false snip=s:option(Flag, "snip", translate("Strip IQ file removing samples")) snip.rmempty = true snip.datatype = "uinteger" debug_mode=s:option(Flag, "debug", translate("Debug mode flags")) debug_mode.rmempty = true ppm=s:option(Flag, "ppm", translate("Set receiver error in parts per million")) ppm.rmempty = true ppm.datatype = "uinteger" return m
--[[ Tencent is pleased to support the open source community by making BK-CI 蓝鲸持续集成平台 available. Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. BK-CI 蓝鲸持续集成平台 is licensed under the MIT license. A copy of the MIT License is included in this file. Terms of the MIT License: --------------------------------------------------- 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. ]] config = { env = "__BK_CI_ENV__", static_dir = "__BK_CI_HOME__/frontend", static_dir_gray = "__BK_CI_HOME__/frontend-gray", docs_dir = "__BK_CI_HOME__/docs", static_dir_codecc = "__BK_CODECC_HOME__/frontend", http_schema = "__BK_HTTP_SCHEMA__", -- 蓝鲸PaaS平台访问协议 http or https, 如果有对接才配置修改,开源默认没对接 paas_host = "__BK_PAAS_FQDN__", -- 蓝鲸PaaS平台域名, 如果有对接才配置修改,开源默认没对接 paas_http_port = "__BK_PAAS_HTTPS_PORT__", -- 蓝鲸PaaS平台域名的端口, 如果有对接才配置修改,开源默认没对接 login_url = "__BK_CODECC_PAAS_LOGIN_URL__", -- 蓝鲸PaaS平台登录URL, 如果有对接才配置修改,开源默认没对接 service_name = "", -- 指定后台微服务名称,如果对接后端是boot-assembly的单体微服务,则该配置项为bk-ci, 否则请置空会自动路由相应微服务 allow_hosts = { "__BK_CODECC_GATEWAY_CORS_ALLOW_LIST__" }, allow_headers = "Authorization,Content-Type,withcredentials,credentials,Accept,Origin,User-Agent,Cache-Control,Keep-Alive,X-Requested-With,If-Modified-Since,X-CSRFToken,X-DEVOPS-PROJECT-ID,X-DEVOPS-TASK-ID,X-DEVOPS-TOKEN", ns = { ip = { "__BK_CODECC_CONSUL_IP__" }, port = __BK_CODECC_CONSUL_DNS_PORT__, http_port = __BK_CODECC_CONSUL_HTTP_PORT__, domain = "__BK_CODECC_CONSUL_DOMAIN__", tag = "__BK_CODECC_CONSUL_DISCOVERY_TAG__", suffix = "-__BK_CODECC_CONSUL_DISCOVERY_TAG__", nodes_url = "/v1/catalog/nodes" }, ns_gray = { ip = { "__BK_CODECC_CONSUL_GRAY_IP__" }, port = __BK_CODECC_CONSUL_DNS_PORT__, http_port = __BK_CODECC_CONSUL_PORT__, domain = "__BK_CODECC_CONSUL_DOMAIN__", tag = "__BK_CODECC_CONSUL_DISCOVERY_TAG__", suffix = "-__BK_CODECC_CONSUL_DISCOVERY_TAG__", nodes_url = "/v1/catalog/nodes" }, ns_devnet = { ip = { "__BK_CODECC_CONSUL_DEVNET_IP__" }, port = __BK_CODECC_CONSUL_DNS_PORT__, http_port = __BK_CODECC_CONSUL_PORT__, domain = "__BK_CODECC_CONSUL_DOMAIN__", tag = "__BK_CODECC_CONSUL_DISCOVERY_TAG__", suffix = "-__BK_CODECC_CONSUL_DISCOVERY_TAG__", nodes_url = "/v1/catalog/nodes" }, ns_devnet_gray = { ip = { "__BK_CODECC_CONSUL_DEVNET_GRAY_IP__" }, port = __BK_CODECC_CONSUL_DNS_PORT__, http_port = __BK_CODECC_CONSUL_PORT__, domain = "__BK_CODECC_CONSUL_DOMAIN__", tag = "__BK_CODECC_CONSUL_DISCOVERY_TAG__", suffix = "-__BK_CODECC_CONSUL_DISCOVERY_TAG__", nodes_url = "/v1/catalog/nodes" }, redis = { host = "__BK_CI_REDIS_HOST__", port = __BK_CI_REDIS_PORT__, pass = "__BK_CI_REDIS_PASSWORD__", -- redis 密码,没有密码的话,把这行注释掉 database = __BK_CI_REDIS_DB__, -- 默认选择db0 max_idle_time = 600000, -- 保留在连接池的时间 pool_size = 10 -- 连接池的大小 }, oauth = { -- 对接蓝鲸权限中心才需要的配置 ip = "__BK_SSM_HOST__", env = "__BK_CI_IAM_ENV__", port = "__BK_SSM_PORT__", host = "__BK_SSM_HOST__", url = "__BK_CI_GATEWAY_SSM_TOKEN_URL__", -- 接口路径 app_code = "__BK_CI_APP_CODE__", app_secret = "__BK_CI_APP_TOKEN__", } } require("init_common") require("ip_whitelist")
---------------------------------------------------- -- global.lua - 全局变量 -- -- Author : Chunhui Ren <renchunhui2008@gmail.com> -- License: MIT License ---------------------------------------------------- -- $HOME 系统环境变量 HOME = vim.fn.expand('$HOME') -- 判断是否是 macOS IS_MAC = vim.loop.os_uname().system == 'Darwin' -- 判断是否是 Linux IS_LINUX = vim.loop.os_uname().system == 'Linux'
local callingArguments = {...}; local Path = shell.dir().."/"; --wget run https://raw.githubusercontent.com/BHNowaru/ccirc/main/importer.lua local names = { ["irc-client"] = true, ["irc-host"] = true, ["irc-server"] = true } if (callingArguments[1] == "-s") then-- -s for select callingArguments = {table.unpack(callingArguments, 2)} for i, v in pairs(callingArguments) do if (names[i:lower()]) then shell.run("rm", i..".lua"); local success = shell.run("wget", "https://raw.githubusercontent.com/BHNowaru/ccirc/main/" .. i .. ".lua", i..".lua") if (not success) then term.setTextColour(term.isColour and colours.red or colours.lightGray); print("Could not install", tostring(i)..".lua.") term.setTextColour(colours.white); else term.setTextColour(term.isColour and colours.lime or colours.white); print("Successfully installed!") term.setTextColour(colours.white); end end end else for i, v in pairs(names) do shell.run("rm", i..".lua"); local success = shell.run("wget", "https://raw.githubusercontent.com/BHNowaru/ccirc/main/" .. i .. ".lua", i..".lua") if (not success) then term.setTextColour(term.isColour and colours.red or colours.lightGray); print("Could not install", tostring(i)..".lua.") term.setTextColour(colours.white); else term.setTextColour(term.isColour and colours.lime or colours.white); print("Successfully installed!") term.setTextColour(colours.white); end end end
--------------------------------------------------------------------------------------------------- -- Common module --------------------------------------------------------------------------------------------------- --[[ Required Shared libraries ]] local actions = require("user_modules/sequences/actions") local utils = require("user_modules/utils") local constants = require('protocol_handler/ford_protocol_constants') local atf_logger = require("atf_logger") local message_dispatcher = require("message_dispatcher") local consts = require("user_modules/consts") --[[ Module ]] local m = {} m.streamFiles = { [1] = "files/SampleVideo_5mb.mp4", [2] = "files/MP3_4555kb.mp3" } m.streamingStatus = { [1] = nil, [2] = nil } m.tollerance = 500 --ms m.ts = {} m.seq = { hmi = {}, app1 = {}, app2 = {} } actions.minTimeout = 1000 --[[ Proxy Functions ]] m.start = actions.start m.activateApp = actions.activateApp m.app = actions.app m.hmi = actions.hmi m.mobile = actions.mobile m.sdl = actions.sdl m.run = actions.run m.wait = actions.run.wait m.color = consts.color --[[ Common Functions ]] function m.print(...) utils.cprint(m.color.magenta, ...) end function m.printTable(...) utils.cprintTable(m.color.magenta, ...) end function m.timestamp(pEventName, pConType) m.ts[pEventName] = timestamp() local function isExist(pArray, pItem) for _, v in pairs(pArray) do if v == pItem then return true end end return false end local function insert(pTable, pItem) if not isExist(pTable, pItem) then table.insert(pTable, pItem) end end if pConType then insert(m.seq[pConType], pEventName) else for k in pairs(m.seq) do insert(m.seq[k], pEventName) end end end function m.log(...) local str = "[" .. atf_logger.formated_time(true) .. "]" for i, p in pairs({...}) do local delimiter = "\t" if i == 1 then delimiter = " " end str = str .. delimiter .. p end utils.cprint(m.color.magenta, str) end function m.preconditions(pParamValues) actions.preconditions() if pParamValues and type(pParamValues) == "table" then for p, v in pairs(pParamValues) do utils.cprint(m.color.magenta, p, v) m.sdl.setSDLIniParameter(p, v) end end end function m.postconditions() for appId, v in pairs(m.streamingStatus) do if v == true then m.stopStreaming(appId) end end actions.postconditions() end function m.startStreaming(pAppId, pServiceId) local notName local reqName if pServiceId == 10 then notName = "Navigation.OnAudioDataStreaming" reqName = "Navigation.StartAudioStream" elseif pServiceId == 11 then notName = "Navigation.OnVideoDataStreaming" reqName = "Navigation.StartStream" end m.mobile.getSession(pAppId):StartService(pServiceId) :Do(function() m.mobile.getSession(pAppId):StartStreaming(pServiceId, m.streamFiles[pAppId], 10000) m.hmi.getConnection():ExpectNotification(notName, { available = true }) m.log("App " .. pAppId .." starts streaming ...") m.streamingStatus[pAppId] = true end) m.hmi.getConnection():ExpectRequest(reqName, { appID = m.app.getHMIId(pAppId) }) :Do(function(_, data) m.hmi.getConnection():SendResponse(data.id, data.method, "SUCCESS", { }) end) end function m.stopStreaming(pAppId) if m.streamingStatus[pAppId] == true then m.mobile.getSession(pAppId):StopStreaming(m.streamFiles[pAppId]) m.log("App " .. pAppId .. " stops streaming") m.streamingStatus[pAppId] = false else utils.cprint(m.color.yellow, "Streaming is unable to stop since it's not started") end end function m.registerApp(pAppId) if not pAppId then pAppId = 1 end local session = m.mobile.createSession(pAppId) session:StartService(7) :Do(function() local corId = session:SendRPC("RegisterAppInterface", m.app.getParams(pAppId)) m.hmi.getConnection():ExpectNotification("BasicCommunication.OnAppRegistered") :Do(function(_, d) m.app.setHMIId(d.params.application.appID, pAppId) end) session:ExpectResponse(corId, { success = true, resultCode = "SUCCESS" }) function session:ExpectEndService(pServiceId) local event = m.run.createEvent() event.matches = function(_, data) return data.frameType == constants.FRAME_TYPE.CONTROL_FRAME and data.serviceType == pServiceId and data.sessionId == self.sessionId and data.frameInfo == constants.FRAME_INFO.END_SERVICE end return session:ExpectEvent(event, "End Service Event") end function session:SendEndServiceAck(pServiceId) self:Send({ frameType = constants.FRAME_TYPE.CONTROL_FRAME, serviceType = pServiceId, frameInfo = constants.FRAME_INFO.END_SERVICE_ACK }) end end) return session:ExpectNotification("OnHMIStatus", { hmiLevel = "NONE" }) end function m.checkTimeout(pBaseParam, pVerifiedParam, pExpTS, pTollerance) if not pTollerance then pTollerance = m.tollerance end if m.ts[pBaseParam] then if m.ts[pVerifiedParam] == nil then m.run.fail(pVerifiedParam .. " is not received") else local delay = math.abs(m.ts[pVerifiedParam] - m.ts[pBaseParam]) if delay > pExpTS + pTollerance then m.run.fail("Delay between `" .. pBaseParam .. "` and `" .. pVerifiedParam .. "` is too high, expected ~ " .. pExpTS .. "ms(+" .. pTollerance .. "), actual " .. delay .. "ms") end if delay < pExpTS - pTollerance then m.run.fail("Delay between `" .. pBaseParam .. "` and `" .. pVerifiedParam .. "` is too low, expected ~ " .. pExpTS .. "ms(-" .. pTollerance .. "), actual " .. delay .. "ms") end end end end function m.checkSequence(pConType, pExpSeq) local function arraysEqual(pTbl1, pTbl2) if #pTbl1 ~= #pTbl2 then return false end for k in pairs(pTbl1) do if pTbl1[k] ~= pTbl2[k] then return false end end return true end local seq = m.seq[pConType] if not arraysEqual(pExpSeq, seq) then m.run.fail("Expected sequence:\n" .. utils.tableToString(pExpSeq) .. "\nActual:\n" .. utils.tableToString(seq)) end end function m.deactivateApp(pAppId) m.hmi.getConnection():SendNotification("BasicCommunication.OnAppDeactivated", { appID = m.app.getHMIId(pAppId) }) m.mobile.getSession(pAppId):ExpectNotification("OnHMIStatus", { hmiLevel = "LIMITED", videoStreamingState = "STREAMABLE" }) end local FileStream_Orig = message_dispatcher.FileStream function message_dispatcher.FileStream(...) local stream = FileStream_Orig(...) local frameSize = (constants.FRAME_SIZE["P" .. stream.version] - constants.PROTOCOL_HEADER_SIZE) local chunkSize = (frameSize < stream.bandwidth) and frameSize or (stream.bandwidth) local numberOfChunksPerSecond = 10 -- allow to send 10 chunks per 1 second stream.chunksize = math.floor(chunkSize / numberOfChunksPerSecond + 0.5) local GetMessage_Orig = stream.GetMessage function stream:GetMessage(...) local msg = GetMessage_Orig(self, ...) return msg, 10 end return stream end return m
require('level') -- Apothecaries are learned men and women, who ground their knowledge in -- a study of the elements. As a result, they gain intelligence as they -- become more experienced. local function apothecary_stat_gain_fn(creature_id, level) if level == 1 then identify_item_type(creature_id, CITEM_TYPE_POTION) end if level % 5 == 0 then incr_int(creature_id, is_player(creature_id)) end end -- Set up the apothecary functions. local apothecary_class_stat_fn = apothecary_stat_gain_fn level.set_class_stat_gain_level_fn("apothecary", apothecary_class_stat_fn)
-- Both clientside and serverside initialize, do not edit! if SERVER then AddCSLuaFile() end local SHAREDCODE = 0 local CLIENTSIDECODE = 1 local SERVERSIDECODE = 2 local function includelua( file, realm ) if SERVER and realm ~= SERVERSIDECODE then print("AddCSLuaFile", file ) AddCSLuaFile( file ) end if realm == SHAREDCODE or ( SERVER and realm == SERVERSIDECODE ) or ( CLIENT and realm == CLIENTSIDECODE ) then include( file ) end end local searchdir = "xdbot/clientsidecode/" local files, dirs = file.Find( searchdir .. "*", "LUA" ) for enumerate, filename in pairs( files ) do includelua( searchdir .. filename, CLIENTSIDECODE ) end searchdir = "xdbot/serversidecode/" files, dirs = file.Find( searchdir .. "*", "LUA" ) for enumerate, filename in pairs( files ) do includelua( searchdir .. filename, SERVERSIDECODE ) end searchdir = "xdbot/sharedcode/" files, dirs = file.Find( searchdir .. "*", "LUA" ) for enumerate, filename in pairs( files ) do includelua( searchdir .. filename, SHAREDCODE ) end
alert("stupid", "Some Stupid Title");
local PANEL = {} function PANEL:Init() self.IsMenuMessage = true end function PANEL:SetMessage(uid) self.Message = impulse.MenuMessage.Data[uid] self.Message.colour = ColorAlpha(self.Message.colour, 170) self.desc = vgui.Create("DLabel", self) self.desc:SetPos(50, 40) self.desc:SetSize(self:GetWide() - 60, self:GetTall() - 20) self.desc:SetFont(HIGH_RES("Impulse-Elements17-Shadow", "Impulse-Elements22-Shadow")) self.desc:SetWrap(true) self.desc:SetContentAlignment(7) self.desc:SetText(self.Message.message) self.close = vgui.Create("DImageButton", self) self.close:SetPos(self:GetWide() - 30, 4) self.close:SetSize(25, 25) self.close:SetImage("impulse/icons/x-mark-128.png") local panel = self function self.close:DoClick() panel:Remove() if panel.OnClosed then panel.OnClosed() end end if self.Message.url then self.url = vgui.Create("DLabel", self) self.url:SetPos(50, self:GetTall() - 20) self.url:SetTextColor(Color(0, 97, 175)) self.url:SetFont(HIGH_RES("Impulse-Elements17-Shadow", "Impulse-Elements22-Shadow")) self.url:SetText(self.Message.urlText or "Find out more...") self.url:SetURL(self.Message.url) self.url:SetCursor("hand") self.url:SetMouseInputEnabled(true) self.url:SizeToContents() self.url.url = self.Message.url function self.url:DoClick() gui.OpenURL(self.url) end end end local gradient = Material("vgui/gradient-l") local icon = Material("impulse/icons/warning-128.png") local bodyCol = Color(30, 30, 30, 190) function PANEL:Paint(w,h) surface.SetDrawColor(bodyCol) surface.DrawRect(0, 0, w, h) if self.Message then surface.SetDrawColor(self.Message.colour) surface.SetMaterial(gradient) surface.DrawTexturedRect(0, 0, w, 32) surface.SetDrawColor(ColorAlpha(self.Message.colour, 50)) surface.DrawRect(0, 0, w, 32) draw.SimpleText(self.Message.title, HIGH_RES("Impulse-Elements22-Shadow", "Impulse-Elements23-Shadow"), 10, 16, nil, nil, TEXT_ALIGN_CENTER) surface.SetMaterial(icon) surface.SetDrawColor(color_white) surface.DrawTexturedRect(5, 38, 36, 36) end end vgui.Register("impulseMenuMessage", PANEL, "DPanel")
local _, core = ...; local _G = _G; local MonDKP = core.MonDKP; local L = core.L; function MonDKP:ToggleDKPModesWindow() if core.IsOfficer == true then if not core.ModesWindow then core.ModesWindow = MonDKP:DKPModesFrame_Create(); -- Populate Tabs MonDKP:DKPModes_Main() MonDKP:DKPModes_Misc() end core.ModesWindow:SetShown(not core.ModesWindow:IsShown()) core.ModesWindow:SetFrameLevel(10) if core.BiddingWindow then core.BiddingWindow:SetFrameLevel(6) end if MonDKP.UIConfig then MonDKP.UIConfig:SetFrameLevel(2) end else MonDKP:Print(L["NOPERMISSION"]) end end function MonDKP:DKPModesFrame_Create() local f = CreateFrame("Frame", "MonDKP_DKPModesFrame", UIParent); local ActiveMode = MonDKP_DB.modes.mode; local ActiveCostType = MonDKP_DB.modes.costvalue; if not core.IsOfficer then MonDKP:Print(L["NOPERMISSION"]) return end f:SetClampedToScreen(true) f:SetPoint("TOPLEFT", UIParent, "TOPLEFT", 300, -200); f:SetSize(473, 598); f:SetBackdrop( { edgeFile = "Interface\\AddOns\\MonolithDKP\\Media\\Textures\\edgefile.tga", tile = true, tileSize = 1, edgeSize = 2, insets = { left = 0, right = 0, top = 0, bottom = 0 } }); f:SetBackdropColor(0,0,0,0.9); f:SetBackdropBorderColor(1,1,1,0.5) f:SetFrameStrata("DIALOG") f:SetFrameLevel(5) f:SetMovable(true); f:EnableMouse(true); f:RegisterForDrag("LeftButton"); f:SetScript("OnDragStart", f.StartMoving); f:SetScript("OnDragStop", f.StopMovingOrSizing); f:SetScript("OnMouseDown", function(self) self:SetFrameLevel(10) if core.BiddingWindow then core.BiddingWindow:SetFrameLevel(6) end if MonDKP.UIConfig then MonDKP.UIConfig:SetFrameLevel(2) end end) tinsert(UISpecialFrames, f:GetName()); -- Sets frame to close on "Escape" f.BG = f:CreateTexture(nil, "OVERLAY", nil); f.BG:SetColorTexture(0, 0, 0, 1) f.BG:SetPoint("TOPLEFT", f, "TOPLEFT", 2, -2); f.BG:SetSize(475, 600); f.BG:SetTexture("Interface\\AddOns\\MonolithDKP\\Media\\Textures\\menu-bg"); -- TabMenu ScrollFrame and ScrollBar f.ScrollFrame = CreateFrame("ScrollFrame", nil, f); f.ScrollFrame:ClearAllPoints(); f.ScrollFrame:SetPoint("TOPLEFT", f, "TOPLEFT", 4, -8); f.ScrollFrame:SetPoint("BOTTOMRIGHT", f, "BOTTOMRIGHT", -3, 4); f.ScrollFrame:SetClipsChildren(false); f.ScrollFrame:SetScript("OnMouseWheel", ScrollFrame_OnMouseWheel); f.ScrollFrame.ScrollBar = CreateFrame("Slider", nil, f.ScrollFrame, "UIPanelScrollBarTrimTemplate") f.ScrollFrame.ScrollBar:ClearAllPoints(); f.ScrollFrame.ScrollBar:SetPoint("TOPLEFT", f.ScrollFrame, "TOPRIGHT", -20, -12); f.ScrollFrame.ScrollBar:SetPoint("BOTTOMRIGHT", f.ScrollFrame, "BOTTOMRIGHT", -2, 15); f.DKPModesMain, f.DKPModesMisc = MonDKP:SetTabs(f, 2, 475, 600, "Modes", "Misc"); tinsert(UISpecialFrames, f:GetName()); -- Sets frame to close on "Escape" -- Close Button f.closeContainer = CreateFrame("Frame", "MonDKModesWindowCloseButtonContainer", f) f.closeContainer:SetPoint("CENTER", f, "TOPRIGHT", -4, 0) f.closeContainer:SetBackdrop({ bgFile = "Textures\\white.blp", tile = true, edgeFile = "Interface\\AddOns\\MonolithDKP\\Media\\Textures\\edgefile.tga", tile = true, tileSize = 1, edgeSize = 3, }); f.closeContainer:SetBackdropColor(0,0,0,0.9) f.closeContainer:SetBackdropBorderColor(1,1,1,0.2) f.closeContainer:SetSize(28, 28) f.closeBtn = CreateFrame("Button", nil, f, "UIPanelCloseButton") f.closeBtn:SetPoint("CENTER", f.closeContainer, "TOPRIGHT", -14, -14) f:Hide() f:SetScript("OnHide", function() MonDKP_DB.modes.rolls.min = f.DKPModesMain.RollContainer.rollMin:GetNumber() MonDKP_DB.modes.rolls.max = f.DKPModesMain.RollContainer.rollMax:GetNumber() MonDKP_DB.modes.rolls.AddToMax = f.DKPModesMain.RollContainer.AddMax:GetNumber() if (MonDKP_DB.modes.rolls.min > MonDKP_DB.modes.rolls.max and MonDKP_DB.modes.rolls.max ~= 0 and MonDKP_DB.modes.rolls.UserPerc == false) or (MonDKP_DB.modes.rolls.UsePerc and (MonDKP_DB.modes.rolls.min < 0 or MonDKP_DB.modes.rolls.max > 100 or MonDKP_DB.modes.rolls.min > MonDKP_DB.modes.rolls.max)) then StaticPopupDialogs["NOTIFY_ROLLS"] = { text = "|CFFFF0000"..L["WARNING"].."|r: "..L["INVALIDROLLPARAM"], button1 = L["OK"], timeout = 0, whileDead = true, hideOnEscape = true, preferredIndex = 3, } StaticPopup_Show ("NOTIFY_ROLLS") f:Show() return; end end) return f; end
-- 必须有PROJECT和VERSION这两个信息 -- 这个DEMO需要V0003及以上的固件 PROJECT = "otademo" VERSION = "1.0.0" PROJECT_KEY = "01kgGFLlsfAabFuwJosS4surDNWOQCVH" log.info("version", VERSION) -- 打印版本号,就能知道是否升级成功 local sys = require "sys" -- 生成OTA的URL -- local iot_url = "http://iot.nutz.cn/api/site/firmware_upgrade" local iot_url = "http://iot.openluat.com/api/site/firmware_upgrade" local ota_url = string.format("%s?project_key=%s&imei=%s&firmware_name=%s&version=%s", iot_url, PROJECT_KEY, nbiot.imei(), PROJECT .. "_" .. rtos.firmware(), VERSION ) log.info("ota", "url", ota_url) sys.taskInit(function() while 1 do if socket.isReady() then -- 联网后轮询 sys.wait(2000) http.get(ota_url, {dw="/update.bin"}, function(code,headers,body) if code == 200 then -- 当且仅当服务器返回200时,升级文件下载成功 log.info("ota", "http ota ok!!", "reboot!!") rtos.reboot() else log.info("ota", "resp", code, body) end end) -- sys.wait(60*60*1000) -- 一小时检查一次 sys.wait(60*1000) -- 一小时检查一次 else sys.wait(3000) end end end) -- 结尾总是这一句哦 sys.run()
JustTeleported = false function DrawText3Ds(x, y, z, text) SetTextScale(0.35, 0.35) SetTextFont(4) SetTextProportional(1) SetTextColour(255, 255, 255, 215) SetTextEntry("STRING") SetTextCentre(true) AddTextComponentString(text) SetDrawOrigin(x,y,z, 0) DrawText(0.0, 0.0) local factor = (string.len(text)) / 370 DrawRect(0.0, 0.0+0.0125, 0.017+ factor, 0.03, 0, 0, 0, 75) ClearDrawOrigin() end Citizen.CreateThread(function() while true do local inRange = false local ped = PlayerPedId() local pos = GetEntityCoords(ped) for loc,_ in pairs(Config.Teleports) do for k, v in pairs(Config.Teleports[loc]) do local dist = #(pos - vector3(v.coords.x, v.coords.y, v.coords.z)) if dist < 2 then inRange = true DrawMarker(2, v.coords.x, v.coords.y, v.coords.z, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.3, 0.3, 0.15, 255, 255, 255, 255, 0, 0, 0, 1, 0, 0, 0) if dist < 1 then DrawText3Ds(v.coords.x, v.coords.y, v.coords.z, v.drawText) if IsControlJustReleased(0, 51) then if k == 1 then if v["AllowVehicle"] then SetPedCoordsKeepVehicle(ped, Config.Teleports[loc][2].coords.x, Config.Teleports[loc][2].coords.y, Config.Teleports[loc][2].coords.z) else SetEntityCoords(ped, Config.Teleports[loc][2].coords.x, Config.Teleports[loc][2].coords.y, Config.Teleports[loc][2].coords.z) end if type(Config.Teleports[loc][2].coords) == "vector4" then SetEntityHeading(ped, Config.Teleports[loc][2].coords.w) end elseif k == 2 then if v["AllowVehicle"] then SetPedCoordsKeepVehicle(ped, Config.Teleports[loc][1].coords.x, Config.Teleports[loc][1].coords.y, Config.Teleports[loc][1].coords.z) else SetEntityCoords(ped, Config.Teleports[loc][1].coords.x, Config.Teleports[loc][1].coords.y, Config.Teleports[loc][1].coords.z) end if type(Config.Teleports[loc][1].coords) == "vector4" then SetEntityHeading(ped, Config.Teleports[loc][1].coords.w) end end ResetTeleport() end end end end end if not inRange then Citizen.Wait(1000) end Citizen.Wait(3) end end) ResetTeleport = function() SetTimeout(1000, function() JustTeleported = false end) end
#! /usr/bin/lua require( "common" ) Items = data( "items" ) -- this contains a memory dump that's been hit with -- "od -t x1", had all the new lines/addresses removed and -- then been trimmed to only include the relevant data local DataPath = "monsters/carves.txt" local sep = { blocks = 2, monster = nil } local Schema = { -- anteka KO { blocks = 3, type = "carve", name = { hgg = "KO", }, monster = "Anteka" }, sep, -- steel ura back mining { blocks = 1, type = "carve", name = { hgg = "Tripped", }, monster = "Steel Uragaan" }, sep, -- dobo tail mining { blocks = 2, type = "carve", name = { hgg = "Tail Mine", }, monster = "Doboruberuku" }, sep, -- TODO: something to do with a living jin -- Mega Thunderbug, Jinouga Pelt { blocks = 3, type = "carve", name = { hgg = "idk", }, monster = "Jinouga" }, sep, -- kelbi KO { blocks = 3, type = "carve", name = { hgg = "KO", }, monster = "Kelbi" }, sep, -- jhen's mouth { blocks = 2, type = "carve", name = { hgg = "Mouth", }, monster = "Jhen Mohran" }, sep, -- jhen back mining { blocks = 2, type = "carve", name = { hgg = "Back", }, monster = "Jhen Mohran" }, sep, -- regular ura back mining { blocks = 2, type = "carve", name = { hgg = "Tripped", }, monster = "Uragaan" }, sep, -- ice barroth's head { blocks = 1, type = "carve", name = { hgg = "Head", }, monster = "Ice Barroth" }, sep, -- regular barroth's head { blocks = 3, type = "carve", name = { hgg = "Head", }, monster = "Barroth" }, sep, -- bulldrome shiny { blocks = 3, type = "shiny", action = { hgg = "?", }, monster = "Bulldrome" }, sep, -- uka shiny { blocks = 1, type = "shiny", action = { hgg = "?", }, monster = "Ukanlos" }, sep, -- aka shiny { blocks = 1, type = "shiny", action = { hgg = "?", }, monster = "Akantor" }, sep, -- reg narga shiny { blocks = 2, type = "shiny", action = { hgg = "?", }, monster = "Nargacuga" }, sep, -- reg tigrex shiny { blocks = 2, type = "shiny", action = { hgg = "?", }, monster = "Tigrex" }, sep, -- ice agna shiny { blocks = 1, type = "shiny", action = { hgg = "?", }, monster = "Ice Agnaktor" }, sep, -- purple ludroth shiny { blocks = 1, type = "shiny", action = { hgg = "?", }, monster = "Purple Royal Ludroth" }, sep, -- steel ura shiny { blocks = 1, type = "shiny", action = { hgg = "?", }, monster = "Steel Uragaan" }, sep, -- ice barroth shiny { blocks = 1, type = "shiny", action = { hgg = "?", }, monster = "Ice Barroth" }, sep, -- sand barioth shiny { blocks = 1, type = "shiny", action = { hgg = "?", }, monster = "Sand Barioth" }, sep, -- thundr giggi shiny { blocks = 1, type = "shiny", action = { hgg = "?", }, monster = "Thunder Gigginox" }, sep, -- red peco shiny { blocks = 1, type = "shiny", action = { hgg = "?", }, monster = "Red Qurupeco" }, -- no sep! -- gagua golden eggs { blocks = 3, type = "shiny", action = { hgg = "?", }, monster = "Gagua" }, -- gagua normal eggs { blocks = 3, type = "shiny", action = { hgg = "?", }, monster = "Gagua" }, sep, -- TODO: something to do with gagua -- Gagua Dung, Herb, Insect Husk { blocks = 1, type = "shiny", action = { hgg = "?", }, monster = "Gagua" }, sep, -- hapu shiny { blocks = 3, type = "shiny", action = { hgg = "?", }, monster = "Hapurubokka" }, sep, -- dobo shiny { blocks = 2, type = "shiny", action = { hgg = "?", }, monster = "Doboruberuku" }, sep, -- grt froggi shiny { blocks = 3, type = "shiny", action = { hgg = "?", }, monster = "Great Froggi" }, sep, -- ranguro shiny { blocks = 3, type = "shiny", action = { hgg = "?", }, monster = "Rangurotora" }, sep, -- uru shiny { blocks = 3, type = "shiny", action = { hgg = "?", }, monster = "Urukusu" }, sep, -- TODO: aoa fish eating? -- Sushifish, Goldenfish { blocks = 3, type = "shiny", action = { hgg = "?", }, monster = "Aoashira" }, sep, -- TODO: aoa honey eating? -- Honey { blocks = 3, type = "shiny", action = { hgg = "?", }, monster = "Aoashira" }, sep, -- aoa shiny { blocks = 3, type = "shiny", action = { hgg = "?", }, monster = "Aoashira" }, sep, -- jin shiny { blocks = 3, type = "shiny", action = { hgg = "?", }, monster = "Jinouga" }, sep, -- altaroth shiny -- TODO: what colour? { blocks = 3, type = "shiny", action = { hgg = "?", }, monster = "Altaroth" }, sep, -- altaroth shiny -- TODO: what colour? { blocks = 3, type = "shiny", action = { hgg = "?", }, monster = "Altaroth" }, sep, -- altaroth shiny -- TODO: what colour? { blocks = 3, type = "shiny", action = { hgg = "?", }, monster = "Altaroth" }, sep, -- altaroth shiny -- TODO: what colour? { blocks = 3, type = "shiny", action = { hgg = "?", }, monster = "Altaroth" }, sep, -- green narga shiny { blocks = 1, type = "shiny", action = { hgg = "?", }, monster = "Green Nargacuga" }, sep, -- melynx shiny { blocks = 3, type = "shiny", action = { hgg = "?", }, monster = "Melynx" }, sep, -- felyne shiny { blocks = 3, type = "shiny", action = { hgg = "?", }, monster = "Felyne" }, sep, -- black tigrex shiny { blocks = 1, type = "shiny", action = { hgg = "?", }, monster = "Black Tigrex" }, sep, -- black blos shiny { blocks = 1, type = "shiny", action = { hgg = "?", }, monster = "Black Diablos" }, sep, -- agna shiny { blocks = 2, type = "shiny", action = { hgg = "?", }, monster = "Agnaktor" }, sep, -- silver los shiny { blocks = 1, type = "shiny", action = { hgg = "?", }, monster = "Silver Rathalos" }, sep, -- ludroth shiny { blocks = 3, type = "shiny", action = { hgg = "?", }, monster = "Royal Ludroth" }, sep, -- gold ian shiny { blocks = 1, type = "shiny", action = { hgg = "?", }, monster = "Gold Rathian" }, sep, -- great baggi shiny { blocks = 3, type = "shiny", action = { hgg = "?", }, monster = "Great Baggi" }, sep, -- great jaggi shiny { blocks = 3, type = "shiny", action = { hgg = "?", }, monster = "Great Jaggi" }, sep, -- ura shiny { blocks = 2, type = "shiny", action = { hgg = "?", }, monster = "Uragaan" }, sep, -- barroth shiny { blocks = 3, type = "shiny", action = { hgg = "?", }, monster = "Barroth" }, sep, -- jho shiny { blocks = 1, type = "shiny", action = { hgg = "?", }, monster = "Deviljho" }, sep, -- blos shiny { blocks = 2, type = "shiny", action = { hgg = "?", }, monster = "Diablos" }, sep, -- barioth shiny { blocks = 2, type = "shiny", action = { hgg = "?", }, monster = "Barioth" }, sep, -- giggi shiny { blocks = 3, type = "shiny", action = { hgg = "?", }, monster = "Gigginox" }, sep, -- peco shiny { blocks = 3, type = "shiny", action = { hgg = "?", }, monster = "Qurupeco" }, sep, -- los shiny { blocks = 2, type = "shiny", action = { hgg = "?", }, monster = "Rathalos" }, sep, -- ian shiny { blocks = 2, type = "shiny", action = { hgg = "?", }, monster = "Rathian" }, sep, -- uka tail { blocks = 1, type = "carve", name = { hgg = "Tail", }, monster = "Ukanlos" }, sep, -- aka tail { blocks = 1, type = "carve", name = { hgg = "Tail", }, monster = "Akantor" }, sep, -- narga tail { blocks = 2, type = "carve", name = { hgg = "Tail", }, monster = "Nargacuga" }, sep, -- tigrex tail { blocks = 2, type = "carve", name = { hgg = "Tail", }, monster = "Tigrex" }, sep, -- ice agna tail { blocks = 1, type = "carve", name = { hgg = "Tail", }, monster = "Ice Agnaktor" }, sep, -- purple ludroth tail { blocks = 1, type = "carve", name = { hgg = "Tail", }, monster = "Purple Royal Ludroth" }, sep, -- steel ura tail { blocks = 1, type = "carve", name = { hgg = "Tail", }, monster = "Steel Uragaan" }, sep, -- ice barroth tail { blocks = 1, type = "carve", name = { hgg = "Tail", }, monster = "Ice Barroth" }, sep, -- sand barioth tail { blocks = 1, type = "carve", name = { hgg = "Tail", }, monster = "Sand Barioth" }, sep, -- dobo tail { blocks = 2, type = "carve", name = { hgg = "Tail", }, monster = "Doboruberuku" }, sep, -- ama tail { blocks = 1, type = "carve", name = { hgg = "Tail", }, monster = "Amatsumagatsuchi" }, sep, -- jin tail { blocks = 3, type = "carve", name = { hgg = "Tail", }, monster = "Jinouga" }, sep, -- green narga tail { blocks = 1, type = "carve", name = { hgg = "Tail", }, monster = "Green Nargacuga" }, sep, -- ala tail { blocks = 1, type = "carve", name = { hgg = "Tail", }, monster = "Alatreon" }, sep, -- black tigrex tail { blocks = 1, type = "carve", name = { hgg = "Tail", }, monster = "Black Tigrex" }, sep, -- black blos tail { blocks = 1, type = "carve", name = { hgg = "Tail", }, monster = "Black Diablos" }, sep, -- agna tail { blocks = 2, type = "carve", name = { hgg = "Tail", }, monster = "Agnaktor" }, sep, -- silver los tail { blocks = 1, type = "carve", name = { hgg = "Tail", }, monster = "Silver Rathalos" }, sep, -- royal ludroth tail { blocks = 3, type = "carve", name = { hgg = "Tail", }, monster = "Royal Ludroth" }, sep, -- gold ian tail { blocks = 1, type = "carve", name = { hgg = "Tail", }, monster = "Gold Rathian" }, sep, -- ura tail { blocks = 2, type = "carve", name = { hgg = "Tail", }, monster = "Uragaan" }, sep, -- barroth tail { blocks = 3, type = "carve", name = { hgg = "Tail", }, monster = "Barroth" }, sep, -- jho tail { blocks = 1, type = "carve", name = { hgg = "Tail", }, monster = "Deviljho" }, sep, -- blos tail { blocks = 2, type = "carve", name = { hgg = "Tail", }, monster = "Diablos" }, sep, -- barioth tail { blocks = 2, type = "carve", name = { hgg = "Tail", }, monster = "Barioth" }, sep, -- los tail { blocks = 2, type = "carve", name = { hgg = "Tail", }, monster = "Rathalos" }, sep, -- ian tail { blocks = 2, type = "carve", name = { hgg = "Tail", }, monster = "Rathian" }, sep, -- Zuwaroposu carves { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Zuwaroposu" }, sep, -- Anteka carves { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Anteka" }, sep, -- Bullfango carves { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Bullfango" }, sep, -- Bulldrome carves { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Bulldrome" }, sep, -- Ukanlos carves { blocks = 2, type = "carve", name = { hgg = "Body", }, monster = "Ukanlos" }, sep, -- Akantor carves { blocks = 2, type = "carve", name = { hgg = "Body", }, monster = "Akantor" }, sep, -- Nargacuga carves { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Nargacuga" }, sep, -- Tigrex carves { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Tigrex" }, sep, -- Ice Agnaktor carves { blocks = 2, type = "carve", name = { hgg = "Body", }, monster = "Ice Agnaktor" }, sep, -- Purple Royal Ludroth carves { blocks = 2, type = "carve", name = { hgg = "Body", }, monster = "Purple Royal Ludroth" }, sep, -- Steel Uragaan carves { blocks = 2, type = "carve", name = { hgg = "Body", }, monster = "Steel Uragaan" }, sep, -- Ice Barroth carves { blocks = 2, type = "carve", name = { hgg = "Body", }, monster = "Ice Barroth" }, sep, -- Sand Barioth carves { blocks = 2, type = "carve", name = { hgg = "Body", }, monster = "Sand Barioth" }, sep, -- Thunder Gigginox carves { blocks = 2, type = "carve", name = { hgg = "Body", }, monster = "Thunder Gigginox" }, sep, -- Red Qurupeco carves { blocks = 2, type = "carve", name = { hgg = "Body", }, monster = "Red Qurupeco" }, sep, -- Gagua carves { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Gagua" }, sep, -- Zuwaroposu carves -- yes, again... { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Zuwaroposu" }, sep, -- Froggi carves { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Froggi" }, sep, -- Hapurubokka carves { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Hapurubokka" }, sep, -- Doboruberuku carves { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Doboruberuku" }, sep, -- Great Froggi carves { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Great Froggi" }, sep, -- Rangurotora carves { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Rangurotora" }, sep, -- Urukusu carves { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Urukusu" }, sep, -- Aoashira carves { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Aoashira" }, sep, -- Amatsumagatsuchi carves { blocks = 2, type = "carve", name = { hgg = "Body", }, monster = "Amatsumagatsuchi" }, sep, -- Jinouga carves { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Jinouga" }, sep, -- Bnahabra carves { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Bnahabra" }, sep, -- Bnahabra carves { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Bnahabra" }, sep, -- Bnahabra carves { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Bnahabra" }, sep, -- Bnahabra carves { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Bnahabra" }, sep, -- Kelbi carves { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Kelbi" }, sep, -- Altaroth carves { blocks = 2, type = "carve", name = { hgg = "Body", }, monster = "Altaroth" }, sep, -- Green Nargacuga carves { blocks = 2, type = "carve", name = { hgg = "Body", }, monster = "Green Nargacuga" }, sep, -- Rhenoplos carves { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Rhenoplos" }, sep, -- Popo carves { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Popo" }, sep, -- Aptanoth carves { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Aptanoth" }, sep, -- Giggi carves { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Giggi" }, sep, -- Jhen Mohran carves { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Jhen Mohran" }, sep, -- Alatreon carves { blocks = 2, type = "carve", name = { hgg = "Body", }, monster = "Alatreon" }, sep, -- Black Tigrex carves { blocks = 2, type = "carve", name = { hgg = "Body", }, monster = "Black Tigrex" }, sep, -- Delex carves { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Delex" }, sep, -- Uroktor carves { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Uroktor" }, sep, -- Black Diablos carves { blocks = 2, type = "carve", name = { hgg = "Body", }, monster = "Black Diablos" }, sep, -- Agnaktor carves { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Agnaktor" }, sep, -- Silver Rathalos carves { blocks = 2, type = "carve", name = { hgg = "Body", }, monster = "Silver Rathalos" }, sep, -- Ludroth carves { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Ludroth" }, sep, -- Royal Ludroth carves { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Royal Ludroth" }, sep, -- Gold Rathian carves { blocks = 2, type = "carve", name = { hgg = "Body", }, monster = "Gold Rathian" }, sep, -- Great Baggi carves { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Great Baggi" }, sep, -- Baggi carves { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Baggi" }, sep, -- Great Jaggi carves { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Great Jaggi" }, sep, -- Jaggia carves { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Jaggia" }, sep, -- Jaggi carves { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Jaggi" }, sep, -- Uragaan carves { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Uragaan" }, sep, -- Barroth carves { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Barroth" }, sep, -- Deviljho carves { blocks = 2, type = "carve", name = { hgg = "Body", }, monster = "Deviljho" }, sep, -- Diablos carves { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Diablos" }, sep, -- Barioth carves { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Barioth" }, sep, -- Gigginox carves { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Gigginox" }, sep, -- Qurupeco carves { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Qurupeco" }, sep, -- Rathalos carves { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Rathalos" }, sep, -- Rathian carves { blocks = 3, type = "carve", name = { hgg = "Body", }, monster = "Rathian" }, } local MonsterNames = { "Felyne", "Melynx", "Altaroth", "Bnahabra", "Delex", "Kelbi", "Aptanoth", "Rhenoplos", "Zuwaroposu", "Anteka", "Popo", "Gagua", "Jaggi", "Jaggia", "Great Jaggi", "Baggi", "Great Baggi", "Froggi", "Great Froggi", "Qurupeco", "Red Qurupeco", "Bullfango", "Bulldrome", "Aoashira", "Urukusu", "Rangurotora", "Barroth", "Ice Barroth", "Uragaan", "Steel Uragaan", "Doboruberuku", "Deviljho", "Ludroth", "Royal Ludroth", "Purple Royal Ludroth", "Hapurubokka", "Uroktor", "Agnaktor", "Ice Agnaktor", "Rathian", "Gold Rathian", "Rathalos", "Silver Rathalos", "Giggi", "Gigginox", "Thunder Gigginox", "Barioth", "Sand Barioth", "Nargacuga", "Green Nargacuga", "Diablos", "Black Diablos", "Tigrex", "Black Tigrex", "Akantor", "Ukanlos", "Jinouga", "Jhen Mohran", "Amatsumagatsuchi", "Alatreon", } local function itemIdxFromId( id ) for idx, item in ipairs( Items ) do if item.id == id then return idx end end assert( nil, "bad id: " .. id ) end local function sortByChanceDesc( a, b ) return a.chance > b.chance end local function sortRanks( arr ) if arr.high then table.sort( arr.high, sortByChanceDesc ) end if arr.low then table.sort( arr.low, sortByChanceDesc ) end if arr.baby then table.sort( arr.baby, sortByChanceDesc ) end end local function sortCarves( a, b ) if b.name.hgg == "Body" then return false end if a.name.hgg == "Body" then return true end if b.name.hgg == "Tail" then return false end if a.name.hgg == "Tail" then return true end return false end local Monsters = { } local function monsterFromName( name ) for _, monster in ipairs( Monsters ) do if monster.name.hgg == name then return monster end end assert( nil, "bad monster name: " .. name ) end for _, name in ipairs( MonsterNames ) do local monster = { name = { hgg = name }, } table.insert( Monsters, monster ) end local SchemaPos = 1 local Block = Schema[ SchemaPos ] local NewPosIn = Block.blocks local carveInfo = readFile( DataPath ) local monster = monsterFromName( Block.monster ) local curData local curRank = "pre" if Block.type == "carve" then curData = { name = Block.name, } elseif Block.type == "shiny" then curData = { action = Block.action, } else assert( nil, "bad type: " .. Block.type ) end -- the last block is ffffffff so don't bother with " ?" carveInfo:gsub( ( "([%da-f][%da-f]) " ):rep( 4 ), function( b1, b2, b3, b4 ) if b1 == "ff" and b2 == "ff" and b3 == "ff" and b4 == "ff" then if NewPosIn == 0 then if monster then sortRanks( curData ) if Block.type == "carve" then if not monster.carves then monster.carves = { } end table.insert( monster.carves, curData ) elseif Block.type == "shiny" then if not monster.shinies then monster.shinies = { } end table.insert( monster.shinies, curData ) end end SchemaPos = SchemaPos + 1 Block = Schema[ SchemaPos ] NewPosIn = Block.blocks if Block ~= sep then monster = monsterFromName( Block.monster ) curRank = "pre" if Block.type == "carve" then curData = { name = Block.name, } elseif Block.type == "shiny" then curData = { action = Block.action, } else assert( nil, "bad type: " .. Block.type ) end else monster = nil curData = { } end end NewPosIn = NewPosIn - 1 if curRank == "pre" then curRank = "high" elseif curRank == "high" then curRank = "low" elseif curRank == "low" then curRank = "baby" else --assert( nil, "bad rank: " .. curRank ) end curData[ curRank ] = { } return end local chance = tonumber( b1, 16 ) local count = tonumber( b2, 16 ) local itemId = tonumber( b4 .. b3, 16 ) table.insert( curData[ curRank ], { id = itemIdxFromId( itemId ), count = count, chance = chance } ) end ) sortRanks( curData ) if Block.type == "carve" then if not monster.carves then monster.carves = { } end table.insert( monster.carves, curData ) elseif Block.type == "shiny" then if not monster.shinies then monster.shinies = { } end table.insert( monster.shinies, curData ) end for _, monster in ipairs( Monsters ) do if monster.carves then table.sort( monster.carves, sortCarves ) end end io.output( "../monsters.json" ) io.write( json.encode( Monsters ) ) print( "genCarveInfo: ok!" )
--[[ ============================================================================================================ Author: Rook Date: February 23, 2015 Called when Power Word is cast. Applies an armor buff if cast on an ally, and an armor debuff if cast on an enemy. ================================================================================================================= ]] LinkLuaModifier("modifier_invoker_retro_power_word_armor_debuff", "heroes/hero_invoker/invoker_retro_power_word.lua", LUA_MODIFIER_MOTION_NONE) LinkLuaModifier("modifier_invoker_retro_power_word_armor_buff", "heroes/hero_invoker/invoker_retro_power_word.lua", LUA_MODIFIER_MOTION_NONE) invoker_retro_power_word = class({}) function invoker_retro_power_word:CastFilterResultTarget(hTarget) if hTarget == self:GetCaster() then return UF_FAIL_CUSTOM elseif hTarget:IsBuilding() then return UF_FAIL_BUILDING elseif hTarget:IsCourier() then return UF_FAIL_COURIER else return UF_SUCCESS end end function invoker_retro_power_word:GetCustomCastErrorTarget(hTarget) if hTarget == self:GetCaster() then return '#dota_hud_error_cant_cast_on_self' end end function invoker_retro_power_word:OnSpellStart() local hTarget = self:GetCursorTarget() local hCaster = self:GetCaster() hTarget:EmitSound("DOTA_Item.MedallionOfCourage.Activate") local iQuasLevel = hCaster.iQuasLevel if hCaster:HasScepter() then iQuasLevel = iQuasLevel+1 end if hTarget:GetTeam() == hCaster:GetTeam() then hTarget:AddNewModifier(hCaster, self, 'modifier_invoker_retro_power_word_armor_buff', {Duration = self:GetSpecialValueFor('duration')}):SetStackCount(iQuasLevel) else hTarget:AddNewModifier(hCaster, self, 'modifier_invoker_retro_power_word_armor_debuff', {Duration = self:GetSpecialValueFor('duration')*CalculateStatusResist(hTarget)}):SetStackCount(iQuasLevel) end end modifier_invoker_retro_power_word_armor_buff = class({}) function modifier_invoker_retro_power_word_armor_buff:DeclareFunctions() return {MODIFIER_PROPERTY_PHYSICAL_ARMOR_BONUS} end function modifier_invoker_retro_power_word_armor_buff:GetModifierPhysicalArmorBonus() self.iArmorPerStack = self.iArmorPerStack or self:GetAbility():GetSpecialValueFor('armor_bonus_ally_level_quas') return self:GetStackCount()*self.iArmorPerStack end function modifier_invoker_retro_power_word_armor_buff:GetEffectName() return "particles/units/heroes/hero_dazzle/dazzle_armor_friend_shield.vpcf" end function modifier_invoker_retro_power_word_armor_buff:GetEffectAttachType() return PATTACH_OVERHEAD_FOLLOW end function modifier_invoker_retro_power_word_armor_buff:OnCreated() if IsClient() then return end local iParticle = ParticleManager:CreateParticle("particles/units/heroes/hero_invoker/invoker_retro_power_word_ally.vpcf", PATTACH_ABSORIGIN_FOLLOW, self:GetParent()) ParticleManager:SetParticleControlEnt(iParticle, 1, self:GetParent(), PATTACH_ABSORIGIN_FOLLOW, "follow_origin", self:GetParent():GetAbsOrigin(), false) Timers:CreateTimer({ endTime = 4, callback = function() ParticleManager:DestroyParticle(iParticle, false) end }) end modifier_invoker_retro_power_word_armor_debuff = class({}) function modifier_invoker_retro_power_word_armor_debuff:DeclareFunctions() return {MODIFIER_PROPERTY_PHYSICAL_ARMOR_BONUS} end function modifier_invoker_retro_power_word_armor_debuff:GetModifierPhysicalArmorBonus() self.iArmorPerStack = self.iArmorPerStack or self:GetAbility():GetSpecialValueFor('armor_reduction_enemy_level_quas') return self:GetStackCount()*self.iArmorPerStack end function modifier_invoker_retro_power_word_armor_debuff:GetEffectName() return "particles/units/heroes/hero_dazzle/dazzle_armor_enemy_shield.vpcf" end function modifier_invoker_retro_power_word_armor_debuff:GetEffectAttachType() return PATTACH_OVERHEAD_FOLLOW end function modifier_invoker_retro_power_word_armor_debuff:OnCreated() if IsClient() then return end local iParticle = ParticleManager:CreateParticle("particles/units/heroes/hero_invoker/invoker_retro_power_word_enemy.vpcf", PATTACH_ABSORIGIN_FOLLOW, self:GetParent()) ParticleManager:SetParticleControlEnt(iParticle, 1, self:GetParent(), PATTACH_ABSORIGIN_FOLLOW, "follow_origin", self:GetParent():GetAbsOrigin(), false) Timers:CreateTimer({ endTime = 4, callback = function() ParticleManager:DestroyParticle(iParticle, false) end }) end
MAP_ROOMS = {} MAP_ROOMS[1] = {} MAP_ROOMS[2] = {} MAP_ROOMS[3] = {} MAP_ROOMS[4] = {} MAP_ROOMS[5] = {} MAP_ROOMS[6] = {} MAP_ROOMS[7] = {} MAP_ROOMS[8] = {} PLAYER_SPAWNS = {} table.insert(PLAYER_SPAWNS, { location = Vector(-3040.000, 2200.000, 40.000), rotation = Rotator(0.000000, 0.000000, 0.000000) }) table.insert(PLAYER_SPAWNS, { location = Vector(-3040.000, 2040.000, 40.000), rotation = Rotator(0.000000, 0.000000, 0.000000) }) table.insert(PLAYER_SPAWNS, { location = Vector(-3050.000, 1880.000, 40.000), rotation = Rotator(0.000000, 0.000000, 0.000000) }) table.insert(PLAYER_SPAWNS, { location = Vector(-2920.000, 1190.000, 50.000), rotation = Rotator(0.000000, 0.000000, 0.000000) }) table.insert(PLAYER_SPAWNS, { location = Vector(-2900.000, 1010.000, 40.000), rotation = Rotator(0.000000, 0.000000, 0.000000) }) table.insert(PLAYER_SPAWNS, { location = Vector(-2800.000, 830.000, 40.000), rotation = Rotator(0.000000, 0.000000, 0.000000) }) table.insert(PLAYER_SPAWNS, { location = Vector(-3050.000, 820.000, 50.000), rotation = Rotator(0.000000, 0.000000, 0.000000) }) table.insert(PLAYER_SPAWNS, { location = Vector(-3040.000, 2380.000, 40.000), rotation = Rotator(0.000000, 0.000000, 0.000000) }) MAP_DOORS = {} table.insert(MAP_DOORS, { location = Vector(-196.000, 6021.000, 835.000), rotation = Rotator(0.000000, 0.000000, 0.000000), scale = Vector(1.000, 2.500, 2.500), price = 1000, between_rooms = {2, 3, }, required_rooms = {1, }, model = "zm-kino-der-toten::kino_door1" }) table.insert(MAP_DOORS, { location = Vector(3543.000, 6239.000, -51.000), rotation = Rotator(0.000000, 89.999748, 0.000000), scale = Vector(2.500, 1.000, 2.500), price = 1250, between_rooms = {3, 4, }, required_rooms = {1, }, model = "zm-kino-der-toten::kino_door2" }) table.insert(MAP_DOORS, { location = Vector(5252.000, 4158.000, -11.000), rotation = Rotator(0.000000, 89.999992, 0.000000), scale = Vector(1.000, 2.500, 2.500), price = 1250, between_rooms = {4, 5, }, required_rooms = {1, }, model = "zm-kino-der-toten::kino_door3" }) table.insert(MAP_DOORS, { location = Vector(-675.000, 1564.000, 204.000), rotation = Rotator(0.000000, 0.000000, 0.000000), scale = Vector(1.000, 2.500, 2.500), price = 0, between_rooms = {1, 5, }, required_rooms = {1, -1, }, model = "zm-kino-der-toten::kino_door1" }) table.insert(MAP_DOORS, { location = Vector(4532.000, -1298.000, -48.000), rotation = Rotator(0.000000, -89.999992, 0.000000), scale = Vector(1.000, 2.500, 2.500), price = 1250, between_rooms = {5, 6, }, required_rooms = {1, }, model = "zm-kino-der-toten::kino_door4" }) table.insert(MAP_DOORS, { location = Vector(3182.000, -3244.000, -84.000), rotation = Rotator(0.000000, 89.999992, 0.000000), scale = Vector(2.000, 1.000, 2.000), price = 1250, between_rooms = {6, 7, }, required_rooms = {1, }, model = "zm-kino-der-toten::kino_door2" }) table.insert(MAP_DOORS, { location = Vector(-381.000, -2754.000, 185.000), rotation = Rotator(0.000000, 89.999992, 0.000000), scale = Vector(1.000, 2.500, 2.500), price = 1000, between_rooms = {7, 8, }, required_rooms = {1, }, model = "zm-kino-der-toten::kino_door4" }) table.insert(MAP_DOORS, { location = Vector(-1045.000, -244.000, 204.000), rotation = Rotator(0.000000, 89.999992, 0.000000), scale = Vector(1.000, 2.500, 2.500), price = 750, between_rooms = {1, 8, }, required_rooms = {1, }, model = "zm-kino-der-toten::kino_door1" }) table.insert(MAP_DOORS, { location = Vector(-1006.000, 3361.000, 835.000), rotation = Rotator(0.000000, 89.999748, 0.000000), scale = Vector(1.000, 2.500, 2.500), price = 750, between_rooms = {1, 2, }, required_rooms = {1, }, model = "zm-kino-der-toten::kino_door1" }) MAP_WEAPONS = {} table.insert(MAP_WEAPONS, { location = Vector(-683.000, 2277.000, 639.000), rotation = Rotator(0.000000, 89.999748, 0.000000), price = 500, weapon_name = "M1Garand", max_ammo = 200, decal_rotation = Rotator(0.000000, -0.000256, 0.000000) }) table.insert(MAP_WEAPONS, { location = Vector(-259.000, 4069.000, 829.000), rotation = Rotator(0.000000, 57.599815, 0.000000), price = 1000, weapon_name = "SMG11", max_ammo = 300, decal_rotation = Rotator(0.000000, -32.400177, 0.000000) }) table.insert(MAP_WEAPONS, { location = Vector(-222.000, -1195.000, 195.000), rotation = Rotator(0.000000, 89.999992, 0.000000), price = 1000, weapon_name = "P90", max_ammo = 300, decal_rotation = Rotator(0.000000, 0.000000, 0.000000) }) table.insert(MAP_WEAPONS, { location = Vector(1967.000, -1989.000, -70.000), rotation = Rotator(0.000000, 179.999420, 0.000000), price = 1200, weapon_name = "AK74U", max_ammo = 400, decal_rotation = Rotator(0.000000, 89.999405, 0.000000) }) table.insert(MAP_WEAPONS, { location = Vector(2146.000, 7576.000, -56.000), rotation = Rotator(0.000000, 179.999496, 0.000000), price = 1000, weapon_name = "UMP45", max_ammo = 300, decal_rotation = Rotator(0.000000, 89.999489, 0.000000) }) table.insert(MAP_WEAPONS, { location = Vector(4084.000, 4955.000, -52.000), rotation = Rotator(0.000000, 0.000000, 0.000000), price = 1000, weapon_name = "AP5", max_ammo = 300, decal_rotation = Rotator(0.000000, -89.999992, 0.000000) }) table.insert(MAP_WEAPONS, { location = Vector(1384.000, 4184.000, 389.000), rotation = Rotator(0.000000, 0.000000, 0.000000), price = 1000, weapon_name = "Rem870", max_ammo = 100, decal_rotation = Rotator(0.000000, -89.999992, 0.000000) }) table.insert(MAP_WEAPONS, { location = Vector(4391.000, -674.000, -63.000), rotation = Rotator(0.000000, -90.000870, 0.000000), price = 1200, weapon_name = "AR4", max_ammo = 400, decal_rotation = Rotator(0.000000, 179.999100, 0.000000) }) table.insert(MAP_WEAPONS, { location = Vector(-2743.000, 476.000, 169.000), rotation = Rotator(0.000000, 0.000000, 0.000000), price = 500, weapon_name = "Ithaca37", max_ammo = 100, decal_rotation = Rotator(0.000000, -89.999992, 0.000000) }) -- ZOMBIE BARRICADES table.insert(MAP_ROOMS[4], { barricade_location = Vector(3538.000, 4798.000, 15.000), barricade_rotation = Rotator(0.000000, -90.000916, 0.000000), z_move_to_b_target_location = Vector(3467.509, 4798.001, -194.014), z_reach_rotation = Rotator(0.000000, -0.000912, 0.000000), z_leave_b_tp_location = Vector(3608.491, 4797.999, -194.014), z_spawns = {}, type = "barricade", z_leave_b_tp_rotation = Rotator(0.000000, -0.000912, 0.000000), z_ground_debris_location = Vector(3648.491, 4797.998, -194.014) }) table.insert(MAP_ROOMS[4], { barricade_location = Vector(4599.000, 6513.000, -9.000), barricade_rotation = Rotator(0.000000, 179.999527, 0.000000), z_move_to_b_target_location = Vector(4599.001, 6607.431, -183.661), z_reach_rotation = Rotator(0.000000, -90.000450, 0.000000), z_leave_b_tp_location = Vector(4598.999, 6418.569, -183.661), z_spawns = {}, type = "barricade", z_leave_b_tp_rotation = Rotator(0.000000, -90.000450, 0.000000), z_ground_debris_location = Vector(4598.999, 6378.569, -183.661) }) table.insert(MAP_ROOMS[5], { barricade_location = Vector(5979.000, 3115.000, 13.000), barricade_rotation = Rotator(0.000000, 89.999992, 0.000000), z_move_to_b_target_location = Vector(6064.120, 3115.000, -192.107), z_reach_rotation = Rotator(0.000000, -179.999985, 0.000000), z_leave_b_tp_location = Vector(5893.880, 3115.000, -192.107), z_spawns = {}, type = "barricade", z_leave_b_tp_rotation = Rotator(0.000000, -179.999985, 0.000000), z_ground_debris_location = Vector(5853.880, 3115.000, -192.107) }) table.insert(MAP_ROOMS[5], { barricade_location = Vector(5485.000, -1113.000, 9.000), barricade_rotation = Rotator(0.000000, 89.999992, 0.000000), z_move_to_b_target_location = Vector(5559.616, -1113.000, -192.438), z_reach_rotation = Rotator(0.000000, -179.999985, 0.000000), z_leave_b_tp_location = Vector(5410.384, -1113.000, -192.438), z_spawns = {}, type = "barricade", z_leave_b_tp_rotation = Rotator(0.000000, -179.999985, 0.000000), z_ground_debris_location = Vector(5370.384, -1113.000, -192.438) }) table.insert(MAP_ROOMS[5], { barricade_location = Vector(3290.000, -1004.000, -109.000), barricade_rotation = Rotator(0.000000, 0.000000, 0.000000), z_move_to_b_target_location = Vector(3290.000, -1082.238, -314.238), z_reach_rotation = Rotator(0.000000, 89.999992, 0.000000), z_leave_b_tp_location = Vector(3290.000, -925.762, -314.238), z_spawns = {}, type = "barricade", z_leave_b_tp_rotation = Rotator(0.000000, 89.999992, 0.000000), z_ground_debris_location = Vector(3290.000, -885.762, -314.238) }) table.insert(MAP_ROOMS[5], { barricade_location = Vector(3283.000, 4135.000, -116.000), barricade_rotation = Rotator(0.000000, -179.999985, 0.000000), z_move_to_b_target_location = Vector(3283.000, 4213.961, -315.484), z_reach_rotation = Rotator(0.000000, -89.999962, 0.000000), z_leave_b_tp_location = Vector(3283.000, 4056.039, -315.484), z_spawns = {}, type = "barricade", z_leave_b_tp_rotation = Rotator(0.000000, -89.999962, 0.000000), z_ground_debris_location = Vector(3283.000, 4016.039, -315.484) }) table.insert(MAP_ROOMS[6], { barricade_location = Vector(4138.000, -1983.000, 420.000), barricade_rotation = Rotator(0.000000, 179.999496, 0.000000), z_move_to_b_target_location = Vector(4138.001, -1892.107, 262.775), z_reach_rotation = Rotator(0.000000, -90.000465, 0.000000), z_leave_b_tp_location = Vector(4137.999, -2073.893, 262.775), z_spawns = {}, type = "barricade", z_leave_b_tp_rotation = Rotator(0.000000, -90.000465, 0.000000), z_ground_debris_location = Vector(4137.999, -2113.893, 262.775) }) table.insert(MAP_ROOMS[6], { barricade_location = Vector(3508.000, -3875.000, 471.000), barricade_rotation = Rotator(0.000000, 0.000000, 0.000000), z_move_to_b_target_location = Vector(3508.000, -3961.772, 263.770), z_reach_rotation = Rotator(0.000000, 89.999992, 0.000000), z_leave_b_tp_location = Vector(3508.000, -3788.228, 263.770), z_spawns = {}, type = "barricade", z_leave_b_tp_rotation = Rotator(0.000000, 89.999992, 0.000000), z_ground_debris_location = Vector(3508.000, -3748.228, 263.770) }) table.insert(MAP_ROOMS[6], { barricade_location = Vector(4130.000, -2923.000, -7.000), barricade_rotation = Rotator(0.000000, 89.999733, 0.000000), z_move_to_b_target_location = Vector(4224.568, -2923.000, -195.472), z_reach_rotation = Rotator(0.000000, 179.999741, 0.000000), z_leave_b_tp_location = Vector(4035.432, -2923.000, -195.472), z_spawns = {}, type = "barricade", z_leave_b_tp_rotation = Rotator(0.000000, 179.999741, 0.000000), z_ground_debris_location = Vector(3995.432, -2923.000, -195.472) }) table.insert(MAP_ROOMS[7], { barricade_location = Vector(2335.000, -3885.000, 5.000), barricade_rotation = Rotator(0.000000, 0.000000, 0.000000), z_move_to_b_target_location = Vector(2335.000, -3970.876, -200.200), z_reach_rotation = Rotator(0.000000, 89.999992, 0.000000), z_leave_b_tp_location = Vector(2335.000, -3799.124, -200.200), z_spawns = {}, type = "barricade", z_leave_b_tp_rotation = Rotator(0.000000, 89.999992, 0.000000), z_ground_debris_location = Vector(2335.000, -3759.124, -200.200) }) table.insert(MAP_ROOMS[7], { barricade_location = Vector(-900.000, -3656.000, 3.000), barricade_rotation = Rotator(0.000000, -90.000755, 0.000000), z_move_to_b_target_location = Vector(-992.759, -3655.999, -198.383), z_reach_rotation = Rotator(0.000000, -0.000758, 0.000000), z_leave_b_tp_location = Vector(-807.241, -3656.001, -198.383), z_spawns = {}, type = "barricade", z_leave_b_tp_rotation = Rotator(0.000000, -0.000758, 0.000000), z_ground_debris_location = Vector(-767.241, -3656.002, -198.383) }) table.insert(MAP_ROOMS[8], { barricade_location = Vector(-205.000, -1518.000, 242.000), barricade_rotation = Rotator(0.000000, 89.999992, 0.000000), z_move_to_b_target_location = Vector(-116.535, -1518.000, 40.580), z_reach_rotation = Rotator(0.000000, -179.999985, 0.000000), z_leave_b_tp_location = Vector(-293.465, -1518.000, 40.580), z_spawns = {}, type = "barricade", z_leave_b_tp_rotation = Rotator(0.000000, -179.999985, 0.000000), z_ground_debris_location = Vector(-333.465, -1518.000, 40.580) }) table.insert(MAP_ROOMS[8], { barricade_location = Vector(-1874.000, -523.000, 243.000), barricade_rotation = Rotator(0.000000, -90.000542, 0.000000), z_move_to_b_target_location = Vector(-1977.971, -522.999, 41.598), z_reach_rotation = Rotator(0.000000, -0.000543, 0.000000), z_leave_b_tp_location = Vector(-1770.029, -523.001, 41.598), z_spawns = {}, type = "barricade", z_leave_b_tp_rotation = Rotator(0.000000, -0.000543, 0.000000), z_ground_debris_location = Vector(-1730.029, -523.001, 41.598) }) table.insert(MAP_ROOMS[1], { barricade_location = Vector(-3117.000, 461.000, 238.000), barricade_rotation = Rotator(0.000000, 0.000000, 0.000000), z_move_to_b_target_location = Vector(-3117.000, 363.704, 45.886), z_reach_rotation = Rotator(0.000000, 89.999992, 0.000000), z_leave_b_tp_location = Vector(-3117.000, 558.296, 45.886), z_spawns = {}, type = "barricade", z_leave_b_tp_rotation = Rotator(0.000000, 89.999992, 0.000000), z_ground_debris_location = Vector(-3117.000, 598.296, 45.886) }) table.insert(MAP_ROOMS[1], { barricade_location = Vector(-1207.000, 2155.000, 240.000), barricade_rotation = Rotator(0.000000, -179.999985, 0.000000), z_move_to_b_target_location = Vector(-1207.000, 2241.788, 40.426), z_reach_rotation = Rotator(0.000000, -89.999962, 0.000000), z_leave_b_tp_location = Vector(-1207.000, 2068.212, 40.426), z_spawns = {}, type = "barricade", z_leave_b_tp_rotation = Rotator(0.000000, -89.999962, 0.000000), z_ground_debris_location = Vector(-1207.000, 2028.212, 40.426) }) table.insert(MAP_ROOMS[1], { barricade_location = Vector(-1015.000, -246.000, 859.000), barricade_rotation = Rotator(0.000000, -0.001007, 0.000000), z_move_to_b_target_location = Vector(-1015.001, -306.000, 674.000), z_reach_rotation = Rotator(0.000000, 89.998985, 0.000000), z_leave_b_tp_location = Vector(-1014.999, -186.000, 674.000), z_spawns = {}, type = "barricade", z_leave_b_tp_rotation = Rotator(0.000000, 89.998985, 0.000000), z_ground_debris_location = Vector(-1014.998, -146.000, 674.000) }) table.insert(MAP_ROOMS[2], { barricade_location = Vector(-2367.000, 3566.000, 874.000), barricade_rotation = Rotator(0.000000, -90.000694, 0.000000), z_move_to_b_target_location = Vector(-2447.494, 3566.001, 676.362), z_reach_rotation = Rotator(0.000000, -0.000690, 0.000000), z_leave_b_tp_location = Vector(-2286.506, 3565.999, 676.362), z_spawns = {}, type = "barricade", z_leave_b_tp_rotation = Rotator(0.000000, -0.000690, 0.000000), z_ground_debris_location = Vector(-2246.506, 3565.999, 676.362) }) table.insert(MAP_ROOMS[2], { barricade_location = Vector(-1097.000, 6904.000, 865.000), barricade_rotation = Rotator(0.000000, 179.999466, 0.000000), z_move_to_b_target_location = Vector(-1096.999, 6987.605, 674.716), z_reach_rotation = Rotator(0.000000, -90.000526, 0.000000), z_leave_b_tp_location = Vector(-1097.001, 6820.395, 674.716), z_spawns = {}, type = "barricade", z_leave_b_tp_rotation = Rotator(0.000000, -90.000526, 0.000000), z_ground_debris_location = Vector(-1097.001, 6780.395, 674.716) }) table.insert(MAP_ROOMS[3], { barricade_location = Vector(2063.000, 4400.000, 466.000), barricade_rotation = Rotator(0.000000, 89.999733, 0.000000), z_move_to_b_target_location = Vector(2136.885, 4400.000, 270.245), z_reach_rotation = Rotator(0.000000, 179.999741, 0.000000), z_leave_b_tp_location = Vector(1989.115, 4400.000, 270.245), z_spawns = {}, type = "barricade", z_leave_b_tp_rotation = Rotator(0.000000, 179.999741, 0.000000), z_ground_debris_location = Vector(1949.115, 4400.000, 270.245) }) table.insert(MAP_ROOMS[3], { barricade_location = Vector(2631.000, 7584.000, 4.000), barricade_rotation = Rotator(0.000000, 179.999802, 0.000000), z_move_to_b_target_location = Vector(2631.000, 7674.101, -191.649), z_reach_rotation = Rotator(0.000000, -90.000198, 0.000000), z_leave_b_tp_location = Vector(2631.000, 7493.899, -191.649), z_spawns = {}, type = "barricade", z_leave_b_tp_rotation = Rotator(0.000000, -90.000198, 0.000000), z_ground_debris_location = Vector(2631.000, 7453.899, -191.649) }) table.insert(MAP_ROOMS[3], { barricade_location = Vector(1125.000, 6075.000, 6.000), barricade_rotation = Rotator(0.000000, -90.000694, 0.000000), z_move_to_b_target_location = Vector(1011.811, 6075.001, -193.285), z_reach_rotation = Rotator(0.000000, -0.000690, 0.000000), z_leave_b_tp_location = Vector(1238.189, 6074.999, -193.285), z_spawns = {}, type = "barricade", z_leave_b_tp_rotation = Rotator(0.000000, -0.000690, 0.000000), z_ground_debris_location = Vector(1278.189, 6074.998, -193.285) }) table.insert(MAP_ROOMS[1], { barricade_location = Vector(-3350.000, 1950.000, 234.000), barricade_rotation = Rotator(0.000000, -90.000542, 0.000000), z_move_to_b_target_location = Vector(-3434.386, 1950.001, 41.868), z_reach_rotation = Rotator(0.000000, -0.000543, 0.000000), z_leave_b_tp_location = Vector(-3265.614, 1949.999, 41.868), z_spawns = {}, type = "barricade", z_leave_b_tp_rotation = Rotator(0.000000, -0.000543, 0.000000), z_ground_debris_location = Vector(-3225.614, 1949.999, 41.868) }) MAP_PACK_A_PUNCH = { location = Vector(-573.000, 1589.000, 676.000), rotation = Rotator(0.000000, -90.000694, 0.000000), weapon_location = Vector(-510.000, 1616.999, 759.000), weapon_rotation = Rotator(0.000000, -90.000694, 0.000000) } MAP_POWER = { location = Vector(4401.000, -177.000, -167.000), rotation = Rotator(0.000000, -89.999992, 0.000000), handle_location = Vector(4420.000, -177.000, -50.000), handle_rotation = Rotator(0.000000, -89.999985, 89.999985) } MAP_MYSTERY_BOXES = {} table.insert(MAP_MYSTERY_BOXES, { location = Vector(-1494.000, 1536.000, 493.000), rotation = Rotator(0.000000, 89.999733, 0.000000) }) table.insert(MAP_MYSTERY_BOXES, { location = Vector(-1108.000, -2717.000, 41.000), rotation = Rotator(0.000000, 179.999496, 0.000000) }) table.insert(MAP_MYSTERY_BOXES, { location = Vector(-1045.000, 4656.000, 676.000), rotation = Rotator(0.000000, 0.000000, 0.000000) }) table.insert(MAP_MYSTERY_BOXES, { location = Vector(3141.000, 6853.000, -193.000), rotation = Rotator(0.000000, -90.000755, 0.000000) }) table.insert(MAP_MYSTERY_BOXES, { location = Vector(4656.000, 5720.000, -193.000), rotation = Rotator(0.000000, 179.999527, 0.000000) }) table.insert(MAP_MYSTERY_BOXES, { location = Vector(901.000, 1889.000, -215.000), rotation = Rotator(-3.601101, 10.799985, 0.000000) }) table.insert(MAP_MYSTERY_BOXES, { location = Vector(3757.000, -2673.000, 264.000), rotation = Rotator(0.000000, 0.000000, 0.000000) }) table.insert(MAP_MYSTERY_BOXES, { location = Vector(1351.000, -3309.000, -158.000), rotation = Rotator(0.000000, 179.999496, 0.000000) }) table.insert(MAP_MYSTERY_BOXES, { location = Vector(5937.000, 1565.000, -193.000), rotation = Rotator(0.000000, -90.000870, 0.000000) }) MAP_PERKS = {} MAP_PERKS.juggernog = { location = Vector(-590.000, 679.000, -183.000), rotation = Rotator(0.000000, -90.000755, 0.000000) } MAP_PERKS.quick_revive = { location = Vector(-2727.000, 2976.000, 41.000), rotation = Rotator(0.000000, 179.999420, 0.000000) } MAP_PERKS.doubletap = { location = Vector(-190.000, -3846.000, -198.000), rotation = Rotator(0.000000, 0.000000, 0.000000) } MAP_PERKS.three_gun = { location = Vector(-634.000, 5171.000, 676.000), rotation = Rotator(0.000000, 0.000000, 0.000000) } MAP_Z_LIMITS = { max = 3242.0, min = -922.0 } MAP_WUNDERFIZZ = {} MAP_INTERACT_TRIGGERS = {} table.insert(MAP_INTERACT_TRIGGERS, { location = Vector(4039.000, 4336.000, -78.000), distance_sq = 10000.0, interact_text = "", event_name = "KinoEE" }) table.insert(MAP_INTERACT_TRIGGERS, { location = Vector(3720.000, -3585.000, 358.000), distance_sq = 10000.0, interact_text = "", event_name = "KinoEE" }) table.insert(MAP_INTERACT_TRIGGERS, { location = Vector(-1468.000, 2083.000, 147.000), distance_sq = 10000.0, interact_text = "", event_name = "KinoEE" }) MAP_TELEPORTERS = {} table.insert(MAP_TELEPORTERS, { location = Vector(4065.000, 300.000, -56.000), price = 0, teleport_back_ms = 25000, teleporter_cooldown_ms = 120000, distance_sq = 62500.0, teleport_to = { { location = Vector(-173.000, 1351.000, 676.000), rotation = Rotator(0.000000, -179.999985, 0.000000) }, { location = Vector(78.000, 1351.000, 676.000), rotation = Rotator(0.000000, -179.999985, 0.000000) }, { location = Vector(78.000, 1766.000, 676.000), rotation = Rotator(0.000000, -179.999985, 0.000000) }, { location = Vector(-173.000, 1768.000, 676.000), rotation = Rotator(0.000000, -179.999985, 0.000000) }, }, teleport_back = { { location = Vector(-2692.000, 1635.000, 76.000), rotation = Rotator(0.000000, 0.000000, 0.000000) }, { location = Vector(-2847.000, 1455.000, 76.000), rotation = Rotator(0.000000, 0.000000, 0.000000) }, { location = Vector(-2841.000, 1649.000, 76.000), rotation = Rotator(0.000000, 0.000000, 0.000000) }, { location = Vector(-2693.000, 1422.000, 76.000), rotation = Rotator(0.000000, 0.000000, 0.000000) }, }, }) -- Zombie Vaults MAP_LIGHT_ZONES = {} MAP_STATIC_MESHES = {} -- Zombie Spawns table.insert(MAP_ROOMS[4][1].z_spawns, { location = Vector(3330.000, 5414.000, -193.000), rotation = Rotator(0.000000, -50.400867, 0.000000), ground_anim = true }) table.insert(MAP_ROOMS[4][2].z_spawns, { location = Vector(5042.000, 6806.000, -193.000), rotation = Rotator(0.000000, 89.999733, 0.000000), ground_anim = true }) table.insert(MAP_ROOMS[5][1].z_spawns, { location = Vector(6850.000, 3198.000, -193.000), rotation = Rotator(0.000000, -90.000725, 0.000000), ground_anim = true }) table.insert(MAP_ROOMS[5][2].z_spawns, { location = Vector(5868.000, -637.000, -193.000), rotation = Rotator(0.000000, 0.000000, 0.000000), ground_anim = true }) table.insert(MAP_ROOMS[5][3].z_spawns, { location = Vector(2880.000, -1283.000, -315.000), rotation = Rotator(0.000000, -90.000755, 0.000000), ground_anim = true }) table.insert(MAP_ROOMS[5][4].z_spawns, { location = Vector(2630.000, 4285.000, -315.000), rotation = Rotator(0.000000, 0.000000, 0.000000), ground_anim = true }) table.insert(MAP_ROOMS[6][1].z_spawns, { location = Vector(3080.000, -1706.000, 264.000), rotation = Rotator(0.000000, 0.000000, 0.000000), ground_anim = true }) table.insert(MAP_ROOMS[6][2].z_spawns, { location = Vector(3345.000, -4458.000, 264.000), rotation = Rotator(0.000000, 0.000000, 0.000000), ground_anim = true }) table.insert(MAP_ROOMS[6][3].z_spawns, { location = Vector(5045.000, -4362.000, -197.000), rotation = Rotator(0.000000, 89.999733, 0.000000), ground_anim = true }) table.insert(MAP_ROOMS[7][1].z_spawns, { location = Vector(3064.000, -4216.000, -198.000), rotation = Rotator(0.000000, 179.999496, 0.000000), ground_anim = true }) table.insert(MAP_ROOMS[7][2].z_spawns, { location = Vector(-3331.000, -3071.000, 41.000), rotation = Rotator(0.000000, 0.000000, 0.000000), ground_anim = true }) table.insert(MAP_ROOMS[8][1].z_spawns, { location = Vector(663.000, -1201.000, 41.000), rotation = Rotator(0.000000, -90.000755, 0.000000), ground_anim = true }) table.insert(MAP_ROOMS[8][2].z_spawns, { location = Vector(-2832.000, -415.000, 46.000), rotation = Rotator(0.000000, -90.000755, 0.000000), ground_anim = true }) table.insert(MAP_ROOMS[1][1].z_spawns, { location = Vector(-3122.000, 96.000, 46.000), rotation = Rotator(0.000000, 89.999733, 0.000000), ground_anim = true }) table.insert(MAP_ROOMS[1][2].z_spawns, { location = Vector(-571.000, 4025.000, 41.000), rotation = Rotator(0.000000, -162.000534, 0.000000), ground_anim = true }) table.insert(MAP_ROOMS[1][3].z_spawns, { location = Vector(-632.000, -2485.000, 676.000), rotation = Rotator(0.000000, 86.399796, 0.000000), ground_anim = false }) table.insert(MAP_ROOMS[2][1].z_spawns, { location = Vector(-3143.000, 3547.000, 676.000), rotation = Rotator(0.000000, 0.000000, 0.000000), ground_anim = true }) table.insert(MAP_ROOMS[2][2].z_spawns, { location = Vector(-2141.000, 7664.000, 432.000), rotation = Rotator(0.000000, 0.000000, 0.000000), ground_anim = true }) table.insert(MAP_ROOMS[3][1].z_spawns, { location = Vector(2541.000, 4288.000, 269.000), rotation = Rotator(0.000000, 89.999748, 0.000000), ground_anim = true }) table.insert(MAP_ROOMS[3][2].z_spawns, { location = Vector(2212.000, 8148.000, -193.000), rotation = Rotator(0.000000, 89.999733, 0.000000), ground_anim = true }) table.insert(MAP_ROOMS[3][3].z_spawns, { location = Vector(493.000, 6398.000, -193.000), rotation = Rotator(0.000000, 179.999496, 0.000000), ground_anim = true }) table.insert(MAP_ROOMS[1][4].z_spawns, { location = Vector(-4415.000, 2381.000, 56.000), rotation = Rotator(0.000000, -64.800858, 0.000000), ground_anim = true }) Package.Subscribe("Load", function() Events.Call("VZOMBIES_MAP_CONFIG", MAP_ROOMS, PLAYER_SPAWNS, MAP_DOORS, MAP_WEAPONS, MAP_PACK_A_PUNCH, MAP_POWER, MAP_MYSTERY_BOXES, MAP_PERKS, MAP_Z_LIMITS, MAP_WUNDERFIZZ, MAP_INTERACT_TRIGGERS, MAP_TELEPORTERS, MAP_LIGHT_ZONES, MAP_SETTINGS, MAP_STATIC_MESHES) end) local To_Activate_EE = {} for i, v in ipairs(MAP_INTERACT_TRIGGERS) do table.insert(To_Activate_EE, {v.location, false}) end function ActivateFromLocation(loc) for i, v in ipairs(To_Activate_EE) do if v[1] == loc then if v[2] == false then To_Activate_EE[i][2] = true return true end break end end end function IsEverythingActivated() for i, v in ipairs(To_Activate_EE) do if not v[2] then return false end end return true end Events.Subscribe("VZ_GameStarted", function() for i, v in ipairs(To_Activate_EE) do To_Activate_EE[i][2] = false end Events.BroadcastRemote("KinoEESoundStop") end) Events.Subscribe("KinoEE", function(ply, InteractThing) local Activated = ActivateFromLocation(InteractThing.location) if Activated then Events.CallRemote("KinoEEPartSound", ply) if IsEverythingActivated() then Events.BroadcastRemote("KinoEESound") end end end)
local path = mod_loader.mods[modApi.currentMod].scriptPath local DecoChievo = require(path .."achievements/decoChievo") local DecoSurfaceCentered = require(path .."achievements/decoSurfaceCentered") local fontChievo = sdlext.font("fonts/NunitoSans_Bold.ttf", 19) local shadowl, shadowc, shadowr local function createUi(chievo) local root = sdlext.getUiRoot() local surface = sdlext.surface(chievo.img) local icon = { width = surface:w(), height = surface:h(), gapr = 13 } local Text = Ui() :width(1):height(1) :decorate({ DecoText(chievo.name, fontChievo, deco.textset(deco.colors.white, nil, 0, true)) }) local iconholderW = Text.decorations[1].surface:w() + icon.width + icon.gapr local main = { gapt = 12, gapr = 15, width = math.max(310, iconholderW + 23 * 2), height = 143, border = 2, } main.posx = root.w - main.width - main.gapr main.posy = main.gapt local shadow = { posx = 0, posy = 48, offx = 4, offy = -7, } local Main = Ui() :widthpx(main.width):heightpx(main.height) :pospx(main.posx, main.posy) shadowl = shadowl or sdlext.surface("img/ui/lmn_chievo_shadowl.png") shadowc = shadowc or sdlext.surface("img/ui/lmn_chievo_shadowc.png") shadowr = shadowr or sdlext.surface("img/ui/lmn_chievo_shadowr.png") -- construct shadow. local d = {} d[#d+1] = DecoSurface(shadowl) for i = 1, main.width - 8 * 2 do d[#d+1] = DecoSurface(shadowc) end d[#d+1] = DecoSurface(shadowr) local Shadow = Ui() :width(1):height(1) :pospx(shadow.posx + shadow.offx, shadow.posy + shadow.offy) :decorate(d) local Frame = Ui() :width(1):height(1) :caption(chievo.unlockTitle or "Achievement!") :settooltip(chievo.GetTip()) :decorate({ DecoFrameHeader(), DecoFrame() }) local Icon = Ui() :widthpx(icon.width):heightpx(icon.height) :decorate({ DecoSurfaceCentered(surface), DecoChievo(deco.colors.buttonborderhl, 1, deco.colors.buttonborderhl, 1), }) icon.posX = (main.width - iconholderW) / 2 icon.posY = (main.height - 48 - icon.height) / 2 Text:pospx(icon.width + icon.gapr, 0) local IconHolder = Ui() :widthpx(iconholderW):heightpx(icon.height) :pospx(icon.posX, icon.posY) Shadow.translucent = true IconHolder.translucent = true Icon.translucent = true Text.translucent = true IconHolder:add(Icon) IconHolder:add(Text) Frame:add(IconHolder) Main:add(Frame) Main:add(Shadow) Main.animations.fadeOut = UiAnim(Main, 4000, function() end) Main.animations.fadeOut.onFinished = function(self) self.widget:detach() end Main.animations.fadeOut:start() Main:addTo(root):bringToTop() return Main.animations.fadeOut end return createUi
local test = require('test') local Matrix2x3 = Matrix2x3 local Vector3 = Vector3 test.suite('Matrix2x3 Library') test.test('creation', function() local m = Matrix2x3.new() test.assert_equal(#m, 6) test.expect_equal(m:get(1, 1), 1) test.expect_equal(m:get(1, 2), 0) test.expect_equal(m:get(1, 3), 0) test.expect_equal(m:get(2, 1), 0) test.expect_equal(m:get(2, 2), 1) test.expect_equal(m:get(2, 3), 0) local m = Matrix2x3.new(1, 2, 3, 4, 5, 6) test.assert_equal(#m, 6) test.expect_equal(m:get(1, 1), 1) test.expect_equal(m:get(1, 2), 2) test.expect_equal(m:get(1, 3), 3) test.expect_equal(m:get(2, 1), 4) test.expect_equal(m:get(2, 2), 5) test.expect_equal(m:get(2, 3), 6) local m = Matrix2x3.new{1, 2, 3, 4, 5, 6} test.assert_equal(#m, 6) test.expect_equal(m:get(1, 1), 1) test.expect_equal(m:get(1, 2), 2) test.expect_equal(m:get(1, 3), 3) test.expect_equal(m:get(2, 1), 4) test.expect_equal(m:get(2, 2), 5) test.expect_equal(m:get(2, 3), 6) test.expect_error(Matrix2x3.new, 1, 2) end) test.test('size', function() local m = Matrix2x3.new() test.expect_equal(#m, 6) test.expect_equal(m:rows(), 2) test.expect_equal(m:columns(), 3) end) test.test('get row', function() local m = Matrix2x3.new(1, 2, 3, 4, 5, 6) test.assert_equal(m:get(1), Vector3.new(1, 2, 3)) test.assert_equal(m:get(2), Vector3.new(4, 5, 6)) end) test.test('equality', function() local a = Matrix2x3.new(3, 4, 5, 6, 7, 8) local b = Matrix2x3.new(5, 6, 7, 8, 9, 10) test.assert_not_equal(a, b) b = Matrix2x3.new(3, 4, 5, 6, 7, 8) test.assert_equal(a, b) end) test.test('table as parameter', function() test.assert_equal(Matrix2x3.get({1, 2, 3, 4, 5, 6}, 2, 3), 6) end) test.test('table', function() local m = Matrix2x3.new{1, 2, 3, 4, 5, 6} local t = m:table() test.assert_equal(#t, 6) test.expect_equal(t[1], 1) test.expect_equal(t[2], 2) test.expect_equal(t[3], 3) test.expect_equal(t[4], 4) test.expect_equal(t[5], 5) test.expect_equal(t[6], 6) end) test.test('set', function() local m = Matrix2x3.new() m:set(1, 1, 1) m:set(1, 2, 2) m:set(1, 3, 3) m:set(2, 1, 4) m:set(2, 2, 5) m:set(2, 3, 6) test.expect_equal(m:get(1, 1), 1) test.expect_equal(m:get(1, 2), 2) test.expect_equal(m:get(1, 3), 3) test.expect_equal(m:get(2, 1), 4) test.expect_equal(m:get(2, 2), 5) test.expect_equal(m:get(2, 3), 6) end) test.test('setAll', function() local m = Matrix2x3.new() m:setAll(1, 2, 3, 4, 5, 6) test.expect_equal(m:get(1, 1), 1) test.expect_equal(m:get(1, 2), 2) test.expect_equal(m:get(1, 3), 3) test.expect_equal(m:get(2, 1), 4) test.expect_equal(m:get(2, 2), 5) test.expect_equal(m:get(2, 3), 6) end) test.test('transpose', function() local m = Matrix2x3.new(1, 2, 3, 4, 5, 6) m = m:transpose() test.assert_equal(m:rows(), 3) test.assert_equal(m:columns(), 2) test.expect_equal(m:get(1, 1), 1) test.expect_equal(m:get(1, 2), 4) test.expect_equal(m:get(2, 1), 2) test.expect_equal(m:get(2, 2), 5) test.expect_equal(m:get(3, 1), 3) test.expect_equal(m:get(3, 2), 6) end) test.test('apply', function() local a = Matrix2x3.new(1, 2, 3, 4, 5, 6) local b = a:apply(function(v, i, r, c) return v + i + r + c end) test.expect_equal(b:get(1, 1), 4) test.expect_equal(b:get(1, 2), 7) test.expect_equal(b:get(1, 3), 10) test.expect_equal(b:get(2, 1), 11) test.expect_equal(b:get(2, 2), 14) test.expect_equal(b:get(2, 3), 17) end) test.test('unary minus', function() local a = Matrix2x3.new(1, 2, 3, 4, 5, 6) a = -a test.expect_equal(a:get(1, 1), -1) test.expect_equal(a:get(1, 2), -2) test.expect_equal(a:get(1, 3), -3) test.expect_equal(a:get(2, 1), -4) test.expect_equal(a:get(2, 2), -5) test.expect_equal(a:get(2, 3), -6) end)
local Card = require("app.demo.jasonhuang.card.Card") local oneCard local function createOnePoker() local card = Card:create() oneCard = card return card end local function createPokerSetPanel() local layer = cc.Layer:create() local colorBtn = ccui.Button:create("Images/jasonhuang/btn_blue.png", "Images/jasonhuang/btn_blue.png") colorBtn:setAnchorPoint(cc.p(1.0,0.5)) colorBtn:setTitleText("改变花色") colorBtn:setPosition(display.right_center) colorBtn:addClickEventListener(function(sender) local colorMap = {0,1,2,3} local res = true while res do local index = math.random(#colorMap) if colorMap[index] ~= oneCard.color then oneCard.color = colorMap[index] res = false end end end) layer:addChild(colorBtn) local valueBtn = ccui.Button:create("Images/jasonhuang/btn_blue.png", "Images/jasonhuang/btn_blue.png") valueBtn:setAnchorPoint(cc.p(1.0,0.5)) valueBtn:setTitleText("改变牌值") valueBtn:setPosition(cc.p(display.right, display.cy-50)) valueBtn:addClickEventListener(function(sender) local res = true while res do local val = math.random(13) if val ~= oneCard.value then oneCard.value = val res = false end end end) layer:addChild(valueBtn) local reverseBtn = ccui.Button:create("Images/jasonhuang/btn_blue.png", "Images/jasonhuang/btn_blue.png") reverseBtn:setAnchorPoint(cc.p(1.0,0.5)) reverseBtn:setTitleText("改变正背面") reverseBtn:setPosition(cc.p(display.right, display.cy-100)) reverseBtn:addClickEventListener(function(sender) oneCard.reverse = not oneCard.reverse end) layer:addChild(reverseBtn) return layer end local function main() local scene = cc.Scene:create() scene:addChild(CreateBackMenuItem()) scene:addChild(createPokerSetPanel()) scene:addChild(createOnePoker()) return scene end return main
------------------------------------------------------------------------------------------------ -- 1Version ver. OneVersion-1.6.0 -- Authored by Chrono Syz -- Entity-US / Wildstar -- Build a50c7d6d094803b86bf8936f1fb180ac508c272c -- Copyright (c) Chronosis. All rights reserved -- -- https://github.com/chronosis/1Version ------------------------------------------------------------------------------------------------ -- 1Version-Defaults.lua ------------------------------------------------------------------------------------------------ require "Window" require "Item" require "GameLib" local OneVersion = Apollo.GetAddon("1Version") local Info = Apollo.GetAddonInfo("1Version") local tBaseAddonInfo = { type = "", label = "", mine = { major = 0, minor = 0, patch = 0, suffix = 0 }, reported = { major = 0, minor = 0, patch = 0, suffix = 0 }, upgrade = false } function OneVersion:LoadDefaults() self:RefreshUI() end function OneVersion:GetBaseAddonInfo() return deepcopy(tBaseAddonInfo) end
-- scaffolding entry point for rapidjson return dofile("rapidjson.lua")
------------------------------------------------------------------------------- -- 64-bit hash insert fields tests ------------------------------------------------------------------------------- hash = box.schema.space.create('tweedledum') tmp = hash:create_index('primary', { type = 'hash', parts = {1, 'unsigned'}, unique = true }) -- Insert valid fields hash:insert{0ULL, 'value1 v1.0', 'value2 v1.0'} hash:insert{1ULL, 'value1 v1.0', 'value2 v1.0'} hash:insert{2ULL, 'value1 v1.0', 'value2 v1.0'} hash:insert{3ULL, 'value1 v1.0', 'value2 v1.0'} ------------------------------------------------------------------------------- -- 64-bit hash replace fields tests ------------------------------------------------------------------------------- -- Replace valid fields hash:replace{3ULL, 'value1 v1.31', 'value2 1.12'} hash:replace{1ULL, 'value1 v1.32', 'value2 1.72'} hash:replace{2ULL, 'value1 v1.43', 'value2 1.92'} -- Replace invalid fields hash:replace{3, 'value1 v1.31', 'value2 1.12'} hash:replace{1, 'value1 v1.32', 'value2 1.72'} hash:replace{2, 'value1 v1.43', 'value2 1.92'} hash:replace{'invalid key', 'value1 v1.0', 'value2 v1.0'} hash:drop()
-------------------------------------------------------------------------------- -- lobby.lua -------------------------------------------------------------------------------- local _PACKAGE = (...):match("^(.+)[%./][^%./]+") or "" local table_insert, string_len = table.insert, string.len local INFO_MSG = tengine.INFO_MSG local DEBUG_MSG = tengine.DEBUG_MSG local ERROR_MSG = tengine.ERROR_MSG local p = tengine.p local protocol = require('framework.protocol') local handlers = require("front.handler") local agent = require (_PACKAGE.."/agent") local _M = agent:addState('lobby') function _M:dispatch(name, message) end
--- -- @module Equipment -- -- ------------------------------------------------ -- Required Modules -- ------------------------------------------------ local Log = require( 'src.util.Log' ) local Observable = require( 'src.util.Observable' ) local ItemFactory = require( 'src.items.ItemFactory' ) local Container = require( 'src.items.Container' ) -- ------------------------------------------------ -- Module -- ------------------------------------------------ local Equipment = Observable:subclass( 'Equipment' ) -- ------------------------------------------------ -- Public Methods -- ------------------------------------------------ function Equipment:initialize() Observable.initialize( self ) self.slots = {} end function Equipment:addSlot( slot ) local index = slot:getIndex() assert( not self.slots[index], 'ID already used! BodyParts have to be unique.' ) self.slots[index] = slot end function Equipment:dropAllItems( tile ) for _, slot in pairs( self.slots ) do if slot:containsItem() then local item = slot:getItem() if not item:isPermanent() then tile:getInventory():addItem( item ) end slot:removeItem() end end end function Equipment:removeItem( slot ) local item = slot:getItem() -- TODO search through item table. if item:isInstanceOf( Container ) then self:publish( 'CHANGE_VOLUME', -item:getCarryCapacity() ) end slot:removeItem() return item end function Equipment:searchAndRemoveItem( item ) for _, slot in pairs( self.slots ) do if item == slot:getItem() then return self:removeItem( slot ) end end end function Equipment:addItem( slot, item ) if slot:getItemType() == item:getItemType() then if not slot:getSubType() or slot:getSubType() == item:getSubType() then -- Notify observers of a volume change. if item:isInstanceOf( Container ) then self:publish( 'CHANGE_VOLUME', item:getCarryCapacity() ) end slot:addItem( item ) return true end end Log.warn( string.format( 'No applicable slot found for item %s', item:getID() ), 'Equipment' ) return false end function Equipment:serialize() local t = {} for _, slot in pairs( self.slots ) do t[slot:getIndex()] = slot:serialize() end return t end function Equipment:load( savedEquipment ) for index, slot in pairs( savedEquipment ) do if slot.item then self:addItem( self.slots[index], ItemFactory.loadItem( slot.item )) end end end --- -- Gets an item of the specified type without removing it from the inventory. -- @param type (string) The type of item to get. -- @return (Item) An item of the specified type. -- function Equipment:getItem( type ) for _, slot in pairs( self.slots ) do if slot:getItemType() == type then return slot:getItem() end end end function Equipment:getSlot( id ) for _, slot in pairs ( self.slots ) do if slot:getID() == id then return slot end end end function Equipment:getSlots() return self.slots end return Equipment
LANGUAGE = { schemaName = "Metro Roleplay", tying = "Tying...", unTying = "Untying...", isTied = "Tied", fTiedUp = "You have been tied up.", fBeingTied = "You are being tied up.", tiedUp = "They have been tied up.", beingTied = "They are being tied up.", beingUntied = "They are being untied.", searchingCorpse = "Searching corpse...", radioNotOn = "Your radio isn't on!", radioRequired = "You need a radio to do this.", radioAlreadyOn = "You already have a radio that is turned on!", economy = "Economy", }
-- int residenitial inside x64c > levels > interiors > int_props --<Item>v_bar</Item> --<Item>v_bathroom</Item> --<Item>v_electrical</Item> --<Item>v_kitchen</Item> --<Item>v_office</Item> sofas = { [1] = { ["object"] = "miss_rub_couch_01", ["price"] = 300, ["name"] = "Old Flowered Couch" }, [2] = { ["object"] = "prop_fib_3b_bench", ["price"] = 700, ["name"] = "3 Seat Chair" }, [3] = { ["object"] = "prop_ld_farm_chair01", ["price"] = 250, ["name"] = "Old 1 Seat Couch" }, [4] = { ["object"] = "prop_ld_farm_couch01", ["price"] = 300, ["name"] = "Old 3 Seat Couch" }, [5] = { ["object"] = "prop_ld_farm_couch02", ["price"] = 300, ["name"] = "Old Striped Couch" }, [6] = { ["object"] = "v_res_d_armchair", ["price"] = 300, ["name"] = "Old 1 Seat Couch Yellow" }, [7] = { ["object"] = "v_res_fh_sofa", ["price"] = 3700, ["name"] = "Corner Sofa" }, [8] = { ["object"] = "v_res_mp_sofa", ["price"] = 3700, ["name"] = "Corner Sofa 2" }, [9] = { ["object"] = "v_res_d_sofa", ["price"] = 700, ["name"] = "Sofa 1" }, [10] = { ["object"] = "v_res_j_sofa", ["price"] = 700, ["name"] = "Sofa 2" }, [11] = { ["object"] = "v_res_mp_stripchair", ["price"] = 700, ["name"] = "Sofa 3" }, [12] = { ["object"] = "v_res_m_h_sofa_sml", ["price"] = 700, ["name"] = "Sofa 4" }, [13] = { ["object"] = "v_res_r_sofa", ["price"] = 700, ["name"] = "Sofa 5" }, [14] = { ["object"] = "v_res_tre_sofa", ["price"] = 700, ["name"] = "Sofa 6" }, [15] = { ["object"] = "v_res_tre_sofa_mess_a", ["price"] = 700, ["name"] = "Sofa 7" }, [16] = { ["object"] = "v_res_tre_sofa_mess_b", ["price"] = 700, ["name"] = "Sofa 8" }, [17] = { ["object"] = "v_res_tre_sofa_mess_c", ["price"] = 700, ["name"] = "Sofa 9" }, [18] = { ["object"] = "v_res_tt_sofa", ["price"] = 700, ["name"] = "Sofa 10" }, [19] = { ["object"] = "prop_rub_couch02", ["price"] = 700, ["name"] = "Sofa 11" }, } chairs = { [1] = { ["object"] = "v_res_d_highchair", ["price"] = 700, ["name"] = "High Chair" }, [2] = { ["object"] = "v_res_fa_chair01", ["price"] = 700, ["name"] = "Chair" }, [3] = { ["object"] = "v_res_fa_chair02", ["price"] = 700, ["name"] = "Chair" }, [4] = { ["object"] = "v_res_fh_barcchair", ["price"] = 700, ["name"] = "High Chair" }, [5] = { ["object"] = "v_res_fh_dineeamesa", ["price"] = 700, ["name"] = "Dine Chair 1" }, [6] = { ["object"] = "v_res_fh_dineeamesb", ["price"] = 700, ["name"] = "Dine Chair 2" }, [7] = { ["object"] = "v_res_fh_dineeamesc", ["price"] = 700, ["name"] = "Dine Chair 3" }, [8] = { ["object"] = "v_res_fh_easychair", ["price"] = 700, ["name"] = "Chair" }, [9] = { ["object"] = "v_res_fh_kitnstool", ["price"] = 700, ["name"] = "Stool" }, [10] = { ["object"] = "v_res_fh_singleseat", ["price"] = 700, ["name"] = "High Chair" }, [11] = { ["object"] = "v_res_jarmchair", ["price"] = 700, ["name"] = "Arm Chair" }, [12] = { ["object"] = "v_res_j_dinechair", ["price"] = 700, ["name"] = "Dining Chair" }, [13] = { ["object"] = "v_res_j_stool", ["price"] = 700, ["name"] = "Stool" }, [14] = { ["object"] = "v_res_mbchair", ["price"] = 700, ["name"] = "MB Chair" }, [15] = { ["object"] = "v_res_m_armchair", ["price"] = 700, ["name"] = "Arm Chair" }, [16] = { ["object"] = "v_res_m_dinechair", ["price"] = 700, ["name"] = "Dine Chair" }, [17] = { ["object"] = "v_res_study_chair", ["price"] = 700, ["name"] = "Study Chair" }, [18] = { ["object"] = "v_res_trev_framechair", ["price"] = 700, ["name"] = "Frame Chair" }, [19] = { ["object"] = "v_res_tre_chair", ["price"] = 700, ["name"] = "Chair" }, [20] = { ["object"] = "v_res_tre_officechair", ["price"] = 700, ["name"] = "Office Chair" }, [21] = { ["object"] = "v_res_tre_stool", ["price"] = 700, ["name"] = "Stool" }, [22] = { ["object"] = "v_res_tre_stool_leather", ["price"] = 700, ["name"] = "Stool Leather" }, [23] = { ["object"] = "v_res_tre_stool_scuz", ["price"] = 700, ["name"] = "Stool Scuz" }, [24] = { ["object"] = "v_med_p_deskchair", ["price"] = 700, ["name"] = "Desk Chair" }, [25] = { ["object"] = "v_med_p_easychair", ["price"] = 700, ["name"] = "Easy Chair" }, [26] = { ["object"] = "v_med_whickerchair1", ["price"] = 700, ["name"] = "Whicker Chair" }, [27] = { ["object"] = "prop_direct_chair_01", ["price"] = 700, ["name"] = "Direct Chair 1" }, [28] = { ["object"] = "prop_direct_chair_02", ["price"] = 700, ["name"] = "Direct Chair 2" }, [29] = { ["object"] = "prop_yacht_lounger", ["price"] = 700, ["name"] = "Yacht Seat 1" }, [30] = { ["object"] = "prop_yacht_seat_01", ["price"] = 700, ["name"] = "Yacht Seat 2" }, [31] = { ["object"] = "prop_yacht_seat_02", ["price"] = 700, ["name"] = "Yacht Seat 3" }, [32] = { ["object"] = "prop_yacht_seat_03", ["price"] = 700, ["name"] = "Yacht Seat 4" }, [33] = { ["object"] = "v_ret_chair_white", ["price"] = 100, ["name"] = "White Chair" }, [34] = { ["object"] = "v_ret_chair", ["price"] = 100, ["name"] = "Chair" }, [35] = { ["object"] = "v_ret_ta_stool", ["price"] = 100, ["name"] = "TA Stool" }, [36] = { ["object"] = "prop_cs_office_chair", ["price"] = 100, ["name"] = "Office Chair" }, } beds = { [1] = { ["object"] = "v_res_d_bed", ["price"] = 700, ["name"] = "D Bed" }, [2] = { ["object"] = "v_res_lestersbed", ["price"] = 700, ["name"] = "L Bed" }, [3] = { ["object"] = "v_res_mbbed", ["price"] = 700, ["name"] = "MB Bed" }, [4] = { ["object"] = "v_res_mdbed", ["price"] = 700, ["name"] = "MD Bed" }, [5] = { ["object"] = "v_res_msonbed", ["price"] = 700, ["name"] = "Mason Bed" }, [6] = { ["object"] = "v_res_tre_bed1", ["price"] = 700, ["name"] = "T Bed" }, [7] = { ["object"] = "v_res_tre_bed2", ["price"] = 700, ["name"] = "T Bed 2" }, [8] = { ["object"] = "v_res_tt_bed", ["price"] = 700, ["name"] = "TT Bed" }, } general = { [1] = { ["object"] = "v_corp_facebeanbag", ["price"] = 100, ["name"] = "Bean Bag 1" }, [2] = { ["object"] = "v_res_cherubvase", ["price"] = 2500, ["name"] = "White Vase" }, [3] = { ["object"] = "v_res_d_paddedwall", ["price"] = 300, ["name"] = "Padded Wall" }, [4] = { ["object"] = "v_res_d_ramskull", ["price"] = 300, ["name"] = "Item" }, [5] = { ["object"] = "v_res_d_whips", ["price"] = 300, ["name"] = "Whips" }, [6] = { ["object"] = "v_res_fashmag1", ["price"] = 300, ["name"] = "Mags" }, [7] = { ["object"] = "v_res_fashmagopen", ["price"] = 300, ["name"] = "Mags Open" }, [8] = { ["object"] = "v_res_fa_magtidy", ["price"] = 300, ["name"] = "Mag Tidy" }, [9] = { ["object"] = "v_res_fa_yogamat002", ["price"] = 300, ["name"] = "Yoga Mat 1" }, [10] = { ["object"] = "v_res_fa_yogamat1", ["price"] = 300, ["name"] = "Yoga Mat 2" }, [11] = { ["object"] = "v_res_fh_aftershavebox", ["price"] = 300, ["name"] = "Aftershave" }, [12] = { ["object"] = "v_res_fh_flowersa", ["price"] = 300, ["name"] = "Flowers" }, [13] = { ["object"] = "v_res_fh_fruitbowl", ["price"] = 300, ["name"] = "Fruitbowl" }, [14] = { ["object"] = "v_res_fh_laundrybasket", ["price"] = 300, ["name"] = "Laundry Basket" }, [15] = { ["object"] = "v_res_fh_pouf", ["price"] = 300, ["name"] = "Pouf" }, [16] = { ["object"] = "v_res_fh_sculptmod", ["price"] = 300, ["name"] = "Sculpture" }, [17] = { ["object"] = "v_res_j_magrack", ["price"] = 300, ["name"] = "Mag Rack" }, [18] = { ["object"] = "v_res_jewelbox", ["price"] = 300, ["name"] = "Jewel Box" }, [19] = { ["object"] = "v_res_mbbin", ["price"] = 300, ["name"] = "Bin" }, [20] = { ["object"] = "v_res_mbowlornate", ["price"] = 300, ["name"] = "Ornate Bowl" }, [21] = { ["object"] = "v_res_mbronzvase", ["price"] = 300, ["name"] = "Bronze Vase" }, [22] = { ["object"] = "v_res_mchalkbrd", ["price"] = 300, ["name"] = "Chalk Board" }, [23] = { ["object"] = "v_res_mddresser", ["price"] = 300, ["name"] = "Dresser" }, [24] = { ["object"] = "v_res_mplinth", ["price"] = 300, ["name"] = "Linth" }, [25] = { ["object"] = "v_res_mp_ashtrayb", ["price"] = 300, ["name"] = "Ashtray" }, [26] = { ["object"] = "v_res_m_candle", ["price"] = 300, ["name"] = "Candle" }, [27] = { ["object"] = "v_res_m_candlelrg", ["price"] = 300, ["name"] = "Candle Large" }, [28] = { ["object"] = "v_res_m_kscales", ["price"] = 300, ["name"] = "Scales" }, [29] = { ["object"] = "v_res_tt_bedpillow", ["price"] = 300, ["name"] = "Bed Pillow" }, } general2 = { [1] = { ["object"] = "prop_a4_pile_01", ["price"] = 100, ["name"] = "A4 Pile" }, [2] = { ["object"] = "prop_amb_40oz_03", ["price"] = 100, ["name"] = "40 oz" }, [3] = { ["object"] = "prop_amb_beer_bottle", ["price"] = 100, ["name"] = "Beer" }, [4] = { ["object"] = "prop_aviators_01", ["price"] = 100, ["name"] = "Aviators" }, [5] = { ["object"] = "prop_barry_table_detail", ["price"] = 100, ["name"] = "Detail" }, [6] = { ["object"] = "prop_beer_box_01", ["price"] = 100, ["name"] = "Beers" }, [7] = { ["object"] = "prop_binoc_01", ["price"] = 100, ["name"] = "Binoculars" }, [8] = { ["object"] = "prop_blox_spray", ["price"] = 100, ["name"] = "Blox Spray" }, [9] = { ["object"] = "prop_bongos_01", ["price"] = 100, ["name"] = "Bongos" }, [10] = { ["object"] = "prop_bong_01", ["price"] = 100, ["name"] = "Bong" }, [11] = { ["object"] = "prop_boombox_01", ["price"] = 100, ["name"] = "Boombox" }, [12] = { ["object"] = "prop_bowl_crisps", ["price"] = 100, ["name"] = "Bowl Crisps" }, [13] = { ["object"] = "prop_candy_pqs", ["price"] = 100, ["name"] = "Candy" }, [14] = { ["object"] = "prop_carrier_bag_01", ["price"] = 100, ["name"] = "Carrier bag" }, [15] = { ["object"] = "prop_ceramic_jug_01", ["price"] = 100, ["name"] = "Ceramic Jug" }, [16] = { ["object"] = "prop_cigar_pack_01", ["price"] = 100, ["name"] = "Cigar Pack 1" }, [17] = { ["object"] = "prop_cigar_pack_02", ["price"] = 100, ["name"] = "Cigar Pack 2" }, [18] = { ["object"] = "prop_cs_beer_box", ["price"] = 100, ["name"] = "Beer Box 2" }, [19] = { ["object"] = "prop_cs_binder_01", ["price"] = 100, ["name"] = "Binder" }, [20] = { ["object"] = "prop_cs_bs_cup", ["price"] = 100, ["name"] = "Cup" }, [21] = { ["object"] = "prop_cs_cashenvelope", ["price"] = 100, ["name"] = "Envelope" }, [22] = { ["object"] = "prop_cs_champ_flute", ["price"] = 100, ["name"] = "Flute" }, [23] = { ["object"] = "prop_cs_duffel_01", ["price"] = 100, ["name"] = "Duffel Bag" }, [24] = { ["object"] = "prop_cs_dvd", ["price"] = 50, ["name"] = "DVD" }, [25] = { ["object"] = "prop_cs_dvd_case", ["price"] = 50, ["name"] = "DVD Case" }, [26] = { ["object"] = "prop_cs_film_reel_01", ["price"] = 100, ["name"] = "Film Reel" }, [27] = { ["object"] = "prop_cs_ilev_blind_01", ["price"] = 100, ["name"] = "Blind" }, [28] = { ["object"] = "p_ld_bs_bag_01", ["price"] = 100, ["name"] = "Bag" }, [29] = { ["object"] = "prop_cs_ironing_board", ["price"] = 100, ["name"] = "Ironing Board" }, [30] = { ["object"] = "prop_cs_katana_01", ["price"] = 100, ["name"] = "Katana" }, [31] = { ["object"] = "prop_cs_kettle_01", ["price"] = 100, ["name"] = "Kettle" }, [32] = { ["object"] = "prop_cs_lester_crate", ["price"] = 100, ["name"] = "Crate" }, [33] = { ["object"] = "prop_cs_petrol_can", ["price"] = 100, ["name"] = "Petrol Can" }, [34] = { ["object"] = "prop_cs_sack_01", ["price"] = 100, ["name"] = "Sack" }, [35] = { ["object"] = "prop_cs_script_bottle_01", ["price"] = 100, ["name"] = "Script Bottle" }, [36] = { ["object"] = "prop_cs_script_bottle", ["price"] = 100, ["name"] = "Script Bottle 2" }, [37] = { ["object"] = "prop_cs_street_binbag_01", ["price"] = 100, ["name"] = "Bin Bag" }, [38] = { ["object"] = "prop_cs_whiskey_bottle", ["price"] = 100, ["name"] = "Whiskey Bottle" }, [39] = { ["object"] = "prop_sh_bong_01", ["price"] = 100, ["name"] = "Bong" }, [40] = { ["object"] = "prop_peanut_bowl_01", ["price"] = 100, ["name"] = "Peanuts" }, [41] = { ["object"] = "prop_tumbler_01", ["price"] = 100, ["name"] = "Tumbler" }, } general3 = { [1] = { ["object"] = "v_ret_csr_bin", ["price"] = 100, ["name"] = "CSR Bin" }, [2] = { ["object"] = "v_ret_fh_wickbskt", ["price"] = 100, ["name"] = "Basket" }, [3] = { ["object"] = "v_ret_gc_bag01", ["price"] = 100, ["name"] = "GC Bag 1" }, [4] = { ["object"] = "v_ret_gc_bag02", ["price"] = 100, ["name"] = "GC Bag 2" }, [5] = { ["object"] = "v_ret_gc_bin", ["price"] = 100, ["name"] = "GC Bin" }, [6] = { ["object"] = "v_ret_gc_cashreg", ["price"] = 100, ["name"] = "Cash Register" }, [7] = { ["object"] = "v_ret_gc_chair01", ["price"] = 100, ["name"] = "GC Chair 01" }, [8] = { ["object"] = "v_ret_gc_chair02", ["price"] = 100, ["name"] = "GC Chair 02" }, [9] = { ["object"] = "v_ret_gc_clock", ["price"] = 100, ["name"] = "Clock" }, [10] = { ["object"] = "v_ret_hd_prod1_", ["price"] = 100, ["name"] = "Prod 1" }, [11] = { ["object"] = "v_ret_hd_prod2_", ["price"] = 100, ["name"] = "Prod 2" }, [12] = { ["object"] = "v_ret_hd_prod3_", ["price"] = 100, ["name"] = "Prod 3" }, [13] = { ["object"] = "v_ret_hd_prod4_", ["price"] = 100, ["name"] = "Prod 4" }, [14] = { ["object"] = "v_ret_hd_prod5_", ["price"] = 100, ["name"] = "Prod 5" }, [15] = { ["object"] = "v_ret_hd_prod6_", ["price"] = 100, ["name"] = "Prod 6" }, [16] = { ["object"] = "v_ret_hd_unit1_", ["price"] = 100, ["name"] = "HD Unit 1" }, [17] = { ["object"] = "v_ret_hd_unit2_", ["price"] = 100, ["name"] = "HD Unit 2" }, [18] = { ["object"] = "v_ret_ml_fridge02", ["price"] = 100, ["name"] = "Fridge" }, [19] = { ["object"] = "v_ret_ps_bag_01", ["price"] = 100, ["name"] = "Bag 1" }, [20] = { ["object"] = "v_ret_ps_bag_02", ["price"] = 100, ["name"] = "Bag 2" }, [21] = { ["object"] = "v_ret_ta_book1", ["price"] = 100, ["name"] = "Book 1" }, [22] = { ["object"] = "v_ret_ta_book2", ["price"] = 100, ["name"] = "Book 2" }, [23] = { ["object"] = "v_ret_ta_book3", ["price"] = 100, ["name"] = "Book 3" }, [24] = { ["object"] = "v_ret_ta_book4", ["price"] = 100, ["name"] = "Book 4" }, [25] = { ["object"] = "v_ret_ta_camera", ["price"] = 100, ["name"] = "Cam" }, [26] = { ["object"] = "v_ret_ta_firstaid", ["price"] = 100, ["name"] = "First Aid" }, [27] = { ["object"] = "v_ret_ta_hero", ["price"] = 100, ["name"] = "Hero" }, [28] = { ["object"] = "v_ret_ta_mag1", ["price"] = 100, ["name"] = "Mag 1" }, [29] = { ["object"] = "v_ret_ta_mag2", ["price"] = 100, ["name"] = "Mag 2" }, [30] = { ["object"] = "v_ret_ta_skull", ["price"] = 100, ["name"] = "Skull" }, [31] = { ["object"] = "prop_acc_guitar_01", ["price"] = 100, ["name"] = "Guitar" }, [32] = { ["object"] = "prop_amb_handbag_01", ["price"] = 100, ["name"] = "Handbag" }, [33] = { ["object"] = "prop_attache_case_01", ["price"] = 100, ["name"] = "Case" }, [34] = { ["object"] = "prop_big_bag_01", ["price"] = 100, ["name"] = "Big Bag" }, [35] = { ["object"] = "prop_bonesaw", ["price"] = 100, ["name"] = "Bonesaw" }, [36] = { ["object"] = "prop_cs_fertilizer", ["price"] = 100, ["name"] = "Fertilizer" }, [37] = { ["object"] = "prop_cs_shopping_bag", ["price"] = 100, ["name"] = "Shopping Bag" }, [38] = { ["object"] = "prop_cs_vial_01", ["price"] = 100, ["name"] = "Vial" }, [39] = { ["object"] = "prop_defilied_ragdoll_01", ["price"] = 100, ["name"] = "Ragdoll" }, } general4 = { [1] = { ["object"] = "prop_dummy_01", ["price"] = 100, ["name"] = "Dummy" }, [2] = { ["object"] = "prop_egg_clock_01", ["price"] = 100, ["name"] = "Egg Clock" }, [3] = { ["object"] = "prop_el_guitar_01", ["price"] = 100, ["name"] = "E Guitar 1" }, [4] = { ["object"] = "prop_el_guitar_02", ["price"] = 100, ["name"] = "E Guitar 2" }, [5] = { ["object"] = "prop_el_guitar_03", ["price"] = 100, ["name"] = "E Guitar 2" }, [6] = { ["object"] = "prop_feed_sack_01", ["price"] = 100, ["name"] = "Feed Sack" }, [7] = { ["object"] = "prop_floor_duster_01", ["price"] = 100, ["name"] = "Floor Duster" }, [8] = { ["object"] = "prop_fruit_basket", ["price"] = 100, ["name"] = "Fruit Basket" }, [9] = { ["object"] = "prop_f_duster_02", ["price"] = 100, ["name"] = "Duster" }, [10] = { ["object"] = "prop_grapes_02", ["price"] = 100, ["name"] = "Grapes" }, [11] = { ["object"] = "prop_hotel_clock_01", ["price"] = 100, ["name"] = "Hotel Clock" }, [12] = { ["object"] = "prop_idol_case_01", ["price"] = 100, ["name"] = "Idol Case" }, [13] = { ["object"] = "prop_jewel_02a", ["price"] = 100, ["name"] = "Jewels" }, [14] = { ["object"] = "prop_jewel_02b", ["price"] = 100, ["name"] = "Jewels" }, [15] = { ["object"] = "prop_jewel_02c", ["price"] = 100, ["name"] = "Jewels" }, [16] = { ["object"] = "prop_jewel_03a", ["price"] = 100, ["name"] = "Jewels" }, [17] = { ["object"] = "prop_jewel_03b", ["price"] = 100, ["name"] = "Jewels" }, [18] = { ["object"] = "prop_jewel_04a", ["price"] = 100, ["name"] = "Jewels" }, [19] = { ["object"] = "prop_jewel_04b", ["price"] = 100, ["name"] = "Jewels" }, [20] = { ["object"] = "prop_j_disptray_01", ["price"] = 100, ["name"] = "Display Tray" }, [21] = { ["object"] = "prop_j_disptray_01b", ["price"] = 100, ["name"] = "Display Tray" }, [22] = { ["object"] = "prop_j_disptray_02", ["price"] = 100, ["name"] = "Display Tray" }, [23] = { ["object"] = "prop_j_disptray_03", ["price"] = 100, ["name"] = "Display Tray" }, [24] = { ["object"] = "prop_j_disptray_04", ["price"] = 100, ["name"] = "Display Tray" }, [25] = { ["object"] = "prop_j_disptray_04b", ["price"] = 100, ["name"] = "Display Tray" }, [26] = { ["object"] = "prop_j_disptray_05", ["price"] = 100, ["name"] = "Display Tray" }, [27] = { ["object"] = "prop_j_disptray_05b", ["price"] = 100, ["name"] = "Display Tray" }, [28] = { ["object"] = "prop_ld_greenscreen_01", ["price"] = 100, ["name"] = "Green Screen" }, [29] = { ["object"] = "prop_ld_handbag", ["price"] = 100, ["name"] = "Handbag" }, [30] = { ["object"] = "prop_ld_jerrycan_01", ["price"] = 100, ["name"] = "Jerry Can" }, [31] = { ["object"] = "prop_ld_keypad_01", ["price"] = 100, ["name"] = "Keypad 1" }, [32] = { ["object"] = "prop_ld_keypad_01b", ["price"] = 100, ["name"] = "Keypad 2" }, [33] = { ["object"] = "prop_ld_suitcase_01", ["price"] = 100, ["name"] = "Suitcase 1" }, [34] = { ["object"] = "prop_ld_suitcase_02", ["price"] = 100, ["name"] = "Suitcase 2" }, [35] = { ["object"] = "hei_p_attache_case_shut", ["price"] = 100, ["name"] = "Suitcase 3"}, [36] = { ["object"] = "prop_mr_rasberryclean", ["price"] = 100, ["name"] = "Rasberry Clean" }, [37] = { ["object"] = "prop_paper_bag_01", ["price"] = 100, ["name"] = "Paper Bag" }, [38] = { ["object"] = "prop_shopping_bags01", ["price"] = 100, ["name"] = "Shopping Bags" }, [39] = { ["object"] = "prop_shopping_bags02", ["price"] = 100, ["name"] = "Shopping Bags 2" }, [40] = { ["object"] = "prop_yoga_mat_01", ["price"] = 100, ["name"] = "Yoga Mat 1" }, [41] = { ["object"] = "prop_yoga_mat_02", ["price"] = 100, ["name"] = "Yoga Mat 2" }, [42] = { ["object"] = "prop_yoga_mat_03", ["price"] = 100, ["name"] = "Yoga Mat 3" }, [43] = { ["object"] = "p_ld_sax", ["price"] = 100, ["name"] = "Sax" }, [44] = { ["object"] = "p_ld_soc_ball_01", ["price"] = 100, ["name"] = "SOCCER Ball" }, [45] = { ["object"] = "p_watch_01", ["price"] = 100, ["name"] = "Watch 1" }, [46] = { ["object"] = "p_watch_02", ["price"] = 100, ["name"] = "Watch 2" }, [47] = { ["object"] = "p_watch_03", ["price"] = 100, ["name"] = "Watch 3" }, [48] = { ["object"] = "p_watch_04", ["price"] = 100, ["name"] = "Watch 4" }, [49] = { ["object"] = "p_watch_05", ["price"] = 100, ["name"] = "Watch 5" }, [51] = { ["object"] = "p_watch_06", ["price"] = 100, ["name"] = "Watch 6" }, } small = { [1] = { ["object"] = "v_res_r_figcat", ["price"] = 300, ["name"] = "Fig Cat" }, [2] = { ["object"] = "v_res_r_figclown", ["price"] = 300, ["name"] = "Fig Clown" }, [3] = { ["object"] = "v_res_r_figauth2", ["price"] = 300, ["name"] = "Fig Auth" }, [4] = { ["object"] = "v_res_r_figfemale", ["price"] = 300, ["name"] = "Fig Female" }, [5] = { ["object"] = "v_res_r_figflamenco", ["price"] = 300, ["name"] = "Fig Flamenco" }, [6] = { ["object"] = "v_res_r_figgirl", ["price"] = 300, ["name"] = "Fig Girl" }, [7] = { ["object"] = "v_res_r_figgirlclown", ["price"] = 300, ["name"] = "Fig Girl Clown" }, [8] = { ["object"] = "v_res_r_figoblisk", ["price"] = 300, ["name"] = "Fig Oblisk" }, [9] = { ["object"] = "v_res_r_figpillar", ["price"] = 300, ["name"] = "Fig Pillar" }, [10] = { ["object"] = "v_res_r_teapot", ["price"] = 300, ["name"] = "Teapot" }, [11] = { ["object"] = "v_res_sculpt_dec", ["price"] = 300, ["name"] = "Sculpture 1" }, [12] = { ["object"] = "v_res_sculpt_decd", ["price"] = 300, ["name"] = "Sculpture 2" }, [13] = { ["object"] = "v_res_sculpt_dece", ["price"] = 300, ["name"] = "Sculpture 3" }, [14] = { ["object"] = "v_res_sculpt_decf", ["price"] = 300, ["name"] = "Sculpture 4" }, [15] = { ["object"] = "v_res_skateboard", ["price"] = 300, ["name"] = "Skateboard" }, [16] = { ["object"] = "v_res_sketchpad", ["price"] = 300, ["name"] = "Sketchpad" }, [17] = { ["object"] = "v_res_tissues", ["price"] = 300, ["name"] = "Tissues" }, [18] = { ["object"] = "v_res_tre_basketmess", ["price"] = 300, ["name"] = "Basket" }, [19] = { ["object"] = "v_res_tre_bin", ["price"] = 300, ["name"] = "Bin" }, [20] = { ["object"] = "v_res_tre_cushiona", ["price"] = 300, ["name"] = "Cushion 1" }, [21] = { ["object"] = "v_res_tre_cushionb", ["price"] = 300, ["name"] = "Cushion 2" }, [22] = { ["object"] = "v_res_tre_cushionc", ["price"] = 300, ["name"] = "Cushion 3" }, [23] = { ["object"] = "v_res_tre_cushiond", ["price"] = 300, ["name"] = "Cushion 4" }, [24] = { ["object"] = "v_res_tre_cushnscuzb", ["price"] = 300, ["name"] = "Cushion 5" }, [25] = { ["object"] = "v_res_tre_cushnscuzd", ["price"] = 300, ["name"] = "Cushion 6" }, [26] = { ["object"] = "v_res_tre_fruitbowl", ["price"] = 300, ["name"] = "Fruitbowl" }, [27] = { ["object"] = "v_med_p_sideboard", ["price"] = 300, ["name"] = "Sideboard" }, [28] = { ["object"] = "prop_idol_01", ["price"] = 100, ["name"] = "Idol 1" }, } storage = { [1] = { ["object"] = "v_res_cabinet", ["price"] = 2500, ["name"] = "Cabinet Large" }, [2] = { ["object"] = "v_res_d_dressingtable", ["price"] = 2500, ["name"] = "Dressing Table" }, [3] = { ["object"] = "v_res_d_sideunit", ["price"] = 2500, ["name"] = "Side Unit" }, [4] = { ["object"] = "v_res_fh_sidebrddine", ["price"] = 2500, ["name"] = "Side Unit" }, [5] = { ["object"] = "v_res_fh_sidebrdlngb", ["price"] = 2500, ["name"] = "Side Unit" }, [6] = { ["object"] = "v_res_mbbedtable", ["price"] = 2500, ["name"] = "Bed Unit" }, [7] = { ["object"] = "v_res_j_tvstand", ["price"] = 2500, ["name"] = "Tv Unit" }, [8] = { ["object"] = "v_res_mbdresser", ["price"] = 2500, ["name"] = "Dresser Unit" }, [9] = { ["object"] = "v_res_mbottoman", ["price"] = 2500, ["name"] = "Bottoman Unit" }, [10] = { ["object"] = "v_res_mconsolemod", ["price"] = 2500, ["name"] = "Console Unit" }, [11] = { ["object"] = "v_res_mcupboard", ["price"] = 2500, ["name"] = "Cupboard Unit" }, [12] = { ["object"] = "v_res_mdchest", ["price"] = 2500, ["name"] = "Chest Unit" }, [13] = { ["object"] = "v_res_msoncabinet", ["price"] = 2500, ["name"] = "Mason Unit" }, [14] = { ["object"] = "v_res_m_armoire", ["price"] = 2500, ["name"] = "Armoire Unit" }, [15] = { ["object"] = "v_res_m_sidetable", ["price"] = 2500, ["name"] = "Side Unit" }, [16] = { ["object"] = "v_res_son_desk", ["price"] = 2500, ["name"] = "Desk Unit" }, [17] = { ["object"] = "v_res_tre_bedsidetable", ["price"] = 2500, ["name"] = "Side Unit" }, [18] = { ["object"] = "v_res_tre_bedsidetableb", ["price"] = 2500, ["name"] = "Side Unit 2" }, [19] = { ["object"] = "v_res_tre_smallbookshelf", ["price"] = 2500, ["name"] = "Book Unit" }, [20] = { ["object"] = "v_res_tre_storagebox", ["price"] = 2500, ["name"] = "Box Unit" }, [21] = { ["object"] = "v_res_tre_storageunit", ["price"] = 2500, ["name"] = "Storage Unit" }, [22] = { ["object"] = "v_res_tre_wardrobe", ["price"] = 2500, ["name"] = "Wardrobe Unit" }, [23] = { ["object"] = "v_res_tre_wdunitscuz", ["price"] = 2500, ["name"] = "Wood Unit" }, [24] = { ["object"] = "prop_devin_box_closed", ["price"] = 100, ["name"] = "Bean Bag 1" }, [25] = { ["object"] = "prop_mil_crate_01", ["price"] = 100, ["name"] = "Mil Crate 1" }, [26] = { ["object"] = "prop_mil_crate_02", ["price"] = 100, ["name"] = "Mil Crate 2" }, [27] = { ["object"] = "prop_ld_int_safe_01", ["price"] = 1100, ["name"] = "Safe" }, } electronics = { [1] = { ["object"] = "prop_trailr_fridge", ["price"] = 300, ["name"] = "Old Fridge" }, [2] = { ["object"] = "v_res_fh_speaker", ["price"] = 300, ["name"] = "Speaker" }, [3] = { ["object"] = "v_res_fh_speakerdock", ["price"] = 300, ["name"] = "Speaker Dock" }, [4] = { ["object"] = "v_res_fh_bedsideclock", ["price"] = 300, ["name"] = "Bedside Clock" }, [5] = { ["object"] = "v_res_fa_phone", ["price"] = 300, ["name"] = "Phone" }, [6] = { ["object"] = "v_res_fh_towerfan", ["price"] = 300, ["name"] = "Tower Fan" }, [7] = { ["object"] = "v_res_fa_fan", ["price"] = 300, ["name"] = "Fan" }, [8] = { ["object"] = "v_res_lest_bigscreen", ["price"] = 300, ["name"] = "Bigscreen" }, [9] = { ["object"] = "v_res_lest_monitor", ["price"] = 300, ["name"] = "Monitor" }, [10] = { ["object"] = "v_res_tre_mixer", ["price"] = 300, ["name"] = "Mixer" }, [11] = { ["object"] = "prop_cs_cctv", ["price"] = 100, ["name"] = "CCTV" }, [12] = { ["object"] = "prop_ld_lap_top", ["price"] = 100, ["name"] = "Laptop" }, [13] = { ["object"] = "prop_ld_monitor_01", ["price"] = 100, ["name"] = "Monitor" }, } lighting = { [1] = { ["object"] = "v_corp_cd_desklamp", ["price"] = 100, ["name"] = "Desk Corp Lamp" }, [2] = { ["object"] = "v_res_desklamp", ["price"] = 100, ["name"] = "Desk Lamp" }, [3] = { ["object"] = "v_res_d_lampa", ["price"] = 100, ["name"] = "Lamp AA" }, [4] = { ["object"] = "v_res_fa_lamp1on", ["price"] = 100, ["name"] = "Lamp 1" }, [5] = { ["object"] = "v_res_fh_floorlamp", ["price"] = 100, ["name"] = "Floor Lamp" }, [6] = { ["object"] = "v_res_fh_lampa_on", ["price"] = 100, ["name"] = "Lamp 2" }, [7] = { ["object"] = "v_res_j_tablelamp1", ["price"] = 100, ["name"] = "Table Lamp" }, [8] = { ["object"] = "v_res_j_tablelamp2", ["price"] = 100, ["name"] = "Table Lamp 2" }, [9] = { ["object"] = "v_res_mdbedlamp", ["price"] = 100, ["name"] = "Bed Lamp" }, [10] = { ["object"] = "v_res_mplanttongue", ["price"] = 100, ["name"] = "Plant Tongue Lamp" }, [11] = { ["object"] = "v_res_mtblelampmod", ["price"] = 100, ["name"] = "Table Lamp 3" }, [12] = { ["object"] = "v_res_m_lampstand", ["price"] = 100, ["name"] = "Lamp Stand" }, [13] = { ["object"] = "v_res_m_lampstand2", ["price"] = 100, ["name"] = "Lamp Stand 2" }, [14] = { ["object"] = "v_res_m_lamptbl", ["price"] = 100, ["name"] = "Table Lamp 4" }, [15] = { ["object"] = "v_res_tre_lightfan", ["price"] = 100, ["name"] = "Light Fan" }, [16] = { ["object"] = "v_res_tre_talllamp", ["price"] = 100, ["name"] = "Tall Lamp" }, [17] = { ["object"] = "v_ret_fh_walllighton", ["price"] = 100, ["name"] = "Wall Light" }, [18] = { ["object"] = "v_ret_gc_lamp", ["price"] = 100, ["name"] = "GC Lamp" }, [19] = { ["object"] = "prop_dummy_light", ["price"] = 100, ["name"] = "Flickering Light" }, [20] = { ["object"] = "prop_ld_cont_light_01", ["price"] = 100, ["name"] = "Side Wall Light" }, [21] = { ["object"] = "V_44_D_emis", ["price"] = 100, ["name"] = "Test Light" }, } tables = { [1] = { ["object"] = "v_res_d_coffeetable", ["price"] = 500, ["name"] = "Coffee Table 1" }, [2] = { ["object"] = "v_res_d_roundtable", ["price"] = 500, ["name"] = "Round Table" }, [3] = { ["object"] = "v_res_d_smallsidetable", ["price"] = 500, ["name"] = "Small Side Table" }, [4] = { ["object"] = "v_res_fh_coftablea", ["price"] = 500, ["name"] = "Table A" }, [5] = { ["object"] = "v_res_fh_coftableb", ["price"] = 500, ["name"] = "Table B" }, [6] = { ["object"] = "v_res_fh_coftbldisp", ["price"] = 500, ["name"] = "Table C" }, [7] = { ["object"] = "v_res_fh_diningtable", ["price"] = 500, ["name"] = "Dining Table" }, [8] = { ["object"] = "v_res_j_coffeetable", ["price"] = 500, ["name"] = "Coffee Table 2" }, [9] = { ["object"] = "v_res_j_lowtable", ["price"] = 500, ["name"] = "Low Table" }, [10] = { ["object"] = "v_res_mdbedtable", ["price"] = 500, ["name"] = "Bed Table" }, [11] = { ["object"] = "v_res_mddesk", ["price"] = 500, ["name"] = "Desk" }, [12] = { ["object"] = "v_res_msidetblemod", ["price"] = 500, ["name"] = "Side Table" }, [13] = { ["object"] = "v_res_m_console", ["price"] = 500, ["name"] = "Console Table" }, [14] = { ["object"] = "v_res_m_dinetble_replace", ["price"] = 500, ["name"] = "Dining Table 2" }, [15] = { ["object"] = "v_res_m_h_console", ["price"] = 500, ["name"] = "Console H Table" }, [16] = { ["object"] = "v_res_m_stool", ["price"] = 500, ["name"] = "Stool?" }, [17] = { ["object"] = "v_res_tre_sideboard", ["price"] = 500, ["name"] = "Sideboard Table" }, [18] = { ["object"] = "v_res_tre_table2", ["price"] = 500, ["name"] = "Table 2" }, [19] = { ["object"] = "v_res_tre_tvstand", ["price"] = 500, ["name"] = "Tv Table" }, [20] = { ["object"] = "v_res_tre_tvstand_tall", ["price"] = 500, ["name"] = "Tv Table Tall" }, [21] = { ["object"] = "v_med_p_coffeetable", ["price"] = 500, ["name"] = "Med Coffee Table" }, [22] = { ["object"] = "v_med_p_desk", ["price"] = 500, ["name"] = "Med Desk" }, [23] = { ["object"] = "prop_yacht_table_01", ["price"] = 100, ["name"] = "Yacht Table 1" }, [24] = { ["object"] = "prop_yacht_table_02", ["price"] = 100, ["name"] = "Yacht Table 2" }, [25] = { ["object"] = "prop_yacht_table_03", ["price"] = 100, ["name"] = "Yacht Table 3" }, [26] = { ["object"] = "v_ret_csr_table", ["price"] = 100, ["name"] = "CSR Table" }, } plants = { [1] = { ["object"] = "prop_fib_plant_01", ["price"] = 150, ["name"] = "Plant Fib" }, [2] = { ["object"] = "v_corp_bombplant", ["price"] = 170, ["name"] = "Plant Bomb" }, [3] = { ["object"] = "v_res_mflowers", ["price"] = 170, ["name"] = "Plant Flowers" }, [4] = { ["object"] = "v_res_mvasechinese", ["price"] = 170, ["name"] = "Plant Chinese" }, [5] = { ["object"] = "v_res_m_bananaplant", ["price"] = 170, ["name"] = "Plant Banana" }, [6] = { ["object"] = "v_res_m_palmplant1", ["price"] = 170, ["name"] = "Plant Palm" }, [7] = { ["object"] = "v_res_m_palmstairs", ["price"] = 170, ["name"] = "Plant Palm 2" }, [8] = { ["object"] = "v_res_m_urn", ["price"] = 170, ["name"] = "Plant Urn" }, [9] = { ["object"] = "v_res_rubberplant", ["price"] = 170, ["name"] = "Plant Rubber" }, [10] = { ["object"] = "v_res_tre_plant", ["price"] = 170, ["name"] = "Plant" }, [11] = { ["object"] = "v_res_tre_tree", ["price"] = 170, ["name"] = "Plant Tree" }, [12] = { ["object"] = "v_med_p_planter", ["price"] = 170, ["name"] = "Planter" }, [13] = { ["object"] = "v_ret_flowers", ["price"] = 100, ["name"] = "Flowers" }, [14] = { ["object"] = "v_ret_j_flowerdisp", ["price"] = 100, ["name"] = "Flowers 1" }, [15] = { ["object"] = "v_ret_j_flowerdisp_white", ["price"] = 100, ["name"] = "Flowers 2" }, } kitchen = { [1] = { ["object"] = "prop_washer_01", ["price"] = 150, ["name"] = "Washer 1" }, [2] = { ["object"] = "prop_washer_02", ["price"] = 150, ["name"] = "Washer 2" }, [3] = { ["object"] = "prop_washer_03", ["price"] = 150, ["name"] = "Washer 3" }, [4] = { ["object"] = "prop_washing_basket_01", ["price"] = 150, ["name"] = "Washing Basket" }, [5] = { ["object"] = "v_res_fridgemoda", ["price"] = 150, ["name"] = "Fridge 1" }, [6] = { ["object"] = "v_res_fridgemodsml", ["price"] = 150, ["name"] = "Fridge 2" }, [7] = { ["object"] = "prop_fridge_01", ["price"] = 150, ["name"] = "Fridge 3" }, [8] = { ["object"] = "prop_fridge_03", ["price"] = 150, ["name"] = "Fridge 4" }, [9] = { ["object"] = "prop_cooker_03", ["price"] = 150, ["name"] = "Cooker" }, [10] = { ["object"] = "prop_micro_01", ["price"] = 150, ["name"] = "Microwave 1" }, [11] = { ["object"] = "prop_micro_02", ["price"] = 150, ["name"] = "Microwave 2" }, [12] = { ["object"] = "prop_wok", ["price"] = 150, ["name"] = "Wok" }, [13] = { ["object"] = "v_res_cakedome", ["price"] = 150, ["name"] = "Cake Plate" }, [14] = { ["object"] = "v_res_fa_chopbrd", ["price"] = 150, ["name"] = "Chopping Board" }, [15] = { ["object"] = "v_res_mutensils", ["price"] = 150, ["name"] = "Utensils" }, [16] = { ["object"] = "v_res_pestle", ["price"] = 150, ["name"] = "Pestle" }, [17] = { ["object"] = "v_ret_ta_paproll", ["price"] = 150, ["name"] = "PaperRoll 1" }, [18] = { ["object"] = "v_ret_ta_paproll2", ["price"] = 150, ["name"] = "PaperRoll 2" }, [19] = { ["object"] = "v_ret_fh_pot01", ["price"] = 150, ["name"] = "Pot 1" }, [20] = { ["object"] = "v_ret_fh_pot02", ["price"] = 150, ["name"] = "Pot 2" }, [21] = { ["object"] = "v_ret_fh_pot05", ["price"] = 150, ["name"] = "Pot 3" }, [22] = { ["object"] = "prop_pot_03", ["price"] = 150, ["name"] = "Pot 4" }, [23] = { ["object"] = "prop_pot_04", ["price"] = 150, ["name"] = "Pot 5" }, [24] = { ["object"] = "prop_pot_05", ["price"] = 150, ["name"] = "Pot 6" }, [25] = { ["object"] = "prop_pot_06", ["price"] = 150, ["name"] = "Pot 7" }, [26] = { ["object"] = "prop_pot_rack", ["price"] = 150, ["name"] = "Pot Rack" }, [27] = { ["object"] = "prop_kitch_juicer", ["price"] = 150, ["name"] = "Juicer" }, } bathroom = { [1] = { ["object"] = "prop_ld_toilet_01", ["price"] = 100, ["name"] = "Toilet 1" }, [2] = { ["object"] = "prop_toilet_01", ["price"] = 100, ["name"] = "Toilet 2" }, [3] = { ["object"] = "prop_toilet_02", ["price"] = 100, ["name"] = "Toilet 3" }, [4] = { ["object"] = "prop_sink_02", ["price"] = 100, ["name"] = "Sink 1" }, [5] = { ["object"] = "prop_sink_04", ["price"] = 100, ["name"] = "Sink 2" }, [6] = { ["object"] = "prop_sink_05", ["price"] = 100, ["name"] = "Sink 3" }, [7] = { ["object"] = "prop_sink_06", ["price"] = 100, ["name"] = "Sink 4" }, [8] = { ["object"] = "prop_soap_disp_01", ["price"] = 100, ["name"] = "Soap Dispenser" }, [9] = { ["object"] = "prop_shower_rack_01", ["price"] = 100, ["name"] = "Shower Rack" }, [10] = { ["object"] = "prop_handdry_01", ["price"] = 100, ["name"] = "Hand Dryer 1" }, [11] = { ["object"] = "prop_handdry_02", ["price"] = 100, ["name"] = "Hand Dryer 2" }, [12] = { ["object"] = "prop_towel_rail_01", ["price"] = 100, ["name"] = "Towel Rail 1" }, [13] = { ["object"] = "prop_towel_rail_02", ["price"] = 100, ["name"] = "Towel Rail 2" }, [14] = { ["object"] = "prop_towel_01", ["price"] = 100, ["name"] = "Towel 1" }, [15] = { ["object"] = "v_res_mbtowel", ["price"] = 100, ["name"] = "Towel 2" }, [16] = { ["object"] = "v_res_mbtowelfld", ["price"] = 100, ["name"] = "Towel 3" }, [17] = { ["object"] = "v_res_mbath", ["price"] = 100, ["name"] = "Bath" }, [18] = { ["object"] = "v_res_mbsink", ["price"] = 100, ["name"] = "Sink" }, } medical = { [1] = { ["object"] = "v_med_barrel", ["price"] = 750, ["name"] = "Barrel" }, [2] = { ["object"] = "v_med_apecrate", ["price"] = 750, ["name"] = "Ape Crate" }, [3] = { ["object"] = "v_med_apecratelrg", ["price"] = 750, ["name"] = "Ape Crate Large" }, [4] = { ["object"] = "v_med_bed1", ["price"] = 750, ["name"] = "Bed 1" }, [5] = { ["object"] = "v_med_bed2", ["price"] = 750, ["name"] = "Bed 2" }, [6] = { ["object"] = "v_med_bedtable", ["price"] = 750, ["name"] = "Bed Table" }, [7] = { ["object"] = "v_med_bench1", ["price"] = 750, ["name"] = "Bench 1" }, [8] = { ["object"] = "v_med_bench2", ["price"] = 750, ["name"] = "Bench 2" }, [9] = { ["object"] = "v_med_benchcentr", ["price"] = 750, ["name"] = "Bench Center" }, [10] = { ["object"] = "v_med_benchset1", ["price"] = 750, ["name"] = "Bench Set" }, [11] = { ["object"] = "v_med_bigtable", ["price"] = 750, ["name"] = "Big Table" }, [12] = { ["object"] = "v_med_bin", ["price"] = 150, ["name"] = "Bin" }, [13] = { ["object"] = "v_med_centrifuge1", ["price"] = 750, ["name"] = "Centrifuge" }, [14] = { ["object"] = "v_med_cooler", ["price"] = 750, ["name"] = "Cooler" }, [15] = { ["object"] = "v_med_cor_ceilingmonitor", ["price"] = 750, ["name"] = "Monitor" }, [16] = { ["object"] = "v_med_cor_autopsytbl", ["price"] = 750, ["name"] = "Autopsy Table" }, [17] = { ["object"] = "v_med_cor_cembin", ["price"] = 750, ["name"] = "Bin" }, [18] = { ["object"] = "v_med_cor_cemtrolly2", ["price"] = 750, ["name"] = "Trolley" }, [19] = { ["object"] = "v_med_cor_chemical", ["price"] = 750, ["name"] = "Chem" }, [20] = { ["object"] = "v_med_cor_emblmtable", ["price"] = 750, ["name"] = "BLM Table" }, [21] = { ["object"] = "v_med_cor_fileboxa", ["price"] = 750, ["name"] = "File Box" }, [22] = { ["object"] = "v_med_cor_filingcab", ["price"] = 750, ["name"] = "File Cab" }, [23] = { ["object"] = "v_med_cor_hose", ["price"] = 750, ["name"] = "Hose" }, [24] = { ["object"] = "v_med_cor_largecupboard", ["price"] = 750, ["name"] = "Large Cupboard" }, [25] = { ["object"] = "v_med_cor_lightbox", ["price"] = 750, ["name"] = "Lightbox" }, [26] = { ["object"] = "v_med_cor_medstool", ["price"] = 750, ["name"] = "Medstool" }, [27] = { ["object"] = "v_med_cor_minifridge", ["price"] = 750, ["name"] = "Minifridge" }, [28] = { ["object"] = "v_med_cor_papertowels", ["price"] = 750, ["name"] = "Papertowels" }, [29] = { ["object"] = "v_med_cor_photocopy", ["price"] = 750, ["name"] = "Photocopy" }, [30] = { ["object"] = "v_med_cor_tvstand", ["price"] = 750, ["name"] = "TV Stand" }, [31] = { ["object"] = "v_med_cor_wallunita", ["price"] = 750, ["name"] = "Wall Unit" }, [32] = { ["object"] = "v_med_examlight", ["price"] = 750, ["name"] = "Exam light" }, [33] = { ["object"] = "v_med_gastank", ["price"] = 750, ["name"] = "Gas Tank" }, [34] = { ["object"] = "v_med_hazmatscan", ["price"] = 750, ["name"] = "Hazmat Scan" }, [35] = { ["object"] = "v_med_hospheadwall1", ["price"] = 750, ["name"] = "Head Wall" }, [36] = { ["object"] = "v_med_hospseating1", ["price"] = 750, ["name"] = "Seating" }, [37] = { ["object"] = "v_med_hosptable", ["price"] = 750, ["name"] = "Hosp Table" }, [38] = { ["object"] = "v_med_latexgloveboxblue", ["price"] = 50, ["name"] = "Glove Box" }, [39] = { ["object"] = "v_med_medwastebin", ["price"] = 750, ["name"] = "Wastebin" }, [40] = { ["object"] = "v_med_oscillator3", ["price"] = 750, ["name"] = "Oscillator" }, [41] = { ["object"] = "prop_ld_health_pack", ["price"] = 100, ["name"] = "Health Pack" }, }
----------------------------------- -- Area: Buburimu Peninsula -- NPC: Song Runes -- Finishes Quest: The Old Monument -- !pos -244 16 -280 118 ----------------------------------- require("scripts/globals/settings") require("scripts/globals/titles") require("scripts/globals/quests") local ID = require("scripts/zones/Buburimu_Peninsula/IDs") ----------------------------------- local PARCHMENT = 917 local POETIC_PARCHMENT = 634 function onTrade(player, npc, trade) -- THE OLD MONUMENT (parchment) if player:getCharVar("TheOldMonument_Event") == 3 and trade:hasItemQty(PARCHMENT, 1) and trade:getItemCount() == 1 then player:startEvent(2) end end function onTrigger(player, npc) -- THE OLD MONUMENT if player:getCharVar("TheOldMonument_Event") == 2 then player:startEvent(0) elseif player:getCharVar("TheOldMonument_Event") == 3 then player:messageSpecial(ID.text.SONG_RUNES_REQUIRE, 917) -- DEFAULT DIALOG else player:messageSpecial(ID.text.SONG_RUNES_DEFAULT) end end function onEventUpdate(player, csid, option) end function onEventFinish(player, csid, option) if csid == 0 then player:setCharVar("TheOldMonument_Event", 3) elseif csid == 2 then player:tradeComplete() player:messageSpecial(ID.text.SONG_RUNES_WRITING, 917) player:addItem(POETIC_PARCHMENT, 1) player:messageSpecial(ID.text.ITEM_OBTAINED, POETIC_PARCHMENT) player:completeQuest(JEUNO, tpz.quest.id.jeuno.THE_OLD_MONUMENT) player:addTitle(tpz.title.RESEARCHER_OF_CLASSICS) player:addFame(BASTOK, 10) player:addFame(SANDORIA, 10) player:addFame(WINDURST, 10) end end
--[[---------------------------------------------------------------------------- Application Name: EdgeMatcherSingle Summary: Teaching the shape of a "golden" part and matching an identical object with full rotation in the full image. How to Run: Starting this sample is possible either by running the app (F5) or debugging (F7+F10). Setting breakpoint on the first row inside the 'main' function allows debugging step-by-step after 'Engine.OnStarted' event. Results can be seen in the image viewer on the DevicePage. Restarting the Sample may be necessary to show images after loading the webpage. To run this Sample a device with SICK Algorithm API and AppEngine >= V2.5.0 is required. For example SIM4000 with latest firmware. Alternatively the Emulator in AppStudio 2.3 or higher can be used. More Information: Tutorial "Algorithms - Matching". ------------------------------------------------------------------------------]] --Start of Global Scope--------------------------------------------------------- print('AppEngine Version: ' .. Engine.getVersion()) local DELAY = 1000 -- ms between visualization steps for demonstration purpose -- Creating viewer local viewer = View.create() -- Setting up graphical overlay attributes local textDeco = View.TextDecoration.create() textDeco:setSize(30) textDeco:setPosition(20, 30) local decoration = View.ShapeDecoration.create() decoration:setPointSize(5) decoration:setLineColor(0, 0, 230) -- Blue color scheme for "Teach" mode decoration:setPointType('DOT') -- Creating edge matcher local matcher = Image.Matching.EdgeMatcher.create() matcher:setEdgeThreshold(20) matcher:setDownsampleFactor(2) --End of Global Scope----------------------------------------------------------- --Start of Function and Event Scope--------------------------------------------- --@teach(img:Image) local function teach(img) viewer:clear() local imageID = viewer:addImage(img) -- Adding "Teach" text overlay viewer:addText('Teach', textDeco, nil, imageID) -- Defining teach region local teachRectCenter = Point.create(313, 242) local teachRect = Shape.createRectangle(teachRectCenter, 440, 370, 0) viewer:addShape(teachRect, decoration, nil, imageID) local teachRegion = teachRect:toPixelRegion(img) -- Teaching local teachPose = matcher:teach(img, teachRegion) -- Viewing model points overlayed over teach image local modelPoints = matcher:getEdgePoints() -- Model points in model's local coord syst local teachPoints = Point.transform(modelPoints, teachPose) for _, point in ipairs(teachPoints) do viewer:addShape(point, decoration, nil, imageID) end viewer:present() Script.sleep(DELAY) end --@match(img:Image, i:int) local function match(img, i) viewer:clear() local imageID = viewer:addImage(img) -- Changing color scheme to green for "Match" mode decoration:setLineColor(0, 210, 0) decoration:setLineWidth(4) -- Add "Match #" text overlay viewer:addText('Match ' .. i, textDeco, nil, imageID) -- Matching local poses, _ = matcher:match(img) -- Viewing model points as overlay local contours = Shape.transform(matcher:getModelContours(), poses[1]) for _, contour in ipairs(contours) do viewer:addShape(contour, decoration, nil, imageID) end viewer:present() Script.sleep(DELAY * 2) end local function main() -- Loading Teach image from resources and calling teach() function local teachImage = Image.load('resources/Teach.bmp') teach(teachImage) Script.sleep(DELAY) -- Loading images from resource folder and calling match() function for i = 1, 5 do local liveImage = Image.load('resources/' .. i .. '.bmp') match(liveImage, i) end print('App finished.') end --The following registration is part of the global scope which runs once after startup --Registration of the 'main' function to the 'Engine.OnStarted' event Script.register('Engine.OnStarted', main) --End of Function and Event Scope--------------------------------------------------
local LSM = LibStub("LibSharedMedia-3.0") if LSM == nil then return end LSM:Register('font',"Century Gothic Bold", [[Interface\AddOns\ElvUI_KlixUI\media\fonts\CenturyGothicB.ttf]]) LSM:Register('font',"Days", [[Interface\AddOns\ElvUI_KlixUI\media\fonts\Days.ttf]]) LSM:Register('font',"Expressway", [[Interface\AddOns\ElvUI_KlixUI\media\fonts\Expressway.ttf]]) LSM:Register('statusbar',"Klix", [[Interface\AddOns\ElvUI_KlixUI\media\textures\Klix.tga]]) LSM:Register('statusbar',"Klix1", [[Interface\AddOns\ElvUI_KlixUI\media\textures\Klix1.tga]]) LSM:Register('statusbar',"Klix2", [[Interface\AddOns\ElvUI_KlixUI\media\textures\Klix2.tga]]) LSM:Register('statusbar',"Klix3", [[Interface\AddOns\ElvUI_KlixUI\media\textures\Klix3.tga]]) LSM:Register('statusbar',"KlixGradient", [[Interface\AddOns\ElvUI_KlixUI\media\textures\gradient.tga]]) LSM:Register('statusbar',"KlixOnePixel", [[Interface\AddOns\ElvUI_KlixUI\media\textures\KlixOnePixel.tga]]) LSM:Register('statusbar',"Empty", [[Interface\AddOns\ElvUI_KlixUI\media\textures\Empty.tga]]) LSM:Register("statusbar","KlixBlank", [[Interface\BUTTONS\WHITE8X8.blp]])
local Constants = require "utils.constants" function love.conf(t) t.window.width = Constants.SCREEN_WIDTH t.window.height = Constants.SCREEN_HEIGHT -- t.window.fullscreen = true end
local fsutil = require "fsutil" local function find_exe() local i = 0 while arg[i] ~= nil do i = i - 1 end return i + 1 end local function update_arg() for i = 1, #arg do if arg[i] == "-e" then table.remove(arg, i) table.remove(arg, i) break end end if arg[2] == nil then error "Not found lua file." end arg[0] = arg[2] table.remove(arg, 1) table.remove(arg, 1) local idx = find_exe() arg[idx] = fsutil.quotearg(arg[idx]) .. " lua" end update_arg() local globals = require "globals" local sandbox = require "sandbox" if globals.os == "windows" then local luadll = package.procdir.."/tools/lua54.dll" local ok, err = package.loadlib(luadll, "*") if not ok then --error(("could not be found: %s\n\t%s"):format(luadll, err)) end end sandbox { rootdir = WORKDIR:string(), builddir = globals.builddir, preload = globals.compiler == 'msvc' and { msvc = require "msvc", }, main = arg[0], args = arg, }
local api = { abtesting = {}, accountinformation = {}, accountsettings = {}, adconfiguration = {}, ads = {}, api = {}, assetdelivery = {}, auth = {}, avatar = {}, badges = {}, billing = {}, catalog = {}, cdnproviders = {}, chat = {}, clientsettings = {}, clientsettingscdn = {}, contentstore = {}, contacts = {}, develop = {}, discussions = {}, economy = {}, economycreatorstats = {}, engagementpayouts = {}, followings = {}, friends = {}, gameinternationalization = {}, gamejoin = {}, gamepersistance = {}, games = {}, groups = {}, groupsmoderation = {}, inventory = {}, itemconfiguration = {}, locale = {}, localizationtables = {}, metrics = {}, midas = {}, notifications = {}, points = {}, premiumfeatures = {}, presence = {}, privatemessages = {}, publish = {}, share = {}, textfilter = {}, thumbnails = {}, thumbnailsresizer = {}, trades = {}, translationroles = {}, translations = {}, twostepverification = {}, users = {}, voice = {}, search = {}, places = {}, universes = {}, profile = {} } return api
local colors = require'lualog.colors' local Colorizer = {} Colorizer.__index = Colorizer Colorizer.__call = function(cls,...) return cls.new(...) end local ustring = function(value) return '\u{001b}['..value..'m' end function Colorizer.new(options) -- options = options or {} local c = {} -- c.level = options.level or 1 -- c.enabled = options.enabled or c.level > 0 for color,value in pairs(colors) do if(color ~= 'reset') then c[color] = function (s) io.write(ustring(value)..s..ustring(colors.reset)) return c end end end c.ustr = function(style, str) local styles = {} for s in string.gmatch(style, "[^%.]+") do table.insert(styles, s) end local style = '' for _, sty in ipairs(styles) do if(colors[sty])then style = style..ustring(colors[sty]) end end return style..str..ustring(colors.reset) end c.codes = colors return setmetatable(c,Colorizer) end return Colorizer.new()
local PLUGIN = PLUGIN; -- Called when the local player's crafting is rebuilt. function PLUGIN:PlayerCraftingRebuilt(panel, categories) local craftingName = Clockwork.option:GetKey("name_crafting", true); if (!self.craftingPanel) then self.craftingPanel = panel; end; if (Clockwork.config:Get("craftingMenu"):Get()) then local craftingMenu = {}; if (table.Count(craftingMenu) > 0) then local panelList = vgui.Create("DPanelList", panel); panel.craftingMenuForm = vgui.Create("DForm"); panel.craftingMenuForm:SetName("Crafting menu"); panel.craftingMenuForm:SetPadding(4); panelList:SetAutoSize(true); panelList:SetPadding(4); panelList:SetSpacing(4); panel.craftingMenuForm:AddItem(panelList); panel.panelList:AddItem(panel.craftingMenuForm); end; end; end;
require("prototypes.category") require("prototypes.items") require("prototypes.weapons") require("prototypes.meat-bots") require("prototypes.boilers") require("prototypes.tiles") require("prototypes.recipes") require("prototypes.technology")
function PoisonFly.main() end function PoisonFly.LaunchDamageSound(_ARG_0_) end
-- -- from src/eulerian.c -- -- Eulerian to eulerianNumber -- local function eulerianNumber(n, k) if k == 0 then return 1 end if k < 0 or k >= n then return 0 end return (k+1) * eulerianNumber(n-1,k) + (n-k) * eulerianNumber(n-1,k-1) end return { eulerianNumber = eulerianNumber }
Bomb = Class{ function(self, position) self.health = 100 self:reset() self.position = position self.image = love.graphics.newImage('art/bomb.png') --percentage bar for bomb self.difuseImg = love.graphics.newImage('art/difuse.png') self.numbers= {} self.numbers.img = love.graphics.newImage('art/numbers.png') self.numbers.grid = Anim8.newGrid(4, 6, self.numbers.img:getWidth(), self.numbers.img:getHeight()) for i=1,11,1 do self.numbers[i] = Anim8.newAnimation( self.numbers.grid:getFrames(i,1), 1, 'pauseAtEnd') end self.bar = {} self.bar.img = love.graphics.newImage('art/bombBar.png') self.bar.grid = Anim8.newGrid(1, 3, self.bar.img:getWidth(), self.bar.img:getHeight()) self.bar.filled = Anim8.newAnimation( self.bar.grid:getFrames(1,1), 1, 'pauseAtEnd') self.bar.empty = Anim8.newAnimation( self.bar.grid:getFrames(2,1), 1, 'pauseAtEnd') self.width = self.image:getWidth() self.height = self.image:getHeight() self.body = love.physics.newBody(world, -- self.position.x, self.position.y) (self.position.x + (self.width / 2)), (self.position.y + (self.height / 2))); self.shape = love.physics.newRectangleShape( self.width, self.height ) self.fixture = love.physics.newFixture( self.body, self.shape) self.fixture:setCategory(BOMB) self.fixture:setMask(PLAYER) self.fixture:setUserData(self) particleImage = love.graphics.newImage( "art/dustParticle.png" ) self.fxEmitter = love.graphics.newParticleSystem( particleImage, 500 ) self.fxEmitter:setEmissionRate(800) self.fxEmitter:setEmitterLifetime(0.05) self.fxEmitter:setParticleLifetime(0.075) self.fxEmitter:setDirection(0) self.fxEmitter:setSpread(2*3.14) self.fxEmitter:setSizes(0.05, 1.25) self.fxEmitter:setLinearAcceleration(0,9) self.fxEmitter:setSpeed(300,500) end } function Bomb:draw() love.graphics.draw(self.image, self.position.x, self.position.y) --love.graphics.polygon("fill", self.body:getWorldPoints(self.shape:getPoints())) love.graphics.draw(self.difuseImg, self.position.x, self.position.y-5) self:drawNumber(tens, Vector(self.position.x+43, self.position.y+12)) self:drawNumber(ones, Vector(self.position.x+47, self.position.y+12)) remainHealth = math.floor(100-self.health) for i=1,50,1 do if (i <= remainHealth/2) then self.bar.filled:draw(self.bar.img, self.position.x+(7+i), self.position.y+8) else self.bar.empty:draw(self.bar.img, self.position.x+(7+i), self.position.y+8) end end end function Bomb:drawNumber(num, position) if (num == 1) then self.numbers[1]:draw(self.numbers.img, position.x, position.y) elseif (num == 2) then self.numbers[2]:draw(self.numbers.img, position.x, position.y) elseif (num == 3) then self.numbers[3]:draw(self.numbers.img, position.x, position.y) elseif (num == 4) then self.numbers[4]:draw(self.numbers.img, position.x, position.y) elseif (num == 5) then self.numbers[5]:draw(self.numbers.img, position.x, position.y) elseif (num == 6) then self.numbers[6]:draw(self.numbers.img, position.x, position.y) elseif (num == 7) then self.numbers[7]:draw(self.numbers.img, position.x, position.y) elseif (num == 8) then self.numbers[8]:draw(self.numbers.img, position.x, position.y) elseif (num == 9) then self.numbers[9]:draw(self.numbers.img, position.x, position.y) elseif (num == 0) then self.numbers[10]:draw(self.numbers.img, position.x, position.y) elseif (num == 10) then self.numbers[10]:draw(self.numbers.img, position.x, position.y) self.numbers[1]:draw(self.numbers.img, position.x-4, position.y) else self.numbers[11]:draw(self.numbers.img, position.x, position.y) end end function Bomb:reset() self.health = 100 tens = -1 ones = 0 if self.fixture then self.fixture:destroy() end end function Bomb:update(dt) self.fxEmitter:update(dt) end function Bomb:defuse(rate) if self.health > 0 then self.health = self.health - 1.5*rate tens = math.floor((100-self.health)/10) if tens == 0 then tens = -1 end ones = math.floor((100 - self.health)%10) end end function Bomb:infuse(rate) if not rate then rate = 2 end if self.health < 100 then self.health = self.health + 0.5*rate tens = math.floor((100-self.health)/10) ones =math.floor((100 - self.health)%10) end end function Bomb:impactEffect(coll) local posx, posy, posa,posb posx, posy, posa, posb = coll:getPositions() --print("Bullet struck at "..posx..","..posy) self.fxEmitter:setPosition(posx + 3, posy + 3) self.fxEmitter:start() end
NL.CommModeWhisper = "WHISPER" NL.CommTarget = UnitName("player") NL.CommModeRaid = "RAID"; NL.CommAction = {} NL.CommAction.SSonCD = "SSonCD" NL.CommAction.BroadcastTable = "DataRefresh" NL.CommAction.RequestAssignments = "GetAssignmentData" NL.CommAction.AssigmentResponse = "AssignmentResponse" NL.CommAction.AssignmentReset = "AssignmentReset" function NL.CreateMessageFromTable(action, data, dataAge) --print("Creating outbound message.") local message = {} message.action = action message.data = data message.dataAge = dataAge message.author = UnitName("player") message.addonVersion = NL.Version local strMessage = table.serialize(message) --print("Message created successfully") return strMessage end function NL.RegisterForComms() NeverLocky:RegisterComm("NeverLockyComms") end --Message router where reveived messages land. function NeverLocky:OnCommReceived(prefix, message, distribution, sender) if NL.DebugMode then print("Message Was Recieved by the Router"); end local message = table.deserialize(message) local lockyversionstub = NL.GetLockyDataByName(message.author) if lockyversionstub ~=nil then lockyversionstub.AddonVersion = message.addonVersion end if message.addonVersion > NL.Version then NL.IsMyAddonOutOfDate = true; NeverLockyFrame.WarningTextFrame:Show(); NLCommit_Button:Disable(); end -- process the incoming message if message.action == NL.CommAction.SSonCD then if NL.DebugMode then print("SS on CD: ", message.data.Name, message.data.SSCooldown, message.data.SSonCD, message.dataAge) end local SendingWarlock = NL.GetLockyDataByName(message.author) if(SendingWarlock ~= nil) then if NL.DebugMode then print("Updating SS data for", message.author); end SendingWarlock.LocalTime = message.dataAge SendingWarlock.MyTime = GetTime() SendingWarlock.SSonCD = "true"; SendingWarlock.SSCooldown = message.data.SSCooldown end --UpdateLockySSCDByName(message.data.Name, message.data.SSCooldown) elseif message.action == NL.CommAction.BroadcastTable then local myData = NL.GetMyLockyData() if (myData~=nil)then for lockyindex, lockydata in pairs(message.data) do if lockydata.Name == UnitName("player") then if NL.IsMyDataDirty(lockydata) or NL.DebugMode then NL.SetLockyCheckFrameAssignments(lockydata.CurseAssignment, lockydata.BanishAssignment, lockydata.SSAssignment) else --print("updating curse macro.") LockyAssignCheckFrame.activeCurse = lockydata.CurseAssignment; NL.SetupAssignmentMacro(LockyAssignCheckFrame.activeCurse); NL.SendAssignmentAcknowledgement("true"); end end end end if NL.RaidMode then if NL.DebugMode then print("Received message from", message.author); end if message.author == NL.CommTarget then return; end end if NL.DebugMode then print("Recieved a broadcast message from", message.author) end if(NL.IsUIDirty(message.data)) then for k, v in pairs(message.data)do if NL.DebugMode then for lk, lv in pairs(v) do print(lk, lv) end end end local myData = NL.GetMyLockyData() if (myData~=nil)then for lockyindex, lockydata in pairs(message.data) do if lockydata.Name == UnitName("player") then if NL.IsMyDataDirty(lockydata) or NL.DebugMode then NL.SetLockyCheckFrameAssignments(lockydata.CurseAssignment, lockydata.BanishAssignment, lockydata.SSAssignment) else print("updating curse macro.") LockyAssignCheckFrame.activeCurse = lockydata.CurseAssignment; NL.SetupAssignmentMacro(LockyAssignCheckFrame.activeCurse); NL.SendAssignmentAcknowledgement("true"); end end end end --LockyFriendsData = message.data NL.MergeAssignments(message.data); NL.LockyFriendsData = NL.UpdateWarlocks(NL.LockyFriendsData); NL.UpdateAllLockyFriendFrames() if NL.DebugMode then print("UI has been refreshed by request of broadcast message.") end end if myData.CurseAssignment == "None" and myData.BanishAssignment == "None" and myData.SSAssignment == "None" then LockyPersonalMonitorFrame:Hide(); else LockyPersonalMonitorFrame:Show(); end elseif message.action == NL.CommAction.RequestAssignments then if NL.RaidMode then if NL.DebugMode then print("Received Assignment Request message from", message.author); end local myself = NL.GetMyLockyData() if myself ~= nil then NL.BroadcastSSCooldown(myself) end if message.author == NL.CommTarget then if NL.DebugMode then print("Message was from self, doing nothing."); end return; end end if NL.DebugMode then print("Assignment request recieved, sending out assignments.") end NL.BroadcastTable(NL.LockyFriendsData) elseif message.action == NL.CommAction.AssigmentResponse then -- When we recieve an assigment response we should stuff with that. if NL.DebugMode then print("Recieved an Ack message from", message.author); end local SendingWarlock = NL.GetLockyDataByName(message.author) if SendingWarlock~=nil then SendingWarlock.AcceptedAssignments = message.data.acknowledged NL.UpdateLockyFrame(SendingWarlock, NL.GetLockyFriendFrameById(SendingWarlock.LockyFrameLocation)) end elseif message.action == NL.CommAction.AssignmentReset then if NL.DebugMode then print("Recieved assignment reset from", message.author) end NL.ResetAssignmentAcks(NL.LockyFriendsData); else if NL.DebugMode then print("The following message was recieved: ",sender, prefix, message) end end end --Takes in a table and sends the serialized verion across the wire. function NL.BroadcastTable(LockyTable) if(NL.IsMyAddonOutOfDate)then return; end --stringify the locky table if NL.DebugMode then print("Sending out the assignment table") end local serializedTable = NL.CreateMessageFromTable(NL.CommAction.BroadcastTable, LockyTable, LockyData_Timestamp) if NL.RaidMode then NeverLocky:SendCommMessage("NeverLockyComms", serializedTable, NL.CommModeRaid) else NeverLocky:SendCommMessage("NeverLockyComms", serializedTable, NL.CommModeWhisper, NL.CommTarget) end --NeverLocky:SendCommMessage("NeverLockyComms", serializedTable, "WHISPER", "Brylack") end function NL.BroadcastSSCooldown(myself) NL.ForceUpdateSSCD(); local serializedTable = NL.CreateMessageFromTable(NL.CommAction.SSonCD, myself, GetTime()) if NL.RaidMode then NeverLocky:SendCommMessage("NeverLockyComms", serializedTable, NL.CommModeRaid) else NeverLocky:SendCommMessage("NeverLockyComms", serializedTable, NL.CommModeWhisper, NL.CommTarget) end end function NL.RequestAssignments() if NL.DebugMode then print("Requesting Updated Assignment Table") end local message = NL.CreateMessageFromTable(NL.CommAction.RequestAssignments, {},GetTime() ) if NL.RaidMode then NeverLocky:SendCommMessage("NeverLockyComms", message, NL.CommModeRaid) else NeverLocky:SendCommMessage("NeverLockyComms", message, NL.CommModeWhisper, NL.CommTarget) end end function NL.SendAssignmentAcknowledgement(answer) if NL.DebugMode then print("Sending assignment acknowledgement:", answer) end if answer == "true"then NL.UpdatePersonalMonitorFrame() end local message = NL.CreateMessageFromTable(NL.CommAction.AssigmentResponse, {acknowledged = answer}, GetTime()); if NL.RaidMode then NeverLocky:SendCommMessage("NeverLockyComms", message, NL.CommModeRaid) else NeverLocky:SendCommMessage("NeverLockyComms", message, NL.CommModeWhisper, NL.CommTarget) end end function NL.SendAssignmentReset() if NL.DebugMode then print("Sending assignment reset command") end local message = NL.CreateMessageFromTable(NL.CommAction.AssignmentReset, {}, GetTime()); if NL.RaidMode then NeverLocky:SendCommMessage("NeverLockyComms", message, NL.CommModeRaid) else NeverLocky:SendCommMessage("NeverLockyComms", message, NL.CommModeWhisper, NL.CommTarget) end end function NL.CheckInstallVersion() end
-- Console will output last character in each line (when training). -- Also check https://www.atitd.org/wiki/tale6/User:Skyfeather/VT_OCR for more info on OCR dofile("common.inc"); dofile("settings.inc"); offsetX = 102; offsetY = 72; function doit() askForWindow("Train OCR\n\nType a single letter/number in main chat.\n\nUse offsetX/Y to get the white box to surround this letter/number. Tip: You can also resize Main Chat to move into the white box. Top&Left of white box should border the letter/number. \n\nThen check Train button to show the code (in Console).\n\nThis macro is looking for your main chat window and the last letter/number you typed...\n\nOnce you find the values in Console, copy that to automato/games/ATITD9//data/charTemplate.txt file."); while true do findStuff(); end end function findStuff() checkBreak(); local y = 0; local scale = 0.9; srReadScreen(); --local regions = findAllTextRegions(); local regions = findChatRegionReplacement(); local chatBox = makeBox(regions[0],regions[1], lsScreenX, lsScreenY); --sleepWithStatus(5000, regions[0] .. ", " .. regions[1] .. ", " .. regions[2] .. ", " .. regions[3]); --srStripRegion(chatbox); lsPrint(10, lsScreenY - 160, z, scale, scale, 0xFFFFFFff, "offsetX:"); offsetX = readSetting("offsetX",offsetX); foo, offsetX = lsEditBox("offsetX", 80, lsScreenY - 160, 0, 50, 30, 1.0, 1.0, 0x000000ff, offsetX); offsetX = tonumber(offsetX); if not offsetX then lsPrint(140, lsScreenY - 160+3, 10, 0.7, 0.7, 0xFF2020ff, "MUST BE A NUMBER"); offsetX = 0; end writeSetting("offsetX",offsetX); lsPrint(10, lsScreenY - 130, z, scale, scale, 0xFFFFFFff, "offsetY:"); offsetY = readSetting("offsetY",offsetY); foo, offsetY = lsEditBox("offsetY", 80, lsScreenY - 130, 0, 50, 30, 1.0, 1.0, 0x000000ff, offsetY); offsetY = tonumber(offsetY); if not offsetY then lsPrint(140, lsScreenY - 130+3, 10, 0.7, 0.7, 0xFF2020ff, "MUST BE A NUMBER"); offsetY = 0; end writeSetting("offsetY",offsetY); zoom = CheckBox(10, lsScreenY - 100, z, 0xffffffff, " Zoom 2.5x", zoom); if zoom then zoomLevel = 2.5; else zoomLevel = 1.0; end lsPrint(10, lsScreenY - 80, 10, 0.7, 0.7, 0xFFFFFFff, "Train Results displays in Console!"); lsPrint(10, lsScreenY - 60, 10, 0.7, 0.7, 0xFFFFFFff, "Replace ? with the character you are training"); if lsButtonText(0, lsScreenY - 30, z, 100, 0xFFFFFFff, "Train") then srStripScreen(chatbox) --Console will output ??? as last character in each line (when training). Replace ??? with the correct number of letter (case sensitive) srTrainTextReader(regions[0]+offsetX,regions[1]+offsetY, '?') else srStripRegion(regions[0]+offsetX,regions[1]+offsetY, 8, 12) end srMakeImage("current-region", regions[0], regions[1], lsScreenX, lsScreenY); srShowImageDebug("current-region", 5, 5, 1, zoomLevel); --srSetMousePos(regions[0]+offsetX,regions[1]+offsetY); if lsButtonText(lsScreenX - 110, lsScreenY - 30, z, 100, 0xFFFFFFff, "End Script") then error(quitMessage); end lsDoFrame(); lsSleep(50); end
local Theme = require("motras_theme") describe("Theme", function () local theme = Theme:new{ theme = { platformLeft = { moduleName = "hamburg_platform_left.module", }, metadata = { excludes = { "shelter" } }, billboard = { moduleName = "billboard.module" } }, defaultTheme = { platformLeft = { moduleName = "platform_left.module", }, platformRight = { moduleName = "platform_right.module", }, shelter = { moduleName = "shelter.module", }, schedule = { moduleName = "schedule.module" }, metadata = {} } } describe("get", function () it ("returns theme module", function () assert.are.equal("hamburg_platform_left.module", theme:get("platformLeft")) end) it ("returns default when module is not available in given theme", function () assert.are.equal("platform_right.module", theme:get("platformRight")) end) end) describe("has", function () it ("checks whether there is a module for given theme type", function () assert.is_true(theme:has("platformLeft")) assert.is_false(theme:has("platformIsland")) end) it ("returns false when given theme type is excluded", function () assert.is_false(theme:has("shelter")) end) end) describe("getWithAlternative", function () it ("returns module", function () assert.are.equal("billboard.module", theme:getWithAlternative("billboard", "schedule")) end) it ("returns alternative module", function () assert.are.equal("billboard.module", theme:getWithAlternative("schedule", "billboard")) end) it ("returns alternative default", function () assert.are.equal("schedule.module", theme:getWithAlternative("infoboard", "schedule")) end) end) end)
--Change this to edit the Opening Key (Other Keys at wiki.fivem.net/wiki/Controls) VEM.KBKey = 56 --Change this to enable/disable automatic vehicle repair when enabling an extra VEM.DisableAutoRepair = true --Change "false" to "true" to disable the Menu for Non-Admins VEM.OnlyForAdmins = false
-- the efect settings local colorizePed = {} local specularPower = 1.3 local effectMaxDistance = 10 local isPostAura = true -- don't touch local scx, scy = guiGetScreenSize () local myRT = nil local myShader = nil local isMRTEnabled = false local wallShader = {} local PWTimerUpdate = 110 effectOn = false pwEffectEnabled = false function enablePedWall(isMRT) if isMRT and isPostAura then myRT = dxCreateRenderTarget(scx, scy, true) myShader = dxCreateShader("fx/post_edge.fx") if not myRT or not myShader then isMRTEnabled = false return else dxSetShaderValue(myShader, "sTex0", myRT) dxSetShaderValue(myShader, "sRes", scx, scy) isMRTEnabled = true end else isMRTEnabled = false end effectOn = true pwEffectEnabled = true enablePedWallTimer(isMRTEnabled) end function disablePedWall() pwEffectEnabled = false effectOn = false disablePedWallTimer() if isElement(myRT) then destroyElement(myRT) end isMRT = false end function createWallEffectForPlayer(thisPlayer, isMRT) if not wallShader[thisPlayer] then if isMRT then wallShader[thisPlayer] = dxCreateShader("fx/ped_wall_mrt.fx", 1, 0, true, "ped") -- outputDebugString("MRT pass") else wallShader[thisPlayer] = dxCreateShader("fx/ped_wall.fx", 1, 0, true, "ped") -- outputDebugString("MRT fail") end if not wallShader[thisPlayer] then return false else if myRT then dxSetShaderValue (wallShader[thisPlayer], "secondRT", myRT) end local r,g,b = getTeamColor(getPlayerTeam(thisPlayer)) colorizePed[thisPlayer] = {r,g,b,255} dxSetShaderValue(wallShader[thisPlayer], "sColorizePed",colorizePed[thisPlayer]) dxSetShaderValue(wallShader[thisPlayer], "sSpecularPower",specularPower) engineApplyShaderToWorldTexture ( wallShader[thisPlayer], "*" , thisPlayer ) engineRemoveShaderFromWorldTexture(wallShader[thisPlayer],"muzzle_texture*", thisPlayer) --if getElementAlpha(thisPlayer)==255 then setElementAlpha(thisPlayer, 254) end return true end end end function destroyShaderForPlayer(thisPlayer) if wallShader[thisPlayer] then engineRemoveShaderFromWorldTexture(wallShader[thisPlayer], "*" , thisPlayer) destroyElement(wallShader[thisPlayer]) wallShader[thisPlayer] = nil end end function enablePedWallTimer(isMRT) if PWenTimer then return end PWenTimer = setTimer( function() --if pwEffectEnabled then for index,thisPlayer in ipairs(getElementsByType("player")) do if isElementStreamedIn(thisPlayer) and thisPlayer~=localPlayer then local hx,hy,hz = getElementPosition(thisPlayer) local cx,cy,cz = getCameraMatrix() local dist = getDistanceBetweenPoints3D(cx,cy,cz,hx,hy,hz) local isItClear = isLineOfSightClear (cx,cy,cz, hx,hy, hz, true, false, false, true, false, true, false, thisPlayer) if (dist<effectMaxDistance ) and not isItClear and effectOn then createWallEffectForPlayer(thisPlayer, isMRT) end if (dist>effectMaxDistance ) or isItClear or not effectOn then destroyShaderForPlayer(thisPlayer) end end if not isElementStreamedIn(thisPlayer) then destroyShaderForPlayer(thisPlayer) end end --end end ,PWTimerUpdate,0 ) end function disablePedWallTimer() if PWenTimer then for index,thisPlayer in ipairs(getElementsByType("player")) do destroyShaderForPlayer(thisPlayer) end if isTimer(PWenTimer) then killTimer( PWenTimer ) end PWenTimer = nil end end addEventHandler( "onClientPreRender", root, function() if not pwEffectEnabled or not isMRTEnabled then return end -- Clear secondary render target dxSetRenderTarget( myRT, true ) dxSetRenderTarget() end , true, "high" ) addEventHandler( "onClientHUDRender", root, function() if not pwEffectEnabled or not isMRTEnabled then return end -- Show contents of secondary render target dxDrawImage( 0, 0, scx, scy, myShader ) end )
return { boxCheckmark=love.graphics.newQuad(380,36,38,36,512,256), boxCross=love.graphics.newQuad(380,0,38,36,512,256), boxTick=love.graphics.newQuad(386,210,36,36,512,256), button00=love.graphics.newQuad(0,94,190,49,512,256), button01=love.graphics.newQuad(190,49,190,45,512,256), button02=love.graphics.newQuad(190,0,190,49,512,256), button03=love.graphics.newQuad(0,49,190,45,512,256), button04=love.graphics.newQuad(0,0,190,49,512,256), button05=love.graphics.newQuad(0,192,190,45,512,256), button06=love.graphics.newQuad(288,194,49,49,512,256), button07=love.graphics.newQuad(239,194,49,49,512,256), button08=love.graphics.newQuad(190,194,49,45,512,256), button09=love.graphics.newQuad(339,94,49,49,512,256), button10=love.graphics.newQuad(290,94,49,45,512,256), button11=love.graphics.newQuad(337,184,49,49,512,256), button12=love.graphics.newQuad(290,139,49,45,512,256), button13=love.graphics.newQuad(0,143,190,49,512,256), checkmark=love.graphics.newQuad(337,233,21,20,512,256), circle=love.graphics.newQuad(386,174,36,36,512,256), cross=love.graphics.newQuad(0,237,18,18,512,256), panel=love.graphics.newQuad(190,94,100,100,512,256), sliderDown=love.graphics.newQuad(416,72,28,42,512,256), sliderLeft=love.graphics.newQuad(339,143,39,31,512,256), sliderRight=love.graphics.newQuad(378,143,39,31,512,256), sliderUp=love.graphics.newQuad(388,72,28,42,512,256), tick=love.graphics.newQuad(18,239,17,17,512,256) }
--- Copyright (c) 2020 Sammy James local ADDON_NAME = ... local CC = LibStub("AceAddon-3.0"):GetAddon(ADDON_NAME) assert(CC, ADDON_NAME .. "not found") local DP = CC:NewModule("DataProvider", "AceConsole-3.0", "AceEvent-3.0") local LOC = LibStub("AceLocale-3.0"):GetLocale(ADDON_NAME) function DP:OnEnable(...) CC:AppendLocale("enUS", function(L) L["DataProvider"] = "Data Provider" end) WorldMapFrame:AddDataProvider(self) end function DP:OnDisable(...) WorldMapFrame:RemoveDataProvider(self) end function DP:OnAdded(OwningMap) self.m_map = OwningMap self.m_set_area_label = function(_, ...) self:SendMessage("CARTOGRAPHER_SET_AREA_LABEL", ...) end self.m_clear_area_label = function(_, ...) self:SendMessage("CARTOGRAPHER_CLEAR_AREA_LABEL", ...) end self.m_map:RegisterCallback("SetAreaLabel", self.m_set_area_label) self.m_map:RegisterCallback("ClearAreaLabel", self.m_clear_area_label) end function DP:OnRemoved(OwningMap) assert(self.m_map == OwningMap) self.m_map:UnregisterCallback("SetAreaLabel", self.m_set_area_label) self.m_map:UnregisterCallback("ClearAreaLabel", self.m_clear_area_label) self.m_map = nil end function DP:GetMap() return self.m_map end function DP:SignalEvent(Event, ...) end function DP:OnShow(...) self:SendMessage("CARTOGRAPHER_MAP_OPENED") end function DP:OnHide(...) self:SendMessage("CARTOGRAPHER_MAP_CLOSED") end function DP:RemoveAllData(...) -- body end function DP:RefreshAllData(...) -- body end function DP:OnMapChanged(...) local CurrentMapId = WorldMapFrame:GetMapID() self:SendMessage("CARTOGRAPHER_MAP_CHANGED", CurrentMapId) end function DP:OnGlobalAlphaChanged(...) -- body end function DP:OnMapInsetSizeChanged(...) -- body end function DP:OnMapInsetMouseEnter(...) -- body end function DP:OnMapInsetMouseLeave(...) -- body end function DP:OnCanvasScaleChanged(...) -- body end function DP:OnCanvasPanChanged(...) -- body end function DP:OnCanvasSizeChanged(...) -- body end
local AddSet = function(setName) if (gSettings.AllowAddSet == false) then print(chat.header('LuAshitacast') .. chat.error('Your profile has addset disabled.')); return; end if (gProfile == nil) then print(chat.header('LuAshitacast') .. chat.error('You must have a profile loaded to use addset.')); return; end if (gProfile.Sets == nil) then print(chat.header('LuAshitacast') .. chat.error('Your profile must have a sets table to use addset.')); return; end --Try to match an exact case set. local setTableName = nil; for name,set in pairs(gProfile.Sets) do if (setName == name) then setTableName = name; end end --Try to match differing case. if setTableName == nil then local lowerName = string.lower(setName); for name,set in pairs(gProfile.Sets) do if (string.lower(name) == lowerName) then setTableName = name; end end if setTableName == nil then setTableName = setName; end end local set = gData.GetCurrentSet(); if gFileTools.SaveSet(setTableName, set) then --Mixed feelings about forcing a reload here. --If user is assigning augments in OnLoad or anything of the sort, I think it's better to ensure those get applied. gState.LoadProfileEx(gProfile.FilePath); end end local CancelAction = function() if (gState.PlayerAction ~= nil) then gState.PlayerAction.Block = true; end end local ChangeActionId = function(id) local action = gState.PlayerAction; local packet = gState.PlayerAction.Packet; if (action.Type == 'Spell') then local resource = AshitaCore:GetResourceManager():GetSpellById(id); if (resource ~= nil) then packet[0x0C + 1] = bit.band(id, 0x00FF); packet[0x0D + 1] = bit.rshift(id, 8); action.Resource = resource; local baseCast = action.Resource.CastTime * 250; baseCast = (baseCast * (100 - gSettings.FastCast)) / 100; action.Completion = (os.clock() * 1000) + baseCast + gSettings.SpellOffset; end elseif (action.Type == 'Weaponskill') then local resource = AshitaCore:GetResourceManager():GetAbilityById(id); if (resource ~= nil) then packet[0x0C + 1] = bit.band(id, 0x00FF); packet[0x0D + 1] = bit.rshift(id, 8); action.Resource = resource; action.Completion = (os.clock() * 1000) + gSettings.WeaponskillDelay; end elseif (action.Type == 'Ability') then local resource = AshitaCore:GetResourceManager():GetAbilityById(id + 0x200); if (resource ~= nil) then packet[0x0C + 1] = bit.band(id, 0x00FF); packet[0x0D + 1] = bit.rshift(id, 8); action.Resource = resource; action.Completion = (os.clock() * 1000) + gSettings.AbilityDelay; end else print(chat.header('LuAshitacast') .. chat.error('ChangeId cannot be used for action of type: ' .. chat.color1(2, gState.PlayerAction.Type))); end end local ChangeActionTarget = function(target) if (gState.PlayerAction == nil) then return; end local entity = AshitaCore:GetMemoryManager():GetEntity(); local targetId = 0; local renderFlags = entity:GetRenderFlags0(target); if (bit.band(renderFlags, 0x200) == 0x200) then targetId = entity:GetServerId(target); end if (targetId == 0) then return; end local action = gState.PlayerAction; local packet = action.Packet; if (action.Type == 'Item') then packet[0x04 + 1] = bit.band(targetId, 0xFF); packet[0x05 + 1] = bit.band(bit.rshift(targetId, 8), 0xFF) packet[0x06 + 1] = bit.band(bit.rshift(targetId, 16), 0xFF) packet[0x07 + 1] = bit.band(bit.rshift(targetId, 24), 0xFF) packet[0x0C + 1] = bit.band(target, 0x00FF); packet[0x0D + 1] = bit.band(bit.rshift(target, 8), 0xFF); action.Target = target; else packet[0x04 + 1] = bit.band(targetId, 0xFF); packet[0x05 + 1] = bit.band(bit.rshift(targetId, 8), 0xFF) packet[0x06 + 1] = bit.band(bit.rshift(targetId, 16), 0xFF) packet[0x07 + 1] = bit.band(bit.rshift(targetId, 24), 0xFF) packet[0x08 + 1] = bit.band(target, 0xFF); packet[0x09 + 1] = bit.band(bit.rshift(target, 8), 0xFF); action.Target = target; end end local ClearEquipBuffer = function() gEquip.ClearBuffer(); end local Disable = function(slot) if (slot == 'all') then for i = 1,16,1 do gState.Disabled[i] = true; end print(chat.header('LuAshitacast') .. chat.message('All slots disabled.')); return; end local slotIndex = gData.GetEquipSlot(slot); if (slotIndex ~= 0) then gState.Disabled[slotIndex] = true; print(chat.header('LuAshitacast') .. chat.color1(2, gData.Constants.EquipSlotNames[slotIndex]) .. chat.message(' disabled.')); else print(chat.header('LuAshitacast') .. chat.error('Could not identify slot: ' .. chat.color1(2, slot))); end end local Echo = function(color, text) print(chat.header('LuAshitacast') .. chat.color1(color, text)); end local Enable = function(slot) if (slot == 'all') then for i = 1,16,1 do gState.Disabled[i] = false; end print(chat.header('LuAshitacast') .. chat.message('All slots enabled.')); return; end local slotIndex = gData.GetEquipSlot(slot); if (slotIndex ~= 0) then gState.Disabled[slotIndex] = false; print(chat.header('LuAshitacast') .. chat.color1(2, gData.Constants.EquipSlotNames[slotIndex]) .. chat.message(' enabled.')); else print(chat.header('LuAshitacast') .. chat.error('Could not identify slot: ' .. chat.color1(2, slot))); end end local Equip = function(slot, item) local equipSlot = gData.GetEquipSlot(slot); if (equipSlot == 0) then print(chat.header('LuAshitacast') .. chat.error("Invalid slot specified: ") .. chat.color1(2, slot)); return; end local table = gEquip.MakeItemTable(item); if (table == nil) or (type(table.Name) ~= 'string') then return; end gEquip.EquipItemToBuffer(equipSlot, table); end local EquipSet = function(set) if (type(set) == 'string') then if (gProfile == nil) then print(chat.header('LuAshitacast') .. chat.error('You must have a profile loaded to use EquipSet(string).')); return; end if (gProfile.Sets == nil) then print(chat.header('LuAshitacast') .. chat.error('Your profile must have a sets table to use EquipSet(string).')); return; end local setName = string.lower(set); for name,setEntry in pairs(gProfile.Sets) do if (string.lower(name) == setName) then for k, v in pairs(setEntry) do Equip(k, v); end return; end end print(chat.header('LuAshitacast') .. chat.error('Set not found: ' .. set)); elseif (type(set) == 'table') then for k, v in pairs(set) do Equip(k, v); end end end local Error = function(text) print(chat.header('LuAshitacast') .. chat.error(text)); end local ForceEquip = function(slot, item) local equipSlot = gData.GetEquipSlot(slot); if (equipSlot == 0) then print(chat.header('LuAshitacast') .. chat.error("Invalid slot specified: ") .. chat.color1(2, slot)); return; end local itemTable = gEquip.MakeItemTable(item); if (itemTable == nil) or (type(itemTable.Name) ~= 'string') then return; end gEquip.EquipSet({[equipSlot] = itemTable}, 'auto'); end local ForceEquipSet = function(set) local table = nil; if (type(set) == 'string') then if (gProfile == nil) then print(chat.header('LuAshitacast') .. chat.error('You must have a profile loaded to use ForceEquipSet(string).')); return; end if (gProfile.Sets == nil) then print(chat.header('LuAshitacast') .. chat.error('Your profile must have a sets table to use ForceEquipSet(string).')); return; end local setName = string.lower(set); for name,setEntry in pairs(gProfile.Sets) do if (string.lower(name) == setName) then table = setEntry; end end if (table == nil) then print(chat.header('LuAshitacast') .. chat.error('Set not found: ' .. set)); return; end elseif (type(set) == 'table') then table = set; else return; end local newTable = {}; for k,v in pairs(table) do local equipSlot = gData.GetEquipSlot(k); if (equipSlot == 0) then print(chat.header('LuAshitacast') .. chat.error("Invalid slot specified: ") .. chat.color1(2, k)); return; end local table = gEquip.MakeItemTable(v); if (table ~= nil) and (type(table.Name) == 'string') then newTable[equipSlot] = table; end end gEquip.EquipSet(newTable, 'auto'); end local Message = function(text) print(chat.header('LuAshitacast') .. chat.message(text)); end local LoadFile = function(path) if not string.match(path, '.lua') then path = path .. '.lua'; end local filePath = path; if (not ashita.fs.exists(filePath)) then filePath = ('%sconfig\\addons\\luashitacast\\%s_%u\\%s'):fmt(AshitaCore:GetInstallPath(), gState.PlayerName, gState.PlayerId, path); if (not ashita.fs.exists(filePath)) then filePath = ('%sconfig\\addons\\luashitacast\\%s'):fmt(AshitaCore:GetInstallPath(), path); if (not ashita.fs.exists(filePath)) then print(chat.header('LuAshitacast') .. chat.error('File not found matching: ') .. chat.color1(2, path)); return nil; end end end local func, loadError = loadfile(filePath); if (not func) then print (chat.header('LuAshitacast') .. chat.error('Failed to load file: ') .. chat.color1(2,filePath)); print (chat.header('LuAshitacast') .. chat.error(loadError)); return nil; end local fileValue = nil; local success, execError = pcall(function () fileValue = func(); end); if (not success) then print (chat.header('LuAshitacast') .. chat.error('Failed to execute file: ') .. chat.color1(2,filePath)); print (chat.header('LuAshitacast') .. chat.error(execError)); return nil; end return fileValue; end --Equips a set and locks it in for a given period of time local LockSet = function(set, seconds) local table = nil; if (type(set) == 'string') then if (gProfile == nil) then print(chat.header('LuAshitacast') .. chat.error('You must have a profile loaded to use LockSet(string).')); return; end if (gProfile.Sets == nil) then print(chat.header('LuAshitacast') .. chat.error('Your profile must have a sets table to use LockSet(string).')); return; end local setName = string.lower(set); for name,setEntry in pairs(gProfile.Sets) do if (string.lower(name) == setName) then table = setEntry; end end if (table == nil) then print(chat.header('LuAshitacast') .. chat.error('Set not found: ' .. set)); return; end elseif (type(set) == 'table') then table = set; else return; end gState.ForceSet = table; gState.ForceSetTimer = os.clock() + seconds; local newTable = {}; for k,v in pairs(table) do local equipSlot = gData.GetEquipSlot(k); if (equipSlot == 0) then print(chat.header('LuAshitacast') .. chat.error("Invalid slot specified: ") .. chat.color1(2, k)); return; end local table = gEquip.MakeItemTable(v); if (table ~= nil) and (type(table.Name) == 'string') then newTable[equipSlot] = table; end end gEquip.EquipSet(newTable, 'auto'); end local LockStyle = function(set) local reducedSet = {}; for slot,equip in pairs(set) do local equipSlot = gData.GetEquipSlot(slot); if (equipSlot ~= 0) and (equipSlot < 10) then if type(equip) == 'string' then reducedSet[equipSlot] = string.lower(equip); elseif (type(equip) == 'table') and equip.Name then reducedSet[equipSlot] = string.lower(equip.Name); end end end gEquip.LockStyle(reducedSet); end local exports = { AddSet = AddSet, CancelAction = CancelAction, ChangeActionId = ChangeActionId, ChangeActionTarget = ChangeActionTarget, ClearEquipBuffer = ClearEquipBuffer, Disable = Disable, Echo = Echo, Enable = Enable, Equip = Equip, EquipSet = EquipSet, Error = Error, ForceEquip = ForceEquip, ForceEquipSet = ForceEquipSet, Message = Message, LoadFile = LoadFile, LockSet = LockSet, LockStyle = LockStyle }; return exports;
local fn = vim.fn local install_path = fn.stdpath("data") .. "/site/pack/packer/start/packer.nvim" if fn.empty(fn.glob(install_path)) > 0 then PACKER_BOOTSTRAP = fn.system({ "git", "clone", "--depth", "1", "https://github.com/wbthomason/packer.nvim", install_path, }) end vim.cmd([[ augroup packer_user_config autocmd! autocmd BufWritePost plugins.lua source <afile> | PackerCompile augroup end ]]) require("packer").startup({ function(use) -- Package manager use("wbthomason/packer.nvim") -- For the impatient, used to cache compiled use("lewis6991/impatient.nvim") -- Best thing ever use({ "nvim-telescope/telescope.nvim", requires = { { "nvim-lua/popup.nvim" }, { "nvim-lua/plenary.nvim" } }, config = [[ require("config/telescope") ]], }) use({ "nvim-telescope/telescope-fzf-native.nvim", run = "make", }) -- Theme use({ "andersevenrud/nordic.nvim", config = function() require("nordic").colorscheme({}) end, }) -- Personal Theme use({ "/home/sondre/Code/ts/a-theme/", -- config = function() -- require("modus").colorscheme({ theme = "modus-operandi" }) -- end, }) -- Status line use({ "famiu/feline.nvim", requires = { "kyazdani42/nvim-web-devicons" }, }) -- Git gutter signs use({ "lewis6991/gitsigns.nvim", requires = { "nvim-lua/plenary.nvim" }, config = function() require("gitsigns").setup({ signs = { add = { hl = "GitGutterAdd", text = "+" }, change = { hl = "GitGutterChange", text = "~" }, delete = { hl = "GitGutterDelete", text = "_" }, topdelete = { hl = "GitGutterDelete", text = "‾" }, changedelete = { hl = "GitGutterChange", text = "~" }, }, }) end, }) -- Have the terminal floating about use({ "akinsho/toggleterm.nvim", config = function() require("toggleterm").setup({ open_mapping = [[<c-t>]], direction = "float", shade_terminals = false, size = 30, }) end, }) -- Automatic brackets use({ "windwp/nvim-autopairs", config = function() require("nvim-autopairs").setup({ check_ts = true, }) end, }) -- Show indent lines use({ "lukas-reineke/indent-blankline.nvim", config = function() require("indent_blankline").setup({ buftype_exclude = { "terminal", "nofile" }, filetype_exclude = { "help", "packer" }, use_treesitter = true, show_trailing_blankline_indent = false, }) end, }) -- which-key for keybinding popup use({ "folke/which-key.nvim", config = function() require("which-key").setup({}) end, }) -- tree-sitter for highlighting goodness use({ "nvim-treesitter/nvim-treesitter", run = ":TSUpdate", config = [[ require("config/tree-sitter") ]], }) use("nvim-treesitter/nvim-treesitter-textobjects") use("windwp/nvim-ts-autotag") use("JoosepAlviste/nvim-ts-context-commentstring") -- LSP configuration use("neovim/nvim-lspconfig") use("hrsh7th/cmp-nvim-lsp") use("onsails/lspkind-nvim") use({ "williamboman/nvim-lsp-installer", config = [[ require("config/lsp/lsp-installer") ]], }) use({ "folke/trouble.nvim", requires = "kyazdani42/nvim-web-devicons", config = function() require("trouble").setup({}) end, }) use({ "jose-elias-alvarez/null-ls.nvim", config = function() require("null-ls").setup({ sources = { require("null-ls").builtins.formatting.stylua, require("null-ls").builtins.formatting.rustfmt, }, on_attach = function(client) if client.resolved_capabilities.document_formatting then vim.cmd("autocmd BufWritePre <buffer> lua vim.lsp.buf.formatting_sync()") end end, }) end, requires = { "nvim-lua/plenary.nvim" }, }) -- Snippets use({ "L3MON4D3/LuaSnip", requires = { "saadparwaiz1/cmp_luasnip" }, }) -- Autocompletion use({ "hrsh7th/nvim-cmp", requires = { { "neovim/nvim-lspconfig", "hrsh7th/cmp-nvim-lsp", "hrsh7th/cmp-buffer", "hrsh7th/cmp-path", "hrsh7th/cmp-nvim-lua", "saadparwaiz1/cmp_luasnip", }, }, config = [[ require("config/completion") ]], }) -- Commenting use({ "numToStr/Comment.nvim", requires = { "JoosepAlviste/nvim-ts-context-commentstring" }, config = [[ require("config/comments") ]], }) -- Surrounding stuff use({ "blackCauldron7/surround.nvim", config = function() require("surround").setup({ mappings_style = "surround" }) end, }) -- Rust sweetness use("simrat39/rust-tools.nvim") if PACKER_BOOTSTRAP then require("packer").sync() end end, config = { display = { open_fn = require("packer.util").float, }, compile_path = vim.fn.stdpath("config") .. "/lua/packer_compiled.lua", }, })
project_root = "../../.." include(project_root.."/tools/build") group("src") project("xenia-cpu") uuid("0109c91e-5a04-41ab-9168-0d5187d11298") kind("StaticLib") language("C++") links({ "xenia-base", }) includedirs({ project_root.."/third_party/llvm/include", project_root.."/third_party/gflags/src", }) local_platform_files() local_platform_files("backend") local_platform_files("compiler") local_platform_files("compiler/passes") local_platform_files("hir") local_platform_files("ppc") include("testing") include("ppc/testing")
function test_remove_if(t) t:are_equal(table.remove_if({1, 2, 3, 4, 5, 6}, function (i, v) return (v % 2) == 0 end), {1, 3, 5}) t:are_equal(table.remove_if({a = 1, b = 2, c = 3}, function (i, v) return (v % 2) == 0 end), {a = 1, c = 3}) end function test_find_if(t) t:are_equal(table.find_if({1, 2, 3, 4, 5, 6}, function (i, v) return (v % 2) == 0 end), {2, 4, 6}) t:are_equal(table.find_first_if({1, 2, 3, 4, 5, 6}, function (i, v) return (v % 2) == 0 end), 2) t:are_equal(table.find({1, 2, 4, 4, 5, 6}, 4), {3, 4}) t:are_equal(table.find_first({1, 2, 3, 4, 5, 6}, 4), 4) end
level = {} level.pillarTarget = 30.0 level.pillarIndex = 0 pillar = {} pillar.sprite = sprites.triangle pillar.topposition = {x = 0.0, y= 10.0, z= 0.0} pillar.topscale = {x = 15.0, y = 20.0} pillar.bottomposition = {x = 10.0, y= 10.0, z= 0.0} pillar.bottomscale = { x = 15.0, y = 20.0} pillars = {} function level:Init() for i=1,5 do pillars[i] = {topposition = {}, bottomposition = {},bottomscale = {x = 15.0, y = 20.0}, topscale = {x = 15.0, y = 20.0} } CreatePillar(pillars[i], i, (i-1) * 10.0); print(player.position.x, player.position.y,player:GetRotation(), pillars[i].topposition.x, pillars[i].topposition.y, pillars[i].topscale.x, pillars[i].topscale.y) end end function level:Update() if player.position.x > level.pillarTarget then CreatePillar(pillars[level.pillarIndex + 1],level.pillarIndex, level.pillarTarget + 20.0) level.pillarIndex = (level.pillarIndex + 1) % 5 level.pillarTarget = level.pillarTarget + 10.0 end for i=1,5 do if IsCollision(player.position.x, player.position.y,player:GetRotation(), pillars[i].topposition.x, pillars[i].topposition.y, pillars[i].topscale.x, pillars[i].topscale.y, 180.0) == true or IsCollision(player.position.x, player.position.y,player:GetRotation(), pillars[i].bottomposition.x, pillars[i].bottomposition.y, pillars[i].bottomscale.x, pillars[i].bottomscale.y, 0.0) == true then level:GameOver() return end end end function level:GameOver() GameState.State = GameState.GameOver end function level:Draw() local color = {r = 1.0, g = 1.0, b = 1.0, a = 1.0} -- Background DrawQuadZ(player.position.x, 0.0, -0.8, 50.0, 50.0, 0.3,0.3,0.3, 1.0) -- Floor and ceiling DrawQuad(player.position.x, 34.0, 50.0, 50.0, color.r, color.g, color.b, color.a) DrawQuad(player.position.x, -34.0, 50.0, 50.0, color.r, color.g, color.b, color.a) for i=1,5 do -- DrawQuadRTex(sprites.player, player.position.x, player.position.y, 1.0, 1.3, math.rad(GetRotation())) DrawQuadZRTex(pillar.sprite, pillars[i].topposition.x, pillars[i].topposition.y, pillars[i].topposition.z, pillars[i].topscale.x, pillars[i].topscale.y, math.rad(180.0)) DrawQuadZRTex(pillar.sprite, pillars[i].bottomposition.x,pillars[i].bottomposition.y, pillars[i].bottomposition.z, pillars[i].bottomscale.x, pillars[i].bottomscale.y, 0) end end function CreatePillar(p, index, offset) local pillar = p pillar.topposition.x = offset pillar.bottomposition.x = offset pillar.topposition.z = (index-1) * 0.1 - 0.5 pillar.bottomposition.z = (index-1) * 0.1 - 0.5 + 0.05 local center = math.random(100) / 100 * 35.0 - 17.5 local gap = 2.0 + math.random(100) / 100 * 5.0 pillar.topposition.y = 10.0 - ((10.0 - center) * 0.2) + gap * 0.5 pillar.bottomposition.y = -10.0 - ((-10.0 - center) * 0.2) - gap * 0.5 end
bt.register_action("SetWaypointHere", { tick = function(node, data) local pos = {x= data.pos.x, y= data.pos.y, z= data.pos.z} data.waypoints[node.wpname] = pos return "success" end, ctor = function(name) return { wpname=name or "_" } end, }) bt.register_action("SetWaypoint", { tick = function(node, data) if data.targetPos == nil then return "failed" end local pos = {x= data.targetPos.x, y= data.targetPos.y, z= data.targetPos.z} data.waypoints[node.wpname] = pos return "success" end, ctor = function(name) return { wpname=name or "_" } end, }) bt.register_action("GetWaypoint", { tick = function(node, data) if data.waypoints[node.wpname] == nil then return "failed" end data.targetPos = data.waypoints[node.wpname] return "success" end, ctor = function(name) return { wpname=name or "_" } end, }) bt.register_action("SetGroupWaypoint", { tick = function(node, data) if data.targetPos == nil or data.groupID == nil or giants.groupData[data.groupID] == nil then return "failed" end local pos = {x= data.targetPos.x, y= data.targetPos.y, z= data.targetPos.z} giants.groupData[data.groupID].waypoints[node.wpname] = pos return "success" end, ctor = function(name) return { wpname=name or "_" } end, }) bt.register_action("GetGroupWaypoint", { tick = function(node, data) if data.groupID == nil or giants.groupData[data.groupID] == nil or giants.groupData[data.groupID].waypoints == nil or giants.groupData[data.groupID].waypoints[node.wpname] == nil then print(dump(giants.groupData[data.groupID])) print("! failed to find group ("..data.groupID..") waypoint " .. node.wpname .. "\n") return "failed" end data.targetPos = giants.groupData[data.groupID].waypoints[node.wpname] return "success" end, ctor = function(name) return { wpname=name or "_" } end, }) bt.register_action("CreatePathHere", { tick = function(node, data) if data.pos == nil then return "failed" end local pos = {x= data.pos.x, y= data.pos.y, z= data.pos.z} data.paths[node.pname] = {pos} return "success" end, ctor = function(name) return { pname=name or "_" } end, }) bt.register_action("CreatePath", { tick = function(node, data) if data.targetPos == nil then return "failed" end local pos = {x= data.targetPos.x, y= data.targetPos.y, z= data.targetPos.z} data.paths[node.pname] = {pos} return "success" end, ctor = function(name) return { pname=name or "_" } end, }) bt.register_action("AddPathNodeHere", { tick = function(node, data) if data.pos == nil then return "failed" end local pos = {x= data.pos.x, y= data.pos.y, z= data.pos.z} table.insert(data.paths[node.pname], pos) return "success" end, ctor = function(name) return { pname=name or "_" } end, }) bt.register_action("AddPathNode", { tick = function(node, data) if data.targetPos == nil then return "failed" end local pos = {x= data.targetPos.x, y= data.targetPos.y, z= data.targetPos.z} table.insert(data.paths[node.pname], pos) return "success" end, ctor = function(name) return { pname=name or "_" } end, })
local AddPrefabPostInit = AddPrefabPostInit GLOBAL.setfenv(1, GLOBAL) AddPrefabPostInit("bat",function(inst) local function MakeTeam(inst, attacker) local leader = SpawnPrefab("teamleader") leader.components.teamleader:SetUp(attacker, inst) leader.components.teamleader:BroadcastDistress(inst) end local RETARGET_CANT_TAGS = {"bat"} local RETARGET_ONEOF_TAGS = {"character", "monster"} local function NewRetarget(inst) local ta = inst.components.teamattacker local newtarget = FindEntity(inst, TUNING.BAT_TARGET_DIST, function(guy) return inst.components.combat:CanTarget(guy) or guy:HasTag("eyeturret") end, nil, RETARGET_CANT_TAGS, RETARGET_ONEOF_TAGS ) if newtarget and not ta.inteam and not ta:SearchForTeam() then MakeTeam(inst, newtarget) end if ta.inteam and not ta.teamleader:CanAttack() then return newtarget end end if inst.components.combat then inst.components.combat:SetRetargetFunction(3, NewRetarget) end end) AddPrefabPostInit("eyeturret",function(inst) local RETARGET_MUST_TAGS = { "_combat" } local RETARGET_CANT_TAGS = { "INLIMBO", "player" } local function NewRetargetfn(inst) local playertargets = {} local AllPlayers= AllPlayers for i = 1, #AllPlayers do local v = AllPlayers[i] if v.components.combat.target then playertargets[v.components.combat.target] = true end end return FindEntity(inst, TUNING.EYETURRET_RANGE + 3, function(guy) return (playertargets[guy] or (guy.components.combat.target and guy.components.combat.target:HasTag("player"))) and inst.components.combat:CanTarget(guy) or guy:HasTag("bat") end, RETARGET_MUST_TAGS, --see entityreplica.lua RETARGET_CANT_TAGS ) end if inst.components.combat then inst.components.combat:SetRetargetFunction(1, NewRetargetfn) end end)
require "SvgWriter" require "vmath" require "Viewport" require "SubImage" require "GridAxis" require "PixelImage" require "_utils" -- Sizing local imageSize = vmath.vec2(350, 350); local subImages = SubImage.SubImage(1, 1, imageSize.x, imageSize.y, 0, 50); local coordSize = 6; local coordWidth = coordSize * (imageSize.x / imageSize.y); --image local image = PixelImage.PixelImage("Checkerboard.txt") local pixelSize = image:Size(); pixelSize = pixelSize / 2; pixelSize.y = pixelSize.y; local vp = Viewport.Viewport(imageSize, pixelSize, image:Size()) local trans2 = Viewport.Transform2D() vp:SetTransform(trans2); --styles local styleLib = SvgWriter.StyleLibrary(); image:Style(styleLib); styleLib:AddStyle(nil, "grid", SvgWriter.Style():stroke("#888"):stroke_width("1.5px"):fill("none")); styleLib:AddStyle(nil, "frag_area", SvgWriter.Style():stroke("red"):stroke_width("7px"):stroke_opacity(0.7) :stroke_linejoin("round"):fill("none")); styleLib:AddStyle(nil, "sample_box", SvgWriter.Style():stroke("#4B4"):stroke_width("4px"):fill("none")); styleLib:AddStyle(nil, "sample_pt", SvgWriter.Style():stroke("none"):fill("goldenrod")); --Sample point. local texCoord = vmath.vec2(0.5, 0.5) local samplePt = texCoord * image:Size(); local lowLeftPt = samplePt - vmath.vec2(5.5, 5.5) local upRightPt = samplePt + vmath.vec2(5.5, 5.5) local offset = vmath.vec2(0.8, -0.8) local pts = { lowLeftPt + offset, lowLeftPt - offset, upRightPt - offset, upRightPt + offset, } pts = vp:Transform(pts); local pathSampleArea = SvgWriter:Path(); pathSampleArea :M(pts[1]) :L(pts[2]) :L(pts[3]) :L(pts[4]) :Z() local sampleTopLeft; for i, pt in ipairs(pts) do if(sampleTopLeft) then sampleTopLeft.x = math.min(sampleTopLeft.x, pt.x) sampleTopLeft.y = math.min(sampleTopLeft.y, pt.y) else sampleTopLeft = vmath.vec2(pt); end end local sampleSize; for i, pt in ipairs(pts) do if(sampleSize) then sampleSize.x = math.max(sampleSize.x, pt.x - sampleTopLeft.x) sampleSize.y = math.max(sampleSize.y, pt.y - sampleTopLeft.y) else sampleSize = vmath.vec2(pt) - sampleTopLeft; end end samplePt = vp:Transform(samplePt); local ptRadius = vp:Length(0.25) local writer = SvgWriter.SvgWriter(ConstructSVGName(arg[0]), subImages:SvgSize()); writer:StyleLibrary(styleLib); writer:BeginDefinitions(); writer:EndDefinitions(); image:Draw(writer, vmath.vec2(0, 0), subImages:Size(), {"grid"}); writer:Path(pathSampleArea, {"frag_area"}) writer:Circle(samplePt, ptRadius, {"sample_pt"}) writer:Close(); local writer = SvgWriter.SvgWriter("Mipmap" .. ConstructSVGName(arg[0]), subImages:SvgSize()); writer:StyleLibrary(styleLib); writer:BeginDefinitions(); writer:EndDefinitions(); image:Draw(writer, vmath.vec2(0, 0), subImages:Size(), {"grid"}); image:DrawPixelRect(writer, vmath.vec2(0, 0), subImages:Size(), vmath.vec2(2, 2), vmath.vec2(12, 12), {"sample_box"}) writer:Path(pathSampleArea, {"frag_area"}) writer:Circle(samplePt, ptRadius, {"sample_pt"}) writer:Close();
object_tangible_meatlump_event_meatlump_container_01_12 = object_tangible_meatlump_event_shared_meatlump_container_01_12:new { } ObjectTemplates:addTemplate(object_tangible_meatlump_event_meatlump_container_01_12, "object/tangible/meatlump/event/meatlump_container_01_12.iff")
--[=[ @within PresenceTypeEnum @prop Offline 0 @readonly Offline presence. ]=] --[=[ @within PresenceTypeEnum @prop Online 1 @readonly Online presence. ]=] --[=[ @within PresenceTypeEnum @prop InGame 2 @readonly In game presence. ]=] --[=[ @within PresenceTypeEnum @prop InStudio 3 @readonly In studio presence. ]=] --[=[ The different types of presense a user can have. @class PresenceTypeEnum ]=] return { Offline = 0, Online = 1, InGame = 2, InStudio = 3, }
local _, Addon = ... local Dominos = LibStub('AceAddon-3.0'):GetAddon('Dominos') local ProgressBar = Dominos:CreateClass('Frame', Dominos.ButtonBar) -- remove any modes from a list that are not currently loaded local function cleanupModes(modes) for i = #modes, 1, -1 do local mode = modes[i] if not Addon.progressBarModes[mode] then tremove(modes, i) end end return modes end function ProgressBar:New(id, modes, ...) modes = cleanupModes(modes) if #modes == 0 then return end local bar = ProgressBar.proto.New(self, id, ...) if not bar.sets.display then bar.sets.display = { label = true, value = true, max = true, bonus = true } end bar.modes = modes bar:SetFrameStrata(bar.sets.strata or 'BACKGROUND') bar:UpdateFont() bar:UpdateAlwaysShowText() bar:UpdateMode() return bar end function ProgressBar:OnCreate(...) ProgressBar.proto.OnCreate(self, ...) self:SetFrameStrata('BACKGROUND') self.colors = { base = {0, 0, 0}, bonus = {0, 0, 0, 0}, bg = {0, 0, 0, 1} } local bg = self:CreateTexture(nil, 'BACKGROUND') bg:SetColorTexture(0, 0, 0, 1) bg:SetAllPoints(self) self.bg = bg local click = CreateFrame('Button', nil, self) click:SetScript('OnClick', function(_, ...) self:OnClick(...) end) click:SetScript('OnEnter', function(_, ...) self:OnEnter(...) end) click:SetScript('OnLeave', function(_, ...) self:OnLeave(...) end) click:RegisterForClicks('anyUp') click:SetAllPoints(self) click:SetFrameStrata('LOW') local text = click:CreateFontString(nil, 'OVERLAY', 'GameFontHighlightSmall') text:SetPoint('CENTER') self.text = text end function ProgressBar:OnRelease(...) ProgressBar.proto.OnRelease(self, ...) self.value = nil self.max = nil self.bonus = nil end function ProgressBar:GetDefaults() return { point = 'TOP', x = 0, y = 0, columns = 20, numButtons = 20, padW = 2, padH = 2, spacing = 1, texture = 'blizzard', font = 'Friz Quadrata TT', display = { label = true, value = true, max = true, bonus = true }, alwaysShowText = true, lockMode = true } end --[[ events ]]-- function ProgressBar:OnEnter() self.text:Show() end function ProgressBar:OnLeave() if not self:GetAlwaysShowText() then self.text:Hide() end end function ProgressBar:OnClick() if self:IsModeLocked() then self:NextMode() else self:SetLockMode(false) self:NextMode() end end --[[ actions ]]-- function ProgressBar:Update() end do local buffer = nil local twipe = table.wipe local tinsert = table.insert local tconcat = table.concat function ProgressBar:UpdateText(label, value, max, bonus, capped) buffer = buffer or {} twipe(buffer) local fn = self:CompressValues() and _G.AbbreviateLargeNumbers or _G.BreakUpLargeNumbers if label and self:Displaying('label') then tinsert(buffer, ('%s:'):format(label)) end if capped then if bonus ~= nil then tinsert(buffer, bonus) end else if self:Displaying('value') then if self:Displaying('max') then tinsert(buffer, ('%s / %s'):format(fn(value), fn(max))) else tinsert(buffer, fn(value)) end end if value < max and self:Displaying('remaining') then tinsert(buffer, ('-%s'):format(fn(max - value))) end if tonumber(bonus) then if bonus > 0 and self:Displaying('bonus') then tinsert(buffer, ('(+%s)'):format(fn(bonus))) end elseif bonus ~= nil and self:Displaying('label') then tinsert(buffer, ('(%s)'):format(bonus)) end if self:Displaying('percent') and max ~= 0 then tinsert(buffer, ('%.1f%%'):format(value / max * 100)) end end self:SetText(tconcat(buffer, ' ')) end end --[[ mode ]]-- function ProgressBar:SetMode(mode) Addon.Config:SetBarMode(self.id, mode) self:OnModeChanged(self:GetMode()) end function ProgressBar:GetMode() local mode = Addon.Config:GetBarMode(self.id) -- ensure the selected mode has a progress bar display if mode and Addon.progressBarModes[mode] then return mode end return self.modes[1] end function ProgressBar:GetModeIndex() local currentMode = self:GetMode() for i, mode in pairs(self.modes) do if mode == currentMode then return i end end return 1 end function ProgressBar:OnModeChanged(mode) local newType = Addon.progressBarModes and Addon.progressBarModes[mode] if newType then newType:Bind(self) self:Init() end end function ProgressBar:UpdateMode() local mode if self:IsModeLocked() then mode = self:GetMode() else mode = self:GetLastActiveMode() end self:SetMode(mode) end function ProgressBar:IsModeActive() return false end -- iterates through all modes in reverse order -- and finds the first one that's active -- if no active modes are found, retrieves the first mode from the list function ProgressBar:GetLastActiveMode() local modes = self.modes for i = #modes, 2, -1 do local mode = modes[i] if Addon.progressBarModes[mode]:IsModeActive() then return mode end end return modes[1] end function ProgressBar:NextMode() local mode if Addon.Config:SkipInactiveModes() then mode = self:GetNextActiveMode() else mode = self:GetNextMode() end self:SetMode(mode) end function ProgressBar:GetNextMode() local modes = self.modes return modes[Wrap(self:GetModeIndex() + 1, #modes)] end function ProgressBar:GetNextActiveMode() local currentIndex = self:GetModeIndex() local modes = self.modes for offset = 1, #modes - 1 do local index = Wrap(currentIndex + offset, #modes) local mode = modes[index] if Addon.progressBarModes[mode]:IsModeActive() then return mode end end return modes[currentIndex] end function ProgressBar:SetLockMode(lock) if self:IsModeLocked() ~= lock then self.sets.lockMode = lock self:UpdateLockMode() end end function ProgressBar:IsModeLocked() return self.sets.lockMode or #self.modes <= 1 end function ProgressBar:UpdateLockMode() self:UpdateMode() end --[[ value display ]]-- function ProgressBar:SetValues(value, max, bonus) local valueChanged = false local maxChanged = false local bonusChanged = false max = math.max(tonumber(max) or 0, 1) if self.max ~= max then self.max = max maxChanged = true end value = Clamp(tonumber(value) or 0, 0, max) if self.value ~= value then self.value = value valueChanged = true end bonus = tonumber(bonus) or 0 if self.bonus ~= bonus then self.bonus = bonus bonusChanged = true end if valueChanged or maxChanged then self:UpdateValue() end if valueChanged or bonusChanged or maxChanged then self:UpdateBonusValue() end return self end function ProgressBar:GetValues() return self.value or 0, self.max or 0, self.bonus or 0 end function ProgressBar:UpdateValue() local value, max = self:GetValues() value = math.min(value, max) local segmentValue = max / self:GetSegmentCount() local lastFilledIndex = floor(value / segmentValue) local remainder = Round(100 * (value % segmentValue) / (segmentValue * 1.0)) for i, segment in pairs(self.buttons) do if i <= lastFilledIndex then segment.value:SetValue(100) elseif i == lastFilledIndex + 1 then segment.value:SetValue(remainder) else segment.value:SetValue(0) end end end function ProgressBar:UpdateBonusValue() local value, max, bonus = self:GetValues() bonus = bonus > 0 and math.min(value + bonus, max) or bonus local segmentValue = max / self:GetSegmentCount() local lastFilledIndex = floor(bonus / segmentValue) local remainder = Round(100 * (bonus % segmentValue) / (segmentValue * 1.0)) for i, segment in pairs(self.buttons) do if i <= lastFilledIndex then segment.bonus:SetValue(100) elseif i == lastFilledIndex + 1 then segment.bonus:SetValue(remainder) else segment.bonus:SetValue(0) end end end --[[ text display ]]-- function ProgressBar:SetText(text, ...) if select('#', ...) > 0 then self.text:SetFormattedText(text, ...) else self.text:SetText(text, ...) end return self end function ProgressBar:GetText() return self.text:GetText() end --[[ coloring ]]-- function ProgressBar:SetColor(r, g, b, a) local colors = self.colors.base colors[1] = tonumber(r) or 0 colors[2] = tonumber(g) or 0 colors[3] = tonumber(b) or 0 colors[4] = tonumber(a) or 1 self:UpdateColor() return self end function ProgressBar:UpdateColor() local r, g, b, a = self:GetColor() for _, bar in pairs(self.buttons) do bar.bg:SetVertexColor(r / 2, g / 2, b / 2, a / 2) bar.value:SetStatusBarColor(r, g, b, a) end end function ProgressBar:GetColor() local r, g, b, a = unpack(self.colors.base) return r or 0, g or 0, b or 0, a or 1 end function ProgressBar:SetBonusColor(r, g, b, a) local colors = self.colors.bonus colors[1] = tonumber(r) or 0 colors[2] = tonumber(g) or 0 colors[3] = tonumber(b) or 0 colors[4] = tonumber(a) or 1 self:UpdateBonusColor() return self end function ProgressBar:UpdateBonusColor() local r, g, b, a = self:GetBonusColor() for _, bar in pairs(self.buttons) do bar.bonus:SetStatusBarColor(r, g, b, a) end end function ProgressBar:GetBonusColor() local r, g, b, a = unpack(self.colors.bonus) return r or 0, g or 0, b or 0, a or 1 end function ProgressBar:SetBackgroundColor(r, g, b, a) local colors = self.colors.bg colors[1] = tonumber(r) or 0 colors[2] = tonumber(g) or 0 colors[3] = tonumber(b) or 0 colors[4] = tonumber(a) or 1 self.bg:SetVertexColor(self:GetBackgroundColor()) return self end function ProgressBar:GetBackgroundColor() local r, g, b, a = unpack(self.colors.bg) return r or 0, g or 0, b or 0, a or 1 end --[[ sizing ]]-- function ProgressBar:SetDesiredWidth(width) self.sets.width = width self:Layout() end function ProgressBar:GetDesiredWidth() return self.sets.width or 1024 end function ProgressBar:SetDesiredHeight(height) self.sets.height = height self:Layout() end function ProgressBar:GetDesiredHeight() return self.sets.height or 12 end --[[ segments ]]-- function ProgressBar:SetSegmentCount(count) count = tonumber(count) or 1 if count ~= self:GetSegmentCount() then self:SetNumButtons(count) self:UpdateValue() self:UpdateBonusValue() end end function ProgressBar:GetSegmentCount() return self:NumButtons() end function ProgressBar:NumColumns() return self:GetSegmentCount() end function ProgressBar:GetSegmentSize() local width = self:GetDesiredWidth() local height = self:GetDesiredHeight() local numButtons = self:NumButtons() local columns = self:NumColumns() local rows = math.ceil(numButtons / columns) local spacing = self:GetSpacing() -- subtract spacing between segments width = width - (spacing * (columns - 1)) -- divide by the number of columns width = (width / columns) -- subtract the spacing between segments height = height - (spacing * (rows - 1)) -- divide height by the number of rows height = (height / rows) return width, height end --[[ status bar texture ]]--- function ProgressBar:SetTextureID(textureID) if self.sets.texture ~= textureID then self.sets.texture = textureID self:UpdateTexture() end return self end function ProgressBar:GetTextureID() return self.sets.texture end function ProgressBar:GetSegmentTexture() return LibStub('LibSharedMedia-3.0'):Fetch('statusbar', self:GetTextureID()) end function ProgressBar:UpdateTexture() local texture = LibStub('LibSharedMedia-3.0'):Fetch('statusbar', self:GetTextureID()) for _, segment in pairs(self.buttons) do segment.bg:SetTexture(texture) segment.value:SetStatusBarTexture(texture) segment.bonus:SetStatusBarTexture(texture) end end --[[ text font ]]-- function ProgressBar:SetFontID(fontID) if self.sets.font ~= fontID then self.sets.font = fontID self:UpdateFont() end return self end function ProgressBar:GetFontID() return self.sets.font or 'Friz Quadrata TT' end function ProgressBar:UpdateFont() local newFont = LibStub('LibSharedMedia-3.0'):Fetch('font', self:GetFontID()) local oldFont, fontSize, fontFlags = self.text:GetFont() if newFont and newFont ~= oldFont then self.text:SetFont(newFont, fontSize, fontFlags) end end --[[ text display ]]-- -- always show text function ProgressBar:SetAlwaysShowText(enable) if self.sets.alwaysShowText ~= enable then self.sets.alwaysShowText = enable self:UpdateAlwaysShowText() end end function ProgressBar:GetAlwaysShowText() return self.sets.alwaysShowText end function ProgressBar:UpdateAlwaysShowText() if self:IsMouseOver() or self:GetAlwaysShowText() then self.text:Show() else self.text:Hide() end end function ProgressBar:SetDisplay(part, enable) if self.sets.display[part] ~= enable then self.sets.display[part] = enable or nil self:Update() end end function ProgressBar:Displaying(part) return self.sets.display[part] end -- compress values function ProgressBar:SetCompressValues(enable) if self.sets.compressValues ~= enable then self.sets.compressValues = enable self:Update() end end function ProgressBar:CompressValues() return self.sets.compressValues end --[[ rendering ]]-- function ProgressBar:Layout() local width, height = self:GetSegmentSize() for _, segment in pairs(self.buttons) do segment:SetSize(width, height) end Dominos.ButtonBar.Layout(self) end do local segmentPool = CreateFramePool('Frame') function ProgressBar:AcquireButton() local segment = segmentPool:Acquire() if not segment.value then local bg = segment:CreateTexture(nil, 'ARTWORK') bg:SetAllPoints(segment) segment.bg = bg local bonus = CreateFrame('StatusBar', nil, segment) bonus:SetMinMaxValues(0, 100) bonus:SetValue(0) bonus:EnableMouse(false) bonus:SetAllPoints(segment) segment.bonus = bonus local value = CreateFrame('StatusBar', nil, bonus) value:SetMinMaxValues(0, 100) value:SetValue(0) value:EnableMouse(false) value:SetAllPoints(bonus) segment.value = value end segment:SetSize(self:GetSegmentSize()) local r, g, b, a = self:GetColor() segment.bg:SetTexture(self:GetSegmentTexture()) segment.bg:SetVertexColor(r / 3, g / 3, b / 3, a) segment.value:SetStatusBarTexture(self:GetSegmentTexture()) segment.value:SetStatusBarColor(self:GetColor()) segment.bonus:SetStatusBarTexture(self:GetSegmentTexture()) segment.bonus:SetStatusBarColor(self:GetBonusColor()) return segment end function ProgressBar:ReleaseButton(button) segmentPool:Release(button) end end --[[ menu ]]-- do function ProgressBar:OnCreateMenu(menu) self:AddLayoutPanel(menu) self:AddTextPanel(menu) self:AddTexturePanel(menu) self:AddFontPanel(menu) menu:AddFadingPanel() menu:AddAdvancedPanel(true) end function ProgressBar:AddLayoutPanel(menu) local panel = menu:NewPanel(LibStub('AceLocale-3.0'):GetLocale('Dominos-Config').Layout) local l = LibStub('AceLocale-3.0'):GetLocale('Dominos-Progress') panel.segmentedCheckbox = panel:NewCheckButton{ name = l.Segmented, get = function() return panel.owner:GetSegmentCount() > 1 end, set = function(_, enable) local segmentCount = enable and 20 or 1 panel.owner:SetSegmentCount(segmentCount) end } panel.widthSlider = panel:NewSlider{ name = l.Width, min = 1, max = function() return math.ceil(_G.UIParent:GetWidth() / panel.owner:GetScale()) end, get = function() return panel.owner:GetDesiredWidth() end, set = function(_, value) panel.owner:SetDesiredWidth(value) end, } panel.heightSlider = panel:NewSlider{ name = l.Height, min = 1, max = function() return math.ceil(_G.UIParent:GetHeight() / panel.owner:GetScale()) end, get = function() return panel.owner:GetDesiredHeight() end, set = function(_, value) panel.owner:SetDesiredHeight(value) end, } panel.spacingSlider = panel:NewSpacingSlider() panel.paddingSlider = panel:NewPaddingSlider() panel.scaleSlider = panel:NewScaleSlider() end function ProgressBar:AddTextPanel(menu) local l = LibStub('AceLocale-3.0'):GetLocale('Dominos-Progress') local panel = menu:NewPanel(_G.DISPLAY) if #self.modes > 1 then panel:NewCheckButton{ name = l.AutoSwitchModes, get = function() return not panel.owner:IsModeLocked() end, set = function(_, enable) panel.owner:SetLockMode(not enable) end } end panel:NewCheckButton{ name = l.AlwaysShowText, get = function() return panel.owner:GetAlwaysShowText() end, set = function(_, enable) panel.owner:SetAlwaysShowText(enable) end } panel:NewCheckButton{ name = l.CompressValues, get = function() return panel.owner:CompressValues() end, set = function(_, enable) panel.owner:SetCompressValues(enable) end } for _, part in ipairs{'label', 'value', 'max', 'bonus', 'remaining', 'percent'} do panel:NewCheckButton{ name = l['Display_' .. part], get = function() return panel.owner:Displaying(part) end, set = function(_, enable) panel.owner:SetDisplay(part, enable) end } end return panel end function ProgressBar:AddFontPanel(menu) local l = LibStub('AceLocale-3.0'):GetLocale('Dominos-Progress') local panel = menu:NewPanel(l.Font) panel.fontSelector = Dominos.Options.FontSelector:New{ parent = panel, get = function() return panel.owner:GetFontID() end, set = function(_, value) panel.owner:SetFontID(value) end, } end function ProgressBar:AddTexturePanel(menu) local l = LibStub('AceLocale-3.0'):GetLocale('Dominos-Progress') local panel = menu:NewPanel(l.Texture) panel.textureSelector = Dominos.Options.TextureSelector:New{ parent = panel, get = function() return panel.owner:GetTextureID() end, set = function(_, value) panel.owner:SetTextureID(value) end, } end end Addon.ProgressBar = ProgressBar Addon.progressBarModes = Addon.progressBarModes or {}
data:extend({ { type = "item", name = "lo-storage-tank", icon = "__LoStorageTank__/graphics/icon/lo-storage-tank.png", icon_size = 32, flags = {"goes-to-quickbar"}, subgroup = "storage", order = "b[fluid]-b[lo-storage-tank]", place_result = "lo-storage-tank", stack_size = 10 }, { type = "item", name = "lo-storage-tank2", icon = "__LoStorageTank__/graphics/icon/lo-storage-tank2.png", icon_size = 32, flags = {"goes-to-quickbar"}, subgroup = "storage", order = "b[fluid]-b[lo-storage-tank]", place_result = "lo-storage-tank2", stack_size = 10 }, { type = "item", name = "lo-storage-tank3", icon = "__LoStorageTank__/graphics/icon/lo-storage-tank3.png", icon_size = 32, flags = {"goes-to-quickbar"}, subgroup = "storage", order = "b[fluid]-b[lo-storage-tank]", place_result = "lo-storage-tank3", stack_size = 10 }, })
-- Mesure la distance avec le module ultra-son de 15cm à 2m -- Attention le module à ultra-son doit être alimenté en 5V ! print("\n 0_ultra_son.lua zf200707.0717 \n") speed_air = 382 -- en m/s zlength_min = 12 -- en cm zlength_max = 56 -- en cm zlength_brut = 0 zlength = 33 zlength_1, zlength_2, zlength_3 = zlength,zlength,zlength znbmaxerr = 0 zlevel = 0 --Paramètres pour le module ultra son local ztrig=5 gpio.mode(ztrig, gpio.OUTPUT) local fast_write = gpio.write fast_write(ztrig, 0) local zecho=6 gpio.mode(zecho, gpio.INT, gpio.PULLUP) local fast_read = gpio.read local ultra_son_start, ultra_son_stop = 0,0 --Function pour envoyer la pulse function zmesure_pulse() gpio.serout(ztrig,gpio.HIGH,{3,1}) end --Fonction pour mesurer la pulse function zmesure() if fast_read(zecho)==1 then ultra_son_start=tmr.now() else ultra_son_stop=tmr.now() -- print("Delta: "..ultra_son_stop-ultra_son_start) -- zlength_brut = math.floor(speed_air*(ultra_son_stop-ultra_son_start)/2/10000) zlength_brut = (speed_air*(ultra_son_stop-ultra_son_start)/2/10000) zmes="bolo_ruru,capteur="..node_id.." hauteur_brute="..zlength_brut http_post(influxdb_url,zmes) -- if (zlength_brut>=4) and (zlength_brut<=65) then zlength = zlength_brut end if (math.abs(zlength_brut-zlength) < 10) or (znbmaxerr > 2) then zlength = zlength_brut znbmaxerr = 0 else znbmaxerr = znbmaxerr + 1 end zmes="bolo_ruru,capteur="..node_id.." hauteur_brute2="..zlength http_post(influxdb_url,zmes) zlength_3 = zlength_2 zlength_2 = zlength_1 zlength_1 = zlength -- zlength = math.floor((zlength_1+zlength_2+zlength_3)/3) zlength = ((zlength_1+zlength_2+zlength_3)/3) zlevel = 100-math.floor((zlength-zlength_min)/(zlength_max-zlength_min)*100) if verbose then print("Hauteur brute: "..zlength_brut.."cm, net: "..zlength.."cm , "..zlevel.."%") end end end gpio.trig(zecho,"both",zmesure) tmr_mesure=tmr.create() tmr_mesure:alarm(2*1000, tmr.ALARM_AUTO, zmesure_pulse) zmesure_pulse()
return {'oegaritisch','oeganda','oegandees','oegstgeest','oegstgeestenaar','oegstgeester','oegstgeests','oegema','oegaritische'}
--- Point a current element but lag behind for a smoother experience -- @classmod LagPointCamera local require = require(game:GetService("ReplicatedStorage"):WaitForChild("Nevermore")) local CameraState = require("CameraState") local SummedCamera = require("SummedCamera") local Spring = require("Spring") local LagPointCamera = {} LagPointCamera.ClassName = "LagPointCamera" LagPointCamera._FocusCamera = nil LagPointCamera._OriginCamera = nil --- -- @constructor -- @param OriginCamera A camera to use -- @param FocusCamera The Camera to look at. function LagPointCamera.new(OriginCamera, FocusCamera) local self = setmetatable({}, LagPointCamera) self.FocusSpring = Spring.new(Vector3.new()) self.OriginCamera = OriginCamera or error("Must have OriginCamera") self.FocusCamera = FocusCamera or error("Must have FocusCamera") self.Speed = 10 return self end function LagPointCamera:__add(other) return SummedCamera.new(self, other) end function LagPointCamera:__newindex(Index, Value) if Index == "FocusCamera" then rawset(self, "_" .. Index, Value) self.FocusSpring.Target = self.FocusCamera.CameraState.Position self.FocusSpring.Position = self.FocusSpring.Target self.FocusSpring.Velocity = Vector3.new(0, 0, 0) elseif Index == "OriginCamera" then rawset(self, "_" .. Index, Value) elseif Index == "LastFocusUpdate" or Index == "FocusSpring" then rawset(self, Index, Value) elseif Index == "Speed" or Index == "Damper" or Index == "Velocity" then self.FocusSpring[Index] = Value else error(Index .. " is not a valid member of LagPointCamera") end end function LagPointCamera:__index(Index) if Index == "State" or Index == "CameraState" or Index == "Camera" then local Origin, FocusPosition = self.Origin, self.FocusPosition local State = CameraState.new() State.FieldOfView = Origin.FieldOfView + self.FocusCamera.CameraState.FieldOfView State.CoordinateFrame = CFrame.new( Origin.Position, FocusPosition) return State elseif Index == "FocusPosition" then local Delta if self.LastFocusUpdate then Delta = tick() - self.LastFocusUpdate end self.LastFocusUpdate = tick() self.FocusSpring.Target = self.FocusCamera.CameraState.Position if Delta then self.FocusSpring:TimeSkip(Delta) end return self.FocusSpring.Position elseif Index == "Speed" or Index == "Damper" or Index == "Velocity" then return self.FocusSpring[Index] elseif Index == "Origin" then return self.OriginCamera.CameraState elseif Index == "FocusCamera" or Index == "OriginCamera" then return rawget(self, "_" .. Index) or error("Internal error: Index does not exist") else return LagPointCamera[Index] end end return LagPointCamera
supplyLimit("CaptureFrigate",12) supplyLimit("Carrier",4)
-- $Id: //depot/Projects/StarWars_Expansion/Run/Data/Scripts/AI/SpaceMode/GroundToSpaceDisable.lua#1 $ --///////////////////////////////////////////////////////////////////////////////////////////////// -- -- (C) Petroglyph Games, Inc. -- -- -- ***** ** * * -- * ** * * * -- * * * * * -- * * * * * * * * -- * * *** ****** * ** **** *** * * * ***** * *** -- * ** * * * ** * ** ** * * * * ** ** ** * -- *** ***** * * * * * * * * ** * * * * -- * * * * * * * * * * * * * * * -- * * * * * * * * * * ** * * * * -- * ** * * ** * ** * * ** * * * * -- ** **** ** * **** ***** * ** *** * * -- * * * -- * * * -- * * * -- * * * * -- **** * * -- --///////////////////////////////////////////////////////////////////////////////////////////////// -- C O N F I D E N T I A L S O U R C E C O D E -- D O N O T D I S T R I B U T E --///////////////////////////////////////////////////////////////////////////////////////////////// -- -- $File: //depot/Projects/StarWars_Expansion/Run/Data/Scripts/AI/SpaceMode/GroundToSpaceDisable.lua $ -- -- Original Author: Steve_Copeland -- -- $Author: Andre_Arsenault $ -- -- $Change: 37816 $ -- -- $DateTime: 2006/02/15 15:33:33 $ -- -- $Revision: #1 $ -- --///////////////////////////////////////////////////////////////////////////////////////////////// -- Self-attachment script for the Ion Canno, but currently a custom goal -- is the best tactic require("pgevents") function Definitions() DebugMessage("%s -- In Definitions", tostring(Script)) Category = "Ground_To_Space_Disable" IgnoreTarget = true TaskForce = { { "MainForce" ,"DenySpecialWeaponAttach" ,"DenyHeroAttach" ,"Ground_Ion_Cannon = 1" } } DebugMessage("%s -- Done Definitions", tostring(Script)) end function MainForce_Thread() BlockOnCommand(MainForce.Produce_Force()) -- Keep firing at the bigger (and probably slowest) enemies -- Add some variance, so that we can spread the effect around -- AITarget = FindTarget(MainForce, "Needs_Ion_Shot", "Enemy_Unit", 0.8) -- DebugMessage("%s -- Found Target %s", tostring(Script), tostring(AITarget)) -- Just fire once, because the effect isn't that useful to hit the same target in rapid succession if TestValid(AITarget) then MainForce.Fire_Special_Weapon("Ground_Ion_Cannon", AITarget) end Sleep(5) ScriptExit() end
package.path = package.path .. ';script/?.lua;tools/?.lua' local fs = require 'bee.filesystem' local util = require 'utility' local function loadLocaleFile(filePath) local fileContent = util.loadFile(filePath:string()) local data = { map = {}, list = {}, } if not fileContent then return data end local current local inLongString = false for line, lineCount in util.eachLine(fileContent) do if inLongString then current.content[#current.content+1] = line if line:sub(-2) == ']]' then inLongString = false end goto CONTINUE end local comment = line:match '%s*%-%- TODO.+$' if comment then line = line:sub(1, - #comment - 1) end local key, space = line:match '^(.-)(%s*)=%s*$' if key then current = { key = key, line = lineCount, space = space, comment = comment, content = {}, } if not data.map[key] then data.map[key] = current data.list[#data.list+1] = current end elseif current then if line:find '^%s*$' then current = nil else current.content[#current.content+1] = line if line:sub(1, 2) == '[[' then inLongString = true end end end ::CONTINUE:: end return data end local localeNames = {} for fullPath in fs.pairs(fs.path('locale')) do localeNames[#localeNames+1] = fullPath:filename():string() end local function mergeList(allKeys, list) local keyMap = {} local leftFix = 0 for i, data in ipairs(list) do local key = data.key local leftIndex = i + leftFix local left = allKeys[leftIndex] if not left then if not keyMap[key] then keyMap[key] = true allKeys[#allKeys+1] = key end goto CONTINUE end if left == key then goto CONTINUE end for j = leftIndex + 1, #allKeys do if allKeys[j] == key then leftFix = j - i goto CONTINUE end end for j = i + 1, #list do if list[j] == key then leftFix = j - i goto CONTINUE end end if not keyMap[key] then keyMap[key] = true table.insert(allKeys, leftIndex, key) end ::CONTINUE:: end end local function needSplit(key, lastKey) if not lastKey then return false end return key:match '%w+' ~= lastKey:match '%w+' end local function buildLocaleFile(localeName, allKeys, localeMap, fileName) local lines = {} local lastKey local blocks = {} local currentBlock = {} blocks[#blocks+1] = currentBlock for _, key in ipairs(allKeys) do if needSplit(key, lastKey) then currentBlock = {} blocks[#blocks+1] = currentBlock end lastKey = key currentBlock[#currentBlock+1] = key end if fileName == 'meta' then lines[#lines+1] = '---@diagnostic disable: undefined-global, lowercase-global' lines[#lines+1] = '' end if fileName == 'setting' then lines[#lines+1] = '---@diagnostic disable: undefined-global' lines[#lines+1] = '' end for _, block in ipairs(blocks) do for _, key in ipairs(block) do local data = localeMap[localeName].map[key] local comment if data then local needTranslate = false if localeName == 'en-us' then local utfLen = 0 local charLen = 0 for _, line in ipairs(data.content) do utfLen = utfLen + util.utf8Len(line) charLen = charLen + #line end if charLen > 0 and utfLen / charLen < 0.8 then needTranslate = true end else --if #data.content > 1 or #data.content[1] > 2 then -- local enContent = localeMap['en-us'].map[key] and localeMap['en-us'].map[key].content -- if enContent then -- needTranslate = #data.content == #enContent -- for i, line in ipairs(data.content) do -- if line ~= enContent[i] then -- needTranslate = false -- end -- end -- end --end end if needTranslate then comment = ' -- TODO: need translate!' end else data = localeMap['en-us'].map[key] or localeMap['zh-cn'].map[key] comment = ' -- TODO: need translate!' end lines[#lines+1] = key .. data.space .. '=' .. (comment or data.comment or '') for _, line in ipairs(data.content) do lines[#lines+1] = line end end lines[#lines+1] = '' end return table.concat(lines, '\n') end local function processFile(fileName) local allKeys = {} local localeMap = {} for _, localeName in ipairs(localeNames) do local localeData = loadLocaleFile(fs.path('locale') / localeName / (fileName .. '.lua')) localeMap[localeName] = localeData mergeList(allKeys, localeData.list) end for _, localeName in ipairs(localeNames) do local newContent = buildLocaleFile(localeName, allKeys, localeMap, fileName) util.saveFile((fs.path('locale') / localeName / (fileName .. '.lua')):string(), newContent) end end for _, fileName in ipairs { 'script', 'meta', 'setting' } do processFile(fileName) end
ottomanic:importFoldersOrFiles( "Import Folders or Files" ) return true
local Driver = require 'st.driver' local log = require 'log' local utils = require 'st.utils' local json = require 'dkjson' local capabilities = require 'st.capabilities' local socket = require 'cosock' local function disco(driver, opts, cont) print('starting disco', utils.stringify_table(opts)) local device_list = driver.device_api.get_device_list() if not next(device_list) and cont() then print('discovering a device') local device_info = { type = 'LAN', deviceNetworkId = string.format('%s', os.time()), label = 'debug-env', profileReference = 'debug-env.v1', vendorProvidedName = 'debug-env', } local device_info_json = json.encode(device_info) assert(driver.device_api.create_device(device_info_json)) end end function emit_state(driver, device) log.debug('Emitting state') device:emit_event(capabilities.switch.switch.off()) end local function debug_env(driver) log.debug(utils.stringify_table(_ENV, "_ENV", true)) log.debug(utils.stringify_table(driver.environment_info, "driver.environment_info", true)) end local driver = Driver('Debug Env', { discovery = disco, lifecycle_handlers = { init = emit_state, added = emit_state, deleted = function() log.debug("device deleted") end, }, capability_handlers = { [capabilities.switch.ID] = { [capabilities.switch.commands.on.NAME] = function(driver, device) log.info('Turn on') debug_env(driver) device:emit_event(capabilities.switch.switch.on()) end, [capabilities.switch.commands.off.NAME] = function(...) log.info('Turn Off') emit_state(...) end } } }) log.debug('Starting debug env Driver') debug_env(driver) driver:run()
local core = require "sys.core" local mysql = require "sys.db.mysql" local json = require "sys.json" local gateway = require "saux.gac2gasgatewayproxy" local pb = require "pb" local protoc = require "protoc" local socket = require "sys.socket" local db = require "DbMgr" local dateUtil = require "utils/dateutil" require "utils.tableutils" --[[ protoc:load ([==[ message rpc { optional string cmd = 1; optional string sign = 2; optional int64 sessionId = 3; optional string context = 4; } ]==]) --]] local function SendRpc(fd, cmd, context) if not context then core.log("no content to send") return end if type(context) ~= "table" then core.log("invalid context type") return end sign = tostring(os.time()) local data = { cmd = cmd, sign = sign, context = json.encode(context),-- 这里只是为了快速开发直接用了json,其实可以考虑protobuffer. } local bytes = assert(pb.encode("rpc", data)) print("Send rpc, data len", #bytes) socket.write(fd, string.pack("<I4", #bytes)..bytes) end local gas2gac_mt = { __index = function(table, key) local doSend = function(table, fd, context) print("send rpc ", key, table) SendRpc(fd, key, context) end return doSend end } local gac2gas local gas2gac local fd2sessionId = {} local localId = 0 local function Dispatch(fd, str) local rpcInfo = pb.decode("rpc",str) if not rpcInfo then core.log("decode rpc failed") return end local cmd = rpcInfo.cmd local rpcHandler = gac2gas[cmd] if not rpcHandler then core.log("rpc handler not found") return end core.log("rpc come in, cmd:", cmd) local requestArgs = json.decode(rpcInfo.context) if not requestArgs then core.log("rpc come in, invalid context, cmd:", cmd) return end rpcHandler(gac2gas, fd, requestArgs) core.log("handle rpc sucessfully. cmd:", cmd) return true end local tbl = {} function tbl:startService(Gac2Gas, Gas2Gac, protocal) protoc:load(protocal) gac2gas = Gac2Gas gas2gac = Gas2Gac setmetatable(Gas2Gac, gas2gac_mt) local addr = core.envget("port") core.log("gac2gas service start at:", addr) gateway.listen(addr, Dispatch) end return tbl
-- CHECKBOX goo.checkbox = class('goo checkbox', goo.object) goo.checkbox.image = {} function goo.checkbox:initialize(parent) super.initialize(self,parent) self:setSkin() self.checkState = 'unchecked' self.w = 16 self.h = 16 end function goo.checkbox:setSkin() goo.checkbox.image.unchecked = love.graphics.newImage( goo.skin..'checkbox_unchecked.png' ) goo.checkbox.image.checked = love.graphics.newImage( goo.skin..'checkbox_checked.png' ) end function goo.checkbox:draw(x,y) self:setColor( 255,255,255 ) love.graphics.draw(self.image[self.checkState], x, y) end function goo.checkbox:mousepressed(x,y,button) super.mousepressed(self,x,y,button) if self.checkState == 'checked' then self.checkState = 'unchecked' else self.checkState = 'checked' end end function goo.checkbox:isChecked() if self.checkState == 'checked' then return true else return false end end function goo.checkbox:setChecked(bool) if bool then self.checkState = 'checked' else self.checkState = 'unchecked' end end function goo.checkbox:updateBounds() local x,y = self:getAbsolutePos() self.bounds.x1 = x self.bounds.y1 = y self.bounds.x2 = self.image[self.checkState]:getWidth() + x self.bounds.y2 = self.image[self.checkState]:getHeight() + y end return goo.checkbox
local MODNAME = minetest.get_current_modname() local api = rawget(_G, MODNAME) function api.get_bullet_start_data(player) local look_dir = player:get_look_dir() local spawnpos = vector.offset(player:get_pos(), 0, player:get_properties().eye_height, 0) spawnpos = vector.add(spawnpos, player:get_eye_offset()) spawnpos = vector.add(spawnpos, vector.multiply(look_dir, 0.4)) return spawnpos, look_dir end function api.bulletcast(bullet, pos1, pos2, objects, liquids) minetest.add_particle({ pos = pos1, velocity = vector.multiply(vector.direction(pos1, pos2), bullet.particle_speed or 400), acceleration = {x=0, y=0, z=0}, expirationtime = 0.1, size = 1, collisiondetection = true, collision_removal = true, object_collision = objects, texture = bullet.texture or bullet, glow = bullet.glow or 0 }) local raycast = minetest.raycast(pos1, pos2, objects, liquids) local bulletcast = { raycast = raycast, hit_object_or_node = function(self, options) if not options then options = {} end for hitpoint in self.raycast do if hitpoint.type == "node" then if not options.node or options.node(minetest.registered_nodes[minetest.get_node(hitpoint.under).name]) then return hitpoint end elseif hitpoint.type == "object" then if not options.object or options.object(hitpoint.ref) then return hitpoint end end end end, } setmetatable(bulletcast, { __index = function(table, key) local not_raycast_func = rawget(table, key) if not_raycast_func then return not_raycast_func else return function(self, ...) local sraycast = rawget(self, "raycast") return sraycast[key](sraycast, ...) end end end, __call = function(table, ...) return rawget(table, "raycast")(...) end }) return bulletcast end function api.spread_bulletcast(bullet, pos1, pos2, objects, liquids) local rays = {} for i=1, bullet.amount or 1, 1 do rays[i] = api.bulletcast( bullet, pos1, vector.offset(pos2, math.random(-bullet.spread, bullet.spread), math.random(-bullet.spread, bullet.spread), math.random(-bullet.spread, bullet.spread) ), objects, liquids ) end return rays end
require ("lib.lclass.init") class "PlanetOverviewEndEvent" function PlanetOverviewEndEvent:PlanetOverviewEndEvent () end
local observable = require('rx.observable') local observer = require('rx.observer') return function(eventName) return observable(function(destination) local connection = Events.Connect( eventName, destination.next ) return function() connection:Disconnect() destination.complete() end end) end
local S = farming.intllib -- beetroot minetest.register_craftitem("farming:beetroot", { description = S("Beetroot"), inventory_image = "farming_beetroot.png", groups = {food_beetroot = 1, flammable = 2}, on_place = function(itemstack, placer, pointed_thing) return farming.place_seed(itemstack, placer, pointed_thing, "farming:beetroot_1") end, on_use = minetest.item_eat(1), }) -- beetroot soup minetest.register_craftitem("farming:beetroot_soup", { description = S("Beetroot Soup"), inventory_image = "farming_beetroot_soup.png", groups = {flammable = 2}, on_use = minetest.item_eat(6, "farming:bowl"), }) minetest.register_craft({ type = "shapeless", output = "farming:beetroot_soup", recipe = { "group:food_beetroot", "group:food_beetroot", "group:food_beetroot", "group:food_beetroot", "group:food_beetroot", "group:food_beetroot","group:food_bowl" } }) -- red dye minetest.register_craft({ type = "shapeless", output = "dye:red", recipe = {"group:food_beetroot"}, }) local crop_def = { drawtype = "plantlike", tiles = {"farming_beetroot_1.png"}, paramtype = "light", -- paramtype2 = "meshoptions", -- place_param2 = 3, sunlight_propagates = true, waving = 1, walkable = false, buildable_to = true, drop = "", selection_box = farming.select, groups = { snappy = 3, flammable = 2, plant = 1, attached_node = 1, not_in_creative_inventory = 1, growing = 1 }, sounds = default.node_sound_leaves_defaults() } -- stage 1 minetest.register_node("farming:beetroot_1", table.copy(crop_def)) -- stage 2 crop_def.tiles = {"farming_beetroot_2.png"} minetest.register_node("farming:beetroot_2", table.copy(crop_def)) -- stage 3 crop_def.tiles = {"farming_beetroot_3.png"} minetest.register_node("farming:beetroot_3", table.copy(crop_def)) -- stage 4 crop_def.tiles = {"farming_beetroot_4.png"} minetest.register_node("farming:beetroot_4", table.copy(crop_def)) -- stage 5 crop_def.tiles = {"farming_beetroot_5.png"} crop_def.groups.growing = 0 crop_def.drop = { max_items = 4, items = { {items = {"farming:beetroot"}, rarity = 1}, {items = {"farming:beetroot"}, rarity = 2}, {items = {"farming:beetroot"}, rarity = 3}, {items = {"farming:beetroot"}, rarity = 4}, } } minetest.register_node("farming:beetroot_5", table.copy(crop_def)) -- add to registered_plants farming.registered_plants["farming:beetroot"] = { crop = "farming:beetroot", seed = "farming:beetroot", minlight = 13, maxlight = 15, steps = 5 }
object_ship_yt1300_tier9 = object_ship_shared_yt1300_tier9:new { } ObjectTemplates:addTemplate(object_ship_yt1300_tier9, "object/ship/yt1300_tier9.iff")
if vim.g.vscode then return end -- change neovim's diagnostic signs -- credits: https://github.com/folke/trouble.nvim/issues/52 local icons = require('jonz94.icons') local signs = { -- for neovim 0.6+ DiagnosticSignError = icons.error, DiagnosticSignHint = icons.hint, DiagnosticSignInfo = icons.info, DiagnosticSignWarn = icons.warn, -- for neovim 0.5 LspDiagnosticsSignError = icons.error, LspDiagnosticsSignHint = icons.hint, LspDiagnosticsSignInformation = icons.info, LspDiagnosticsSignWarning = icons.warn, } for hl, icon in pairs(signs) do vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = hl }) end
local class = require "lib.middleclass" --- @class Cell --- @field new fun(self: Cell, x: integer, y: integer, size: integer) local Cell = class("Cell") --- @param x integer @ The x coordinate of the cell --- @param y integer @ The y coordinate of the cell --- @param size integer @ The size of the cell in pixels function Cell:initialize(x, y, size) self.x = x self.y = y self.size = size end --- Checks if two cells occupy the same coordinates --- @param other Cell @ The other cell --- @return boolean @ true if their coordinates match, false if not function Cell:equals(other) return self.x == other.x and self.y == other.y end --- Draws the cell (optionally coloured) --- @param colour table @ The colour to draw the cell with (default none) function Cell:draw(colour) if colour then love.graphics.setColor(colour) love.graphics.rectangle("fill", self.x, self.y, self.size, self.size) end love.graphics.setColor(0.4, 0.4, 0.4) love.graphics.rectangle("line", self.x, self.y, self.size, self.size) love.graphics.setColor(1, 1, 1) end return Cell
-- See LICENSE for terms return { PlaceObj("ModItemOptionToggle", { "name", "EnableVegetation", "DisplayName", T(302535920011694, "Enable Vegetation"), "Help", T(302535920011695, "Turn off to hide vegetation."), "DefaultValue", true, }), PlaceObj("ModItemOptionToggle", { "name", "ToggleBushes", "DisplayName", T(302535920011696, "Toggle Bushes"), "Help", T(302535920011697, "Also toggle bushes along with trees."), "DefaultValue", false, }), }
--# selene: allow(unused_variable) ---@diagnostic disable: unused-local -- Send messages via iMessage and SMS Relay (note, SMS Relay requires OS X 10.10 and an established SMS Relay pairing between your Mac and an iPhone running iOS8) -- -- Note: This extension works by controlling the OS X "Messages" app via AppleScript, so you will need that app to be signed into an iMessage account ---@class hs.messages local M = {} hs.messages = M -- Sends an iMessage -- -- Parameters: -- * targetAddress - A string containing a phone number or email address registered with iMessage, to send the iMessage to -- * message - A string containing the message to send -- -- Returns: -- * None function M.iMessage(targetAddress, message, ...) end -- Sends an SMS using SMS Relay -- -- Parameters: -- * targetNumber - A string containing a phone number to send an SMS to -- * message - A string containing the message to send -- -- Returns: -- * None function M.SMS(targetNumber, message, ...) end
--[[ First, we need to lay out the concepts of how I think roblox events work. Roblox's management on the surface works like this: ‣ Instance ‣ Event (RBXScriptSignal) ‣ Connect ‣ Connection Data (RBXScriptConnection) ‣ Connected ‣ Disconnect ‣ Wait That looks pretty simple, but that's only on the surface, internally we need to be able to fire the connections. Obviously I don't have the internal source code for Roblox and how everything works, kinda. So here's my theory on how events work. ‣ Object ‣ Ripple (Much like one person, but exists across different timelines) ‣ Processor (One per event copy of an object) ‣ Connect ‣ Connection ‣ Connected ‣ Disconnect ‣ Wait ‣ Ripple Handler (We can modify the ripple across different spaces at once) ‣ GetConnections ‣ DisconnectConnections ‣ FireConnections ‣ GetDisconnections ‣ Connection Handlers (Connects to ‣ Connection) (There can be multiple connections per ripple) ‣ Disconnect (‣ Connection ‣ Disconnect) ‣ Connected (‣ Connection ‣ Disconnect) ‣ GetCallback ‣ SetCallback ‣ FireCallback PerProcessor ‣ Object ‣ RippleName ‣ Connections ]] --[[ 0 - no edit 1 - readonly 2 - writeonly 3 - read+writeonly ]] local API = { Mode = 0; }; local Ripples = {}; local RipplesCache = {}; local ConnectionsCache = {}; --connection cache for managers local ProcessorCache = {}; local PerProcessor = {}; API.Ripples = Ripples; local RippleOptions = { GetProcessorConnections = function(self, className) local Processors = self.Object.Processors; return Processors[className]; end; FireRippleProcessorConnections = function(self, obj, ...) local ProcessorObject = API:GetProcessorObject(obj); local Connections = ProcessorObject[self.Name]; if (Connections ~= nil) then for i = 1, #Connections do local Connection = Connections[i]; if (Connection.Connected == true) then local Manager = API:ManageConnection(Connection); Manager:FireCallback(...); end; end; end; end; FireProcessorConnections = function(self, className, ...) local Processors = self.Object.Processors; local ClassProcessor = Processors[className]; if (ClassProcessor ~= nil) then for i = 1, #ClassProcessor do local Connection = ClassProcessor[i]; if (Connection.Connected == true) then local Manager = API:ManageConnection(Connection); Manager:FireCallback(...); end; end; end; end; DisconnectProcessorConnections = function(self, className) local Processors = self.Object.Processors; local ClassProcessor = Processors[className]; if (ClassProcessor ~= nil) then for i = 1, #ClassProcessor do local Connection = ClassProcessor[i]; if (Connection.Connected == true) then Connection:Disconnect(); end; end; end; end; GetConnections = function(self) local All = self.Object.Connections; local Valid = {}; for i = 1, #All do local Connection = All[i]; if (Connection.Connected == true) then table.insert(Valid, Connection); end; end; return Valid; end; DisconnectConnections = function(self) local All = self.Object.Connections; for i = 1, #All do local Connection = All[i]; if (Connection.Connected == true) then Connection:Disconnect(); end; end; end; FireConnections = function(self, ...) local All = self.Object.Connections; for i = 1, #All do local Connection = All[i]; if (Connection.Connected == true) then local Manager = API:ManageConnection(Connection); Manager:FireCallback(...); end; end; end; }; local ConnectionOptions = { Disconnect = function(self) self.Object:Disconnect(); end; Connected = function(self) return self.Object.Connected; end; GetCallback = function(self) if (API.Mode == 1 and self.Object.LoveId ~= false) then return love.handlers[self.Object.LoveId]; end; return self.Callback; end; SetCallback = function(self, Callback) if (API.Mode == 1 and self.Object.LoveId ~= false) then love.handlers[self.Object.LoveId] = Callback; else self.Callback = Callback; end; end; FireCallback = function(self, ...) if (API.Mode == 1 and self.Object.LoveId ~= false and self.Object.Connected == true and API:LoveHandlerExists(self.Object.LoveId) == true) then love.event.push(self.Object.LoveId, ...); elseif (self.Callback ~= nil and self.Object.Connected == true) then self.Callback(...); end; end; }; API.FireClassRipple = function(self, RippleName, ClassName, ...) local Manage = self:ManageRipple(RippleName); if (Manage ~= nil) then Manage:FireProcessorConnections(ClassName, ...); end; end; API.FireObjectRipple = function(self, RippleName, obj, ...) local Manage = self:ManageRipple(RippleName); if (Manage ~= nil) then Manage:FireRippleProcessorConnections(Obj, ...); end; end; API.FireRipple = function(self, RippleName, ...) local Manage = self:ManageRipple(RippleName); if (Manage ~= nil) then Manage:FireConnections(...); end; end; API.GetProcessorObject = function(self, obj) local PerObject = PerProcessor[obj]; if (PerObject == nil) then PerObject = {}; PerProcessor[obj] = PerObject; end; return PerObject; end; API.LoveHandlerExists = function(self, id) local ran, result = pcall(function() return love.handlers[id] ~= nil; end); return result; end; API.AttachProcessor = function(self, classObject, name) if (ProcessorCache[classObject] ~= nil and ProcessorCache[classObject][name] ~= nil) then print'found old'; return ProcessorCache[classObject][name]; end; --something must be wrong here local RippleData = Ripples[name]; if (RippleData ~= nil and classObject ~= nil) then local Processors = RippleData.Processors; local className = classObject.ClassName; local ClassProcessor = Processors[className]; if (ClassProcessor == nil) then ClassProcessor = {}; Processors[className] = ClassProcessor; end; local Proxy = CustomTypes:createType('Processor'); CustomTypes:forceNewIndex(Proxy, 'Ripple', RippleData.Object); CustomTypes:forceNewIndex(Proxy, 'Object', classObject); local CacheObject = ProcessorCache[classObject]; if (CacheObject == nil) then CacheObject = {}; ProcessorCache[classObject] = CacheObject; end; CacheObject[name] = Proxy; local PerObject = PerProcessor[classObject]; if (PerObject == nil) then PerObject = {}; PerProcessor[classObject] = PerObject; end; if (PerObject[name] == nil) then PerObject[name] = {}; end; return Proxy; end; end; API.TearRipple = function(self, name) if (Ripples[name] ~= nil) then return Ripples[name].Object; end; local Object = CustomTypes:createType('Ripple'); CustomTypes:forceNewIndex(Object, 'Name', name); Ripples[name] = { Object = Object; Processors = {}; Connections = {}; }; return Object; end; API.ManageConnection = function(self, obj) --there is only one per connection so we can rereference it if (ConnectionsCache[obj] ~= nil) then return ConnectionsCache[obj]; end; local Options = { Object = obj; Records = {}; }; for i, v in next, ConnectionOptions do Options[i] = v; end; ConnectionsCache[obj] = Options; return Options; end; API.ManageRipple = function(self, name) if (RipplesCache[name] ~= nil) then return RipplesCache[name]; end; local Object = Ripples[name]; --make sure ripple is registered if (Object ~= nil) then local Options = { Name = name; Object = Object; }; for i, v in next, RippleOptions do Options[i] = v; end; RipplesCache[name] = Options; return Options; end; end; Ripple = API;
--[[ modify from skynet by colin ]] local debug = debug local table = table local FUNC_TEMP=[[ local $ARGS return function(...) $SOURCE end, function() return {$LOCALS} end ]] local temp = {} local function wrap_locals(co, source, level, ext_funcs) if co == coroutine.running() then level = level + 3 end local f = debug.getinfo(co, level,"f").func if f == nil then return false, "Invalid level" end local uv = {} local locals = {} local uv_id = {} local local_id = {} if ext_funcs then for k,v in pairs(ext_funcs) do table.insert(uv, k) end end local i = 1 while true do local name, value = debug.getlocal(co, level, i) if name == nil then break end if name:byte() ~= 40 then -- '(' table.insert(uv, name) table.insert(locals, ("[%d]=%s,"):format(i,name)) local_id[name] = value end i = i + 1 end local i = 1 while true do local name = debug.getupvalue(f, i) if name == nil then break end uv_id[name] = i table.insert(uv, name) i = i + 1 end temp.ARGS = table.concat(uv, ",") temp.SOURCE = source temp.LOCALS = table.concat(locals) local full_source = FUNC_TEMP:gsub("%$(%w+)",temp) local loader, err = load(full_source, "=(debug)") if loader == nil then return false, err end local func, update = loader() -- join func's upvalues local i = 1 while true do local name = debug.getupvalue(func, i) if name == nil then break end if ext_funcs then local v = ext_funcs[name] if v then debug.setupvalue(func, i, v) end end local local_value = local_id[name] if local_value then debug.setupvalue(func, i, local_value) end local upvalue_id = uv_id[name] if upvalue_id then debug.upvaluejoin(func, i, f, upvalue_id) end i=i+1 end local vararg, v = debug.getlocal(co, level, -1) if vararg then local vargs = { v } local i = 2 while true do local vararg,v = debug.getlocal(co, level, -i) if vararg then vargs[i] = v else break end i=i+1 end return func, update, table.unpack(vargs) else return func, update end end local function concat_result(...) local tmp = table.pack(...) for i=1,tmp.n do tmp[i] = tostring(tmp[i]) end -- table.insert(tmp, "\n") return table.concat(tmp, "\t") end local function exec(co, level, func, update, ...) if not func then return false, update end if co == coroutine.running() then level = level + 2 end local rets = table.pack(pcall(func, ...)) if rets[1] then local needupdate = update() for k,v in pairs(needupdate) do debug.setlocal(co, level,k,v) end return true, concat_result(table.unpack(rets, 2, rets.n)) else return false, rets[2] end end return function (source, co, level, ext_funcs) co = co or coroutine.running() level = level or 0 return exec(co, level, wrap_locals(co, source, level, ext_funcs)) end
local main_menu local game local lib main_menu = { event = { ["state_changed"] = function(self, event) print("main menu enter!") love.graphics.setBackgroundColor(0, 0, 0) self.play_button.font = game._c.font.menu_button self.quit_button.font = game._c.font.menu_button game.state:set_state("title") --game._c.sound.title_music:play() end, ["state_changing"] = function(self, event) print("main menu leave!") game._c.sound.title_music:stop() end, ["draw"] = function(self, event) self.ui:draw(event) end, ["mousedown"] = function(self, event) self.ui:mousedown(event) end }, init = function(self, engine) lib = engine.lib game = lib.tsr.game self.ui = lib.ui.ui_container:new() local play_button = self.ui:add(lib.ui.text_button:new()) self.play_button = play_button play_button.text = "Play!" play_button.x = 40 play_button.height = 40 game.dbind:lock_percent(play_button, {"height", "y"}, 0.3) game.dbind:lock_percent(play_button, "width", 1, -80) local quit_button = self.ui:add(lib.ui.text_button:new()) self.quit_button = quit_button quit_button.text = "Quit" quit_button.x = 40 quit_button.height = 40 game.dbind:lock_percent(quit_button, {"height", "y"}, 0.3, 50) game.dbind:lock_percent(quit_button, "width", 1, -80) play_button.event_mousedown_in:connect(function(event) game.state:set_state("game_intro") end) quit_button.event_mousedown_in:connect(function(event) engine:quit() end) end } return main_menu
-- A jousting ship. Starts the battle by strafing to the side to avoid the -- initial collision, then tries to stay away from the dangerous edges of the -- stage while otherwise moving directly at the enemy. ship = nil world = nil function init(shipRef, worldArg) ship = shipRef world = worldArg ship:setName("Jouster") ship:setShipColor(255, 0, 0) ship:setLaserColor(100, 100, 100) ship:setThrusterColor(255, 0, 0) end above = nil function run(enemyShips) local enemyShip = enemyShips[1] if (below == nil) then if (ship:y() < enemyShip.y) then below = 1 else below = -1 end end if (world:time() <= 8) then ship:fireThruster((math.pi / 2) * -below, 1) elseif (world:time() <= 16) then ship:fireThruster((math.pi / 2) * below, 1) else local upwards local saving = false if (ship:speed() > 5) then local sinHeading = math.sin(ship:heading()) local yOffset = ship:y() - (world:height() / 2) if ((sinHeading > 0.2 and yOffset > 25) or yOffset > 50) then saving = true upwards = -1 elseif ((sinHeading < -0.2 and yOffset < -25) or yOffset < -50) then saving = true upwards = 1 end end if (saving) then ship:fireThruster((math.pi / 2) * upwards, 1) else angleToEnemy = math.atan2(enemyShip.y - ship:y(), enemyShip.x - ship:x()) ship:fireThruster(angleToEnemy, 1) end end end
local months = {Jan = 1, Feb = 2, Mar = 3, Apr = 4, May = 5, Jun = 6, Jul = 7, Aug = 8, Sep = 9, Oct = 10, Nov = 11, Dec = 12} function pacman_b_filter(line, start) local t = {string.match(line, '%[(%d+)-(%d+)-(%d+) (%d+):(%d+)')} local b = false if #t == 5 then local lt = os.time{year=t[1], month=t[2], day=t[3], hour=t[4], min=t[5], sec=0} b = lt >= start end return b end function pacman_e_filter(line, stop) local t = {string.match(line, '%[(%d+)-(%d+)-(%d+) (%d+):(%d+)')} local b = true if #t == 5 then local lt = os.time{year=t[1], month=t[2], day=t[3], hour=t[4], min=t[5], sec=0} b = lt <= stop end return b end function syslog_b_filter(line, start) local t = {string.match(line, '(%w+)%s+(%d+)%s+(%d+):(%d+):(%d+)')} local b = false if #t == 5 then local y = os.date('%Y', os.time()) local lt = os.time{year=y, month=months[t[1]], day=t[2], hour=t[3], min=t[4], sec=t[5]} b = lt >= start end return b end function syslog_e_filter(line, stop) local t = {string.match(line, '(%w+)%s+(%d+)%s+(%d+):(%d+):(%d+)')} local b = true if #t == 5 then local y = os.date('%Y', os.time()) local lt = os.time{year=y, month=months[t[1]], day=t[2], hour=t[3], min=t[4], sec=t[5]} b = lt <= stop end return b end function dmesg_b_filter(line, start) local t = {string.match(line, '(%d+)-(%d+)-(%d+)T(%d+):(%d+):(%d+)')} local b = false if #t == 6 then local lt = os.time{year=t[1], month=t[2], day=t[3], hour=t[4], min=t[5], sec=t[6]} b = lt >= start end return b end function dmesg_e_filter(line, stop) local t = {string.match(line, '(%d+)-(%d+)-(%d+)T(%d+):(%d+):(%d+)')} local b = true if #t == 6 then local lt = os.time{year=t[1], month=t[2], day=t[3], hour=t[4], min=t[5], sec=t[6]} b = lt <= stop end return b end function journald_filter(line, start) return true end
-- -- tests/config/test_links.lua -- Test the list of linked objects retrieval function. -- Copyright (c) 2012-2013 Jason Perkins and the Premake project -- local suite = test.declare("config_links") local config = premake.config -- -- Setup and teardown -- local wks, prj function suite.setup() premake.action.set("test") _OS = "windows" wks, prj = test.createWorkspace() end local function prepare(kind, part, linkage) cfg = test.getconfig(prj, "Debug") return config.getlinks(cfg, kind, part, linkage) end -- -- If no links are present, should return an empty table. -- function suite.emptyResult_onNoLinks() local r = prepare("all", "object") test.isequal(0, #r) end -- -- System libraries which include path information are made project relative. -- function suite.pathMadeRelative_onSystemLibWithPath() location "build" links { "../libs/z" } local r = prepare("all", "fullpath") test.isequal({ "../../libs/z" }, r) end -- -- Handle the case where the library extension has been explicitly -- included in the link statement. -- function suite.skipsExtension_onExplicitExtension() system "windows" links { "user32.lib" } local r = prepare("all", "fullpath") test.isequal({ "user32.lib" }, r) end -- -- Check handling of shell variables in library paths. -- function suite.variableMaintained_onLeadingVariable() system "windows" location "build" links { "$(LOCAL_DEV_PATH)/sdk/lib/DEVMAPI" } local r = prepare("all", "fullpath") test.isequal({ "$(LOCAL_DEV_PATH)/sdk/lib/DEVMAPI" }, r) end function suite.variableMaintained_onQuotedVariable() system "windows" location "build" links { '"$(LOCAL_DEV_PATH)/sdk/lib/DEVMAPI.lib"' } local r = prepare("all", "fullpath") test.isequal({ '"$(LOCAL_DEV_PATH)/sdk/lib/DEVMAPI.lib"' }, r) end -- -- If fetching directories, the libdirs should be included in the result. -- function suite.includesLibDirs_onDirectories() libdirs { "../libs" } local r = prepare("all", "directory") test.isequal({ "../libs" }, r) end -- -- Managed C++ projects should ignore links to managed assemblies, which -- are designated with an explicit ".dll" extension. -- function suite.skipsAssemblies_onManagedCpp() system "windows" clr "On" links { "user32", "System.dll" } local r = prepare("all", "fullpath") test.isequal({ "user32" }, r) end -- -- When explicitly requesting managed links, any unmanaged items in the -- list should be ignored. -- function suite.skipsUnmanagedLibs_onManagedLinkage() system "windows" clr "On" links { "user32", "System.dll" } local r = prepare("all", "fullpath", "managed") test.isequal({ "System.dll" }, r) end -- -- Managed projects can link to other managed projects, and unmanaged -- projects can link to unmanaged projects. -- function suite.canLink_CppAndCpp() links { "MyProject2" } project "MyProject2" kind "StaticLib" language "C++" local r = prepare("all", "fullpath") test.isequal({ "bin/Debug/MyProject2.lib" }, r) end function suite.canLink_CsAndCs() language "C#" links { "MyProject2" } project "MyProject2" kind "SharedLib" language "C#" local r = prepare("all", "fullpath") test.isequal({ "bin/Debug/MyProject2.dll" }, r) end function suite.canLink_ManagedCppAndManagedCpp() clr "On" links { "MyProject2" } project "MyProject2" kind "StaticLib" language "C++" clr "On" local r = prepare("all", "fullpath") test.isequal({ "bin/Debug/MyProject2.lib" }, r) end function suite.canLink_ManagedCppAndCs() clr "On" links { "MyProject2" } project "MyProject2" kind "SharedLib" language "C#" local r = prepare("all", "fullpath") test.isequal({ "bin/Debug/MyProject2.dll" }, r) end -- -- Managed and unmanaged projects can not link to each other. -- function suite.ignoreLink_CppAndCs() links { "MyProject2" } project "MyProject2" kind "SharedLib" language "C#" local r = prepare("all", "fullpath") test.isequal({}, r) end
local bind = {} -- bind options function bind.bind_option(options) for k, v in pairs(options) do if v == true or v == false then vim.api.nvim_command("set " .. k) else vim.api.nvim_command("set " .. k .. "=" .. v) end end end return bind
local PLUGIN = PLUGIN PLUGIN.name = "Hidden Stash System Spawning" PLUGIN.author = "verne" PLUGIN.desc = "Simple autospawning hidestash system." PLUGIN.stashspawnpoints = PLUGIN.stashspawnpoints or {} ix.util.Include("sh_definitions.lua") if SERVER then local spawntime = 1 function PLUGIN:ItemShouldSave(entity) return (!entity.generated) end function PLUGIN:LoadData() self.stashspawnpoints = self:GetData() or {} end function PLUGIN:SaveData() self:SetData(self.stashspawnpoints) end --[[ function PLUGIN:GetPointFromCategory(category) if(!isstring(category)) then return end self.stashspawnpoints[category] = self.stashspawnpoints[category] or {} return table.Random(self.stashspawnpoints[category]) end ]]-- function PLUGIN:GetPoint() self.stashspawnpoints = self.stashspawnpoints or {} return table.Random(self.stashspawnpoints) end else netstream.Hook("nut_DisplayStashSpawnPoints", function(data) for i=1, #data do local emitter = ParticleEmitter( data[i] ) local smoke = emitter:Add( "sprites/glow04_noz", data[i] ) smoke:SetVelocity( Vector( 0, 0, 1 ) ) smoke:SetDieTime(10) smoke:SetStartAlpha(255) smoke:SetEndAlpha(255) smoke:SetStartSize(64) smoke:SetEndSize(64) smoke:SetColor(255,186,50) smoke:SetAirResistance(300) end end) netstream.Hook("nut_DisplayStashSpawnPointsSingle", function(data) local stashmaterial = Material("vgui/icons/stash.png", "smooth noclamp") local emitter = ParticleEmitter( data ) local smoke = emitter:Add( stashmaterial, data ) smoke:SetVelocity( Vector( 0, 0, 1 ) ) smoke:SetDieTime(10) smoke:SetStartAlpha(255) smoke:SetEndAlpha(255) smoke:SetStartSize(2) smoke:SetEndSize(2) smoke:SetColor(255,255,255) smoke:SetAirResistance(300) end) end --[[ ix.command.Add("stashspawntest", { adminOnly = true, arguments = { ix.type.text, }, OnRun = function(self, client, category) local stashcontent = "CONTENT: " local trace = client:GetEyeTraceNoCursor() local hitpos = trace.HitPos + trace.HitNormal*5 local mt = 0 local loot = table.Random(PLUGIN.StashItems[category]) local spawnpoint = table.Random(PLUGIN.stashspawnpoints) ix.plugin.list["hidestash"]:SpawnStash(spawnpoint, { loot[1], loot[2] }) for i = 1, #loot[1] do stashcontent = stashcontent..", "..loot[i][1] client:Notify( "You hid ".. loot[i][1] ) end ix.log.Add(client, "command", "created a stash at x:"..spawnpoint.x.." y:"..spawnpoint.y.." z:"..spawnpoint.z.." with "..stashcontent) mt = mt + 1 if mt > 0 then --ix.chat.Send(client, "iteminternal", "hides something away.", false) end end }) ]]-- ix.command.Add("stashspawneradd", { superAdminOnly = true, arguments = { ix.type.text, }, OnRun = function(self, client, text) local trace = client:GetEyeTraceNoCursor() local hitpos = trace.HitPos + trace.HitNormal*5 local text = text PLUGIN.stashspawnpoints = PLUGIN.stashspawnpoints or {} table.insert( PLUGIN.stashspawnpoints, {hitpos, text} ) client:Notify( "You added a hidden stash spawner." ) end }) ix.command.Add("stashspawnerremove", { superAdminOnly = true, arguments = { ix.type.number, }, OnRun = function(self, client, radius) local trace = client:GetEyeTraceNoCursor() local hitpos = trace.HitPos + trace.HitNormal*5 local range = radius or 128 local mt = 0 for k, v in pairs( PLUGIN.stashspawnpoints ) do local distance = v[1]:Distance( hitpos ) if distance <= tonumber(range) then PLUGIN.stashspawnpoints[k] = nil mt = mt + 1 end end client:Notify( "You have removed "..mt.." stash spawners." ) end }) ix.command.Add("stashspawnerdisplay", { adminOnly = true, OnRun = function(self, client, arguments) if SERVER then local data = {} for k, v in pairs(PLUGIN.stashspawnpoints) do table.insert(data, v[1]) end netstream.Start(client, "nut_DisplayStashSpawnPoints", data) client:Notify( "Displayed all stash spawners for 10 secs." ) end end })
return { version = "1.5", luaversion = "5.1", tiledversion = "1.8.4", orientation = "orthogonal", renderorder = "right-down", width = 32, height = 24, tilewidth = 40, tileheight = 40, nextlayerid = 5, nextobjectid = 14, properties = {}, tilesets = { { name = "alley", firstgid = 1, filename = "../tilesets/alley.tsx" } }, layers = { { type = "tilelayer", x = 0, y = 0, width = 32, height = 24, id = 1, name = "Tile Layer 1", visible = true, opacity = 1, offsetx = 0, offsety = 0, parallaxx = 1, parallaxy = 1, properties = {}, encoding = "lua", data = { 259, 260, 261, 259, 260, 260, 260, 260, 260, 260, 260, 260, 261, 259, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 261, 259, 260, 260, 261, 259, 260, 261, 259, 260, 261, 289, 290, 290, 290, 290, 290, 290, 290, 290, 291, 259, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 261, 259, 260, 260, 261, 259, 260, 261, 259, 260, 261, 289, 290, 290, 290, 290, 290, 290, 290, 290, 291, 259, 260, 260, 260, 260, 260, 260, 260, 260, 260, 260, 261, 259, 260, 260, 261, 259, 260, 261, 259, 260, 261, 307, 305, 305, 305, 305, 305, 305, 305, 305, 306, 289, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 291, 259, 260, 260, 261, 289, 290, 290, 259, 260, 261, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 289, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 291, 259, 260, 260, 261, 289, 290, 290, 259, 260, 261, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 307, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 306, 259, 260, 260, 261, 289, 290, 290, 259, 260, 261, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 259, 260, 260, 261, 68, 68, 68, 259, 260, 261, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 259, 260, 260, 261, 68, 68, 68, 259, 260, 261, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 244, 245, 245, 245, 245, 246, 244, 245, 245, 246, 68, 68, 259, 260, 260, 261, 244, 245, 246, 259, 260, 261, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 259, 260, 260, 260, 260, 261, 259, 260, 260, 261, 68, 68, 259, 260, 260, 261, 259, 260, 261, 259, 260, 261, 244, 245, 245, 245, 245, 245, 245, 245, 245, 246, 259, 260, 260, 260, 260, 261, 259, 260, 260, 261, 68, 68, 259, 260, 260, 261, 259, 260, 261, 259, 260, 261, 259, 260, 260, 260, 260, 260, 260, 260, 260, 261, 259, 260, 260, 260, 260, 261, 259, 260, 260, 261, 68, 68, 259, 260, 260, 261, 259, 260, 261, 259, 260, 261, 259, 260, 260, 260, 260, 260, 260, 260, 260, 261, 259, 260, 260, 260, 260, 261, 259, 260, 260, 261, 68, 68, 259, 260, 260, 261, 259, 260, 261, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 260, 260, 260, 261, 289, 290, 290, 291, 68, 68, 289, 290, 290, 291, 259, 260, 261, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 260, 260, 260, 261, 289, 290, 290, 291, 68, 68, 289, 290, 290, 291, 259, 260, 261, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 260, 260, 260, 261, 307, 305, 305, 306, 68, 68, 307, 305, 305, 306, 259, 260, 261, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 260, 260, 260, 261, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 259, 260, 261, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 260, 260, 260, 261, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 259, 260, 261, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 260, 260, 260, 261, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 259, 260, 261, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 260, 260, 260, 261, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 259, 260, 261, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 260, 260, 260, 261, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 259, 260, 261, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 260, 260, 260, 261, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 259, 260, 261, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 260, 260, 260, 261, 244, 245, 245, 245, 245, 245, 245, 245, 245, 246, 259, 260, 261, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 260, 260, 260, 261, 259, 260, 260, 260, 260, 260, 260, 260, 260, 261, 259, 260, 261 } }, { type = "objectgroup", draworder = "topdown", id = 4, name = "ref", visible = true, opacity = 1, offsetx = 0, offsety = 0, parallaxx = 1, parallaxy = 1, properties = {}, objects = { { id = 7, name = "", type = "", shape = "rectangle", x = 0, y = 0, width = 640, height = 480, rotation = 0, visible = true, properties = {} }, { id = 8, name = "", type = "", shape = "rectangle", x = 640, y = 480, width = 640, height = 480, rotation = 0, visible = true, properties = {} } } }, { type = "objectgroup", draworder = "topdown", id = 2, name = "objects", visible = true, opacity = 1, offsetx = 0, offsety = 0, parallaxx = 1, parallaxy = 1, properties = {}, objects = { { id = 1, name = "cameratarget", type = "", shape = "rectangle", x = 120, y = 160, width = 400, height = 240, rotation = 0, visible = true, properties = { ["marker"] = "target1", ["time"] = 0.66 } }, { id = 10, name = "cameratarget", type = "", shape = "rectangle", x = 760, y = 512, width = 400, height = 368, rotation = 0, visible = true, properties = { ["marker"] = "target2" } }, { id = 11, name = "cameratarget", type = "", shape = "rectangle", x = 716, y = 100, width = 482, height = 357, rotation = 0, visible = true, properties = { ["lockx"] = false, ["marker"] = "target3" } } } }, { type = "objectgroup", draworder = "topdown", id = 3, name = "markers", visible = true, opacity = 1, offsetx = 0, offsety = 0, parallaxx = 1, parallaxy = 1, properties = {}, objects = { { id = 4, name = "target1", type = "", shape = "point", x = 320, y = 240, width = 0, height = 0, rotation = 0, visible = true, properties = {} }, { id = 9, name = "target2", type = "", shape = "point", x = 960, y = 720, width = 0, height = 0, rotation = 0, visible = true, properties = {} }, { id = 12, name = "target3", type = "", shape = "point", x = 960, y = 240, width = 0, height = 0, rotation = 0, visible = true, properties = {} }, { id = 13, name = "spawn", type = "", shape = "point", x = 320, y = 280, width = 0, height = 0, rotation = 0, visible = true, properties = {} } } } } }
expose('addon', function() local versions = { 'Vanilla', 'TBC', 'Mainline', } for _, version in ipairs(versions) do describe(version, function() it('runs', function() local api = require('wowless.runner').run({ otherAddonDirs = { 'addon/Wowless' }, version = version, }) assert.True(api.env.WowlessTestsDone) assert.same({}, api.env.WowlessTestFailures) assert.same(0, api.GetErrorCount()) end) end) end end)
local ReplicatedStorage = game:GetService("ReplicatedStorage") local module = {} -- FIXME: These should be surfaced to top-level APIs local WeaponsClient = require(ReplicatedStorage.Packages.Chickynoid.Client.WeaponsClient) local EffectsModule = require(ReplicatedStorage.Packages.Chickynoid.Client.Effects) function module:Setup(_client) --You can also handle this directly in the weapon, if you feel like it WeaponsClient.OnBulletImpact:Connect(function(_client, event) --WeaponModule if event.n then if event.m == 0 then local effect = EffectsModule:SpawnEffect("ImpactWorld", event.p) local cframe = CFrame.lookAt(event.p, event.p + event.n) effect.CFrame = cframe end if event.m == 1 then local effect = EffectsModule:SpawnEffect("ImpactPlayer", event.p) local cframe = CFrame.lookAt(event.p, event.p + event.n) effect.CFrame = cframe end end --we didn't fire it, play the fire effect if event.player.userId ~= game.Players.LocalPlayer.UserId then --Do some local effects local origin = event.o local vec = (event.p - event.o).Unit local clone = EffectsModule:SpawnEffect("Tracer", origin + vec * 2) clone.CFrame = CFrame.lookAt(origin, origin + vec) end end) end function module:Step(_client, _deltaTime) end return module
local _, private = ... if private.isClassic then return end --[[ Lua Globals ]] -- luacheck: globals select --[[ Core ]] local Aurora = private.Aurora local Base = Aurora.Base local Hook, Skin = Aurora.Hook, Aurora.Skin local Color = Aurora.Color do --[[ AddOns\Blizzard_LookingForGuildUI.lua ]] function Hook.LookingForGuildFrame_CreateUIElements() Skin.ButtonFrameTemplate(_G.LookingForGuildFrame) Skin.LookingForGuildFrameTemplate(_G.LookingForGuildFrame) Skin.LookingForGuildStartFrameTemplate(_G.LookingForGuildStartFrame) Skin.LookingForGuildBrowseFrameTemplate(_G.LookingForGuildBrowseFrame) Skin.LookingForGuildAppsFrameTemplate(_G.LookingForGuildAppsFrame) end end do --[[ FrameXML\Blizzard_LookingForGuildUI.xml ]] Skin.LookingForGuildCheckButtonTemplate = Skin.UICheckButtonTemplate function Skin.LookingForGuildSectionTemplate(Frame) end local paramToRole = { [8] = "iconTANK", [9] = "iconHEALER", [10] = "iconDAMAGER", } function Skin.LookingForGuildRoleTemplate(Button) Button.cover:SetColorTexture(0, 0, 0) Base.SetTexture(Button:GetNormalTexture(), paramToRole[Button.param]) Skin.UICheckButtonTemplate(Button.checkButton) Button.checkButton:SetPoint("BOTTOMLEFT", -4, -4) end function Skin.LookingForGuildGuildTemplate(Button) local name = Button:GetName() Base.SetBackdrop(Button, Color.button) local bg = Button:GetBackdropTexture("bg") bg:SetPoint("TOPLEFT", 0, -1) bg:SetPoint("BOTTOMRIGHT", 0, 1) Button.selectedTex:SetColorTexture(Color.white.r, Color.white.g, Color.white.b, Color.frame.a) Button.border:SetSize(38, 38) Button.border:SetPoint("TOPLEFT", Button.tabard) _G[name.."Ring"]:Hide() Button.pendingFrame.pendingTex:SetAllPoints() _G[name.."Highlight"]:SetColorTexture(Color.highlight.r, Color.highlight.g, Color.highlight.b, Color.frame.a) end function Skin.LookingForGuildAppTemplate(Button) Base.SetBackdrop(Button, Color.button) local bg = Button:GetBackdropTexture("bg") bg:SetPoint("TOPLEFT", 0, -1) bg:SetPoint("BOTTOMRIGHT", 0, 1) Button:GetHighlightTexture():SetColorTexture(Color.highlight.r, Color.highlight.g, Color.highlight.b, Color.frame.a) end function Skin.LookingForGuildFrameTemplate(Frame) _G.LookingForGuildFrameTabardBackground:Hide() _G.LookingForGuildFrameTabardEmblem:Hide() _G.LookingForGuildFrameTabardBorder:Hide() Skin.TabButtonTemplate(_G.LookingForGuildFrameTab1) Skin.TabButtonTemplate(_G.LookingForGuildFrameTab2) Skin.TabButtonTemplate(_G.LookingForGuildFrameTab3) end function Skin.LookingForGuildStartFrameTemplate(Frame) Skin.LookingForGuildSectionTemplate(_G.LookingForGuildInterestFrame) Skin.LookingForGuildCheckButtonTemplate(_G.LookingForGuildQuestButton) Skin.LookingForGuildCheckButtonTemplate(_G.LookingForGuildRaidButton) Skin.LookingForGuildCheckButtonTemplate(_G.LookingForGuildDungeonButton) Skin.LookingForGuildCheckButtonTemplate(_G.LookingForGuildPvPButton) Skin.LookingForGuildCheckButtonTemplate(_G.LookingForGuildRPButton) Skin.LookingForGuildSectionTemplate(_G.LookingForGuildAvailabilityFrame) Skin.LookingForGuildCheckButtonTemplate(_G.LookingForGuildWeekdaysButton) Skin.LookingForGuildCheckButtonTemplate(_G.LookingForGuildWeekendsButton) Skin.LookingForGuildSectionTemplate(_G.LookingForGuildRolesFrame) Skin.LookingForGuildRoleTemplate(_G.LookingForGuildTankButton) Skin.LookingForGuildRoleTemplate(_G.LookingForGuildHealerButton) Skin.LookingForGuildRoleTemplate(_G.LookingForGuildDamagerButton) Skin.LookingForGuildSectionTemplate(_G.LookingForGuildCommentFrame) Base.SetBackdrop(_G.LookingForGuildCommentInputFrame) for i = 1, 9 do select(i, _G.LookingForGuildCommentInputFrame:GetRegions()):Hide() end Skin.MagicButtonTemplate(_G.LookingForGuildBrowseButton) end function Skin.LookingForGuildBrowseFrameTemplate(Frame) Skin.HybridScrollBarTemplate(_G.LookingForGuildBrowseFrameContainerScrollBar) Skin.MagicButtonTemplate(_G.LookingForGuildRequestButton) end function Skin.LookingForGuildAppsFrameTemplate(Frame) Skin.MagicButtonTemplate(_G.LookingForGuildBrowseButton) end end function private.AddOns.Blizzard_LookingForGuildUI() _G.hooksecurefunc("LookingForGuildFrame_CreateUIElements", Hook.LookingForGuildFrame_CreateUIElements) end
AddCSLuaFile() local PLAYER_META = FindMetaTable("Player") if SERVER then function GM:GetSpectatorTargets() return team.GetPlayers( LAMBDA_TEAM_ALIVE ) end function PLAYER_META:SetSpectator() local ent = table.Random( GAMEMODE:GetSpectatorTargets() ) self:SetNW2Bool("Spectator", true) self:SetNW2Entity("SpectateEntity", ent) self:StripWeapons() if self:Alive() then self:KillSilent() end self:Spectate( 5 ) if IsValid(ent) then self:SpectateEntity(ent) end end function PLAYER_META:EndSpectator() self:SetNW2Bool("Spectator", false) self:UnSpectate() end function PLAYER_META:GetSpectateMode() return self:GetObserverMode() end function PLAYER_META:GetSpectateTarget() return self:GetObserverTarget() end function PLAYER_META:ChangeSpectateMode() local target = self:GetObserverTarget() if self:GetSpectateMode() == 5 then self:SetObserverMode( 4 ) self:SetupHands( target ) elseif self:GetSpectateMode() == 4 then self:SetObserverMode( 5 ) self:SetupHands( nil ) end end hook.Add( "KeyPress", "ChangeObserverMode", function( ply, key ) if !ply:IsSpectator() then return end if key == IN_JUMP then ply:ChangeSpectateMode() end if key == IN_ATTACK then ply:NextSpectateTarget() end if key == IN_ATTACK2 then ply:PrevSpectateTarget() end end) function GM:GetNextSpectateTarget( ply, ent ) local targets = GAMEMODE:GetSpectatorTargets() return table.FindNext( targets, ent) end function GM:GetPrevSpectateTarget( ply, ent ) local targets = GAMEMODE:GetSpectatorTargets() return table.FindPrev( targets, ent ) end local function IsValidTarget( ply, ent ) if !IsValid( ent ) then return false end if ent == ply then return false end if !ent:Alive() then return false end return true end function PLAYER_META:NextSpectateTarget() local target = self:GetObserverTarget() target = GAMEMODE:GetNextSpectateTarget( self, target ) if IsValidTarget( self, target ) then self:SpectateEntity( target ) if self:GetSpectateMode() == 4 then self:SetupHands( target ) end else return end end function PLAYER_META:PrevSpectateTarget() local target = self:GetObserverTarget() target = GAMEMODE:GetPrevSpectateTarget( self, target ) if IsValidTarget( self, target ) then self:SpectateEntity( target ) if self:GetSpectateMode() == 4 then self:SetupHands( target ) end else return end end end -- SERVER function PLAYER_META:IsSpectator() return self:GetNW2Bool("Spectator", false) end
-- Tiled local pages = {isDownloadable = true, pageNum=1 } return pages
local lib = _3DreamEngine local notInitError = "Transform not initialized, call reset() at least once." local I = mat4:getIdentity() local class = { } function class:reset() self.transform = I return self end function class:setTransform(t) self.transform = t self.inverseTransform = false self.dynamic = true return self end function class:getTransform() return self.transform end function class:translate(x, y, z) self.transform = (self.transform or I):translate(x, y, z) self.inverseTransform = false self.dynamic = true return self end function class:scale(x, y, z) self.transform = (self.transform or I):scale(x, y, z) self.inverseTransform = false self.dynamic = true return self end function class:rotateX(rx) self.transform = (self.transform or I):rotateX(rx) self.inverseTransform = false self.dynamic = true return self end function class:rotateY(ry) self.transform = (self.transform or I):rotateY(ry) self.inverseTransform = false self.dynamic = true return self end function class:rotateZ(rz) self.transform = (self.transform or I):rotateZ(rz) self.inverseTransform = false self.dynamic = true return self end function class:setDirection(normal, up) self.transform = lib:lookInDirection(normal, up):invert() self.inverseTransform = false self.dynamic = true return self end function class:getInvertedTransform() if not self.inverseTransform then self.inverseTransform = self.transform:invert() end return self.inverseTransform end function class:setDynamic(dynamic) self.dynamic = dynamic or false end function class:isDynamic() return self.dynamic end return class
-- 테이블을 문자열로 local Table_to_str = {} local esc = function(s) local ic = {'\\', '"', "'", '\a', '\b', '\f', '\n', '\r', '\t', '\v'} local oc = {'\\', '"', "'", 'a', 'b', 'f', 'n', 'r', 't', 'v'} for i, c in ipairs(ic) do s = s:gsub(c, '\\'..oc[i]) end return s end local keyname = function(k) if k ~= k:match('^[%a_][%a%d_]*') then return '["'..k..'"]' end return k end Table_to_str.to_lang = function(obj, lang) if lang == 'json' then return Table_to_str.to_json(obj) end if lang == 'luaon' then return Table_to_str.to_luaon(obj) end end Table_to_str.to_json = function(obj, as_key) local s = {} local t = type(obj) if t == 'table' and type(obj.__self) == 'userdata' and obj.object_name then return '"'..obj.object_name..'"' elseif t == 'table' and not as_key then s[#s + 1] = '{' for k, v in pairs(obj) do if #s > 1 then s[#s + 1] = ', ' end s[#s + 1] = Table_to_str.to_json(k, true) s[#s + 1] = ': ' s[#s + 1] = Table_to_str.to_json(v) end s[#s + 1] = '}' return table.concat(s) elseif t == 'string' then return '"'..esc(obj)..'"' elseif t == 'number' then if as_key then return '"'..tostring(obj)..'"' end return tostring(obj) elseif t == 'boolean' then if as_key then return '"'..tostring(obj)..'"' end return tostring(obj) elseif t == 'nil' then if as_key then return '"null"' end return 'null' else if as_key then return '"'..t..'"' end return t end end Table_to_str.to_luaon = function(obj, as_key) local s = {} local t = type(obj) if t == 'table' and type(obj.__self) == 'userdata' and obj.object_name then if as_key then return '["'..obj.object_name..'"]' end return '"'..obj.object_name..'"' elseif t == 'table' then if as_key then s[#s + 1] = '[' end s[#s + 1] = '{' for k, v in pairs(obj) do if #s > 1 then s[#s + 1] = ', ' end s[#s + 1] = Table_to_str.to_luaon(k, true) s[#s + 1] = '= ' s[#s + 1] = Table_to_str.to_luaon(v) end s[#s + 1] = '}' if as_key then s[#s + 1] = ']' end return table.concat(s) elseif t == 'string' then if as_key then return keyname(esc(obj)) end return '"'..esc(obj)..'"' elseif t == 'number' then if as_key then return '['..tostring(obj)..']' end return tostring(obj) elseif t == 'boolean' then if as_key then return '['..tostring(obj)..']' end return tostring(obj) elseif t == 'nil' then if as_key then return '[nil]' end return 'nil' else if as_key then return '['..t..']' end return t end end Table_to_str.to_key_raw_string = function(obj) local s = {} local t = type(obj) if t == 'table' and type(obj.__self) == 'userdata' and obj.object_name then return obj.object_name elseif t == 'table' then s[#s + 1] = '{' for k, v in pairs(obj) do if #s > 1 then s[#s + 1] = ', ' end s[#s + 1] = Table_to_str.to_luaon(k, true) s[#s + 1] = '= ' s[#s + 1] = Table_to_str.to_luaon(v) end s[#s + 1] = '}' return table.concat(s) elseif t == 'string' then return obj elseif t == 'number' then return tostring(obj) elseif t == 'boolean' then return tostring(obj) elseif t == 'nil' then return 'nil' else return t end end Table_to_str.to_richtext = function(obj, as_key) local s = {} local t = type(obj) if t == 'table' and type(obj.__self) == 'userdata' and obj.object_name then if as_key then return '[[color=blue]'..obj.object_name..'[/color]]' end return '[color=blue]'..obj.object_name..'[/color]' elseif t == 'table' then if as_key then s[#s + 1] = '[' end s[#s + 1] = '{' for k, v in pairs(obj) do if #s > 1 then s[#s + 1] = ', ' end s[#s + 1] = Table_to_str.to_richtext(k, true) s[#s + 1] = '=' s[#s + 1] = Table_to_str.to_richtext(v) end s[#s + 1] = '}' if as_key then s[#s + 1] = ']' end return table.concat(s) elseif t == 'string' then if as_key then return keyname(esc(obj)) end return '"[color=1,0.7,1,1]'..esc(obj)..'[/color]"' elseif t == 'number' then if as_key then return '[[color=1,1,0.7,1]'..tostring(obj)..'[/color]]' end return '[color=1,1,0.7,1]'..tostring(obj)..'[/color]' elseif t == 'boolean' then if as_key then return '[[color=0.7,1,0.7,1]'..tostring(obj)..'[/color]]' end return '[color=0.7,1,0.7,1]'..tostring(obj)..'[/color]' elseif t == 'nil' then if as_key then return '[[color=0.7,0.7,0.7,1]nil[/color]]' end return '[color=0.7,0.7,0.7,1]nil[/color]' else if as_key then return '[[color=1,0.3,0.3,1]'..t..'[/color]]' end return '[color=1,0.3,0.3,1]'..t..'[/color]' end end Table_to_str.path_to_lua_prop_path = function(path_tbl, front_to_remote_call) local s = {} local t local key_name for i, v in ipairs(path_tbl) do if front_to_remote_call and i == 1 then if v:match('^[*]()') then s[#s + 1] = v:match('^[*](.*)')..'' elseif v:match('^_G:()') then s[#s + 1] = 'remote.call("__'..v:match('^_G:(.*)')..'__gvv","_G")' else s[#s + 1] = 'remote.call("__'..v..'__gvv","global")' end else t = type(v) if t == 'table' then s[#s + 1] = Table_to_str.to_luaon(v, true) elseif t == 'string' then key_name = keyname(esc(v)) if not key_name:match('^[[]') and i > 1 then s[#s + 1] = '.' end s[#s + 1] = key_name elseif t == 'number' then s[#s + 1] = '['..tostring(v)..']' elseif t == 'boolean' then s[#s + 1] = '['..tostring(v)..']' elseif t == 'nil' then s[#s + 1] = '[nil]' else s[#s + 1] = '['..t..']' end end end return table.concat(s) end Table_to_str.key_to_str = function(k) local t = type(k) if t == 'table' then return Table_to_str.to_luaon(k, true) elseif t == 'string' then return keyname(esc(k)) elseif t == 'number' then return '['..tostring(k)..']' elseif t == 'boolean' then return '['..tostring(k)..']' elseif t == 'nil' then return '[nil]' else return '['..t..']' end end local table_part_value_to_str = function(v) local s = {'{'} for k in pairs(v) do local kt = type(k) if #s > 1 then s[#s + 1] = ', ' end if kt == 'string' then s[#s + 1] = keyname(esc(k)) elseif kt == 'number' then s[#s + 1] = '['..tostring(k)..']' elseif kt == 'boolean' then s[#s + 1] = '['..tostring(k)..']' elseif kt == 'nil' then s[#s + 1] = '['..tostring(k)..']' else s[#s + 1] = '['..tostring(k)..']' end end s[#s + 1] = '}' return table.concat(s) end Table_to_str.value_to_str = function(v) local t = type(v) if t == 'table' and type(v.__self) == 'userdata' and v.object_name then local name = v.object_name if name == 'LuaCustomTable' then return name..' #'..tostring(#v)..' '..table_part_value_to_str(v) elseif name == 'LuaFluidBox' or name == 'LuaInventory' or name == 'LuaTransportLine' then return name..' #'..tostring(#v) elseif name == 'LuaLazyLoadedValue' and v.valid then return name..' '..Table_to_str.value_to_str(v.get()) end return name elseif t == 'table' then return '#'..tostring(table_size(v))..' '..table_part_value_to_str(v) elseif t == 'string' then return '“'..v..'”' elseif t == 'number' then return tostring(v) elseif t == 'boolean' then return tostring(v) elseif t == 'nil' then return 'nil' else return t end end return Table_to_str
require "util" require "library.constants" require "library.mathlibs" --/c game.local_player.surface.create_entity({name="medium-explosion", position=game.local_player.position, force=game.local_player.force}) --local newExplosion = util.table.deepcopy(data.raw.explosion["medium-explosion"]) --newExplosion.name = "new-medium-explosion" --newExplosion.created_effect = nil --data:extend({newExplosion}) --pressure_to_speed_ratio flow_to_energy_ratio, max_push_amount and ratio_to_push --speed = columnDiff * fluidPrototype->pressureToSpeedRatio + connection.flowEnergy - oppositeConnection.flowEnergy; --max_push_amount = 1 --ratio_to_push= 2.1 --[03:02:23] <Rseding91> Are they named? --[03:02:32] <Rseding91> It's just table indexing. --[03:02:37] <Rseding91> If they're named, add in the new names. --[03:02:42] <Rseding91> If they're numbered, use insert. --[03:36:41] <Rseding91> un-named: data.raw.player.something = {{height=2}, {height=3}, {height=4}} --[03:36:46] <Rseding91> each table is un-named --[03:37:03] <Rseding91> named: data.raw.player.something = {entry1={height=2}, entry2={height=3}, entry3={height=4}} --[03:37:08] <Rseding91> each one is named local task_names = {} local task_to_index = {} local task_default_states = {} local logging = false script.on_init(function() global.TickerA = 59 global.ROSTER = global.ROSTER or {} global.ACTIVE = global.ACTIVE or {} global.dirty= {} global.dirty[game.tick+54000] = true global.fluidProperties = {} --Instantiate fluidProperties --Fluid physical properties {type = {Default Temperature, Max Temperature, Heat Capacity}} --Default Temperature in C as defined in prototype.fluid --Max Temperature in C as defined in prototype.fluid --Heat Capacity in KJ/C as defined in prototype.fluid --Pressurised Water at 16.6 MPa, 350C has specific isobar heat capacity of 10.0349 kJ/(kg K) --Water at 101325 Pa, 15C has specific isobar heat capacity of 4.1891 kJ / kg K --Superheated steam at 6.5 MPa, 350C has specific isobar heat capacity of 2.9561 kJ/(kg K) --Saturated steam at 0.1 MPa, 100C has specific isobar heat capacity steam of 2.0759 kJ/(kg K) , specific isobar heat capacity water of 4.2161 kJ/(kg K) for fluid_name,fluid_properties in pairs(game.fluid_prototypes) do --game.print(fluid..","..game.fluid_prototypes[fluid].default_temperature..","..game.fluid_prototypes[fluid].max_temperature..","..game.fluid_prototypes[fluid].heat_capacity/1000) global.fluidProperties[fluid_name] = { [1] = fluid_properties.default_temperature, [2] = fluid_properties.max_temperature, [3] = (fluid_properties.heat_capacity / 1000) } end -- game.write_file("/UraniumPower/fluid.txt", serpent.block(global.fluidProperties)) initialize_tasks_table() end) function version_is_older_than(v1,v2) if v1 and v2 then local n1 = string.gsub(v1,"%.","") local n2 = string.gsub(v2,"%.","") n1 = tonumber(n1) n2 = tonumber(n2) if (n1 < n2) then return true else return false end end return false end script.on_configuration_changed(function(event) global.TickerA = global.TickerA or 59 global.ROSTER = global.ROSTER or {} global.ACTIVE = global.ACTIVE or {} global.fluidProperties = {} for fluid_name,fluid_properties in pairs(game.fluid_prototypes) do --game.print(fluid..","..game.fluid_prototypes[fluid].default_temperature..","..game.fluid_prototypes[fluid].max_temperature..","..game.fluid_prototypes[fluid].heat_capacity/1000) global.fluidProperties[fluid_name] = { [1] = fluid_properties.default_temperature, [2] = fluid_properties.max_temperature, [3] = (fluid_properties.heat_capacity / 1000) } end -- game.write_file("/UraniumPower/fluid.txt", serpent.block(global.fluidProperties)) if event.mod_changes["UraniumPower"] ~= nil then local v1 = event.mod_changes["UraniumPower"].old_version if version_is_older_than(v1,"0.5.1") then -- Initialize a new row in old reactors if global.LReactorAndChest ~= nil then for k,LReactorandChest in pairs(global.LReactorAndChest) do LReactorandChest[5] = LReactorandChest[5] or 0 end end game.print("Applied UraniumPower 0.5.1 changes") end if version_is_older_than(v1,"0.5.2") then -- Initialize a new row in old reactors if global.LReactorAndChest ~= nil then for k,LReactorandChest in pairs(global.LReactorAndChest) do LReactorandChest[5] = LReactorandChest[5] or 0 end end -- Heat Exchanger global table migration global.oldheatExchanger = global.oldheatExchanger or {} if global.LHeatExchanger ~= nil then for k,LHeatExchanger in ipairs(global.LHeatExchanger) do table.insert(global.oldheatExchanger, LHeatExchanger) table.remove(global.LHeatExchanger, k) end end game.print("Applied UraniumPower 0.5.2 changes") end if version_is_older_than(v1,"0.6.0") then if global.LReactorAndChest ~= nil then for k,LReactorandChest in pairs(global.LReactorAndChest) do LReactorandChest[6] = LReactorandChest[6] or false end end game.print("Applied UraniumPower 0.6.0 changes") end if version_is_older_than(v1,"0.6.6") then if global.LReactorAndChest ~= nil then for _,entityrecord in pairs(global.LReactorAndChest) do local reactor = entityrecord[1] entityrecord["record"] = { [1] = { ["id"] = reactor.unit_number, ["position"] = { ["x"] = reactor.position.x, ["y"] = reactor.position.y }, ["name"] = reactor.name, ["direction"] = reactor.direction, ["type"] = game.entity_prototypes[reactor.name].type }, [2] = { ["id"] = entityrecord[2].unit_number, ["position"] = { ["x"] = entityrecord[2].position.x, ["y"] = entityrecord[2].position.y }, ["name"] = entityrecord[2].name, ["direction"] = entityrecord[2].direction, ["type"] = game.entity_prototypes[entityrecord[2].name].type }, ["surfacename"] = reactor.surface.name, ["force"] = reactor.force } entityrecord[1] = { [1] = reactor, [2] = reactor.fluidbox } entityrecord["update"] = { [1] = {["use_roster"] = true, ["active"] = false, ["ticked"] = false, ["ticked_on"] = 0, ["return_state"] = nil, ["frequency"] = 60, ["task"] = "inspect_reactor"}, [2] = {["use_roster"] = true, ["active"] = false, ["ticked"] = false, ["ticked_on"] = 0, ["return_state"] = nil, ["frequency"] = 1, ["task"] = "add_reactor_energy"} } table.insert(global.ROSTER, entityrecord) end global.LReactorAndChest = nil end if global.steamGenerators ~= nil then for _,entityrecord in pairs(global.steamGenerators) do local steamGenerator = entityrecord[1] local hotLegBox = entityrecord[3] local coldLegBox = entityrecord[4] entityrecord["record"] = { [1] = { ["id"] = steamGenerator.unit_number, ["position"] = { ["x"] = steamGenerator.position.x, ["y"] = steamGenerator.position.y }, ["name"] = steamGenerator.name, ["direction"] = steamGenerator.direction, ["type"] = game.entity_prototypes[steamGenerator.name].type }, [2] = { ["id"] = entityrecord[2].unit_number, ["position"] = { ["x"] = entityrecord[2].position.x, ["y"] = entityrecord[2].position.y }, ["name"] = entityrecord[2].name, ["direction"] = entityrecord[2].direction, ["type"] = game.entity_prototypes[entityrecord[2].name].type }, [3] = { ["id"] = hotLegBox.unit_number, ["position"] = { ["x"] = hotLegBox.position.x, ["y"] = hotLegBox.position.y }, ["name"] = hotLegBox.name, ["direction"] = hotLegBox.direction, ["type"] = game.entity_prototypes[hotLegBox.name].type }, [4] = { ["id"] = coldLegBox.unit_number, ["position"] = { ["x"] = coldLegBox.position.x, ["y"] = coldLegBox.position.y }, ["name"] = coldLegBox.name, ["direction"] = coldLegBox.direction, ["type"] = game.entity_prototypes[coldLegBox.name].type }, ["surfacename"] = steamGenerator.surface.name, ["force"] = steamGenerator.force } entityrecord[1] = { [1] = steamGenerator, [2] = steamGenerator.fluidbox } entityrecord[3] = { [1] = hotLegBox, [2] = hotLegBox.fluidbox } entityrecord[4] = { [1] = coldLegBox, [2] = coldLegBox.fluidbox } entityrecord["update"] = { [1] = {["use_roster"] = true, ["active"] = false, ["ticked"] = false, ["ticked_on"] = 0, ["frequency"] = 60, ["return_state"] = nil, ["task"] = "high_pressure_steam_generation"} } table.insert(global.ROSTER, entityrecord) end global.steamGenerators = nil end if global.turbineGenerators ~= nil then for _,entityrecord in pairs(global.turbineGenerators) do local turbineGenerator = entityrecord[1] local lowPressureSteamBox = entityrecord[2] local coldLegBox = entityrecord[3] local coolingWaterBox = entityrecord[4] entityrecord["record"] = { [1] = { ["id"] = turbineGenerator.unit_number, ["position"] = { ["x"] = turbineGenerator.position.x, ["y"] = turbineGenerator.position.y }, ["name"] = turbineGenerator.name, ["direction"] = turbineGenerator.direction, ["type"] = game.entity_prototypes[turbineGenerator.name].type }, [2] = { ["id"] = lowPressureSteamBox[1].unit_number, ["position"] = { ["x"] = lowPressureSteamBox[1].position.x, ["y"] = lowPressureSteamBox[1].position.y }, ["name"] = lowPressureSteamBox[1].name, ["direction"] = lowPressureSteamBox[1].direction, ["type"] = game.entity_prototypes[lowPressureSteamBox[1].name].type }, [3] = { ["id"] = coldLegBox.unit_number, ["position"] = { ["x"] = coldLegBox.position.x, ["y"] = coldLegBox.position.y }, ["name"] = coldLegBox.name, ["direction"] = coldLegBox.direction }, [4] = { ["id"] = coolingWaterBox.unit_number, ["position"] = { ["x"] = coolingWaterBox.position.x, ["y"] = coolingWaterBox.position.y }, ["name"] = coolingWaterBox.name, ["direction"] = coolingWaterBox.direction, ["type"] = game.entity_prototypes[coolingWaterBox.name].type }, ["surfacename"] = turbineGenerator.surface.name, ["force"] = turbineGenerator.force } entityrecord[1] = { [1] = turbineGenerator, [2] = turbineGenerator.fluidbox } entityrecord[2] = { [1] = { [1] = lowPressureSteamBox[1], [2] = lowPressureSteamBox[1].fluidbox }, [2] = lowPressureSteamBox[2], [3] = lowPressureSteamBox[3] } entityrecord[3] = { [1] = coldLegBox, [2] = coldLegBox.fluidbox } entityrecord[4] = { [1] = coolingWaterBox, [2] = coolingWaterBox.fluidbox } entityrecord["update"] = { [1] = {["use_roster"] = true, ["active"] = false, ["ticked"] = false, ["ticked_on"] = 0, ["frequency"] = 60, ["return_state"] = nil, ["task"] = "low_pressure_steam_condensation"}, [2] = {["use_roster"] = true, ["active"] = false, ["ticked"] = false, ["ticked_on"] = 0, ["frequency"] = 1, ["return_state"] = nil, ["task"] = "calculate_generator_power_output"} } table.insert(global.ROSTER, entityrecord) end global.turbineGenerators = nil end if global.oldheatExchanger ~= nil then for _,entityrecord in pairs(global.oldheatExchanger) do local entity = entityrecord[1] local box1 = entityrecord[2] local box2 = entityrecord[3] entityrecord["record"] = { [1] = { ["id"] = entity.unit_number, ["position"] = { ["x"] = entity.position.x, ["y"] = entity.position.y }, ["type"] = game.entity_prototypes[entity.name].type }, ["surfacename"] = entity.surface.name, ["force"] = entity.force } entityrecord[1] = { [1] = entity } entityrecord[2] = { [1] = box1, [2] = box1.fluidbox } entityrecord[3] = { [1] = box2, [2] = box2.fluidbox } entityrecord["update"] = { [1] = {["use_roster"] = true, ["active"] = false, ["ticked"] = false, ["ticked_on"] = 0, ["frequency"] = 5, ["return_state"] = nil, ["task"] = "wall_heat_exchange"} } table.insert(global.ROSTER, entityrecord) end global.oldheatExchanger = nil end if global.NHeatExchanger ~= nil then for _,entityrecord in pairs(global.NHeatExchanger) do local recipeHeatExchanger = { ["record"] = { [1] = { ["id"] = entityrecord[1].unit_number, ["position"] = { ["x"] = entityrecord[1].position.x, ["y"] = entityrecord[1].position.y }, ["type"] = game.entity_prototypes[entityrecord[1].name].type }, ["surfacename"] = entityrecord[1].surface.name, ["force"] = entityrecord[1].force }, [1] = { [1] = entityrecord[1], [2] = entityrecord[1].fluidbox }, ["update"] = { [1] = {["use_roster"] = true, ["active"] = false, ["ticked"] = false, ["ticked_on"] = 0, ["frequency"] = 5, ["return_state"] = nil, ["task"] = "recipe_heat_exchange_crafting_progress"}, [2] = {["use_roster"] = false, ["active"] = false, ["ticked"] = false, ["ticked_on"] = 0, ["frequency"] = 1, ["return_state"] = nil, ["task"] = "recipe_heat_exchange"} } } if entityrecord[1].get_inventory(defines.inventory.fuel).is_empty() then entityrecord[1].get_fuel_inventory().insert({name="solid-fuel",count=1}) end table.insert(global.ROSTER, recipeHeatExchanger) end global.NHeatExchanger = nil end global.TickerB = nil global.dirty = {} global.dirty[game.tick+54000] = true --game.write_file("/test/ROSTER.txt", serpent.block(global.ROSTER)) game.print("Applied UraniumPower 0.6.6 changes") end end end) function initialize_tasks_table() ----------------------------------------------------------------------------- -- Defining table of update functions for each entity names task_names = { ["inspect_reactor"] = inspect_reactor, ["add_reactor_energy"] = add_reactor_energy, ["high_pressure_steam_generation"] = high_pressure_steam_generation, ["low_pressure_steam_condensation"] = low_pressure_steam_condensation, ["calculate_generator_power_output"] = calculate_generator_power_output, ["recipe_heat_exchange_crafting_progress"] = recipe_heat_exchange_crafting_progress, ["recipe_heat_exchange"] = recipe_heat_exchange, ["wall_heat_exchange"] = wall_heat_exchange } task_to_index = { ["nuclear-fission-reactor-3-by-3"] = { ["inspect_reactor"] = 1, ["add_reactor_energy"] = 2 }, ["nuclear-fission-reactor-5-by-5"] = { ["inspect_reactor"] = 1, ["add_reactor_energy"] = 2 }, ["reactor-steam-generator-01"] = { ["high_pressure_steam_generation"] = 1 }, ["reactor-turbine-generator-01a"] = { ["low_pressure_steam_condensation"] = 1, ["calculate_generator_power_output"] = 2 }, ["reactor-turbine-generator-01b"] = { ["low_pressure_steam_condensation"] = 1, ["calculate_generator_power_output"] = 2 }, ["heat-exchanger"] = { ["wall_heat_exchange"] = 1, }, ["S-new-heat-exchanger-01"] = { ["recipe_heat_exchange_crafting_progress"] = 1, ["recipe_heat_exchange"] = 2 }, ["R-new-heat-exchanger-01"] = { ["recipe_heat_exchange_crafting_progress"] = 1, ["recipe_heat_exchange"] = 2 }, ["S-new-heat-exchanger-02"] = { ["recipe_heat_exchange_crafting_progress"] = 1, ["recipe_heat_exchange"] = 2 }, ["R-new-heat-exchanger-02"] = { ["recipe_heat_exchange_crafting_progress"] = 1, ["recipe_heat_exchange"] = 2 } } task_default_states = { ["nuclear-fission-reactor-3-by-3"] = { [1] = {["use_roster"] = true, ["active"] = false, ["ticked"] = false, ["return_state"] = nil}, [2] = {["use_roster"] = true, ["active"] = false, ["ticked"] = false, ["return_state"] = nil} }, ["nuclear-fission-reactor-5-by-5"] = { [1] = {["use_roster"] = true, ["active"] = false, ["ticked"] = false, ["return_state"] = nil}, [2] = {["use_roster"] = true, ["active"] = false, ["ticked"] = false, ["return_state"] = nil} }, ["reactor-steam-generator-01"] = { [1] = {["use_roster"] = true, ["active"] = false, ["ticked"] = false, ["return_state"] = nil} }, ["reactor-turbine-generator-01a"] = { [1] = {["use_roster"] = true, ["active"] = false, ["ticked"] = false, ["return_state"] = nil}, [2] = {["use_roster"] = true, ["active"] = false, ["ticked"] = false, ["return_state"] = nil} }, ["reactor-turbine-generator-01b"] = { [1] = {["use_roster"] = true, ["active"] = false, ["ticked"] = false, ["return_state"] = nil}, [2] = {["use_roster"] = true, ["active"] = false, ["ticked"] = false, ["return_state"] = nil} }, ["heat-exchanger"] = { [1] = {["use_roster"] = true, ["active"] = false, ["ticked"] = false, ["return_state"] = nil} }, ["S-new-heat-exchanger-01"] = { [1] = {["use_roster"] = true, ["active"] = false, ["ticked"] = false, ["return_state"] = nil}, [2] = {["use_roster"] = false, ["active"] = false, ["ticked"] = false, ["return_state"] = nil} }, ["R-new-heat-exchanger-01"] = { [1] = {["use_roster"] = true, ["active"] = false, ["ticked"] = false, ["return_state"] = nil}, [2] = {["use_roster"] = false, ["active"] = false, ["ticked"] = false, ["return_state"] = nil} }, ["S-new-heat-exchanger-02"] = { [1] = {["use_roster"] = true, ["active"] = false, ["ticked"] = false, ["return_state"] = nil}, [2] = {["use_roster"] = false, ["active"] = false, ["ticked"] = false, ["return_state"] = nil} }, ["R-new-heat-exchanger-02"] = { [1] = {["use_roster"] = true, ["active"] = false, ["ticked"] = false, ["return_state"] = nil}, [2] = {["use_roster"] = false, ["active"] = false, ["ticked"] = false, ["return_state"] = nil} } } end script.on_load(function() initialize_tasks_table() end) function clean_global() -- game.print("Table cleaning due on "..game.tick) ----------------------------------------------------------------------------- -- Cleaning ROSTER -- Disables for now as this messes up ROSTER indexing and I am currently using for ticking logic if global.ROSTER then -- game.print("Cleaning ROSTER") local new_ROSTER = {} for index,value in pairs(global.ROSTER) do if value ~=nil then new_ROSTER[index] = value end end global.ROSTER = new_ROSTER end ----------------------------------------------------------------------------- -- Cleaning ACTIVE if global.ACTIVE then -- game.print("Cleaning ACTIVE") local new_ACTIVE = {} for tick,tasks_table in pairs(global.ACTIVE) do if tasks_table ~= nil then new_ACTIVE[tick] = new_ACTIVE[tick] or {} local new_tasks_table = {} for _, task_entry in pairs(tasks_table) do if task_entry ~= nil then table.insert(new_tasks_table,task_entry) end end new_ACTIVE[tick] = new_tasks_table end end global.ACTIVE = new_ACTIVE end -- game.print("Next table cleaning due on "..game.tick+54000) global.dirty[game.tick] = nil global.dirty[game.tick+54000] = true end function setActiveTick(entity_index, entity_name, task, tick) local do_task_on = {entity_index, entity_name, task} local task_index = task_to_index[entity_name][task] global.ACTIVE[tick] = global.ACTIVE[tick] or {} table.insert(global.ACTIVE[tick],do_task_on) logger("afterticking", game.tick, tick, entity_index, entity_name, task, global.ROSTER[entity_index]["update"][task_index]["task"]) end function inspect_table(entity_index) if entity_index == nil then return elseif global.ROSTER[entity_index] ~= nil then local entity_table = global.ROSTER[entity_index] if entity_table[1][1].valid then local entity_name = entity_table[1][1].name if entity_name == "nuclear-fission-reactor-3-by-3" or entity_name == "nuclear-fission-reactor-5-by-5" then if not entity_table[2].valid then -- Reactor chest reference local x = entity_table["record"][2]["position"]["x"] local y = entity_table["record"][2]["position"]["y"] local subentity_name = entity_table["record"][2]["name"] local surface_name = entity_table["record"]["surfacename"] local direction = entity_table["record"][2]["direction"] local subentity_force = entity_table["record"]["force"] local ghost = game.surfaces[surface_name].find_entity("entity-ghost",{x,y}) local entity if ghost ~= nil then entity = select(2,ghost.revive()) end if entity ~= nil then entity_table[2] = entity entity_table["record"][2]["id"] = entity.unit_number global.ROSTER[entity_index] = entity_table else local entity = game.surfaces[surface_name].create_entity{name = subentity_name, position = {x,y}, direction = direction, force = subentity_force} entity_table[2] = entity entity_table["record"][2]["id"] = entity.unit_number global.ROSTER[entity_index] = entity_table end end elseif entity_name == "reactor-steam-generator-01" then if not entity_table[2].valid then -- Reactor reference -- Sorry no reviving reactor but can keep checking for a new one in the same place local x = entity_table["record"][2]["position"]["x"] local y = entity_table["record"][2]["position"]["y"] local subentity_name = entity_table["record"][2]["name"] local surface_name = entity_table["record"]["surfacename"] local direction = entity_table["record"][2]["direction"] local subentity_force = entity_table["record"]["force"] local reactor = game.surfaces[surface_name].find_entity("nuclear-fission-reactor-3-by-3",{x,y}) if reactor ~= nil then entity_table[2] = reactor entity_table["record"][2]["id"] = reactor.unit_number global.ROSTER[entity_index] = entity_table end end if not entity_table[3][1].valid then -- Hot Leg reference local x = entity_table["record"][3]["position"]["x"] local y = entity_table["record"][3]["position"]["y"] local subentity_name = entity_table["record"][3]["name"] local surface_name = entity_table["record"]["surfacename"] local direction = entity_table["record"][3]["direction"] local subentity_force = entity_table["record"]["force"] local ghost = game.surfaces[surface_name].find_entity("entity-ghost",{x,y}) local entity if ghost ~= nil then entity = select(2,ghost.revive()) end if entity ~= nil then entity_table[3][1] = entity entity_table[3][2] = entity.fluidbox entity_table["record"][3]["id"] = entity.unit_number global.ROSTER[entity_index] = entity_table else local entity = game.surfaces[surface_name].create_entity{name = subentity_name, position = {x,y}, direction = direction, force = subentity_force} entity_table[3][1] = entity entity_table[3][2] = entity.fluidbox entity_table["record"][3]["id"] = entity.unit_number global.ROSTER[entity_index] = entity_table end end if not entity_table[4][1].valid then -- Cold Leg reference local x = entity_table["record"][4]["position"]["x"] local y = entity_table["record"][4]["position"]["y"] local subentity_name = entity_table["record"][4]["name"] local surface_name = entity_table["record"]["surfacename"] local direction = entity_table["record"][4]["direction"] local subentity_force = entity_table["record"]["force"] local ghost = game.surfaces[surface_name].find_entity("entity-ghost",{x,y}) local entity if ghost ~= nil then entity = select(2,ghost.revive()) end if entity ~= nil then entity_table[4][1] = entity entity_table[4][2] = entity.fluidbox entity_table["record"][4]["id"] = entity.unit_number global.ROSTER[entity_index] = entity_table else local entity = game.surfaces[surface_name].create_entity{name = subentity_name, position = {x,y}, direction = direction, force = subentity_force} entity_table[4][1] = entity entity_table[4][2] = entity.fluidbox entity_table["record"][4]["id"] = entity.unit_number global.ROSTER[entity_index] = entity_table end end elseif entity_name == "reactor-turbine-generator-01a" or entity_name == "reactor-turbine-generator-01b" then if not entity_table[2][1][1].valid then -- Low pressure steam box reference local x = entity_table["record"][2]["position"]["x"] local y = entity_table["record"][2]["position"]["y"] local subentity_name = entity_table["record"][2]["name"] local surface_name = entity_table["record"]["surfacename"] local direction = entity_table["record"][2]["direction"] local subentity_force = entity_table["record"]["force"] local ghost = game.surfaces[surface_name].find_entity("entity-ghost",{x,y}) local entity if ghost ~= nil then entity = select(2,ghost.revive()) end if entity ~= nil then entity_table[2][1][1] = entity entity_table[2][1][2] = entity.fluidbox entity_table["record"][2]["id"] = entity.unit_number global.ROSTER[entity_index] = entity_table else local entity = game.surfaces[surface_name].create_entity{name = subentity_name, position = {x,y}, direction = direction, force = subentity_force} entity_table[2][1][1] = entity entity_table[2][1][2] = entity.fluidbox entity_table["record"][2]["id"] = entity.unit_number global.ROSTER[entity_index] = entity_table end end if not entity_table[3][1].valid then -- Cold Leg reference local x = entity_table["record"][3]["position"]["x"] local y = entity_table["record"][3]["position"]["y"] local subentity_name = entity_table["record"][3]["name"] local surface_name = entity_table["record"]["surfacename"] local direction = entity_table["record"][3]["direction"] local subentity_force = entity_table["record"]["force"] local ghost = game.surfaces[surface_name].find_entity("entity-ghost",{x,y}) local entity if ghost ~= nil then entity = select(2,ghost.revive()) end if entity ~= nil then entity_table[3][1] = entity entity_table[3][2] = entity.fluidbox entity_table["record"][3]["id"] = entity.unit_number global.ROSTER[entity_index] = entity_table else local entity = game.surfaces[surface_name].create_entity{name = subentity_name, position = {x,y}, direction = direction, force = subentity_force} entity_table[3][1] = entity entity_table[3][2] = entity.fluidbox entity_table["record"][3]["id"] = entity.unit_number global.ROSTER[entity_index] = entity_table end end if not entity_table[4][1].valid then -- Cooling Water reference local x = entity_table["record"][4]["position"]["x"] local y = entity_table["record"][4]["position"]["y"] local subentity_name = entity_table["record"][4]["name"] local surface_name = entity_table["record"]["surfacename"] local direction = entity_table["record"][4]["direction"] local subentity_force = entity_table["record"]["force"] local ghost = game.surfaces[surface_name].find_entity("entity-ghost",{x,y}) local entity if ghost ~= nil then entity = select(2,ghost.revive()) end if entity ~= nil then entity_table[4][1] = entity entity_table[4][2] = entity.fluidbox entity_table["record"][4]["id"] = entity.unit_number global.ROSTER[entity_index] = entity_table else local entity = game.surfaces[surface_name].create_entity{name = subentity_name, position = {x,y}, direction = direction, force = subentity_force} entity_table[4][1] = entity entity_table[4][2] = entity.fluidbox entity_table["record"][4]["id"] = entity.unit_number global.ROSTER[entity_index] = entity_table end end end end end end function logger(logtype, ...) if logging then local data = {...} if logtype == "beginticking" then local tick, roster_index, entity_name, assigned_task = data[1], data[2], data[3], data[4] local str = string.format("%-10s%3s%33s%40s\n", tick, roster_index, entity_name, assigned_task) game.write_file("/UraniumPower/BEGINTICKING.txt", str, true) elseif logtype == "afterticking" then local tick, next_tick, roster_index, entity_name, assigned_task = data[1], data[2], data[3], data[4], data[5] local str = string.format("%-10s %-10s%3s%33s%40s\n", tick, next_tick, roster_index, entity_name, assigned_task) game.write_file("/UraniumPower/AFTERTICKING.txt", str, true) elseif logtype == "stopticking" then local tick, roster_index, entity_name, assigned_task = data[1], data[2], data[3], data[4] local str = string.format("%-10s%3s%33s%40s\n", tick, roster_index, entity_name, assigned_task) game.write_file("/UraniumPower/STOPTICKING.txt", str, true) end end end script.on_event(defines.events.on_tick, function(event) if global.dirty[game.tick] then clean_global() end if global.TickerA == 0 then global.TickerA = 59 -- Once per second check ROSTER for things that could be set to ACTIVE for entity_index,entity_table in pairs(global.ROSTER) do if entity_table ~= nil then if entity_table[1][1].valid then local entity_tasks = entity_table["update"] if entity_tasks ~= nil then for task_index = 1,#entity_tasks do if entity_tasks[task_index]["use_roster"] then if not entity_tasks[task_index]["active"] then if not entity_tasks[task_index]["ticked"] then local next_tick = game.tick local task = entity_tasks[task_index]["task"] setActiveTick(entity_index, entity_table[1][1].name, task, next_tick) -- game.print("On game tick"..game.tick.." activated task:"..task.." for "..entity_table[1][1].name.." at "..entity_table[1][1].position.x..", "..entity_table[1][1].position.y.." to tick on "..next_tick) end entity_table["update"][task_index]["active"] = true end end end end else -- game.print("Something died while in ROSTER.") inspect_table(entity_index, entity_table) global.ROSTER[entity_index] = nil end end end else global.TickerA = global.TickerA - 1 end -- ACTIVE entities. Tick according to rules. Subscription based ticking. if global.ACTIVE[game.tick] then -- game.print("There are tasks to do on game tick: "..game.tick) for k,task_entry in pairs(global.ACTIVE[game.tick]) do local entity_index, task , entity_table = nil, nil, nil if task_entry ~= nil then entity_index = task_entry[1] task = task_entry[3] entity_table = global.ROSTER[entity_index] if entity_table ~= nil then if entity_table[1][1].valid then logger("beginticking", game.tick, entity_index, entity_table[1][1].name, task) local task_completed = false local return_code = nil local extra_return_parameter = nil local task_index = nil -- game.print("Performing task on "..entity_table[1][1].name) -- Check task compatibility on entity..For some reason a task can be wrongly assigned to an entity..WTF!? if task_to_index[entity_table[1][1].name][task] ~= nil then -- Task compatible. Run task! task_index = task_to_index[entity_table[1][1].name][task] task_completed, return_code, extra_return_parameter = task_names[task](entity_index) else -- Task incompatible. WTF!? How did this happen?! local roster = {} local active = {} roster = table.deepcopy(global.ROSTER) active = table.deepcopy(global.ACTIVE) game.print("Task: "..task.." was wrongly assigned for "..entity_table[1][1].name.." on tick: "..game.tick.."! It can be found at(x,y): "..entity_table[1][1].position.x..","..entity_table[1][1].position.y) game.print("Entity might not recovered from this error and might need to be rebuilt!") game.print("global.ACTIVE and global.ROSTER have been dumped to script-output/UraniumPower. Please include them and a screen-shot of this message when reporting this error!") game.write_file("/UraniumPower/global.ROSTER_tick_"..game.tick.."_entity-index_"..entity_index..".txt", serpent.block(roster)) game.write_file("/UraniumPower/global.ACTIVE_tick_"..game.tick..".txt", serpent.block(active)) -- Try to salvage global.ACTIVE by striking out any entries containing the same entity_index for tick,tasks_table in pairs(global.ACTIVE) do if tasks_table ~= nil then for _, task_entry in pairs(tasks_table) do if task_entry ~= nil then if task_entry[1] == entity_index then task_entry = nil end end end end end -- Reset all tasks to default states for entity for taskIndex,_ in pairs(entity_table["update"]) do entity_table["update"][taskIndex]["use_roster"] = task_default_states[entity_table[1][1].name][taskIndex]["use_roster"] entity_table["update"][taskIndex]["active"] = task_default_states[entity_table[1][1].name][taskIndex]["active"] entity_table["update"][taskIndex]["ticked"] = task_default_states[entity_table[1][1].name][taskIndex]["ticked"] entity_table["update"][taskIndex]["return_state"] = task_default_states[entity_table[1][1].name][taskIndex]["return_state"] end global.ACTIVE[game.tick][k] = nil end if task_completed then -- game.print("Task: "..task.." completed on "..entity_table[1][1].name.." at(x,y) "..entity_table[1][1].position.x..","..entity_table[1][1].position.y.." on tick: "..game.tick) local next_tick = nil entity_table["update"][task_index]["ticked"] = true entity_table["update"][task_index]["ticked_on"] = game.tick entity_table["update"][task_index]["return_state"] = return_code if extra_return_parameter == nil then if entity_table["update"][task_index]["active"] then -- game.print("Retick: "..entity_table[1][1].name.." at "..entity_table[1][1].position.x..", "..entity_table[1][1].position.y.." Index: "..entity_index.." Task index: "..task_index.." on tick: "..next_tick) local entity_name = entity_table[1][1].name if task_to_index[entity_name][task] ~= nil then task_index = task_to_index[entity_name][task] next_tick = game.tick + entity_table["update"][task_index]["frequency"] setActiveTick(entity_index, entity_name, task, next_tick) else entity_table["update"][task_index]["active"] = false end end elseif type(extra_return_parameter) == "number" then -- task next_tick changed to another number, but continues on the same task local entity_name = entity_table[1][1].name next_tick = extra_return_parameter if task_to_index[entity_name][task] ~= nil then setActiveTick(entity_index, entity_name, task, next_tick) else entity_table["update"][task_index]["active"] = false end elseif extra_return_parameter == "recipe_heat_exchange" then -- task recipe_heat_exchange_crafting_progress caught crafting progress at 100%, disabling task recipe_heat_exchange_crafting_progress entity_table["update"][task_index]["use_roster"] = false entity_table["update"][task_index]["active"] = false -- activating task recipe_heat_exchange, which checks on each tick until it can be performed local entity_name = entity_table[1][1].name task = extra_return_parameter if task_to_index[entity_name][task] ~= nil then task_index = task_to_index[entity_name][task] next_tick = game.tick + entity_table["update"][task_index]["frequency"] entity_table["update"][task_index]["active"] = true setActiveTick(entity_index, entity_name, task, next_tick) else entity_table["update"][task_index]["active"] = false end elseif extra_return_parameter == "recipe_heat_exchange_crafting_progress" then -- task recipe_heat_exchange succeeded, disabling until called again by recipe_heat_exchange_crafting_progress entity_table["update"][task_index]["active"] = false -- activating recipe_heat_exchange_crafting_progress local entity_name = entity_table[1][1].name task = extra_return_parameter if task_to_index[entity_name][task] ~= nil then task_index = task_to_index[entity_name][task] next_tick = game.tick + entity_table["update"][task_index]["frequency"] entity_table["update"][task_index]["use_roster"] = true entity_table["update"][task_index]["active"] = true setActiveTick(entity_index, entity_name, task, next_tick) else entity_table["update"][task_index]["active"] = false end end global.ACTIVE[game.tick][k] = nil else if return_code == 1 then -- game.print("Failed to tick "..entity_table[1][1].name.." at "..entity_table[1][1].position.x..", "..entity_table[1][1].position.y.." due to insufficient condition on task: "..task.." on game tick: "..game.tick) entity_table["update"][task_index]["active"] = false entity_table["update"][task_index]["ticked"] = false entity_table["update"][task_index]["return_state"] = return_code end if return_code == 2 then -- game.print("Failed to tick "..entity_table[1][1].name.." at "..entity_table[1][1].position.x..", "..entity_table[1][1].position.y.." due to invalid references") entity_table["update"][task_index]["ticked"] = false entity_table["update"][task_index]["active"] = false entity_table["update"][task_index]["return_state"] = return_code inspect_table(entity_index) end global.ACTIVE[game.tick][k] = nil end else -- game.print("Something died while in ACTIVE.") global.ACTIVE[game.tick][k] = nil end end end end global.ACTIVE[game.tick] = nil end end) script.on_event(defines.events.on_built_entity, function(event) local x1 = event.created_entity.position.x local y1 = event.created_entity.position.y local x2 = x1 local y2 = y1 -- Fission reactor stuff if event.created_entity.name == "nuclear-fission-reactor-3-by-3" then event.created_entity.operable = false if (game.players[event.player_index].get_inventory(defines.inventory.player_quickbar).get_item_count("nuclear-fission-reactor-chest-15") + game.players[event.player_index].get_inventory(defines.inventory.player_main).get_item_count("nuclear-fission-reactor-chest-15")) < 1 then game.players[event.player_index].insert({name = "nuclear-fission-reactor-chest-15", count = 1}) end game.players[event.player_index].print("Place the reactor access port next to the fission reactor.") elseif event.created_entity.name == "nuclear-fission-reactor-5-by-5" then event.created_entity.operable = false if (game.players[event.player_index].get_inventory(defines.inventory.player_quickbar).get_item_count("nuclear-fission-reactor-chest-25") + game.players[event.player_index].get_inventory(defines.inventory.player_main).get_item_count("nuclear-fission-reactor-chest-25")) < 1 then game.players[event.player_index].insert({name = "nuclear-fission-reactor-chest-25", count = 1}) end game.players[event.player_index].print("Place the reactor access port next to the fission reactor.") elseif event.created_entity.name == "nuclear-fission-reactor-chest-15" then x1 = x1 - 1 y1 = y1 - 1 x2 = x2 + 1 y2 = y2 + 1 results = event.created_entity.surface.find_entities_filtered{area = {{x1, y1}, {x2, y2}}, name = "nuclear-fission-reactor-3-by-3"} if #results == 1 then local reactorAndChest = {} -- Reference to reactor building reactorAndChest["record"] = { [1] = { ["id"] = results[1].unit_number, ["position"] = { ["x"] = results[1].position.x, ["y"] = results[1].position.y }, ["name"] = results[1].name, ["direction"] = results[1].direction, ["type"] = game.entity_prototypes[results[1].name].type }, [2] = { ["id"] = event.created_entity.unit_number, ["position"] = { ["x"] = event.created_entity.position.x, ["y"] = event.created_entity.position.y }, ["name"] = event.created_entity.name, ["direction"] = event.created_entity.direction, ["type"] = game.entity_prototypes[event.created_entity.name].type }, ["surfacename"] = results[1].surface.name, ["force"] = game.players[event.player_index].force } reactorAndChest[1] = { [1] = results[1], [2] = results[1].fluidbox } -- Reference to reactor chest reactorAndChest[2] = event.created_entity -- Energy potential in chest reactorAndChest[3] = 0 -- Energy buffer in J reactorAndChest[4] = 0 -- Energy output in J reactorAndChest[5] = 0 -- Reactor state reactorAndChest[6] = false reactorAndChest["update"] = { [1] = {["use_roster"] = true, ["active"] = false, ["ticked"] = false, ["ticked_on"] = 0, ["frequency"] = 60, ["return_state"] = nil, ["task"] = "inspect_reactor"}, [2] = {["use_roster"] = true, ["active"] = false, ["ticked"] = false, ["ticked_on"] = 0, ["frequency"] = 1, ["return_state"] = nil, ["task"] = "add_reactor_energy"} } table.insert(global.ROSTER, reactorAndChest) game.players[event.player_index].print("Reactor access port successfully linked! Ready to accept fuel assemblies!") else game.players[event.player_index].insert({name = "nuclear-fission-reactor-chest-15", count = 1}) game.players[event.player_index].print("Reactor access port cannot find a fission reactor! Returning to your inventory.") event.created_entity.destroy() end elseif event.created_entity.name == "nuclear-fission-reactor-chest-25" then x1 = x1 - 4 y1 = y1 - 4 x2 = x2 + 4 y2 = y2 + 4 results = event.created_entity.surface.find_entities_filtered{area = {{x1, y1}, {x2, y2}}, name = "nuclear-fission-reactor-5-by-5"} if #results == 1 then local reactorAndChest = {} -- Reference to reactor building reactorAndChest["record"] = { [1] = { ["id"] = results[1].unit_number, ["position"] = { ["x"] = results[1].position.x, ["y"] = results[1].position.y }, ["name"] = results[1].name, ["direction"] = results[1].direction, ["type"] = game.entity_prototypes[results[1].name].type }, [2] = { ["id"] = event.created_entity.unit_number, ["position"] = { ["x"] = event.created_entity.position.x, ["y"] = event.created_entity.position.y }, ["name"] = event.created_entity.name, ["direction"] = event.created_entity.direction, ["type"] = game.entity_prototypes[event.created_entity.name].type }, ["surfacename"] = results[1].surface.name, ["force"] = game.players[event.player_index].force } reactorAndChest[1] = { [1] = results[1], [2] = results[1].fluidbox } -- Reference to reactor chest reactorAndChest[2] = event.created_entity -- Energy potential in chest reactorAndChest[3] = 0 -- Energy buffer in J reactorAndChest[4] = 0 -- Energy output in J reactorAndChest[5] = 0 -- Reactor state reactorAndChest[6] = false reactorAndChest["update"] = { [1] = {["use_roster"] = true, ["active"] = false, ["ticked"] = false, ["ticked_on"] = 0, ["frequency"] = 60, ["return_state"] = nil, ["task"] = "inspect_reactor"}, [2] = {["use_roster"] = true, ["active"] = false, ["ticked"] = false, ["ticked_on"] = 0, ["frequency"] = 1, ["return_state"] = nil, ["task"] = "add_reactor_energy"} } table.insert(global.ROSTER, reactorAndChest) game.players[event.player_index].print("Reactor access port successfully linked! Ready to accept fuel assemblies!") else game.players[event.player_index].insert({name = "nuclear-fission-reactor-chest-25", count = 1}) game.players[event.player_index].print("Reactor access port cannot find a fission reactor! Returning to your inventory.") event.created_entity.destroy() end -- Heat exchanger stuff elseif event.created_entity.name == "heat-exchanger" then local x = event.created_entity.position.x local y = event.created_entity.position.y local up = event.created_entity.surface.find_entities_filtered{position = {x, y-1}, type = "pipe"} local down = event.created_entity.surface.find_entities_filtered{position = {x, y+1}, type = "pipe"} local left = event.created_entity.surface.find_entities_filtered{position = {x-1, y}, type = "pipe"} local right = event.created_entity.surface.find_entities_filtered{position = {x+1, y}, type = "pipe"} -- game.print("Up: "..#up.." Down: "..#down.." Left: "..#left.." Right: "..#right) if (#up+#down) == 2 or (#left+#right) == 2 then local wallheatExchanger = {} wallheatExchanger["record"] = { [1] = { ["id"] = event.created_entity.unit_number, ["position"] = { ["x"] = event.created_entity.position.x, ["y"] = event.created_entity.position.y }, ["name"] = event.created_entity.name, ["type"] = game.entity_prototypes[event.created_entity.name].type }, ["surfacename"] = event.created_entity.surface.name, ["force"] = game.players[event.player_index].force } wallheatExchanger[1] = { [1] = event.created_entity } if up[1] ~= nil and down[1] ~= nil then -- game.print("up and down working") wallheatExchanger[2] = { [1] = up[1], [2] = up[1].fluidbox } wallheatExchanger[3] = { [1] = down[1], [2] = down[1].fluidbox } elseif left[1] ~= nil and right[1] ~= nil then -- game.print("left and right working") wallheatExchanger[2] = { [1] = left[1], [2] = left[1].fluidbox } wallheatExchanger[3] = { [1] = right[1], [2] = right[1].fluidbox } end wallheatExchanger["update"] = { [1] = {["use_roster"] = true, ["active"] = false, ["ticked"] = false, ["ticked_on"] = 0, ["frequency"] = 5, ["return_state"] = nil, ["task"] = "wall_heat_exchange"} } table.insert(global.ROSTER, wallheatExchanger) else game.players[event.player_index].print("There must be two pipes flanking the heat exchanger") game.players[event.player_index].print("Building returning to your inventory. Please replace the heat exchanger.") game.players[event.player_index].insert({name = "heat-exchanger", count = 1}) event.created_entity.destroy() end elseif event.created_entity.name == "S-new-heat-exchanger-01" or event.created_entity.name == "R-new-heat-exchanger-01" or event.created_entity.name == "S-new-heat-exchanger-02" or event.created_entity.name == "R-new-heat-exchanger-02" then local recipeHeatExchanger = {} recipeHeatExchanger["record"] = { [1] = { ["id"] = event.created_entity.unit_number, ["position"] = { ["x"] = event.created_entity.position.x, ["y"] = event.created_entity.position.y }, ["name"] = event.created_entity.name, ["type"] = game.entity_prototypes[event.created_entity.name].type }, ["surfacename"] = event.created_entity.surface.name, ["force"] = game.players[event.player_index].force } recipeHeatExchanger[1] = { [1] = event.created_entity, [2] = event.created_entity.fluidbox } recipeHeatExchanger["update"] = { [1] = {["use_roster"] = true, ["active"] = false, ["ticked"] = false, ["ticked_on"] = 0, ["frequency"] = 5, ["return_state"] = nil, ["task"] = "recipe_heat_exchange_crafting_progress"}, [2] = {["use_roster"] = false, ["active"] = false, ["ticked"] = false, ["ticked_on"] = 0, ["frequency"] = 1, ["return_state"] = nil, ["task"] = "recipe_heat_exchange"} } event.created_entity.get_fuel_inventory().insert({name="solid-fuel",count=1}) table.insert(global.ROSTER, recipeHeatExchanger) -- Steam Generator stuff elseif event.created_entity.name == "reactor-steam-generator-01" then local entityX = event.created_entity.position.x local entityY = event.created_entity.position.y local entityDirection = event.created_entity.direction local internals = steamGeneratorInternals[event.created_entity.name] local findReactor = event.created_entity.surface.find_entities_filtered{area = {{entityX-5, entityY-5}, {entityX+5, entityY+5}}, name = "nuclear-fission-reactor-3-by-3"} --Warn player if no reactor is found. if #findReactor == 0 then game.players[event.player_index].print("250 MW Nuclear Reactor not dectected! This building is not designed to function without a reactor.") game.players[event.player_index].print("Building returning to your inventory. Please replace the steam generator.") game.players[event.player_index].insert({name = "reactor-steam-generator-01", count = 1}) event.created_entity.destroy() --warn player if reactors are too closely built. elseif #findReactor > 1 then game.players[event.player_index].print("More than one reactor found! Reactors count :"..#findReactor) game.players[event.player_index].print("Building returning to your inventory. Please improve reactor layout or rotate the steam generator to match a reactor side with more clearance.") game.players[event.player_index].insert({name = "reactor-steam-generator-01", count = 1}) event.created_entity.destroy() --Do directional checking of the reactor. Only certain positions allowed! elseif (entityX+internals[entityDirection][1][1]) ~= findReactor[1].position.x or (entityY+internals[entityDirection][1][2]) ~= findReactor[1].position.y then game.players[event.player_index].print("Reactor is not at the correct offset! Expected X, Y coordinate of reactor: "..(entityX+internals[entityDirection][1][1])..", "..(entityY+internals[entityDirection][1][2]).."....Found coordinate: "..findReactor[1].position.x..", "..findReactor[1].position.y) game.players[event.player_index].print("Building returning to your inventory. Please rotate the steam generator to align its input with that of reactor output.") game.players[event.player_index].insert({name = "reactor-steam-generator-01", count = 1}) event.created_entity.destroy() --Everything seems to pass so now place pipes and add to global else local steam_generator = {} --Reference to steam generator building steam_generator[1] = { [1] = event.created_entity, [2] = event.created_entity.fluidbox } --Reference to connected reactor steam_generator[2] = findReactor[1] --Entity Hot Leg box local hotLegBox = event.created_entity.surface.create_entity{name = internals[entityDirection][2][1], direction = internals[entityDirection][2][2], position = {x = entityX+internals[entityDirection][2][3],y = entityY+internals[entityDirection][2][4]}, force = game.players[event.player_index].force} steam_generator[3] = { [1] = hotLegBox, [2] = hotLegBox.fluidbox } --Entity Cold Leg box local coldLegBox = event.created_entity.surface.create_entity{name = internals[entityDirection][3][1], direction = internals[entityDirection][3][2], position = {x = entityX+internals[entityDirection][3][3],y = entityY+internals[entityDirection][3][4]}, force = game.players[event.player_index].force} steam_generator[4] = { [1] = coldLegBox, [2] = coldLegBox.fluidbox } --Heat Output steam_generator[5] = 0 --Performance of downstream condenser steam_generator[6] = 1 --Steam counter steam_generator[7] = 0 steam_generator["record"] = { [1] = { ["id"] = event.created_entity.unit_number, ["position"] = { ["x"] = event.created_entity.position.x, ["y"] = event.created_entity.position.y }, ["name"] = event.created_entity.name, ["direction"] = event.created_entity.direction, ["type"] = game.entity_prototypes[event.created_entity.name].type }, [2] = { ["id"] = findReactor[1].unit_number, ["position"] = { ["x"] = findReactor[1].position.x, ["y"] = findReactor[1].position.y }, ["name"] = findReactor[1].name, ["direction"] = findReactor[1].direction, ["type"] = game.entity_prototypes[findReactor[1].name].type }, [3] = { ["id"] = hotLegBox.unit_number, ["position"] = { ["x"] = hotLegBox.position.x, ["y"] = hotLegBox.position.y }, ["name"] = hotLegBox.name, ["direction"] = hotLegBox.direction, ["type"] = game.entity_prototypes[hotLegBox.name].type }, [4] = { ["id"] = coldLegBox.unit_number, ["position"] = { ["x"] = coldLegBox.position.x, ["y"] = coldLegBox.position.y }, ["name"] = coldLegBox.name, ["direction"] = coldLegBox.direction, ["type"] = game.entity_prototypes[coldLegBox.name].type }, ["surfacename"] = event.created_entity.surface.name, ["force"] = game.players[event.player_index].force } steam_generator["update"] = { [1] = {["use_roster"] = true, ["active"] = false, ["ticked"] = false, ["ticked_on"] = 0, ["frequency"] = 60, ["return_state"] = nil, ["task"] = "high_pressure_steam_generation"} } table.insert(global.ROSTER, steam_generator) end -- Turbine Generator stuff elseif event.created_entity.name == "reactor-turbine-generator-01a" or event.created_entity.name == "reactor-turbine-generator-01b" then local entityX = event.created_entity.position.x local entityY = event.created_entity.position.y local entityDirection = event.created_entity.direction local internals = turbineGeneratorInternals[event.created_entity.name] local countSmallReactor = event.created_entity.surface.count_entities_filtered{area = {{entityX-15, entityY-15}, {entityX+15, entityY+15}}, name = "nuclear-fission-reactor-3-by-3"} local countLargeReactor = event.created_entity.surface.count_entities_filtered{area = {{entityX-15, entityY-15}, {entityX+15, entityY+15}}, name = "nuclear-fission-reactor-5-by-5"} local turbine_generator = {} --Reference to turbine generator building turbine_generator[1] = { [1] = event.created_entity, [2] = event.created_entity.fluidbox } --Low Pressure Steam Box --[1] = Reference to low pressure steam box --[2] = Low Pressure Steam Avg Temperature --[3] = Low Pressure Steam Overflow local lowPressureSteamBox = event.created_entity.surface.create_entity{name = internals[entityDirection][1][1], direction = internals[entityDirection][1][2], position = {x = entityX+internals[entityDirection][1][3],y = entityY+internals[entityDirection][1][4]}, force = game.players[event.player_index].force} turbine_generator[2] = { [1] = { [1] = lowPressureSteamBox, [2] = lowPressureSteamBox.fluidbox }, [2] = {0}, [3] = {0} } --Reference to Cold Leg box local coldLegBox = event.created_entity.surface.create_entity{name = internals[entityDirection][2][1], direction = internals[entityDirection][2][2], position = {x = entityX+internals[entityDirection][2][3],y = entityY+internals[entityDirection][2][4]}, force = game.players[event.player_index].force} turbine_generator[3] = { [1] = coldLegBox, [2] = coldLegBox.fluidbox } --Reference to Cooling Water box local coolingWaterBox = event.created_entity.surface.create_entity{name = internals[entityDirection][3][1], direction = internals[entityDirection][3][2], position = {x = entityX+internals[entityDirection][3][3],y = entityY+internals[entityDirection][3][4]}, force = game.players[event.player_index].force} turbine_generator[4] = { [1] = coolingWaterBox, [2] = coolingWaterBox.fluidbox } --Turbine Ticking turbine_generator[5] = 0 --Energy Accounting turbine_generator[6] = 0 --Super Heated Steam Accounting turbine_generator[7] = 0 turbine_generator["record"] = { [1] = { ["id"] = event.created_entity.unit_number, ["position"] = { ["x"] = event.created_entity.position.x, ["y"] = event.created_entity.position.y }, ["name"] = event.created_entity.name, ["direction"] = event.created_entity.direction, ["type"] = game.entity_prototypes[event.created_entity.name].type }, [2] = { ["id"] = lowPressureSteamBox.unit_number, ["position"] = { ["x"] = lowPressureSteamBox.position.x, ["y"] = lowPressureSteamBox.position.y }, ["name"] = lowPressureSteamBox.name, ["direction"] = lowPressureSteamBox.direction, ["type"] = game.entity_prototypes[lowPressureSteamBox.name].type }, [3] = { ["id"] = coldLegBox.unit_number, ["position"] = { ["x"] = coldLegBox.position.x, ["y"] = coldLegBox.position.y }, ["name"] = coldLegBox.name, ["direction"] = coldLegBox.direction, ["type"] = game.entity_prototypes[coldLegBox.name].type }, [4] = { ["id"] = coolingWaterBox.unit_number, ["position"] = { ["x"] = coolingWaterBox.position.x, ["y"] = coolingWaterBox.position.y }, ["name"] = coolingWaterBox.name, ["direction"] = coolingWaterBox.direction, ["type"] = game.entity_prototypes[coolingWaterBox.name].type }, ["surfacename"] = event.created_entity.surface.name, ["force"] = game.players[event.player_index].force } turbine_generator["update"] = { [1] = {["use_roster"] = true, ["active"] = false, ["ticked"] = false, ["ticked_on"] = 0, ["frequency"] = 60, ["return_state"] = nil, ["task"] = "low_pressure_steam_condensation"}, [2] = {["use_roster"] = true, ["active"] = false, ["ticked"] = false, ["ticked_on"] = 0, ["frequency"] = 1, ["return_state"] = nil, ["task"] = "calculate_generator_power_output"} } table.insert(global.ROSTER, turbine_generator) end end) function cleanup_subordinates(event) local entity_name = event.entity.name local entity_id = event.entity.unit_number for k,entity_table in pairs(global.ROSTER) do if entity_name == "nuclear-fission-reactor-3-by-3" or entity_name == "nuclear-fission-reactor-5-by-5" then if entity_id == entity_table["record"][1]["id"] then if entity_table[2].valid then local chestInventory = entity_table[2].get_inventory(defines.inventory.chest) if not chestInventory.is_empty() then local countBefore, countAfter, countRemain = 0, 0, 0 if event.player_index ~= nil then player = game.players[event.player_index] for item, counts in pairs(chestInventory.get_contents()) do countBefore = player.get_item_count(item) player.insert({name = item, count = counts}) countAfter = player.get_item_count(item) countRemain = (countBefore + counts) - countAfter if countRemain > 0 then local dropPlace for n=1, countRemain do dropPlace = player.surface.find_non_colliding_position("item-on-ground", player.position, 50, 0.5) if dropPlace then player.surface.create_entity({name = "item-on-ground", position = dropPlace, stack = {name = item, count = 1}}) end end else chestInventory.remove({name = item, count=counts}) end end end entity_table[2].destroy() else entity_table[2].destroy() end end break end end if entity_name == "reactor-steam-generator-01" then if entity_id == entity_table["record"][1]["id"] then if entity_table[3][1].valid then entity_table[3][1].destroy() end if entity_table[4][1].valid then entity_table[4][1].destroy() end break end end if entity_name == "reactor-turbine-generator-01a" or entity_name == "reactor-turbine-generator-01b" then if entity_id == entity_table["record"][1]["id"] then if entity_table[2][1][1].valid then entity_table[2][1][1].destroy() end if entity_table[3][1].valid then entity_table[3][1].destroy() end if entity_table[4][1].valid then entity_table[4][1].destroy() end break end end end end script.on_event(defines.events.on_entity_died, function(event) cleanup_subordinates(event) end) script.on_event(defines.events.on_preplayer_mined_item, function(event) local entity_name = event.entity.name local entity_id = event.entity.unit_number cleanup_subordinates(event) if entity_name == "S-new-heat-exchanger-01" or entity_name == "R-new-heat-exchanger-01" or entity_name == "S-new-heat-exchanger-02" or entity_name == "R-new-heat-exchanger-02" then if not event.entity.get_fuel_inventory().is_empty() then event.entity.get_fuel_inventory().clear() end end end) function inspect_reactor(entity_index) local entity_table = global.ROSTER[entity_index] local reactor = entity_table[1][1] local reactorFluidBox = entity_table[1][2] local reactorChest = entity_table[2] -- calculate fuel energy if reactor.valid and reactorChest.valid then if entity_table["record"][1]["type"] == "boiler" then local fuelAssemblyPotential = fuelAssembly local reactor_type = reactorType local chestInventory = reactorChest.get_inventory(defines.inventory.chest) local reactorChestPotential = 0 local reactorEnergyBuffer = entity_table[4] or 0 local reactorEnergyOutput = entity_table[5] or 0 if not chestInventory.is_empty() then local slot = math.random(1,#chestInventory) if chestInventory[slot].valid_for_read then if fuelAssemblyPotential[chestInventory[slot].name] ~= nil then if reactorEnergyOutput > 1000 and entity_table[3] > 0 then local decayFactor = (reactorEnergyOutput / reactor_type[reactor.name][4]) * (reactorEnergyOutput / (entity_table[3] * reactor_type[reactor.name][1] * 1000000 * 60)) chestInventory[slot].health = math.max(0, chestInventory[slot].health - (fuelAssemblyPotential[chestInventory[slot].name][2] * decayFactor)) -- game.print("EOut : "..reactorEnergyOutput.." EBuff : "..reactorEnergyBuffer.." Decay Factor: "..decayFactor) if chestInventory[slot].health == 0 then chestInventory[slot].set_stack({name=fuelAssemblyPotential[chestInventory[slot].name][3],count=1}) end end end end for assemblyType,count in pairs(chestInventory.get_contents()) do if fuelAssemblyPotential[assemblyType] ~= nil then reactorChestPotential = reactorChestPotential + (fuelAssemblyPotential[assemblyType][1] * count) end end entity_table[3] = reactorChestPotential -- Extrapolate energy consumed for the next 60 ticks and apply the minimum to reactor energy buffer -- As the fuels decay, the reactor performance factor will become dominant in stabilizing the energy output. if reactor.energy < (reactor_type[reactor.name][2] * 1000) and reactorFluidBox[1] ~= nil then local reactorEnergyPotential = reactor_type[reactor.name][1] * reactorChestPotential * 1000000 * 60 local expectedEnergyConsumed = (reactor_type[reactor.name][3] * 1000) * 60 -- game.print("Current energy buffer in (MJ) " .. reactorEnergyBuffer/1000000 .. "| Reactor Energy Potential (MJ) ".. reactorEnergyPotential/1000000 .. "| Expected Energy Consumed (MJ) " .. expectedEnergyConsumed/1000000 .." Tick: "..game.tick) if (reactorEnergyBuffer / expectedEnergyConsumed) < 1 then entity_table[4] = math.min(expectedEnergyConsumed, reactorEnergyPotential) + reactorEnergyBuffer end -- Debug stuff -- local temp = 0 --[[if reactor.fluidbox[1] ~= nil then temp = reactor.fluidbox[1].temperature else temp = 15 end]] -- game.print("Current energy output in (KW) " .. entity_table[5]/1000 .. "| Current energy reserves in (J) " .. reactor.energy .. "| Reactor Temperature (C) " .. temp) -- game.print("Injected energy buffer in (MJ) " .. entity_table[4]/1000000) -- Reset energy counter entity_table[5] = 0 return true, 0 end return false, 1 else entity_table[3] = 0 return false, 1 end return false, 1 end return false, 1 else return false, 2 end end function add_reactor_energy(entity_index) local entity_table = global.ROSTER[entity_index] local reactor = entity_table[1][1] local reactorFluidBox = entity_table[1][2] local reactorChest = entity_table[2] if reactor.valid and reactorChest.valid then if entity_table["record"][1]["type"] == "boiler" then local reactor_type = reactorType local chestInventory = reactorChest.get_inventory(defines.inventory.chest) local reactorEnergyBuffer = entity_table[4] or 0 local reactorHeatOutput = entity_table[5] or 0 local reactorOn = entity_table[6] local energyAdd = 0 if not chestInventory.is_empty() and reactor.energy < (reactor_type[reactor.name][2] * 1000) and reactorFluidBox[1] ~= nil then reactorOn = true else reactorOn = false return false, 1 end if reactorOn then -- game.print(tostring(reactorOn)) -- Add energy directly to boiler from reactor energy buffer -- 1% extra is added to the boiler during ramp-up phase so it does not complain that it's empty of fuel if reactor.energy <= 0 then energyAdd = (reactor_type[reactor.name][2] * 1000 * 1.01) - reactor.energy else energyAdd = (reactor_type[reactor.name][2] * 1000) - reactor.energy end local energyRemain = reactorEnergyBuffer - energyAdd if energyRemain > 0 then entity_table[4] = energyRemain reactor.energy = reactor.energy + energyAdd end entity_table[5] = reactorHeatOutput + energyAdd return true, 0 end end return false, 1 else return false, 2 end end function high_pressure_steam_generation(entity_index) local entity_table = global.ROSTER[entity_index] local steam_generator_internals = steamGeneratorInternals local fluid_properties = global.fluidProperties if entity_table[1][1].valid and entity_table[2].valid and entity_table[3][1].valid and entity_table[4][1].valid then if entity_table["record"][1]["type"] == "storage-tank" then if entity_table[3][2][1] ~= nil and entity_table[4][2][1] ~= nil then if round(entity_table[3][2][1].temperature,1) > 280 and entity_table[4][2][1].amount > 5 then local steamGenerator_fluidbox = 0 local pipebus_fluidbox = entity_table[3][2][1] local coldLeg_fluidbox = entity_table[4][2][1] local pipebus_max_volume = steamGeneratorInternals[entity_table[1][1].name][entity_table[3][1].name][1] * 10 local condenser_efficiency = entity_table[6] local previousSteamVolume = entity_table[7] local generatedSteam = 0 local steamGenerator_available_volume = 0 if entity_table[1][2][1] == nil then entity_table[7] = 0.001 entity_table[1][2][1] = { ["type"] = "superheated-steam", ["amount"] = entity_table[7], ["temperature"] = fluid_properties["superheated-steam"][2] } steamGenerator_fluidbox = entity_table[1][2][1] steamGenerator_available_volume = (steamGeneratorInternals[entity_table[1][1].name]["self"][1] * 10) - steamGenerator_fluidbox.amount else steamGenerator_fluidbox = entity_table[1][2][1] steamGenerator_available_volume = (steamGeneratorInternals[entity_table[1][1].name]["self"][1] * 10) - steamGenerator_fluidbox.amount end if steamGenerator_available_volume > 0 then --Hot Leg Water Energy --Limit temperature drop to be not less than 280 C local pipebus_fluidboxEnergy = pipebus_fluidbox.amount * (pipebus_fluidbox.temperature - fluid_properties[pipebus_fluidbox.type][1]) * fluid_properties[pipebus_fluidbox.type][3] local pipebus_fluidboxSuperHeatEnergy = pipebus_fluidbox.amount * (pipebus_fluidbox.temperature - 280) * fluid_properties[pipebus_fluidbox.type][3] --Cold Leg Water Energy Density local coldLegMaximum_Energy = (fluid_properties[coldLeg_fluidbox.type][2] - fluid_properties[coldLeg_fluidbox.type][1]) * fluid_properties[coldLeg_fluidbox.type][3] local coldLegDeficit_Energy = math.min(coldLegMaximum_Energy, coldLegMaximum_Energy - (coldLeg_fluidbox.temperature - fluid_properties[coldLeg_fluidbox.type][1]) * fluid_properties[coldLeg_fluidbox.type][3]) --Super Heated Steam can not be higher in temperature than Hot Leg current temperature local superHeatedSteam_Energy = 30 * (pipebus_fluidbox.temperature - fluid_properties["superheated-steam"][1]) * fluid_properties["superheated-steam"][3] --Energetics of new steam (currently ignoring Enthalpy of Vaporization...will be added later) local vaporizableColdLeg_v = math.min(pipebus_fluidboxSuperHeatEnergy / (coldLegDeficit_Energy + superHeatedSteam_Energy), coldLeg_fluidbox.amount) local generatedSteam = math.min(steamGenerator_available_volume, vaporizableColdLeg_v * 30) * condenser_efficiency local vaporizedColdLegVaporizationEnergy = (generatedSteam / 30) * coldLegDeficit_Energy local generatedSteamSuperheatedSteamEnergy = (generatedSteam / 30) * superHeatedSteam_Energy -- game.players[1].print("Hot Leg Energy: "..pipebus_fluidboxSuperHeatEnergy.." Vaporizable Cold Leg: "..vaporizableColdLeg_v.." Vaporization Energy: "..vaporizedColdLegVaporizationEnergy.." Super Heated Steam Energy: "..generatedSteamSuperheatedSteamEnergy.." Steam Usage Rate:"..(previousSteamVolume - steamGenerator_fluidbox.amount).." Generated Steam: "..generatedSteam) --Generate steam and adjust fluid boxes if (pipebus_fluidboxEnergy - vaporizedColdLegVaporizationEnergy - generatedSteamSuperheatedSteamEnergy) > 0 and (coldLeg_fluidbox.amount - (generatedSteam / 30)) > 0 then -- game.players[1].print("Generated Steam amount: "..generatedSteam..", Unused steam: "..steamGenerator_fluidbox.amount.." Liquid and temp in Pipe Bus : "..pipebus_fluidbox.amount..", "..pipebus_fluidbox.temperature.." Cold Leg Vol: "..(coldLeg_fluidbox.amount - vaporizableColdLeg_v)) local currentSteamHeat = steamGenerator_fluidbox.amount * (steamGenerator_fluidbox.temperature - fluid_properties["superheated-steam"][1]) * fluid_properties["superheated-steam"][3] local steamNewTemp = (currentSteamHeat + vaporizedColdLegVaporizationEnergy + generatedSteamSuperheatedSteamEnergy) / ((steamGenerator_fluidbox.amount + generatedSteam) * fluid_properties["superheated-steam"][3]) + fluid_properties["superheated-steam"][1] steamGenerator_fluidbox.temperature = steamNewTemp steamGenerator_fluidbox.amount = steamGenerator_fluidbox.amount + generatedSteam if entity_table[1][2][1] == nil then entity_table[7] = entity_table[7] + steamGenerator_fluidbox.amount else entity_table[7] = steamGenerator_fluidbox.amount end pipebus_fluidbox.temperature = (pipebus_fluidboxEnergy - vaporizedColdLegVaporizationEnergy - generatedSteamSuperheatedSteamEnergy) / (pipebus_fluidbox.amount * fluid_properties[pipebus_fluidbox.type][3]) + fluid_properties[pipebus_fluidbox.type][1] coldLeg_fluidbox.amount = coldLeg_fluidbox.amount - (generatedSteam / 30) if (previousSteamVolume - steamGenerator_fluidbox.amount) <= generatedSteam then entity_table[1][2][1] = steamGenerator_fluidbox entity_table[3][2][1] = pipebus_fluidbox entity_table[4][2][1] = coldLeg_fluidbox return true, 0 end end return false, 1 end return false, 1 end return false, 1 end return false, 1 end return false, 1 else return false, 2 end end function calculate_generator_power_output(entity_index) local entity_table = global.ROSTER[entity_index] local turbine_generator_internals = turbineGeneratorInternals local fluid_properties = global.fluidProperties if entity_table[1][1].valid and entity_table[2][1][1].valid and entity_table[3][1].valid and entity_table[4][1].valid then if entity_table["record"][1]["type"] == "generator" then if entity_table[1][2][1] ~= nil and entity_table[1][2][1].type == "superheated-steam" then local energy = entity_table[1][1].energy local generatorFluidBox = entity_table[1][2][1] local energyBufferCapacity = turbine_generator_internals[entity_table[1][1].name]["energy_buffer_capacity"][1] local generatorEfficiency = turbine_generator_internals[entity_table[1][1].name]["effectivity"][1] local energyToGrid = (energyBufferCapacity - energy) local superHeatedSteamConsumed = (energyBufferCapacity - energy) / ((generatorFluidBox.temperature - fluid_properties[generatorFluidBox.type][1]) * fluid_properties[generatorFluidBox.type][3] * generatorEfficiency * 1000) local simulatedSteamExpansion = superHeatedSteamConsumed * (generatorFluidBox.temperature - 280) * fluid_properties[generatorFluidBox.type][3] * 1000 local lowPressureSteamTemperature = 0 if superHeatedSteamConsumed > 0 then lowPressureSteamTemperature = simulatedSteamExpansion / (superHeatedSteamConsumed * fluid_properties["low-pressure-steam"][3] * generatorEfficiency * 1000) + fluid_properties["low-pressure-steam"][1] else lowPressureSteamTemperature = 0 end --Sum Energy To Grid entity_table[6] = entity_table[6] + energyToGrid --Sum Super Heated Steam Consumed entity_table[7] = entity_table[7] + superHeatedSteamConsumed --Average Low Pressure Steam Temp if entity_table[2][2][1] == 0 then entity_table[2][2][1] = lowPressureSteamTemperature else entity_table[2][2][1] = (entity_table[2][2][1] + lowPressureSteamTemperature) / 2 end --Fill Low Pressure Steam Fluid Box if entity_table[2][1][2][1] == nil then entity_table[2][1][2][1] = { ["type"] = "low-pressure-steam", ["amount"] = superHeatedSteamConsumed, ["temperature"] = entity_table[2][2][1] } else local lowPressureSteamFluidBox = entity_table[2][1][2][1] local remainingFluidSpace = (turbine_generator_internals[entity_table[1][1].name][entity_table[2][1][1].name][1]*10) - lowPressureSteamFluidBox.amount if remainingFluidSpace < superHeatedSteamConsumed then lowPressureSteamFluidBox.amount = lowPressureSteamFluidBox.amount + remainingFluidSpace --Save to OverFlow entity_table[2][3][1] = entity_table[2][3][1] + (superHeatedSteamConsumed - remainingFluidSpace) else lowPressureSteamFluidBox.amount = lowPressureSteamFluidBox.amount + superHeatedSteamConsumed end entity_table[2][1][2][1] = lowPressureSteamFluidBox end if entity_table[5] == 0 then entity_table[5] = game.tick + 60 --game.players[1].print("Current Game Tick: "..game.tick) elseif entity_table[5] == game.tick then entity_table[5] = game.tick + 60 if entity_table[6] > 0 then --game.players[1].print("Energy Used: "..entity_table[6].." Power Output (KW): "..(entity_table[6] / 1000).." Super Heated Steam Expanded :"..entity_table[7].." Low-Pressure Steam Temperature :"..entity_table[2][2][1].." Low-Pressure-Steam OverFlow: "..entity_table[2][3][1]) end entity_table[2][2][1] = 0 entity_table[6] = 0 entity_table[7] = 0 end return true, 0 end return false, 1 end return false, 1 else return false, 2 end end function low_pressure_steam_condensation(entity_index) local entity_table = global.ROSTER[entity_index] local turbine_generator_internals = turbineGeneratorInternals local fluid_properties = global.fluidProperties if entity_table[1][1].valid and entity_table[2][1][1].valid and entity_table[3][1].valid and entity_table[4][1].valid then if entity_table["record"][1]["type"] == "generator" then if entity_table[2][1][2][1] ~= nil and entity_table[2][1][2][1].type == "low-pressure-steam" then local lowPressureSteamFluidBox = entity_table[2][1][2][1] local lowPressureSteamOverFlow = entity_table[2][3][1] local coldLegFluidBox = entity_table[3][2][1] local feedWaterFluidBox = entity_table[4][2][1] if lowPressureSteamFluidBox ~= nil and feedWaterFluidBox ~= nil then --Condense steam to Liquid local lowPressureSteamEnergy = lowPressureSteamFluidBox.amount * (lowPressureSteamFluidBox.temperature - fluid_properties[lowPressureSteamFluidBox.type][1]) * fluid_properties[lowPressureSteamFluidBox.type][3] * 1000 local equivalentFeedWaterEvaporated = lowPressureSteamEnergy / ((fluid_properties[feedWaterFluidBox.type][2] - fluid_properties[feedWaterFluidBox.type][1]) * fluid_properties[feedWaterFluidBox.type][3] * 1000) local actualFeedWaterEvaporated = math.min(feedWaterFluidBox.amount, equivalentFeedWaterEvaporated) local condensedSteamAmount = (actualFeedWaterEvaporated / equivalentFeedWaterEvaporated) * lowPressureSteamFluidBox.amount local liquidEquivalent = condensedSteamAmount / 30 local residualHeat = (lowPressureSteamFluidBox.amount - condensedSteamAmount) * (lowPressureSteamFluidBox.temperature - fluid_properties[lowPressureSteamFluidBox.type][1]) * fluid_properties[lowPressureSteamFluidBox.type][3] * 1000 local condensedSteamTemperature if residualHeat > 0 then condensedSteamTemperature = (residualHeat / (liquidEquivalent * fluid_properties["water"][3] * 1000)) + fluid_properties["water"][1] else condensedSteamTemperature = fluid_properties["water"][1] end --Update Cold Leg Fluid Box if coldLegFluidBox == nil then coldLegFluidBox = { ["type"] = "water", ["amount"] = liquidEquivalent, ["temperature"] = condensedSteamTemperature } else coldLegFluidBox.temperature = ((coldLegFluidBox.amount * coldLegFluidBox.temperature) + (liquidEquivalent * condensedSteamTemperature)) / (coldLegFluidBox.amount + liquidEquivalent) coldLegFluidBox.amount = coldLegFluidBox.amount + liquidEquivalent end entity_table[3][2][1] = coldLegFluidBox --Update Low Pressure Steam Fluid Box if lowPressureSteamOverFlow > 0 then lowPressureSteamFluidBox.amount = lowPressureSteamFluidBox.amount - condensedSteamAmount + math.min(lowPressureSteamOverFlow, condensedSteamAmount) lowPressureSteamOverFlow = lowPressureSteamOverFlow - math.min(lowPressureSteamOverFlow, condensedSteamAmount) else lowPressureSteamFluidBox.amount = lowPressureSteamFluidBox.amount - condensedSteamAmount end entity_table[2][1][2][1] = lowPressureSteamFluidBox entity_table[2][3][1] = lowPressureSteamOverFlow --Update Feed Water Fluid Box feedWaterFluidBox.amount = feedWaterFluidBox.amount - (actualFeedWaterEvaporated*0.5) entity_table[4][2][1] = feedWaterFluidBox --game.players[1].print("Recovered Water: "..coldLegFluidBox.amount.." Condensed Steam: "..condensedSteamAmount.." Evaporated Feed-water: "..actualFeedWaterEvaporated) return true, 0 end return false, 1 end return false, 1 end return false, 1 else return false, 2 end end function recipe_heat_exchange_crafting_progress(entity_index) local entity_table = global.ROSTER[entity_index] local recipeHeatExchanger = entity_table[1][1] local recipeHeatExchangerFluidBox = entity_table[1][2] if recipeHeatExchanger.valid then if entity_table["record"][1]["type"] == "assembling-machine" then if recipeHeatExchanger.is_crafting() then local currentProgress = round(recipeHeatExchanger.crafting_progress*100,1) -- game.print ("Checking crafting progress on current game tick: "..game.tick.." Crafting Progress: "..currentProgress) if recipeHeatExchanger.energy <= 0 and recipeHeatExchange.get_fuel_inventory().is_empty() then recipeHeatExchanger.get_fuel_inventory().insert({name="solid-fuel", count=1 }) end if currentProgress < 100 then local remainingProgress = 1-recipeHeatExchanger.crafting_progress local recipeTime = recipeHeatExchanger.recipe.energy*60 local predictionTime = game.tick + round(remainingProgress*recipeTime,1) -- game.print("Predicted completing on tick: "..predictionTime) return true, 0, predictionTime else -- Crafting progress is 100% -- Activate task recipe_heat_exchange return true, 0, "recipe_heat_exchange" end return false, 1 end return false, 1 end return false, 1 else return false, 2 end end function recipe_heat_exchange(entity_index) local entity_table = global.ROSTER[entity_index] local fluid_properties = global.fluidProperties local recipeHeatExchanger = entity_table[1][1] local recipeHeatExchangerFluidBox = entity_table[1][2] if recipeHeatExchanger.valid then if entity_table["record"][1]["type"] == "assembling-machine" then -- game.print("Executing heat exchange on game tick: "..game.tick.." Crafting progress: "..round(recipeHeatExchanger.crafting_progress*100,1)) if recipeHeatExchangerFluidBox[1] ~= nil and recipeHeatExchangerFluidBox[2] ~= nil and recipeHeatExchangerFluidBox[3] ~= nil and recipeHeatExchangerFluidBox[4] ~= nil then -- Chirality for the heat exchangers are defined in the prototype. Since the rotation is always clockwise, -- the chiral pairs are as follows: S-0,R-0 | S-2,R-6 | S-4,R-4 | S-6,R-2 local fluidBox1 = recipeHeatExchangerFluidBox[1] local fluidBox2 = recipeHeatExchangerFluidBox[2] local hotFluid_v = fluidBox1.amount local hotFluid_t = fluidBox1.temperature local hotFluid_minT = fluid_properties[fluidBox1.type][1] local hotFluid_maxT = fluid_properties[fluidBox1.type][2] local hotFluid_heatCapacity = fluid_properties[fluidBox1.type][3] local coldFluid_v = fluidBox2.amount local coldFluid_t = fluidBox2.temperature local coldFluid_minT = fluid_properties[fluidBox2.type][1] local coldFluid_maxT = fluid_properties[fluidBox2.type][2] local coldFluid_heatCapacity = fluid_properties[fluidBox2.type][3] -- The heatExchangerCoeff is a scaling factor tuned to allow a certain amount of MWe from MWq local heatExchangerCoeff = 0 if fluidBox1.type == "water" then -- 4x Small Heat Exchanger => 16.32 MWe from 72 MWq -- 4x Big Heat Exchanger => 24.96 MWe from 144 MWq heatExchangerCoeff = 0.89 elseif fluidBox1.type == "pressurised-water" and (recipeHeatExchanger.name == "S-new-heat-exchanger-01" or recipeHeatExchanger.name == "R-new-heat-exchanger-01") then -- 4x Small Heat Exchanger => 20.64 from 72 MWq heatExchangerCoeff = 0.91 elseif fluidBox1.type == "pressurised-water" and (recipeHeatExchanger.name == "S-new-heat-exchanger-02" or recipeHeatExchanger.name == "R-new-heat-exchanger-02") then -- 4x Big Heat Exchanger => 54.72 MWe from 144 MWq heatExchangerCoeff = 0.70 else -- Heat exchange between pressurized-water and itself -- Users can try and find out for themselves. heatExchangerCoeff = 0.75 end local hotFluid_energy = hotFluid_v * (hotFluid_t - hotFluid_minT) * hotFluid_heatCapacity local coldFluid_energy = coldFluid_v * (coldFluid_t - coldFluid_minT) * coldFluid_heatCapacity local totalEnergy = (hotFluid_energy + coldFluid_energy) * heatExchangerCoeff -- Exchange heat local newHotFluidTemperature = 0 local newColdFluidTemperature = 0 local deltaTemperature = math.min(hotFluid_t - coldFluid_t, coldFluid_maxT - coldFluid_t) local exchangedEnergy = coldFluid_v * (deltaTemperature) * coldFluid_heatCapacity -- This prevents negative temperature if hotFluid_energy >= exchangedEnergy then newHotFluidTemperature = math.min(((hotFluid_energy - exchangedEnergy) / (hotFluid_v * hotFluid_heatCapacity)) + hotFluid_minT, hotFluid_maxT) newColdFluidTemperature = math.min(((coldFluid_energy + exchangedEnergy) / (coldFluid_v * coldFluid_heatCapacity)) + coldFluid_minT, coldFluid_maxT) else newHotFluidTemperature = hotFluid_t newColdFluidTemperature = coldFluid_t end -- game.print(game.tick..","..hotFluid_energy..","..exchangedEnergy..","..((hotFluid_energy - exchangedEnergy) / (hotFluid_v * hotFluid_heatCapacity))..","..hotFluid_v..","..coldFluid_v) -- Copy fluidboxes local changedFluidBox1 = recipeHeatExchangerFluidBox[3] local changedFluidBox2 = recipeHeatExchangerFluidBox[4] if hotFluid_t > coldFluid_t then changedFluidBox1["temperature"] = newHotFluidTemperature changedFluidBox2["temperature"] = newColdFluidTemperature entity_table[1][2][3] = changedFluidBox1 entity_table[1][2][4] = changedFluidBox2 return true, 0, "recipe_heat_exchange_crafting_progress" end end return true, 0 end return false, 1 else return false, 2 end end function wall_heat_exchange(entity_index) local entity_table = global.ROSTER[entity_index] local fluid_properties = global.fluidProperties if entity_table[1][1].valid and entity_table[2][1].valid and entity_table[3][1].valid then if entity_table["record"][1]["type"] == "wall" then if entity_table[2][2][1] ~= nil and entity_table[3][2][1] ~= nil then local fluidBox1 = entity_table[2][2][1] local fluidBox2 = entity_table[3][2][1] local v1 = fluidBox1.amount local t1 = fluidBox1.temperature local v2 = fluidBox2.amount local t2 = fluidBox2.temperature local newFluidBox1 = fluidBox1 local newFluidBox2 = fluidBox2 local minT1 = fluid_properties[fluidBox1.type][1] local maxT1 = fluid_properties[fluidBox1.type][2] local heatCapacity1 = fluid_properties[fluidBox1.type][3] local minT2 = fluid_properties[fluidBox2.type][1] local maxT2 = fluid_properties[fluidBox2.type][2] local heatCapacity2 = fluid_properties[fluidBox2.type][3] --The heatExchangerCoeff is a scaling factor tuned to allow about 50 MWe from 144 MWq local heatExchangerCoeff = 0.90 energy1 = v1*(t1-minT1)*heatCapacity1 energy2 = v2*(t2-minT2)*heatCapacity2 totalEnergy = (energy1+energy2)*heatExchangerCoeff --minT1 and minT2 must be accounted for if modelling equilibrium temperature newTemp = (totalEnergy+(v1*minT1*heatCapacity1)+(v2*minT2*heatCapacity2))/(v1*heatCapacity1+v2*heatCapacity2) --game.print(newTemp) if newTemp > minT1 and newTemp < maxT1 and newTemp > minT2 and newTemp < maxT2 then newTemp1 = newTemp newTemp2 = newTemp end if newTemp > maxT1 then newTemp1 = maxT1 newTemp2 = ((totalEnergy)-(v1*(maxT1-minT1)*heatCapacity1))/(v2*heatCapacity2) + minT2 end if newTemp > maxT2 then newTemp1 = ((totalEnergy)-(v2*(maxT2-minT2)*heatCapacity2))/(v1*heatCapacity1) + minT1 newTemp2 = maxT2 end --game.print("newTemp1 == "..newTemp1.."newTemp2 == "..newTemp2) newFluidBox1["temperature"] = newTemp1 newFluidBox2["temperature"] = newTemp2 entity_table[2][2][1] = newFluidBox1 entity_table[3][2][1] = newFluidBox2 return true, 0 end return false, 1 end return false, 1 else return false, 2 end end remote.add_interface("UraniumPower", { dump_ACTIVE = function (x) local active_entries = table.deepcopy(global.ACTIVE) game.write_file("/UraniumPower/ACTIVE.txt", serpent.block(active_entries)) end, dump_ROSTER = function (x) local active_entries = {} if x then active_entries = table.deepcopy(global.ROSTER[x]) game.write_file("/UraniumPower/ROSTER.txt", serpent.block(active_entries)) else active_entries = table.deepcopy(global.ROSTER) game.write_file("/UraniumPower/ROSTER.txt", serpent.block(active_entries)) end end, cheat = function() for _,player in pairs(game.players) do addItems(player, {name = "solid-fuel", count = 5}) end end, togglelog = function() logging = not logging if logging then game.print("Logging on") else game.print("Logging off") end end, killactive = function() end, count_resources = function(playerid, surfaceid, ...) local function playervalid() for k, _ in pairs(game.players) do if k == playerid then return true end end return false end local function surfacevalid() for k, _ in pairs(game.surfaces) do if k == surfaceid then return true end end return false end if playervalid() and surfacevalid() then local chunks = game.surfaces[surfaceid].get_chunks() -- Make new table of resources to be counted local res = {} for _, value in pairs({...}) do res[value] = { count=0, piles=0 } end local chunkcount = 0 for chunk in chunks do local resources=game.surfaces[surfaceid].find_entities_filtered{area={{chunk.x*32, chunk.y*32}, {(chunk.x+1)*32, (chunk.y+1)*32}}, type="resource"} for i,v in pairs(resources) do if res[v.name] then res[v.name].count=res[v.name].count+v.amount res[v.name].piles=res[v.name].piles+1 end end chunkcount = chunkcount + 1 end for r, _ in pairs(res) do game.players[playerid].print(r..", Count = "..res[r].count.." in "..res[r].piles.." piles found in "..chunkcount.." chunks. Density: per chunk "..(res[r].count/chunkcount)..", per tile "..(res[r].count/(chunkcount*32*32))) end else game.print("Either playerid or surfaceid is invalid") end end })
-- Called OnProjectileHitUnit inside Action in ActOnTargets function BallHit(keys) local caster = keys.caster local target = keys.target local ability = keys.ability local caster_intelligence = caster:GetIntellect() local target_location = target:GetAbsOrigin() local ability_level = ability:GetLevel() - 1 local vision_radius = ability:GetLevelSpecialValueFor("ball_vision", ability_level) local vision_duration = ability:GetLevelSpecialValueFor("vision_duration", ability_level) local base_damage = ability:GetLevelSpecialValueFor("base_damage", ability_level) local multiplier = ability:GetLevelSpecialValueFor("int_multiplier", ability_level) -- Calculating damage local total_damage = base_damage + caster_intelligence*multiplier -- Initializing the damage table local damage_table = {} damage_table.attacker = caster damage_table.victim = target damage_table.damage_type = ability:GetAbilityDamageType() damage_table.ability = ability damage_table.damage = total_damage ApplyDamage(damage_table) -- Vision (visibility node) ability:CreateVisibilityNode(target_location, vision_radius, vision_duration) end
local player = ... local pn = ToEnumShortString(player) local mods = SL[pn].ActiveModifiers local IsUltraWide = (GetScreenAspectRatio() > 21/9) local NumPlayers = #GAMESTATE:GetHumanPlayers() -- ----------------------------------------------------------------------- -- first, check for conditions where we might not draw the score actor at all if mods.HideScore then return end if NumPlayers > 1 and mods.NPSGraphAtTop and not IsUltraWide then return end -- ----------------------------------------------------------------------- -- set up some preliminary variables and calculations for positioning and zooming local styletype = ToEnumShortString(GAMESTATE:GetCurrentStyle():GetStyleType()) -- scores are not aligned symmetrically around screen.cx for aesthetic reasons -- and this is the cause of many code-induced headaches local pos = { [PLAYER_1] = { x=(_screen.cx - clamp(_screen.w, 640, 854)/4.3), y=56 }, [PLAYER_2] = { x=(_screen.cx + clamp(_screen.w, 640, 854)/2.75), y=56 }, } local dance_points, percent local pss = STATSMAN:GetCurStageStats():GetPlayerStageStats(player) local StepsOrTrail = (GAMESTATE:IsCourseMode() and GAMESTATE:GetCurrentTrail(player)) or GAMESTATE:GetCurrentSteps(player) local total_tapnotes = StepsOrTrail:GetRadarValues(player):GetValue( "RadarCategory_Notes" ) -- determine how many digits are needed to express the number of notes in base-10 local digits = (math.floor(math.log10(total_tapnotes)) + 1) -- subtract 4 from the digit count; we're only really interested in how many digits past 4 -- this stepcount is so we can use it to align the score actor in the StepStats pane if needed -- aligned-with-4-digits is the default digits = clamp(math.max(4, digits) - 4, 0, 3) local NoteFieldIsCentered = (GetNotefieldX(player) == _screen.cx) local ar_scale = { sixteen_ten = 0.825, sixteen_nine = 1 } --local zoom_factor = clamp(scale(GetScreenAspectRatio(), 16/10, 16/9, ar_scale.sixteen_ten, ar_scale.sixteen_nine), 0, 1.125) -- ----------------------------------------------------------------------- return LoadFont("Wendy/_wendy monospace numbers")..{ Text="0.00", Name=pn.."Score", InitCommand=function(self) self:valign(1):horizalign(right) self:zoom(0.5) end, BeginCommand=function(self) ----------------------------------------------------------------- -- ultrawide with both players joined is really its own layout -- hardcode some numbers for now, return early, and call it a day -- until 21:9 displays become more popular if IsUltraWide and #GAMESTATE:GetHumanPlayers() > 1 then if player==PLAYER_1 then self:x(134) else self:x(_screen.w - 4) end self:y( 238 ) return end ----------------------------------------------------------------- -- assume "normal" score positioning first, but there are many reasons it will need to be moved self:xy( pos[player].x, pos[player].y ) if mods.NPSGraphAtTop and styletype ~= "OnePlayerTwoSides" then -- if NPSGraphAtTop and Step Statistics and not double, -- move the score down into the stepstats pane under -- the jugdgment breakdown if mods.DataVisualizations=="Step Statistics" or mods.DataVisualizations=="Battle Statistics" then local step_stats = self:GetParent():GetChild("StepStatsPane"..pn) -- Step Statistics might be true in the SL table from a previous game session -- but current conditions might be such that it won't actually appear. -- Ensure the StepStats ActorFrame is present before trying to traverse it. if step_stats then self:y( 282 ) if player==PLAYER_1 then if mods.DataVisualizations=="Battle Statistics" then self:addy(WideScale(10,25)) end if NoteFieldIsCentered then self:x( pos[ OtherPlayer[player] ].x + SL_WideScale( 94, 112.5) ):addy(5) else self:x( pos[ OtherPlayer[player] ].x - SL_WideScale(-84, -60) ) if mods.DataVisualizations=="Battle Statistics" then self:addx(WideScale(-30,5)):addy(1) end end -- PLAYER_2 else if NoteFieldIsCentered then self:x( pos[ OtherPlayer[player] ].x - 65.5 ) else self:x( pos[ OtherPlayer[player] ].x - SL_WideScale(-6, -2)) end if mods.DataVisualizations=="Battle Statistics" then self:addx(WideScale(200,220)):addy(WideScale(10,25)) end end end -- if NPSGraphAtTop but not Step Statistics else -- if not Center1Player, move the score right or left -- within the normal gameplay header to where the -- other player's score would be if this were versus if not NoteFieldIsCentered then self:x( pos[ OtherPlayer[player] ].x ) self:y( pos[ OtherPlayer[player] ].y ) end -- if NoteFieldIsCentered, no need to move the score end end end, JudgmentMessageCommand=function(self) self:queuecommand("RedrawScore") end, RedrawScoreCommand=function(self) dance_points = pss:GetPercentDancePoints() percent = FormatPercentScore( dance_points ):sub(1,-2) self:settext(percent) end }
object_tangible_collection_gem_round_hueable_01 = object_tangible_collection_shared_gem_round_hueable_01:new { gameObjectType = 8211,} ObjectTemplates:addTemplate(object_tangible_collection_gem_round_hueable_01, "object/tangible/collection/gem_round_hueable_01.iff")
--Copyright (C) 2009 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version --which carries forward this exception. object_tangible_lair_base_shared_antpile_dark = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_antpile_dark.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_antpile_dark.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_bones.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:antpile", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:generic_antpile", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 326994159, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_antpile_dark, "object/tangible/lair/base/shared_antpile_dark.iff") object_tangible_lair_base_shared_antpile_light = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_antpile_light.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_antpile_light.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_bones.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:antpile", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:generic_antpile", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1286978231, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_antpile_light, "object/tangible/lair/base/shared_antpile_light.iff") object_tangible_lair_base_shared_bramble_dark = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_bramble_dark.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_bramble.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_bones.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:bramble", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:generic_bramble", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2767616602, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_bramble_dark, "object/tangible/lair/base/shared_bramble_dark.iff") object_tangible_lair_base_shared_bramble_light = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_bramble_light.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_bramble_light.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_bones.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:bramble", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:generic_bramble", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1681838796, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_bramble_light, "object/tangible/lair/base/shared_bramble_light.iff") object_tangible_lair_base_shared_cave_small_dark = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_cave_small_dark.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_cave_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_bones.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:small_cave", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:generic_cave_small", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1710583853, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_cave_small_dark, "object/tangible/lair/base/shared_cave_small_dark.iff") object_tangible_lair_base_shared_cave_small_light = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_cave_small_light.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_cave_small_light.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_bones.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:small_cave", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:generic_cave_small", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1048520930, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_cave_small_light, "object/tangible/lair/base/shared_cave_small_light.iff") object_tangible_lair_base_shared_earthmound_dark = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_earthmound_dark.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_earthmound_dark.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_bones.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:earthmound", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:generic_mound", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2097596216, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_earthmound_dark, "object/tangible/lair/base/shared_earthmound_dark.iff") object_tangible_lair_base_shared_earthmound_light = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_earthmound_light.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_earthmound_light.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_bones.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:earthmound", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:generic_mound", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2815494954, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_earthmound_light, "object/tangible/lair/base/shared_earthmound_light.iff") object_tangible_lair_base_shared_lair_base = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_lair_base.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/defaultappearance.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/client_shared_lair_small.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:base", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:base", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3530316477, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_lair_base, "object/tangible/lair/base/shared_lair_base.iff") object_tangible_lair_base_shared_lair_base_cave_griffon_dark = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_lair_base_cave_griffon_dark.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_rancor_dark.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_bones.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:griffon_cave", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:generic_cave_griffon", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3488597328, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_lair_base_cave_griffon_dark, "object/tangible/lair/base/shared_lair_base_cave_griffon_dark.iff") object_tangible_lair_base_shared_lair_base_cave_griffon_light = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_lair_base_cave_griffon_light.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_rancor_dark.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_bones.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:griffon_cave", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:generic_cave_griffon", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 4201633082, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_lair_base_cave_griffon_light, "object/tangible/lair/base/shared_lair_base_cave_griffon_light.iff") object_tangible_lair_base_shared_lair_base_cave_lion_dark = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_lair_base_cave_lion_dark.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_rancor_dark.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_bones.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:lion_cave", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:generic_cave_lion", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 552648551, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_lair_base_cave_lion_dark, "object/tangible/lair/base/shared_lair_base_cave_lion_dark.iff") object_tangible_lair_base_shared_lair_base_cave_lion_light = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_lair_base_cave_lion_light.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_rancor_dark.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_bones.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:lion_cave", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:generic_cave_lion", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 418609662, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_lair_base_cave_lion_light, "object/tangible/lair/base/shared_lair_base_cave_lion_light.iff") object_tangible_lair_base_shared_lair_base_crevice_dark = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_lair_base_crevice_dark.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_rancor_dark.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_bones.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:crevice", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:generic_crevice", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3148303792, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_lair_base_crevice_dark, "object/tangible/lair/base/shared_lair_base_crevice_dark.iff") object_tangible_lair_base_shared_lair_base_crevice_light = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_lair_base_crevice_light.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_rancor_dark.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_bones.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:crevice", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:generic_crevice", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1096244737, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_lair_base_crevice_light, "object/tangible/lair/base/shared_lair_base_crevice_light.iff") object_tangible_lair_base_shared_lair_base_den_earthen_dark = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_lair_base_den_earthen_dark.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_earthmound_dark.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_bones.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:den", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:generic_den", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3561390098, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_lair_base_den_earthen_dark, "object/tangible/lair/base/shared_lair_base_den_earthen_dark.iff") object_tangible_lair_base_shared_lair_base_den_earthen_light = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_lair_base_den_earthen_light.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_earthmound_light.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_bones.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:den", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:generic_den", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 879789867, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_lair_base_den_earthen_light, "object/tangible/lair/base/shared_lair_base_den_earthen_light.iff") object_tangible_lair_base_shared_lair_base_hovel = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_lair_base_hovel.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/thm_tato_sandstone_hovel_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_bones.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:hovel", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:generic_hovel", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 734574174, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_lair_base_hovel, "object/tangible/lair/base/shared_lair_base_hovel.iff") object_tangible_lair_base_shared_lair_base_imperial_guard = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_lair_base_imperial_guard.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/mun_all_military_base_lookout_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_bones.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:guard", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:generic_imperial_guard", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3776501697, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_lair_base_imperial_guard, "object/tangible/lair/base/shared_lair_base_imperial_guard.iff") object_tangible_lair_base_shared_lair_base_mound_bramble_dark = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_lair_base_mound_bramble_dark.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_bramble.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_bones.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:bramble", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:generic_bramble", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2387382663, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_lair_base_mound_bramble_dark, "object/tangible/lair/base/shared_lair_base_mound_bramble_dark.iff") object_tangible_lair_base_shared_lair_base_mound_bramble_light = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_lair_base_mound_bramble_light.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_bramble_tatt.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_bones.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:bramble", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:generic_bramble", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1769762810, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_lair_base_mound_bramble_light, "object/tangible/lair/base/shared_lair_base_mound_bramble_light.iff") object_tangible_lair_base_shared_lair_base_mound_insect_dark = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_lair_base_mound_insect_dark.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_antpile_dark.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_bones.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:insect_mound", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:generic_insect_mound", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3360926461, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_lair_base_mound_insect_dark, "object/tangible/lair/base/shared_lair_base_mound_insect_dark.iff") object_tangible_lair_base_shared_lair_base_mound_insect_light = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_lair_base_mound_insect_light.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_antpile_light.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_bones.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:insect_mound", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:generic_insect_mound", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1481058367, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_lair_base_mound_insect_light, "object/tangible/lair/base/shared_lair_base_mound_insect_light.iff") object_tangible_lair_base_shared_lair_base_nest_ground_lg_dark = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_lair_base_nest_ground_lg_dark.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_nest_tree_sm.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_bones.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:nest", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:generic_nest", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1671618921, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_lair_base_nest_ground_lg_dark, "object/tangible/lair/base/shared_lair_base_nest_ground_lg_dark.iff") object_tangible_lair_base_shared_lair_base_nest_ground_lg_light = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_lair_base_nest_ground_lg_light.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_nest_tree.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_bones.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:nest", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:generic_nest", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1936204112, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_lair_base_nest_ground_lg_light, "object/tangible/lair/base/shared_lair_base_nest_ground_lg_light.iff") object_tangible_lair_base_shared_lair_base_nest_tree_lg_dark = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_lair_base_nest_tree_lg_dark.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_nest_tree_sm.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_bones.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:nest", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:generic_nest", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3610220706, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_lair_base_nest_tree_lg_dark, "object/tangible/lair/base/shared_lair_base_nest_tree_lg_dark.iff") object_tangible_lair_base_shared_lair_base_nest_tree_lg_light = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_lair_base_nest_tree_lg_light.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_nest_tree_sm.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_bones.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:nest", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:generic_nest", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1344999922, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_lair_base_nest_tree_lg_light, "object/tangible/lair/base/shared_lair_base_nest_tree_lg_light.iff") object_tangible_lair_base_shared_lair_base_rancor_dark = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_lair_base_rancor_dark.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_rancor_dark.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_bones.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:rancor", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:generic_rancor_lair", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 738621096, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_lair_base_rancor_dark, "object/tangible/lair/base/shared_lair_base_rancor_dark.iff") object_tangible_lair_base_shared_lair_base_rancor_light = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_lair_base_rancor_light.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_rancor_light.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_bones.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:rancor", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:generic_rancor_lair", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3677760922, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_lair_base_rancor_light, "object/tangible/lair/base/shared_lair_base_rancor_light.iff") object_tangible_lair_base_shared_lair_base_trash_dark = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_lair_base_trash_dark.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_trash_dark.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_bones.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:trash", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:generic_trash_pile", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 960523007, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_lair_base_trash_dark, "object/tangible/lair/base/shared_lair_base_trash_dark.iff") object_tangible_lair_base_shared_lair_base_trash_light = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_lair_base_trash_light.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_rancor_dark.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_bones.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:trash", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:generic_trash_pile", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3338586753, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_lair_base_trash_light, "object/tangible/lair/base/shared_lair_base_trash_light.iff") object_tangible_lair_base_shared_nest_tree = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_nest_tree.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_nest_tree.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_bones.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:nest", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:generic_nest", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1002824904, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_nest_tree, "object/tangible/lair/base/shared_nest_tree.iff") object_tangible_lair_base_shared_objective_banner_corellia = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_objective_banner_corellia.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/thm_corl_banner_govt_tall.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_objective_standing_banner.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:banner_corellia", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:banner_corellia", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1575829275, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_objective_banner_corellia, "object/tangible/lair/base/shared_objective_banner_corellia.iff") object_tangible_lair_base_shared_objective_banner_generic_1 = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_objective_banner_generic_1.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/thm_all_banner_generic_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_objective_standing_banner.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:banner_generic_1", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:banner_generic_1", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1806591986, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_objective_banner_generic_1, "object/tangible/lair/base/shared_objective_banner_generic_1.iff") object_tangible_lair_base_shared_objective_banner_generic_2 = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_objective_banner_generic_2.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/thm_all_banner_generic_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_objective_standing_banner.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:banner_generic_2", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:banner_generic_2", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2964967269, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_objective_banner_generic_2, "object/tangible/lair/base/shared_objective_banner_generic_2.iff") object_tangible_lair_base_shared_objective_banner_imperial = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_objective_banner_imperial.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/thm_all_impl_banner_freestand_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_objective_standing_banner.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:imperial_banner", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:imperial_banner", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3154468577, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_objective_banner_imperial, "object/tangible/lair/base/shared_objective_banner_imperial.iff") object_tangible_lair_base_shared_objective_banner_rebel = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_objective_banner_rebel.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/thm_all_rebl_banner_freestand_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_objective_standing_banner.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:rebel_banner", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:rebel_banner", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3574902738, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_objective_banner_rebel, "object/tangible/lair/base/shared_objective_banner_rebel.iff") object_tangible_lair_base_shared_objective_banner_tatooine = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_objective_banner_tatooine.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/thm_all_tato_banner_freestand_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_objective_standing_banner.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:banner_tatooine", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:banner_tatooine", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1638817412, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_objective_banner_tatooine, "object/tangible/lair/base/shared_objective_banner_tatooine.iff") object_tangible_lair_base_shared_objective_dantari_fire_pit = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_objective_dantari_fire_pit.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/thm_dant_fire_pit.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:fire_pit", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:fire_pit", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1367098929, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_objective_dantari_fire_pit, "object/tangible/lair/base/shared_objective_dantari_fire_pit.iff") object_tangible_lair_base_shared_objective_dantari_monolith = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_objective_dantari_monolith.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/thm_dant_totem_pole.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_objective_mts_clan_monolith.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:dantari_monolith", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:dantari_monolith", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 426269176, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_objective_dantari_monolith, "object/tangible/lair/base/shared_objective_dantari_monolith.iff") object_tangible_lair_base_shared_objective_data_terminal = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_objective_data_terminal.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/frn_all_data_terminal_free_s1.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_objective_data_terminal.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:data_terminal", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:data_terminal", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1140811690, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_objective_data_terminal, "object/tangible/lair/base/shared_objective_data_terminal.iff") object_tangible_lair_base_shared_objective_gungan_statue = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_objective_gungan_statue.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/thm_nboo_gungan_statue_s03.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_objective_gungan_statue.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:gungan_warrior_statue", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:gungan_warrior_statue", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2446722637, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_objective_gungan_statue, "object/tangible/lair/base/shared_objective_gungan_statue.iff") object_tangible_lair_base_shared_objective_main_terminal = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_objective_main_terminal.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/frn_all_data_terminal_free_s2.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_objective_data_terminal.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:main_terminal", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:main_terminal", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3090575675, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_objective_main_terminal, "object/tangible/lair/base/shared_objective_main_terminal.iff") object_tangible_lair_base_shared_objective_mts_clan_monolith = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_objective_mts_clan_monolith.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/thm_dath_mtn_clan_pillar_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_objective_mts_clan_monolith.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:clan_monolith", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:clan_monolith", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 4290984139, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_objective_mts_clan_monolith, "object/tangible/lair/base/shared_objective_mts_clan_monolith.iff") object_tangible_lair_base_shared_objective_power_generator = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_objective_power_generator.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/thm_corl_power_transformer_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_objective_power_generator.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:power_generator", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:power_generator", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 468482047, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_objective_power_generator, "object/tangible/lair/base/shared_objective_power_generator.iff") object_tangible_lair_base_shared_objective_power_node = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_objective_power_node.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/thm_corl_power_bubble_node.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_objective_power_generator.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:power_node", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:power_node", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2086368006, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_objective_power_node, "object/tangible/lair/base/shared_objective_power_node.iff") object_tangible_lair_base_shared_objective_power_transformer = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_objective_power_transformer.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/thm_corl_power_transformer_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_objective_power_generator.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:power_transformer", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:power_transformer", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3115996224, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_objective_power_transformer, "object/tangible/lair/base/shared_objective_power_transformer.iff") object_tangible_lair_base_shared_poi_all_lair_bones = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_bones.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_bones.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_bones.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:bones", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:bones", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3142299424, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_bones, "object/tangible/lair/base/shared_poi_all_lair_bones.iff") object_tangible_lair_base_shared_poi_all_lair_bones_evil_fire_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_bones_evil_fire_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_bones.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:bones", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:bones", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2845871690, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_bones_evil_fire_green, "object/tangible/lair/base/shared_poi_all_lair_bones_evil_fire_green.iff") object_tangible_lair_base_shared_poi_all_lair_bones_evil_fire_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_bones_evil_fire_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_bones.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:bones", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:bones", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1770695820, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_bones_evil_fire_red, "object/tangible/lair/base/shared_poi_all_lair_bones_evil_fire_red.iff") object_tangible_lair_base_shared_poi_all_lair_bones_evil_fire_small = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_bones_evil_fire_small.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_bones.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_small.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:bones", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:bones", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3803873203, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_bones_evil_fire_small, "object/tangible/lair/base/shared_poi_all_lair_bones_evil_fire_small.iff") object_tangible_lair_base_shared_poi_all_lair_bones_fog_gray = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_bones_fog_gray.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_bones.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_gray.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:bones", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:bones", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 430580141, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_bones_fog_gray, "object/tangible/lair/base/shared_poi_all_lair_bones_fog_gray.iff") object_tangible_lair_base_shared_poi_all_lair_bones_fog_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_bones_fog_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_bones.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:bones", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:bones", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 965028408, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_bones_fog_green, "object/tangible/lair/base/shared_poi_all_lair_bones_fog_green.iff") object_tangible_lair_base_shared_poi_all_lair_bones_fog_mustard = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_bones_fog_mustard.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_bones.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_mustard.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:bones", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:bones", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3554933816, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_bones_fog_mustard, "object/tangible/lair/base/shared_poi_all_lair_bones_fog_mustard.iff") object_tangible_lair_base_shared_poi_all_lair_bones_fog_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_bones_fog_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_bones.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:bones", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:bones", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1163934021, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_bones_fog_red, "object/tangible/lair/base/shared_poi_all_lair_bones_fog_red.iff") object_tangible_lair_base_shared_poi_all_lair_bones_large = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_bones_large.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_bones_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_bones_large.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:bones", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:bones", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1362281265, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_bones_large, "object/tangible/lair/base/shared_poi_all_lair_bones_large.iff") object_tangible_lair_base_shared_poi_all_lair_bones_large_evil_fire_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_bones_large_evil_fire_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_bones_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:bones", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:bones", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3202178196, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_bones_large_evil_fire_green, "object/tangible/lair/base/shared_poi_all_lair_bones_large_evil_fire_green.iff") object_tangible_lair_base_shared_poi_all_lair_bones_large_evil_fire_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_bones_large_evil_fire_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_bones_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:bones", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:bones", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 287273685, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_bones_large_evil_fire_red, "object/tangible/lair/base/shared_poi_all_lair_bones_large_evil_fire_red.iff") object_tangible_lair_base_shared_poi_all_lair_bones_large_evil_fire_small = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_bones_large_evil_fire_small.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_bones_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_small.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:bones", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:bones", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 4123503981, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_bones_large_evil_fire_small, "object/tangible/lair/base/shared_poi_all_lair_bones_large_evil_fire_small.iff") object_tangible_lair_base_shared_poi_all_lair_bones_large_fog_gray = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_bones_large_fog_gray.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_bones_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_gray.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:bones", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:bones", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2627450629, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_bones_large_fog_gray, "object/tangible/lair/base/shared_poi_all_lair_bones_large_fog_gray.iff") object_tangible_lair_base_shared_poi_all_lair_bones_large_fog_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_bones_large_fog_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_bones_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:bones", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:bones", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1994000829, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_bones_large_fog_green, "object/tangible/lair/base/shared_poi_all_lair_bones_large_fog_green.iff") object_tangible_lair_base_shared_poi_all_lair_bones_large_fog_mustard = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_bones_large_fog_mustard.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_bones_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_mustard.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:bones", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:bones", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1283439590, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_bones_large_fog_mustard, "object/tangible/lair/base/shared_poi_all_lair_bones_large_fog_mustard.iff") object_tangible_lair_base_shared_poi_all_lair_bones_large_fog_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_bones_large_fog_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_bones_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:bones", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:bones", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 4286037128, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_bones_large_fog_red, "object/tangible/lair/base/shared_poi_all_lair_bones_large_fog_red.iff") object_tangible_lair_base_shared_poi_all_lair_brambles_large = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_brambles_large.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_brambles_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_brambles_small.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:brambles", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:brambles", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2971623955, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_brambles_large, "object/tangible/lair/base/shared_poi_all_lair_brambles_large.iff") object_tangible_lair_base_shared_poi_all_lair_brambles_large_evil_fire_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_brambles_large_evil_fire_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_brambles_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:brambles", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:brambles", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3450920549, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_brambles_large_evil_fire_green, "object/tangible/lair/base/shared_poi_all_lair_brambles_large_evil_fire_green.iff") object_tangible_lair_base_shared_poi_all_lair_brambles_large_evil_fire_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_brambles_large_evil_fire_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_brambles_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:brambles", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:brambles", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3728817132, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_brambles_large_evil_fire_red, "object/tangible/lair/base/shared_poi_all_lair_brambles_large_evil_fire_red.iff") object_tangible_lair_base_shared_poi_all_lair_brambles_large_evil_fire_small = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_brambles_large_evil_fire_small.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_brambles_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_small.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:brambles", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:brambles", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2259300252, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_brambles_large_evil_fire_small, "object/tangible/lair/base/shared_poi_all_lair_brambles_large_evil_fire_small.iff") object_tangible_lair_base_shared_poi_all_lair_brambles_large_fog = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_brambles_large_fog.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_brambles_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_gray.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_detail:lair_brambles", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_name:lair_brambles", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1837327181, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_brambles_large_fog, "object/tangible/lair/base/shared_poi_all_lair_brambles_large_fog.iff") object_tangible_lair_base_shared_poi_all_lair_brambles_large_fog_gray = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_brambles_large_fog_gray.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_brambles_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_gray.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:brambles", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:brambles", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1099426587, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_brambles_large_fog_gray, "object/tangible/lair/base/shared_poi_all_lair_brambles_large_fog_gray.iff") object_tangible_lair_base_shared_poi_all_lair_brambles_large_fog_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_brambles_large_fog_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_brambles_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:brambles", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:brambles", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1255201415, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_brambles_large_fog_green, "object/tangible/lair/base/shared_poi_all_lair_brambles_large_fog_green.iff") object_tangible_lair_base_shared_poi_all_lair_brambles_large_fog_mustard = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_brambles_large_fog_mustard.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_brambles_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_mustard.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:brambles", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:brambles", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1330750206, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_brambles_large_fog_mustard, "object/tangible/lair/base/shared_poi_all_lair_brambles_large_fog_mustard.iff") object_tangible_lair_base_shared_poi_all_lair_brambles_large_fog_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_brambles_large_fog_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_brambles_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:brambles", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:brambles", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3991876404, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_brambles_large_fog_red, "object/tangible/lair/base/shared_poi_all_lair_brambles_large_fog_red.iff") object_tangible_lair_base_shared_poi_all_lair_brambles_small = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_brambles_small.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_brambles_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_brambles_small.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:brambles", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:brambles", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2231694906, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_brambles_small, "object/tangible/lair/base/shared_poi_all_lair_brambles_small.iff") object_tangible_lair_base_shared_poi_all_lair_brambles_small_evil_fire_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_brambles_small_evil_fire_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_brambles_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:brambles", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:brambles", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3553159285, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_brambles_small_evil_fire_green, "object/tangible/lair/base/shared_poi_all_lair_brambles_small_evil_fire_green.iff") object_tangible_lair_base_shared_poi_all_lair_brambles_small_evil_fire_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_brambles_small_evil_fire_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_brambles_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:brambles", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:brambles", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1553145843, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_brambles_small_evil_fire_red, "object/tangible/lair/base/shared_poi_all_lair_brambles_small_evil_fire_red.iff") object_tangible_lair_base_shared_poi_all_lair_brambles_small_evil_fire_small = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_brambles_small_evil_fire_small.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_brambles_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_small.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:brambles", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:brambles", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2563905932, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_brambles_small_evil_fire_small, "object/tangible/lair/base/shared_poi_all_lair_brambles_small_evil_fire_small.iff") object_tangible_lair_base_shared_poi_all_lair_brambles_small_fog_gray = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_brambles_small_fog_gray.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_brambles_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_gray.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:brambles", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:brambles", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1638603949, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_brambles_small_fog_gray, "object/tangible/lair/base/shared_poi_all_lair_brambles_small_fog_gray.iff") object_tangible_lair_base_shared_poi_all_lair_brambles_small_fog_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_brambles_small_fog_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_brambles_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:brambles", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:brambles", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 4261730919, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_brambles_small_fog_green, "object/tangible/lair/base/shared_poi_all_lair_brambles_small_fog_green.iff") object_tangible_lair_base_shared_poi_all_lair_brambles_small_fog_mustard = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_brambles_small_fog_mustard.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_brambles_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_mustard.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:brambles", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:brambles", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3128216527, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_brambles_small_fog_mustard, "object/tangible/lair/base/shared_poi_all_lair_brambles_small_fog_mustard.iff") object_tangible_lair_base_shared_poi_all_lair_brambles_small_fog_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_brambles_small_fog_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_brambles_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:brambles", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:brambles", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1159215224, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_brambles_small_fog_red, "object/tangible/lair/base/shared_poi_all_lair_brambles_small_fog_red.iff") object_tangible_lair_base_shared_poi_all_lair_dead_log_large = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_dead_log_large.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_dead_log_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_dead_log_large.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:dead_log", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:dead_log", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 759277072, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_dead_log_large, "object/tangible/lair/base/shared_poi_all_lair_dead_log_large.iff") object_tangible_lair_base_shared_poi_all_lair_dead_log_large_evil_fire_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_dead_log_large_evil_fire_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_dead_log_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:dead_log", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:dead_log", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3507525090, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_dead_log_large_evil_fire_green, "object/tangible/lair/base/shared_poi_all_lair_dead_log_large_evil_fire_green.iff") object_tangible_lair_base_shared_poi_all_lair_dead_log_large_evil_fire_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_dead_log_large_evil_fire_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_dead_log_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:dead_log", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:dead_log", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2858454846, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_dead_log_large_evil_fire_red, "object/tangible/lair/base/shared_poi_all_lair_dead_log_large_evil_fire_red.iff") object_tangible_lair_base_shared_poi_all_lair_dead_log_large_evil_fire_small = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_dead_log_large_evil_fire_small.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_dead_log_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_small.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:dead_log", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:dead_log", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2584372251, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_dead_log_large_evil_fire_small, "object/tangible/lair/base/shared_poi_all_lair_dead_log_large_evil_fire_small.iff") object_tangible_lair_base_shared_poi_all_lair_dead_log_large_fog_gray = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_dead_log_large_fog_gray.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_dead_log_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_gray.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:dead_log", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:dead_log", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1743001105, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_dead_log_large_fog_gray, "object/tangible/lair/base/shared_poi_all_lair_dead_log_large_fog_gray.iff") object_tangible_lair_base_shared_poi_all_lair_dead_log_large_fog_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_dead_log_large_fog_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_dead_log_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:dead_log", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:dead_log", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2877828053, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_dead_log_large_fog_green, "object/tangible/lair/base/shared_poi_all_lair_dead_log_large_fog_green.iff") object_tangible_lair_base_shared_poi_all_lair_dead_log_large_fog_mustard = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_dead_log_large_fog_mustard.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_dead_log_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_mustard.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:dead_log", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:dead_log", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3521947503, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_dead_log_large_fog_mustard, "object/tangible/lair/base/shared_poi_all_lair_dead_log_large_fog_mustard.iff") object_tangible_lair_base_shared_poi_all_lair_dead_log_large_fog_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_dead_log_large_fog_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_dead_log_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:dead_log", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:dead_log", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3824541289, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_dead_log_large_fog_red, "object/tangible/lair/base/shared_poi_all_lair_dead_log_large_fog_red.iff") object_tangible_lair_base_shared_poi_all_lair_dead_log_small = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_dead_log_small.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_dead_log_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_dead_log_small.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:dead_log", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:dead_log", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 425341497, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_dead_log_small, "object/tangible/lair/base/shared_poi_all_lair_dead_log_small.iff") object_tangible_lair_base_shared_poi_all_lair_dead_log_small_evil_fire_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_dead_log_small_evil_fire_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_dead_log_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:dead_log", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:dead_log", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3479741426, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_dead_log_small_evil_fire_green, "object/tangible/lair/base/shared_poi_all_lair_dead_log_small_evil_fire_green.iff") object_tangible_lair_base_shared_poi_all_lair_dead_log_small_evil_fire_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_dead_log_small_evil_fire_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_dead_log_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:dead_log", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:dead_log", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 682797857, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_dead_log_small_evil_fire_red, "object/tangible/lair/base/shared_poi_all_lair_dead_log_small_evil_fire_red.iff") object_tangible_lair_base_shared_poi_all_lair_dead_log_small_evil_fire_small = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_dead_log_small_evil_fire_small.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_dead_log_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_small.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:dead_log", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:dead_log", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2222084619, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_dead_log_small_evil_fire_small, "object/tangible/lair/base/shared_poi_all_lair_dead_log_small_evil_fire_small.iff") object_tangible_lair_base_shared_poi_all_lair_dead_log_small_fog_gray = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_dead_log_small_fog_gray.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_dead_log_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_gray.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:dead_log", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:dead_log", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1204347303, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_dead_log_small_fog_gray, "object/tangible/lair/base/shared_poi_all_lair_dead_log_small_fog_gray.iff") object_tangible_lair_base_shared_poi_all_lair_dead_log_small_fog_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_dead_log_small_fog_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_dead_log_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:dead_log", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:dead_log", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 526134069, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_dead_log_small_fog_green, "object/tangible/lair/base/shared_poi_all_lair_dead_log_small_fog_green.iff") object_tangible_lair_base_shared_poi_all_lair_dead_log_small_fog_mustard = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_dead_log_small_fog_mustard.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_dead_log_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_mustard.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:dead_log", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:dead_log", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 617205342, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_dead_log_small_fog_mustard, "object/tangible/lair/base/shared_poi_all_lair_dead_log_small_fog_mustard.iff") object_tangible_lair_base_shared_poi_all_lair_dead_log_small_fog_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_dead_log_small_fog_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_dead_log_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:dead_log", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:dead_log", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1258476837, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_dead_log_small_fog_red, "object/tangible/lair/base/shared_poi_all_lair_dead_log_small_fog_red.iff") object_tangible_lair_base_shared_poi_all_lair_garbage_large = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_garbage_large.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_garbage_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_garbage_large.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:garbage", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:garbage", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2517129351, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_garbage_large, "object/tangible/lair/base/shared_poi_all_lair_garbage_large.iff") object_tangible_lair_base_shared_poi_all_lair_garbage_large_evil_fire_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_garbage_large_evil_fire_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_garbage_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:garbage", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:garbage", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2898447287, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_garbage_large_evil_fire_green, "object/tangible/lair/base/shared_poi_all_lair_garbage_large_evil_fire_green.iff") object_tangible_lair_base_shared_poi_all_lair_garbage_large_evil_fire_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_garbage_large_evil_fire_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_garbage_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:garbage", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:garbage", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 182921096, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_garbage_large_evil_fire_red, "object/tangible/lair/base/shared_poi_all_lair_garbage_large_evil_fire_red.iff") object_tangible_lair_base_shared_poi_all_lair_garbage_large_evil_fire_small = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_garbage_large_evil_fire_small.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_garbage_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_small.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:garbage", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:garbage", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3889707598, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_garbage_large_evil_fire_small, "object/tangible/lair/base/shared_poi_all_lair_garbage_large_evil_fire_small.iff") object_tangible_lair_base_shared_poi_all_lair_garbage_large_fog_gray = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_garbage_large_fog_gray.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_garbage_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_gray.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:garbage", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:garbage", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 823883732, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_garbage_large_fog_gray, "object/tangible/lair/base/shared_poi_all_lair_garbage_large_fog_gray.iff") object_tangible_lair_base_shared_poi_all_lair_garbage_large_fog_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_garbage_large_fog_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_garbage_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:garbage", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:garbage", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 922224736, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_garbage_large_fog_green, "object/tangible/lair/base/shared_poi_all_lair_garbage_large_fog_green.iff") object_tangible_lair_base_shared_poi_all_lair_garbage_large_fog_mustard = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_garbage_large_fog_mustard.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_garbage_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_mustard.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:garbage", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:garbage", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2638567972, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_garbage_large_fog_mustard, "object/tangible/lair/base/shared_poi_all_lair_garbage_large_fog_mustard.iff") object_tangible_lair_base_shared_poi_all_lair_garbage_large_fog_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_garbage_large_fog_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_garbage_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:garbage", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:garbage", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2777489717, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_garbage_large_fog_red, "object/tangible/lair/base/shared_poi_all_lair_garbage_large_fog_red.iff") object_tangible_lair_base_shared_poi_all_lair_garbage_small = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_garbage_small.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_garbage_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_garbage_small.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:garbage", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:garbage", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2719206574, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_garbage_small, "object/tangible/lair/base/shared_poi_all_lair_garbage_small.iff") object_tangible_lair_base_shared_poi_all_lair_garbage_small_evil_fire_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_garbage_small_evil_fire_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_garbage_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:garbage", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:garbage", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2998599079, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_garbage_small_evil_fire_green, "object/tangible/lair/base/shared_poi_all_lair_garbage_small_evil_fire_green.iff") object_tangible_lair_base_shared_poi_all_lair_garbage_small_evil_fire_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_garbage_small_evil_fire_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_garbage_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:garbage", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:garbage", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2285175703, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_garbage_small_evil_fire_red, "object/tangible/lair/base/shared_poi_all_lair_garbage_small_evil_fire_red.iff") object_tangible_lair_base_shared_poi_all_lair_garbage_small_evil_fire_small = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_garbage_small_evil_fire_small.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_garbage_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_small.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:garbage", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:garbage", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 4188015710, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_garbage_small_evil_fire_small, "object/tangible/lair/base/shared_poi_all_lair_garbage_small_evil_fire_small.iff") object_tangible_lair_base_shared_poi_all_lair_garbage_small_fog_gray = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_garbage_small_fog_gray.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_garbage_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_gray.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:garbage", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:garbage", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 288850018, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_garbage_small_fog_gray, "object/tangible/lair/base/shared_poi_all_lair_garbage_small_fog_gray.iff") object_tangible_lair_base_shared_poi_all_lair_garbage_small_fog_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_garbage_small_fog_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_garbage_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:garbage", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:garbage", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2183923840, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_garbage_small_fog_green, "object/tangible/lair/base/shared_poi_all_lair_garbage_small_fog_green.iff") object_tangible_lair_base_shared_poi_all_lair_garbage_small_fog_mustard = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_garbage_small_fog_mustard.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_garbage_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_mustard.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:garbage", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:garbage", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1751134997, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_garbage_small_fog_mustard, "object/tangible/lair/base/shared_poi_all_lair_garbage_small_fog_mustard.iff") object_tangible_lair_base_shared_poi_all_lair_garbage_small_fog_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_garbage_small_fog_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_garbage_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:garbage", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:garbage", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 226110073, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_garbage_small_fog_red, "object/tangible/lair/base/shared_poi_all_lair_garbage_small_fog_red.iff") object_tangible_lair_base_shared_poi_all_lair_insecthill_large = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_insecthill_large.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_insecthill_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_insecthill_large.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:insecthill", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:insecthill", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2912626123, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_insecthill_large, "object/tangible/lair/base/shared_poi_all_lair_insecthill_large.iff") object_tangible_lair_base_shared_poi_all_lair_insecthill_large_evil_fire_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_insecthill_large_evil_fire_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_insecthill_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_insecthill_large.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:insecthill", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:insecthill", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1861288469, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_insecthill_large_evil_fire_green, "object/tangible/lair/base/shared_poi_all_lair_insecthill_large_evil_fire_green.iff") object_tangible_lair_base_shared_poi_all_lair_insecthill_large_evil_fire_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_insecthill_large_evil_fire_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_insecthill_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:insecthill", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:insecthill", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2385068823, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_insecthill_large_evil_fire_red, "object/tangible/lair/base/shared_poi_all_lair_insecthill_large_evil_fire_red.iff") object_tangible_lair_base_shared_poi_all_lair_insecthill_large_evil_fire_small = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_insecthill_large_evil_fire_small.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_insecthill_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_small.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:insecthill", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:insecthill", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 636220396, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_insecthill_large_evil_fire_small, "object/tangible/lair/base/shared_poi_all_lair_insecthill_large_evil_fire_small.iff") object_tangible_lair_base_shared_poi_all_lair_insecthill_large_fog_gray = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_insecthill_large_fog_gray.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_insecthill_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_gray.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:insecthill", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:insecthill", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1730491297, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_insecthill_large_fog_gray, "object/tangible/lair/base/shared_poi_all_lair_insecthill_large_fog_gray.iff") object_tangible_lair_base_shared_poi_all_lair_insecthill_large_fog_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_insecthill_large_fog_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_insecthill_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:insecthill", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:insecthill", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1789762517, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_insecthill_large_fog_green, "object/tangible/lair/base/shared_poi_all_lair_insecthill_large_fog_green.iff") object_tangible_lair_base_shared_poi_all_lair_insecthill_large_fog_mustard = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_insecthill_large_fog_mustard.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_insecthill_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_mustard.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:insecthill", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:insecthill", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 4292415468, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_insecthill_large_fog_mustard, "object/tangible/lair/base/shared_poi_all_lair_insecthill_large_fog_mustard.iff") object_tangible_lair_base_shared_poi_all_lair_insecthill_large_fog_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_insecthill_large_fog_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_insecthill_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:insecthill", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:insecthill", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2995341818, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_insecthill_large_fog_red, "object/tangible/lair/base/shared_poi_all_lair_insecthill_large_fog_red.iff") object_tangible_lair_base_shared_poi_all_lair_insecthill_small = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_insecthill_small.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_insecthill_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_insecthill_small.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:insecthill", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:insecthill", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2575348194, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_insecthill_small, "object/tangible/lair/base/shared_poi_all_lair_insecthill_small.iff") object_tangible_lair_base_shared_poi_all_lair_insecthill_small_evil_fire_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_insecthill_small_evil_fire_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_insecthill_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:insecthill", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:insecthill", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1888039941, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_insecthill_small_evil_fire_green, "object/tangible/lair/base/shared_poi_all_lair_insecthill_small_evil_fire_green.iff") object_tangible_lair_base_shared_poi_all_lair_insecthill_small_evil_fire_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_insecthill_small_evil_fire_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_insecthill_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:insecthill", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:insecthill", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 217802504, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_insecthill_small_evil_fire_red, "object/tangible/lair/base/shared_poi_all_lair_insecthill_small_evil_fire_red.iff") object_tangible_lair_base_shared_poi_all_lair_insecthill_small_evil_fire_small = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_insecthill_small_evil_fire_small.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_insecthill_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_small.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:insecthill", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:insecthill", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 999540220, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_insecthill_small_evil_fire_small, "object/tangible/lair/base/shared_poi_all_lair_insecthill_small_evil_fire_small.iff") object_tangible_lair_base_shared_poi_all_lair_insecthill_small_fog_gray = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_insecthill_small_fog_gray.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_insecthill_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_gray.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:insecthill", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:insecthill", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1191822359, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_insecthill_small_fog_gray, "object/tangible/lair/base/shared_poi_all_lair_insecthill_small_fog_gray.iff") object_tangible_lair_base_shared_poi_all_lair_insecthill_small_fog_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_insecthill_small_fog_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_insecthill_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:insecthill", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:insecthill", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3732511541, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_insecthill_small_fog_green, "object/tangible/lair/base/shared_poi_all_lair_insecthill_small_fog_green.iff") object_tangible_lair_base_shared_poi_all_lair_insecthill_small_fog_mustard = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_insecthill_small_fog_mustard.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_insecthill_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_mustard.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:insecthill", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:insecthill", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 184313565, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_insecthill_small_fog_mustard, "object/tangible/lair/base/shared_poi_all_lair_insecthill_small_fog_mustard.iff") object_tangible_lair_base_shared_poi_all_lair_insecthill_small_fog_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_insecthill_small_fog_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_insecthill_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:insecthill", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:insecthill", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 444482230, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_insecthill_small_fog_red, "object/tangible/lair/base/shared_poi_all_lair_insecthill_small_fog_red.iff") object_tangible_lair_base_shared_poi_all_lair_leaf_large = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_leaf_large.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_leaf_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_leaf_large.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:leaf", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:leaf", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 228848137, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_leaf_large, "object/tangible/lair/base/shared_poi_all_lair_leaf_large.iff") object_tangible_lair_base_shared_poi_all_lair_leaf_large_evil_fire_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_leaf_large_evil_fire_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_leaf_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:leaf", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:leaf", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 289667785, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_leaf_large_evil_fire_green, "object/tangible/lair/base/shared_poi_all_lair_leaf_large_evil_fire_green.iff") object_tangible_lair_base_shared_poi_all_lair_leaf_large_evil_fire_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_leaf_large_evil_fire_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_leaf_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:leaf", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:leaf", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2898038316, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_leaf_large_evil_fire_red, "object/tangible/lair/base/shared_poi_all_lair_leaf_large_evil_fire_red.iff") object_tangible_lair_base_shared_poi_all_lair_leaf_large_evil_fire_small = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_leaf_large_evil_fire_small.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_leaf_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_small.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:leaf", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:leaf", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1515785008, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_leaf_large_evil_fire_small, "object/tangible/lair/base/shared_poi_all_lair_leaf_large_evil_fire_small.iff") object_tangible_lair_base_shared_poi_all_lair_leaf_large_fog_gray = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_leaf_large_fog_gray.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_leaf_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_gray.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:leaf", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:leaf", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1207051318, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_leaf_large_fog_gray, "object/tangible/lair/base/shared_poi_all_lair_leaf_large_fog_gray.iff") object_tangible_lair_base_shared_poi_all_lair_leaf_large_fog_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_leaf_large_fog_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_leaf_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:leaf", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:leaf", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 630831669, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_leaf_large_fog_green, "object/tangible/lair/base/shared_poi_all_lair_leaf_large_fog_green.iff") object_tangible_lair_base_shared_poi_all_lair_leaf_large_fog_mustard = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_leaf_large_fog_mustard.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_leaf_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_mustard.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:leaf", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:leaf", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3855500740, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_leaf_large_fog_mustard, "object/tangible/lair/base/shared_poi_all_lair_leaf_large_fog_mustard.iff") object_tangible_lair_base_shared_poi_all_lair_leaf_large_fog_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_leaf_large_fog_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_leaf_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:leaf", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:leaf", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3523558187, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_leaf_large_fog_red, "object/tangible/lair/base/shared_poi_all_lair_leaf_large_fog_red.iff") object_tangible_lair_base_shared_poi_all_lair_leaf_medium = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_leaf_medium.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_leaf_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_leaf_small.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:leaf", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:leaf", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3643744513, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_leaf_medium, "object/tangible/lair/base/shared_poi_all_lair_leaf_medium.iff") object_tangible_lair_base_shared_poi_all_lair_leaf_small = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_leaf_small.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_leaf_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_leaf_small.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:leaf", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:leaf", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 968386080, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_leaf_small, "object/tangible/lair/base/shared_poi_all_lair_leaf_small.iff") object_tangible_lair_base_shared_poi_all_lair_leaf_small_evil_fire_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_leaf_small_evil_fire_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_leaf_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:leaf", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:leaf", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 255577305, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_leaf_small_evil_fire_green, "object/tangible/lair/base/shared_poi_all_lair_leaf_small_evil_fire_green.iff") object_tangible_lair_base_shared_poi_all_lair_leaf_small_evil_fire_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_leaf_small_evil_fire_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_leaf_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:leaf", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:leaf", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 779004467, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_leaf_small_evil_fire_red, "object/tangible/lair/base/shared_poi_all_lair_leaf_small_evil_fire_red.iff") object_tangible_lair_base_shared_poi_all_lair_leaf_small_evil_fire_small = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_leaf_small_evil_fire_small.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_leaf_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_small.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:leaf", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:leaf", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1143029024, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_leaf_small_evil_fire_small, "object/tangible/lair/base/shared_poi_all_lair_leaf_small_evil_fire_small.iff") object_tangible_lair_base_shared_poi_all_lair_leaf_small_fog_gray = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_leaf_small_fog_gray.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_leaf_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_gray.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:leaf", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:leaf", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1742656384, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_leaf_small_fog_gray, "object/tangible/lair/base/shared_poi_all_lair_leaf_small_fog_gray.iff") object_tangible_lair_base_shared_poi_all_lair_leaf_small_fog_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_leaf_small_fog_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_leaf_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:leaf", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:leaf", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2437790421, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_leaf_small_fog_green, "object/tangible/lair/base/shared_poi_all_lair_leaf_small_fog_green.iff") object_tangible_lair_base_shared_poi_all_lair_leaf_small_fog_mustard = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_leaf_small_fog_mustard.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_leaf_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_mustard.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:leaf", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:leaf", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 283847925, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_leaf_small_fog_mustard, "object/tangible/lair/base/shared_poi_all_lair_leaf_small_fog_mustard.iff") object_tangible_lair_base_shared_poi_all_lair_leaf_small_fog_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_leaf_small_fog_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_leaf_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:leaf", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:leaf", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2062692455, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_leaf_small_fog_red, "object/tangible/lair/base/shared_poi_all_lair_leaf_small_fog_red.iff") object_tangible_lair_base_shared_poi_all_lair_mound_large = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_mound_large.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_mound_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_mound_large.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:mound", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:mound", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 420187503, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_mound_large, "object/tangible/lair/base/shared_poi_all_lair_mound_large.iff") object_tangible_lair_base_shared_poi_all_lair_mound_large_evil_fire_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_mound_large_evil_fire_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_mound_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:mound", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:mound", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1540415537, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_mound_large_evil_fire_green, "object/tangible/lair/base/shared_poi_all_lair_mound_large_evil_fire_green.iff") object_tangible_lair_base_shared_poi_all_lair_mound_large_evil_fire_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_mound_large_evil_fire_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_mound_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:mound", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:mound", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3337919854, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_mound_large_evil_fire_red, "object/tangible/lair/base/shared_poi_all_lair_mound_large_evil_fire_red.iff") object_tangible_lair_base_shared_poi_all_lair_mound_large_evil_fire_small = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_mound_large_evil_fire_small.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_mound_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_small.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:mound", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:mound", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 281678280, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_mound_large_evil_fire_small, "object/tangible/lair/base/shared_poi_all_lair_mound_large_evil_fire_small.iff") object_tangible_lair_base_shared_poi_all_lair_mound_large_fog_gray = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_mound_large_fog_gray.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_mound_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_gray.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:mound", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:mound", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2881445329, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_mound_large_fog_gray, "object/tangible/lair/base/shared_poi_all_lair_mound_large_fog_gray.iff") object_tangible_lair_base_shared_poi_all_lair_mound_large_fog_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_mound_large_fog_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_mound_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:mound", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:mound", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2554716200, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_mound_large_fog_green, "object/tangible/lair/base/shared_poi_all_lair_mound_large_fog_green.iff") object_tangible_lair_base_shared_poi_all_lair_mound_large_fog_mustard = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_mound_large_fog_mustard.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_mound_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_mustard.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:mound", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:mound", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 877609923, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_mound_large_fog_mustard, "object/tangible/lair/base/shared_poi_all_lair_mound_large_fog_mustard.iff") object_tangible_lair_base_shared_poi_all_lair_mound_large_fog_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_mound_large_fog_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_mound_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:mound", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:mound", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2718548559, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_mound_large_fog_red, "object/tangible/lair/base/shared_poi_all_lair_mound_large_fog_red.iff") object_tangible_lair_base_shared_poi_all_lair_mound_small = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_mound_small.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_mound_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_mound_small.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:mound", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:mound", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 756029766, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_mound_small, "object/tangible/lair/base/shared_poi_all_lair_mound_small.iff") object_tangible_lair_base_shared_poi_all_lair_mound_small_evil_fire_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_mound_small_evil_fire_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_mound_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:mound", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:mound", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1168692769, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_mound_small_evil_fire_green, "object/tangible/lair/base/shared_poi_all_lair_mound_small_evil_fire_green.iff") object_tangible_lair_base_shared_poi_all_lair_mound_small_evil_fire_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_mound_small_evil_fire_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_mound_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:mound", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:mound", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1143388529, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_mound_small_evil_fire_red, "object/tangible/lair/base/shared_poi_all_lair_mound_small_evil_fire_red.iff") object_tangible_lair_base_shared_poi_all_lair_mound_small_evil_fire_small = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_mound_small_evil_fire_small.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_mound_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_small.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:mound", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:mound", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 246556632, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_mound_small_evil_fire_small, "object/tangible/lair/base/shared_poi_all_lair_mound_small_evil_fire_small.iff") object_tangible_lair_base_shared_poi_all_lair_mound_small_fog_gray = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_mound_small_fog_gray.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_mound_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_gray.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:mound", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:mound", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2341710439, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_mound_small_fog_gray, "object/tangible/lair/base/shared_poi_all_lair_mound_small_fog_gray.iff") object_tangible_lair_base_shared_poi_all_lair_mound_small_fog_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_mound_small_fog_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_mound_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:mound", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:mound", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 747757768, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_mound_small_fog_green, "object/tangible/lair/base/shared_poi_all_lair_mound_small_fog_green.iff") object_tangible_lair_base_shared_poi_all_lair_mound_small_fog_mustard = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_mound_small_fog_mustard.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_mound_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_mustard.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:mound", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:mound", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3244960498, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_mound_small_fog_mustard, "object/tangible/lair/base/shared_poi_all_lair_mound_small_fog_mustard.iff") object_tangible_lair_base_shared_poi_all_lair_mound_small_fog_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_mound_small_fog_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_mound_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:mound", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:mound", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 184469763, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_mound_small_fog_red, "object/tangible/lair/base/shared_poi_all_lair_mound_small_fog_red.iff") object_tangible_lair_base_shared_poi_all_lair_nest_large = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_nest_large.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_nest_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_nest_large.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:nest", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:nest", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2815445201, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_nest_large, "object/tangible/lair/base/shared_poi_all_lair_nest_large.iff") object_tangible_lair_base_shared_poi_all_lair_nest_large_evil_fire_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_nest_large_evil_fire_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_nest_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:nest", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:nest", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1869084369, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_nest_large_evil_fire_green, "object/tangible/lair/base/shared_poi_all_lair_nest_large_evil_fire_green.iff") object_tangible_lair_base_shared_poi_all_lair_nest_large_evil_fire_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_nest_large_evil_fire_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_nest_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:nest", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:nest", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 622648314, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_nest_large_evil_fire_red, "object/tangible/lair/base/shared_poi_all_lair_nest_large_evil_fire_red.iff") object_tangible_lair_base_shared_poi_all_lair_nest_large_evil_fire_small = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_nest_large_evil_fire_small.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_nest_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_small.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:nest", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:nest", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 612173608, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_nest_large_evil_fire_small, "object/tangible/lair/base/shared_poi_all_lair_nest_large_evil_fire_small.iff") object_tangible_lair_base_shared_poi_all_lair_nest_large_fog_gray = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_nest_large_fog_gray.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_nest_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_gray.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:nest", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:nest", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2401663752, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_nest_large_fog_gray, "object/tangible/lair/base/shared_poi_all_lair_nest_large_fog_gray.iff") object_tangible_lair_base_shared_poi_all_lair_nest_large_fog_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_nest_large_fog_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_nest_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:nest", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:nest", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2319776020, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_nest_large_fog_green, "object/tangible/lair/base/shared_poi_all_lair_nest_large_fog_green.iff") object_tangible_lair_base_shared_poi_all_lair_nest_large_fog_mustard = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_nest_large_fog_mustard.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_nest_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_mustard.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:nest", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:nest", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2568051560, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_nest_large_fog_mustard, "object/tangible/lair/base/shared_poi_all_lair_nest_large_fog_mustard.iff") object_tangible_lair_base_shared_poi_all_lair_nest_large_fog_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_nest_large_fog_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_nest_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:nest", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:nest", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2703235151, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_nest_large_fog_red, "object/tangible/lair/base/shared_poi_all_lair_nest_large_fog_red.iff") object_tangible_lair_base_shared_poi_all_lair_nest_small = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_nest_small.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_nest_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_nest_small.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:nest", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:nest", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2479611128, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_nest_small, "object/tangible/lair/base/shared_poi_all_lair_nest_small.iff") object_tangible_lair_base_shared_poi_all_lair_nest_small_evil_fire_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_nest_small_evil_fire_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_nest_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:nest", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:nest", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1897906369, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_nest_small_evil_fire_green, "object/tangible/lair/base/shared_poi_all_lair_nest_small_evil_fire_green.iff") object_tangible_lair_base_shared_poi_all_lair_nest_small_evil_fire_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_nest_small_evil_fire_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_nest_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:nest", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:nest", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2815360997, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_nest_small_evil_fire_red, "object/tangible/lair/base/shared_poi_all_lair_nest_small_evil_fire_red.iff") object_tangible_lair_base_shared_poi_all_lair_nest_small_evil_fire_small = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_nest_small_evil_fire_small.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_nest_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_small.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:nest", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:nest", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 973418808, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_nest_small_evil_fire_small, "object/tangible/lair/base/shared_poi_all_lair_nest_small_evil_fire_small.iff") object_tangible_lair_base_shared_poi_all_lair_nest_small_fog_gray = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_nest_small_fog_gray.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_nest_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_gray.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:nest", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:nest", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2936704190, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_nest_small_fog_gray, "object/tangible/lair/base/shared_poi_all_lair_nest_small_fog_gray.iff") object_tangible_lair_base_shared_poi_all_lair_nest_small_fog_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_nest_small_fog_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_nest_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:nest", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:nest", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1049688564, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_nest_small_fog_green, "object/tangible/lair/base/shared_poi_all_lair_nest_small_fog_green.iff") object_tangible_lair_base_shared_poi_all_lair_nest_small_fog_mustard = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_nest_small_fog_mustard.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_nest_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_mustard.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:nest", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:nest", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1815360089, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_nest_small_fog_mustard, "object/tangible/lair/base/shared_poi_all_lair_nest_small_fog_mustard.iff") object_tangible_lair_base_shared_poi_all_lair_nest_small_fog_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_nest_small_fog_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_nest_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:nest", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:nest", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 165090051, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_nest_small_fog_red, "object/tangible/lair/base/shared_poi_all_lair_nest_small_fog_red.iff") object_tangible_lair_base_shared_poi_all_lair_rock_shelter_large = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_rock_shelter_large.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_rock_shelter_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_rock_shelter_large.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:rock_shelter", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:rock_shelter", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 4005767247, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_rock_shelter_large, "object/tangible/lair/base/shared_poi_all_lair_rock_shelter_large.iff") object_tangible_lair_base_shared_poi_all_lair_rock_shelter_large_evil_fire_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_rock_shelter_large_evil_fire_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_rock_shelter_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:rock_shelter", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:rock_shelter", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 643219996, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_rock_shelter_large_evil_fire_green, "object/tangible/lair/base/shared_poi_all_lair_rock_shelter_large_evil_fire_green.iff") object_tangible_lair_base_shared_poi_all_lair_rock_shelter_large_evil_fire_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_rock_shelter_large_evil_fire_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_rock_shelter_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:rock_shelter", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:rock_shelter", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 58803054, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_rock_shelter_large_evil_fire_red, "object/tangible/lair/base/shared_poi_all_lair_rock_shelter_large_evil_fire_red.iff") object_tangible_lair_base_shared_poi_all_lair_rock_shelter_large_evil_fire_small = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_rock_shelter_large_evil_fire_small.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_rock_shelter_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_small.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:rock_shelter", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:rock_shelter", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1833710565, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_rock_shelter_large_evil_fire_small, "object/tangible/lair/base/shared_poi_all_lair_rock_shelter_large_evil_fire_small.iff") object_tangible_lair_base_shared_poi_all_lair_rock_shelter_large_fog_gray = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_rock_shelter_large_fog_gray.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_rock_shelter_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_gray.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:rock_shelter", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:rock_shelter", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 534560840, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_rock_shelter_large_fog_gray, "object/tangible/lair/base/shared_poi_all_lair_rock_shelter_large_fog_gray.iff") object_tangible_lair_base_shared_poi_all_lair_rock_shelter_large_fog_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_rock_shelter_large_fog_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_rock_shelter_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:rock_shelter", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:rock_shelter", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1440907914, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_rock_shelter_large_fog_green, "object/tangible/lair/base/shared_poi_all_lair_rock_shelter_large_fog_green.iff") object_tangible_lair_base_shared_poi_all_lair_rock_shelter_large_fog_mustard = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_rock_shelter_large_fog_mustard.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_rock_shelter_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_mustard.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:rock_shelter", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:rock_shelter", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1731875387, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_rock_shelter_large_fog_mustard, "object/tangible/lair/base/shared_poi_all_lair_rock_shelter_large_fog_mustard.iff") object_tangible_lair_base_shared_poi_all_lair_rock_shelter_large_fog_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_rock_shelter_large_fog_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_rock_shelter_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:rock_shelter", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:rock_shelter", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1658858306, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_rock_shelter_large_fog_red, "object/tangible/lair/base/shared_poi_all_lair_rock_shelter_large_fog_red.iff") object_tangible_lair_base_shared_poi_all_lair_rock_shelter_small = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_rock_shelter_small.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_rock_shelter_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_rock_shelter_small.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:rock_shelter", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:rock_shelter", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3671637094, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_rock_shelter_small, "object/tangible/lair/base/shared_poi_all_lair_rock_shelter_small.iff") object_tangible_lair_base_shared_poi_all_lair_rock_shelter_small_evil_fire_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_rock_shelter_small_evil_fire_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_rock_shelter_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:rock_shelter", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:rock_shelter", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 942601228, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_rock_shelter_small_evil_fire_green, "object/tangible/lair/base/shared_poi_all_lair_rock_shelter_small_evil_fire_green.iff") object_tangible_lair_base_shared_poi_all_lair_rock_shelter_small_evil_fire_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_rock_shelter_small_evil_fire_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_rock_shelter_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:rock_shelter", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:rock_shelter", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2169726833, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_rock_shelter_small_evil_fire_red, "object/tangible/lair/base/shared_poi_all_lair_rock_shelter_small_evil_fire_red.iff") object_tangible_lair_base_shared_poi_all_lair_rock_shelter_small_evil_fire_small = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_rock_shelter_small_evil_fire_small.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_rock_shelter_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_small.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:rock_shelter", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:rock_shelter", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1932789237, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_rock_shelter_small_evil_fire_small, "object/tangible/lair/base/shared_poi_all_lair_rock_shelter_small_evil_fire_small.iff") object_tangible_lair_base_shared_poi_all_lair_rock_shelter_small_fog_gray = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_rock_shelter_small_fog_gray.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_rock_shelter_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_gray.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:rock_shelter", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:rock_shelter", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1072707582, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_rock_shelter_small_fog_gray, "object/tangible/lair/base/shared_poi_all_lair_rock_shelter_small_fog_gray.iff") object_tangible_lair_base_shared_poi_all_lair_rock_shelter_small_fog_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_rock_shelter_small_fog_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_rock_shelter_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:rock_shelter", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:rock_shelter", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3778445930, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_rock_shelter_small_fog_green, "object/tangible/lair/base/shared_poi_all_lair_rock_shelter_small_fog_green.iff") object_tangible_lair_base_shared_poi_all_lair_rock_shelter_small_fog_mustard = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_rock_shelter_small_fog_mustard.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_rock_shelter_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_mustard.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:rock_shelter", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:rock_shelter", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2451520266, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_rock_shelter_small_fog_mustard, "object/tangible/lair/base/shared_poi_all_lair_rock_shelter_small_fog_mustard.iff") object_tangible_lair_base_shared_poi_all_lair_rock_shelter_small_fog_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_rock_shelter_small_fog_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_rock_shelter_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:rock_shelter", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:rock_shelter", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3390513166, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_rock_shelter_small_fog_red, "object/tangible/lair/base/shared_poi_all_lair_rock_shelter_small_fog_red.iff") object_tangible_lair_base_shared_poi_all_lair_rocks_large = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_rocks_large.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_rocks_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_rocks_large.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:rocks", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:rocks", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2207500291, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_rocks_large, "object/tangible/lair/base/shared_poi_all_lair_rocks_large.iff") object_tangible_lair_base_shared_poi_all_lair_rocks_large_evil_fire_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_rocks_large_evil_fire_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_rocks_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:rocks", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:rocks", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2753825733, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_rocks_large_evil_fire_green, "object/tangible/lair/base/shared_poi_all_lair_rocks_large_evil_fire_green.iff") object_tangible_lair_base_shared_poi_all_lair_rocks_large_evil_fire_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_rocks_large_evil_fire_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_rocks_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:rocks", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:rocks", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 708322841, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_rocks_large_evil_fire_red, "object/tangible/lair/base/shared_poi_all_lair_rocks_large_evil_fire_red.iff") object_tangible_lair_base_shared_poi_all_lair_rocks_large_evil_fire_small = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_rocks_large_evil_fire_small.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_rocks_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_small.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:rocks", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:rocks", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 4013881916, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_rocks_large_evil_fire_small, "object/tangible/lair/base/shared_poi_all_lair_rocks_large_evil_fire_small.iff") object_tangible_lair_base_shared_poi_all_lair_rocks_large_fog_gray = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_rocks_large_fog_gray.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_rocks_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_gray.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:rocks", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:rocks", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 4032828716, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_rocks_large_fog_gray, "object/tangible/lair/base/shared_poi_all_lair_rocks_large_fog_gray.iff") object_tangible_lair_base_shared_poi_all_lair_rocks_large_fog_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_rocks_large_fog_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_rocks_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:rocks", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:rocks", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 349273422, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_rocks_large_fog_green, "object/tangible/lair/base/shared_poi_all_lair_rocks_large_fog_green.iff") object_tangible_lair_base_shared_poi_all_lair_rocks_large_fog_mustard = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_rocks_large_fog_mustard.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_rocks_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_mustard.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:rocks", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:rocks", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3536893154, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_rocks_large_fog_mustard, "object/tangible/lair/base/shared_poi_all_lair_rocks_large_fog_mustard.iff") object_tangible_lair_base_shared_poi_all_lair_rocks_large_fog_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_rocks_large_fog_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_rocks_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:rocks", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:rocks", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1849334540, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_rocks_large_fog_red, "object/tangible/lair/base/shared_poi_all_lair_rocks_large_fog_red.iff") object_tangible_lair_base_shared_poi_all_lair_rocks_small = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_rocks_small.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_rocks_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_rocks_small.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:rocks", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:rocks", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3079167018, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_rocks_small, "object/tangible/lair/base/shared_poi_all_lair_rocks_small.iff") object_tangible_lair_base_shared_poi_all_lair_rocks_small_evil_fire_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_rocks_small_evil_fire_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_rocks_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:rocks", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:rocks", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3126607317, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_rocks_small_evil_fire_green, "object/tangible/lair/base/shared_poi_all_lair_rocks_small_evil_fire_green.iff") object_tangible_lair_base_shared_poi_all_lair_rocks_small_evil_fire_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_rocks_small_evil_fire_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_rocks_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:rocks", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:rocks", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2833908230, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_rocks_small_evil_fire_red, "object/tangible/lair/base/shared_poi_all_lair_rocks_small_evil_fire_red.iff") object_tangible_lair_base_shared_poi_all_lair_rocks_small_evil_fire_small = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_rocks_small_evil_fire_small.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_rocks_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_small.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:rocks", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:rocks", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 4047948844, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_rocks_small_evil_fire_small, "object/tangible/lair/base/shared_poi_all_lair_rocks_small_evil_fire_small.iff") object_tangible_lair_base_shared_poi_all_lair_rocks_small_fog_gray = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_rocks_small_fog_gray.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_rocks_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_gray.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:rocks", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:rocks", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3494699674, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_rocks_small_fog_gray, "object/tangible/lair/base/shared_poi_all_lair_rocks_small_fog_gray.iff") object_tangible_lair_base_shared_poi_all_lair_rocks_small_fog_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_rocks_small_fog_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_rocks_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:rocks", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:rocks", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2684714414, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_rocks_small_fog_green, "object/tangible/lair/base/shared_poi_all_lair_rocks_small_fog_green.iff") object_tangible_lair_base_shared_poi_all_lair_rocks_small_fog_mustard = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_rocks_small_fog_mustard.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_rocks_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_mustard.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:rocks", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:rocks", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 670424531, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_rocks_small_fog_mustard, "object/tangible/lair/base/shared_poi_all_lair_rocks_small_fog_mustard.iff") object_tangible_lair_base_shared_poi_all_lair_rocks_small_fog_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_rocks_small_fog_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_rocks_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:rocks", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:rocks", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3335360576, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_rocks_small_fog_red, "object/tangible/lair/base/shared_poi_all_lair_rocks_small_fog_red.iff") object_tangible_lair_base_shared_poi_all_lair_thicket_large = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_thicket_large.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_thicket_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_thicket_large.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:thicket", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:thicket", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1820503108, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_thicket_large, "object/tangible/lair/base/shared_poi_all_lair_thicket_large.iff") object_tangible_lair_base_shared_poi_all_lair_thicket_large_evil_fire_gray = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_thicket_large_evil_fire_gray.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_thicket_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_gray.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:thicket", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:thicket", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3034883500, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_thicket_large_evil_fire_gray, "object/tangible/lair/base/shared_poi_all_lair_thicket_large_evil_fire_gray.iff") object_tangible_lair_base_shared_poi_all_lair_thicket_large_evil_fire_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_thicket_large_evil_fire_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_thicket_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:thicket", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:thicket", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3085171685, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_thicket_large_evil_fire_green, "object/tangible/lair/base/shared_poi_all_lair_thicket_large_evil_fire_green.iff") object_tangible_lair_base_shared_poi_all_lair_thicket_large_evil_fire_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_thicket_large_evil_fire_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_thicket_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:thicket", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:thicket", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3961426279, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_thicket_large_evil_fire_red, "object/tangible/lair/base/shared_poi_all_lair_thicket_large_evil_fire_red.iff") object_tangible_lair_base_shared_poi_all_lair_thicket_large_evil_fire_small = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_thicket_large_evil_fire_small.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_thicket_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_small.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:thicket", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:thicket", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 4244179484, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_thicket_large_evil_fire_small, "object/tangible/lair/base/shared_poi_all_lair_thicket_large_evil_fire_small.iff") object_tangible_lair_base_shared_poi_all_lair_thicket_large_fog_gray = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_thicket_large_fog_gray.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_thicket_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_gray.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:thicket", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:thicket", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 939589773, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_thicket_large_fog_gray, "object/tangible/lair/base/shared_poi_all_lair_thicket_large_fog_gray.iff") object_tangible_lair_base_shared_poi_all_lair_thicket_large_fog_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_thicket_large_fog_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_thicket_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:thicket", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:thicket", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 239509871, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_thicket_large_fog_green, "object/tangible/lair/base/shared_poi_all_lair_thicket_large_fog_green.iff") object_tangible_lair_base_shared_poi_all_lair_thicket_large_fog_mustard = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_thicket_large_fog_mustard.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_thicket_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_mustard.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:thicket", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:thicket", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 255891767, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_thicket_large_fog_mustard, "object/tangible/lair/base/shared_poi_all_lair_thicket_large_fog_mustard.iff") object_tangible_lair_base_shared_poi_all_lair_thicket_large_fog_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_thicket_large_fog_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_thicket_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:thicket", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:thicket", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 619312831, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_thicket_large_fog_red, "object/tangible/lair/base/shared_poi_all_lair_thicket_large_fog_red.iff") object_tangible_lair_base_shared_poi_all_lair_thicket_small = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_thicket_small.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_thicket_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_ticket_small.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:thicket", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:thicket", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1486436461, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_thicket_small, "object/tangible/lair/base/shared_poi_all_lair_thicket_small.iff") object_tangible_lair_base_shared_poi_all_lair_thicket_small_evil_fire_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_thicket_small_evil_fire_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_thicket_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:thicket", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:thicket", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2845560309, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_thicket_small_evil_fire_green, "object/tangible/lair/base/shared_poi_all_lair_thicket_small_evil_fire_green.iff") object_tangible_lair_base_shared_poi_all_lair_thicket_small_evil_fire_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_thicket_small_evil_fire_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_thicket_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:thicket", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:thicket", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1858909560, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_thicket_small_evil_fire_red, "object/tangible/lair/base/shared_poi_all_lair_thicket_small_evil_fire_red.iff") object_tangible_lair_base_shared_poi_all_lair_thicket_small_evil_fire_small = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_thicket_small_evil_fire_small.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_thicket_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_small.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:thicket", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:thicket", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3800120332, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_thicket_small_evil_fire_small, "object/tangible/lair/base/shared_poi_all_lair_thicket_small_evil_fire_small.iff") object_tangible_lair_base_shared_poi_all_lair_thicket_small_fog_gray = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_thicket_small_fog_gray.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_thicket_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_gray.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:thicket", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:thicket", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 405665595, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_thicket_small_fog_gray, "object/tangible/lair/base/shared_poi_all_lair_thicket_small_fog_gray.iff") object_tangible_lair_base_shared_poi_all_lair_thicket_small_fog_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_thicket_small_fog_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_thicket_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:thicket", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:thicket", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3130171791, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_thicket_small_fog_green, "object/tangible/lair/base/shared_poi_all_lair_thicket_small_fog_green.iff") object_tangible_lair_base_shared_poi_all_lair_thicket_small_fog_mustard = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_thicket_small_fog_mustard.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_thicket_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_mustard.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:thicket", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:thicket", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 4200984582, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_thicket_small_fog_mustard, "object/tangible/lair/base/shared_poi_all_lair_thicket_small_fog_mustard.iff") object_tangible_lair_base_shared_poi_all_lair_thicket_small_fog_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_thicket_small_fog_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_thicket_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:thicket", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:thicket", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2350841331, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_thicket_small_fog_red, "object/tangible/lair/base/shared_poi_all_lair_thicket_small_fog_red.iff") object_tangible_lair_base_shared_poi_all_lair_warren_large = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_warren_large.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_warren_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_warren_large.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:warren", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:warren", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 4287958045, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_warren_large, "object/tangible/lair/base/shared_poi_all_lair_warren_large.iff") object_tangible_lair_base_shared_poi_all_lair_warren_large_evil_fire_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_warren_large_evil_fire_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_warren_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:warren", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:warren", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 637821318, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_warren_large_evil_fire_green, "object/tangible/lair/base/shared_poi_all_lair_warren_large_evil_fire_green.iff") object_tangible_lair_base_shared_poi_all_lair_warren_large_evil_fire_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_warren_large_evil_fire_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_warren_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:warren", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:warren", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 28715451, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_warren_large_evil_fire_red, "object/tangible/lair/base/shared_poi_all_lair_warren_large_evil_fire_red.iff") object_tangible_lair_base_shared_poi_all_lair_warren_large_evil_fire_small = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_warren_large_evil_fire_small.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_warren_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_small.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:warren", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:warren", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1830719615, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_warren_large_evil_fire_small, "object/tangible/lair/base/shared_poi_all_lair_warren_large_evil_fire_small.iff") object_tangible_lair_base_shared_poi_all_lair_warren_large_fog_gray = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_warren_large_fog_gray.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_warren_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_gray.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:warren", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:warren", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2592614872, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_warren_large_fog_gray, "object/tangible/lair/base/shared_poi_all_lair_warren_large_fog_gray.iff") object_tangible_lair_base_shared_poi_all_lair_warren_large_fog_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_warren_large_fog_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_warren_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:warren", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:warren", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2143459599, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_warren_large_fog_green, "object/tangible/lair/base/shared_poi_all_lair_warren_large_fog_green.iff") object_tangible_lair_base_shared_poi_all_lair_warren_large_fog_mustard = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_warren_large_fog_mustard.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_warren_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_mustard.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:warren", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:warren", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 4001697696, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_warren_large_fog_mustard, "object/tangible/lair/base/shared_poi_all_lair_warren_large_fog_mustard.iff") object_tangible_lair_base_shared_poi_all_lair_warren_large_fog_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_warren_large_fog_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_warren_large.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:warren", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:warren", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1387351494, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_warren_large_fog_red, "object/tangible/lair/base/shared_poi_all_lair_warren_large_fog_red.iff") object_tangible_lair_base_shared_poi_all_lair_warren_small = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_warren_small.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_warren_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_warren_small.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:warren", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:warren", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3415119924, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_warren_small, "object/tangible/lair/base/shared_poi_all_lair_warren_small.iff") object_tangible_lair_base_shared_poi_all_lair_warren_small_evil_fire_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_warren_small_evil_fire_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_warren_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:warren", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:warren", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 947672982, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_warren_small_evil_fire_green, "object/tangible/lair/base/shared_poi_all_lair_warren_small_evil_fire_green.iff") object_tangible_lair_base_shared_poi_all_lair_warren_small_evil_fire_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_warren_small_evil_fire_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_warren_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:warren", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:warren", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2204372388, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_warren_small_evil_fire_red, "object/tangible/lair/base/shared_poi_all_lair_warren_small_evil_fire_red.iff") object_tangible_lair_base_shared_poi_all_lair_warren_small_evil_fire_small = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_warren_small_evil_fire_small.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_warren_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_small.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:warren", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:warren", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1936107119, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_warren_small_evil_fire_small, "object/tangible/lair/base/shared_poi_all_lair_warren_small_evil_fire_small.iff") object_tangible_lair_base_shared_poi_all_lair_warren_small_fog_gray = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_warren_small_fog_gray.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_warren_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_gray.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:warren", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:warren", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3131367022, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_warren_small_fog_gray, "object/tangible/lair/base/shared_poi_all_lair_warren_small_fog_gray.iff") object_tangible_lair_base_shared_poi_all_lair_warren_small_fog_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_warren_small_fog_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_warren_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:warren", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:warren", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3407256047, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_warren_small_fog_green, "object/tangible/lair/base/shared_poi_all_lair_warren_small_fog_green.iff") object_tangible_lair_base_shared_poi_all_lair_warren_small_fog_mustard = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_warren_small_fog_mustard.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_warren_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_mustard.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:warren", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:warren", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 463496849, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_warren_small_fog_mustard, "object/tangible/lair/base/shared_poi_all_lair_warren_small_fog_mustard.iff") object_tangible_lair_base_shared_poi_all_lair_warren_small_fog_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_warren_small_fog_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_warren_small.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:warren", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:warren", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 4198909578, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_warren_small_fog_red, "object/tangible/lair/base/shared_poi_all_lair_warren_small_fog_red.iff") object_tangible_lair_base_shared_poi_all_lair_wooden = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_wooden.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_wooden.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_wooden.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:wooden", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:wooden", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1183728413, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_wooden, "object/tangible/lair/base/shared_poi_all_lair_wooden.iff") object_tangible_lair_base_shared_poi_all_lair_wooden_destroyed = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_wooden_destroyed.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_wooden_destroyed.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_wooden_destroyed.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:wooden_destroyed", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:wooden_destroyed", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 4124016419, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_wooden_destroyed, "object/tangible/lair/base/shared_poi_all_lair_wooden_destroyed.iff") object_tangible_lair_base_shared_poi_all_lair_wooden_destroyed_evil_fire_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_wooden_destroyed_evil_fire_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_wooden_destroyed.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:wooden_destroyed", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:wooden_destroyed", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 329214614, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_wooden_destroyed_evil_fire_green, "object/tangible/lair/base/shared_poi_all_lair_wooden_destroyed_evil_fire_green.iff") object_tangible_lair_base_shared_poi_all_lair_wooden_destroyed_evil_fire_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_wooden_destroyed_evil_fire_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_wooden_destroyed.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:wooden_destroyed", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:wooden_destroyed", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 238872353, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_wooden_destroyed_evil_fire_red, "object/tangible/lair/base/shared_poi_all_lair_wooden_destroyed_evil_fire_red.iff") object_tangible_lair_base_shared_poi_all_lair_wooden_destroyed_evil_fire_small = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_wooden_destroyed_evil_fire_small.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_wooden_destroyed.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_small.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:wooden_destroyed", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:wooden_destroyed", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1485151087, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_wooden_destroyed_evil_fire_small, "object/tangible/lair/base/shared_poi_all_lair_wooden_destroyed_evil_fire_small.iff") object_tangible_lair_base_shared_poi_all_lair_wooden_destroyed_fog_gray = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_wooden_destroyed_fog_gray.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_wooden_destroyed.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_gray.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:wooden_destroyed", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:wooden_destroyed", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2993244082, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_wooden_destroyed_fog_gray, "object/tangible/lair/base/shared_poi_all_lair_wooden_destroyed_fog_gray.iff") object_tangible_lair_base_shared_poi_all_lair_wooden_destroyed_fog_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_wooden_destroyed_fog_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_wooden_destroyed.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:wooden_destroyed", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:wooden_destroyed", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 545761367, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_wooden_destroyed_fog_green, "object/tangible/lair/base/shared_poi_all_lair_wooden_destroyed_fog_green.iff") object_tangible_lair_base_shared_poi_all_lair_wooden_destroyed_fog_mustard = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_wooden_destroyed_fog_mustard.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_wooden_destroyed.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_mustard.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:wooden_destroyed", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:wooden_destroyed", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 269409995, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_wooden_destroyed_fog_mustard, "object/tangible/lair/base/shared_poi_all_lair_wooden_destroyed_fog_mustard.iff") object_tangible_lair_base_shared_poi_all_lair_wooden_destroyed_fog_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_wooden_destroyed_fog_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_wooden_destroyed.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:wooden_destroyed", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:wooden_destroyed", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 4267544421, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_wooden_destroyed_fog_red, "object/tangible/lair/base/shared_poi_all_lair_wooden_destroyed_fog_red.iff") object_tangible_lair_base_shared_poi_all_lair_wooden_evil_fire_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_wooden_evil_fire_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_wooden.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:wooden", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:wooden", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 3398422442, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_wooden_evil_fire_green, "object/tangible/lair/base/shared_poi_all_lair_wooden_evil_fire_green.iff") object_tangible_lair_base_shared_poi_all_lair_wooden_evil_fire_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_wooden_evil_fire_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_wooden.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:wooden", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:wooden", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2885574443, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_wooden_evil_fire_red, "object/tangible/lair/base/shared_poi_all_lair_wooden_evil_fire_red.iff") object_tangible_lair_base_shared_poi_all_lair_wooden_evil_fire_small = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_wooden_evil_fire_small.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_wooden.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_evil_fire_small.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:wooden", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:wooden", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2174041683, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_wooden_evil_fire_small, "object/tangible/lair/base/shared_poi_all_lair_wooden_evil_fire_small.iff") object_tangible_lair_base_shared_poi_all_lair_wooden_fog_gray = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_wooden_fog_gray.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_wooden.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_gray.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:wooden", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:wooden", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2521819744, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_wooden_fog_gray, "object/tangible/lair/base/shared_poi_all_lair_wooden_fog_gray.iff") object_tangible_lair_base_shared_poi_all_lair_wooden_fog_green = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_wooden_fog_green.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_wooden.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_green.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:wooden", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:wooden", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2366487147, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_wooden_fog_green, "object/tangible/lair/base/shared_poi_all_lair_wooden_fog_green.iff") object_tangible_lair_base_shared_poi_all_lair_wooden_fog_mustard = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_wooden_fog_mustard.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_wooden.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_mustard.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:wooden", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:wooden", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 4226721130, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_wooden_fog_mustard, "object/tangible/lair/base/shared_poi_all_lair_wooden_fog_mustard.iff") object_tangible_lair_base_shared_poi_all_lair_wooden_fog_red = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_poi_all_lair_wooden_fog_red.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_wooden.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_lair_fog_red.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:wooden", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:wooden", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 1520141032, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_poi_all_lair_wooden_fog_red, "object/tangible/lair/base/shared_poi_all_lair_wooden_fog_red.iff") object_tangible_lair_base_shared_rancor_dark = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_rancor_dark.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_rancor_dark.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_bones.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:rancor", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:generic_rancor_lair", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 2089078932, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_rancor_dark, "object/tangible/lair/base/shared_rancor_dark.iff") object_tangible_lair_base_shared_rancor_light = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_rancor_light.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_rancor_light.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_bones.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:rancor", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:generic_rancor_lair", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 554154653, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_rancor_light, "object/tangible/lair/base/shared_rancor_light.iff") object_tangible_lair_base_shared_trash_dark = SharedTangibleObjectTemplate:new { clientTemplateFileName = "object/tangible/lair/base/shared_trash_dark.iff" --Data below here is deprecated and loaded from the tres, keeping for easy lookups --[[ appearanceFilename = "appearance/poi_all_lair_trash_dark.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 25, clientDataFile = "clientdata/lair/shared_poi_all_lair_bones.cdf", clientGameObjectType = 4, collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@lair_d:trash", gameObjectType = 4, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 64, objectName = "@lair_n:generic_trash_pile", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, totalCellNumber = 0, useStructureFootprintOutline = 0, clientObjectCRC = 496750489, derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/lair/base/shared_lair_base.iff"} ]] } ObjectTemplates:addClientTemplate(object_tangible_lair_base_shared_trash_dark, "object/tangible/lair/base/shared_trash_dark.iff")
-- Include persistence library if not _G.persistence then require 'includes/persistence' end -- Load base config config = require("config") modules = require("modules") --[[ START CORE ]] piepan.On('connect', function(e) config.admins = persistence.load("data/adminsList.dat") config.mods = persistence.load("data/modsList.dat") piepan.Audio.SetVolume(config.default_volume) end) function sleep(n) os.execute("sleep " .. tonumber(n)) end function ban(user, arg) if isAdmin(user) then for _,userTable in pairs(piepan.Users) do if string.match(arg, userTable.Name:upper()) then piepan.Audio.Play({ filename = config.prefix .. 'lol.ogg' }) userTable.Ban("The admin hates you.") end end else issueWarning(user, "Permission Denied.") end end function showMods(user) message = '<br /><strong>Admins:</strong>' for admin,value in pairs(config.admins) do message = message .. '<br />' .. admin end message = message .. '<br /><br /><strong>Moderators:</strong>' for mod,value in pairs(config.mods) do if value == true then message = message .. '<br />' .. mod end end user.Send(message) end function isEmpty(s) return s == nil or s == '' end function explode(div,str) if (div=='') then return false end local pos,arr = 0,{} for st,sp in function() return string.find(str,div,pos,true) end do table.insert(arr,string.sub(str,pos,st-1)) pos = sp + 1 end table.insert(arr,string.sub(str,pos)) return arr end function countUsers() counter = 0 for name,_ in pairs(piepan.users) do counter = counter + 1 end return counter end function isMod(user) if isAdmin(user) then return true end for mod,value in pairs(config.mods) do if tostring(user.UserID) == mod and value == true then return true end end return false end function isAdmin(user) for admin,value in pairs(config.admins) do if tostring(user.UserID) == admin and value == true then return true end end return false end function addMod(user, arg) if isAdmin(user) then for _,userTable in pairs(piepan.Users) do if string.match(arg, userTable.Name:upper()) then config.mods[tostring(userTable.UserID)] = true persistence.store("data/modsList.dat", config.mods); user.Send(userTable.UserID .. " was added to moderators.") end end else issueWarning(user, "Permission Denied.") end end function addAdmin(user, arg) --if isAdmin(user) then for _,userTable in pairs(piepan.Users) do if string.match(arg, userTable.Name:upper()) then config.admins[tostring(userTable.UserID)] = true persistence.store("data/adminsList.dat", config.admins); user.Send(userTable.UserID .. " was added to admins.") end end --else -- issueWarning(user, "Permission Denied.") --end end function delMod(user, arg) if isAdmin(user) then for _,userTable in pairs(piepan.Users) do if string.match(arg, userTable.Name:upper()) then config.mods[tostring(userTable.UserID)] = false persistence.store("data/modsList.dat", config.mods); user.Send(userTable.UserID .. " was removed from moderators.") end end else issueWarning(user, "Permission Denied.") end end function showMods(user) message = '<br /><strong>Admins:</strong>' for admin,value in pairs(config.admins) do message = message .. '<br />' .. admin end message = message .. '<br /><br /><strong>Moderators:</strong>' for mod,value in pairs(config.mods) do if value == true then message = message .. '<br />' .. mod end end user.Send(message) end function move(user, arg, arg2) if isMod(user) then for _,userTable in pairs(piepan.Users) do if userTable.Name:upper() == arg then user.Send(userTable.Name .. " has been moved to channel '" .. piepan.Channels[tonumber(arg2)].Name() .. "' by " .. user.Name, false) userTable.Move(piepan.Channels[tonumber(arg2)]) end end else issueWarning(user, "Permission Denied.") end end function set_volume(volume, user) if volume > 0 and volume <= 1 then piepan.Audio.SetVolume(volume) piepan.Self.Channel.Send(user.Name .. " changed volume to " .. tostring(volume) .. ".", false) else user.Send("Volume must be between 0.1 and 1.0.", false) end end function channelTargets(channel) target = piepan.Audio.NewTarget(10) target.AddChannel(channel, false, false, "") piepan.Audio.SetTarget(target) end function issueWarning(user, message) --ToDo Detect abuse and autoban/report user.Send(message) end piepan.On('message', function(e) local cmd = "" local arg = "" local arg2 = "" if string.find(e.Message, " ") then arrArgs = explode(" ", string.sub(e.Message, 2)) cmd = cmd .. arrArgs[1] arg = arg .. arrArgs[2] arg2 = arg2 .. tostring(arrArgs[3]) else cmd = string.sub(e.Message, 2) end cmd = cmd:upper() arg = arg:upper() -- Help command if cmd == "KILL" then if isMod(e.Sender) then piepan.Disconnect() end elseif cmd == "VOLUME" or cmd == "VOL" then set_volume(tonumber(arg), e.Sender) elseif cmd == "MOVE" then move(e.Sender, arg, arg2) elseif cmd == "ADDMOD" then addMod(e.Sender, arg) elseif cmd == "DELMOD" then delMod(e.Sender, arg) elseif cmd == "BAN" then ban(e.Sender, arg) elseif cmd == "ADDADMIN" then addAdmin(e.Sender, arg) elseif cmd == "MODS" then showMods(e.Sender) elseif cmd == "HELP" then showHelp(e.Sender) end end) function showHelp(user) message = help() for i, module in ipairs(modules) do loadstring("message = message .. config." .. module .. ".help")() end user.Send(message) end function updateComment() if config.set_comment == true then message = '' for i, module in ipairs(modules) do loadstring("message = message .. config." .. module .. ".comment")() end piepan.Self.SetComment(message) end end function help() message = '<br /><strong>Help Menu:</strong>' message = message .. '<br /><br /><strong>Commands:</strong><br />!mods - List all admins and moderators.<br />!vol <em>0.1 - 1</em> - Change ' .. config.bot_name .. ' volume.' message = message .. '<br /><br /><strong>Moderator Tasks:</strong><br />!kick <em>user</em> - Kick a user immediately.<br />!channels - Lists channel numbers.' message = message .. '<br />!move <em>user</em> <em>channel#</em> - Move a user to another channel.' message = message .. '<br /><br /><strong>Admin Tasks:</strong><br />!addmod <em>user</em> - Adds a user to the list of moderators.<br />!delmod <em>user</em> - Removes a user from the list of moderators.' message = message .. '<br />!ban <em>user</em> - Bans a user from the server.' return message end --[[ END CORE ]] --[[ Load enabled modules ]] for i, module in ipairs(modules) do require("modules/" .. module .. "/" .. module) end --[[ End load modules ]]
BUI_Store_ParametricList_Screen = ZO_Gamepad_ParametricList_Screen:Subclass() function BUI_Store_ParametricList_Screen:New(...) local object = ZO_Gamepad_ParametricList_Screen.New(self) --object:Initialize(...) return object end function BUI_Store_ParametricList_Screen:Initialize(control, createTabBar, activateOnShow, scene) control.owner = self self.control = control local mask = control:GetNamedChild("Mask") local container = mask:GetNamedChild("Container") control.container = container self.activateOnShow = (activateOnShow ~= false) -- nil should be true self:SetScene(scene) local headerContainer = container:GetNamedChild("HeaderContainer") control.header = headerContainer.header self.headerFragment = ZO_ConveyorSceneFragment:New(headerContainer, ALWAYS_ANIMATE) self.header = control.header BUI.GenericHeader.Initialize(self.header, createTabBar) self.updateCooldownMS = 0 self.lists = {} self:AddList("Main") self._currentList = nil self.addListTriggerKeybinds = false self.listTriggerKeybinds = nil self.listTriggerHeaderComparator = nil self:InitializeKeybindStripDescriptors() self.dirty = true end
local L = BigWigs:NewBossLocale("Temple of Sethraliss Trash", "zhTW") if not L then return end if L then L.dust_devil = "充能塵魔" L.marksman = "荒漠神射手" L.fang = "利牙刺客" L.rider = "覆鱗葉殼蟲騎士" L.tender = "無信看管者" L.incubator = "瘋狂孵育者" L.nimbus = "躁亂雨雲" L.doctor = "瘟疫醫生" end L = BigWigs:NewBossLocale("Galvazzt", "zhTW") if L then L.percent = "%s(%d%%)" end