content
stringlengths
5
1.05M
-- This file is auto-generated by shipwright.nvim local common_fg = "#9FA1BB" local inactive_bg = "#1F2031" local inactive_fg = "#D2D9F8" return { normal = { a = { bg = "#4A4E6F", fg = common_fg, gui = "bold" }, b = { bg = "#353751", fg = common_fg }, c = { bg = "#232437", fg = "#C0CAF5" }, }, insert = { a = { bg = "#313F61", fg = common_fg, gui = "bold" }, }, command = { a = { bg = "#641DAE", fg = common_fg, gui = "bold" }, }, visual = { a = { bg = "#27396A", fg = common_fg, gui = "bold" }, }, replace = { a = { bg = "#381E22", fg = common_fg, gui = "bold" }, }, inactive = { a = { bg = inactive_bg, fg = inactive_fg, gui = "bold" }, b = { bg = inactive_bg, fg = inactive_fg }, c = { bg = inactive_bg, fg = inactive_fg }, }, }
return {'omhaal','omhakken','omhalen','omhaling','omhanden','omhangen','omhangsel','omheen','omheinen','omheining','omhelsd','omhelzen','omhelzing','omhoog','omhoogdrijven','omhoogduwen','omhooggaan','omhooggevallen','omhooghalen','omhooghouden','omhoogkomen','omhooglopen','omhoogschieten','omhoogsteken','omhoogtillen','omhoogtrekken','omhoogvallen','omhoogvliegen','omhoogwerken','omhoogzitten','omhouwen','omhullen','omhulling','omhulsel','omhoogkijken','omhoogslaan','omheiningsmuur','omhaalde','omhaalt','omhak','omhakt','omhakte','omhakten','omhalingen','omhang','omhangt','omhein','omheind','omheinde','omheinden','omheiningen','omheininkje','omheint','omhels','omhelsde','omhelsden','omhelst','omhelzingen','omhing','omhingen','omhooggedreven','omhooggeduwd','omhooggehaald','omhooggehouden','omhooggekomen','omhooggeschoten','omhooggestoken','omhooggestuwd','omhooggetild','omhooggetrokken','omhooggevlogen','omhooggevoerd','omhooggevoerde','omhooggezeten','omhooghield','omhooghielden','omhoogkwam','omhoogkwamen','omhoogschoot','omhoogschoten','omhoogstak','omhoogstaken','omhoogtilde','omhoogtrok','omhoogtrokken','omhul','omhuld','omhulde','omhulden','omhullend','omhullende','omhulsels','omhult','omhelzend','omhooggaande','omhooggaat','omhooggegaan','omhooggelopen','omhooggewerkt','omhullingen','omhooggekeken','omhooggeslagen'}
local Rock = GameObject:extend() function Rock:new(zone, x, y, opts) Rock.super.new(self, area, x, y, opts) --local direction = table.random({-1, 1}) self.w = opts.w or 8 self.h = opts.h or 8 self.size = opts.size or 8 self.hp = opts.hp or 10 * self.size self.points = opts.points or 8 self.collider = self.zone.world:newPolygonCollider(createIrregularPolygon(self.points, self.size)) self.collider:setPosition(self.x, self.y) self.collider:setObject(self) self.collider:setCollisionClass('Enemy') self.collider:setFixedRotation(false) self.r = random(0, 2*math.pi) self.v = random(10, 20) self.collider:setLinearVelocity(self.v*math.cos(self.r), self.v*math.sin(self.r)) self.collider:applyAngularImpulse(random(-100, 100)) end function Rock:update(dt) Rock.super.update(self, dt) end function Rock:hit(damage) self.hp = self.hp - damage if self.hp <= 0 then self:die() else self.hit_flash = true self.timer:after(0.2, function() self.hit_flash = false end) end end function Rock:draw() useColor(hp_color) local points = {self.collider:getWorldPoints(self.collider.shapes.main:getPoints())} love.graphics.polygon('line', points) useColor(default_color) end function Rock:die() self.dead = true self.zone:addGameObject('EnemyDeathEffect', self.x, self.y, {color = hp_color, w = self.w * self.size/8}) local rx, ry = self.collider:getLinearVelocity() for i = 1, love.math.random(12, 16) do local gaussR = math.atan2( gaussRandom(ry - ry/4, ry + ry/4, 1), gaussRandom(rx - rx/4, rx + rx/4, 1) ) self.zone:addGameObject('ExplodeParticle', self.x, self.y, {color = hp_color, s = random(3, 8), r = gaussR}) end if (self.size > 2 and random(0, self.size) > 2) then for i = 1, love.math.random(0, self.size/2) do self.zone:addGameObject('Rock', self.x, self.y, { size = self.size / random(2, 4)}) end end end return Rock
local CCScene = require("CCScene") local oPlatformWorld = require("oPlatformWorld") local oVec2 = require("oVec2") local oBody = require("oBodyEx") local CCDirector = require("CCDirector") local CCRect = require("CCRect") local scene = CCScene() local world = oPlatformWorld() world.camera.boudary = CCRect(-2500,-2500,5000,5000) world.camera.followRatio = oVec2(0.02,0.02) world:setShouldContact(0,0,true) world.showDebug = true scene:addChild(world) local car = oBody("BodyEditor/Body/Output/car.body",world) car.data.wheel.enabled = true world:addChild(car) world.camera:follow(car.data.rect) CCDirector:run(CCScene:crossFade(0.5,scene))
local dap_install = require("dap-install") dap_install.config( "go_delve", {} )
--autowalk --author: amfero function main() local autowalk = Module.new("AutoWalk", "xd", "MOVEMENT", this) autowalk:body(function(mod) autowalk:registerCallback("tick", function(tick) mc.options.keyForward:setPressed(true) end) autowalk:onDisable(function() mc.options.keyForward:setPressed(false) end) end) end
--* Tip (this is a modified tooltip mod based on FatalEntity work) local E, C, L, _ = select(2, shCore()):unpack() if C['tooltip'].enable ~= true then return end; local _G = _G local unpack = unpack local select = select local type = type local format = string.format local hooksecurefunc = hooksecurefunc local CreateFrame = CreateFrame local UnitExists = UnitExists local UnitRace = UnitRace local UnitClass = UnitClass local UnitClassification = UnitClassification local UnitCreatureType = UnitCreatureType local UnitLevel = UnitLevel local UnitIsPlayer = UnitIsPlayer local UnitName, UnitReaction = UnitName, UnitReaction local UnitCanAttack = UnitCanAttack local UnitIsDead = UnitIsDead local UnitIsAFK, UnitIsDND, UnitIsPVP = UnitIsAFK, UnitIsDND, UnitIsPVP local UnitIsTapped, UnitIsTappedByPlayer = UnitIsTapped, UnitIsTappedByPlayer local tooltips = { GameTooltip, ItemRefTooltip, ChatMenu, EmoteMenu, LanguageMenu, ShoppingTooltip1, ShoppingTooltip2, WorldMapTooltip, FriendsTooltip, QuestTip, DropDownList1MenuBackdrop, DropDownList2MenuBackdrop, DropDownList3MenuBackdrop, } for i = 1, #tooltips do tooltips[i]:SetBackdrop(nil) tooltips[i]:SetScale(1) tooltips[i]:SetLayout() tooltips[i]:SetShadow() end local gt = GameTooltip local unitExists, maxHealth GameTooltipHeaderText:SetShadowOffset(1, -1) GameTooltipHeaderText:SetShadowColor(0, 0, 0, 1) GameTooltipText:SetShadowOffset(1, -1) GameTooltipText:SetShadowColor(0, 0, 0, 1) ItemRefCloseButton:CloseTemplate() --* setup new health statusbar local StatusBar = CreateFrame('StatusBar', 'TooltipStatusBar', GameTooltip); StatusBar:SetSize(1, 5) StatusBar:ClearAllPoints() StatusBar:SetAnchor('BOTTOMLEFT', 10, 3); StatusBar:SetAnchor('BOTTOMRIGHT', -10, 6); StatusBar:SetStatusBarTexture(A.FetchMedia) StatusBar:SetLayout() StatusBar:Hide() --* setup Anchor/Healthbar/Instanthide local function gtUpdate(self, ...) local owner = self:GetOwner() --* update healthbar for world units if UnitExists('mouseover') and unitExists then local currentHealth = UnitHealth('mouseover') local green = currentHealth/maxHealth*2 local red = 1-green StatusBar:SetValue(currentHealth) StatusBar:SetStatusBarColor(red+1, green, 0) else StatusBar:Hide() --StatusBar.owner = E.hoop E.hoop(StatusBar) end if (owner == UIParent) then --* instantly hide World Unit tooltips if not UnitExists('mouseover') and unitExists then self:Hide() unitExists = false elseif (C['tooltip'].showUnits ~= false) and UnitExists('mouseover') or (C['tooltip'].showInCombat ~= false) and InCombatLockdown() then self:Hide() unitExists = false end end end --* get unitName local function unitName(unit) if not unit then return end local color local unitName, unitRealm = UnitName(unit) local Reaction = UnitReaction(unit, 'player') or 5 local Attackable = UnitCanAttack('player', unit) local Dead = UnitIsDead(unit) local AFK = UnitIsAFK(unit) local DND = UnitIsDND(unit) local Tapped = UnitIsTapped(unit) and not UnitIsTappedByPlayer(unit) local Class, engClass = UnitClass(unit) local Player = UnitIsPlayer(unit) if unitRealm then unitName = unitName..' - '..unitRealm end if Attackable then if Tapped or Dead then return '|cff888888'..unitName..'|r' else if (Reaction < 4) then return '|cffff4444'..unitName..'|r' elseif (Reaction == 4) then return '|cffffff44'..unitName..'|r' end end else if AFK then Status = '[AFK]' elseif DND then Status = '[DND]' elseif Dead then Status = ' (Dead)' else Status = '' end if Player then color = E.oUF_colors.class[engClass] local r, g, b = color[1], color[2], color[3] local c = format('%02x%02x%02x', r*255, g*255, b*255) return '|cff'..c..unitName..'|r |cffe52b50'..Status..'|r' --else --return '|cff'..Color..unitName..'|r |cffe52b50'..Status..'|r' end end end --* get unit information local function unitInformation(unit) if not unit then return end local color local Race = UnitRace(unit) or '' local Class, engClass = UnitClass(unit) local Classification = UnitClassification(unit) or '' local creatureType = UnitCreatureType(unit) or '' local Level = UnitLevel(unit) or '' local Player = UnitIsPlayer(unit) local Difficulty = E.GetQuestDifficultyColor(Level) local LevelColor = format('%02x%02x%02x', Difficulty.r*255, Difficulty.g*255, Difficulty.b*255) if Level == -1 then Level = '??' LevelColor = 'ff0000' end if Player then color = E.oUF_colors.class[engClass] local r, g, b = color[1], color[2], color[3] local c = format('%02x%02x%02x', r*255, g*255, b*255) return '|cff'..LevelColor..Level..'|r |cff'..c..Class..'|r '..'|cffefefef'..Race..'|r' else if (Classification == 'worldboss') then Type = '|cffAF5050Boss|r' elseif (Classification == 'rareelite') then Type = '|cffAF5050+ Rare|r' elseif (Classification == 'rare') then Type = '|cffAF5050Rare|r' elseif (Classification == 'elite') then Type = '|cffAF5050+|r' else Type = '' end return '|cff'..LevelColor..Level..'|r'..Type..' '..creatureType end end --* get unit guild local function unitGuild(unit) local GuildName = GameTooltipTextLeft2:GetText() if GuildName and not GuildName:find('^Level') then return '<'..'|cff00a86b'..GuildName..'|r'..'>' else return nil end end --* get unit target local function unitTarget(unit) if UnitExists(unit..'target') then local color local _, targetClass = UnitClass(unit..'target') local mouseoverTarget, _ = UnitName(unit..'target') if (mouseoverTarget == E.Name) and not UnitIsPlayer(unit) then return 'Target: '..L_Tooltip_Target else if UnitCanAttack('player', unit..'target') or UnitIsPlayer(unit..'target') then color = E.oUF_colors.class[targetClass] local r, g, b = color[1], color[2], color[3] local c = format('%02x%02x%02x', r*255, g*255, b*255) return 'Target: |cff'..c..mouseoverTarget..'|r' else return 'Target: |cffffffff'..mouseoverTarget..'|r' end end else return nil end end --* set unit tooltip local function gtUnit(self, ...) --* make sure the unit exists local _, unit = self:GetUnit() if not unit then return end --* only show unit tooltips for world units, not frames if self:GetOwner() ~= UIParent then self:Hide(); return end unitExists = true --* setup statusbar maxHealth = UnitHealthMax(unit) StatusBar:SetMinMaxValues(0, maxHealth) StatusBar:Show() --* setup tooltip local gtUnitGuild, gtUnitTarget = unitGuild(unit), unitTarget(unit) local gtIdx, gtText = 1, {} GameTooltipTextLeft1:SetText(unitName(unit)) if gtUnitGuild then GameTooltipTextLeft2:SetText(gtUnitGuild) GameTooltipTextLeft3:SetText(unitInformation(unit)) else GameTooltipTextLeft2:SetText(unitInformation(unit)) end for i=1, self:NumLines() do local gtLine = _G['GameTooltipTextLeft'..i] local gtLineText = gtLine:GetText() if not (gtLineText and UnitIsPVP(unit) and gtLineText:find('^'..PVP_ENABLED)) then gtText[gtIdx] = gtLineText gtIdx = gtIdx + 1 end end self:ClearLines() for i = 1, gtIdx - 1 do local line = gtText[i] if line then self:AddLine(line, 1, 1, 1, 1) end end if gtUnitTarget then self:AddLine(gtUnitTarget, 1, 1, 1, 1) end end --* set default position for non world tooltips local function gtDefault(tooltip, parent) GameTooltipStatusBar:ClearAllPoints() GameTooltipStatusBar:SetAnchor('BOTTOMLEFT', 10, 3); GameTooltipStatusBar:SetAnchor('BOTTOMRIGHT', -10, 6); GameTooltipStatusBar:SetStatusBarTexture(A.FetchMedia) GameTooltipStatusBar:SetStatusBarColor(.3, .9, .3, 1) GameTooltipStatusBar:Height(2) GameTooltipStatusBar:SetLayout() if (C['tooltip'].cursor ~= false) then tooltip:SetOwner(parent, 'ANCHOR_CURSOR') tooltip.default = 1; else tooltip:SetOwner(parent, 'ANCHOR_NONE') tooltip:ClearAllPoints() tooltip:SetAnchor(M.ttposZ, M.ttposX, M.ttposY) tooltip.default = 1; end end gt:HookScript('OnUpdate', gtUpdate) gt:HookScript('OnTooltipSetUnit', gtUnit) hooksecurefunc('GameTooltip_SetDefaultAnchor', gtDefault)
AddCSLuaFile("shared.lua") include("shared.lua") sfad_sentient_idle_lines_male = { "vo/npc/male01/pain01.wav", "vo/npc/male01/pain02.wav", "vo/npc/male01/pain03.wav", "vo/npc/male01/pain04.wav", "vo/npc/male01/pain05.wav", "vo/npc/male01/pain06.wav", "vo/npc/male01/pain07.wav", "vo/npc/male01/pain08.wav", "vo/npc/male01/pain09.wav", "vo/npc/male01/help01.wav", "vo/npc/Barney/ba_pain01.wav", "vo/npc/Barney/ba_pain02.wav", "vo/npc/Barney/ba_pain03.wav", "vo/npc/Barney/ba_pain04.wav", "vo/npc/Barney/ba_pain05.wav", "vo/npc/Barney/ba_pain06.wav", "vo/npc/Barney/ba_pain07.wav", "vo/npc/Barney/ba_pain08.wav", "vo/npc/Barney/ba_pain09.wav", "vo/npc/Barney/ba_pain10.wav", "vo/npc/male01/finally.wav", "vo/npc/male01/gethellout.wav", "vo/npc/male01/goodgod.wav", "vo/npc/male01/hi01.wav", "vo/npc/male01/hi02.wav", "vo/npc/male01/hitingut01.wav", "vo/npc/male01/hitingut02.wav", "vo/npc/male01/imhurt01.wav", "vo/npc/male01/imhurt02.wav", "vo/npc/male01/moan01.wav", "vo/npc/male01/moan02.wav", "vo/npc/male01/moan03.wav", "vo/npc/male01/moan04.wav", "vo/npc/male01/moan05.wav", "vo/npc/male01/myarm01.wav", "vo/npc/male01/myarm02.wav", "vo/npc/male01/mygut02.wav", "vo/npc/male01/myleg01.wav", "vo/npc/male01/myleg02.wav", "vo/npc/male01/no01.wav", "vo/npc/male01/no02.wav", "vo/npc/male01/ohno.wav", "vo/npc/male01/overhere01.wav", "vo/npc/male01/ow01.wav", "vo/npc/male01/ow02.wav", "vo/npc/male01/runforyourlife01.wav", "vo/npc/male01/runforyourlife02.wav", "vo/npc/male01/runforyourlife03.wav", "vo/npc/male01/sorry01.wav", "vo/npc/male01/sorry02.wav", "vo/npc/male01/sorry03.wav", "vo/npc/male01/startle01.wav", "vo/npc/male01/startle02.wav", "vo/npc/male01/uhoh.wav", "vo/npc/male01/wetrustedyou01.wav", "vo/npc/male01/wetrustedyou02.wav", "vo/npc/male01/whoops01.wav" }; sfad_sentient_idle_lines_female = { "vo/npc/female01/pain01.wav", "vo/npc/female01/pain02.wav", "vo/npc/female01/pain03.wav", "vo/npc/female01/pain04.wav", "vo/npc/female01/pain05.wav", "vo/npc/female01/pain06.wav", "vo/npc/female01/pain07.wav", "vo/npc/female01/pain08.wav", "vo/npc/female01/pain09.wav", "vo/npc/female01/help01.wav", "vo/npc/Alyx/hurt04.wav", "vo/npc/Alyx/hurt05.wav", "vo/npc/Alyx/hurt06.wav", "vo/npc/Alyx/hurt08.wav", "vo/npc/female01/headsup01.wav", "vo/npc/female01/headsup02.wav", "vo/npc/female01/hi01.wav", "vo/npc/female01/hi02.wav", "vo/npc/female01/hitingut01.wav", "vo/npc/female01/hitingut02.wav", "vo/npc/female01/moan01.wav", "vo/npc/female01/moan02.wav", "vo/npc/female01/moan03.wav", "vo/npc/female01/moan04.wav", "vo/npc/female01/moan05.wav", "vo/npc/female01/myarm01.wav", "vo/npc/female01/myarm02.wav", "vo/npc/female01/mygut02.wav", "vo/npc/female01/myleg01.wav", "vo/npc/female01/myleg02.wav", "vo/npc/female01/no01.wav", "vo/npc/female01/no02.wav", "vo/npc/female01/overhere01.wav", "vo/npc/female01/ow01.wav", "vo/npc/female01/ow02.wav", "vo/npc/female01/runforyourlife01.wav", "vo/npc/female01/runforyourlife02.wav", "vo/npc/female01/sorry01.wav", "vo/npc/female01/sorry02.wav", "vo/npc/female01/sorry03.wav", "vo/npc/female01/startle01.wav", "vo/npc/female01/startle02.wav", "vo/npc/female01/wetrustedyou01.wav", "vo/npc/female01/wetrustedyou02.wav" }; function ENT:SpawnFunction(ply,trace,classname) if (!trace.Hit) then return end local sfad_frisbee_spawn = ents.Create(classname); if (!sfad_frisbee_spawn:IsValid()) then return; end sfad_frisbee_spawn:SetModel(GetConVar("sfad_frisbee_model"):GetString()); if (!util.IsValidProp(sfad_frisbee_spawn:GetModel())) then sfad_frisbee_spawn:SetModel("models/props_junk/sawblade001a.mdl") end local min, max = sfad_frisbee_spawn:GetModelBounds(); local center = max - min; center = center + (center / 2); sfad_frisbee_spawn:SetPos(trace.HitPos + trace.HitNormal * center:Length() / 4); sfad_frisbee_spawn:Spawn(); sfad_frisbee_spawn:Activate(); sfad_frisbee_spawn.OriginPlayer = ply; ply:AddCleanup("ent_frisbee", sfad_frisbee_spawn); return sfad_frisbee_spawn; end function ENT:Initialize() if (#ents.FindByClass("ent_frisbee*") > GetConVar("sfad_frisbee_max"):GetInt()) and (GetConVar("sfad_frisbee_max"):GetInt() ~= -1) then self:Remove() end self:SetModel(GetConVar("sfad_frisbee_model"):GetString()); if (!util.IsValidProp(self:GetModel())) then self:SetModel("models/props_junk/sawblade001a.mdl") end self:SetMaterial("models/flesh") self:PhysicsInit(SOLID_VPHYSICS) self:SetMoveType(MOVETYPE_VPHYSICS) self:SetSolid(SOLID_VPHYSICS) self:SetFriction(0) self:SetColor(Color(math.random(128,255),math.random(0,128),math.random(0,128))) local phys = self:GetPhysicsObject() if (phys:IsValid()) then phys:Wake() phys:SetMass(10); phys:SetMaterial("models/flesh") phys:EnableDrag(false) if (!GetConVar("sfad_frisbee_self_collisions"):GetBool()) then self:SetCollisionGroup(COLLISION_GROUP_INTERACTIVE_DEBRIS) end end self:SetHealth(math.Round(math.random(100,150))) self.sfad_rainbow_frisbee = false; if (math.random(0,1000) > 999) then self.sfad_rainbow_frisbee = true; end self:SetUseType(SIMPLE_USE); self.sfad_evil_frisbee = false; self.sfad_gender = math.Round(math.random(0,1)); self.sfad_move_timer = math.Round(math.random(10,25)); local sfad_player = ents.FindByClass("Player"); cleanup.Add(sfad_player[math.random(1,#sfad_player)],"ent_frisbee",self) end function ENT:Think() if (self.sfad_rainbow_frisbee) then self:SetColor(Color(math.random(128,255),math.random(0,128),math.random(0,128))) end if (math.random(1,100) >= 99) then if (self.sfad_gender == 1) then sound.Play(sfad_sentient_idle_lines_male[math.random(1,#sfad_sentient_idle_lines_male)],self:GetPos(),78,math.random(30,100),1) else sound.Play(sfad_sentient_idle_lines_female[math.random(1,#sfad_sentient_idle_lines_female)],self:GetPos(),78,math.random(30,100),1) end end self.sfad_move_timer = self.sfad_move_timer - 1; if (self.sfad_move_timer <= 0) then self.sfad_move_timer = math.Round(math.random(10,25)); self:GetPhysicsObject():ApplyForceCenter(Vector(math.random(-50,50),math.random(-50,50),math.random(-50,50)) * self:GetPhysicsObject():GetMass()*2); end end function ENT:GravGunPickupAllowed(ply) return true; end function ENT:Use( activator, caller, useType, value ) if (activator:IsPlayer() and !self:GetPhysicsObject():IsAsleep()) then activator:PickupObject(self); end end function ENT:OnTakeDamage(dmg) self:SetHealth(self:Health() - dmg:GetDamage()); self:GetPhysicsObject():ApplyForceOffset(dmg:GetDamageForce(),dmg:GetDamagePosition()); if (self.sfad_gender == 1) then sound.Play("vo/npc/male01/pain0" .. tostring(math.Round(math.random(1,9))) .. ".wav",self:GetPos(),78,math.random(30,100),1) else sound.Play("vo/npc/female01/pain0" .. tostring(math.Round(math.random(1,9))) ..".wav",self:GetPos(),78,math.random(30,100),1) end local sfad_ble = EffectData(); sfad_ble:SetOrigin(dmg:GetDamagePosition()); util.Effect("BloodImpact",sfad_ble); if (self:Health() <= 0) then self:Remove(); end end function ENT:Starttouch(ent) end function ENT:PhysicsUpdate() local sfad_frisbee_physobj = self:GetPhysicsObject(); if (IsValid(sfad_frisbee_physobj)) then local sfad_frisbee_velocity = sfad_frisbee_physobj:GetVelocity(); local sfad_frisbee_angle = sfad_frisbee_physobj:GetAngles(); local sfad_frisbee_angular_velocity = sfad_frisbee_physobj:GetAngleVelocity(); sfad_frisbee_physobj:SetVelocityInstantaneous(Vector(sfad_frisbee_velocity.x,sfad_frisbee_velocity.y,sfad_frisbee_z_vector_equation(sfad_frisbee_velocity,sfad_frisbee_angle))); end end
-- Waterdragon (Hydra) mobs:register_mob("dmobs:waterdragon", { type = "monster", passive = false, attack_type = "dogshoot", dogshoot_switch = 2, dogshoot_count = 0, dogshoot_count_max =5, shoot_interval = 2.5, arrow = "dmobs:ice", shoot_offset = 0, pathfinding = false, reach = 5, damage = 2, hp_min = 100, hp_max = 127, armor = 100, collisionbox = {-0.4, -0.5, -0.4, 0.4, 5, 0.4}, visual_size = {x = 4, y = 4}, visual = "mesh", mesh = "water_dragon.b3d", textures = { {"dmobs_waterdragon.png"}, }, blood_texture = "mobs_blood.png", makes_footstep_sound = true, sounds = { random = "mobs_dirtmonster", shoot_attack = "dmobs_wave" }, view_range = 15, rotate = 180, walk_velocity = 0.01, run_velocity = 0.01, jump = false, drops = { {name = "dmobs:dragon_gem_ice", chance = 1, min = 1, max = 1}, {name = "dmobs:dragon_gem_fire", chance = 1, min = 1, max = 1}, }, water_damage = 0, lava_damage = 5, fire_damage = 4, light_damage = 0, floats = 0, animation = { speed_normal = 15, speed_run = 15, stand_start = 1, stand_end = 20, walk_start = 1, walk_end = 20, run_start = 1, run_end = 20, punch_start = 40, punch_end = 60, shoot_start = 20, shoot_end = 40, }, do_custom = function(self) --follow thanks to TenPlus1 and Byakuren if not self.hydra then self.hydra = true -- flip switch so this part is done only once -- get head position and define a few temp variables local pos = self.object:get_pos() local obj, obj2, ent -- add body and make it follow head obj = minetest.add_entity( {x=pos.x+1, y=pos.y, z=pos.z}, "dmobs:waterdragon_2") ent = obj:get_luaentity() ent.following = self.object -- add body and make it follow previous body segment obj2 = minetest.add_entity( {x=pos.x-1, y=pos.y, z=pos.z}, "dmobs:waterdragon_2") ent = obj2:get_luaentity() ent.following = self.object end end, }) mobs:register_mob("dmobs:waterdragon_2", { type = "monster", passive = false, attack_type = "shoot", dogshoot_switch = 2, dogshoot_count = 0, dogshoot_count_max =5, shoot_interval = 3, arrow = "dmobs:ice", shoot_offset = 0, pathfinding = false, reach = 5, damage = 2, hp_min = 50, hp_max = 60, armor = 50, collisionbox = {-0.4, -0.2, -0.4, 0.4, 5, 0.4}, visual_size = {x=3, y=3}, visual = "mesh", mesh = "water_dragon.b3d", textures = { {"dmobs_waterdragon.png"}, }, blood_texture = "mobs_blood.png", makes_footstep_sound = true, sounds = { shoot_attack = "dmobs_wave", random = "velociraptor", }, view_range = 15, rotate = 180, floats = 0, walk_velocity = 0.01, run_velocity = 0.01, jump = false, water_damage = 0, lava_damage = 5, light_damage = 0, animation = { speed_normal = 15, speed_run = 15, stand_start = 1, stand_end = 20, walk_start = 1, walk_end = 20, run_start = 1, run_end = 20, punch_start = 40, punch_end = 60, shoot_start = 20, shoot_end = 40, }, })
-- clear default mapgen biomes, decorations and ores minetest.clear_registered_biomes() minetest.clear_registered_decorations() --minetest.clear_registered_ores() local path = minetest.get_modpath("ethereal") dofile(path .. "/ores.lua") path = path .. "/schematics/" local dpath = minetest.get_modpath("default") .. "/schematics/" -- tree schematics dofile(path .. "orange_tree.lua") dofile(path .. "banana_tree.lua") dofile(path .. "bamboo_tree.lua") dofile(path .. "birch_tree.lua") dofile(path .. "bush.lua") dofile(path .. "waterlily.lua") --= Biomes (Minetest 0.4.13 and above) local add_biome = function(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p) if p ~= 1 then return end minetest.register_biome({ name = a, node_dust = b, node_top = c, depth_top = d, node_filler = e, depth_filler = f, node_stone = g, node_water_top = h, depth_water_top = i, node_water = j, node_river_water = k, y_min = l, y_max = m, heat_point = n, humidity_point = o, }) end add_biome("underground", nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, -31000, -192, 50, 50, 1) add_biome("mountain", nil, "default:snow", 1, "default:snowblock", 2, nil, nil, nil, nil, nil, 140, 31000, 50, 50, 1) add_biome("desert", nil, "default:desert_sand", 1, "default:desert_sand", 3, "default:desert_stone", nil, nil, nil, nil, 3, 23, 35, 20, ethereal.desert) add_biome("desert_ocean", nil, "default:sand", 1, "default:sand", 2, "default:desert_stone", nil, nil, nil, nil, -192, 3, 35, 20, ethereal.desert) if ethereal.glacier == 1 then minetest.register_biome({ name = "glacier", node_dust = "default:snowblock", node_top = "default:snowblock", depth_top = 1, node_filler = "default:snowblock", depth_filler = 3, node_stone = "default:ice", node_water_top = "default:ice", depth_water_top = 10, --node_water = "", node_river_water = "default:ice", node_riverbed = "default:gravel", depth_riverbed = 2, y_min = -8, y_max = 31000, heat_point = 0, humidity_point = 50, }) minetest.register_biome({ name = "glacier_ocean", node_dust = "default:snowblock", node_top = "default:sand", depth_top = 1, node_filler = "default:sand", depth_filler = 3, --node_stone = "", --node_water_top = "", --depth_water_top = , --node_water = "", --node_river_water = "", y_min = -112, y_max = -9, heat_point = 0, humidity_point = 50, }) end add_biome("clearing", nil, "ethereal:green_dirt", 1, "default:dirt", 3, nil, nil, nil, nil, nil, 3, 71, 45, 65, 1) -- ADDED add_biome("bamboo", nil, "ethereal:bamboo_dirt", 1, "default:dirt", 3, nil, nil, nil, nil, nil, 3, 71, 45, 75, ethereal.bamboo) add_biome("bamboo_ocean", nil, "default:sand", 1, "default:sand", 2, nil, nil, nil, nil, nil, -192, 2, 45, 75, ethereal.bamboo) --add_biome("mesa", nil, "bakedclay:orange", 1, "bakedclay:orange", 15, add_biome("mesa", nil, "default:dirt_with_dry_grass", 1, "bakedclay:orange", 15, nil, nil, nil, nil, nil, 1, 71, 25, 28, ethereal.mesa) add_biome("mesa_ocean", nil, "default:sand", 1, "default:sand", 2, nil, nil, nil, nil, nil, -192, 1, 25, 28, ethereal.mesa) add_biome("alpine", nil, "default:dirt_with_snow", 1, "default:dirt", 2, nil, nil, nil, nil, nil, 40, 140, 10, 40, ethereal.alpine) add_biome("snowy", nil, "ethereal:cold_dirt", 1, "default:dirt", 2, nil, nil, nil, nil, nil, 4, 40, 10, 40, ethereal.snowy) add_biome("frost", nil, "ethereal:crystal_dirt", 1, "default:dirt", 3, nil, nil, nil, nil, nil, 1, 71, 10, 40, ethereal.frost) add_biome("frost_ocean", nil, "default:sand", 1, "default:sand", 2, nil, nil, nil, nil, nil, -192, 1, 10, 40, ethereal.frost) add_biome("grassy", nil, "ethereal:green_dirt", 1, "default:dirt", 3, nil, nil, nil, nil, nil, 3, 91, 13, 40, ethereal.grassy) add_biome("grassy_ocean", nil, "defaut:sand", 2, "default:gravel", 1, nil, nil, nil, nil, nil, -31000, 3, 13, 40, ethereal.grassy) add_biome("caves", nil, "default:desert_stone", 3, "air", 8, nil, nil, nil, nil, nil, 4, 41, 15, 25, ethereal.caves) add_biome("grayness", nil, "ethereal:gray_dirt", 1, "default:dirt", 3, nil, nil, nil, nil, nil, 2, 41, 15, 30, ethereal.grayness) if minetest.registered_nodes["default:silver_sand"] then add_biome("grayness_ocean", nil, "default:silver_sand", 2, "default:sand", 2, nil, nil, nil, nil, nil, -192, 1, 15, 30, ethereal.grayness) else add_biome("grayness_ocean", nil, "default:sand", 1, "default:sand", 2, nil, nil, nil, nil, nil, -192, 1, 15, 30, ethereal.grayness) end add_biome("grassytwo", nil, "ethereal:green_dirt", 1, "default:dirt", 3, nil, nil, nil, nil, nil, 1, 91, 15, 40, ethereal.grassytwo) add_biome("grassytwo_ocean", nil, "default:sand", 1, "default:sand", 2, nil, nil, nil, nil, nil, -192, 1, 15, 40, ethereal.grassytwo) add_biome("prairie", nil, "ethereal:prairie_dirt", 1, "default:dirt", 3, nil, nil, nil, nil, nil, 3, 26, 20, 40, ethereal.prairie) add_biome("prairie_ocean", nil, "default:sand", 1, "default:sand", 2, nil, nil, nil, nil, nil, -192, 1, 20, 40, ethereal.prairie) add_biome("jumble", nil, "ethereal:green_dirt", 1, "default:dirt", 3, nil, nil, nil, nil, nil, 1, 71, 25, 50, ethereal.jumble) add_biome("jumble_ocean", nil, "default:sand", 1, "default:sand", 2, nil, nil, nil, nil, nil, -192, 1, 25, 50, ethereal.jumble) if minetest.registered_nodes["default:dirt_with_rainforest_litter"] then add_biome("junglee", nil, "default:dirt_with_rainforest_litter", 1, "default:dirt", 3, nil, nil, nil, nil, nil, 1, 71, 30, 60, ethereal.junglee) else add_biome("junglee", nil, "ethereal:jungle_dirt", 1, "default:dirt", 3, nil, nil, nil, nil, nil, 1, 71, 30, 60, ethereal.junglee) end add_biome("junglee_ocean", nil, "default:sand", 1, "default:sand", 2, nil, nil, nil, nil, nil, -192, 1, 30, 60, ethereal.junglee) add_biome("grove", nil, "ethereal:grove_dirt", 1, "default:dirt", 3, nil, nil, nil, nil, nil, 3, 23, 45, 35, ethereal.grove) add_biome("grove_ocean", nil, "default:sand", 1, "default:sand", 2, nil, nil, nil, nil, nil, -192, 2, 45, 35, ethereal.grove) add_biome("mushroom", nil, "ethereal:mushroom_dirt", 1, "default:dirt", 3, nil, nil, nil, nil, nil, 3, 50, 45, 55, ethereal.mushroom) add_biome("mushroom_ocean", nil, "default:sand", 1, "default:sand", 2, nil, nil, nil, nil, nil, -192, 2, 45, 55, ethereal.mushroom) add_biome("sandstone", nil, "default:sandstone", 1, "default:sandstone", 1, "default:sandstone", nil, nil, nil, nil, 3, 23, 50, 20, ethereal.sandstone) add_biome("sandstone_ocean", nil, "default:sand", 1, "default:sand", 2, nil, nil, nil, nil, nil, -192, 2, 50, 20, ethereal.sandstone) add_biome("quicksand", nil, "ethereal:quicksand2", 3, "default:gravel", 1, nil, nil, nil, nil, nil, 1, 1, 50, 38, ethereal.quicksand) add_biome("plains", nil, "ethereal:dry_dirt", 1, "default:dirt", 3, nil, nil, nil, nil, nil, 3, 25, 65, 25, ethereal.plains) add_biome("plains_ocean", nil, "default:sand", 1, "default:sand", 2, nil, nil, nil, nil, nil, -192, 2, 55, 25, ethereal.plains) add_biome("savannah", nil, "default:dirt_with_dry_grass", 1, "default:dirt", 3, nil, nil, nil, nil, nil, 3, 50, 55, 25, ethereal.savannah) add_biome("savannah_ocean", nil, "default:sand", 1, "default:sand", 2, nil, nil, nil, nil, nil, -192, 1, 55, 25, ethereal.savannah) add_biome("fiery", nil, "ethereal:fiery_dirt", 1, "default:dirt", 3, nil, nil, nil, nil, nil, 5, 20, 75, 10, ethereal.fiery) add_biome("fiery_ocean", nil, "default:sand", 1, "default:sand", 2, nil, nil, nil, nil, nil, -192, 4, 75, 10, ethereal.fiery) add_biome("sandclay", nil, "default:sand", 3, "default:clay", 2, nil, nil, nil, nil, nil, 1, 11, 65, 2, ethereal.sandclay) add_biome("swamp", nil, "ethereal:green_dirt", 1, "default:dirt", 3, nil, nil, nil, nil, nil, 1, 7, 80, 90, ethereal.swamp) add_biome("swamp_ocean", nil, "default:sand", 2, "default:clay", 2, nil, nil, nil, nil, nil, -192, 1, 80, 90, ethereal.swamp) --= schematic decorations local add_schem = function(a, b, c, d, e, f, g) if g ~= 1 then return end minetest.register_decoration({ deco_type = "schematic", place_on = a, sidelen = 80, fill_ratio = b, biomes = c, y_min = d, y_max = e, schematic = f, flags = "place_center_x, place_center_z", }) end -- redwood tree --add_schem({"bakedclay:orange"}, 0.0025, {"mesa"}, 1, 100, path .. "redwood.mts", ethereal.mesa) add_schem({"default:dirt_with_dry_grass"}, 0.0025, {"mesa"}, 1, 100, path .. "redwood.mts", ethereal.mesa) -- banana tree add_schem({"ethereal:grove_dirt"}, 0.015, {"grove"}, 1, 100, ethereal.bananatree, ethereal.grove) -- healing tree add_schem({"default:dirt_with_snow"}, 0.01, {"alpine"}, 120, 140, path .. "yellowtree.mts", ethereal.alpine) -- crystal frost tree add_schem({"ethereal:crystal_dirt"}, 0.01, {"frost"}, 1, 100, path .. "frosttrees.mts", ethereal.frost) -- giant mushroom add_schem({"ethereal:mushroom_dirt"}, 0.02, {"mushroom"}, 1, 100, path .. "mushroomone.mts", ethereal.mushroom) -- small lava crater add_schem({"ethereal:fiery_dirt"}, 0.01, {"fiery"}, 1, 100, path .. "volcanom.mts", ethereal.fiery) -- large lava crater add_schem({"ethereal:fiery_dirt"}, 0.01, {"fiery"}, 1, 100, path .. "volcanol.mts", ethereal.fiery) -- default jungle tree add_schem({"ethereal:jungle_dirt", "default:dirt_with_rainforest_litter"}, 0.08, {"junglee"}, 1, 100, dpath .. "jungle_tree.mts", ethereal.junglee) -- willow tree add_schem({"ethereal:gray_dirt"}, 0.02, {"grayness"}, 1, 100, path .. "willow.mts", ethereal.grayness) -- pine tree (default for lower elevation and ethereal for higher) add_schem({"ethereal:cold_dirt"}, 0.025, {"snowy"}, 10, 40, dpath .. "pine_tree.mts", ethereal.snowy) add_schem({"default:dirt_with_snow"}, 0.025, {"alpine"}, 40, 140, path .. "pinetree.mts", ethereal.alpine) -- default apple tree add_schem({"ethereal:green_dirt"}, 0.02, {"jumble"}, 1, 100, dpath .. "apple_tree.mts", ethereal.grassy) add_schem({"ethereal:green_dirt"}, 0.03, {"grassy"}, 1, 100, dpath .. "apple_tree.mts", ethereal.grassy) -- big old tree add_schem({"ethereal:green_dirt"}, 0.001, {"jumble"}, 1, 100, path .. "bigtree.mts", ethereal.jumble) -- aspen tree add_schem({"ethereal:green_dirt"}, 0.02, {"grassytwo"}, 1, 50, dpath .. "aspen_tree.mts", ethereal.jumble) -- birch tree add_schem({"ethereal:green_dirt"}, 0.02, {"grassytwo"}, 50, 100, ethereal.birchtree, ethereal.grassytwo) -- orange tree add_schem({"ethereal:prairie_dirt"}, 0.01, {"prairie"}, 1, 100, ethereal.orangetree, ethereal.prairie) -- default acacia tree add_schem({"default:dirt_with_dry_grass"}, 0.004, {"savannah"}, 1, 100, dpath .. "acacia_tree.mts", ethereal.savannah) -- large cactus (by Paramat) if ethereal.desert == 1 then minetest.register_decoration({ deco_type = "schematic", place_on = {"default:desert_sand"}, sidelen = 80, noise_params = { offset = -0.0005, scale = 0.0015, spread = {x = 200, y = 200, z = 200}, seed = 230, octaves = 3, persist = 0.6 }, biomes = {"desert"}, y_min = 5, y_max = 31000, schematic = dpath.."large_cactus.mts", flags = "place_center_x", --, place_center_z", rotation = "random", }) end -- palm tree add_schem({"default:sand"}, 0.0025, {"desert_ocean"}, 1, 1, path .. "palmtree.mts", ethereal.desert) add_schem({"default:sand"}, 0.0025, {"plains_ocean"}, 1, 1, path .. "palmtree.mts", ethereal.plains) add_schem({"default:sand"}, 0.0025, {"sandclay"}, 1, 1, path .. "palmtree.mts", ethereal.sandclay) add_schem({"default:sand"}, 0.0025, {"sandstone_ocean"}, 1, 1, path .. "palmtree.mts", ethereal.sandstone) add_schem({"default:sand"}, 0.0025, {"mesa_ocean"}, 1, 1, path .. "palmtree.mts", ethereal.mesa) add_schem({"default:sand"}, 0.0025, {"grove_ocean"}, 1, 1, path .. "palmtree.mts", ethereal.grove) add_schem({"default:sand"}, 0.0025, {"grassy_ocean"}, 1, 1, path .. "palmtree.mts", ethereal.grassy) -- bamboo tree add_schem({"ethereal:bamboo_dirt"}, 0.025, {"bamboo"}, 1, 100, ethereal.bambootree, ethereal.bamboo) -- bush add_schem({"ethereal:bamboo_dirt"}, 0.08, {"bamboo"}, 1, 100, ethereal.bush, ethereal.bamboo) -- vine tree add_schem({"ethereal:green_dirt"}, 0.02, {"swamp"}, 1, 100, path .. "vinetree.mts", ethereal.swamp) -- bushes if minetest.registered_nodes["default:acacia_bush_stem"] then minetest.register_decoration({ deco_type = "schematic", place_on = {"default:dirt_with_grass", "default:dirt_with_snow"}, sidelen = 16, noise_params = { offset = -0.004, scale = 0.01, spread = {x = 100, y = 100, z = 100}, seed = 137, octaves = 3, persist = 0.7, }, biomes = {"grassy", "grassytwo", "jumble"}, y_min = 1, y_max = 31000, schematic = dpath .. "/bush.mts", flags = "place_center_x, place_center_z", }) -- Acacia bush minetest.register_decoration({ deco_type = "schematic", place_on = {"default:dirt_with_dry_grass"}, sidelen = 16, noise_params = { offset = -0.004, scale = 0.01, spread = {x = 100, y = 100, z = 100}, seed = 90155, octaves = 3, persist = 0.7, }, biomes = {"savannah", "mesa"}, y_min = 1, y_max = 31000, schematic = dpath .. "/acacia_bush.mts", flags = "place_center_x, place_center_z", }) end --= simple decorations local add_node = function(a, b, c, d, e, f, g, h, i, j) if j ~= 1 then return end minetest.register_decoration({ deco_type = "simple", place_on = a, sidelen = 80, fill_ratio = b, biomes = c, y_min = d, y_max = e, decoration = f, height_max = g, spawn_by = h, num_spawn_by = i, }) end -- scorched tree add_node({"ethereal:dry_dirt"}, 0.006, {"plains"}, 1, 100, {"ethereal:scorched_tree"}, 6, nil, nil, ethereal.plains) -- dry shrub add_node({"ethereal:dry_dirt"}, 0.015, {"plains"}, 1, 100, {"default:dry_shrub"}, nil, nil, nil, ethereal.plains) add_node({"default:sand"}, 0.015, {"grassy_ocean"}, 1, 100, {"default:dry_shrub"}, nil, nil, nil, ethereal.grassy) add_node({"default:desert_sand"}, 0.015, {"desert"}, 1, 100, {"default:dry_shrub"}, nil, nil, nil, ethereal.desert) add_node({"default:sandstone"}, 0.015, {"sandstone"}, 1, 100, {"default:dry_shrub"}, nil, nil, nil, ethereal.sandstone) add_node({"bakedclay:red", "bakedclay:orange"}, 0.015, {"mesa"}, 1, 100, {"default:dry_shrub"}, nil, nil, nil, ethereal.mesa) -- dry grass add_node({"default:dirt_with_dry_grass"}, 0.25, {"savannah"}, 1, 100, {"default:dry_grass_2", "default:dry_grass_3", "default:dry_grass_4", "default:dry_grass_5"}, nil, nil, nil, ethereal.savannah) add_node({"default:dirt_with_dry_grass"}, 0.10, {"mesa"}, 1, 100, {"default:dry_grass_2", "default:dry_grass_3", "default:dry_grass_4", "default:dry_grass_5"}, nil, nil, nil, ethereal.mesa) -- flowers & strawberry add_node({"ethereal:green_dirt"}, 0.025, {"grassy"}, 1, 100, {"flowers:dandelion_white", "flowers:dandelion_yellow", "flowers:geranium", "flowers:rose", "flowers:tulip", "flowers:viola", "ethereal:strawberry_7"}, nil, nil, nil, ethereal.grassy) add_node({"ethereal:green_dirt"}, 0.025, {"grassytwo"}, 1, 100, {"flowers:dandelion_white", "flowers:dandelion_yellow", "flowers:geranium", "flowers:rose", "flowers:tulip", "flowers:viola", "ethereal:strawberry_7"}, nil, nil, nil, ethereal.grassytwo) -- prairie flowers & strawberry add_node({"ethereal:prairie_dirt"}, 0.035, {"prairie"}, 1, 100, {"flowers:dandelion_white", "flowers:dandelion_yellow", "flowers:geranium", "flowers:rose", "flowers:tulip", "flowers:viola", "ethereal:strawberry_7"}, nil, nil, nil, ethereal.prairie) -- crystal spike & crystal grass add_node({"ethereal:crystal_dirt"}, 0.02, {"frost"}, 1, 100, {"ethereal:crystal_spike", "ethereal:crystalgrass"}, nil, nil, nil, ethereal.frost) -- red shrub add_node({"ethereal:fiery_dirt"}, 0.10, {"fiery"}, 1, 100, {"ethereal:dry_shrub"}, nil, nil, nil, ethereal.fiery) -- fire flower --add_node({"ethereal:fiery_dirt"}, 0.02, {"fiery"}, 1, 100, {"ethereal:fire_flower"}, nil, nil, nil, ethereal.fiery) -- snowy grass add_node({"ethereal:gray_dirt"}, 0.05, {"grayness"}, 1, 100, {"ethereal:snowygrass"}, nil, nil, nil, ethereal.grayness) add_node({"ethereal:cold_dirt"}, 0.05, {"snowy"}, 1, 100, {"ethereal:snowygrass"}, nil, nil, nil, ethereal.snowy) -- cactus add_node({"default:sandstone"}, 0.0025, {"sandstone"}, 1, 100, {"default:cactus"}, 3, nil, nil, ethereal.sandstone) add_node({"default:desert_sand"}, 0.005, {"desert"}, 1, 100, {"default:cactus"}, 4, nil, nil, ethereal.desert) -- wild red mushroom add_node({"ethereal:mushroom_dirt"}, 0.01, {"mushroom"}, 1, 100, {"flowers:mushroom_fertile_red"}, nil, nil, nil, ethereal.mushroom) local list = { {"junglee", {"ethereal:jungle_dirt", "default:dirt_with_rainforest_litter"}, ethereal.junglee}, {"grassy", {"ethereal:green_dirt"}, ethereal.grassy}, {"grassytwo", {"ethereal:green_dirt"}, ethereal.grassytwo}, {"prairie", {"ethereal:prairie_dirt"}, ethereal.prairie}, {"mushroom", {"ethereal:mushroom_dirt"}, ethereal.mushroom}, {"swamp", {"ethereal:green_dirt"}, ethereal.swamp}, } -- wild red and brown mushrooms for _, row in pairs(list) do if row[3] == 1 then minetest.register_decoration({ deco_type = "simple", place_on = row[2], sidelen = 16, noise_params = { offset = 0, scale = 0.009, spread = {x = 200, y = 200, z = 200}, seed = 2, octaves = 3, persist = 0.66 }, biomes = {row[1]}, y_min = 1, y_max = 120, decoration = {"flowers:mushroom_brown", "flowers:mushroom_red"}, }) end end -- jungle grass add_node({"ethereal:jungle_dirt", "default:dirt_with_rainforest_litter"}, 0.10, {"junglee"}, 1, 100, {"default:junglegrass"}, nil, nil, nil, ethereal.junglee) add_node({"ethereal:green_dirt"}, 0.15, {"jumble"}, 1, 100, {"default:junglegrass"}, nil, nil, nil, ethereal.jumble) add_node({"ethereal:green_dirt"}, 0.25, {"swamp"}, 1, 100, {"default:junglegrass"}, nil, nil, nil, ethereal.swamp) -- grass add_node({"ethereal:green_dirt"}, 0.35, {"grassy"}, 1, 100, {"default:grass_2", "default:grass_3", "default:grass_4", "default:grass_5"}, nil, nil, nil, ethereal.grassy) add_node({"ethereal:green_dirt"}, 0.35, {"grassytwo"}, 1, 100, {"default:grass_2", "default:grass_3", "default:grass_4", "default:grass_5"}, nil, nil, nil, ethereal.grassytwo) add_node({"ethereal:green_dirt"}, 0.35, {"jumble"}, 1, 100, {"default:grass_2", "default:grass_3", "default:grass_4", "default:grass_5"}, nil, nil, nil, ethereal.jumble) add_node({"ethereal:jungle_dirt", "default:dirt_with_rainforest_litter"}, 0.35, {"junglee"}, 1, 100, {"default:grass_2", "default:grass_3", "default:grass_4", "default:grass_5"}, nil, nil, nil, ethereal.junglee) add_node({"ethereal:prairie_dirt"}, 0.35, {"prairie"}, 1, 100, {"default:grass_2", "default:grass_3", "default:grass_4", "default:grass_5"}, nil, nil, nil, ethereal.prairie) add_node({"ethereal:grove_dirt"}, 0.35, {"grove"}, 1, 100, {"default:grass_2", "default:grass_3", "default:grass_4", "default:grass_5"}, nil, nil, nil, ethereal.grove) add_node({"ethereal:bamboo_dirt"}, 0.35, {"bamboo"}, 1, 100, {"default:grass_2", "default:grass_3", "default:grass_4", "default:grass_5"}, nil, nil, nil, ethereal.bamboo) add_node({"ethereal:green_dirt"}, 0.35, {"clearing", "swamp"}, 1, 100, {"default:grass_3", "default:grass_4"}, nil, nil, nil, 1) -- grass on sand add_node({"default:sand"}, 0.25, {"sandclay"}, 3, 4, {"default:grass_2", "default:grass_3"}, nil, nil, nil, ethereal.sandclay) -- ferns add_node({"ethereal:grove_dirt"}, 0.2, {"grove"}, 1, 100, {"ethereal:fern"}, nil, nil, nil, ethereal.grove) add_node({"ethereal:green_dirt"}, 0.1, {"swamp"}, 1, 100, {"ethereal:fern"}, nil, nil, nil, ethereal.swamp) -- snow add_node({"ethereal:cold_dirt"}, 0.8, {"snowy"}, 4, 40, {"default:snow"}, nil, nil, nil, ethereal.snowy) add_node({"default:dirt_with_snow"}, 0.8, {"alpine"}, 40, 140, {"default:snow"}, nil, nil, nil, ethereal.alpine) -- wild onion add_node({"ethereal:green_dirt"}, 0.25, {"grassy"}, 1, 100, {"ethereal:onion_4"}, nil, nil, nil, ethereal.grassy) add_node({"ethereal:green_dirt"}, 0.25, {"grassytwo"}, 1, 100, {"ethereal:onion_4"}, nil, nil, nil, ethereal.grassytwo) add_node({"ethereal:green_dirt"}, 0.25, {"jumble"}, 1, 100, {"ethereal:onion_4"}, nil, nil, nil, ethereal.jumble) add_node({"ethereal:prairie_dirt"}, 0.25, {"prairie"}, 1, 100, {"ethereal:onion_4"}, nil, nil, nil, ethereal.prairie) -- papyrus add_node({"ethereal:green_dirt"}, 0.1, {"grassy"}, 1, 1, {"default:papyrus"}, 4, "default:water_source", 1, ethereal.grassy) add_node({"ethereal:jungle_dirt", "default:dirt_with_rainforest_litter"}, 0.1, {"junglee"}, 1, 1, {"default:papyrus"}, 4, "default:water_source", 1, ethereal.junglee) add_node({"ethereal:green_dirt"}, 0.1, {"swamp"}, 1, 1, {"default:papyrus"}, 4, "default:water_source", 1, ethereal.swamp) --= Farming Redo plants if farming and farming.mod and farming.mod == "redo" then print ("[MOD] Ethereal - Farming Redo detected and in use") -- potato add_node({"ethereal:jungle_dirt", "default:dirt_with_rainforest_litter"}, 0.035, {"junglee"}, 1, 100, {"farming:potato_3"}, nil, nil, nil, ethereal.junglee) -- carrot, cucumber, potato, tomato, corn, coffee, raspberry, rhubarb add_node({"ethereal:green_dirt"}, 0.05, {"grassytwo"}, 1, 100, {"farming:carrot_7", "farming:cucumber_4", "farming:potato_3", "farming:tomato_7", "farming:corn_8", "farming:coffee_5", "farming:raspberry_4", "farming:rhubarb_3", "farming:blueberry_4"}, nil, nil, nil, ethereal.grassytwo) add_node({"ethereal:green_dirt"}, 0.05, {"grassy"}, 1, 100, {"farming:carrot_7", "farming:cucumber_4", "farming:potato_3", "farming:tomato_7", "farming:corn_8", "farming:coffee_5", "farming:raspberry_4", "farming:rhubarb_3", "farming:blueberry_4"}, nil, nil, nil, ethereal.grassy) add_node({"ethereal:green_dirt"}, 0.05, {"jumble"}, 1, 100, {"farming:carrot_7", "farming:cucumber_4", "farming:potato_3", "farming:tomato_7", "farming:corn_8", "farming:coffee_5", "farming:raspberry_4", "farming:rhubarb_3", "farming:blueberry_4"}, nil, nil, nil, ethereal.jumble) add_node({"ethereal:prairie_dirt"}, 0.05, {"prairie"}, 1, 100, {"farming:carrot_7", "farming:cucumber_4", "farming:potato_3", "farming:tomato_7", "farming:corn_8", "farming:coffee_5", "farming:raspberry_4", "farming:rhubarb_3", "farming:blueberry_4"}, nil, nil, nil, ethereal.prairie) -- melon and pumpkin add_node({"ethereal:jungle_dirt", "default:dirt_with_rainforest_litter"}, 0.015, {"junglee"}, 1, 1, {"farming:melon_8", "farming:pumpkin_8"}, nil, "default:water_source", 1, ethereal.junglee) add_node({"ethereal:green_dirt"}, 0.015, {"grassy"}, 1, 1, {"farming:melon_8", "farming:pumpkin_8"}, nil, "default:water_source", 1, ethereal.grassy) add_node({"ethereal:green_dirt"}, 0.015, {"grassytwo"}, 1, 1, {"farming:melon_8", "farming:pumpkin_8"}, nil, "default:water_source", 1, ethereal.grassytwo) add_node({"ethereal:green_dirt"}, 0.015, {"jumble"}, 1, 1, {"farming:melon_8", "farming:pumpkin_8"}, nil, "default:water_source", 1, ethereal.jumble) -- green beans add_node({"ethereal:green_dirt"}, 0.035, {"grassytwo"}, 1, 100, {"farming:beanbush"}, nil, nil, nil, ethereal.grassytwo) -- grape bushel add_node({"ethereal:green_dirt"}, 0.025, {"grassytwo"}, 1, 100, {"farming:grapebush"}, nil, nil, nil, ethereal.grassytwo) add_node({"ethereal:green_dirt"}, 0.025, {"grassy"}, 1, 100, {"farming:grapebush"}, nil, nil, nil, ethereal.grassy) add_node({"ethereal:prairie_dirt"}, 0.025, {"prairie"}, 1, 100, {"farming:grapebush"}, nil, nil, nil, ethereal.prairie) minetest.register_decoration({ deco_type = "simple", place_on = { "default:dirt_with_grass", "ethereal:prairie_dirt", "default:dirt_with_rainforest_litter", }, sidelen = 16, noise_params = { offset = 0, scale = 0.06, spread = {x = 100, y = 100, z = 100}, seed = 420, octaves = 3, persist = 0.6 }, y_min = 5, y_max = 35, decoration = "farming:hemp_7", spawn_by = "group:tree", num_spawn_by = 1, }) end -- place waterlily in beach areas local list = { {"desert_ocean", ethereal.desert}, {"plains_ocean", ethereal.plains}, {"sandclay", ethereal.sandclay}, {"sandstone_ocean", ethereal.sandstone}, {"mesa_ocean", ethereal.mesa}, {"grove_ocean", ethereal.grove}, {"grassy_ocean", ethereal.grassy}, {"swamp_ocean", ethereal.swamp}, } for _, row in pairs(list) do if row[2] == 1 then minetest.register_decoration({ deco_type = "schematic", place_on = {"default:sand"}, sidelen = 16, noise_params = { offset = -0.12, scale = 0.3, spread = {x = 200, y = 200, z = 200}, seed = 33, octaves = 3, persist = 0.7 }, biomes = {row[1]}, y_min = 0, y_max = 0, schematic = ethereal.waterlily, rotation = "random", }) end end -- Generate Illumishroom in caves next to coal minetest.register_on_generated(function(minp, maxp) if minp.y > -30 or maxp.y < -3000 then return end local bpos local coal = minetest.find_nodes_in_area_under_air(minp, maxp, "default:stone_with_coal") for n = 1, #coal do bpos = {x = coal[n].x, y = coal[n].y + 1, z = coal[n].z } if math.random(1, 2) == 1 then if bpos.y > -3000 and bpos.y < -2000 then minetest.swap_node(bpos, {name = "ethereal:illumishroom3"}) elseif bpos.y > -2000 and bpos.y < -1000 then minetest.swap_node(bpos, {name = "ethereal:illumishroom2"}) elseif bpos.y > -1000 and bpos.y < -30 then minetest.swap_node(bpos, {name = "ethereal:illumishroom"}) end end end end) -- coral reef (0.4.15 only) if ethereal.reefs == 1 and minetest.registered_nodes["default:coral_orange"] then -- override corals so crystal shovel can pick them up intact minetest.override_item("default:coral_skeleton", {groups = {crumbly = 3}}) minetest.override_item("default:coral_orange", {groups = {crumbly = 3}}) minetest.override_item("default:coral_brown", {groups = {crumbly = 3}}) minetest.register_decoration({ deco_type = "schematic", place_on = {"default:sand"}, noise_params = { offset = -0.15, scale = 0.1, spread = {x = 100, y = 100, z = 100}, seed = 7013, octaves = 3, persist = 1, }, biomes = { "desert_ocean", "grove_ocean", }, y_min = -8, y_max = -2, schematic = dpath .. "corals.mts", flags = "place_center_x, place_center_z", rotation = "random", }) end -- is baked clay mod active? add new flowers if so if minetest.get_modpath("bakedclay") then minetest.register_decoration({ deco_type = "simple", place_on = { "ethereal:prairie_grass", "ethereal:green_dirt", "ethereal:grove_dirt" }, sidelen = 16, noise_params = { offset = 0, scale = 0.004, spread = {x = 100, y = 100, z = 100}, seed = 7133, octaves = 3, persist = 0.6 }, y_min = 10, y_max = 90, decoration = "bakedclay:delphinium", }) minetest.register_decoration({ deco_type = "simple", place_on = { "ethereal:prairie_grass", "ethereal:green_dirt", "ethereal:grove_dirt", "ethereal:bamboo_dirt" }, sidelen = 16, noise_params = { offset = 0, scale = 0.004, spread = {x = 100, y = 100, z = 100}, seed = 7134, octaves = 3, persist = 0.6 }, y_min = 15, y_max = 90, decoration = "bakedclay:thistle", }) minetest.register_decoration({ deco_type = "simple", place_on = {"ethereal:jungle_dirt", "default:dirt_with_rainforest_litter"}, sidelen = 16, noise_params = { offset = 0, scale = 0.01, spread = {x = 100, y = 100, z = 100}, seed = 7135, octaves = 3, persist = 0.6 }, y_min = 1, y_max = 90, decoration = "bakedclay:lazarus", spawn_by = "default:jungletree", num_spawn_by = 1, }) minetest.register_decoration({ deco_type = "simple", place_on = {"ethereal:green_dirt", "default:sand"}, sidelen = 16, noise_params = { offset = 0, scale = 0.009, spread = {x = 100, y = 100, z = 100}, seed = 7136, octaves = 3, persist = 0.6 }, y_min = 1, y_max = 15, decoration = "bakedclay:mannagrass", spawn_by = "group:water", num_spawn_by = 1, }) end
-- recursive print a table function pprint(tbl, level) local newlevel = level or 0 newlevel = newlevel + 1 if type(tbl) ~= "table" then print(tbl) else for k, v in pairs(tbl) do if type(v) == "table" then print(k) pprint(v, newlevel) else print(string.rep(' ', newlevel), k, v) end end end end -- convert arguments to EasyDestroy.Debug into concatenated strings local function handler(...) local ret = "" for k, v in ipairs({...}) do if tostring(v) then v = tostring(v) end ret = ret .. v .. " " end return ret end -- send messages to the debug frame function EasyDestroy.Debug(...) if EasyDestroy.DebugActive then if EasyDestroy.DebugFrame then EasyDestroy.DebugFrame:AddMessage(date("[%H:%M:%S]") .. " " .. handler(...) .. "\n") else print(date(), ...) end end end -- create a frame for capturing debug messages function EasyDestroy:CreateBG(frame, r, g, b) local bg = frame:CreateTexture(nil, "BACKGROUND"); bg:SetAllPoints(true); bg:SetColorTexture(r, g, b, 0.5); end -- My own personal hell, err, chat window for debug messages. if EasyDestroy.DebugActive then local f = CreateFrame("Frame", nil, UIParent, "UIPanelDialogTemplate") f:SetPoint("CENTER") f:SetHeight(300) f:SetWidth(600) f:SetMovable(true) f:EnableMouse(true) f:RegisterForDrag("LeftButton") f:SetScript("OnDragStart", f.StartMoving) f:SetScript("OnDragStop", f.StopMovingOrSizing) local c = CreateFrame("ScrollingMessageFrame", nil, f ) c:SetPoint("TOPLEFT", 10, -28) c:SetPoint("BOTTOMRIGHT", -10, 8) c:SetFontObject("GameFontNormal") c:SetTextColor(1,1,1,1) c:SetFading(false) c:SetJustifyH("LEFT") c:SetMaxLines(1000) c:EnableMouseWheel(true) c:SetScript("OnMouseWheel", FloatingChatFrame_OnMouseScroll) c:Show() c:AddMessage("TEST") EasyDestroy.DebugFrame = c function EasyDestroy.ShowDebugFrame() f:Show() end local function DBG(e) EasyDestroy.Debug(e) end -- Would probably be better if this went to a separate frame, but I -- just want to see what events fire and when... EasyDestroy.RegisterCallback(f, "ED_NEW_CRITERIA_AVAILABLE", DBG) EasyDestroy.RegisterCallback(f, "ED_BLACKLIST_UPDATED", DBG) EasyDestroy.RegisterCallback(f, "ED_INVENTORY_UPDATED", DBG) EasyDestroy.RegisterCallback(f, "ED_INVENTORY_UPDATED_DELAYED", DBG) EasyDestroy.RegisterCallback(f, "ED_FILTER_CRITERIA_CHANGED", DBG) EasyDestroy.RegisterCallback(f, "ED_FILTER_LOADED", DBG) EasyDestroy.RegisterCallback(f, "ED_FILTERS_AVAILABLE_CHANGED", DBG) EasyDestroy.RegisterCallback(f, "ED_ADDON_LOADED", function () EasyDestroy:CreateBG(EasyDestroyFrameSearch, 1, 0, 0) EasyDestroy:CreateBG(EasyDestroyConfiguration, 0, 1, 0) end) end
#!/usr/bin/env lua ------------------------------------- -- Builds the adapter. -- @param options The parameters. ------------------------------------- local function build_adapter(client, options) local type = tostring(options.type) local Adapter = require('adapters/' .. type) local adapter = Adapter:new(client) local r = adapter:test_credentials(options.username, options.password) if r ~= 0 then io.stderr:write('Test fail!\n') else print('Passed!') end end -- Export the builder function core.build_adapter = build_adapter
-- Copyright 2014 by Ida Bruhns -- -- This file may be distributed and/or modified -- -- 1. under the LaTeX Project Public License and/or -- 2. under the GNU Public License -- -- See the file doc/generic/pgf/licenses/LICENSE for more information --- This is the parent class for forces. It provides a constructor and methods -- stubs to be overwritten in the subclasses. -- Imports local lib = require "pgf.gd.lib" local ForceTemplate = lib.class {} -- constructor function ForceTemplate:constructor() self.force = self.force self.fw_attributes = self.fw_attributes if not self.force.time_fun then self.force.time_fun = function() return 1 end end end -- Method stub for preprocessing -- -- @param v The vertices the list will be build on function ForceTemplate:preprocess(v) end -- Method stub for applying the forces -- -- @param data A table holding data like the table the forces are collected -- in, the current iteration, the current time stamp, some options -- or the natural spring length function ForceTemplate:applyTo(data) end return ForceTemplate
--[[ Derived from roethlin.lua. Original Copyright follows. Copyright (c) 2010 Gerhard Roethlin 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. Value serialization store(path, ...): Stores arbitrary items to the file at the given path storeWithHooks(path, hooks, ...): Hooks keyed on the type are called before each write. load(path): Loads files that were previously stored with store and returns them Limitations: Does not export userdata, threads or most function values ]] -- local writers = {} local typeHooks = {} -- Private methods -- write thing (dispatcher) local function write(file, item, level, objRefNames) local itemType = type(item) local hook = typeHooks[itemType] if hook then item = hook(item) end writers[itemType](file, item, level, objRefNames); end -- write indent local function writeIndent(file, level) for i = 1, level do file:write("\t"); end end -- recursively count references local function refCount(objRefCount, item) -- only count reference types (tables) if type(item) == "table" then -- Increase ref count if objRefCount[item] then objRefCount[item] = objRefCount[item] + 1; else objRefCount[item] = 1; -- If first encounter, traverse for k, v in pairs(item) do refCount(objRefCount, k); refCount(objRefCount, v); end end end end writers["nil"] = function(file, item) file:write("nil"); end writers["number"] = function(file, item) file:write(tostring(item)); end writers["string"] = function(file, item) file:write(string.format("%q", item)); end writers["boolean"] = function(file, item) if item then file:write("true"); else file:write("false"); end end writers["table"] = function(file, item, level, objRefNames) local refIdx = objRefNames[item]; if refIdx then -- Table with multiple references file:write("shared[" .. refIdx .. "]"); else -- Single use table file:write("{\n"); for k, v in pairs(item) do writeIndent(file, level + 1); file:write("["); write(file, k, level + 1, objRefNames); file:write("] = "); write(file, v, level + 1, objRefNames); file:write(";\n"); end writeIndent(file, level); file:write("}"); end end writers["function"] = function(file, item) -- Does only work for "normal" functions, not those -- with upvalues or c functions local dInfo = debug.getinfo(item, "uS"); if dInfo.nups > 0 then file:write("nil --[[functions with upvalue not supported]]"); elseif dInfo.what ~= "Lua" then file:write("nil --[[non-lua function not supported]]"); else local r, s = pcall(string.dump, item); if r then file:write(string.format("loadstring(%q)", s)); else file:write("nil --[[function could not be dumped]]"); end end end writers["thread"] = function(file, item) file:write("nil --[[thread]]\n"); end writers["userdata"] = function(file, item) file:write("nil --[[userdata]]\n"); end -- Public Methods local function store(path, ...) local file, e; if type(path) == "string" then -- Path, open a file file, e = io.open(path, "w"); if not file then app.logError("Failed to open %s. %s", path, e) return false; -- error(e); end else -- Just treat it as file file = path; end local n = select("#", ...); -- Count references local objRefCount = {}; -- Stores reference that will be exported for i = 1, n do refCount(objRefCount, (select(i, ...))); end -- Export Objects with more than one ref and assign name -- First, create empty tables for each local objRefNames = {}; local objRefIdx = 0; --file:write("-- Persistent Data\n"); file:write("local shared = {\n"); for obj, count in pairs(objRefCount) do if count > 1 then objRefIdx = objRefIdx + 1; objRefNames[obj] = objRefIdx; file:write("{};"); -- table objRefIdx end end file:write("\n} -- shared\n"); -- Then fill them (this requires all empty shared to exist) for obj, idx in pairs(objRefNames) do for k, v in pairs(obj) do file:write("shared[" .. idx .. "]["); write(file, k, 0, objRefNames); file:write("] = "); write(file, v, 0, objRefNames); file:write(";\n"); end end -- Create the remaining objects for i = 1, n do file:write("local " .. "obj" .. i .. " = "); write(file, (select(i, ...)), 0, objRefNames); file:write("\n"); end -- Return them if n > 0 then file:write("return obj1"); for i = 2, n do file:write(" ,obj" .. i); end file:write("\n"); else file:write("return\n"); end file:close(); return true; end local function storeWithHooks(path, hooks, ...) local saved = typeHooks typeHooks = hooks local result = store(path, ...) typeHooks = saved return result end local function load(path) local f, e = loadfile(path); if f then return f(); else return nil, e; end end return {store = store, load = load, storeWithHooks = storeWithHooks}
object_mobile_asn_121 = object_mobile_shared_asn_121:new { } ObjectTemplates:addTemplate(object_mobile_asn_121, "object/mobile/asn_121.iff")
local function Move(Camera, Mouse, dt, mx, my) if love.mouse.isDown(2) then local s, c = math.sin(Camera.angle), math.cos(Camera.angle) local dx = (-mx + Mouse.screen.x) / Camera.zoom local dy = (-my + Mouse.screen.y) / Camera.zoom Camera.x = Camera.x + dx * c - dy * s Camera.y = Camera.y + dy * c + dx * s end if love.keyboard.isDown('q') then Camera.angle = Camera.angle + dt end if love.keyboard.isDown('e') then Camera.angle = Camera.angle - dt end if love.keyboard.isDown('a') then Camera.x = Camera.x - (dt * 400) end if love.keyboard.isDown('d') then Camera.x = Camera.x + (dt * 400) end if love.keyboard.isDown('w') then Camera.y = Camera.y - (dt * 400) end if love.keyboard.isDown('s') then Camera.y = Camera.y + (dt * 400) end Camera.pos:update(Camera.x, Camera.y) end return Move
--- inspire by https://github.com/sony/sonyflake/blob/master/sonyflake.go --- lua number has 52 bit local BIT_LEN_SEQUENCE = 8 local BIT_LEN_TICK = 52 - BIT_LEN_SEQUENCE local Snowflake = { tick = 0, sequence = 0, } local MASK_SEQUENCE = bit32.lshift(1, BIT_LEN_SEQUENCE - 1) local TICK_BIT_OFFSET = bit32.lshift(1, BIT_LEN_SEQUENCE) local TICK_LIMIT = math.pow(2, BIT_LEN_TICK) function Snowflake:to_id() if self.tick >= TICK_LIMIT then error("over the time limit") end return self.tick * TICK_BIT_OFFSET + self.sequence end function Snowflake:next_id() if game and self.tick < game.tick then self.tick = game.tick self.sequence = 0 else self.sequence = bit32.band((self.sequence + 1), MASK_SEQUENCE) if self.sequence == 0 then self.tick = self.tick + 1 end end return 'k' .. self:to_id() end return Snowflake
#!/usr/bin/lua -- Copyright (C) 2021 Lienol <lawlienol@gmail.com> local jsonc = require "luci.jsonc" local gen_path = "/etc/ddns" local gen4_path = gen_path .. "/services" local gen6_path = gen_path .. "/services_ipv6" local ddns_path = "/usr/share/ddns/default" local file, err = io.open(ddns_path, "rb") if file then file:close() os.execute("mkdir -p " .. gen_path) local s = io.popen("ls " .. ddns_path) local files_name = s:read("*all") string.gsub(files_name, '[^' .. "\n" .. ']+', function(name) file = io.open(ddns_path .. "/" .. name, "r") local t = jsonc.parse(file:read("*a")) if t and t.name then if t.ipv4 and t.ipv4.url then --local str = string.format('\"%s\" \"%s\"', t.name, t.ipv4.url) os.execute(string.format("sed -i '/%s/d' %s >/dev/null 2>&1", t.name, gen4_path)) os.execute("printf \"%s\\t%s\\n\" '\"" .. t.name .. "\"' " .. "'\"" .. t.ipv4.url .. "\"'" .. ">>" .. gen4_path) end if t.ipv6 and t.ipv6.url then --local str = string.format('"%s" "%s"', t.name, t.ipv6.url) os.execute(string.format("sed -i '/%s/d' %s >/dev/null 2>&1", t.name, gen6_path)) os.execute("printf \"%s\\t%s\\n\" '\"" .. t.name .. "\"' " .. "'\"" .. t.ipv6.url .. "\"'" .. ">>" .. gen6_path) end end file:close() end) end
JUNKNOTSELLABLE = 0 JUNKGENERIC = 1 JUNKFINERY = 2 JUNKARMS = 4 JUNKGEO = 8 JUNKTUSKEN = 16 JUNKJEDI = 32 JUNKJAWA = 64 JUNKGUNGAN = 128 JUNKCORSEC = 256 includeFile("items/attachment_armor.lua") includeFile("items/attachment_clothing.lua") includeFile("items/balanced_feed_mechanism.lua") includeFile("items/blacksun_razor_knuckler_schematic.lua") includeFile("items/blank_canvas.lua") includeFile("items/bubble_tank_schematic.lua") includeFile("items/crystalline_clothing_treatment.lua") includeFile("items/fine_tuned_vibro_motor.lua") includeFile("items/firework_casing.lua") includeFile("items/fireworks_packager.lua") includeFile("items/force_color_crystal.lua") includeFile("items/force_power_crystal.lua") includeFile("items/heavy_duty_clasp.lua") includeFile("items/heavy_duty_leather.lua") includeFile("items/high_frequency_vibro_motor.lua") includeFile("items/high_powered_energy_capacitor.lua") includeFile("items/high_powered_vibro_motor.lua") includeFile("items/high_valocity_feed_mechanism.lua") includeFile("items/jedi_holocron_dark.lua") includeFile("items/jedi_holocron_light.lua") includeFile("items/large_energy_capacitor.lua") includeFile("items/lightsaber_vader.lua") includeFile("items/mellichae_cybernetic_arm.lua") includeFile("items/packaged_flash_powder.lua") includeFile("items/paint_cartridge.lua") includeFile("items/paint_disperser.lua") includeFile("items/passkey_hall.lua") includeFile("items/passkey_mine.lua") includeFile("items/passkey_storage.lua") includeFile("items/picture_printer.lua") includeFile("items/pistol_de10.lua") includeFile("items/treasure_map.lua") includeFile("items/viewscreen_printer.lua") includeFile("items/viewscreen_reader.lua") --armor sub-folder includeFile("items/armor/bh_armor_belt.lua") includeFile("items/armor/bh_armor_bicep_l.lua") includeFile("items/armor/bh_armor_bicep_r.lua") includeFile("items/armor/bh_armor_boots.lua") includeFile("items/armor/bh_armor_bracer_l.lua") includeFile("items/armor/bh_armor_bracer_r.lua") includeFile("items/armor/bh_armor_chest_plate.lua") includeFile("items/armor/bh_armor_gloves.lua") includeFile("items/armor/bh_armor_helmet.lua") includeFile("items/armor/bh_armor_leggings.lua") includeFile("items/armor/bone_armor_bicep_l.lua") includeFile("items/armor/bone_armor_bicep_r.lua") includeFile("items/armor/bone_armor_boots.lua") includeFile("items/armor/bone_armor_bracer_l.lua") includeFile("items/armor/bone_armor_bracer_r.lua") includeFile("items/armor/bone_armor_chest_plate.lua") includeFile("items/armor/bone_armor_gloves.lua") includeFile("items/armor/bone_armor_helmet.lua") includeFile("items/armor/bone_armor_leggings.lua") includeFile("items/armor/chitin_armor_bicep_l.lua") includeFile("items/armor/chitin_armor_bicep_r.lua") includeFile("items/armor/chitin_armor_boots.lua") includeFile("items/armor/chitin_armor_bracer_l.lua") includeFile("items/armor/chitin_armor_bracer_r.lua") includeFile("items/armor/chitin_armor_chest_plate.lua") includeFile("items/armor/chitin_armor_gloves.lua") includeFile("items/armor/chitin_armor_helmet.lua") includeFile("items/armor/chitin_armor_leggings.lua") includeFile("items/armor/composite_armor_bicep_l.lua") includeFile("items/armor/composite_armor_bicep_r.lua") includeFile("items/armor/composite_armor_boots.lua") includeFile("items/armor/composite_armor_bracer_l.lua") includeFile("items/armor/composite_armor_bracer_r.lua") includeFile("items/armor/composite_armor_chest_plate.lua") includeFile("items/armor/composite_armor_gloves.lua") includeFile("items/armor/composite_armor_helmet.lua") includeFile("items/armor/composite_armor_leggings.lua") includeFile("items/armor/ithorian_defender_armor_bicep_l.lua") includeFile("items/armor/ithorian_defender_armor_bicep_r.lua") includeFile("items/armor/ithorian_defender_armor_boots.lua") includeFile("items/armor/ithorian_defender_armor_bracer_l.lua") includeFile("items/armor/ithorian_defender_armor_bracer_r.lua") includeFile("items/armor/ithorian_defender_armor_chest_plate.lua") includeFile("items/armor/ithorian_defender_armor_gloves.lua") includeFile("items/armor/ithorian_defender_armor_helmet.lua") includeFile("items/armor/ithorian_defender_armor_leggings.lua") includeFile("items/armor/ithorian_guardian_armor_bicep_l.lua") includeFile("items/armor/ithorian_guardian_armor_bicep_r.lua") includeFile("items/armor/ithorian_guardian_armor_boots.lua") includeFile("items/armor/ithorian_guardian_armor_bracer_l.lua") includeFile("items/armor/ithorian_guardian_armor_bracer_r.lua") includeFile("items/armor/ithorian_guardian_armor_chest_plate.lua") includeFile("items/armor/ithorian_guardian_armor_gloves.lua") includeFile("items/armor/ithorian_guardian_armor_helmet.lua") includeFile("items/armor/ithorian_guardian_armor_leggings.lua") includeFile("items/armor/ithorian_sentinel_armor_bicep_l.lua") includeFile("items/armor/ithorian_sentinel_armor_bicep_r.lua") includeFile("items/armor/ithorian_sentinel_armor_boots.lua") includeFile("items/armor/ithorian_sentinel_armor_bracer_l.lua") includeFile("items/armor/ithorian_sentinel_armor_bracer_r.lua") includeFile("items/armor/ithorian_sentinel_armor_chest_plate.lua") includeFile("items/armor/ithorian_sentinel_armor_gloves.lua") includeFile("items/armor/ithorian_sentinel_armor_helmet.lua") includeFile("items/armor/ithorian_sentinel_armor_leggings.lua") includeFile("items/armor/kashyyykian_black_mtn_armor_bracer_l.lua") includeFile("items/armor/kashyyykian_black_mtn_armor_bracer_r.lua") includeFile("items/armor/kashyyykian_black_mtn_armor_chest_plate.lua") includeFile("items/armor/kashyyykian_black_mtn_armor_leggings.lua") includeFile("items/armor/kashyyykian_ceremonial_armor_bracer_l.lua") includeFile("items/armor/kashyyykian_ceremonial_armor_bracer_r.lua") includeFile("items/armor/kashyyykian_ceremonial_armor_chest_plate.lua") includeFile("items/armor/kashyyykian_ceremonial_armor_leggings.lua") includeFile("items/armor/kashyyykian_hunting_armor_bracer_l.lua") includeFile("items/armor/kashyyykian_hunting_armor_bracer_r.lua") includeFile("items/armor/kashyyykian_hunting_armor_chest_plate.lua") includeFile("items/armor/kashyyykian_hunting_armor_leggings.lua") includeFile("items/armor/mabari_armor_belt.lua") includeFile("items/armor/mabari_armor_boots.lua") includeFile("items/armor/mabari_armor_gloves.lua") includeFile("items/armor/mabari_armor_helmet.lua") includeFile("items/armor/mabari_armor_chest_plate.lua") includeFile("items/armor/mabari_armor_pants.lua") includeFile("items/armor/padded_armor_belt.lua") includeFile("items/armor/padded_armor_bicep_l.lua") includeFile("items/armor/padded_armor_bicep_r.lua") includeFile("items/armor/padded_armor_boots.lua") includeFile("items/armor/padded_armor_bracer_l.lua") includeFile("items/armor/padded_armor_bracer_r.lua") includeFile("items/armor/padded_armor_chest_plate.lua") includeFile("items/armor/padded_armor_gloves.lua") includeFile("items/armor/padded_armor_helmet.lua") includeFile("items/armor/padded_armor_leggings.lua") includeFile("items/armor/tantel_armor_boots.lua") includeFile("items/armor/tantel_armor_chest_plate.lua") includeFile("items/armor/tantel_armor_helmet.lua") includeFile("items/armor/ubese_armor_bandolier.lua") includeFile("items/armor/ubese_armor_boots.lua") includeFile("items/armor/ubese_armor_bracer_l.lua") includeFile("items/armor/ubese_armor_bracer_r.lua") includeFile("items/armor/ubese_armor_gloves.lua") includeFile("items/armor/ubese_armor_helmet.lua") includeFile("items/armor/ubese_armor_jacket.lua") includeFile("items/armor/ubese_armor_pants.lua") includeFile("items/armor/ubese_armor_shirt.lua") --bestine_election sub-folder includeFile("items/bestine_election/bestine_quest_badge.lua") includeFile("items/bestine_election/bestine_history_quest_painting.lua") includeFile("items/bestine_election/bestine_quest_imp_banner.lua") includeFile("items/bestine_election/bestine_quest_painting.lua") includeFile("items/bestine_election/bestine_quest_rug.lua") includeFile("items/bestine_election/bestine_quest_statue.lua") includeFile("items/bestine_election/bestine_quest_sword.lua") includeFile("items/bestine_election/bestine_quest_tusken_rifle.lua") includeFile("items/bestine_election/carved_stone.lua") includeFile("items/bestine_election/smooth_stone.lua") includeFile("items/bestine_election/tusken_head.lua") includeFile("items/bestine_election/victor_baton_gaderiffi.lua") --coa sub-folder includeFile("items/coa/coa_decoder_housing.lua") includeFile("items/coa/coa_decoder_power.lua") includeFile("items/coa/coa_decoder_processor.lua") includeFile("items/coa/coa_decoder_reader.lua") includeFile("items/coa/coa_decoder_screen.lua") includeFile("items/coa/coa_decoder_translation.lua") includeFile("items/coa/coa_imp_1.lua") includeFile("items/coa/coa_imp_2.lua") includeFile("items/coa/coa_imp_3.lua") includeFile("items/coa/coa_imp_4.lua") includeFile("items/coa/coa_reb_1.lua") includeFile("items/coa/coa_reb_2.lua") includeFile("items/coa/coa_reb_3.lua") includeFile("items/coa/coa_reb_4.lua") includeFile("items/coa/coa_rebel_message.lua") -- component loot sub-folder includeFile("items/component_loot/ancient_blackwing_pack.lua") includeFile("items/component_loot/ancient_jedaii_holocron_dode.lua") includeFile("items/component_loot/ancient_jedaii_holocron_cube.lua") includeFile("items/component_loot/ancient_jedaii_holocron_triangle.lua") includeFile("items/component_loot/biologic_effect_controller_advanced.lua") includeFile("items/component_loot/biologic_effect_controller.lua") includeFile("items/component_loot/blaster_pistol_barrel_advanced.lua") includeFile("items/component_loot/blaster_pistol_barrel.lua") includeFile("items/component_loot/blaster_power_handler_advanced.lua") includeFile("items/component_loot/blaster_power_handler.lua") includeFile("items/component_loot/blaster_rifle_barrel_advanced.lua") includeFile("items/component_loot/blaster_rifle_barrel.lua") includeFile("items/component_loot/dispersal_mechanism_advanced.lua") includeFile("items/component_loot/dispersal_mechanism.lua") includeFile("items/component_loot/infection_amplifier_advanced.lua") includeFile("items/component_loot/infection_amplifier.lua") includeFile("items/component_loot/liquid_delivery_suspension_advanced.lua") includeFile("items/component_loot/liquid_delivery_suspension.lua") --includeFile("items/component_loot/orbalisk_shell.lua") // not in use atm. includeFile("items/component_loot/projectile_feed_mechanism_advanced.lua") includeFile("items/component_loot/projectile_feed_mechanism.lua") includeFile("items/component_loot/projectile_pistol_barrel_advanced.lua") includeFile("items/component_loot/projectile_pistol_barrel.lua") includeFile("items/component_loot/projectile_rifle_barrel_advanced.lua") includeFile("items/component_loot/projectile_rifle_barrel.lua") includeFile("items/component_loot/reinforcement_core_advanced.lua") includeFile("items/component_loot/reinforcement_core.lua") includeFile("items/component_loot/release_mechanism_duration_advanced.lua") includeFile("items/component_loot/release_mechanism_duration.lua") includeFile("items/component_loot/resilience_compound_advanced.lua") includeFile("items/component_loot/resilience_compound.lua") includeFile("items/component_loot/scope_weapon_advanced.lua") includeFile("items/component_loot/scope_weapon.lua") includeFile("items/component_loot/solid_delivery_shell_advanced.lua") includeFile("items/component_loot/solid_delivery_shell.lua") includeFile("items/component_loot/stock_advanced.lua") includeFile("items/component_loot/stock.lua") includeFile("items/component_loot/sword_core_advanced.lua") includeFile("items/component_loot/sword_core.lua") includeFile("items/component_loot/vibro_unit_advanced.lua") includeFile("items/component_loot/vibro_unit.lua") includeFile("items/component_loot/legendary_bone_shards.lua") includeFile("items/component_loot/legendary_bones.lua") includeFile("items/component_loot/legendary_tissue.lua") includeFile("items/component_loot/legendary_tooth.lua") includeFile("items/component_loot/legendary_vibro_unit.lua") --corellian_corvette sub-folder includeFile("items/corellian_corvette/shirt_s03_rebel.lua") includeFile("items/corellian_corvette/armor_marine_chest_plate_rebel.lua") includeFile("items/corellian_corvette/bantha_doll.lua") includeFile("items/corellian_corvette/berserker_schematic.lua") includeFile("items/corellian_corvette/corellian_corvette_rifle_berserker_schematic.lua") includeFile("items/corellian_corvette/corvette_rifle_barrel.lua") includeFile("items/corellian_corvette/droid_maint_module.lua") includeFile("items/corellian_corvette/bootdisk.lua") includeFile("items/corellian_corvette/spice_crash_n_burn.lua") includeFile("items/corellian_corvette/spice_giggledust.lua") includeFile("items/corellian_corvette/veh_power_plant_av21.lua") -- creature sub-folder includeFile("items/creature/brackaset_plates.lua") includeFile("items/creature/brackaset_plating_segment.lua") includeFile("items/creature/fambaa_hide_segment.lua") includeFile("items/creature/fambaa_plates.lua") includeFile("items/creature/giant_dune_kimogila_scale.lua") includeFile("items/creature/gurk_king_hide.lua") includeFile("items/creature/kimogila_bone_segment.lua") includeFile("items/creature/kimogila_scales.lua") includeFile("items/creature/kimogila_tissue.lua") includeFile("items/creature/kimogila_pearl.lua") includeFile("items/creature/kliknik_chitin_armor_segment.lua") includeFile("items/creature/kliknik_gland.lua") includeFile("items/creature/krayt_composite_segment.lua") includeFile("items/creature/krayt_dragon_pearl.lua") includeFile("items/creature/krayt_dragon_pearl_premium.lua") includeFile("items/creature/krayt_dragon_pearl_flawless.lua") includeFile("items/creature/krayt_dragon_scales.lua") includeFile("items/creature/krayt_dragon_tissue_common.lua") includeFile("items/creature/krayt_dragon_tissue_rare.lua") includeFile("items/creature/krayt_dragon_tissue_uncommon.lua") includeFile("items/creature/mythosaur_bone_segment.lua") includeFile("items/creature/mythosaur_scales.lua") includeFile("items/creature/mythosaur_tissue.lua") includeFile("items/creature/mythosaur_pearl.lua") includeFile("items/creature/peko_albatross_feather.lua") includeFile("items/creature/rancor_bile.lua") includeFile("items/creature/rancor_hides.lua") includeFile("items/creature/rancor_padded_armor_segment.lua") includeFile("items/creature/rancor_tooth.lua") includeFile("items/creature/sharnaff_plating.lua") includeFile("items/creature/sharnaff_plating_segment.lua") includeFile("items/creature/voritor_lizard_hide_segment.lua") includeFile("items/creature/voritor_lizard_scales.lua") includeFile("items/creature/woolamander_harrower_bone_fragments.lua") -- death_watch_bunker sub-folder includeFile("items/death_watch_bunker/alum_gel_packet.lua") includeFile("items/death_watch_bunker/art_crate.lua") includeFile("items/death_watch_bunker/art_lg_s1.lua") includeFile("items/death_watch_bunker/art_lg_s2.lua") includeFile("items/death_watch_bunker/art_sm_s1.lua") includeFile("items/death_watch_bunker/art_sm_s2.lua") includeFile("items/death_watch_bunker/art_sm_s3.lua") includeFile("items/death_watch_bunker/art_sm_s4.lua") includeFile("items/death_watch_bunker/binary_liquid.lua") includeFile("items/death_watch_bunker/de10_pistol_barrel.lua") includeFile("items/death_watch_bunker/death_watch_overlord_vial.lua") includeFile("items/death_watch_bunker/dirty_battery.lua") includeFile("items/death_watch_bunker/ducted_fan.lua") includeFile("items/death_watch_bunker/executioners_hack_schematic.lua") includeFile("items/death_watch_bunker/fuel_dispersion_unit.lua") includeFile("items/death_watch_bunker/injector_tank.lua") includeFile("items/death_watch_bunker/jet_pack_base.lua") includeFile("items/death_watch_bunker/jetpack_stabilizer.lua") includeFile("items/death_watch_bunker/mandalorian_rebreather.lua") includeFile("items/death_watch_bunker/mandalorian_wine_schematic.lua") includeFile("items/death_watch_bunker/pistol_de10_schematic.lua") includeFile("items/death_watch_bunker/protective_liquid_coating.lua") --forage sub-folder includeFile("items/forage/foraged_alever_tweth_pek.lua") includeFile("items/forage/foraged_bait_chum.lua") includeFile("items/forage/foraged_bait_grub.lua") includeFile("items/forage/foraged_bait_insect.lua") includeFile("items/forage/foraged_bait_worm.lua") includeFile("items/forage/foraged_berries.lua") includeFile("items/forage/foraged_biologic_effect_controller.lua") includeFile("items/forage/foraged_bugs.lua") includeFile("items/forage/foraged_dispersal_mechanism.lua") includeFile("items/forage/foraged_etost_ew_zann.lua") includeFile("items/forage/foraged_flurr_clie_onion.lua") includeFile("items/forage/foraged_fungus.lua") includeFile("items/forage/foraged_grubs.lua") includeFile("items/forage/foraged_infection_amplifier.lua") includeFile("items/forage/foraged_ko_do_fruit.lua") includeFile("items/forage/foraged_liquid_delivery_suspension.lua") includeFile("items/forage/foraged_livers.lua") includeFile("items/forage/foraged_maroj_melon.lua") includeFile("items/forage/foraged_release_mechanism_duration.lua") includeFile("items/forage/foraged_resilience_compound.lua") includeFile("items/forage/foraged_sample_bats.lua") includeFile("items/forage/foraged_sample_bees.lua") includeFile("items/forage/foraged_sample_bugs.lua") includeFile("items/forage/foraged_sample_butterflies.lua") includeFile("items/forage/foraged_sample_flies.lua") includeFile("items/forage/foraged_sample_glowzees.lua") includeFile("items/forage/foraged_sample_moths.lua") includeFile("items/forage/foraged_schule_nef.lua") includeFile("items/forage/foraged_sijjo_sewi.lua") includeFile("items/forage/foraged_solid_delivery_shell.lua") includeFile("items/forage/foraged_sosi_hodor.lua") includeFile("items/forage/foraged_stimpack.lua") includeFile("items/forage/foraged_wild_snaff.lua") -- geonosian_lab sub-folder includeFile("items/geonosian_lab/acklay_bone_armor_schematic.lua") includeFile("items/geonosian_lab/acklay_bones.lua") includeFile("items/geonosian_lab/acklay_bones_rare.lua") includeFile("items/geonosian_lab/acklay_hide.lua") includeFile("items/geonosian_lab/acklay_ris_armor_schematic.lua") includeFile("items/geonosian_lab/acklay_venom.lua") includeFile("items/geonosian_lab/geo_kliknik_fortitude_boost.lua") includeFile("items/geonosian_lab/geo_kwi_adrenal_boost.lua") includeFile("items/geonosian_lab/geo_passkey.lua") includeFile("items/geonosian_lab/geo_power_cube_green.lua") includeFile("items/geonosian_lab/geo_power_cube_red.lua") includeFile("items/geonosian_lab/geo_power_cube_white.lua") includeFile("items/geonosian_lab/geo_power_cube_yellow.lua") includeFile("items/geonosian_lab/geo_reinforcement_core.lua") includeFile("items/geonosian_lab/geo_reinforcement_core_schematic.lua") includeFile("items/geonosian_lab/geo_relic_chemical_tablet.lua") includeFile("items/geonosian_lab/geo_relic_data_tablet.lua") includeFile("items/geonosian_lab/geo_relic_honey_carafe.lua") includeFile("items/geonosian_lab/geo_relic_ration_kit.lua") includeFile("items/geonosian_lab/geo_relic_small_ball.lua") includeFile("items/geonosian_lab/geo_relic_spice_container.lua") includeFile("items/geonosian_lab/geo_relic_tech_kit.lua") includeFile("items/geonosian_lab/geo_solidifying_agent.lua") includeFile("items/geonosian_lab/geo_sonic_blaster.lua") includeFile("items/geonosian_lab/geo_sonic_blaster_schematic.lua") includeFile("items/geonosian_lab/geo_spider_fang.lua") includeFile("items/geonosian_lab/geo_spider_venom.lua") includeFile("items/geonosian_lab/geo_spider_venom_base.lua") includeFile("items/geonosian_lab/geo_spider_venom_rare.lua") includeFile("items/geonosian_lab/geo_sword_core.lua") includeFile("items/geonosian_lab/geo_sword_core_schematic.lua") includeFile("items/geonosian_lab/geo_tenloss_dxr6_schematic.lua") includeFile("items/geonosian_lab/kliknik_reinforced_chitin_armor_segment.lua") includeFile("items/geonosian_lab/rifle_tenloss_dxr6_disruptor.lua") -- hero_of_tatooine sub-folder includeFile("items/hero_of_tatooine/mark_of_courage.lua") --junk sub-folder includeFile("items/junk/broken_binoculars_s1.lua") includeFile("items/junk/broken_binoculars_s2.lua") includeFile("items/junk/broken_decryptor.lua") includeFile("items/junk/broken_viewscreen_grey.lua") includeFile("items/junk/broken_viewscreen_tan.lua") includeFile("items/junk/camera.lua") includeFile("items/junk/cargo_pocket.lua") includeFile("items/junk/corrupt_datadisk.lua") includeFile("items/junk/corsec_id_badge.lua") includeFile("items/junk/datadisk_repair_kit.lua") includeFile("items/junk/datapad_backlight.lua") includeFile("items/junk/datapad_battery.lua") includeFile("items/junk/datapad_broken.lua") includeFile("items/junk/datapad_casing.lua") includeFile("items/junk/datapad_connectors.lua") includeFile("items/junk/damaged_datapad.lua") includeFile("items/junk/decorative_bowl.lua") includeFile("items/junk/decorative_shisa.lua") includeFile("items/junk/dermal_analyzer.lua") includeFile("items/junk/dud_firework_grey.lua") includeFile("items/junk/dud_firework_red.lua") includeFile("items/junk/empty_cage.lua") includeFile("items/junk/expensive_basket.lua") includeFile("items/junk/expired_ticket.lua") includeFile("items/junk/hyperdrive_part.lua") includeFile("items/junk/ledger.lua") includeFile("items/junk/locked_briefcase.lua") includeFile("items/junk/locked_container.lua") includeFile("items/junk/loudspeaker.lua") includeFile("items/junk/magic_eight_ball.lua") includeFile("items/junk/magnetic_burner.lua") includeFile("items/junk/magnetic_reader.lua") includeFile("items/junk/palm_frond.lua") includeFile("items/junk/photographic_image.lua") includeFile("items/junk/recorded_image_1.lua") includeFile("items/junk/recording_rod.lua") includeFile("items/junk/recovery_software.lua") includeFile("items/junk/satchel.lua") includeFile("items/junk/slave_collar.lua") includeFile("items/junk/used_ticket.lua") includeFile("items/junk/wiring.lua") includeFile("items/junk/worklight.lua") --loot_kit sub-folder includeFile("items/loot_kit/blue_rug_adhesive.lua") includeFile("items/loot_kit/blue_rug_dye.lua") includeFile("items/loot_kit/blue_rug_patches.lua") includeFile("items/loot_kit/blue_rug_thread_1.lua") includeFile("items/loot_kit/blue_rug_thread_2.lua") includeFile("items/loot_kit/blue_rug_thread_3.lua") includeFile("items/loot_kit/blue_rug_thread_4.lua") includeFile("items/loot_kit/blue_rug_thread_5.lua") includeFile("items/loot_kit/blue_rug_thread_6.lua") includeFile("items/loot_kit/blue_rug_thread_7.lua") includeFile("items/loot_kit/gong_adhesive.lua") includeFile("items/loot_kit/gong_skin_back.lua") includeFile("items/loot_kit/gong_skin_front.lua") includeFile("items/loot_kit/gong_structure_01.lua") includeFile("items/loot_kit/gong_structure_02.lua") includeFile("items/loot_kit/gong_structure_03.lua") includeFile("items/loot_kit/gong_structure_04.lua") includeFile("items/loot_kit/gong_structure_05.lua") includeFile("items/loot_kit/gong_structure_06.lua") includeFile("items/loot_kit/gong_structure_07.lua") includeFile("items/loot_kit/light_table_adhesive.lua") includeFile("items/loot_kit/light_table_glasstop_1.lua") includeFile("items/loot_kit/light_table_glasstop_2.lua") includeFile("items/loot_kit/light_table_structure_1.lua") includeFile("items/loot_kit/light_table_structure_2.lua") includeFile("items/loot_kit/light_table_structure_3.lua") includeFile("items/loot_kit/light_table_structure_4.lua") includeFile("items/loot_kit/light_table_structure_5.lua") includeFile("items/loot_kit/light_table_structure_6.lua") includeFile("items/loot_kit/light_table_structure_7.lua") includeFile("items/loot_kit/orange_rug_adhesive.lua") includeFile("items/loot_kit/orange_rug_dye.lua") includeFile("items/loot_kit/orange_rug_patches.lua") includeFile("items/loot_kit/orange_rug_thread_1.lua") includeFile("items/loot_kit/orange_rug_thread_2.lua") includeFile("items/loot_kit/orange_rug_thread_3.lua") includeFile("items/loot_kit/orange_rug_thread_4.lua") includeFile("items/loot_kit/orange_rug_thread_5.lua") includeFile("items/loot_kit/orange_rug_thread_6.lua") includeFile("items/loot_kit/orange_rug_thread_7.lua") includeFile("items/loot_kit/sculpture_adhesive.lua") includeFile("items/loot_kit/sculpture_goldinlay_1.lua") includeFile("items/loot_kit/sculpture_goldinlay_2.lua") includeFile("items/loot_kit/sculpture_structure_1.lua") includeFile("items/loot_kit/sculpture_structure_2.lua") includeFile("items/loot_kit/sculpture_structure_3.lua") includeFile("items/loot_kit/sculpture_structure_4.lua") includeFile("items/loot_kit/sculpture_structure_5.lua") includeFile("items/loot_kit/sculpture_structure_6.lua") includeFile("items/loot_kit/sculpture_structure_7.lua") --loot_schematic sub-folder includeFile("items/loot_schematic/cantina_chair_schematic.lua") includeFile("items/loot_schematic/carved_bowl_schematic.lua") includeFile("items/loot_schematic/closed_basket_schematic.lua") includeFile("items/loot_schematic/couch_blue_schematic.lua") includeFile("items/loot_schematic/droid_body_schematic.lua") includeFile("items/loot_schematic/elegant_cabinet_schematic.lua") includeFile("items/loot_schematic/fat_bottle_schematic.lua") includeFile("items/loot_schematic/gambling_table_schematic.lua") includeFile("items/loot_schematic/kitchen_utensils.lua") includeFile("items/loot_schematic/pear_bottle_schematic.lua") includeFile("items/loot_schematic/plain_bowl_schematic.lua") includeFile("items/loot_schematic/portable_stove_schematic.lua") includeFile("items/loot_schematic/radar_screen_schematic.lua") includeFile("items/loot_schematic/radio_schematic.lua") includeFile("items/loot_schematic/slave_brazier_schematic.lua") includeFile("items/loot_schematic/spear_rack_schematic.lua") includeFile("items/loot_schematic/streetlamp_schematic.lua") includeFile("items/loot_schematic/tall_bottle_schematic.lua") includeFile("items/loot_schematic/tanned_hide_s01_schematic.lua") includeFile("items/loot_schematic/tanned_hide_s02_schematic.lua") includeFile("items/loot_schematic/tatooine_tapestry_schematic.lua") includeFile("items/loot_schematic/technical_console_schematic_1.lua") includeFile("items/loot_schematic/technical_console_schematic_2.lua") includeFile("items/loot_schematic/throw_pillow_schematic.lua") --npc sub-folder includeFile("items/npc/aakuan_belt.lua") includeFile("items/npc/aakuan_ring.lua") includeFile("items/npc/aakuan_robe.lua") includeFile("items/npc/aakuan_shirt.lua") includeFile("items/npc/donkuwah_bone_armor_segment.lua") includeFile("items/npc/donkuwah_poison.lua") includeFile("items/npc/gorax_bone_shards.lua") includeFile("items/npc/gorax_bone_shards_common.lua") includeFile("items/npc/gorax_bone_shards_rare.lua") includeFile("items/npc/gungan_lance.lua") includeFile("items/npc/gungan_signet.lua") includeFile("items/npc/janta_blood.lua") includeFile("items/npc/janta_hides.lua") includeFile("items/npc/jawa_beads.lua") includeFile("items/npc/nightsister_lance_schematic.lua") includeFile("items/npc/nightsister_layer.lua") includeFile("items/npc/nightsister_shards.lua") includeFile("items/npc/nightsister_vibro_unit.lua") includeFile("items/npc/nyax_necklace.lua") includeFile("items/npc/tusken_raider_bandolier_1.lua") includeFile("items/npc/tusken_raider_bandolier_2.lua") includeFile("items/npc/tusken_raider_bandolier_3.lua") includeFile("items/npc/tusken_raider_belt.lua") includeFile("items/npc/tusken_raider_boots.lua") includeFile("items/npc/tusken_raider_gloves.lua") includeFile("items/npc/tusken_raider_helmet_1.lua") includeFile("items/npc/tusken_raider_helmet_2.lua") includeFile("items/npc/tusken_raider_robe_1.lua") includeFile("items/npc/tusken_raider_robe_2.lua") includeFile("items/npc/mokk_hide.lua") includeFile("items/npc/mokk_blood.lua") --painting sub-folder includeFile("items/painting/be_poster.lua") includeFile("items/painting/defensive_stance_poster.lua") includeFile("items/painting/freedom_painting.lua") includeFile("items/painting/painting_bw_stormtrooper.lua") includeFile("items/painting/painting_han_wanted.lua") includeFile("items/painting/painting_leia_wanted.lua") includeFile("items/painting/painting_luke_wanted.lua") includeFile("items/painting/painting_trandoshan_wanted.lua") includeFile("items/painting/painting_vader_victory.lua") includeFile("items/painting/party_poster.lua") includeFile("items/painting/RIS_diagram.lua") includeFile("items/painting/spitting_rawl_poster.lua") includeFile("items/painting/valley_view_painting.lua") --quest sub-folder includeFile("items/quest/camp_frequency_datapad.lua") includeFile("items/quest/camp_waypoint_datapad.lua") includeFile("items/quest/fs_tracking_device_assembly_bracket_01.lua") includeFile("items/quest/fs_tracking_device_assembly_bracket_02.lua") includeFile("items/quest/fs_tracking_device_assembly_bracket_03.lua") includeFile("items/quest/fs_tracking_device_case_01.lua") includeFile("items/quest/fs_tracking_device_case_02.lua") includeFile("items/quest/fs_tracking_device_case_03.lua") includeFile("items/quest/waypoint_datapad.lua") includeFile("items/quest/theater_datapad.lua") includeFile("items/quest/village_ardanium_ii.lua") includeFile("items/quest/village_endrine.lua") includeFile("items/quest/village_ostrine.lua") includeFile("items/quest/village_rudic.lua") includeFile("items/quest/village_wind_crystal.lua") includeFile("items/quest/village_medic_puzzle_ice_pendant.lua") --recycler sub-folder includeFile("items/recycler/agitator_motor_schematic.lua") includeFile("items/recycler/blue_wiring.lua") includeFile("items/recycler/cheap_copper_battery.lua") includeFile("items/recycler/chemical_recycler_schematic.lua") includeFile("items/recycler/creature_recycler_schematic.lua") includeFile("items/recycler/feed_tube.lua") includeFile("items/recycler/flora_recycler_schematic.lua") includeFile("items/recycler/heating_element.lua") includeFile("items/recycler/metal_recycler_schematic.lua") includeFile("items/recycler/ore_recycler_schematic.lua") includeFile("items/recycler/processor_attachment.lua") includeFile("items/recycler/pulverizer.lua") includeFile("items/recycler/red_wiring.lua") includeFile("items/recycler/small_motor.lua") includeFile("items/recycler/spinner_blade.lua") includeFile("items/recycler/tumble_blender_schematic.lua") --skill_buff sub-folder includeFile("items/skill_buff/skill_buff_carbine_accuracy.lua") includeFile("items/skill_buff/skill_buff_carbine_speed.lua") includeFile("items/skill_buff/skill_buff_heavy_weapon_accuracy.lua") includeFile("items/skill_buff/skill_buff_heavy_weapon_speed.lua") includeFile("items/skill_buff/skill_buff_mask_scent.lua") includeFile("items/skill_buff/skill_buff_melee_accuracy.lua") includeFile("items/skill_buff/skill_buff_melee_defense.lua") includeFile("items/skill_buff/skill_buff_ranged_accuracy.lua") includeFile("items/skill_buff/skill_buff_ranged_defense.lua") includeFile("items/skill_buff/skill_buff_onehandmelee_accuracy.lua") includeFile("items/skill_buff/skill_buff_onehandmelee_speed.lua") includeFile("items/skill_buff/skill_buff_pistol_accuracy.lua") includeFile("items/skill_buff/skill_buff_pistol_speed.lua") includeFile("items/skill_buff/skill_buff_polearm_accuracy.lua") includeFile("items/skill_buff/skill_buff_polearm_speed.lua") includeFile("items/skill_buff/skill_buff_rifle_accuracy.lua") includeFile("items/skill_buff/skill_buff_rifle_speed.lua") includeFile("items/skill_buff/skill_buff_thrown_accuracy.lua") includeFile("items/skill_buff/skill_buff_thrown_speed.lua") includeFile("items/skill_buff/skill_buff_twohandmelee_accuracy.lua") includeFile("items/skill_buff/skill_buff_twohandmelee_speed.lua") includeFile("items/skill_buff/skill_buff_unarmed_accuracy.lua") includeFile("items/skill_buff/skill_buff_unarmed_speed.lua") --task_loot sub-folder includeFile("items/task_loot/ancient_lightsaber.lua") includeFile("items/task_loot/ancient_lightsaber_two.lua") includeFile("items/task_loot/bank_codes_quest_bardo.lua") includeFile("items/task_loot/bantha_horns.lua") includeFile("items/task_loot/bioweapon_quest_kritus.lua") includeFile("items/task_loot/booto_lubble_thermal_detonator.lua") includeFile("items/task_loot/booto_lubble_rank_cylinder.lua") includeFile("items/task_loot/bren_kingal_atst_pilots_helmet.lua") includeFile("items/task_loot/bren_kingal_farandans_datadisk.lua") includeFile("items/task_loot/bren_kingal_shield_generator.lua") includeFile("items/task_loot/bren_kingal_stamina_medpack.lua") includeFile("items/task_loot/briefcase_quest_jusani.lua") includeFile("items/task_loot/didina_lippinoss_correspondence.lua") includeFile("items/task_loot/draya_korbinari_art_holo.lua") includeFile("items/task_loot/electronic_key.lua") includeFile("items/task_loot/empty_cage.lua") includeFile("items/task_loot/eng_prototype_quest_jusani.lua") includeFile("items/task_loot/garm_datadisc.lua") includeFile("items/task_loot/gins_darone_special_forces_vibroknuckler.lua") includeFile("items/task_loot/gins_darone_stranded_rebels_weapon.lua") includeFile("items/task_loot/glass_heirloom.lua") includeFile("items/task_loot/hyperdrive_part.lua") includeFile("items/task_loot/hyperdrive_part_quest_gravin.lua") includeFile("items/task_loot/hyperdrive_part_quest_megan.lua") includeFile("items/task_loot/imp_orders_quest_yith.lua") includeFile("items/task_loot/ind_petrified_avian_egg.lua") includeFile("items/task_loot/quest_bowl.lua") includeFile("items/task_loot/quest_briefcase.lua") includeFile("items/task_loot/quest_keepsakes.lua") includeFile("items/task_loot/quest_ledger.lua") includeFile("items/task_loot/ledger_quest_serjix.lua") includeFile("items/task_loot/lian_byrne_rebel_spy_report.lua") includeFile("items/task_loot/luthin_datadisc.lua") includeFile("items/task_loot/grizzled_dewback_hide.lua") includeFile("items/task_loot/haleen_snowline_evidence.lua") includeFile("items/task_loot/igbi_freemo_spice.lua") includeFile("items/task_loot/kaeline_ungasan_jabbas_enforcers.lua") includeFile("items/task_loot/medallion_black_sun.lua") includeFile("items/task_loot/medallion_dark_jedi.lua") includeFile("items/task_loot/melios_purl_q2.lua") includeFile("items/task_loot/mozo_bondog_bondogs_backpack.lua") includeFile("items/task_loot/nightsister_force_crystal.lua") includeFile("items/task_loot/nurla_slinthiss_datadisc.lua") includeFile("items/task_loot/padawan_braid.lua") includeFile("items/task_loot/quest_camera.lua") includeFile("items/task_loot/rakir_banai_contract.lua") includeFile("items/task_loot/rare_artifact.lua") includeFile("items/task_loot/singing_mountain_clan_force_crystal.lua") includeFile("items/task_loot/sith_altar.lua") includeFile("items/task_loot/spice_jar.lua") includeFile("items/task_loot/sports_award.lua") includeFile("items/task_loot/squill_carcass.lua") includeFile("items/task_loot/stella_deed.lua") includeFile("items/task_loot/thrackan_death_squad.lua") includeFile("items/task_loot/toxic_rations.lua") includeFile("items/task_loot/two_handed_sword_scythe_schematic.lua") includeFile("items/task_loot/vordin_sildor_datadisc.lua") includeFile("items/task_loot/wilhalm_skrim_q1_datadisc.lua") includeFile("items/task_loot/wilhalm_skrim_q2_datadisc.lua") includeFile("items/task_loot/womp_rat_hide.lua") includeFile("items/task_loot/xalox_guul_datadisc.lua") includeFile("items/task_loot/zakarisz_package.lua") --task_reward sub-folder includeFile("items/task_reward/blerx_tango_nalargon.lua") includeFile("items/task_reward/bren_kingal_bantha_steak_soup.lua") includeFile("items/task_reward/bren_kingal_eopie_cream_pie.lua") includeFile("items/task_reward/bren_kingal_tusken_bread.lua") includeFile("items/task_reward/bren_kingal_worrt_casserole.lua") includeFile("items/task_reward/hedon_istee_treasure_map.lua") includeFile("items/task_reward/huff_quest_borvos_money.lua") includeFile("items/task_reward/huff_quest_corsec_badge.lua") includeFile("items/task_reward/huff_quest_krayt_dragon_skull.lua") includeFile("items/task_reward/huff_quest_tusken_king_rifle.lua") includeFile("items/task_reward/ind_mystical_orb.lua") includeFile("items/task_reward/ind_republic_blaster.lua") includeFile("items/task_reward/kitster_banai_anakin_droid_brain.lua") includeFile("items/task_reward/kitster_banai_anakin_podrace_helmet.lua") includeFile("items/task_reward/lytus_family_artifact.lua") includeFile("items/task_reward/mining_suit_quest_jazeen.lua") includeFile("items/task_reward/no_drop_holocron_dark.lua") includeFile("items/task_reward/no_drop_holocron_light.lua") includeFile("items/task_reward/om_aynat_corellian_ale.lua") includeFile("items/task_reward/om_aynat_official_proclamation.lua") includeFile("items/task_reward/painting_endor_style_01.lua") includeFile("items/task_reward/phinea_shantee_six_sided_dice_set.lua") includeFile("items/task_reward/phinea_shantee_wine.lua") includeFile("items/task_reward/schematic_shellfish_harvester.lua") includeFile("items/task_reward/shield_generator_personal_imperial_test_schematic.lua") includeFile("items/task_reward/skull_bol.lua") includeFile("items/task_reward/treated_protective_coverall.lua") includeFile("items/task_reward/valarian_dagger.lua") includeFile("items/task_reward/zicx_bug_jar.lua") --themepark_loot sub-folder includeFile("items/themepark_loot/healing_salve_smc_vurlene.lua") includeFile("items/themepark_loot/sacred_tome_smc_aujante.lua") includeFile("items/themepark_loot/shoulder_pad_smc_vhaunda.lua") includeFile("items/themepark_loot/slave_collar_ns_geth.lua") includeFile("items/themepark_loot/heart_of_slave_ns_geth.lua") includeFile("items/themepark_loot/malkloc_heart_ns_kais.lua") includeFile("items/themepark_loot/gaping_spider_poison_sacs_ns_kais.lua") includeFile("items/themepark_loot/healing_salve_ns_diax.lua") includeFile("items/themepark_loot/big_creature_cage.lua") includeFile("items/themepark_loot/charal_commlink.lua") includeFile("items/themepark_loot/charal_ewok_spleen.lua") includeFile("items/themepark_loot/holocron_splinters.lua") includeFile("items/themepark_loot/king_terak_hyperdrive.lua") includeFile("items/themepark_loot/king_terak_staff.lua") includeFile("items/themepark_loot/petrified_avian_egg.lua") includeFile("items/themepark_loot/r2_motivator_unit.lua") includeFile("items/themepark_loot/raglith_pelt.lua") includeFile("items/themepark_loot/scholar_szingo_rifle.lua") includeFile("items/themepark_loot/themepark_loot_chicken_leg.lua") includeFile("items/themepark_loot/themepark_loot_code_cylinder.lua") includeFile("items/themepark_loot/themepark_loot_compound.lua") includeFile("items/themepark_loot/themepark_loot_datapad.lua") includeFile("items/themepark_loot/themepark_loot_design_documents.lua") includeFile("items/themepark_loot/themepark_loot_documents.lua") includeFile("items/themepark_loot/themepark_loot_fambaa_blood.lua") includeFile("items/themepark_loot/themepark_loot_holodisc.lua") includeFile("items/themepark_loot/themepark_loot_information.lua") includeFile("items/themepark_loot/themepark_loot_jabba_datapad.lua") includeFile("items/themepark_loot/themepark_loot_jabba_ledger.lua") includeFile("items/themepark_loot/themepark_loot_plans.lua") includeFile("items/themepark_loot/themepark_loot_rantok.lua") includeFile("items/themepark_loot/themepark_loot_rocket.lua") includeFile("items/themepark_loot/themepark_loot_shipping_manifest.lua") includeFile("items/themepark_loot/themepark_loot_transponder.lua") --themepark_reward sub-folder includeFile("items/themepark_reward/stim_d_smc_vurlene.lua") includeFile("items/themepark_reward/stim_c_smc_vurlene.lua") includeFile("items/themepark_reward/stim_b_smc_vurlene.lua") includeFile("items/themepark_reward/stim_a_smc_vurlene.lua") includeFile("items/themepark_reward/stim_b_ns_diax.lua") includeFile("items/themepark_reward/armor_marauder_bicep_l.lua") includeFile("items/themepark_reward/armor_marauder_bicep_r.lua") includeFile("items/themepark_reward/armor_marauder_boots.lua") includeFile("items/themepark_reward/armor_marauder_bracer_l.lua") includeFile("items/themepark_reward/armor_marauder_bracer_r.lua") includeFile("items/themepark_reward/armor_marauder_chest_plate.lua") includeFile("items/themepark_reward/armor_marauder_leggings.lua") includeFile("items/themepark_reward/armor_stormtrooper_chestplate.lua") includeFile("items/themepark_reward/armor_stormtrooper_helmet.lua") includeFile("items/themepark_reward/armor_stormtrooper_leggings.lua") includeFile("items/themepark_reward/atat_helmet.lua") includeFile("items/themepark_reward/atat_suit.lua") includeFile("items/themepark_reward/b_wing_pilot_survival_suit.lua") includeFile("items/themepark_reward/bile_soaked_rancor_tooth.lua") includeFile("items/themepark_reward/demolitionist_belt_schematic_quest.lua") includeFile("items/themepark_reward/droidsmith_schematic.lua") includeFile("items/themepark_reward/enhanced_carbine_schematic.lua") includeFile("items/themepark_reward/exotic_leotard_schematic_quest.lua") includeFile("items/themepark_reward/fwg5_quest_schematic.lua") includeFile("items/themepark_reward/gamorrean_battleaxe_quest.lua") includeFile("items/themepark_reward/grooved_two_handed_sword.lua") includeFile("items/themepark_reward/high_velocity_blaster_pistol_barrel.lua") includeFile("items/themepark_reward/imperial_medallion.lua") includeFile("items/themepark_reward/insulated_ubese_armor_helmet.lua") includeFile("items/themepark_reward/insulated_ubese_armor_jacket.lua") includeFile("items/themepark_reward/insulated_ubese_armor_pants.lua") includeFile("items/themepark_reward/jagged_vibroblade.lua") includeFile("items/themepark_reward/light_weight_vibro_unit.lua") includeFile("items/themepark_reward/lightweight_backpack_schematic.lua") includeFile("items/themepark_reward/mabari_armor_chest_plate_quest.lua") includeFile("items/themepark_reward/mabari_armor_helmet_quest.lua") includeFile("items/themepark_reward/mabari_armor_leggings_quest.lua") includeFile("items/themepark_reward/padded_tantel_armor_boots.lua") includeFile("items/themepark_reward/padded_tantel_armor_helmet.lua") includeFile("items/themepark_reward/padded_tantel_armor_jacket.lua") includeFile("items/themepark_reward/palowick_painting_quest_01.lua") includeFile("items/themepark_reward/projectile_pistol_barrel_quest.lua") includeFile("items/themepark_reward/projectile_rifle_barrel_quest.lua") includeFile("items/themepark_reward/rebel_banner.lua") includeFile("items/themepark_reward/rebel_signet_ring.lua") includeFile("items/themepark_reward/schematic_crafters_apron.lua") includeFile("items/themepark_reward/schematic_crafters_apron_02.lua") includeFile("items/themepark_reward/schematic_crafters_apron_03.lua") includeFile("items/themepark_reward/schematic_crafters_apron_04.lua") includeFile("items/themepark_reward/schematic_pistol_republic_blaster_quest.lua") includeFile("items/themepark_reward/schematic_spec_ops_field_agent_pack.lua") includeFile("items/themepark_reward/schematic_weaponsmiths_tool_set.lua") includeFile("items/themepark_reward/tie_helmet.lua") includeFile("items/themepark_reward/tie_suit.lua") includeFile("items/themepark_reward/tuned_weapon_scope_quest.lua") includeFile("items/themepark_reward/twilek_painting_lg_quest_01.lua") includeFile("items/themepark_reward/twilek_painting_lg_quest_02.lua") includeFile("items/themepark_reward/twilek_painting_lg_quest_03.lua") includeFile("items/themepark_reward/twilek_painting_lg_quest_04.lua") includeFile("items/themepark_reward/twilek_painting_quest_01.lua") includeFile("items/themepark_reward/twilek_painting_quest_02.lua") includeFile("items/themepark_reward/twilek_painting_quest_03.lua") includeFile("items/themepark_reward/twilek_painting_quest_04.lua") includeFile("items/themepark_reward/weapon_scope_quest.lua") includeFile("items/themepark_reward/weapon_stock_quest.lua") --weapon sub folder includeFile("items/weapon/axe_heavy_duty.lua") includeFile("items/weapon/axe_vibroaxe.lua") includeFile("items/weapon/baton_gaderiffi.lua") includeFile("items/weapon/baton_stun.lua") includeFile("items/weapon/carbine_cdef.lua") includeFile("items/weapon/carbine_dh17.lua") includeFile("items/weapon/carbine_dh17_snubnose.lua") includeFile("items/weapon/carbine_dxr6.lua") includeFile("items/weapon/carbine_e11.lua") includeFile("items/weapon/carbine_ee3.lua") includeFile("items/weapon/carbine_elite.lua") includeFile("items/weapon/carbine_laser.lua") includeFile("items/weapon/corsec_cdef_carbine.lua") includeFile("items/weapon/corsec_cdef_pistol.lua") includeFile("items/weapon/grenade_cryoban.lua") includeFile("items/weapon/grenade_fragmentation_light.lua") includeFile("items/weapon/grenade_fragmentation.lua") includeFile("items/weapon/grenade_glop.lua") includeFile("items/weapon/grenade_imperial_detonator.lua") includeFile("items/weapon/grenade_proton.lua") includeFile("items/weapon/grenade_thermal_detonator.lua") includeFile("items/weapon/heavy_acid_beam.lua") includeFile("items/weapon/heavy_lightning_beam.lua") includeFile("items/weapon/heavy_particle_beam.lua") includeFile("items/weapon/heavy_rocket_launcher.lua") includeFile("items/weapon/knife_dagger.lua") includeFile("items/weapon/knife_donkuwah.lua") includeFile("items/weapon/knife_janta.lua") includeFile("items/weapon/knife_stone.lua") includeFile("items/weapon/knife_survival.lua") includeFile("items/weapon/knife_vibroblade.lua") includeFile("items/weapon/melee_vibroknuckler.lua") includeFile("items/weapon/mine_anti_vehicle.lua") includeFile("items/weapon/mine_drx55.lua") includeFile("items/weapon/mine_xg.lua") includeFile("items/weapon/nightsister_controllerfp_lance.lua") includeFile("items/weapon/nyax_sword.lua") includeFile("items/weapon/one_handed_sword.lua") includeFile("items/weapon/one_handed_curved_sword.lua") includeFile("items/weapon/one_handed_ryyk_blade.lua") includeFile("items/weapon/pistol_cdef.lua") includeFile("items/weapon/pistol_d18.lua") includeFile("items/weapon/pistol_dh17.lua") includeFile("items/weapon/pistol_dl44.lua") includeFile("items/weapon/pistol_dl44_metal.lua") includeFile("items/weapon/pistol_dx2.lua") includeFile("items/weapon/pistol_fwg5.lua") includeFile("items/weapon/pistol_launcher.lua") includeFile("items/weapon/pistol_power5.lua") includeFile("items/weapon/pistol_republic_blaster.lua") includeFile("items/weapon/pistol_scatter.lua") includeFile("items/weapon/pistol_scout_trooper.lua") includeFile("items/weapon/pistol_sr_combat.lua") includeFile("items/weapon/pistol_striker.lua") includeFile("items/weapon/pistol_tangle.lua") includeFile("items/weapon/polearm_lance.lua") includeFile("items/weapon/polearm_lance_vibrolance.lua") includeFile("items/weapon/polearm_staff_janta.lua") includeFile("items/weapon/polearm_staff_metal.lua") includeFile("items/weapon/polearm_staff_wood.lua") includeFile("items/weapon/polearm_staff_wood_reinforced.lua") includeFile("items/weapon/polearm_vibro_axe.lua") includeFile("items/weapon/rifle_acid_beam.lua") includeFile("items/weapon/rifle_bowcaster.lua") includeFile("items/weapon/rifle_cdef.lua") includeFile("items/weapon/rifle_dlt20.lua") includeFile("items/weapon/rifle_dlt20a.lua") includeFile("items/weapon/rifle_e11.lua") includeFile("items/weapon/rifle_ewok_crossbow.lua") includeFile("items/weapon/rifle_flame_thrower.lua") includeFile("items/weapon/rifle_jawa_ion.lua") includeFile("items/weapon/rifle_laser.lua") includeFile("items/weapon/rifle_lightning.lua") includeFile("items/weapon/rifle_sg82.lua") includeFile("items/weapon/rifle_spraystick.lua") includeFile("items/weapon/rifle_t21.lua") includeFile("items/weapon/rifle_tusken.lua") includeFile("items/weapon/two_handed_sword_battleaxe.lua") includeFile("items/weapon/two_handed_sword_cleaver.lua") includeFile("items/weapon/two_handed_sword_katana.lua") includeFile("items/weapon/two_handed_sword_maul.lua") --wearables sub folder includeFile("items/wearables/apron/apron_chef_s01.lua") includeFile("items/wearables/bandolier/bandolier_s02.lua") includeFile("items/wearables/bandolier/bandolier_s03.lua") includeFile("items/wearables/bandolier/bandolier_s04.lua") includeFile("items/wearables/bandolier/bandolier_s05.lua") includeFile("items/wearables/bandolier/bandolier_s06.lua") includeFile("items/wearables/bandolier/bandolier_s07.lua") includeFile("items/wearables/bandolier/bandolier_s08.lua") includeFile("items/wearables/belt/belt_s01.lua") includeFile("items/wearables/belt/belt_s02.lua") includeFile("items/wearables/belt/belt_s03.lua") includeFile("items/wearables/belt/belt_s04.lua") includeFile("items/wearables/belt/belt_s05.lua") includeFile("items/wearables/belt/belt_s07.lua") includeFile("items/wearables/belt/belt_s09.lua") includeFile("items/wearables/belt/belt_s11.lua") includeFile("items/wearables/belt/belt_s12.lua") includeFile("items/wearables/belt/belt_s13.lua") includeFile("items/wearables/belt/belt_s14.lua") includeFile("items/wearables/belt/belt_s15.lua") includeFile("items/wearables/belt/belt_s16.lua") includeFile("items/wearables/belt/belt_s17.lua") includeFile("items/wearables/belt/belt_s18.lua") includeFile("items/wearables/belt/belt_s19.lua") includeFile("items/wearables/belt/belt_s20.lua") includeFile("items/wearables/bikini/bikini_leggings_s01.lua") includeFile("items/wearables/bikini/bikini_s01.lua") includeFile("items/wearables/bikini/bikini_s02.lua") includeFile("items/wearables/bikini/bikini_s03.lua") includeFile("items/wearables/bikini/bikini_s04.lua") includeFile("items/wearables/bodysuit/bodysuit_s01.lua") includeFile("items/wearables/bodysuit/bodysuit_s06.lua") includeFile("items/wearables/bodysuit/bodysuit_s08.lua") includeFile("items/wearables/bodysuit/bodysuit_s12.lua") includeFile("items/wearables/bodysuit/bodysuit_s13.lua") includeFile("items/wearables/bodysuit/bodysuit_s14.lua") includeFile("items/wearables/bodysuit/bodysuit_s15.lua") includeFile("items/wearables/bodysuit/bodysuit_s16.lua") includeFile("items/wearables/boots/boots_s03.lua") includeFile("items/wearables/boots/boots_s04.lua") includeFile("items/wearables/boots/boots_s05.lua") includeFile("items/wearables/boots/boots_s12.lua") includeFile("items/wearables/boots/boots_s14.lua") includeFile("items/wearables/boots/boots_s15.lua") includeFile("items/wearables/boots/boots_s19.lua") includeFile("items/wearables/boots/boots_s21.lua") includeFile("items/wearables/boots/boots_s34.lua") includeFile("items/wearables/bracelet/bracelet_l.lua") includeFile("items/wearables/bracelet/bracelet_r.lua") includeFile("items/wearables/bracelet/bracelet_s02_l.lua") includeFile("items/wearables/bracelet/bracelet_s02_r.lua") includeFile("items/wearables/bracelet/bracelet_s03_l.lua") includeFile("items/wearables/bracelet/bracelet_s03_r.lua") includeFile("items/wearables/bracelet/bracelet_s04_l.lua") includeFile("items/wearables/bracelet/bracelet_s04_r.lua") includeFile("items/wearables/bracelet/bracelet_s05_l.lua") includeFile("items/wearables/bracelet/bracelet_s05_r.lua") includeFile("items/wearables/bracelet/bracelet_s06_l.lua") includeFile("items/wearables/bracelet/bracelet_s06_r.lua") includeFile("items/wearables/bustier/bustier_s01.lua") includeFile("items/wearables/bustier/bustier_s02.lua") includeFile("items/wearables/bustier/bustier_s03.lua") includeFile("items/wearables/dress/dress_s05.lua") includeFile("items/wearables/dress/dress_s06.lua") includeFile("items/wearables/dress/dress_s07.lua") includeFile("items/wearables/dress/dress_s09.lua") includeFile("items/wearables/dress/dress_s10.lua") includeFile("items/wearables/dress/dress_s11.lua") includeFile("items/wearables/dress/dress_s12.lua") includeFile("items/wearables/dress/dress_s13.lua") includeFile("items/wearables/dress/dress_s14.lua") includeFile("items/wearables/dress/dress_s15.lua") includeFile("items/wearables/dress/dress_s16.lua") includeFile("items/wearables/dress/dress_s18.lua") includeFile("items/wearables/dress/dress_s19.lua") includeFile("items/wearables/dress/dress_s23.lua") includeFile("items/wearables/dress/dress_s26.lua") includeFile("items/wearables/dress/dress_s27.lua") includeFile("items/wearables/dress/dress_s29.lua") includeFile("items/wearables/dress/dress_s30.lua") includeFile("items/wearables/dress/dress_s31.lua") includeFile("items/wearables/dress/dress_s32.lua") includeFile("items/wearables/dress/dress_s33.lua") includeFile("items/wearables/dress/dress_s34.lua") includeFile("items/wearables/dress/dress_s35.lua") includeFile("items/wearables/gloves/gloves_s02.lua") includeFile("items/wearables/gloves/gloves_s03.lua") includeFile("items/wearables/gloves/gloves_s06.lua") includeFile("items/wearables/gloves/gloves_s07.lua") includeFile("items/wearables/gloves/gloves_s10.lua") includeFile("items/wearables/gloves/gloves_s11.lua") includeFile("items/wearables/gloves/gloves_s12.lua") includeFile("items/wearables/gloves/gloves_s13.lua") includeFile("items/wearables/gloves/gloves_s14.lua") includeFile("items/wearables/hat/hat_chef_s01.lua") includeFile("items/wearables/hat/hat_chef_s02.lua") includeFile("items/wearables/hat/hat_s02.lua") includeFile("items/wearables/hat/hat_s04.lua") includeFile("items/wearables/hat/hat_s10.lua") includeFile("items/wearables/hat/hat_s12.lua") includeFile("items/wearables/hat/hat_s13.lua") includeFile("items/wearables/hat/hat_s14.lua") includeFile("items/wearables/hat/hat_twilek_s01.lua") includeFile("items/wearables/hat/hat_twilek_s02.lua") includeFile("items/wearables/hat/hat_twilek_s03.lua") includeFile("items/wearables/hat/hat_twilek_s04.lua") includeFile("items/wearables/hat/hat_twilek_s05.lua") includeFile("items/wearables/ithorian/apron_chef_jacket_s01_ith.lua") includeFile("items/wearables/ithorian/hat_chef_s01_ith.lua") includeFile("items/wearables/ithorian/hat_chef_s02_ith.lua") includeFile("items/wearables/ithorian/ith_bodysuit_s01.lua") includeFile("items/wearables/ithorian/ith_bodysuit_s02.lua") includeFile("items/wearables/ithorian/ith_bodysuit_s03.lua") includeFile("items/wearables/ithorian/ith_bodysuit_s04.lua") includeFile("items/wearables/ithorian/ith_bodysuit_s05.lua") includeFile("items/wearables/ithorian/ith_bodysuit_s06.lua") includeFile("items/wearables/ithorian/ith_dress_s03.lua") includeFile("items/wearables/ithorian/ith_dress_short_s01.lua") includeFile("items/wearables/ithorian/ith_gloves_s02.lua") includeFile("items/wearables/ithorian/ith_hat_s01.lua") includeFile("items/wearables/ithorian/ith_hat_s02.lua") includeFile("items/wearables/ithorian/ith_hat_s03.lua") includeFile("items/wearables/ithorian/ith_hat_s04.lua") includeFile("items/wearables/ithorian/ith_jacket_s01.lua") includeFile("items/wearables/ithorian/ith_jacket_s02.lua") includeFile("items/wearables/ithorian/ith_jacket_s03.lua") includeFile("items/wearables/ithorian/ith_jacket_s04.lua") includeFile("items/wearables/ithorian/ith_jacket_s05.lua") includeFile("items/wearables/ithorian/ith_jacket_s06.lua") includeFile("items/wearables/ithorian/ith_jacket_s07.lua") includeFile("items/wearables/ithorian/ith_jacket_s08.lua") includeFile("items/wearables/ithorian/ith_jacket_s09.lua") includeFile("items/wearables/ithorian/ith_jacket_s10.lua") includeFile("items/wearables/ithorian/ith_jacket_s11.lua") includeFile("items/wearables/ithorian/ith_jacket_s12.lua") includeFile("items/wearables/ithorian/ith_jacket_s13.lua") includeFile("items/wearables/ithorian/ith_jacket_s14.lua") includeFile("items/wearables/ithorian/ith_jacket_s15.lua") includeFile("items/wearables/ithorian/ith_necklace_s01.lua") includeFile("items/wearables/ithorian/ith_necklace_s02.lua") includeFile("items/wearables/ithorian/ith_necklace_s03.lua") includeFile("items/wearables/ithorian/ith_necklace_s04.lua") includeFile("items/wearables/ithorian/ith_necklace_s05.lua") includeFile("items/wearables/ithorian/ith_necklace_s06.lua") includeFile("items/wearables/ithorian/ith_necklace_s07.lua") includeFile("items/wearables/ithorian/ith_necklace_s08.lua") includeFile("items/wearables/ithorian/ith_necklace_s09.lua") includeFile("items/wearables/ithorian/ith_necklace_s10.lua") includeFile("items/wearables/ithorian/ith_necklace_s11.lua") includeFile("items/wearables/ithorian/ith_necklace_s12.lua") includeFile("items/wearables/ithorian/ith_pants_s01.lua") includeFile("items/wearables/ithorian/ith_pants_s02.lua") includeFile("items/wearables/ithorian/ith_pants_s03.lua") includeFile("items/wearables/ithorian/ith_pants_s04.lua") includeFile("items/wearables/ithorian/ith_pants_s05.lua") includeFile("items/wearables/ithorian/ith_pants_s06.lua") includeFile("items/wearables/ithorian/ith_pants_s07.lua") includeFile("items/wearables/ithorian/ith_pants_s08.lua") includeFile("items/wearables/ithorian/ith_pants_s09.lua") includeFile("items/wearables/ithorian/ith_pants_s10.lua") includeFile("items/wearables/ithorian/ith_pants_s11.lua") includeFile("items/wearables/ithorian/ith_pants_s12.lua") includeFile("items/wearables/ithorian/ith_pants_s13.lua") includeFile("items/wearables/ithorian/ith_pants_s14.lua") includeFile("items/wearables/ithorian/ith_pants_s15.lua") includeFile("items/wearables/ithorian/ith_pants_s16.lua") includeFile("items/wearables/ithorian/ith_pants_s17.lua") includeFile("items/wearables/ithorian/ith_pants_s18.lua") includeFile("items/wearables/ithorian/ith_pants_s19.lua") includeFile("items/wearables/ithorian/ith_pants_s20.lua") includeFile("items/wearables/ithorian/ith_pants_s21.lua") includeFile("items/wearables/ithorian/ith_robe_s02.lua") includeFile("items/wearables/ithorian/ith_robe_s03.lua") includeFile("items/wearables/ithorian/ith_shirt_s01.lua") includeFile("items/wearables/ithorian/ith_shirt_s02.lua") includeFile("items/wearables/ithorian/ith_shirt_s03.lua") includeFile("items/wearables/ithorian/ith_shirt_s04.lua") includeFile("items/wearables/ithorian/ith_shirt_s05.lua") includeFile("items/wearables/ithorian/ith_shirt_s06.lua") includeFile("items/wearables/ithorian/ith_shirt_s07.lua") includeFile("items/wearables/ithorian/ith_shirt_s08.lua") includeFile("items/wearables/ithorian/ith_shirt_s09.lua") includeFile("items/wearables/ithorian/ith_shirt_s10.lua") includeFile("items/wearables/ithorian/ith_shirt_s11.lua") includeFile("items/wearables/ithorian/ith_shirt_s12.lua") includeFile("items/wearables/ithorian/ith_shirt_s13.lua") includeFile("items/wearables/ithorian/ith_shirt_s14.lua") includeFile("items/wearables/ithorian/ith_skirt_s01.lua") includeFile("items/wearables/ithorian/ith_skirt_s02.lua") includeFile("items/wearables/ithorian/ith_skirt_s03.lua") includeFile("items/wearables/ithorian/ith_vest_s01.lua") includeFile("items/wearables/jacket/jacket_s02.lua") includeFile("items/wearables/jacket/jacket_s03.lua") includeFile("items/wearables/jacket/jacket_s05.lua") includeFile("items/wearables/jacket/jacket_s06.lua") includeFile("items/wearables/jacket/jacket_s07.lua") includeFile("items/wearables/jacket/jacket_s08.lua") includeFile("items/wearables/jacket/jacket_s10.lua") includeFile("items/wearables/jacket/jacket_s11.lua") includeFile("items/wearables/jacket/jacket_s12.lua") includeFile("items/wearables/jacket/jacket_s13.lua") includeFile("items/wearables/jacket/jacket_s14.lua") includeFile("items/wearables/jacket/jacket_s15.lua") includeFile("items/wearables/jacket/jacket_s16.lua") includeFile("items/wearables/jacket/jacket_s17.lua") includeFile("items/wearables/jacket/jacket_s18.lua") includeFile("items/wearables/jacket/jacket_s19.lua") includeFile("items/wearables/jacket/jacket_s21.lua") includeFile("items/wearables/jacket/jacket_s22.lua") includeFile("items/wearables/jacket/jacket_s24.lua") includeFile("items/wearables/jacket/jacket_s25.lua") includeFile("items/wearables/jacket/jacket_s26.lua") includeFile("items/wearables/jacket/jacket_s35.lua") includeFile("items/wearables/jacket/jacket_s36.lua") includeFile("items/wearables/necklace/necklace_s01.lua") includeFile("items/wearables/necklace/necklace_s02.lua") includeFile("items/wearables/necklace/necklace_s03.lua") includeFile("items/wearables/necklace/necklace_s04.lua") includeFile("items/wearables/necklace/necklace_s05.lua") includeFile("items/wearables/necklace/necklace_s06.lua") includeFile("items/wearables/necklace/necklace_s07.lua") includeFile("items/wearables/necklace/necklace_s08.lua") includeFile("items/wearables/necklace/necklace_s09.lua") includeFile("items/wearables/necklace/necklace_s10.lua") includeFile("items/wearables/necklace/necklace_s11.lua") includeFile("items/wearables/necklace/necklace_s12.lua") includeFile("items/wearables/pants/pants_s01.lua") includeFile("items/wearables/pants/pants_s02.lua") includeFile("items/wearables/pants/pants_s04.lua") includeFile("items/wearables/pants/pants_s05.lua") includeFile("items/wearables/pants/pants_s06.lua") includeFile("items/wearables/pants/pants_s07.lua") includeFile("items/wearables/pants/pants_s08.lua") includeFile("items/wearables/pants/pants_s09.lua") includeFile("items/wearables/pants/pants_s10.lua") includeFile("items/wearables/pants/pants_s11.lua") includeFile("items/wearables/pants/pants_s12.lua") includeFile("items/wearables/pants/pants_s13.lua") includeFile("items/wearables/pants/pants_s14.lua") includeFile("items/wearables/pants/pants_s15.lua") includeFile("items/wearables/pants/pants_s17.lua") includeFile("items/wearables/pants/pants_s18.lua") includeFile("items/wearables/pants/pants_s21.lua") includeFile("items/wearables/pants/pants_s22.lua") includeFile("items/wearables/pants/pants_s24.lua") includeFile("items/wearables/pants/pants_s25.lua") includeFile("items/wearables/pants/pants_s26.lua") includeFile("items/wearables/pants/pants_s27.lua") includeFile("items/wearables/pants/pants_s28.lua") includeFile("items/wearables/pants/pants_s29.lua") includeFile("items/wearables/pants/pants_s30.lua") includeFile("items/wearables/pants/pants_s31.lua") includeFile("items/wearables/pants/pants_s32.lua") includeFile("items/wearables/pants/pants_s33.lua") includeFile("items/wearables/ring/ring_s01.lua") includeFile("items/wearables/ring/ring_s02.lua") includeFile("items/wearables/robe/robe_s01.lua") includeFile("items/wearables/robe/robe_s04.lua") includeFile("items/wearables/robe/robe_s05.lua") includeFile("items/wearables/robe/robe_s05_h1.lua") includeFile("items/wearables/robe/robe_s12.lua") includeFile("items/wearables/robe/robe_s18.lua") includeFile("items/wearables/robe/robe_s27.lua") includeFile("items/wearables/shirt/shirt_s03.lua") includeFile("items/wearables/shirt/shirt_s04.lua") includeFile("items/wearables/shirt/shirt_s05.lua") includeFile("items/wearables/shirt/shirt_s07.lua") includeFile("items/wearables/shirt/shirt_s08.lua") includeFile("items/wearables/shirt/shirt_s09.lua") includeFile("items/wearables/shirt/shirt_s10.lua") includeFile("items/wearables/shirt/shirt_s11.lua") includeFile("items/wearables/shirt/shirt_s12.lua") includeFile("items/wearables/shirt/shirt_s13.lua") includeFile("items/wearables/shirt/shirt_s14.lua") includeFile("items/wearables/shirt/shirt_s15.lua") includeFile("items/wearables/shirt/shirt_s16.lua") includeFile("items/wearables/shirt/shirt_s24.lua") includeFile("items/wearables/shirt/shirt_s26.lua") includeFile("items/wearables/shirt/shirt_s27.lua") includeFile("items/wearables/shirt/shirt_s28.lua") includeFile("items/wearables/shirt/shirt_s30.lua") includeFile("items/wearables/shirt/shirt_s32.lua") includeFile("items/wearables/shirt/shirt_s34.lua") includeFile("items/wearables/shirt/shirt_s38.lua") includeFile("items/wearables/shirt/shirt_s42.lua") includeFile("items/wearables/shoes/shoes_s01.lua") includeFile("items/wearables/shoes/shoes_s02.lua") includeFile("items/wearables/shoes/shoes_s03.lua") includeFile("items/wearables/shoes/shoes_s07.lua") includeFile("items/wearables/shoes/shoes_s08.lua") includeFile("items/wearables/shoes/shoes_s09.lua") includeFile("items/wearables/skirt/skirt_s03.lua") includeFile("items/wearables/skirt/skirt_s04.lua") includeFile("items/wearables/skirt/skirt_s05.lua") includeFile("items/wearables/skirt/skirt_s06.lua") includeFile("items/wearables/skirt/skirt_s07.lua") includeFile("items/wearables/skirt/skirt_s09.lua") includeFile("items/wearables/skirt/skirt_s10.lua") includeFile("items/wearables/skirt/skirt_s11.lua") includeFile("items/wearables/skirt/skirt_s12.lua") includeFile("items/wearables/skirt/skirt_s13.lua") includeFile("items/wearables/skirt/skirt_s14.lua") includeFile("items/wearables/vest/vest_s01.lua") includeFile("items/wearables/vest/vest_s02.lua") includeFile("items/wearables/vest/vest_s03.lua") includeFile("items/wearables/vest/vest_s04.lua") includeFile("items/wearables/vest/vest_s05.lua") includeFile("items/wearables/vest/vest_s06.lua") includeFile("items/wearables/vest/vest_s09.lua") includeFile("items/wearables/vest/vest_s10.lua") includeFile("items/wearables/vest/vest_s11.lua") includeFile("items/wearables/vest/vest_s15.lua") includeFile("items/wearables/wookiee/wke_gloves_s01.lua") includeFile("items/wearables/wookiee/wke_gloves_s02.lua") includeFile("items/wearables/wookiee/wke_gloves_s03.lua") includeFile("items/wearables/wookiee/wke_gloves_s04.lua") includeFile("items/wearables/wookiee/wke_hat_s01.lua") includeFile("items/wearables/wookiee/wke_hood_s01.lua") includeFile("items/wearables/wookiee/wke_hood_s02.lua") includeFile("items/wearables/wookiee/wke_hood_s03.lua") includeFile("items/wearables/wookiee/wke_shirt_s01.lua") includeFile("items/wearables/wookiee/wke_shirt_s02.lua") includeFile("items/wearables/wookiee/wke_shirt_s03.lua") includeFile("items/wearables/wookiee/wke_shirt_s04.lua") includeFile("items/wearables/wookiee/wke_shoulder_pad_s01.lua") includeFile("items/wearables/wookiee/wke_shoulder_pad_s02.lua") includeFile("items/wearables/wookiee/wke_skirt_s01.lua") includeFile("items/wearables/wookiee/wke_skirt_s02.lua") includeFile("items/wearables/wookiee/wke_skirt_s03.lua") includeFile("items/wearables/wookiee/wke_skirt_s04.lua") --Collections Tier 1, Tier 2, Tier 3 crate loot box's includeFile("items/collection/collectiontierone.lua") includeFile("items/collection/collectiontiertwo.lua") includeFile("items/collection/collectiontierthree.lua") includeFile("items/collection/collectiondiamond.lua") includeFile("items/collection/collectionheroic.lua") includeFile("items/collection/rareloot1.lua") includeFile("items/collection/rareloot2.lua") includeFile("items/collection/rareloot3.lua") includeFile("items/collection/contraband.lua") includeFile("items/collection/force_bread.lua") includeFile("items/collection/resource_crate.lua") includeFile("items/collection/resource_deed.lua") includeFile("items/collection/darkfrs.lua") includeFile("items/collection/lightfrs.lua") --Halloween includeFile("items/halloween/halloweenitems.lua") includeFile("items/halloween/halloweenitems1.lua") includeFile("items/halloween/halloweenitems2.lua") includeFile("items/halloween/halloweenitems3.lua") includeFile("items/halloween/halloweenitems4.lua") includeFile("items/halloween/halloweenitems5.lua") includeFile("items/halloween/halloweenitems6.lua") includeFile("items/halloween/halloweenitems7.lua") includeFile("items/halloween/halloweenitems8.lua") includeFile("items/halloween/halloweenitems9.lua") includeFile("items/halloween/halloweenitems10.lua") includeFile("items/halloween/halloweenitems11.lua") includeFile("items/halloween/halloweenitems12.lua") includeFile("items/halloween/halloweenitems13.lua") includeFile("items/halloween/halloweenitems14.lua") includeFile("items/halloween/halloweenitems15.lua") includeFile("items/halloween/halloweenitems16.lua") --Color crystals includeFile("items/force_crystal_mauls_vengence.lua") includeFile("items/force_crystal_qui_gons_devotion.lua") includeFile("items/force_crystal_baass_wisdom.lua") includeFile("items/force_crystal_banes_heart.lua") includeFile("items/force_crystal_bnars_sacrifice.lua") includeFile("items/force_crystal_bondaras_folly.lua") includeFile("items/force_crystal_dawn_of_dagobah.lua") includeFile("items/force_crystal_gallias_intuition.lua") includeFile("items/force_crystal_horns_future.lua") includeFile("items/force_crystal_kenobis_legacy.lua") includeFile("items/force_crystal_kits_ferocity.lua") includeFile("items/force_crystal_kuns_blood.lua") includeFile("items/force_crystal_mundis_response.lua") includeFile("items/force_crystal_prowess_of_plo_koon.lua") includeFile("items/force_crystal_quintessence_of_the_force.lua") includeFile("items/force_crystal_strength_of_luminaria.lua") includeFile("items/force_crystal_sunriders_destiny.lua") includeFile("items/force_crystal_ulics_redemption.lua") includeFile("items/force_crystal_windus_guile.lua") --Nightsister wearables includeFile("items/nightsister01.lua") includeFile("items/nightsister02.lua") includeFile("items/nightsister03.lua") includeFile("items/nightsister04.lua") includeFile("items/nightsister05.lua") includeFile("items/nightsister06.lua") --World boss token includeFile("items/bonepile.lua") --Bh saber loot when Deathblowing a Player jedi. Trophy no stats includeFile("items/saber28.lua") --Christmas Present Gift includeFile("items/flurry_presents.lua") --Christmas Coal includeFile("items/flurry_coals.lua") --Faction /point /loot includeFile("items/imppointsitem.lua") includeFile("items/rebpointsitem.lua") --World Boss Crate includeFile("items/world.lua") --Clease Dot Pack includeFile("items/dot_cleanse.lua") --Event Player Crate includeFile("items/eventplayer.lua") --Test padawan pouch includeFile("items/schematic_padawan_pouch.lua") --Normal Vehicle Deeds includeFile("items/vehicle/vehicle1.lua") includeFile("items/vehicle/vehicle2.lua") includeFile("items/vehicle/vehicle3.lua") includeFile("items/vehicle/vehicle4.lua") includeFile("items/vehicle/vehicle5.lua") includeFile("items/vehicle/vehicle6.lua") includeFile("items/vehicle/vehicle7.lua") includeFile("items/vehicle/vehicle8.lua") includeFile("items/vehicle/vehicle9.lua") includeFile("items/vehicle/vehicle10.lua") includeFile("items/vehicle/vehicle11.lua") includeFile("items/vehicle/vehicle12.lua") includeFile("items/vehicle/vehicle13.lua") includeFile("items/vehicle/vehicle14.lua") includeFile("items/vehicle/vehicle15.lua") includeFile("items/vehicle/vehicle16.lua") includeFile("items/vehicle/vehicle17.lua") includeFile("items/vehicle/vehicle18.lua") includeFile("items/vehicle/vehicle19.lua") includeFile("items/vehicle/vehicle20.lua") --Rare Vehicle Deeds includeFile("items/vehicle/rarevehicle1.lua") includeFile("items/vehicle/rarevehicle2.lua") includeFile("items/vehicle/rarevehicle3.lua") includeFile("items/vehicle/rarevehicle4.lua") includeFile("items/vehicle/rarevehicle5.lua") includeFile("items/vehicle/rarevehicle6.lua") includeFile("items/vehicle/rarevehicle7.lua") includeFile("items/vehicle/rarevehicle8.lua") includeFile("items/vehicle/rarevehicle9.lua") includeFile("items/vehicle/rarevehicle10.lua") includeFile("items/vehicle/rarevehicle11.lua") includeFile("items/vehicle/rarevehicle12.lua") includeFile("items/vehicle/rarevehicle13.lua") includeFile("items/vehicle/rarevehicle14.lua") includeFile("items/vehicle/rarevehicle15.lua") includeFile("items/vehicle/rarevehicle16.lua") --CU / NGE Weapons includeFile("items/ngeweapons/nge1.lua") includeFile("items/ngeweapons/nge2.lua") includeFile("items/ngeweapons/nge3.lua") includeFile("items/ngeweapons/nge4.lua") includeFile("items/ngeweapons/nge5.lua") includeFile("items/ngeweapons/nge6.lua") includeFile("items/ngeweapons/nge7.lua") includeFile("items/ngeweapons/nge8.lua") includeFile("items/ngeweapons/nge9.lua") includeFile("items/ngeweapons/nge10.lua") includeFile("items/ngeweapons/nge11.lua") includeFile("items/ngeweapons/nge12.lua") includeFile("items/ngeweapons/nge13.lua") includeFile("items/ngeweapons/nge14.lua") includeFile("items/ngeweapons/nge15.lua") includeFile("items/ngeweapons/nge16.lua") includeFile("items/ngeweapons/nge17.lua") includeFile("items/ngeweapons/nge18.lua") includeFile("items/ngeweapons/nge19.lua") includeFile("items/ngeweapons/nge20.lua") includeFile("items/ngeweapons/nge21.lua") includeFile("items/ngeweapons/nge22.lua") includeFile("items/ngeweapons/nge23.lua") includeFile("items/ngeweapons/nge24.lua") includeFile("items/ngeweapons/nge25.lua") includeFile("items/ngeweapons/nge26.lua") includeFile("items/ngeweapons/nge27.lua") includeFile("items/ngeweapons/nge28.lua") includeFile("items/ngeweapons/nge29.lua") includeFile("items/ngeweapons/nge30.lua") includeFile("items/ngeweapons/nge31.lua") includeFile("items/ngeweapons/nge32.lua") includeFile("items/ngeweapons/nge33.lua") includeFile("items/ngeweapons/nge34.lua") includeFile("items/ngeweapons/nge35.lua") includeFile("items/ngeweapons/nge36.lua") includeFile("items/ngeweapons/nge37.lua") includeFile("items/ngeweapons/nge38.lua") includeFile("items/ngeweapons/nge39.lua") includeFile("items/ngeweapons/nge40.lua") includeFile("items/ngeweapons/nge41.lua") includeFile("items/ngeweapons/nge42.lua") includeFile("items/ngeweapons/nge43.lua") includeFile("items/ngeweapons/nge44.lua") includeFile("items/ngeweapons/nge45.lua") includeFile("items/ngeweapons/nge46.lua") includeFile("items/ngeweapons/nge47.lua") includeFile("items/ngeweapons/nge48.lua") includeFile("items/ngeweapons/nge49.lua") includeFile("items/ngeweapons/nge50.lua") includeFile("items/ngeweapons/nge51.lua") includeFile("items/ngeweapons/nge52.lua") includeFile("items/ngeweapons/nge53.lua") includeFile("items/ngeweapons/nge54.lua") includeFile("items/ngeweapons/nge55.lua") includeFile("items/ngeweapons/nge56.lua") includeFile("items/ngeweapons/nge57.lua") includeFile("items/ngeweapons/nge58.lua") includeFile("items/ngeweapons/nge59.lua") includeFile("items/ngeweapons/nge60.lua") includeFile("items/ngeweapons/nge61.lua") includeFile("items/ngeweapons/nge62.lua") includeFile("items/ngeweapons/nge63.lua") includeFile("items/ngeweapons/nge64.lua") includeFile("items/ngeweapons/nge65.lua") includeFile("items/ngeweapons/nge66.lua") includeFile("items/ngeweapons/nge67.lua") includeFile("items/ngeweapons/nge68.lua") includeFile("items/ngeweapons/nge69.lua") includeFile("items/ngeweapons/nge70.lua") includeFile("items/ngeweapons/nge71.lua") includeFile("items/ngeweapons/nge72.lua") includeFile("items/ngeweapons/nge73.lua") includeFile("items/ngeweapons/nge74.lua") includeFile("items/ngeweapons/nge75.lua") includeFile("items/ngeweapons/nge76.lua") includeFile("items/ngeweapons/nge77.lua") includeFile("items/ngeweapons/nge78.lua") includeFile("items/ngeweapons/nge79.lua") includeFile("items/ngeweapons/nge80.lua") includeFile("items/ngeweapons/nge81.lua") includeFile("items/ngeweapons/nge82.lua") includeFile("items/ngeweapons/nge83.lua") includeFile("items/ngeweapons/nge84.lua") includeFile("items/ngeweapons/nge85.lua") includeFile("items/ngeweapons/nge86.lua") includeFile("items/ngeweapons/nge87.lua") includeFile("items/ngeweapons/nge88.lua") includeFile("items/ngeweapons/nge89.lua") includeFile("items/ngeweapons/nge90.lua") includeFile("items/ngeweapons/nge91.lua") includeFile("items/ngeweapons/nge92.lua") includeFile("items/ngeweapons/nge93.lua") includeFile("items/ngeweapons/nge94.lua") includeFile("items/ngeweapons/nge95.lua") includeFile("items/ngeweapons/nge96.lua") includeFile("items/ngeweapons/nge97.lua") includeFile("items/ngeweapons/nge98.lua") includeFile("items/ngeweapons/nge99.lua") includeFile("items/ngeweapons/nge100.lua") includeFile("items/ngeweapons/nge101.lua") includeFile("items/ngeweapons/nge102.lua") includeFile("items/ngeweapons/nge103.lua") includeFile("items/ngeweapons/nge104.lua") includeFile("items/ngeweapons/nge105.lua") includeFile("items/ngeweapons/nge106.lua") includeFile("items/ngeweapons/nge107.lua") includeFile("items/ngeweapons/nge108.lua") includeFile("items/ngeweapons/nge109.lua") includeFile("items/ngeweapons/nge110.lua") includeFile("items/ngeweapons/nge111.lua") includeFile("items/ngeweapons/nge112.lua") includeFile("items/ngeweapons/nge113.lua") includeFile("items/ngeweapons/nge114.lua") includeFile("items/ngeweapons/nge115.lua") includeFile("items/ngeweapons/nge116.lua") includeFile("items/ngeweapons/nge117.lua") includeFile("items/ngeweapons/nge118.lua") includeFile("items/ngeweapons/nge119.lua") includeFile("items/ngeweapons/nge120.lua") includeFile("items/ngeweapons/nge121.lua") includeFile("items/ngeweapons/nge122.lua") includeFile("items/ngeweapons/nge123.lua") includeFile("items/ngeweapons/nge124.lua") includeFile("items/ngeweapons/nge125.lua") includeFile("items/ngeweapons/nge126.lua") includeFile("items/ngeweapons/nge127.lua") includeFile("items/ngeweapons/nge128.lua") includeFile("items/ngeweapons/nge129.lua") includeFile("items/ngeweapons/nge130.lua") includeFile("items/ngeweapons/nge131.lua") includeFile("items/ngeweapons/nge132.lua") includeFile("items/ngeweapons/nge133.lua") includeFile("items/ngeweapons/nge134.lua") includeFile("items/ngeweapons/nge135.lua") includeFile("items/ngeweapons/nge136.lua") includeFile("items/ngeweapons/nge137.lua") includeFile("items/ngeweapons/nge138.lua") includeFile("items/ngeweapons/nge139.lua") includeFile("items/ngeweapons/nge140.lua") includeFile("items/ngeweapons/nge141.lua") includeFile("items/ngeweapons/nge142.lua") includeFile("items/ngeweapons/nge143.lua") includeFile("items/ngeweapons/nge144.lua") includeFile("items/ngeweapons/nge145.lua") includeFile("items/ngeweapons/nge146.lua") includeFile("items/ngeweapons/nge147.lua") includeFile("items/ngeweapons/nge148.lua") includeFile("items/ngeweapons/nge149.lua") includeFile("items/ngeweapons/nge150.lua") includeFile("items/ngeweapons/nge151.lua") includeFile("items/ngeweapons/nge152.lua") includeFile("items/ngeweapons/nge153.lua") includeFile("items/ngeweapons/nge154.lua") includeFile("items/ngeweapons/nge155.lua") includeFile("items/ngeweapons/nge156.lua") includeFile("items/ngeweapons/nge157.lua") includeFile("items/ngeweapons/nge158.lua") includeFile("items/ngeweapons/nge159.lua") includeFile("items/ngeweapons/nge160.lua") includeFile("items/ngeweapons/nge161.lua") includeFile("items/ngeweapons/nge162.lua") includeFile("items/ngeweapons/nge163.lua") includeFile("items/ngeweapons/nge164.lua") includeFile("items/ngeweapons/nge165.lua") includeFile("items/ngeweapons/nge166.lua") includeFile("items/ngeweapons/nge167.lua") includeFile("items/ngeweapons/nge168.lua") includeFile("items/ngeweapons/nge169.lua") includeFile("items/ngeweapons/nge170.lua") includeFile("items/ngeweapons/nge171.lua") includeFile("items/ngeweapons/nge172.lua") includeFile("items/ngeweapons/nge173.lua") includeFile("items/ngeweapons/nge174.lua") includeFile("items/ngeweapons/nge175.lua") includeFile("items/ngeweapons/nge176.lua") includeFile("items/ngeweapons/nge177.lua") includeFile("items/ngeweapons/nge178.lua") includeFile("items/ngeweapons/nge179.lua") includeFile("items/ngeweapons/nge180.lua") includeFile("items/ngeweapons/nge181.lua") includeFile("items/ngeweapons/nge182.lua") includeFile("items/ngeweapons/nge183.lua") includeFile("items/ngeweapons/nge184.lua") includeFile("items/ngeweapons/nge185.lua") includeFile("items/ngeweapons/nge186.lua") includeFile("items/ngeweapons/nge187.lua") includeFile("items/ngeweapons/nge188.lua") includeFile("items/ngeweapons/nge189.lua") includeFile("items/ngeweapons/nge190.lua") includeFile("items/ngeweapons/nge191.lua") includeFile("items/ngeweapons/nge192.lua") includeFile("items/ngeweapons/nge193.lua") includeFile("items/ngeweapons/nge194.lua") includeFile("items/ngeweapons/nge195.lua") includeFile("items/ngeweapons/nge196.lua") includeFile("items/ngeweapons/nge197.lua") includeFile("items/ngeweapons/nge198.lua") includeFile("items/ngeweapons/nge199.lua") includeFile("items/ngeweapons/nge200.lua") includeFile("items/ngeweapons/nge201.lua") includeFile("items/ngeweapons/nge202.lua") includeFile("items/ngeweapons/nge203.lua") includeFile("items/ngeweapons/nge204.lua") --Custom Capes and Wings includeFile("items/wearables/cape/cape1.lua") includeFile("items/wearables/cape/cape2.lua") includeFile("items/wearables/cape/cape3.lua") includeFile("items/wearables/cape/cape4.lua") includeFile("items/wearables/cape/cape5.lua") includeFile("items/wearables/cape/cape6.lua") includeFile("items/wearables/cape/cape7.lua") includeFile("items/wearables/cape/cape8.lua") includeFile("items/wearables/cape/cape9.lua") includeFile("items/wearables/cape/cape10.lua") includeFile("items/wearables/cape/wings_angel.lua") includeFile("items/wearables/cape/wings_bat.lua") includeFile("items/wearables/cape/wings_blue.lua") includeFile("items/wearables/cape/wings_golden.lua") includeFile("items/wearables/cape/wings_pink.lua") includeFile("items/wearables/helmet/ace.lua") -- includeFile("custom_loot/items/weapons/mandalorian_saber.lua") -- Disabled, crashing server on creation -- Mando/BH Armor schematics (Disabled till can be fixed) --includeFile("custom_loot/items/mandalore/clothing_armor_bounty_hunter_belt.lua") --includeFile("custom_loot/items/mandalore/clothing_armor_bounty_hunter_bicep_l.lua") --includeFile("custom_loot/items/mandalore/clothing_armor_bounty_hunter_bicep_r.lua") --includeFile("custom_loot/items/mandalore/clothing_armor_bounty_hunter_boots.lua") --includeFile("custom_loot/items/mandalore/clothing_armor_bounty_hunter_bracer_l.lua") --includeFile("custom_loot/items/mandalore/clothing_armor_bounty_hunter_bracer_r.lua") --includeFile("custom_loot/items/mandalore/clothing_armor_bounty_hunter_chest_plate.lua") --includeFile("custom_loot/items/mandalore/clothing_armor_bounty_hunter_gloves.lua") --includeFile("custom_loot/items/mandalore/clothing_armor_bounty_hunter_helmet.lua") --includeFile("custom_loot/items/mandalore/clothing_armor_bounty_hunter_leggings.lua") --includeFile("custom_loot/items/mandalore/clothing_armor_mandalorian_belt.lua") --includeFile("custom_loot/items/mandalore/clothing_armor_mandalorian_bicep_l.lua") --includeFile("custom_loot/items/mandalore/clothing_armor_mandalorian_bicep_r.lua") --includeFile("custom_loot/items/mandalore/clothing_armor_mandalorian_boots.lua") --includeFile("custom_loot/items/mandalore/clothing_armor_mandalorian_bracer_l.lua") --includeFile("custom_loot/items/mandalore/clothing_armor_mandalorian_bracer_r.lua") --includeFile("custom_loot/items/mandalore/clothing_armor_mandalorian_chest_plate.lua") --includeFile("custom_loot/items/mandalore/clothing_armor_mandalorian_gloves.lua") --includeFile("custom_loot/items/mandalore/clothing_armor_mandalorian_helmet.lua") --includeFile("custom_loot/items/mandalore/clothing_armor_mandalorian_leggings.lua")
local Chara = require("api.Chara") local Calc = require("mod.elona.api.Calc") local Rand = require("api.Rand") local Filters = require("mod.elona.api.Filters") local I18N = require("api.I18N") local function mkgenerate(categories) return function(self, quest) local quality = 2 if Rand.one_in(2) then quality = 3 if Rand.one_in(12) then quality = 4 end end local category = Rand.choice(categories) return { level = math.floor(quest.difficulty + Chara.player():calc("level") / 2 + 1), quality = Calc.calc_object_quality(quality), categories = {category} } end end data:add { _id = "wear", _type = "elona_sys.quest_reward", elona_id = 1, generate = mkgenerate(Filters.fsetwear) } data:add { _id = "magic", _type = "elona_sys.quest_reward", elona_id = 2, generate = mkgenerate(Filters.fsetmagic) } data:add { _id = "armor", _type = "elona_sys.quest_reward", elona_id = 3, generate = mkgenerate(Filters.fsetarmor) } data:add { _id = "weapon", _type = "elona_sys.quest_reward", elona_id = 4, generate = mkgenerate(Filters.fsetweapon) } data:add { _id = "supply", _type = "elona_sys.quest_reward", elona_id = 5, generate = mkgenerate(Filters.fsetrewardsupply) } data:add { _id = "by_category", _type = "elona_sys.quest_reward", params = { category = types.data_id("base.item_type") }, generate = function(self, quest) return mkgenerate({self.category})(self, quest) end, localize = function(self) return I18N.get("item.filter_name." .. self.category) end }
ControlManager = setmetatable({}, {__index = PhysicalEntity}) function ControlManager.new(cell) local self = setmetatable( PhysicalEntity.new(cell) , {__index = ControlManager}) self:createBody_(MOAIBox2DBody.STATIC) local touchedBy = {} local ownedBy = {} local groupsOwnedBy = {} local fixtureToArea = {} self.staticHandler_ = function(phase, a, b) local area = fixtureToArea[a] local player = cell:lookupBody(b:getBody()) if player == nil then return end if not touchedBy[player] then touchedBy[player] = {} end if phase == MOAIBox2DArbiter.BEGIN then touchedBy[player][area] = true elseif phase == MOAIBox2DArbiter.END then touchedBy[player][area] = nil end end self.fixtureToArea_ = fixtureToArea self.touchedBy_ = touchedBy self.ownedBy_ = ownedBy self.groupsOwnedBy_ = groupsOwnedBy self.maskLayer_ = cell.fgLayer_ self.scores_ = {} self.enabled_ = true self.scoresChanged_ = EventSource.new() return self end function ControlManager:disable() self.enabled_ = false end function ControlManager:scoresChangedSource() return self.scoresChanged_ end function ControlManager:recomputeScores() local groupsOwnedBy = self.groupsOwnedBy_ local scoreDisplay = 'Scores: ' local maxPlayer = nil for player, _ in pairs(groupsOwnedBy) do local score, totalAreas = 0, 0 for group, _ in pairs(groupsOwnedBy[player]) do local areasInGroup = 0 for area, _ in pairs(group.areas_) do areasInGroup = areasInGroup + 1 end group.numAreas_ = areasInGroup totalAreas = totalAreas + areasInGroup score = score + areasInGroup * areasInGroup end score = score + totalAreas * 10 player.score_ = score if not maxPlayer or score > maxPlayer.score_ then maxPlayer = player end scoreDisplay = scoreDisplay .. player.name_ .. ': ' .. tostring(score) .. ' ' end for player, _ in pairs(groupsOwnedBy) do if player == maxPlayer then player.effect_ = LeadingEffect.attach(player) elseif player.effect_ then player.effect_:remove() end end self.scoresChanged_:emit() end function ControlManager:captureTouching(player) if not self.enabled_ then return end if self.touchedBy_[player] == nil then return end if self.ownedBy_[player] == nil then self.ownedBy_[player] = {} end local any_new_areas = false for area, _ in pairs(self.touchedBy_[player]) do if area.owner_ ~= player then any_new_areas = true area:setOwner(player) end end if any_new_areas then player:playHitSound() self:recomputeScores() end end function ControlManager:addFromDefinition(def) local dualWorld = MOAIBox2DWorld.new() local dualFixtureToArea = {} for _, object in pairs(def) do local area = ControlArea.new(self, self.maskLayer_) local dualBody = dualWorld:addBody(MOAIBox2DBody.DYNAMIC) if not object.convex then error('Non-convexified control area. Did you forget triangulate?') end for _, ccw_poly in pairs(object.convex) do local cw_poly = reversed_poly(ccw_poly) local fixture = self.body:addPolygon(cw_poly) fixture:setSensor(true) fixture:setCollisionHandler(self.staticHandler_, MOAIBox2DArbiter.ALL) self.fixtureToArea_[fixture] = area local dualFixture = dualBody:addPolygon(cw_poly) dualFixture:setSensor(true) dualFixture:setCollisionHandler( function(phase, a, b) local a = dualFixtureToArea[a] local b = dualFixtureToArea[b] if not a or not b then error('non-fixture collision') end if a ~= b then a:connectTo(b) end end, MOAIBox2DArbiter.BEGIN) dualFixtureToArea[dualFixture] = area area:addPoly(cw_poly) end end MOAICoroutine.new():run( function() dualWorld:start() coroutine.yield() dualWorld:stop() end) end function ControlManager:destroy() for _, area in pairs(self.fixtureToArea_) do area:destroy() end PhysicalEntity.destroy(self) end ControlArea = {} function ControlArea.new(manager, layer) local self = setmetatable({}, {__index = ControlArea}) self.manager_ = manager self.layer_ = layer self.polys_ = {} self.connections_ = {} self.owner_ = nil self.centre_ = nil self.group_ = nil self.pulsing_ = false self.destroyed_ = false return self end function ControlArea:addPoly(poly) table.insert(self.polys_, poly) self:updateCentre_() end function ControlArea:updateCentre_() local cx, cy = 0, 0 local totalVerts = 0 for _, poly in pairs(self.polys_) do local nVerts = #poly / 2 totalVerts = totalVerts + nVerts for iVert = 1, nVerts do cx, cy = cx + poly[iVert * 2 - 1], cy + poly[iVert * 2] end end self.centreX_, self.centreY_ = cx / totalVerts, cy / totalVerts end function ControlArea:pulse() if not self.group_ then print('pulse with no group') end if self.pulsing_ then return end if delay == nil then delay = 0 end self.pulsing_ = true for area, _ in pairs(self.group_.areas_) do area:pulse(math.random() * 0.1) end self.coroutine_ = MOAICoroutine.new():run( function() local timer = MOAITimer.new() timer:setSpan(delay) timer:start() MOAICoroutine.blockOnAction(timer) MOAICoroutine.blockOnAction(self.mask_:seekScl(1.4, 1.4, 0.1, MOAIEaseType.LINEAR)) MOAICoroutine.blockOnAction(self.mask_:seekScl(1, 1, 0.3, MOAIEaseType.EASE_IN)) self.pulsing_ = false self.coroutine_ = nil end) end function ControlArea:setOwner(new_owner) if new_owner == self.owner_ then return end if self.owner_ ~= nil then self.owner_:removeMask(self.mask_) self.mask_ = nil self.manager_.ownedBy_[self.owner_][self] = nil self.owner_ = new_owner if self.group_ then self.group_:removeAndSplit(self) end end if self.group_ then error('shouldn\'t have a group') end self.owner_ = new_owner if new_owner then self.mask_ = new_owner:placeMaskAt( self.centreX_, self.centreY_, math.random() * 360) self.manager_.ownedBy_[new_owner][self] = true for other, _ in pairs(self.connections_) do if other.owner_ == new_owner then if self.group_ then if other.group_ ~= self.group_ then if other.group_ == nil then self.group_:add(other) else self.group_:merge(other.group_) end end else other.group_:add(self) end end end if not self.group_ then self.group_ = ControlGroup.new(self.manager_, self) end if self.owner_ and self.group_.numAreas_ > 3 then self.owner_:playPulseSound() end self:pulse() end end function ControlArea:getOwner() return self.owner_ end function ControlArea:connectTo(other) self.connections_[other] = true other.connections_[self] = true end function ControlArea:destroy() if not self.destroyed_ then self.destroyed_ = true if self.mask_ and self.owner_ then self.owner_:removeMask(self.mask_) end if self.coroutine_ then self.coroutine_:stop() end end end ControlGroup = {} function ControlGroup.new(manager, seed) local self = setmetatable({}, {__index = ControlGroup}) local owner = seed.owner_ self.areas_ = {} self.areas_[seed] = true self.numAreas_ = 1 self.owner_ = owner self.manager_ = manager if manager.groupsOwnedBy_[owner] == nil then manager.groupsOwnedBy_[owner] = {} end manager.groupsOwnedBy_[owner][self] = true return self end function crawlFromArea(seed, into) if into[seed] then return 0 end local nCrawled = 1 into[seed] = true for other, _ in pairs(seed.connections_) do if other.group_ == seed.group_ then if other.owner_ ~= seed.owner_ then error('adjacent, same owner, diff groups') end nCrawled = nCrawled + crawlFromArea(other, into) end end return nCrawled end function ControlGroup:removeAndSplit(area) local areas = self.areas_ if not areas[area] then error('area not owned by group!') end if area.group_ ~= self then error('area doesn\'t know about us') end areas[area] = nil area.group_ = nil -- Otherwise we may need to split the group. Remove the area and start -- crawling from one spot local seed, _ = next(areas) self.numAreas_ = self.numAreas_ - 1 if seed == nil then -- This was a singleton group, we should just remove ourselves from the -- manager. self.manager_.groupsOwnedBy_[self.owner_][self] = nil return end local crawled = {} local nCrawled = crawlFromArea(seed, crawled) if nCrawled ~= self.numAreas_ then -- We lost connectivity; move the crawled areas into a new group. local new_group = ControlGroup.new(self.manager_, seed) -- Force group assignment since we've already crawled everything. new_group.numAreas_ = nCrawled new_group.areas_ = crawled self.numAreas_ = self.numAreas_ - nCrawled for area, _ in pairs(crawled) do areas[area] = nil area.group_ = new_group end end end function ControlGroup:merge(other) if other == self then error('merge with self') end if other.owner_ ~= self.owner_ then error('attempted to merge groups with different owners') end self.numAreas_ = self.numAreas_ + other.numAreas_ for area, _ in pairs(other.areas_) do area.group_ = self if self.areas_[area] then error('double group') end self.areas_[area] = true end self.manager_.groupsOwnedBy_[self.owner_][other] = nil end function ControlGroup:add(area) if area.owner_ ~= self.owner_ then error('attempted to add area from different owner') end if area.group_ ~= nil then error('attempted to add area from different group') end self.areas_[area] = true area.group_ = self end
local PetBattleConstants = { Tables = { { Name = "PetbattleAuraStateFlags", Type = "Enumeration", NumValues = 7, MinValue = 0, MaxValue = 32, Fields = { { Name = "None", Type = "PetbattleAuraStateFlags", EnumValue = 0 }, { Name = "Infinite", Type = "PetbattleAuraStateFlags", EnumValue = 1 }, { Name = "Canceled", Type = "PetbattleAuraStateFlags", EnumValue = 2 }, { Name = "InitDisabled", Type = "PetbattleAuraStateFlags", EnumValue = 4 }, { Name = "CountdownFirstRound", Type = "PetbattleAuraStateFlags", EnumValue = 8 }, { Name = "JustApplied", Type = "PetbattleAuraStateFlags", EnumValue = 16 }, { Name = "RemoveEventHandled", Type = "PetbattleAuraStateFlags", EnumValue = 32 }, }, }, { Name = "PetbattleCheatFlags", Type = "Enumeration", NumValues = 2, MinValue = 0, MaxValue = 1, Fields = { { Name = "None", Type = "PetbattleCheatFlags", EnumValue = 0 }, { Name = "AutoPlay", Type = "PetbattleCheatFlags", EnumValue = 1 }, }, }, { Name = "PetbattleEffectFlags", Type = "Enumeration", NumValues = 15, MinValue = 0, MaxValue = 8192, Fields = { { Name = "None", Type = "PetbattleEffectFlags", EnumValue = 0 }, { Name = "InvalidTarget", Type = "PetbattleEffectFlags", EnumValue = 1 }, { Name = "Miss", Type = "PetbattleEffectFlags", EnumValue = 2 }, { Name = "Crit", Type = "PetbattleEffectFlags", EnumValue = 4 }, { Name = "Blocked", Type = "PetbattleEffectFlags", EnumValue = 8 }, { Name = "Dodge", Type = "PetbattleEffectFlags", EnumValue = 16 }, { Name = "Heal", Type = "PetbattleEffectFlags", EnumValue = 32 }, { Name = "Unkillable", Type = "PetbattleEffectFlags", EnumValue = 64 }, { Name = "Reflect", Type = "PetbattleEffectFlags", EnumValue = 128 }, { Name = "Absorb", Type = "PetbattleEffectFlags", EnumValue = 256 }, { Name = "Immune", Type = "PetbattleEffectFlags", EnumValue = 512 }, { Name = "Strong", Type = "PetbattleEffectFlags", EnumValue = 1024 }, { Name = "Weak", Type = "PetbattleEffectFlags", EnumValue = 2048 }, { Name = "SuccessChain", Type = "PetbattleEffectFlags", EnumValue = 4096 }, { Name = "AuraReapply", Type = "PetbattleEffectFlags", EnumValue = 8192 }, }, }, { Name = "PetbattleEffectType", Type = "Enumeration", NumValues = 18, MinValue = 0, MaxValue = 17, Fields = { { Name = "SetHealth", Type = "PetbattleEffectType", EnumValue = 0 }, { Name = "AuraApply", Type = "PetbattleEffectType", EnumValue = 1 }, { Name = "AuraCancel", Type = "PetbattleEffectType", EnumValue = 2 }, { Name = "AuraChange", Type = "PetbattleEffectType", EnumValue = 3 }, { Name = "PetSwap", Type = "PetbattleEffectType", EnumValue = 4 }, { Name = "StatusChange", Type = "PetbattleEffectType", EnumValue = 5 }, { Name = "SetState", Type = "PetbattleEffectType", EnumValue = 6 }, { Name = "SetMaxHealth", Type = "PetbattleEffectType", EnumValue = 7 }, { Name = "SetSpeed", Type = "PetbattleEffectType", EnumValue = 8 }, { Name = "SetPower", Type = "PetbattleEffectType", EnumValue = 9 }, { Name = "TriggerAbility", Type = "PetbattleEffectType", EnumValue = 10 }, { Name = "AbilityChange", Type = "PetbattleEffectType", EnumValue = 11 }, { Name = "NpcEmote", Type = "PetbattleEffectType", EnumValue = 12 }, { Name = "AuraProcessingBegin", Type = "PetbattleEffectType", EnumValue = 13 }, { Name = "AuraProcessingEnd", Type = "PetbattleEffectType", EnumValue = 14 }, { Name = "ReplacePet", Type = "PetbattleEffectType", EnumValue = 15 }, { Name = "OverrideAbility", Type = "PetbattleEffectType", EnumValue = 16 }, { Name = "WorldStateUpdate", Type = "PetbattleEffectType", EnumValue = 17 }, }, }, { Name = "PetbattleEnviros", Type = "Enumeration", NumValues = 3, MinValue = 0, MaxValue = 2, Fields = { { Name = "Pad0", Type = "PetbattleEnviros", EnumValue = 0 }, { Name = "Pad1", Type = "PetbattleEnviros", EnumValue = 1 }, { Name = "Weather", Type = "PetbattleEnviros", EnumValue = 2 }, }, }, { Name = "PetbattleInputMoveMsgDebugFlag", Type = "Enumeration", NumValues = 3, MinValue = 0, MaxValue = 2, Fields = { { Name = "None", Type = "PetbattleInputMoveMsgDebugFlag", EnumValue = 0 }, { Name = "DontValidate", Type = "PetbattleInputMoveMsgDebugFlag", EnumValue = 1 }, { Name = "EnemyCast", Type = "PetbattleInputMoveMsgDebugFlag", EnumValue = 2 }, }, }, { Name = "PetbattleMoveType", Type = "Enumeration", NumValues = 6, MinValue = 0, MaxValue = 5, Fields = { { Name = "Quit", Type = "PetbattleMoveType", EnumValue = 0 }, { Name = "Ability", Type = "PetbattleMoveType", EnumValue = 1 }, { Name = "Swap", Type = "PetbattleMoveType", EnumValue = 2 }, { Name = "Trap", Type = "PetbattleMoveType", EnumValue = 3 }, { Name = "FinalRoundOk", Type = "PetbattleMoveType", EnumValue = 4 }, { Name = "Pass", Type = "PetbattleMoveType", EnumValue = 5 }, }, }, { Name = "PetbattlePboid", Type = "Enumeration", NumValues = 9, MinValue = 0, MaxValue = 8, Fields = { { Name = "P0Pet_0", Type = "PetbattlePboid", EnumValue = 0 }, { Name = "P0Pet_1", Type = "PetbattlePboid", EnumValue = 1 }, { Name = "P0Pet_2", Type = "PetbattlePboid", EnumValue = 2 }, { Name = "P1Pet_0", Type = "PetbattlePboid", EnumValue = 3 }, { Name = "P1Pet_1", Type = "PetbattlePboid", EnumValue = 4 }, { Name = "P1Pet_2", Type = "PetbattlePboid", EnumValue = 5 }, { Name = "EnvPad_0", Type = "PetbattlePboid", EnumValue = 6 }, { Name = "EnvPad_1", Type = "PetbattlePboid", EnumValue = 7 }, { Name = "EnvWeather", Type = "PetbattlePboid", EnumValue = 8 }, }, }, { Name = "PetbattlePetStatus", Type = "Enumeration", NumValues = 5, MinValue = 0, MaxValue = 8, Fields = { { Name = "FlagNone", Type = "PetbattlePetStatus", EnumValue = 0 }, { Name = "FlagTrapped", Type = "PetbattlePetStatus", EnumValue = 1 }, { Name = "Stunned", Type = "PetbattlePetStatus", EnumValue = 2 }, { Name = "SwapOutLocked", Type = "PetbattlePetStatus", EnumValue = 4 }, { Name = "SwapInLocked", Type = "PetbattlePetStatus", EnumValue = 8 }, }, }, { Name = "PetbattlePlayer", Type = "Enumeration", NumValues = 2, MinValue = 0, MaxValue = 1, Fields = { { Name = "Player_0", Type = "PetbattlePlayer", EnumValue = 0 }, { Name = "Player_1", Type = "PetbattlePlayer", EnumValue = 1 }, }, }, { Name = "PetbattlePlayerInputFlags", Type = "Enumeration", NumValues = 5, MinValue = 0, MaxValue = 8, Fields = { { Name = "None", Type = "PetbattlePlayerInputFlags", EnumValue = 0 }, { Name = "TurnInProgress", Type = "PetbattlePlayerInputFlags", EnumValue = 1 }, { Name = "AbilityLocked", Type = "PetbattlePlayerInputFlags", EnumValue = 2 }, { Name = "SwapLocked", Type = "PetbattlePlayerInputFlags", EnumValue = 4 }, { Name = "WaitingForPet", Type = "PetbattlePlayerInputFlags", EnumValue = 8 }, }, }, { Name = "PetbattleResult", Type = "Enumeration", NumValues = 24, MinValue = 0, MaxValue = 23, Fields = { { Name = "FailUnknown", Type = "PetbattleResult", EnumValue = 0 }, { Name = "FailNotHere", Type = "PetbattleResult", EnumValue = 1 }, { Name = "FailNotHereOnTransport", Type = "PetbattleResult", EnumValue = 2 }, { Name = "FailNotHereUnevenGround", Type = "PetbattleResult", EnumValue = 3 }, { Name = "FailNotHereObstructed", Type = "PetbattleResult", EnumValue = 4 }, { Name = "FailNotWhileInCombat", Type = "PetbattleResult", EnumValue = 5 }, { Name = "FailNotWhileDead", Type = "PetbattleResult", EnumValue = 6 }, { Name = "FailNotWhileFlying", Type = "PetbattleResult", EnumValue = 7 }, { Name = "FailTargetInvalid", Type = "PetbattleResult", EnumValue = 8 }, { Name = "FailTargetOutOfRange", Type = "PetbattleResult", EnumValue = 9 }, { Name = "FailTargetNotCapturable", Type = "PetbattleResult", EnumValue = 10 }, { Name = "FailNotATrainer", Type = "PetbattleResult", EnumValue = 11 }, { Name = "FailDeclined", Type = "PetbattleResult", EnumValue = 12 }, { Name = "FailInBattle", Type = "PetbattleResult", EnumValue = 13 }, { Name = "FailInvalidLoadout", Type = "PetbattleResult", EnumValue = 14 }, { Name = "FailInvalidLoadoutAllDead", Type = "PetbattleResult", EnumValue = 15 }, { Name = "FailInvalidLoadoutNoneSlotted", Type = "PetbattleResult", EnumValue = 16 }, { Name = "FailNoJournalLock", Type = "PetbattleResult", EnumValue = 17 }, { Name = "FailWildPetTapped", Type = "PetbattleResult", EnumValue = 18 }, { Name = "FailRestrictedAccount", Type = "PetbattleResult", EnumValue = 19 }, { Name = "FailOpponentNotAvailable", Type = "PetbattleResult", EnumValue = 20 }, { Name = "FailLogout", Type = "PetbattleResult", EnumValue = 21 }, { Name = "FailDisconnect", Type = "PetbattleResult", EnumValue = 22 }, { Name = "Success", Type = "PetbattleResult", EnumValue = 23 }, }, }, { Name = "PetbattleSlot", Type = "Enumeration", NumValues = 3, MinValue = 0, MaxValue = 2, Fields = { { Name = "Slot_0", Type = "PetbattleSlot", EnumValue = 0 }, { Name = "Slot_1", Type = "PetbattleSlot", EnumValue = 1 }, { Name = "Slot_2", Type = "PetbattleSlot", EnumValue = 2 }, }, }, { Name = "PetbattleSlotAbility", Type = "Enumeration", NumValues = 3, MinValue = 0, MaxValue = 2, Fields = { { Name = "Ability_0", Type = "PetbattleSlotAbility", EnumValue = 0 }, { Name = "Ability_1", Type = "PetbattleSlotAbility", EnumValue = 1 }, { Name = "Ability_2", Type = "PetbattleSlotAbility", EnumValue = 2 }, }, }, { Name = "PetbattleSlotResult", Type = "Enumeration", NumValues = 9, MinValue = 0, MaxValue = 8, Fields = { { Name = "Success", Type = "PetbattleSlotResult", EnumValue = 0 }, { Name = "SlotLocked", Type = "PetbattleSlotResult", EnumValue = 1 }, { Name = "SlotEmpty", Type = "PetbattleSlotResult", EnumValue = 2 }, { Name = "NoTracker", Type = "PetbattleSlotResult", EnumValue = 3 }, { Name = "NoSpeciesRec", Type = "PetbattleSlotResult", EnumValue = 4 }, { Name = "CantBattle", Type = "PetbattleSlotResult", EnumValue = 5 }, { Name = "Revoked", Type = "PetbattleSlotResult", EnumValue = 6 }, { Name = "Dead", Type = "PetbattleSlotResult", EnumValue = 7 }, { Name = "NoPet", Type = "PetbattleSlotResult", EnumValue = 8 }, }, }, { Name = "PetbattleState", Type = "Enumeration", NumValues = 7, MinValue = 0, MaxValue = 6, Fields = { { Name = "Created", Type = "PetbattleState", EnumValue = 0 }, { Name = "WaitingPreBattle", Type = "PetbattleState", EnumValue = 1 }, { Name = "RoundInProgress", Type = "PetbattleState", EnumValue = 2 }, { Name = "WaitingForFrontPets", Type = "PetbattleState", EnumValue = 3 }, { Name = "CreatedFailed", Type = "PetbattleState", EnumValue = 4 }, { Name = "FinalRound", Type = "PetbattleState", EnumValue = 5 }, { Name = "Finished", Type = "PetbattleState", EnumValue = 6 }, }, }, { Name = "PetbattleTrapstatus", Type = "Enumeration", NumValues = 9, MinValue = 0, MaxValue = 8, Fields = { { Name = "Invalid", Type = "PetbattleTrapstatus", EnumValue = 0 }, { Name = "CanTrap", Type = "PetbattleTrapstatus", EnumValue = 1 }, { Name = "CantTrapNewbie", Type = "PetbattleTrapstatus", EnumValue = 2 }, { Name = "CantTrapPetDead", Type = "PetbattleTrapstatus", EnumValue = 3 }, { Name = "CantTrapPetHealth", Type = "PetbattleTrapstatus", EnumValue = 4 }, { Name = "CantTrapNoRoomInJournal", Type = "PetbattleTrapstatus", EnumValue = 5 }, { Name = "CantTrapPetNotCapturable", Type = "PetbattleTrapstatus", EnumValue = 6 }, { Name = "CantTrapTrainerBattle", Type = "PetbattleTrapstatus", EnumValue = 7 }, { Name = "CantTrapTwice", Type = "PetbattleTrapstatus", EnumValue = 8 }, }, }, { Name = "PetbattleType", Type = "Enumeration", NumValues = 4, MinValue = 0, MaxValue = 3, Fields = { { Name = "PvE", Type = "PetbattleType", EnumValue = 0 }, { Name = "PvP", Type = "PetbattleType", EnumValue = 1 }, { Name = "Lfpb", Type = "PetbattleType", EnumValue = 2 }, { Name = "Npc", Type = "PetbattleType", EnumValue = 3 }, }, }, }, }; APIDocumentation:AddDocumentationTable(PetBattleConstants);
-- clear cache so this reloads changes. -- useful for development package.loaded["github-theme"] = nil package.loaded["github-theme.util"] = nil package.loaded["github-theme.colors"] = nil package.loaded["github-theme.theme"] = nil package.loaded["github-theme.config"] = nil
require("plugins") local cmd = vim.cmd local opt = vim.opt local g = vim.g opt.backspace = {"indent", "eol", "start"} opt.cursorcolumn = true opt.cursorline = true opt.expandtab = true -- Use spaces instead of tabs opt.hidden = true -- Enable background buffers opt.hlsearch = true -- Highlight found searches opt.ignorecase = true -- Ignore case opt.incsearch = true -- Shows the match while typing opt.joinspaces = false -- No double spaces with join opt.linebreak = true -- Stop words being broken on wrap opt.list = false -- Show some invisible characters opt.mouse = "" opt.number = true -- Show line numbers opt.numberwidth = 5 -- Make the gutter wider by default opt.relativenumber = true -- Relative line numbers opt.shiftwidth = 2 opt.smartcase = true opt.softtabstop = 2 opt.tabstop = 2 opt.title = true g.mapleader = "," -- providers g.python_host_prog = os.getenv("HOME") .. "/.pyenv/versions/neovim2/bin/python" g.python3_host_prog = os.getenv("HOME") .. "/.pyenv/versions/neovim3/bin/python" function map(mode, shortcut, command) vim.api.nvim_set_keymap(mode, shortcut, command, {noremap = true, silent = true}) end -- Configure Neovim to automatically run `:PackerCompile` whenever -- `plugins.lua` is updated with an autocommand: vim.cmd( [[ augroup packer_user_config autocmd! autocmd BufWritePost plugins.lua source <afile> | PackerCompile augroup end ]] ) ---------------- -- Treesitter -- ---------------- require("me.treesitter") -- Color Scheme with Tree-Sitter Support opt.termguicolors = true opt.background = "dark" -- or ligth -- Set contrast. -- This configuration option should be placed before `colorscheme everforest`. -- Available values: 'hard', 'medium'(default), 'soft' g.everforest_background = "soft" cmd([[colorscheme everforest]]) --------------- -- Telescope -- --------------- require("me.telescope") ------------- -- lualine -- ------------- require("me.lualine") --------------- -- Formatter -- --------------- require("me.formatter") -- Format on save vim.cmd( [[ augroup FormatAutogroup autocmd! autocmd BufWritePost *.js,*.rs,*.lua lua vim.lsp.buf.formatting() autocmd BufWritePost *.ex,*.exs FormatWrite augroup END ]] ) ------------- -- Aliases -- ------------- --map("n", "<leader>ff", [[<cmd>lua require('telescope.builtin').git_files()<cr>]]) map("n", "<leader>,", [[:Format<CR>]]) -- Format map("n", "<leader>ff", [[<cmd>lua require('telescope.builtin').find_files()<cr>]]) map("n", "<leader>fg", [[<cmd>lua require('telescope.builtin').live_grep()<cr>]]) map("n", "<leader>fb", [[<cmd>lua require('telescope.builtin').buffers()<cr>]]) map("n", "<leader>f?", [[<cmd>lua require('telescope.builtin').help_tags()<cr>]]) map("n", "<leader>fh", [[<cmd>lua require('telescope.builtin').command_history()<cr>]]) map("n", "<leader>ft", [[<cmd>lua require('telescope.builtin').tags()<cr>]]) map("n", "<leader>fq", [[<cmd>lua require('telescope.builtin').quickfix()<cr>]]) map("n", "<leader>fs", [[<cmd>lua require('telescope.builtin').spell_suggest()<cr>]]) map("n", "<leader>tt", [[:TestNearest<CR>]]) -- test this map("n", "<leader>tf", [[:TestFile<CR>]]) map("n", "<leader>ta", [[:TestSuite<CR>]]) -- test all map("n", "<leader>tl", [[:TestLast<CR>]]) map("n", "<leader>tv", [[:TestVisit<CR>]]) map("n", "<leader>ot", [[:vsplit term://fish<cr>]]) -- To map <Esc> to exit terminal-mode: -- :tnoremap <Esc> <C-\><C-n> ----------------------- -- LSP configuration -- ----------------------- -- Add additional capabilities supported by nvim-cmp local capabilities = require("cmp_nvim_lsp").update_capabilities(vim.lsp.protocol.make_client_capabilities()) -- Use an on_attach function to only map the following keys -- after the language server attaches to the current buffer local on_attach = function(client, bufnr) local function buf_set_keymap(...) vim.api.nvim_buf_set_keymap(bufnr, ...) end local function buf_set_option(...) vim.api.nvim_buf_set_option(bufnr, ...) end -- Enable completion triggered by <c-x><c-o> buf_set_option("omnifunc", "v:lua.vim.lsp.omnifunc") -- Mappings. local opts = {noremap = true, silent = true} -- See `:help vim.lsp.*` for documentation on any of the below functions buf_set_keymap("n", "gD", "<cmd>lua vim.lsp.buf.declaration()<CR>", opts) buf_set_keymap("n", "gd", "<cmd>lua vim.lsp.buf.definition()<CR>", opts) buf_set_keymap("n", "K", "<cmd>lua vim.lsp.buf.hover()<CR>", opts) buf_set_keymap("n", "gi", "<cmd>lua vim.lsp.buf.implementation()<CR>", opts) buf_set_keymap("n", "<C-k>", "<cmd>lua vim.lsp.buf.signature_help()<CR>", opts) buf_set_keymap("n", "<space>wa", "<cmd>lua vim.lsp.buf.add_workspace_folder()<CR>", opts) buf_set_keymap("n", "<space>wr", "<cmd>lua vim.lsp.buf.remove_workspace_folder()<CR>", opts) buf_set_keymap("n", "<space>wl", "<cmd>lua print(vim.inspect(vim.lsp.buf.list_workspace_folders()))<CR>", opts) buf_set_keymap("n", "<space>D", "<cmd>lua vim.lsp.buf.type_definition()<CR>", opts) buf_set_keymap("n", "<space>rn", "<cmd>lua vim.lsp.buf.rename()<CR>", opts) buf_set_keymap("n", "<space>ca", "<cmd>lua vim.lsp.buf.code_action()<CR>", opts) buf_set_keymap("n", "gr", "<cmd>lua vim.lsp.buf.references()<CR>", opts) buf_set_keymap("n", "<space>e", "<cmd>lua vim.diagnostic.open_float()<CR>", opts) buf_set_keymap("n", "[d", "<cmd>lua vim.diagnostic.goto_prev()<CR>", opts) buf_set_keymap("n", "]d", "<cmd>lua vim.diagnostic.goto_next()<CR>", opts) buf_set_keymap("n", "<space>q", "<cmd>lua vim.diagnostic.setloclist()<CR>", opts) buf_set_keymap("n", "<space>f", "<cmd>lua vim.lsp.buf.formatting()<CR>", opts) end local lspconfig = require("lspconfig") -- Enable some language servers with the additional completion capabilities offered by nvim-cmp -- local servers = {"clangd", "rust_analyzer", "pyright", "tsserver"} --for _, lsp in ipairs(servers) do -- lspconfig[lsp].setup { -- -- on_attach = my_custom_on_attach, -- capabilities = capabilities -- } --end local path_to_elixirls = vim.fn.expand("~/.cache/nvim/lspconfig/elixirls/elixir-ls/release/language_server.sh") lspconfig.elixirls.setup( { cmd = {path_to_elixirls}, capabilities = capabilities, on_attach = on_attach, flags = { debounce_text_changes = 150 }, settings = { elixirLS = { dialyzerEnabled = true, fetchDeps = true } } } ) lspconfig.efm.setup( { cmd = {"efm-langserver", "-logfile", "/tmp/efm.log", "-loglevel", "1"}, capabilities = capabilities, on_attach = on_attach, init_options = {documentFormatting = true}, filetypes = {"sh", "lua", "yaml"}, settings = { rootMarkers = {".git/"}, languages = { lua = { {formatCommand = "luafmt --indent-count 2 --stdin", formatStdin = true} }, yaml = { {lintCommand = "yamllint -f parsable -", lintStdin = true} }, sh = { {formatCommand = "shfmt -i 2 -ci -bn -s", formatStdin = true}, { lintCommand = "shellcheck -f gcc -x", lintSource = "shellcheck", lintFormats = {"%f:%l:%c: %trror: %m", "%f:%l:%c: %tarning: %m", "%f:%l:%c: %tote: %m"} } } } } } ) -- Set completeopt to have a better completion experience vim.o.completeopt = "menu,menuone,noselect" ------------------- -- luasnip setup -- ------------------- local luasnip = require "luasnip" -------------------- -- nvim-cmp setup -- -------------------- local has_words_before = function() local line, col = unpack(vim.api.nvim_win_get_cursor(0)) return col ~= 0 and vim.api.nvim_buf_get_lines(0, line - 1, line, true)[1]:sub(col, col):match("%s") == nil end local cmp = require "cmp" cmp.setup { snippet = { expand = function(args) luasnip.lsp_expand(args.body) end }, mapping = { ["<C-b>"] = cmp.mapping(cmp.mapping.scroll_docs(-4), {"i", "c"}), ["<C-f>"] = cmp.mapping(cmp.mapping.scroll_docs(4), {"i", "c"}), ["<C-Space>"] = cmp.mapping(cmp.mapping.complete(), {"i", "c"}), ["<C-y>"] = cmp.config.disable, -- Specify `cmp.config.disable` if you want to remove the default `<C-y>` mapping. ["<C-e>"] = cmp.mapping( { i = cmp.mapping.abort(), c = cmp.mapping.close() } ), ["<CR>"] = cmp.mapping.confirm({select = true}), -- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items. ["<Tab>"] = cmp.mapping( function(fallback) if cmp.visible() then cmp.select_next_item() elseif luasnip.expand_or_jumpable() then luasnip.expand_or_jump() elseif has_words_before() then cmp.complete() else fallback() end end, {"i", "s"} ), ["<S-Tab>"] = cmp.mapping( function(fallback) if cmp.visible() then cmp.select_prev_item() elseif luasnip.jumpable(-1) then luasnip.jump(-1) else fallback() end end, {"i", "s"} ) }, sources = cmp.config.sources( { {name = "nvim_lsp"}, {name = "luasnip"} }, { {name = "buffer"} } ) } -- Use buffer source for `/` (if you enabled `native_menu`, this won't work anymore). cmp.setup.cmdline( "/", { sources = { {name = "buffer"} } } ) -- Use cmdline & path source for ':' (if you enabled `native_menu`, this won't work anymore). cmp.setup.cmdline( ":", { sources = cmp.config.sources( { {name = "path"} }, { {name = "cmdline"} } ) } ) -- Customizing how diagnostics are displayed vim.diagnostic.config({ virtual_text = true, signs = true, underline = true, update_in_insert = true, severity_sort = false, }) vim.o.updatetime = 150 -- Show line diagnostics automatically in hover window -- for diagnostics for specific cursor position vim.cmd [[autocmd! CursorHold,CursorHoldI * lua vim.diagnostic.open_float(nil, {focus=false, scope="cursor"})]]
-- sample rate is 11025 local Kaes = {} Kaes.ohh = {} Kaes.ohh.B = 1.2172689310896 Kaes.ohh.gainV = 1 Kaes.ohh.areas = {} Kaes.ohh.areas[1] = 1 Kaes.ohh.areas[2] = 0.060878348187811 Kaes.ohh.areas[3] = 0.44413692621599 Kaes.ohh.areas[4] = 0.2421205145311 Kaes.ohh.areas[5] = 2.6249065351972 Kaes.ohh.areas[6] = 0.60852610044658 Kaes.ohh.areas[7] = 1.3102614710244 Kaes.ohh.areas[8] = 0.49220365288907 Kaes.ohh.areas[9] = 1.481743650596 Kaes.ohh.kaes = {} Kaes.ohh.kaes[1] = -0.88523029376214 Kaes.ohh.kaes[2] = 0.75890492318403 Kaes.ohh.kaes[3] = -0.29437409300068 Kaes.ohh.kaes[4] = 0.83109994406642 Kaes.ohh.kaes[5] = -0.62360366272147 Kaes.ohh.kaes[6] = 0.36571811336043 Kaes.ohh.kaes[7] = -0.45385500517157 Kaes.ohh.kaes[8] = 0.50130010865025 Kaes.ohh.A = {} Kaes.ohh.A[1] = -3.1649328463705 Kaes.ohh.A[2] = 5.6201129618605 Kaes.ohh.A[3] = -7.537116755316 Kaes.ohh.A[4] = 7.9192363094723 Kaes.ohh.A[5] = -6.3351922311192 Kaes.ohh.A[6] = 4.0329096034119 Kaes.ohh.A[7] = -1.9263816056736 Kaes.ohh.A[8] = 0.50130010865025 Kaes.ohh.Gain = 1.2172689310896 Kaes.ohh.gainN = 0 Kaes.altoU = {} Kaes.altoU.B = 1.1583495865889 Kaes.altoU.gainV = 1 Kaes.altoU.areas = {} Kaes.altoU.areas[1] = 1 Kaes.altoU.areas[2] = 0.016134240155893 Kaes.altoU.areas[3] = 0.26097224921864 Kaes.altoU.areas[4] = 0.38737307170487 Kaes.altoU.areas[5] = 0.43759294684058 Kaes.altoU.areas[6] = 0.32856785264192 Kaes.altoU.areas[7] = 0.15050605452897 Kaes.altoU.areas[8] = 0.13493980643729 Kaes.altoU.areas[9] = 0.16497708781771 Kaes.altoU.areas[10] = 0.24941126800486 Kaes.altoU.areas[11] = 1.3417737647507 Kaes.altoU.kaes = {} Kaes.altoU.kaes[1] = -0.9682438805459 Kaes.altoU.kaes[2] = 0.88355205832739 Kaes.altoU.kaes[3] = 0.19495910343917 Kaes.altoU.kaes[4] = 0.06087508334495 Kaes.altoU.kaes[5] = -0.14230053831037 Kaes.altoU.kaes[6] = -0.3716791823718 Kaes.altoU.kaes[7] = -0.054533101439953 Kaes.altoU.kaes[8] = 0.10015201529423 Kaes.altoU.kaes[9] = 0.20375616013521 Kaes.altoU.kaes[10] = 0.6865087807256 Kaes.altoU.A = {} Kaes.altoU.A[1] = -1.4202912930886 Kaes.altoU.A[2] = 0.18760711521066 Kaes.altoU.A[3] = -0.092735947399129 Kaes.altoU.A[4] = 0.030341078275876 Kaes.altoU.A[5] = 0.78792419858854 Kaes.altoU.A[6] = -0.1026023369255 Kaes.altoU.A[7] = -0.13461912578007 Kaes.altoU.A[8] = 0.011473850246548 Kaes.altoU.A[9] = -0.86731540184513 Kaes.altoU.A[10] = 0.6865087807256 Kaes.altoU.Gain = 1.1583495865889 Kaes.altoU.gainN = 0 Kaes.ahh = {} Kaes.ahh.B = 3.190086220916 Kaes.ahh.gainV = 1 Kaes.ahh.areas = {} Kaes.ahh.areas[1] = 1 Kaes.ahh.areas[2] = 0.088056699891162 Kaes.ahh.areas[3] = 5.0179510926357 Kaes.ahh.areas[4] = 1.1205271712518 Kaes.ahh.areas[5] = 3.5262605792929 Kaes.ahh.areas[6] = 1.3983506659996 Kaes.ahh.areas[7] = 6.219436435075 Kaes.ahh.areas[8] = 5.119183625245 Kaes.ahh.areas[9] = 10.176650096878 Kaes.ahh.kaes = {} Kaes.ahh.kaes[1] = -0.8381395015536 Kaes.ahh.kaes[2] = 0.96550859165548 Kaes.ahh.kaes[3] = -0.63491695398067 Kaes.ahh.kaes[4] = 0.51771966726029 Kaes.ahh.kaes[5] = -0.43209703412172 Kaes.ahh.kaes[6] = 0.63287221145828 Kaes.ahh.kaes[7] = -0.097035865385453 Kaes.ahh.kaes[8] = 0.330643400256 Kaes.ahh.A = {} Kaes.ahh.A[1] = -3.1797600689922 Kaes.ahh.A[2] = 5.3914393327112 Kaes.ahh.A[3] = -6.3833877047987 Kaes.ahh.A[4] = 6.0639859358473 Kaes.ahh.A[5] = -4.50178463851 Kaes.ahh.A[6] = 2.6130651121192 Kaes.ahh.A[7] = -1.1377940949711 Kaes.ahh.A[8] = 0.330643400256 Kaes.ahh.Gain = 3.190086220916 Kaes.ahh.gainN = 0 Kaes.counterTenorE = {} Kaes.counterTenorE.B = 7.485722096999 Kaes.counterTenorE.gainV = 1 Kaes.counterTenorE.areas = {} Kaes.counterTenorE.areas[1] = 1 Kaes.counterTenorE.areas[2] = 1.0803974458321 Kaes.counterTenorE.areas[3] = 24.231231126703 Kaes.counterTenorE.areas[4] = 6.9046159114979 Kaes.counterTenorE.areas[5] = 17.358205695357 Kaes.counterTenorE.areas[6] = 3.9398635700646 Kaes.counterTenorE.areas[7] = 11.330094154894 Kaes.counterTenorE.areas[8] = 2.4314638442145 Kaes.counterTenorE.areas[9] = 9.8819499230203 Kaes.counterTenorE.areas[10] = 7.7736549283025 Kaes.counterTenorE.areas[11] = 56.036035313499 Kaes.counterTenorE.kaes = {} Kaes.counterTenorE.kaes[1] = 0.038645233867767 Kaes.counterTenorE.kaes[2] = 0.91463232460637 Kaes.counterTenorE.kaes[3] = -0.55648446608653 Kaes.counterTenorE.kaes[4] = 0.4308480667766 Kaes.counterTenorE.kaes[5] = -0.63002622247443 Kaes.counterTenorE.kaes[6] = 0.48397190862882 Kaes.counterTenorE.kaes[7] = -0.64662956848753 Kaes.counterTenorE.kaes[8] = 0.6050707155339 Kaes.counterTenorE.kaes[9] = -0.11941222135813 Kaes.counterTenorE.kaes[10] = 0.7563487646204 Kaes.counterTenorE.A = {} Kaes.counterTenorE.A[1] = -2.1178853830746 Kaes.counterTenorE.A[2] = 4.4430319823638 Kaes.counterTenorE.A[3] = -6.7474115043858 Kaes.counterTenorE.A[4] = 8.3194475345947 Kaes.counterTenorE.A[5] = -8.9703658527197 Kaes.counterTenorE.A[6] = 7.8282707795287 Kaes.counterTenorE.A[7] = -5.9700092024896 Kaes.counterTenorE.A[8] = 3.7193319020342 Kaes.counterTenorE.A[9] = -1.652960846685 Kaes.counterTenorE.A[10] = 0.7563487646204 Kaes.counterTenorE.Gain = 7.485722096999 Kaes.counterTenorE.gainN = 0 Kaes.nng = {} Kaes.nng.B = 0.45311900477437 Kaes.nng.gainV = 1 Kaes.nng.areas = {} Kaes.nng.areas[1] = 1 Kaes.nng.areas[2] = 0.038332281723613 Kaes.nng.areas[3] = 0.084056871615817 Kaes.nng.areas[4] = 0.0089095316945733 Kaes.nng.areas[5] = 0.063870313746796 Kaes.nng.areas[6] = 0.015288350499263 Kaes.nng.areas[7] = 0.069959706671626 Kaes.nng.areas[8] = 0.064552309655821 Kaes.nng.areas[9] = 0.20531683248771 Kaes.nng.kaes = {} Kaes.nng.kaes[1] = -0.92616567471064 Kaes.nng.kaes[2] = 0.37360001801297 Kaes.nng.kaes[3] = -0.80832792541566 Kaes.nng.kaes[4] = 0.75516486355414 Kaes.nng.kaes[5] = -0.61372894186945 Kaes.nng.kaes[6] = 0.64132084632461 Kaes.nng.kaes[7] = -0.040200103778396 Kaes.nng.kaes[8] = 0.52160288395264 Kaes.nng.A = {} Kaes.nng.A[1] = -3.0884067141679 Kaes.nng.A[2] = 5.5216941591445 Kaes.nng.A[3] = -7.247235978638 Kaes.nng.A[4] = 7.1384942393989 Kaes.nng.A[5] = -5.6103490867804 Kaes.nng.A[6] = 3.4359762002298 Kaes.nng.A[7] = -1.6401847278165 Kaes.nng.A[8] = 0.52160288395264 Kaes.nng.Gain = 0.45311900477437 Kaes.nng.gainN = 0 Kaes.tenorO = {} Kaes.tenorO.B = 2.194621114963 Kaes.tenorO.gainV = 1 Kaes.tenorO.areas = {} Kaes.tenorO.areas[1] = 1 Kaes.tenorO.areas[2] = 0.26889619030935 Kaes.tenorO.areas[3] = 0.53388191369012 Kaes.tenorO.areas[4] = 0.042133096501404 Kaes.tenorO.areas[5] = 0.70090402010355 Kaes.tenorO.areas[6] = 0.44308549172117 Kaes.tenorO.areas[7] = 2.4667249084471 Kaes.tenorO.areas[8] = 0.23444529023805 Kaes.tenorO.areas[9] = 0.97178114643663 Kaes.tenorO.areas[10] = 0.6277270966062 Kaes.tenorO.areas[11] = 4.8163618382412 Kaes.tenorO.kaes = {} Kaes.tenorO.kaes[1] = -0.57617306701222 Kaes.tenorO.kaes[2] = 0.3300858880687 Kaes.tenorO.kaes[3] = -0.85370833830391 Kaes.tenorO.kaes[4] = 0.88659221575924 Kaes.tenorO.kaes[5] = -0.22536791265782 Kaes.tenorO.kaes[6] = 0.69545404628731 Kaes.tenorO.kaes[7] = -0.82641205626201 Kaes.tenorO.kaes[8] = 0.61127482683207 Kaes.tenorO.kaes[9] = -0.21509989168665 Kaes.tenorO.kaes[10] = 0.76939131446287 Kaes.tenorO.A = {} Kaes.tenorO.A[1] = -3.538468004053 Kaes.tenorO.A[2] = 7.5582450214773 Kaes.tenorO.A[3] = -12.728370449558 Kaes.tenorO.A[4] = 16.75903230238 Kaes.tenorO.A[5] = -17.729591365466 Kaes.tenorO.A[6] = 15.790838577417 Kaes.tenorO.A[7] = -11.340640723914 Kaes.tenorO.A[8] = 6.3491719608293 Kaes.tenorO.A[9] = -2.810235264452 Kaes.tenorO.A[10] = 0.76939131446287 Kaes.tenorO.Gain = 2.194621114963 Kaes.tenorO.gainN = 0 Kaes.altoO = {} Kaes.altoO.B = 1.7046518702342 Kaes.altoO.gainV = 1 Kaes.altoO.areas = {} Kaes.altoO.areas[1] = 1 Kaes.altoO.areas[2] = 0.041164086883766 Kaes.altoO.areas[3] = 0.13498184462419 Kaes.altoO.areas[4] = 0.21381835197295 Kaes.altoO.areas[5] = 0.69064571280117 Kaes.altoO.areas[6] = 1.3239635257525 Kaes.altoO.areas[7] = 0.66546189971597 Kaes.altoO.areas[8] = 0.39531274311883 Kaes.altoO.areas[9] = 0.35447828931739 Kaes.altoO.areas[10] = 0.42339709717772 Kaes.altoO.areas[11] = 2.9058379986929 Kaes.altoO.kaes = {} Kaes.altoO.kaes[1] = -0.92092680221622 Kaes.altoO.kaes[2] = 0.53261382160387 Kaes.altoO.kaes[3] = 0.22602196936204 Kaes.altoO.kaes[4] = 0.52719326217488 Kaes.altoO.kaes[5] = 0.31436260731435 Kaes.altoO.kaes[6] = -0.3310009099142 Kaes.altoO.kaes[7] = -0.2546715821517 Kaes.altoO.kaes[8] = -0.054461112543254 Kaes.altoO.kaes[9] = 0.088598776946594 Kaes.altoO.kaes[10] = 0.74564902448441 Kaes.altoO.A = {} Kaes.altoO.A[1] = -0.95080529539382 Kaes.altoO.A[2] = -0.15659130563707 Kaes.altoO.A[3] = -0.44838884306247 Kaes.altoO.A[4] = 0.15114160155241 Kaes.altoO.A[5] = 1.1199025487335 Kaes.altoO.A[6] = 0.080531387958816 Kaes.altoO.A[7] = -0.4238485943176 Kaes.altoO.A[8] = -0.18075560413966 Kaes.altoO.A[9] = -0.66962851666944 Kaes.altoO.A[10] = 0.74564902448441 Kaes.altoO.Gain = 1.7046518702342 Kaes.altoO.gainN = 0 Kaes.altoI = {} Kaes.altoI.B = 1.2325572020467 Kaes.altoI.gainV = 1 Kaes.altoI.areas = {} Kaes.altoI.areas[1] = 1 Kaes.altoI.areas[2] = 0.28561342631116 Kaes.altoI.areas[3] = 0.29663563841868 Kaes.altoI.areas[4] = 0.16569541147476 Kaes.altoI.areas[5] = 0.12535882986153 Kaes.altoI.areas[6] = 0.11773706298392 Kaes.altoI.areas[7] = 0.1074091141772 Kaes.altoI.areas[8] = 0.12969818580457 Kaes.altoI.areas[9] = 0.1598972739921 Kaes.altoI.areas[10] = 0.2656386765181 Kaes.altoI.areas[11] = 1.5191972563173 Kaes.altoI.kaes = {} Kaes.altoI.kaes[1] = -0.5556775925549 Kaes.altoI.kaes[2] = 0.01893040757848 Kaes.altoI.kaes[3] = -0.28321746284205 Kaes.altoI.kaes[4] = -0.13858785025099 Kaes.altoI.kaes[5] = -0.031352923278115 Kaes.altoI.kaes[6] = -0.04587219262145 Kaes.altoI.kaes[7] = 0.094004156046997 Kaes.altoI.kaes[8] = 0.10428025428551 Kaes.altoI.kaes[9] = 0.24848993933232 Kaes.altoI.kaes[10] = 0.70233826915833 Kaes.altoI.A = {} Kaes.altoI.A[1] = -0.3205971684703 Kaes.altoI.A[2] = 0.14772339794465 Kaes.altoI.A[3] = -0.17559868384436 Kaes.altoI.A[4] = -0.25838975828731 Kaes.altoI.A[5] = -0.092181749947989 Kaes.altoI.A[6] = -0.24755232899997 Kaes.altoI.A[7] = -0.084126582496672 Kaes.altoI.A[8] = 0.090986789276648 Kaes.altoI.A[9] = -0.099252600866224 Kaes.altoI.A[10] = 0.70233826915833 Kaes.altoI.Gain = 1.2325572020467 Kaes.altoI.gainN = 0 Kaes.zhh = {} Kaes.zhh.B = 157.33902117588 Kaes.zhh.gainV = 1 Kaes.zhh.areas = {} Kaes.zhh.areas[1] = 1 Kaes.zhh.areas[2] = 6.2352452834771 Kaes.zhh.areas[3] = 22.482042276707 Kaes.zhh.areas[4] = 89.423358799832 Kaes.zhh.areas[5] = 513.20251844741 Kaes.zhh.areas[6] = 1940.511451648 Kaes.zhh.areas[7] = 8038.0720004455 Kaes.zhh.areas[8] = 16675.611114788 Kaes.zhh.areas[9] = 24755.567584583 Kaes.zhh.kaes = {} Kaes.zhh.kaes[1] = 0.72357537006142 Kaes.zhh.kaes[2] = 0.56574970596303 Kaes.zhh.kaes[3] = 0.59819558197498 Kaes.zhh.kaes[4] = 0.70322097946304 Kaes.zhh.kaes[5] = 0.58169328234501 Kaes.zhh.kaes[6] = 0.61106474461745 Kaes.zhh.kaes[7] = 0.34950432414578 Kaes.zhh.kaes[8] = 0.195021158544 Kaes.zhh.A = {} Kaes.zhh.A[1] = 2.9382722661609 Kaes.zhh.A[2] = 5.1649731373702 Kaes.zhh.A[3] = 6.5729834236609 Kaes.zhh.A[4] = 6.3234794078692 Kaes.zhh.A[5] = 4.5960724771684 Kaes.zhh.A[6] = 2.4882630001659 Kaes.zhh.A[7] = 0.90923679947704 Kaes.zhh.A[8] = 0.195021158544 Kaes.zhh.Gain = 157.33902117588 Kaes.zhh.gainN = 1 Kaes.thh = {} Kaes.thh.B = 0.19667712232217 Kaes.thh.gainV = 0 Kaes.thh.areas = {} Kaes.thh.areas[1] = 1 Kaes.thh.areas[2] = 0.10208696214709 Kaes.thh.areas[3] = 0.015410078321613 Kaes.thh.areas[4] = 0.01052082986776 Kaes.thh.areas[5] = 0.016280017382935 Kaes.thh.areas[6] = 0.027141278534229 Kaes.thh.areas[7] = 0.034999396395277 Kaes.thh.areas[8] = 0.03806027887345 Kaes.thh.areas[9] = 0.038681890444929 Kaes.thh.kaes = {} Kaes.thh.kaes[1] = -0.81473882614817 Kaes.thh.kaes[2] = -0.73769418769797 Kaes.thh.kaes[3] = -0.18854906346305 Kaes.thh.kaes[4] = 0.21488826309494 Kaes.thh.kaes[5] = 0.25013673410425 Kaes.thh.kaes[6] = 0.12645691199786 Kaes.thh.kaes[7] = 0.041895648549139 Kaes.thh.kaes[8] = 0.0081 Kaes.thh.A = {} Kaes.thh.A[1] = -0.024115845755085 Kaes.thh.A[2] = -0.86373527156351 Kaes.thh.A[3] = -0.46448374779813 Kaes.thh.A[4] = 0.053245983699954 Kaes.thh.A[5] = 0.20194373080432 Kaes.thh.A[6] = 0.11820591185034 Kaes.thh.A[7] = 0.041697561425022 Kaes.thh.A[8] = 0.0081 Kaes.thh.Gain = 0.19667712232217 Kaes.thh.gainN = 0.7 Kaes.aww = {} Kaes.aww.B = 1.2172689310896 Kaes.aww.gainV = 1 Kaes.aww.areas = {} Kaes.aww.areas[1] = 1 Kaes.aww.areas[2] = 0.060878348187811 Kaes.aww.areas[3] = 0.44413692621599 Kaes.aww.areas[4] = 0.2421205145311 Kaes.aww.areas[5] = 2.6249065351972 Kaes.aww.areas[6] = 0.60852610044658 Kaes.aww.areas[7] = 1.3102614710244 Kaes.aww.areas[8] = 0.49220365288907 Kaes.aww.areas[9] = 1.481743650596 Kaes.aww.kaes = {} Kaes.aww.kaes[1] = -0.88523029376214 Kaes.aww.kaes[2] = 0.75890492318403 Kaes.aww.kaes[3] = -0.29437409300068 Kaes.aww.kaes[4] = 0.83109994406642 Kaes.aww.kaes[5] = -0.62360366272147 Kaes.aww.kaes[6] = 0.36571811336043 Kaes.aww.kaes[7] = -0.45385500517157 Kaes.aww.kaes[8] = 0.50130010865025 Kaes.aww.A = {} Kaes.aww.A[1] = -3.1649328463705 Kaes.aww.A[2] = 5.6201129618605 Kaes.aww.A[3] = -7.537116755316 Kaes.aww.A[4] = 7.9192363094723 Kaes.aww.A[5] = -6.3351922311192 Kaes.aww.A[6] = 4.0329096034119 Kaes.aww.A[7] = -1.9263816056736 Kaes.aww.A[8] = 0.50130010865025 Kaes.aww.Gain = 1.2172689310896 Kaes.aww.gainN = 0 Kaes.bassE = {} Kaes.bassE.B = 3.5088576424109 Kaes.bassE.gainV = 1 Kaes.bassE.areas = {} Kaes.bassE.areas[1] = 1 Kaes.bassE.areas[2] = 0.61619885646989 Kaes.bassE.areas[3] = 4.3667341352822 Kaes.bassE.areas[4] = 0.65508785060295 Kaes.bassE.areas[5] = 1.9086367519548 Kaes.bassE.areas[6] = 0.38082057219084 Kaes.bassE.areas[7] = 1.4499408406978 Kaes.bassE.areas[8] = 0.37661305370512 Kaes.bassE.areas[9] = 2.2815278982734 Kaes.bassE.areas[10] = 1.6046608868214 Kaes.bassE.areas[11] = 12.312081954705 Kaes.bassE.kaes = {} Kaes.bassE.kaes[1] = -0.23747148563662 Kaes.bassE.kaes[2] = 0.75267624208881 Kaes.bassE.kaes[3] = -0.73910351563866 Kaes.bassE.kaes[4] = 0.48895614610915 Kaes.bassE.kaes[5] = -0.66732677811939 Kaes.bassE.kaes[6] = 0.58397574964181 Kaes.bassE.kaes[7] = -0.58762448251959 Kaes.bassE.kaes[8] = 0.71663424889128 Kaes.bassE.kaes[9] = -0.17417244732117 Kaes.bassE.kaes[10] = 0.76939131446287 Kaes.bassE.A = {} Kaes.bassE.A[1] = -3.0729966659288 Kaes.bassE.A[2] = 6.7677719021027 Kaes.bassE.A[3] = -11.071991462561 Kaes.bassE.A[4] = 14.355956914813 Kaes.bassE.A[5] = -15.425230346147 Kaes.bassE.A[6] = 13.540725821768 Kaes.bassE.A[7] = -9.8447181758686 Kaes.bassE.A[8] = 5.6994780471569 Kaes.bassE.A[9] = -2.4354057479373 Kaes.bassE.A[10] = 0.76939131446287 Kaes.bassE.Gain = 3.5088576424109 Kaes.bassE.gainN = 0 Kaes.thz = {} Kaes.thz.B = 157.33902117588 Kaes.thz.gainV = 1 Kaes.thz.areas = {} Kaes.thz.areas[1] = 1 Kaes.thz.areas[2] = 6.2352452834771 Kaes.thz.areas[3] = 22.482042276707 Kaes.thz.areas[4] = 89.423358799832 Kaes.thz.areas[5] = 513.20251844741 Kaes.thz.areas[6] = 1940.511451648 Kaes.thz.areas[7] = 8038.0720004455 Kaes.thz.areas[8] = 16675.611114788 Kaes.thz.areas[9] = 24755.567584583 Kaes.thz.kaes = {} Kaes.thz.kaes[1] = 0.72357537006142 Kaes.thz.kaes[2] = 0.56574970596303 Kaes.thz.kaes[3] = 0.59819558197498 Kaes.thz.kaes[4] = 0.70322097946304 Kaes.thz.kaes[5] = 0.58169328234501 Kaes.thz.kaes[6] = 0.61106474461745 Kaes.thz.kaes[7] = 0.34950432414578 Kaes.thz.kaes[8] = 0.195021158544 Kaes.thz.A = {} Kaes.thz.A[1] = 2.9382722661609 Kaes.thz.A[2] = 5.1649731373702 Kaes.thz.A[3] = 6.5729834236609 Kaes.thz.A[4] = 6.3234794078692 Kaes.thz.A[5] = 4.5960724771684 Kaes.thz.A[6] = 2.4882630001659 Kaes.thz.A[7] = 0.90923679947704 Kaes.thz.A[8] = 0.195021158544 Kaes.thz.Gain = 157.33902117588 Kaes.thz.gainN = 1 Kaes.shh = {} Kaes.shh.B = 157.33902117588 Kaes.shh.gainV = 0 Kaes.shh.areas = {} Kaes.shh.areas[1] = 1 Kaes.shh.areas[2] = 6.2352452834771 Kaes.shh.areas[3] = 22.482042276707 Kaes.shh.areas[4] = 89.423358799832 Kaes.shh.areas[5] = 513.20251844741 Kaes.shh.areas[6] = 1940.511451648 Kaes.shh.areas[7] = 8038.0720004455 Kaes.shh.areas[8] = 16675.611114788 Kaes.shh.areas[9] = 24755.567584583 Kaes.shh.kaes = {} Kaes.shh.kaes[1] = 0.72357537006142 Kaes.shh.kaes[2] = 0.56574970596303 Kaes.shh.kaes[3] = 0.59819558197498 Kaes.shh.kaes[4] = 0.70322097946304 Kaes.shh.kaes[5] = 0.58169328234501 Kaes.shh.kaes[6] = 0.61106474461745 Kaes.shh.kaes[7] = 0.34950432414578 Kaes.shh.kaes[8] = 0.195021158544 Kaes.shh.A = {} Kaes.shh.A[1] = 2.9382722661609 Kaes.shh.A[2] = 5.1649731373702 Kaes.shh.A[3] = 6.5729834236609 Kaes.shh.A[4] = 6.3234794078692 Kaes.shh.A[5] = 4.5960724771684 Kaes.shh.A[6] = 2.4882630001659 Kaes.shh.A[7] = 0.90923679947704 Kaes.shh.A[8] = 0.195021158544 Kaes.shh.Gain = 157.33902117588 Kaes.shh.gainN = 0.7 Kaes.tenorI = {} Kaes.tenorI.B = 2.6941744866446 Kaes.tenorI.gainV = 1 Kaes.tenorI.areas = {} Kaes.tenorI.areas[1] = 1 Kaes.tenorI.areas[2] = 1.1576089870161 Kaes.tenorI.areas[3] = 6.4316706003408 Kaes.tenorI.areas[4] = 0.91158888470934 Kaes.tenorI.areas[5] = 1.3196993974341 Kaes.tenorI.areas[6] = 0.26759943209992 Kaes.tenorI.areas[7] = 0.7086225652888 Kaes.tenorI.areas[8] = 0.23455707278156 Kaes.tenorI.areas[9] = 0.9476051853814 Kaes.tenorI.areas[10] = 0.96635078929917 Kaes.tenorI.areas[11] = 7.2585761644867 Kaes.tenorI.kaes = {} Kaes.tenorI.kaes[1] = 0.073047984117845 Kaes.tenorI.kaes[2] = 0.69493573831578 Kaes.tenorI.kaes[3] = -0.75172091179259 Kaes.tenorI.kaes[4] = 0.18290353424558 Kaes.tenorI.kaes[5] = -0.66282412974692 Kaes.tenorI.kaes[6] = 0.45176520747184 Kaes.tenorI.kaes[7] = -0.50262481649533 Kaes.tenorI.kaes[8] = 0.60317279432343 Kaes.tenorI.kaes[9] = 0.0097941667236614 Kaes.tenorI.kaes[10] = 0.76501899780292 Kaes.tenorI.A = {} Kaes.tenorI.A[1] = -1.4735899769346 Kaes.tenorI.A[2] = 2.9850186864859 Kaes.tenorI.A[3] = -4.3635559683666 Kaes.tenorI.A[4] = 4.862885559021 Kaes.tenorI.A[5] = -5.5654310354561 Kaes.tenorI.A[6] = 4.5892533795115 Kaes.tenorI.A[7] = -3.8324688140063 Kaes.tenorI.A[8] = 2.5277191777596 Kaes.tenorI.A[9] = -1.1232622365112 Kaes.tenorI.A[10] = 0.76501899780292 Kaes.tenorI.Gain = 2.6941744866446 Kaes.tenorI.gainN = 0 Kaes.uhh = {} Kaes.uhh.B = 1.4152479573291 Kaes.uhh.gainV = 1 Kaes.uhh.areas = {} Kaes.uhh.areas[1] = 1 Kaes.uhh.areas[2] = 0.046282750710118 Kaes.uhh.areas[3] = 0.57884300479461 Kaes.uhh.areas[4] = 0.28736532606598 Kaes.uhh.areas[5] = 1.2697896971983 Kaes.uhh.areas[6] = 0.36409725191292 Kaes.uhh.areas[7] = 0.8771345660223 Kaes.uhh.areas[8] = 0.55795158732452 Kaes.uhh.areas[9] = 2.0029267807241 Kaes.uhh.kaes = {} Kaes.uhh.kaes[1] = -0.91152917186352 Kaes.uhh.kaes[2] = 0.85192499172347 Kaes.uhh.kaes[3] = -0.33649835535413 Kaes.uhh.kaes[4] = 0.63090980438984 Kaes.uhh.kaes[5] = -0.55431769363115 Kaes.uhh.kaes[6] = 0.41332916760288 Kaes.uhh.kaes[7] = -0.22241380975867 Kaes.uhh.kaes[8] = 0.56424983373992 Kaes.uhh.A = {} Kaes.uhh.A[1] = -2.9833223327966 Kaes.uhh.A[2] = 4.8916664043349 Kaes.uhh.A[3] = -6.1549531567254 Kaes.uhh.A[4] = 6.3569924188511 Kaes.uhh.A[5] = -5.1650266325521 Kaes.uhh.A[6] = 3.4611719949191 Kaes.uhh.A[7] = -1.8349413039378 Kaes.uhh.A[8] = 0.56424983373992 Kaes.uhh.Gain = 1.4152479573291 Kaes.uhh.gainN = 0 Kaes.nnn = {} Kaes.nnn.B = 0.45311900477437 Kaes.nnn.gainV = 1 Kaes.nnn.areas = {} Kaes.nnn.areas[1] = 1 Kaes.nnn.areas[2] = 0.038332281723613 Kaes.nnn.areas[3] = 0.084056871615817 Kaes.nnn.areas[4] = 0.0089095316945733 Kaes.nnn.areas[5] = 0.063870313746796 Kaes.nnn.areas[6] = 0.015288350499263 Kaes.nnn.areas[7] = 0.069959706671626 Kaes.nnn.areas[8] = 0.064552309655821 Kaes.nnn.areas[9] = 0.20531683248771 Kaes.nnn.kaes = {} Kaes.nnn.kaes[1] = -0.92616567471064 Kaes.nnn.kaes[2] = 0.37360001801297 Kaes.nnn.kaes[3] = -0.80832792541566 Kaes.nnn.kaes[4] = 0.75516486355414 Kaes.nnn.kaes[5] = -0.61372894186945 Kaes.nnn.kaes[6] = 0.64132084632461 Kaes.nnn.kaes[7] = -0.040200103778396 Kaes.nnn.kaes[8] = 0.52160288395264 Kaes.nnn.A = {} Kaes.nnn.A[1] = -3.0884067141679 Kaes.nnn.A[2] = 5.5216941591445 Kaes.nnn.A[3] = -7.247235978638 Kaes.nnn.A[4] = 7.1384942393989 Kaes.nnn.A[5] = -5.6103490867804 Kaes.nnn.A[6] = 3.4359762002298 Kaes.nnn.A[7] = -1.6401847278165 Kaes.nnn.A[8] = 0.52160288395264 Kaes.nnn.Gain = 0.45311900477437 Kaes.nnn.gainN = 0 Kaes.hoo = {} Kaes.hoo.B = 1.0599495190387 Kaes.hoo.gainV = 0 Kaes.hoo.areas = {} Kaes.hoo.areas[1] = 1 Kaes.hoo.areas[2] = 0.017348731730435 Kaes.hoo.areas[3] = 0.15400250307244 Kaes.hoo.areas[4] = 0.067106715159801 Kaes.hoo.areas[5] = 0.81156891779124 Kaes.hoo.areas[6] = 0.12619147953443 Kaes.hoo.areas[7] = 0.49678707204434 Kaes.hoo.areas[8] = 0.1870888054235 Kaes.hoo.areas[9] = 1.1234929829103 Kaes.hoo.kaes = {} Kaes.hoo.kaes[1] = -0.96589422842072 Kaes.hoo.kaes[2] = 0.7975067789807 Kaes.hoo.kaes[3] = -0.39299939010852 Kaes.hoo.kaes[4] = 0.84725486256078 Kaes.hoo.kaes[5] = -0.73086626414528 Kaes.hoo.kaes[6] = 0.59487696899153 Kaes.hoo.kaes[7] = -0.45285742168235 Kaes.hoo.kaes[8] = 0.71449503252849 Kaes.hoo.A = {} Kaes.hoo.A[1] = -4.0295560781273 Kaes.hoo.A[2] = 8.5065997077972 Kaes.hoo.A[3] = -12.59523792424 Kaes.hoo.A[4] = 13.924667822671 Kaes.hoo.A[5] = -11.523431718125 Kaes.hoo.A[6] = 7.1309119867367 Kaes.hoo.A[7] = -3.1007700818467 Kaes.hoo.A[8] = 0.71449503252849 Kaes.hoo.Gain = 1.0599495190387 Kaes.hoo.gainN = 0.1 Kaes.ooo = {} Kaes.ooo.B = 1.0599495190387 Kaes.ooo.gainV = 1 Kaes.ooo.areas = {} Kaes.ooo.areas[1] = 1 Kaes.ooo.areas[2] = 0.017348731730435 Kaes.ooo.areas[3] = 0.15400250307244 Kaes.ooo.areas[4] = 0.067106715159801 Kaes.ooo.areas[5] = 0.81156891779124 Kaes.ooo.areas[6] = 0.12619147953443 Kaes.ooo.areas[7] = 0.49678707204434 Kaes.ooo.areas[8] = 0.1870888054235 Kaes.ooo.areas[9] = 1.1234929829103 Kaes.ooo.kaes = {} Kaes.ooo.kaes[1] = -0.96589422842072 Kaes.ooo.kaes[2] = 0.7975067789807 Kaes.ooo.kaes[3] = -0.39299939010852 Kaes.ooo.kaes[4] = 0.84725486256078 Kaes.ooo.kaes[5] = -0.73086626414528 Kaes.ooo.kaes[6] = 0.59487696899153 Kaes.ooo.kaes[7] = -0.45285742168235 Kaes.ooo.kaes[8] = 0.71449503252849 Kaes.ooo.A = {} Kaes.ooo.A[1] = -4.0295560781273 Kaes.ooo.A[2] = 8.5065997077972 Kaes.ooo.A[3] = -12.59523792424 Kaes.ooo.A[4] = 13.924667822671 Kaes.ooo.A[5] = -11.523431718125 Kaes.ooo.A[6] = 7.1309119867367 Kaes.ooo.A[7] = -3.1007700818467 Kaes.ooo.A[8] = 0.71449503252849 Kaes.ooo.Gain = 1.0599495190387 Kaes.ooo.gainN = 0 Kaes.zzz = {} Kaes.zzz.B = 0.19667712232217 Kaes.zzz.gainV = 1 Kaes.zzz.areas = {} Kaes.zzz.areas[1] = 1 Kaes.zzz.areas[2] = 0.10208696214709 Kaes.zzz.areas[3] = 0.015410078321613 Kaes.zzz.areas[4] = 0.01052082986776 Kaes.zzz.areas[5] = 0.016280017382935 Kaes.zzz.areas[6] = 0.027141278534229 Kaes.zzz.areas[7] = 0.034999396395277 Kaes.zzz.areas[8] = 0.03806027887345 Kaes.zzz.areas[9] = 0.038681890444929 Kaes.zzz.kaes = {} Kaes.zzz.kaes[1] = -0.81473882614817 Kaes.zzz.kaes[2] = -0.73769418769797 Kaes.zzz.kaes[3] = -0.18854906346305 Kaes.zzz.kaes[4] = 0.21488826309494 Kaes.zzz.kaes[5] = 0.25013673410425 Kaes.zzz.kaes[6] = 0.12645691199786 Kaes.zzz.kaes[7] = 0.041895648549139 Kaes.zzz.kaes[8] = 0.0081 Kaes.zzz.A = {} Kaes.zzz.A[1] = -0.024115845755085 Kaes.zzz.A[2] = -0.86373527156351 Kaes.zzz.A[3] = -0.46448374779813 Kaes.zzz.A[4] = 0.053245983699954 Kaes.zzz.A[5] = 0.20194373080432 Kaes.zzz.A[6] = 0.11820591185034 Kaes.zzz.A[7] = 0.041697561425022 Kaes.zzz.A[8] = 0.0081 Kaes.zzz.Gain = 0.19667712232217 Kaes.zzz.gainN = 1 Kaes.counterTenorA = {} Kaes.counterTenorA.B = 5.5616908320416 Kaes.counterTenorA.gainV = 1 Kaes.counterTenorA.areas = {} Kaes.counterTenorA.areas[1] = 1 Kaes.counterTenorA.areas[2] = 0.66671594457583 Kaes.counterTenorA.areas[3] = 2.4201054615286 Kaes.counterTenorA.areas[4] = 0.32861550403488 Kaes.counterTenorA.areas[5] = 2.8339136636568 Kaes.counterTenorA.areas[6] = 2.2420801725548 Kaes.counterTenorA.areas[7] = 11.044535601116 Kaes.counterTenorA.areas[8] = 2.1461379982845 Kaes.counterTenorA.areas[9] = 6.5558583685256 Kaes.counterTenorA.areas[10] = 4.8945020044526 Kaes.counterTenorA.areas[11] = 30.932404911216 Kaes.counterTenorA.kaes = {} Kaes.counterTenorA.kaes[1] = -0.1999645209544 Kaes.counterTenorA.kaes[2] = 0.56802428332436 Kaes.counterTenorA.kaes[3] = -0.76089569792507 Kaes.counterTenorA.kaes[4] = 0.79218183510084 Kaes.counterTenorA.kaes[5] = -0.11659460397291 Kaes.counterTenorA.kaes[6] = 0.66250545500114 Kaes.counterTenorA.kaes[7] = -0.67459766446164 Kaes.counterTenorA.kaes[8] = 0.50674812817207 Kaes.counterTenorA.kaes[9] = -0.14509205911053 Kaes.counterTenorA.kaes[10] = 0.72676949109932 Kaes.counterTenorA.A = {} Kaes.counterTenorA.A[1] = -2.485882244656 Kaes.counterTenorA.A[2] = 4.6633975534499 Kaes.counterTenorA.A[3] = -7.2678916955905 Kaes.counterTenorA.A[4] = 9.1206160808512 Kaes.counterTenorA.A[5] = -9.251813739262 Kaes.counterTenorA.A[6] = 8.4861003131769 Kaes.counterTenorA.A[7] = -6.3309604426212 Kaes.counterTenorA.A[8] = 3.7862220958378 Kaes.counterTenorA.A[9] = -1.8751186934191 Kaes.counterTenorA.A[10] = 0.72676949109932 Kaes.counterTenorA.Gain = 5.5616908320416 Kaes.counterTenorA.gainN = 0 Kaes.tenorU = {} Kaes.tenorU.B = 1.7278311224963 Kaes.tenorU.gainV = 1 Kaes.tenorU.areas = {} Kaes.tenorU.areas[1] = 1 Kaes.tenorU.areas[2] = 0.039193849953601 Kaes.tenorU.areas[3] = 0.084214693821866 Kaes.tenorU.areas[4] = 0.033693892802856 Kaes.tenorU.areas[5] = 1.4161232357091 Kaes.tenorU.areas[6] = 0.72731031905778 Kaes.tenorU.areas[7] = 1.4170710838673 Kaes.tenorU.areas[8] = 0.13887886013003 Kaes.tenorU.areas[9] = 0.47210540313702 Kaes.tenorU.areas[10] = 0.37235669556612 Kaes.tenorU.areas[11] = 2.9854003878669 Kaes.tenorU.kaes = {} Kaes.tenorU.kaes[1] = -0.92456874151949 Kaes.tenorU.kaes[2] = 0.36481140195753 Kaes.tenorU.kaes[3] = -0.4284743161226 Kaes.tenorU.kaes[4] = 0.9535198030976 Kaes.tenorU.kaes[5] = -0.32135958454109 Kaes.tenorU.kaes[6] = 0.32165955359837 Kaes.tenorU.kaes[7] = -0.82148672498649 Kaes.tenorU.kaes[8] = 0.54539300443708 Kaes.tenorU.kaes[9] = -0.11812100001182 Kaes.tenorU.kaes[10] = 0.77821105796884 Kaes.tenorU.A = {} Kaes.tenorU.A[1] = -3.1051417318744 Kaes.tenorU.A[2] = 5.795433439832 Kaes.tenorU.A[3] = -9.4462439508552 Kaes.tenorU.A[4] = 12.063122762693 Kaes.tenorU.A[5] = -12.346175304104 Kaes.tenorU.A[6] = 11.344515364185 Kaes.tenorU.A[7] = -8.4386177707191 Kaes.tenorU.A[8] = 4.8625376064698 Kaes.tenorU.A[9] = -2.4630410840154 Kaes.tenorU.A[10] = 0.77821105796884 Kaes.tenorU.Gain = 1.7278311224963 Kaes.tenorU.gainN = 0 Kaes.tenorA = {} Kaes.tenorA.B = 5.0115644087922 Kaes.tenorA.gainV = 1 Kaes.tenorA.areas = {} Kaes.tenorA.areas[1] = 1 Kaes.tenorA.areas[2] = 0.52049142873833 Kaes.tenorA.areas[3] = 1.7548900156723 Kaes.tenorA.areas[4] = 0.24758903518933 Kaes.tenorA.areas[5] = 2.6750975184055 Kaes.tenorA.areas[6] = 1.8978953008264 Kaes.tenorA.areas[7] = 9.3616643339252 Kaes.tenorA.areas[8] = 1.7218086380404 Kaes.tenorA.areas[9] = 5.7875776846001 Kaes.tenorA.areas[10] = 3.9741243932766 Kaes.tenorA.areas[11] = 25.115777823472 Kaes.tenorA.kaes = {} Kaes.tenorA.kaes[1] = -0.31536420541321 Kaes.tenorA.kaes[2] = 0.54250182533843 Kaes.tenorA.kaes[3] = -0.75271747778554 Kaes.tenorA.kaes[4] = 0.83057434955876 Kaes.tenorA.kaes[5] = -0.16995483008644 Kaes.tenorA.kaes[6] = 0.66288285467777 Kaes.tenorA.kaes[7] = -0.68930160385729 Kaes.tenorA.kaes[8] = 0.54142494098374 Kaes.tenorA.kaes[9] = -0.18577224308385 Kaes.tenorA.kaes[10] = 0.72676949109932 Kaes.tenorA.A = {} Kaes.tenorA.A[1] = -2.8395351824615 Kaes.tenorA.A[2] = 5.6339762354833 Kaes.tenorA.A[3] = -8.9527867924521 Kaes.tenorA.A[4] = 11.414178285835 Kaes.tenorA.A[5] = -11.797597809816 Kaes.tenorA.A[6] = 10.63162708085 Kaes.tenorA.A[7] = -7.7992815972476 Kaes.tenorA.A[8] = 4.5782810024167 Kaes.tenorA.A[9] = -2.1513360182784 Kaes.tenorA.A[10] = 0.72676949109932 Kaes.tenorA.Gain = 5.0115644087922 Kaes.tenorA.gainN = 0 Kaes.aaa = {} Kaes.aaa.B = 1.8320727177784 Kaes.aaa.gainV = 1 Kaes.aaa.areas = {} Kaes.aaa.areas[1] = 1 Kaes.aaa.areas[2] = 0.13779785890095 Kaes.aaa.areas[3] = 0.98447264186222 Kaes.aaa.areas[4] = 0.23970313942624 Kaes.aaa.areas[5] = 2.001529235874 Kaes.aaa.areas[6] = 0.82530360653726 Kaes.aaa.areas[7] = 2.7287171108165 Kaes.aaa.areas[8] = 2.3648211973696 Kaes.aaa.areas[9] = 3.3564904432279 Kaes.aaa.kaes = {} Kaes.aaa.kaes[1] = -0.75778147616827 Kaes.aaa.kaes[2] = 0.75443022193448 Kaes.aaa.kaes[3] = -0.60838444430922 Kaes.aaa.kaes[4] = 0.78609702227407 Kaes.aaa.kaes[5] = -0.41609309602241 Kaes.aaa.kaes[6] = 0.53556623769387 Kaes.aaa.kaes[7] = -0.071442657624089 Kaes.aaa.kaes[8] = 0.173329003584 Kaes.aaa.A = {} Kaes.aaa.A[1] = -2.8672878525758 Kaes.aaa.A[2] = 4.813079787524 Kaes.aaa.A[3] = -5.5088425414395 Kaes.aaa.A[4] = 4.7190571570285 Kaes.aaa.A[5] = -3.0215923497795 Kaes.aaa.A[6] = 1.5489055062637 Kaes.aaa.A[7] = -0.56628045637426 Kaes.aaa.A[8] = 0.173329003584 Kaes.aaa.Gain = 1.8320727177784 Kaes.aaa.gainN = 0 Kaes.sopranoI = {} Kaes.sopranoI.B = 3.2057005656857 Kaes.sopranoI.gainV = 1 Kaes.sopranoI.areas = {} Kaes.sopranoI.areas[1] = 1 Kaes.sopranoI.areas[2] = 1.1966863208824 Kaes.sopranoI.areas[3] = 1.57080183389 Kaes.sopranoI.areas[4] = 0.8240084530592 Kaes.sopranoI.areas[5] = 0.33372098773068 Kaes.sopranoI.areas[6] = 0.16999494306039 Kaes.sopranoI.areas[7] = 0.16299734739651 Kaes.sopranoI.areas[8] = 0.27576041078482 Kaes.sopranoI.areas[9] = 0.64331597552892 Kaes.sopranoI.areas[10] = 1.3276870390118 Kaes.sopranoI.areas[11] = 10.276516116837 Kaes.sopranoI.kaes = {} Kaes.sopranoI.kaes[1] = 0.08953773645906 Kaes.sopranoI.kaes[2] = 0.13518233578072 Kaes.sopranoI.kaes[3] = -0.31183822154955 Kaes.sopranoI.kaes[4] = -0.42349053937336 Kaes.sopranoI.kaes[5] = -0.32503646333592 Kaes.sopranoI.kaes[6] = -0.021014287310607 Kaes.sopranoI.kaes[7] = 0.25700528659759 Kaes.sopranoI.kaes[8] = 0.39991840745501 Kaes.sopranoI.kaes[9] = 0.34721969394976 Kaes.sopranoI.kaes[10] = 0.77117135555446 Kaes.sopranoI.A = {} Kaes.sopranoI.A[1] = 0.84003324217226 Kaes.sopranoI.A[2] = 0.67984049843794 Kaes.sopranoI.A[3] = -0.22088699624241 Kaes.sopranoI.A[4] = -1.0539943955909 Kaes.sopranoI.A[5] = -1.3409738217123 Kaes.sopranoI.A[6] = -0.85396109052796 Kaes.sopranoI.A[7] = 0.0043309736594883 Kaes.sopranoI.A[8] = 0.74735023059505 Kaes.sopranoI.A[9] = 0.7885358897883 Kaes.sopranoI.A[10] = 0.77117135555446 Kaes.sopranoI.Gain = 3.2057005656857 Kaes.sopranoI.gainN = 0 Kaes.sopranoE = {} Kaes.sopranoE.B = 3.101449237766 Kaes.sopranoE.gainV = 1 Kaes.sopranoE.areas = {} Kaes.sopranoE.areas[1] = 1 Kaes.sopranoE.areas[2] = 0.29448701636473 Kaes.sopranoE.areas[3] = 0.75266609250657 Kaes.sopranoE.areas[4] = 0.38199844623061 Kaes.sopranoE.areas[5] = 0.24638797786748 Kaes.sopranoE.areas[6] = 0.25389506265228 Kaes.sopranoE.areas[7] = 0.31391440717237 Kaes.sopranoE.areas[8] = 0.56526481262996 Kaes.sopranoE.areas[9] = 0.84681580694665 Kaes.sopranoE.areas[10] = 1.5582782359621 Kaes.sopranoE.areas[11] = 9.6189873744392 Kaes.sopranoE.kaes = {} Kaes.sopranoE.kaes[1] = -0.54501356500008 Kaes.sopranoE.kaes[2] = 0.43754735793669 Kaes.sopranoE.kaes[3] = -0.32667597657409 Kaes.sopranoE.kaes[4] = -0.21580744453187 Kaes.sopranoE.kaes[5] = 0.015005675141415 Kaes.sopranoE.kaes[6] = 0.10570331723883 Kaes.sopranoE.kaes[7] = 0.28589211368543 Kaes.sopranoE.kaes[8] = 0.19938733696459 Kaes.sopranoE.kaes[9] = 0.29581480654079 Kaes.sopranoE.kaes[10] = 0.72117004457476 Kaes.sopranoE.A = {} Kaes.sopranoE.A[1] = -0.49803458420275 Kaes.sopranoE.A[2] = 0.4835023037883 Kaes.sopranoE.A[3] = 0.0093955027050026 Kaes.sopranoE.A[4] = -0.3043595401379 Kaes.sopranoE.A[5] = -0.065060154514755 Kaes.sopranoE.A[6] = -0.26248456923345 Kaes.sopranoE.A[7] = 0.1312904435004 Kaes.sopranoE.A[8] = 0.33501303690926 Kaes.sopranoE.A[9] = -0.21720202520469 Kaes.sopranoE.A[10] = 0.72117004457476 Kaes.sopranoE.Gain = 3.101449237766 Kaes.sopranoE.gainN = 0 Kaes.jjj = {} Kaes.jjj.B = 157.33902117588 Kaes.jjj.gainV = 1 Kaes.jjj.areas = {} Kaes.jjj.areas[1] = 1 Kaes.jjj.areas[2] = 6.2352452834771 Kaes.jjj.areas[3] = 22.482042276707 Kaes.jjj.areas[4] = 89.423358799832 Kaes.jjj.areas[5] = 513.20251844741 Kaes.jjj.areas[6] = 1940.511451648 Kaes.jjj.areas[7] = 8038.0720004455 Kaes.jjj.areas[8] = 16675.611114788 Kaes.jjj.areas[9] = 24755.567584583 Kaes.jjj.kaes = {} Kaes.jjj.kaes[1] = 0.72357537006142 Kaes.jjj.kaes[2] = 0.56574970596303 Kaes.jjj.kaes[3] = 0.59819558197498 Kaes.jjj.kaes[4] = 0.70322097946304 Kaes.jjj.kaes[5] = 0.58169328234501 Kaes.jjj.kaes[6] = 0.61106474461745 Kaes.jjj.kaes[7] = 0.34950432414578 Kaes.jjj.kaes[8] = 0.195021158544 Kaes.jjj.A = {} Kaes.jjj.A[1] = 2.9382722661609 Kaes.jjj.A[2] = 5.1649731373702 Kaes.jjj.A[3] = 6.5729834236609 Kaes.jjj.A[4] = 6.3234794078692 Kaes.jjj.A[5] = 4.5960724771684 Kaes.jjj.A[6] = 2.4882630001659 Kaes.jjj.A[7] = 0.90923679947704 Kaes.jjj.A[8] = 0.195021158544 Kaes.jjj.Gain = 157.33902117588 Kaes.jjj.gainN = 0.1 Kaes.altoE = {} Kaes.altoE.B = 1.5053301660428 Kaes.altoE.gainV = 1 Kaes.altoE.areas = {} Kaes.altoE.areas[1] = 1 Kaes.altoE.areas[2] = 0.31431721907677 Kaes.altoE.areas[3] = 0.61440085490998 Kaes.altoE.areas[4] = 0.19033697551649 Kaes.altoE.areas[5] = 0.25479345785657 Kaes.altoE.areas[6] = 0.29400161027885 Kaes.altoE.areas[7] = 0.16498283550543 Kaes.altoE.areas[8] = 0.20274381081815 Kaes.altoE.areas[9] = 0.26004969164327 Kaes.altoE.areas[10] = 0.38996115726137 Kaes.altoE.areas[11] = 2.2660189087986 Kaes.altoE.kaes = {} Kaes.altoE.kaes[1] = -0.52170265364466 Kaes.altoE.kaes[2] = 0.32311596407834 Kaes.altoE.kaes[3] = -0.52695904598988 Kaes.altoE.kaes[4] = 0.1448035845396 Kaes.altoE.kaes[5] = 0.071444068467115 Kaes.altoE.kaes[6] = -0.28109618083673 Kaes.altoE.kaes[7] = 0.10268762323927 Kaes.altoE.kaes[8] = 0.12382602720293 Kaes.altoE.kaes[9] = 0.19986045746315 Kaes.altoE.kaes[10] = 0.70635234635638 Kaes.altoE.A = {} Kaes.altoE.A[1] = -0.79681471482797 Kaes.altoE.A[2] = 0.65305492643296 Kaes.altoE.A[3] = -0.36140059659646 Kaes.altoE.A[4] = -0.38210144555991 Kaes.altoE.A[5] = 0.53213369303026 Kaes.altoE.A[6] = -0.45196780873864 Kaes.altoE.A[7] = -0.19373177677311 Kaes.altoE.A[8] = 0.42692047182913 Kaes.altoE.A[9] = -0.46268859094205 Kaes.altoE.A[10] = 0.70635234635638 Kaes.altoE.Gain = 1.5053301660428 Kaes.altoE.gainN = 0 Kaes.ddd = {} Kaes.ddd.B = 0.19667712232217 Kaes.ddd.gainV = 1 Kaes.ddd.areas = {} Kaes.ddd.areas[1] = 1 Kaes.ddd.areas[2] = 0.10208696214709 Kaes.ddd.areas[3] = 0.015410078321613 Kaes.ddd.areas[4] = 0.01052082986776 Kaes.ddd.areas[5] = 0.016280017382935 Kaes.ddd.areas[6] = 0.027141278534229 Kaes.ddd.areas[7] = 0.034999396395277 Kaes.ddd.areas[8] = 0.03806027887345 Kaes.ddd.areas[9] = 0.038681890444929 Kaes.ddd.kaes = {} Kaes.ddd.kaes[1] = -0.81473882614817 Kaes.ddd.kaes[2] = -0.73769418769797 Kaes.ddd.kaes[3] = -0.18854906346305 Kaes.ddd.kaes[4] = 0.21488826309494 Kaes.ddd.kaes[5] = 0.25013673410425 Kaes.ddd.kaes[6] = 0.12645691199786 Kaes.ddd.kaes[7] = 0.041895648549139 Kaes.ddd.kaes[8] = 0.0081 Kaes.ddd.A = {} Kaes.ddd.A[1] = -0.024115845755085 Kaes.ddd.A[2] = -0.86373527156351 Kaes.ddd.A[3] = -0.46448374779813 Kaes.ddd.A[4] = 0.053245983699954 Kaes.ddd.A[5] = 0.20194373080432 Kaes.ddd.A[6] = 0.11820591185034 Kaes.ddd.A[7] = 0.041697561425022 Kaes.ddd.A[8] = 0.0081 Kaes.ddd.Gain = 0.19667712232217 Kaes.ddd.gainN = 0.1 Kaes.bbb = {} Kaes.bbb.B = 14.019447654305 Kaes.bbb.gainV = 1 Kaes.bbb.areas = {} Kaes.bbb.areas[1] = 1 Kaes.bbb.areas[2] = 2.4479517592507 Kaes.bbb.areas[3] = 3.4351354710328 Kaes.bbb.areas[4] = 10.083714147538 Kaes.bbb.areas[5] = 30.538604815656 Kaes.bbb.areas[6] = 88.633164268499 Kaes.bbb.areas[7] = 110.84737919015 Kaes.bbb.areas[8] = 143.04884098229 Kaes.bbb.areas[9] = 196.5449125318 Kaes.bbb.kaes = {} Kaes.bbb.kaes[1] = 0.41994548078172 Kaes.bbb.kaes[2] = 0.16780028463635 Kaes.bbb.kaes[3] = 0.49180062387647 Kaes.bbb.kaes[4] = 0.50353823194218 Kaes.bbb.kaes[5] = 0.48748591968806 Kaes.bbb.kaes[6] = 0.11136030881254 Kaes.bbb.kaes[7] = 0.12682922877022 Kaes.bbb.kaes[8] = 0.15752961 Kaes.bbb.A = {} Kaes.bbb.A[1] = 1.154434634956 Kaes.bbb.A[2] = 1.2127391971064 Kaes.bbb.A[3] = 1.4463854055824 Kaes.bbb.A[4] = 1.3504134987123 Kaes.bbb.A[5] = 0.95455290002392 Kaes.bbb.A[6] = 0.43820389059963 Kaes.bbb.A[7] = 0.30553952596271 Kaes.bbb.A[8] = 0.15752961 Kaes.bbb.Gain = 14.019447654305 Kaes.bbb.gainN = 0.1 Kaes.counterTenorU = {} Kaes.counterTenorU.B = 1.8543156340551 Kaes.counterTenorU.gainV = 1 Kaes.counterTenorU.areas = {} Kaes.counterTenorU.areas[1] = 1 Kaes.counterTenorU.areas[2] = 0.04140480549199 Kaes.counterTenorU.areas[3] = 0.087040932294876 Kaes.counterTenorU.areas[4] = 0.041157977812234 Kaes.counterTenorU.areas[5] = 1.3843821479711 Kaes.counterTenorU.areas[6] = 0.79052967422591 Kaes.counterTenorU.areas[7] = 1.5038036793061 Kaes.counterTenorU.areas[8] = 0.16290629663132 Kaes.counterTenorU.areas[9] = 0.50438049723708 Kaes.counterTenorU.areas[10] = 0.42886825672787 Kaes.counterTenorU.areas[11] = 3.4384864707013 Kaes.counterTenorU.kaes = {} Kaes.counterTenorU.kaes[1] = -0.92048278388262 Kaes.counterTenorU.kaes[2] = 0.35529498751147 Kaes.counterTenorU.kaes[3] = -0.35790440374499 Kaes.counterTenorU.kaes[4] = 0.94225630402425 Kaes.counterTenorU.kaes[5] = -0.27304668984019 Kaes.counterTenorU.kaes[6] = 0.31088507865787 Kaes.counterTenorU.kaes[7] = -0.80451752376451 Kaes.counterTenorU.kaes[8] = 0.51173528944902 Kaes.counterTenorU.kaes[9] = -0.080913304398626 Kaes.counterTenorU.kaes[10] = 0.77821105796884 Kaes.counterTenorU.A = {} Kaes.counterTenorU.A[1] = -2.8202774538696 Kaes.counterTenorU.A[2] = 4.8936481670209 Kaes.counterTenorU.A[3] = -7.9170792116639 Kaes.counterTenorU.A[4] = 9.9529007172349 Kaes.counterTenorU.A[5] = -9.9624460123824 Kaes.counterTenorU.A[6] = 9.3431662365376 Kaes.counterTenorU.A[7] = -7.0763641068863 Kaes.counterTenorU.A[8] = 4.0967808875738 Kaes.counterTenorU.A[9] = -2.2266823009654 Kaes.counterTenorU.A[10] = 0.77821105796884 Kaes.counterTenorU.Gain = 1.8543156340551 Kaes.counterTenorU.gainN = 0 Kaes.bassO = {} Kaes.bassO.B = 1.9953259631594 Kaes.bassO.gainV = 1 Kaes.bassO.areas = {} Kaes.bassO.areas[1] = 1 Kaes.bassO.areas[2] = 0.10432245586772 Kaes.bassO.areas[3] = 0.23717591596384 Kaes.bassO.areas[4] = 0.034603143740609 Kaes.bassO.areas[5] = 0.9625892811424 Kaes.bassO.areas[6] = 0.4513401615815 Kaes.bassO.areas[7] = 1.9080761995037 Kaes.bassO.areas[8] = 0.19548653786379 Kaes.bassO.areas[9] = 0.93337385471369 Kaes.bassO.areas[10] = 0.5188949887435 Kaes.bassO.areas[11] = 3.9813256992578 Kaes.bassO.kaes = {} Kaes.bassO.kaes[1] = -0.81106522770878 Kaes.bassO.kaes[2] = 0.38903102050994 Kaes.bassO.kaes[3] = -0.74535827905035 Kaes.bassO.kaes[4] = 0.93059886361518 Kaes.bassO.kaes[5] = -0.36158036187152 Kaes.bassO.kaes[6] = 0.61741372228689 Kaes.bassO.kaes[7] = -0.81413766807028 Kaes.bassO.kaes[8] = 0.6536568398552 Kaes.bassO.kaes[9] = -0.28540092134973 Kaes.bassO.kaes[10] = 0.76939131446287 Kaes.bassO.A = {} Kaes.bassO.A[1] = -4.1108884491341 Kaes.bassO.A[2] = 9.653316347803 Kaes.bassO.A[3] = -16.840445174319 Kaes.bassO.A[4] = 22.726805971255 Kaes.bassO.A[5] = -24.418007549745 Kaes.bassO.A[6] = 21.435760278376 Kaes.bassO.A[7] = -15.010151921324 Kaes.bassO.A[8] = 8.1253273043007 Kaes.bassO.A[9] = -3.2793360047266 Kaes.bassO.A[10] = 0.76939131446287 Kaes.bassO.Gain = 1.9953259631594 Kaes.bassO.gainN = 0 Kaes.hah = {} Kaes.hah.B = 3.190086220916 Kaes.hah.gainV = 0 Kaes.hah.areas = {} Kaes.hah.areas[1] = 1 Kaes.hah.areas[2] = 0.088056699891162 Kaes.hah.areas[3] = 5.0179510926357 Kaes.hah.areas[4] = 1.1205271712518 Kaes.hah.areas[5] = 3.5262605792929 Kaes.hah.areas[6] = 1.3983506659996 Kaes.hah.areas[7] = 6.219436435075 Kaes.hah.areas[8] = 5.119183625245 Kaes.hah.areas[9] = 10.176650096878 Kaes.hah.kaes = {} Kaes.hah.kaes[1] = -0.8381395015536 Kaes.hah.kaes[2] = 0.96550859165548 Kaes.hah.kaes[3] = -0.63491695398067 Kaes.hah.kaes[4] = 0.51771966726029 Kaes.hah.kaes[5] = -0.43209703412172 Kaes.hah.kaes[6] = 0.63287221145828 Kaes.hah.kaes[7] = -0.097035865385453 Kaes.hah.kaes[8] = 0.330643400256 Kaes.hah.A = {} Kaes.hah.A[1] = -3.1797600689922 Kaes.hah.A[2] = 5.3914393327112 Kaes.hah.A[3] = -6.3833877047987 Kaes.hah.A[4] = 6.0639859358473 Kaes.hah.A[5] = -4.50178463851 Kaes.hah.A[6] = 2.6130651121192 Kaes.hah.A[7] = -1.1377940949711 Kaes.hah.A[8] = 0.330643400256 Kaes.hah.Gain = 3.190086220916 Kaes.hah.gainN = 0.1 Kaes.rrr = {} Kaes.rrr.B = 0.91803260614958 Kaes.rrr.gainV = 1 Kaes.rrr.areas = {} Kaes.rrr.areas[1] = 1 Kaes.rrr.areas[2] = 0.084722246603882 Kaes.rrr.areas[3] = 1.1158169788369 Kaes.rrr.areas[4] = 0.046574692902123 Kaes.rrr.areas[5] = 0.4170117716649 Kaes.rrr.areas[6] = 0.19923640037377 Kaes.rrr.areas[7] = 1.2036021052517 Kaes.rrr.areas[8] = 0.29229220039769 Kaes.rrr.areas[9] = 0.84278386595379 Kaes.rrr.kaes = {} Kaes.rrr.kaes[1] = -0.84378997136062 Kaes.rrr.kaes[2] = 0.85885967770395 Kaes.rrr.kaes[3] = -0.91986402856372 Kaes.rrr.kaes[4] = 0.79906793462737 Kaes.rrr.kaes[5] = -0.35338907468186 Kaes.rrr.kaes[6] = 0.71595247838604 Kaes.rrr.kaes[7] = -0.60920741620069 Kaes.rrr.kaes[8] = 0.48498218037982 Kaes.rrr.A = {} Kaes.rrr.A[1] = -4.3605650891309 Kaes.rrr.A[2] = 9.5938625906727 Kaes.rrr.A[3] = -13.974628162236 Kaes.rrr.A[4] = 14.891312524999 Kaes.rrr.A[5] = -11.918490915616 Kaes.rrr.A[6] = 6.8911958080378 Kaes.rrr.A[7] = -2.5807134963157 Kaes.rrr.A[8] = 0.48498218037982 Kaes.rrr.Gain = 0.91803260614958 Kaes.rrr.gainN = 0 Kaes.sopranoU = {} Kaes.sopranoU.B = 1.1526590896673 Kaes.sopranoU.gainV = 1 Kaes.sopranoU.areas = {} Kaes.sopranoU.areas[1] = 1 Kaes.sopranoU.areas[2] = 0.017302698489957 Kaes.sopranoU.areas[3] = 0.12408801517565 Kaes.sopranoU.areas[4] = 0.38529395371498 Kaes.sopranoU.areas[5] = 0.51969800560152 Kaes.sopranoU.areas[6] = 0.33977126730067 Kaes.sopranoU.areas[7] = 0.17449126427252 Kaes.sopranoU.areas[8] = 0.12563017261689 Kaes.sopranoU.areas[9] = 0.14263604478262 Kaes.sopranoU.areas[10] = 0.24696677643992 Kaes.sopranoU.areas[11] = 1.3286229769927 Kaes.sopranoU.kaes = {} Kaes.sopranoU.kaes[1] = -0.96598318570148 Kaes.sopranoU.kaes[2] = 0.75524985988997 Kaes.sopranoU.kaes[3] = 0.51278991894472 Kaes.sopranoU.kaes[4] = 0.14851408402352 Kaes.sopranoU.kaes[5] = -0.20934633031531 Kaes.sopranoU.kaes[6] = -0.32139227122487 Kaes.sopranoU.kaes[7] = -0.16280440398409 Kaes.sopranoU.kaes[8] = 0.063391776760352 Kaes.sopranoU.kaes[9] = 0.26778741316584 Kaes.sopranoU.kaes[10] = 0.6865087807256 Kaes.sopranoU.A = {} Kaes.sopranoU.A[1] = -0.95309185058219 Kaes.sopranoU.A[2] = -0.60014115228039 Kaes.sopranoU.A[3] = -0.095229579067739 Kaes.sopranoU.A[4] = 0.45819264465062 Kaes.sopranoU.A[5] = 0.64611290254368 Kaes.sopranoU.A[6] = 0.26013709191747 Kaes.sopranoU.A[7] = -0.24195455037769 Kaes.sopranoU.A[8] = -0.54185740035277 Kaes.sopranoU.A[9] = -0.51272519414394 Kaes.sopranoU.A[10] = 0.6865087807256 Kaes.sopranoU.Gain = 1.1526590896673 Kaes.sopranoU.gainN = 0 Kaes.bassA = {} Kaes.bassA.B = 5.1769674590744 Kaes.bassA.gainV = 1 Kaes.bassA.areas = {} Kaes.bassA.areas[1] = 1 Kaes.bassA.areas[2] = 0.34009497422521 Kaes.bassA.areas[3] = 1.916200439517 Kaes.bassA.areas[4] = 0.2162743597621 Kaes.bassA.areas[5] = 3.3482304969941 Kaes.bassA.areas[6] = 1.3160428189786 Kaes.bassA.areas[7] = 8.0842983532022 Kaes.bassA.areas[8] = 1.1736643738875 Kaes.bassA.areas[9] = 7.4948468282508 Kaes.bassA.areas[10] = 3.7179943752401 Kaes.bassA.areas[11] = 26.800992072315 Kaes.bassA.kaes = {} Kaes.bassA.kaes[1] = -0.4924315354263 Kaes.bassA.kaes[2] = 0.69853683861268 Kaes.bassA.kaes[3] = -0.79716115769789 Kaes.bassA.kaes[4] = 0.87865110670158 Kaes.bassA.kaes[5] = -0.43569223764317 Kaes.bassA.kaes[6] = 0.72000105211643 Kaes.bassA.kaes[7] = -0.74645299220028 Kaes.bassA.kaes[8] = 0.72921200734032 Kaes.bassA.kaes[9] = -0.33683277810399 Kaes.bassA.kaes[10] = 0.75634876462039 Kaes.bassA.A = {} Kaes.bassA.A[1] = -4.3723613945276 Kaes.bassA.A[2] = 11.041784292709 Kaes.bassA.A[3] = -19.845525514422 Kaes.bassA.A[4] = 27.303956480347 Kaes.bassA.A[5] = -29.595658549081 Kaes.bassA.A[6] = 25.687691342544 Kaes.bassA.A[7] = -17.583840390056 Kaes.bassA.A[8] = 9.2216148051316 Kaes.bassA.A[9] = -3.4511731949529 Kaes.bassA.A[10] = 0.75634876462039 Kaes.bassA.Gain = 5.1769674590744 Kaes.bassA.gainN = 0 Kaes.sopranoO = {} Kaes.sopranoO.B = 1.6978763466537 Kaes.sopranoO.gainV = 1 Kaes.sopranoO.areas = {} Kaes.sopranoO.areas[1] = 1 Kaes.sopranoO.areas[2] = 0.043201379731981 Kaes.sopranoO.areas[3] = 0.10103969371575 Kaes.sopranoO.areas[4] = 0.29295038324462 Kaes.sopranoO.areas[5] = 0.74540211390782 Kaes.sopranoO.areas[6] = 1.0945257892157 Kaes.sopranoO.areas[7] = 0.7487687115376 Kaes.sopranoO.areas[8] = 0.41502216849114 Kaes.sopranoO.areas[9] = 0.32622804041143 Kaes.sopranoO.areas[10] = 0.42003801155504 Kaes.sopranoO.areas[11] = 2.882784088526 Kaes.sopranoO.kaes = {} Kaes.sopranoO.kaes[1] = -0.91717537846225 Kaes.sopranoO.kaes[2] = 0.4009836629837 Kaes.sopranoO.kaes[3] = 0.48709523602588 Kaes.sopranoO.kaes[4] = 0.43574001305336 Kaes.sopranoO.kaes[5] = 0.18974856281878 Kaes.sopranoO.kaes[6] = -0.18757560310454 Kaes.sopranoO.kaes[7] = -0.28677535524098 Kaes.sopranoO.kaes[8] = -0.11978968371715 Kaes.sopranoO.kaes[9] = 0.12570580009155 Kaes.sopranoO.kaes[10] = 0.74564902448441 Kaes.sopranoO.A = {} Kaes.sopranoO.A[1] = -0.66347582622527 Kaes.sopranoO.A[2] = -0.65754039965781 Kaes.sopranoO.A[3] = -0.36311100575941 Kaes.sopranoO.A[4] = 0.41988646651721 Kaes.sopranoO.A[5] = 0.8711183642025 Kaes.sopranoO.A[6] = 0.3499598568685 Kaes.sopranoO.A[7] = -0.38325622366955 Kaes.sopranoO.A[8] = -0.58490447719251 Kaes.sopranoO.A[9] = -0.43890578050124 Kaes.sopranoO.A[10] = 0.74564902448441 Kaes.sopranoO.Gain = 1.6978763466537 Kaes.sopranoO.gainN = 0 Kaes.altoA = {} Kaes.altoA.B = 5.2678114011272 Kaes.altoA.gainV = 1 Kaes.altoA.areas = {} Kaes.altoA.areas[1] = 1 Kaes.altoA.areas[2] = 0.15164896064532 Kaes.altoA.areas[3] = 0.38359358797439 Kaes.altoA.areas[4] = 0.53571440283727 Kaes.altoA.areas[5] = 1.7135726767821 Kaes.altoA.areas[6] = 4.5404482912219 Kaes.altoA.areas[7] = 3.8000085952663 Kaes.altoA.areas[8] = 3.410229008219 Kaes.altoA.areas[9] = 3.7322889354132 Kaes.altoA.areas[10] = 4.3909173245098 Kaes.altoA.areas[11] = 27.749836957845 Kaes.altoA.kaes = {} Kaes.altoA.kaes[1] = -0.73664030303063 Kaes.altoA.kaes[2] = 0.43334489742494 Kaes.altoA.kaes[3] = 0.16547317806797 Kaes.altoA.kaes[4] = 0.52365848922413 Kaes.altoA.kaes[5] = 0.45200929592373 Kaes.altoA.kaes[6] = -0.088776874700374 Kaes.altoA.kaes[7] = -0.054059187572246 Kaes.altoA.kaes[8] = 0.045090531061443 Kaes.altoA.kaes[9] = 0.081079855419398 Kaes.altoA.kaes[10] = 0.72676949109932 Kaes.altoA.A = {} Kaes.altoA.A[1] = -0.63598674813889 Kaes.altoA.A[2] = 0.18021267043228 Kaes.altoA.A[3] = -0.1932684719739 Kaes.altoA.A[4] = 0.11137379682214 Kaes.altoA.A[5] = 0.86361238049123 Kaes.altoA.A[6] = 0.055815491534362 Kaes.altoA.A[7] = -0.17329660548884 Kaes.altoA.A[8] = 0.12552401867466 Kaes.altoA.A[9] = -0.4239617943649 Kaes.altoA.A[10] = 0.72676949109932 Kaes.altoA.Gain = 5.2678114011272 Kaes.altoA.gainN = 0 Kaes.xxx = {} Kaes.xxx.B = 22.356885884293 Kaes.xxx.gainV = 0 Kaes.xxx.areas = {} Kaes.xxx.areas[1] = 1 Kaes.xxx.areas[2] = 1.1954835913358 Kaes.xxx.areas[3] = 54.936321247644 Kaes.xxx.areas[4] = 73.416186817347 Kaes.xxx.areas[5] = 435.364899761 Kaes.xxx.areas[6] = 400.25511330561 Kaes.xxx.areas[7] = 603.89814755358 Kaes.xxx.areas[8] = 473.58819907601 Kaes.xxx.areas[9] = 499.83034644328 Kaes.xxx.kaes = {} Kaes.xxx.kaes[1] = 0.089038967135638 Kaes.xxx.kaes[2] = 0.9574044128898 Kaes.xxx.kaes[3] = 0.14397744031886 Kaes.xxx.kaes[4] = 0.71140363211579 Kaes.xxx.kaes[5] = -0.042016449949 Kaes.xxx.kaes[6] = 0.20280074983148 Kaes.xxx.kaes[7] = -0.12093883962909 Kaes.xxx.kaes[8] = 0.02695875015744 Kaes.xxx.A = {} Kaes.xxx.A[1] = 0.34835750791421 Kaes.xxx.A[2] = 1.8066992959947 Kaes.xxx.A[3] = 0.22556920028108 Kaes.xxx.A[4] = 1.0155578782244 Kaes.xxx.A[5] = -0.17630600301774 Kaes.xxx.A[6] = 0.2059023138462 Kaes.xxx.A[7] = -0.11145966137813 Kaes.xxx.A[8] = 0.02695875015744 Kaes.xxx.Gain = 22.356885884293 Kaes.xxx.gainN = 0.7 Kaes.sss = {} Kaes.sss.B = 12.169429142217 Kaes.sss.gainV = 0 Kaes.sss.areas = {} Kaes.sss.areas[1] = 1 Kaes.sss.areas[2] = 5.7561800823904 Kaes.sss.areas[3] = 12.019712403545 Kaes.sss.areas[4] = 22.709486980865 Kaes.sss.areas[5] = 38.720922098688 Kaes.sss.areas[6] = 91.78911657158 Kaes.sss.areas[7] = 114.41820024841 Kaes.sss.areas[8] = 122.32513203692 Kaes.sss.areas[9] = 148.09500564745 Kaes.sss.kaes = {} Kaes.sss.kaes[1] = 0.70397473489304 Kaes.sss.kaes[2] = 0.352361060133 Kaes.sss.kaes[3] = 0.30780365706095 Kaes.sss.kaes[4] = 0.26064347214566 Kaes.sss.kaes[5] = 0.4066215519786 Kaes.sss.kaes[6] = 0.10973947979056 Kaes.sss.kaes[7] = 0.033398751771294 Kaes.sss.kaes[8] = 0.09529569 Kaes.sss.A = {} Kaes.sss.A[1] = 1.2981666651 Kaes.sss.A[2] = 1.163393027873 Kaes.sss.A[3] = 1.0988987315806 Kaes.sss.A[4] = 0.95701699176504 Kaes.sss.A[5] = 0.68063881402425 Kaes.sss.A[6] = 0.26234602081263 Kaes.sss.A[7] = 0.15680513682351 Kaes.sss.A[8] = 0.09529569 Kaes.sss.Gain = 12.169429142217 Kaes.sss.gainN = 0.7 Kaes.eee = {} Kaes.eee.B = 1.3177039894267 Kaes.eee.gainV = 1 Kaes.eee.areas = {} Kaes.eee.areas[1] = 1 Kaes.eee.areas[2] = 0.030805224618876 Kaes.eee.areas[3] = 0.060799393758649 Kaes.eee.areas[4] = 0.011746849819428 Kaes.eee.areas[5] = 0.14750287695673 Kaes.eee.areas[6] = 0.076440194476543 Kaes.eee.areas[7] = 0.89904341021255 Kaes.eee.areas[8] = 1.246087215984 Kaes.eee.areas[9] = 1.736343803751 Kaes.eee.kaes = {} Kaes.eee.kaes[1] = -0.94023075575647 Kaes.eee.kaes[2] = 0.3274307526304 Kaes.eee.kaes[3] = -0.6761555322493 Kaes.eee.kaes[4] = 0.85247259060056 Kaes.eee.kaes[5] = -0.31732476484033 Kaes.eee.kaes[6] = 0.8432773362687 Kaes.eee.kaes[7] = 0.16178213183537 Kaes.eee.kaes[8] = 0.16438153456794 Kaes.eee.A = {} Kaes.eee.A[1] = -2.4209716392901 Kaes.eee.A[2] = 3.7508165884934 Kaes.eee.A[3] = -4.4677229980468 Kaes.eee.A[4] = 3.5712683591797 Kaes.eee.A[5] = -2.3065055179052 Kaes.eee.A[6] = 1.0303080963954 Kaes.eee.A[7] = -0.2405524631009 Kaes.eee.A[8] = 0.16438153456794 Kaes.eee.Gain = 1.3177039894267 Kaes.eee.gainN = 0 Kaes.mmm = {} Kaes.mmm.B = 0.7310607141412 Kaes.mmm.gainV = 1 Kaes.mmm.areas = {} Kaes.mmm.areas[1] = 1 Kaes.mmm.areas[2] = 0.012395563369738 Kaes.mmm.areas[3] = 0.080556164013978 Kaes.mmm.areas[4] = 0.027226715474157 Kaes.mmm.areas[5] = 0.18066524978694 Kaes.mmm.areas[6] = 0.064019181880251 Kaes.mmm.areas[7] = 0.16278654660141 Kaes.mmm.areas[8] = 0.088586008205023 Kaes.mmm.areas[9] = 0.53444976776064 Kaes.mmm.kaes = {} Kaes.mmm.kaes[1] = -0.97551241072515 Kaes.mmm.kaes[2] = 0.73329030629914 Kaes.mmm.kaes[3] = -0.49478589543241 Kaes.mmm.kaes[4] = 0.73806861232022 Kaes.mmm.kaes[5] = -0.47672043174919 Kaes.mmm.kaes[6] = 0.43547120869633 Kaes.mmm.kaes[7] = -0.29518154220745 Kaes.mmm.kaes[8] = 0.71563107088764 Kaes.mmm.A = {} Kaes.mmm.A[1] = -3.3180884015119 Kaes.mmm.A[2] = 5.9482594682054 Kaes.mmm.A[3] = -7.9429106251331 Kaes.mmm.A[4] = 8.4063744142106 Kaes.mmm.A[5] = -7.1549972676373 Kaes.mmm.A[6] = 4.8981217330002 Kaes.mmm.A[7] = -2.5185380157268 Kaes.mmm.A[8] = 0.71563107088764 Kaes.mmm.Gain = 0.7310607141412 Kaes.mmm.gainN = 0 Kaes.bassU = {} Kaes.bassU.B = 1.6808675790965 Kaes.bassU.gainV = 1 Kaes.bassU.areas = {} Kaes.bassU.areas[1] = 1 Kaes.bassU.areas[2] = 0.029874536359345 Kaes.bassU.areas[3] = 0.094405688991147 Kaes.bassU.areas[4] = 0.036141383775728 Kaes.bassU.areas[5] = 1.3784116218411 Kaes.bassU.areas[6] = 0.5560725650162 Kaes.bassU.areas[7] = 1.7702662628674 Kaes.bassU.areas[8] = 0.15273815959605 Kaes.bassU.areas[9] = 0.64494771055741 Kaes.bassU.areas[10] = 0.36822966282028 Kaes.bassU.areas[11] = 2.8253158184577 Kaes.bassU.kaes = {} Kaes.bassU.kaes[1] = -0.94198412465861 Kaes.bassU.kaes[2] = 0.51923910219677 Kaes.bassU.kaes[3] = -0.44630878334181 Kaes.bassU.kaes[4] = 0.9489006299061 Kaes.bassU.kaes[5] = -0.42509474226349 Kaes.bassU.kaes[6] = 0.52193329849368 Kaes.bassU.kaes[7] = -0.8411463251859 Kaes.bassU.kaes[8] = 0.61704684685799 Kaes.bassU.kaes[9] = -0.27311905596018 Kaes.bassU.kaes[10] = 0.76939131446287 Kaes.bassU.A = {} Kaes.bassU.A[1] = -4.0482981886354 Kaes.bassU.A[2] = 9.2619795563515 Kaes.bassU.A[3] = -15.997051103429 Kaes.bassU.A[4] = 21.453137181103 Kaes.bassU.A[5] = -22.945039702612 Kaes.bassU.A[6] = 20.225751351702 Kaes.bassU.A[7] = -14.253027406391 Kaes.bassU.A[8] = 7.786818594486 Kaes.bassU.A[9] = -3.2261681463569 Kaes.bassU.A[10] = 0.76939131446287 Kaes.bassU.Gain = 1.6808675790965 Kaes.bassU.gainN = 0 Kaes.sopranoA = {} Kaes.sopranoA.B = 6.0937581609592 Kaes.sopranoA.gainV = 1 Kaes.sopranoA.areas = {} Kaes.sopranoA.areas[1] = 1 Kaes.sopranoA.areas[2] = 0.043447572052212 Kaes.sopranoA.areas[3] = 6.5794038156296 Kaes.sopranoA.areas[4] = 1.1810648918347 Kaes.sopranoA.areas[5] = 0.93551939422094 Kaes.sopranoA.areas[6] = 4.3626529152864 Kaes.sopranoA.areas[7] = 15.10062214762 Kaes.sopranoA.areas[8] = 11.354552781425 Kaes.sopranoA.areas[9] = 5.0108788611344 Kaes.sopranoA.areas[10] = 5.2551717395796 Kaes.sopranoA.areas[11] = 37.133888524257 Kaes.sopranoA.kaes = {} Kaes.sopranoA.kaes[1] = -0.91672303771475 Kaes.sopranoA.kaes[2] = 0.98687949660685 Kaes.sopranoA.kaes[3] = -0.69562021667617 Kaes.sopranoA.kaes[4] = -0.11601026202047 Kaes.sopranoA.kaes[5] = 0.64685203139121 Kaes.sopranoA.kaes[6] = 0.5517041298357 Kaes.sopranoA.kaes[7] = -0.14160062733445 Kaes.sopranoA.kaes[8] = -0.3876264347219 Kaes.sopranoA.kaes[9] = 0.02379618881171 Kaes.sopranoA.kaes[10] = 0.75205056649661 Kaes.sopranoA.A = {} Kaes.sopranoA.A[1] = -2.1599445890137 Kaes.sopranoA.A[2] = 0.2595393711919 Kaes.sopranoA.A[3] = 2.3677209631563 Kaes.sopranoA.A[4] = -0.1884966902786 Kaes.sopranoA.A[5] = -2.5096438442522 Kaes.sopranoA.A[6] = 0.096246785013665 Kaes.sopranoA.A[7] = 2.0994741538985 Kaes.sopranoA.A[8] = 0.0043759188278187 Kaes.sopranoA.A[9] = -1.6140500127239 Kaes.sopranoA.A[10] = 0.75205056649661 Kaes.sopranoA.Gain = 6.0937581609592 Kaes.sopranoA.gainN = 0 Kaes.uuu = {} Kaes.uuu.B = 1.5085888728108 Kaes.uuu.gainV = 1 Kaes.uuu.areas = {} Kaes.uuu.areas[1] = 1 Kaes.uuu.areas[2] = 0.039739252115058 Kaes.uuu.areas[3] = 0.40762300025191 Kaes.uuu.areas[4] = 0.24497997315843 Kaes.uuu.areas[5] = 1.1689021320057 Kaes.uuu.areas[6] = 0.33490994096986 Kaes.uuu.areas[7] = 0.74622037242698 Kaes.uuu.areas[8] = 0.35491052570804 Kaes.uuu.areas[9] = 2.2758403871685 Kaes.uuu.kaes = {} Kaes.uuu.kaes[1] = -0.92355919614611 Kaes.uuu.kaes[2] = 0.82233971728817 Kaes.uuu.kaes[3] = -0.24922201356753 Kaes.uuu.kaes[4] = 0.65346478003555 Kaes.uuu.kaes[5] = -0.55458538072889 Kaes.uuu.kaes[6] = 0.38044482368162 Kaes.uuu.kaes[7] = -0.35537087133029 Kaes.uuu.kaes[8] = 0.73018310173655 Kaes.uuu.A = {} Kaes.uuu.A[1] = -3.0189175376552 Kaes.uuu.A[2] = 5.0390897517471 Kaes.uuu.A[3] = -6.6425770661149 Kaes.uuu.A[4] = 7.2165520028485 Kaes.uuu.A[5] = -6.1278984660826 Kaes.uuu.A[6] = 4.2924190988317 Kaes.uuu.A[7] = -2.3702612928415 Kaes.uuu.A[8] = 0.73018310173655 Kaes.uuu.Gain = 1.5085888728108 Kaes.uuu.gainN = 0 Kaes.ngg = {} Kaes.ngg.B = 0.45311900477437 Kaes.ngg.gainV = 1 Kaes.ngg.areas = {} Kaes.ngg.areas[1] = 1 Kaes.ngg.areas[2] = 0.038332281723613 Kaes.ngg.areas[3] = 0.084056871615817 Kaes.ngg.areas[4] = 0.0089095316945733 Kaes.ngg.areas[5] = 0.063870313746796 Kaes.ngg.areas[6] = 0.015288350499263 Kaes.ngg.areas[7] = 0.069959706671626 Kaes.ngg.areas[8] = 0.064552309655821 Kaes.ngg.areas[9] = 0.20531683248771 Kaes.ngg.kaes = {} Kaes.ngg.kaes[1] = -0.92616567471064 Kaes.ngg.kaes[2] = 0.37360001801297 Kaes.ngg.kaes[3] = -0.80832792541566 Kaes.ngg.kaes[4] = 0.75516486355414 Kaes.ngg.kaes[5] = -0.61372894186945 Kaes.ngg.kaes[6] = 0.64132084632461 Kaes.ngg.kaes[7] = -0.040200103778396 Kaes.ngg.kaes[8] = 0.52160288395264 Kaes.ngg.A = {} Kaes.ngg.A[1] = -3.0884067141679 Kaes.ngg.A[2] = 5.5216941591445 Kaes.ngg.A[3] = -7.247235978638 Kaes.ngg.A[4] = 7.1384942393989 Kaes.ngg.A[5] = -5.6103490867804 Kaes.ngg.A[6] = 3.4359762002298 Kaes.ngg.A[7] = -1.6401847278165 Kaes.ngg.A[8] = 0.52160288395264 Kaes.ngg.Gain = 0.45311900477437 Kaes.ngg.gainN = 0 Kaes.fff = {} Kaes.fff.B = 22.356885884293 Kaes.fff.gainV = 0 Kaes.fff.areas = {} Kaes.fff.areas[1] = 1 Kaes.fff.areas[2] = 1.1954835913358 Kaes.fff.areas[3] = 54.936321247644 Kaes.fff.areas[4] = 73.416186817347 Kaes.fff.areas[5] = 435.364899761 Kaes.fff.areas[6] = 400.25511330561 Kaes.fff.areas[7] = 603.89814755358 Kaes.fff.areas[8] = 473.58819907601 Kaes.fff.areas[9] = 499.83034644328 Kaes.fff.kaes = {} Kaes.fff.kaes[1] = 0.089038967135638 Kaes.fff.kaes[2] = 0.9574044128898 Kaes.fff.kaes[3] = 0.14397744031886 Kaes.fff.kaes[4] = 0.71140363211579 Kaes.fff.kaes[5] = -0.042016449949 Kaes.fff.kaes[6] = 0.20280074983148 Kaes.fff.kaes[7] = -0.12093883962909 Kaes.fff.kaes[8] = 0.02695875015744 Kaes.fff.A = {} Kaes.fff.A[1] = 0.34835750791421 Kaes.fff.A[2] = 1.8066992959947 Kaes.fff.A[3] = 0.22556920028108 Kaes.fff.A[4] = 1.0155578782244 Kaes.fff.A[5] = -0.17630600301774 Kaes.fff.A[6] = 0.2059023138462 Kaes.fff.A[7] = -0.11145966137813 Kaes.fff.A[8] = 0.02695875015744 Kaes.fff.Gain = 22.356885884293 Kaes.fff.gainN = 0.7 Kaes.lll = {} Kaes.lll.B = 1.3866868589507 Kaes.lll.gainV = 1 Kaes.lll.areas = {} Kaes.lll.areas[1] = 1 Kaes.lll.areas[2] = 0.017534326666493 Kaes.lll.areas[3] = 4.4760845180261 Kaes.lll.areas[4] = 0.79689658334026 Kaes.lll.areas[5] = 2.0036020514975 Kaes.lll.areas[6] = 1.8498989940734 Kaes.lll.areas[7] = 1.9223596933233 Kaes.lll.areas[8] = 1.9222829868306 Kaes.lll.areas[9] = 1.9229004447865 Kaes.lll.kaes = {} Kaes.lll.kaes[1] = -0.96553565573766 Kaes.lll.kaes[2] = 0.99219589944207 Kaes.lll.kaes[3] = -0.69774343278653 Kaes.lll.kaes[4] = 0.43088950415688 Kaes.lll.kaes[5] = -0.039886600679864 Kaes.lll.kaes[6] = 0.019208836205202 Kaes.lll.kaes[7] = -1.9951527101499e-005 Kaes.lll.kaes[8] = 0.000160579584 Kaes.lll.A = {} Kaes.lll.A[1] = -2.9344379479993 Kaes.lll.A[2] = 3.4234738595116 Kaes.lll.A[3] = -1.9957476399877 Kaes.lll.A[4] = 0.61291532715899 Kaes.lll.A[5] = -0.096627791094435 Kaes.lll.A[6] = 0.01981712222711 Kaes.lll.A[7] = -0.00049116235155058 Kaes.lll.A[8] = 0.000160579584 Kaes.lll.Gain = 1.3866868589507 Kaes.lll.gainN = 0 Kaes.ggg = {} Kaes.ggg.B = 157.33902117588 Kaes.ggg.gainV = 1 Kaes.ggg.areas = {} Kaes.ggg.areas[1] = 1 Kaes.ggg.areas[2] = 6.2352452834771 Kaes.ggg.areas[3] = 22.482042276707 Kaes.ggg.areas[4] = 89.423358799832 Kaes.ggg.areas[5] = 513.20251844741 Kaes.ggg.areas[6] = 1940.511451648 Kaes.ggg.areas[7] = 8038.0720004455 Kaes.ggg.areas[8] = 16675.611114788 Kaes.ggg.areas[9] = 24755.567584583 Kaes.ggg.kaes = {} Kaes.ggg.kaes[1] = 0.72357537006142 Kaes.ggg.kaes[2] = 0.56574970596303 Kaes.ggg.kaes[3] = 0.59819558197498 Kaes.ggg.kaes[4] = 0.70322097946304 Kaes.ggg.kaes[5] = 0.58169328234501 Kaes.ggg.kaes[6] = 0.61106474461745 Kaes.ggg.kaes[7] = 0.34950432414578 Kaes.ggg.kaes[8] = 0.195021158544 Kaes.ggg.A = {} Kaes.ggg.A[1] = 2.9382722661609 Kaes.ggg.A[2] = 5.1649731373702 Kaes.ggg.A[3] = 6.5729834236609 Kaes.ggg.A[4] = 6.3234794078692 Kaes.ggg.A[5] = 4.5960724771684 Kaes.ggg.A[6] = 2.4882630001659 Kaes.ggg.A[7] = 0.90923679947704 Kaes.ggg.A[8] = 0.195021158544 Kaes.ggg.Gain = 157.33902117588 Kaes.ggg.gainN = 0.1 Kaes.hee = {} Kaes.hee.B = 1.3177039894267 Kaes.hee.gainV = 0 Kaes.hee.areas = {} Kaes.hee.areas[1] = 1 Kaes.hee.areas[2] = 0.030805224618876 Kaes.hee.areas[3] = 0.060799393758649 Kaes.hee.areas[4] = 0.011746849819428 Kaes.hee.areas[5] = 0.14750287695673 Kaes.hee.areas[6] = 0.076440194476543 Kaes.hee.areas[7] = 0.89904341021255 Kaes.hee.areas[8] = 1.246087215984 Kaes.hee.areas[9] = 1.736343803751 Kaes.hee.kaes = {} Kaes.hee.kaes[1] = -0.94023075575647 Kaes.hee.kaes[2] = 0.3274307526304 Kaes.hee.kaes[3] = -0.6761555322493 Kaes.hee.kaes[4] = 0.85247259060056 Kaes.hee.kaes[5] = -0.31732476484033 Kaes.hee.kaes[6] = 0.8432773362687 Kaes.hee.kaes[7] = 0.16178213183537 Kaes.hee.kaes[8] = 0.16438153456794 Kaes.hee.A = {} Kaes.hee.A[1] = -2.4209716392901 Kaes.hee.A[2] = 3.7508165884934 Kaes.hee.A[3] = -4.4677229980468 Kaes.hee.A[4] = 3.5712683591797 Kaes.hee.A[5] = -2.3065055179052 Kaes.hee.A[6] = 1.0303080963954 Kaes.hee.A[7] = -0.2405524631009 Kaes.hee.A[8] = 0.16438153456794 Kaes.hee.Gain = 1.3177039894267 Kaes.hee.gainN = 0.1 Kaes.vvv = {} Kaes.vvv.B = 14.019447654305 Kaes.vvv.gainV = 1 Kaes.vvv.areas = {} Kaes.vvv.areas[1] = 1 Kaes.vvv.areas[2] = 2.4479517592507 Kaes.vvv.areas[3] = 3.4351354710328 Kaes.vvv.areas[4] = 10.083714147538 Kaes.vvv.areas[5] = 30.538604815656 Kaes.vvv.areas[6] = 88.633164268499 Kaes.vvv.areas[7] = 110.84737919015 Kaes.vvv.areas[8] = 143.04884098229 Kaes.vvv.areas[9] = 196.5449125318 Kaes.vvv.kaes = {} Kaes.vvv.kaes[1] = 0.41994548078172 Kaes.vvv.kaes[2] = 0.16780028463635 Kaes.vvv.kaes[3] = 0.49180062387647 Kaes.vvv.kaes[4] = 0.50353823194218 Kaes.vvv.kaes[5] = 0.48748591968806 Kaes.vvv.kaes[6] = 0.11136030881254 Kaes.vvv.kaes[7] = 0.12682922877022 Kaes.vvv.kaes[8] = 0.15752961 Kaes.vvv.A = {} Kaes.vvv.A[1] = 1.154434634956 Kaes.vvv.A[2] = 1.2127391971064 Kaes.vvv.A[3] = 1.4463854055824 Kaes.vvv.A[4] = 1.3504134987123 Kaes.vvv.A[5] = 0.95455290002392 Kaes.vvv.A[6] = 0.43820389059963 Kaes.vvv.A[7] = 0.30553952596271 Kaes.vvv.A[8] = 0.15752961 Kaes.vvv.Gain = 14.019447654305 Kaes.vvv.gainN = 1 Kaes.ihh = {} Kaes.ihh.B = 1.1217487025312 Kaes.ihh.gainV = 1 Kaes.ihh.areas = {} Kaes.ihh.areas[1] = 1 Kaes.ihh.areas[2] = 0.059306870626708 Kaes.ihh.areas[3] = 0.18472725646673 Kaes.ihh.areas[4] = 0.026331318870024 Kaes.ihh.areas[5] = 0.25784159527994 Kaes.ihh.areas[6] = 0.15755082705689 Kaes.ihh.areas[7] = 0.86789891491137 Kaes.ihh.areas[8] = 1.0155143547123 Kaes.ihh.areas[9] = 1.2583201516303 Kaes.ihh.kaes = {} Kaes.ihh.kaes[1] = -0.88802702546124 Kaes.ihh.kaes[2] = 0.51394609161365 Kaes.ihh.kaes[3] = -0.75048330703445 Kaes.ihh.kaes[4] = 0.81468100892875 Kaes.ihh.kaes[5] = -0.24143620063856 Kaes.ihh.kaes[6] = 0.69271857876821 Kaes.ihh.kaes[7] = 0.078376552922143 Kaes.ihh.kaes[8] = 0.10678252803392 Kaes.ihh.A = {} Kaes.ihh.A[1] = -2.6428161931641 Kaes.ihh.A[2] = 4.1356611936673 Kaes.ihh.A[3] = -4.6772162209273 Kaes.ihh.A[4] = 3.6308878267965 Kaes.ihh.A[5] = -2.1477493295331 Kaes.ihh.A[6] = 0.91680799798224 Kaes.ihh.A[7] = -0.2047237306076 Kaes.ihh.A[8] = 0.10678252803392 Kaes.ihh.Gain = 1.1217487025312 Kaes.ihh.gainN = 0 Kaes.bassI = {} Kaes.bassI.B = 1.5805312087851 Kaes.bassI.gainV = 1 Kaes.bassI.areas = {} Kaes.bassI.areas[1] = 1 Kaes.bassI.areas[2] = 0.81958307967759 Kaes.bassI.areas[3] = 4.1929661656795 Kaes.bassI.areas[4] = 0.53938127122487 Kaes.bassI.areas[5] = 0.9705892300591 Kaes.bassI.areas[6] = 0.16436267416039 Kaes.bassI.areas[7] = 0.44033513174347 Kaes.bassI.areas[8] = 0.11018789169625 Kaes.bassI.areas[9] = 0.43811599473762 Kaes.bassI.areas[10] = 0.34654848899892 Kaes.bassI.areas[11] = 2.4980789019437 Kaes.bassI.kaes = {} Kaes.bassI.kaes[1] = -0.099152889657765 Kaes.bassI.kaes[2] = 0.67298752009799 Kaes.bassI.kaes[3] = -0.77204494031076 Kaes.bassI.kaes[4] = 0.28557376350568 Kaes.bassI.kaes[5] = -0.71036186899317 Kaes.bassI.kaes[6] = 0.45638078208433 Kaes.bassI.kaes[7] = -0.59969742588498 Kaes.bassI.kaes[8] = 0.59807729099677 Kaes.bassI.kaes[9] = -0.11669638123885 Kaes.bassI.kaes[10] = 0.75634876462039 Kaes.bassI.A = {} Kaes.bassI.A[1] = -2.2234025651529 Kaes.bassI.A[2] = 4.4814601136301 Kaes.bassI.A[3] = -6.8999474495464 Kaes.bassI.A[4] = 8.3802208270562 Kaes.bassI.A[5] = -9.1176832248804 Kaes.bassI.A[6] = 7.885746249318 Kaes.bassI.A[7] = -6.0948667658459 Kaes.bassI.A[8] = 3.7486265317178 Kaes.bassI.A[9] = -1.7316064297553 Kaes.bassI.A[10] = 0.75634876462039 Kaes.bassI.Gain = 1.5805312087851 Kaes.bassI.gainN = 0 Kaes.counterTenorI = {} Kaes.counterTenorI.B = 2.6670278702045 Kaes.counterTenorI.gainV = 1 Kaes.counterTenorI.areas = {} Kaes.counterTenorI.areas[1] = 1 Kaes.counterTenorI.areas[2] = 1.4007131931025 Kaes.counterTenorI.areas[3] = 7.8329087047782 Kaes.counterTenorI.areas[4] = 0.93803841985538 Kaes.counterTenorI.areas[5] = 1.2162311329196 Kaes.counterTenorI.areas[6] = 0.26193046936628 Kaes.counterTenorI.areas[7] = 0.73257974284489 Kaes.counterTenorI.areas[8] = 0.23908161599322 Kaes.counterTenorI.areas[9] = 0.8743776307181 Kaes.counterTenorI.areas[10] = 0.94697491652959 Kaes.counterTenorI.areas[11] = 7.1130376604478 Kaes.counterTenorI.kaes = {} Kaes.counterTenorI.kaes[1] = 0.16691422959385 Kaes.counterTenorI.kaes[2] = 0.69660590208399 Kaes.counterTenorI.kaes[3] = -0.78610327789553 Kaes.counterTenorI.kaes[4] = 0.12913551728283 Kaes.counterTenorI.kaes[5] = -0.64559968414655 Kaes.counterTenorI.kaes[6] = 0.47324730073126 Kaes.counterTenorI.kaes[7] = -0.50789106962305 Kaes.counterTenorI.kaes[8] = 0.57056063488742 Kaes.counterTenorI.kaes[9] = 0.039858997052052 Kaes.counterTenorI.kaes[10] = 0.76501899780292 Kaes.counterTenorI.A = {} Kaes.counterTenorI.A[1] = -1.231734390693 Kaes.counterTenorI.A[2] = 2.5167382601143 Kaes.counterTenorI.A[3] = -3.6920914258755 Kaes.counterTenorI.A[4] = 3.9209814048754 Kaes.counterTenorI.A[5] = -4.6060451757374 Kaes.counterTenorI.A[6] = 3.7012156242184 Kaes.counterTenorI.A[7] = -3.2349186328501 Kaes.counterTenorI.A[8] = 2.1407479989425 Kaes.counterTenorI.A[9] = -0.92576885220657 Kaes.counterTenorI.A[10] = 0.76501899780292 Kaes.counterTenorI.Gain = 2.6670278702045 Kaes.counterTenorI.gainN = 0 Kaes.tenorE = {} Kaes.tenorE.B = 2.5101706341176 Kaes.tenorE.gainV = 1 Kaes.tenorE.areas = {} Kaes.tenorE.areas[1] = 1 Kaes.tenorE.areas[2] = 0.78525426197846 Kaes.tenorE.areas[3] = 3.1517436428599 Kaes.tenorE.areas[4] = 0.78920677092643 Kaes.tenorE.areas[5] = 1.7718492093422 Kaes.tenorE.areas[6] = 0.46647527134182 Kaes.tenorE.areas[7] = 1.1359056651119 Kaes.tenorE.areas[8] = 0.34603715733702 Kaes.tenorE.areas[9] = 1.0192893464237 Kaes.tenorE.areas[10] = 0.87410649502352 Kaes.tenorE.areas[11] = 6.3009566123863 Kaes.tenorE.kaes = {} Kaes.tenorE.kaes[1] = -0.12028860123462 Kaes.tenorE.kaes[2] = 0.60108982480614 Kaes.tenorE.kaes[3] = -0.59948403909595 Kaes.tenorE.kaes[4] = 0.38368643480908 Kaes.tenorE.kaes[5] = -0.58319245009618 Kaes.tenorE.kaes[6] = 0.41777231527207 Kaes.tenorE.kaes[7] = -0.53299526527592 Kaes.tenorE.kaes[8] = 0.49310709726373 Kaes.tenorE.kaes[9] = -0.076678551955212 Kaes.tenorE.kaes[10] = 0.75634876462039 Kaes.tenorE.A = {} Kaes.tenorE.A[1] = -1.8316560776478 Kaes.tenorE.A[2] = 3.4557017092998 Kaes.tenorE.A[3] = -5.008651379969 Kaes.tenorE.A[4] = 5.9038726802698 Kaes.tenorE.A[5] = -6.3430340181089 Kaes.tenorE.A[6] = 5.5473964670371 Kaes.tenorE.A[7] = -4.4218948394347 Kaes.tenorE.A[8] = 2.8816936630315 Kaes.tenorE.A[9] = -1.4181843662341 Kaes.tenorE.A[10] = 0.75634876462039 Kaes.tenorE.Gain = 2.5101706341176 Kaes.tenorE.gainN = 0 Kaes.ehh = {} Kaes.ehh.B = 1.1798043256367 Kaes.ehh.gainV = 1 Kaes.ehh.areas = {} Kaes.ehh.areas[1] = 1 Kaes.ehh.areas[2] = 0.046352361762679 Kaes.ehh.areas[3] = 0.25977163230117 Kaes.ehh.areas[4] = 0.078628088822924 Kaes.ehh.areas[5] = 0.75934104602434 Kaes.ehh.areas[6] = 0.38256912660048 Kaes.ehh.areas[7] = 1.1524357280529 Kaes.ehh.areas[8] = 1.1935831390561 Kaes.ehh.areas[9] = 1.391938246791 Kaes.ehh.kaes = {} Kaes.ehh.kaes[1] = -0.91140200288822 Kaes.ehh.kaes[2] = 0.69716609830322 Kaes.ehh.kaes[3] = -0.53529460035169 Kaes.ehh.kaes[4] = 0.8123365514238 Kaes.ehh.kaes[5] = -0.3299488247467 Kaes.ehh.kaes[6] = 0.50154017371251 Kaes.ehh.kaes[7] = 0.017539249824526 Kaes.ehh.kaes[8] = 0.07671764342025 Kaes.ehh.A = {} Kaes.ehh.A[1] = -2.7781990718461 Kaes.ehh.A[2] = 4.2583054406287 Kaes.ehh.A[3] = -4.5773490255443 Kaes.ehh.A[4] = 3.4919120631142 Kaes.ehh.A[5] = -1.9127513633647 Kaes.ehh.A[6] = 0.77665789207542 Kaes.ehh.A[7] = -0.19570086487268 Kaes.ehh.A[8] = 0.07671764342025 Kaes.ehh.Gain = 1.1798043256367 Kaes.ehh.gainN = 0 Kaes.counterTenorO = {} Kaes.counterTenorO.B = 2.1280758199412 Kaes.counterTenorO.gainV = 1 Kaes.counterTenorO.areas = {} Kaes.counterTenorO.areas[1] = 1 Kaes.counterTenorO.areas[2] = 0.14352875844507 Kaes.counterTenorO.areas[3] = 0.21166795312627 Kaes.counterTenorO.areas[4] = 0.042273424425224 Kaes.counterTenorO.areas[5] = 0.74889027381287 Kaes.counterTenorO.areas[6] = 0.52822858619962 Kaes.counterTenorO.areas[7] = 1.8732216114109 Kaes.counterTenorO.areas[8] = 0.24119872108943 Kaes.counterTenorO.areas[9] = 0.7657315202888 Kaes.counterTenorO.areas[10] = 0.59023636528399 Kaes.counterTenorO.areas[11] = 4.5287066954184 Kaes.counterTenorO.kaes = {} Kaes.counterTenorO.kaes[1] = -0.748972192636 Kaes.counterTenorO.kaes[2] = 0.19183509436156 Kaes.counterTenorO.kaes[3] = -0.66706154914316 Kaes.counterTenorO.kaes[4] = 0.89313608670528 Kaes.counterTenorO.kaes[5] = -0.17278085425118 Kaes.counterTenorO.kaes[6] = 0.56007533554082 Kaes.counterTenorO.kaes[7] = -0.77185357387837 Kaes.counterTenorO.kaes[8] = 0.52092267929248 Kaes.counterTenorO.kaes[9] = -0.12942427093741 Kaes.counterTenorO.kaes[10] = 0.76939131446287 Kaes.counterTenorO.A = {} Kaes.counterTenorO.A[1] = -2.8688511406725 Kaes.counterTenorO.A[2] = 5.2860846714682 Kaes.counterTenorO.A[3] = -8.5439127367411 Kaes.counterTenorO.A[4] = 10.824387000208 Kaes.counterTenorO.A[5] = -11.064554639419 Kaes.counterTenorO.A[6] = 10.173011437754 Kaes.counterTenorO.A[7] = -7.6077076005066 Kaes.counterTenorO.A[8] = 4.4223079388428 Kaes.counterTenorO.A[9] = -2.2600790420376 Kaes.counterTenorO.A[10] = 0.76939131446287 Kaes.counterTenorO.Gain = 2.1280758199412 Kaes.counterTenorO.gainN = 0 for k,v in pairs(Kaes) do v.kaes = -1*TA(v.kaes) end return Kaes
IUPVAL = {parent = WIDGET} function IUPVAL:CreateIUPelement (obj) return iupCreateVal (obj[1]) end function iupval (o) return IUPVAL:Constructor (o) end iup.val = iupval -- must set here because it is also used elsewhere with a different signature iup_callbacks.mousemove = {"MOUSEMOVE_CB", nil} iup_callbacks.mousemove_cb = iup_callbacks.mousemove iup_callbacks.mousemove.val = iup_val_mousemove_cb iup_callbacks.buttonpress = {"BUTTON_PRESS_CB", iup_val_button_press_cb} iup_callbacks.buttonrelease = {"BUTTON_RELEASE_CB", iup_val_button_release_cb} iup_callbacks.button_press_cb = iup_callbacks.buttonpress iup_callbacks.button_release_cb = iup_callbacks.buttonrelease
workspace "ArcticFox" architecture "x64" configurations { "Debug", "Release" } flags { "MultiProcessorCompile" } startproject "ArcticFoxEditor" --Gets from windows propertie enviroments path to installed vulkan/spirv sdk(located in c:\VulkanSDK\1.2.170.0) from there we get include folder. VULKAN_SDK = os.getenv("VULKAN_SDK")--Can be copied and added to vendor folder. Then no need for vulkan sdk installation. MONO_SDK = os.getenv("MONO_PROJECT")--Can be copied and added to vendor folder. Then no need for MONO Project sdk installation. outputdir = "%{cfg.buildcfg}-%{cfg.system}-%{cfg.architecture}" IncludeDir = {} IncludeDir["AL"] = "%{wks.location}/vendor/AL/include" IncludeDir["glew"] = "%{wks.location}/vendor/glew/include/GL" IncludeDir["GLFW"] = "%{wks.location}/vendor/GLFW/include" IncludeDir["glm"] = "%{wks.location}/vendor/glm" IncludeDir["spdlog"] = "%{wks.location}/vendor/spdlog/include" IncludeDir["stb"] = "%{wks.location}/vendor/stb/include" IncludeDir["entt"] = "%{wks.location}/vendor/entt/include" IncludeDir["yaml"] = "%{wks.location}/vendor/yaml-cpp/include" IncludeDir["optick"] = "%{wks.location}/vendor/optick/include" IncludeDir["assimp"] = "%{wks.location}/vendor/assimp/include" IncludeDir["VulkanSDK"] = "%{VULKAN_SDK}/include" --Getting includes from c:\VulkanSDK\1.2.170.0\include IncludeDir["Mono"] = "%{MONO_SDK}/include/mono-2.0" --Getting includes from C:\Program Files\Mono LibraryDir = {} LibraryDir["AL"] = "%{wks.location}/vendor/AL/lib/Win64/" LibraryDir["glew"] = "%{wks.location}/vendor/glew/lib/x64/" LibraryDir["GLFW"] = "%{wks.location}/vendor/GLFW/lib/" LibraryDir["assimp"] = "%{wks.location}/vendor/assimp/lib/x64/" LibraryDir["VulkanSDK"] = "%{VULKAN_SDK}/Lib" LibraryDir["VulkanSDK_Debug"] = "%{wks.location}/vendor/SPIRV/Lib" LibraryDir["VulkanSDK_DebugDLL"] = "%{wks.location}/vendor/SPIRV/Bin" LibraryDir["MonoSDK"] = "%{MONO_SDK}/lib" Library = {} Library["Vulkan"] = "%{LibraryDir.VulkanSDK}/vulkan-1.lib" Library["VulkanUtils"] = "%{LibraryDir.VulkanSDK}/VkLayer_utils.lib" Library["ShaderC_Debug"] = "%{LibraryDir.VulkanSDK_Debug}/shaderc_sharedd.lib" Library["SPIRV_Cross_Debug"] = "%{LibraryDir.VulkanSDK_Debug}/spirv-cross-cored.lib" Library["SPIRV_Cross_GLSL_Debug"] = "%{LibraryDir.VulkanSDK_Debug}/spirv-cross-glsld.lib" Library["SPIRV_Tools_Debug"] = "%{LibraryDir.VulkanSDK_Debug}/SPIRV-Toolsd.lib" Library["ShaderC_Release"] = "%{LibraryDir.VulkanSDK}/shaderc_shared.lib" Library["SPIRV_Cross_Release"] = "%{LibraryDir.VulkanSDK}/spirv-cross-core.lib" Library["SPIRV_Cross_GLSL_Release"] = "%{LibraryDir.VulkanSDK}/spirv-cross-glsl.lib" group "Dependencies" include "vendor/yaml-cpp" include "vendor/optick" group "" include "AppFrame" include "ArcticFox" include "ArcticFoxRuntime" include "ArcticFoxEditor" include "GameScript"
--unit/wound-change.lua v2.0 local utils = require 'utils' validArgs = validArgs or utils.invert({ 'help', 'unit', 'corpse', 'animate', 'remove', 'recent', 'regrow', 'resurrect', 'fitForResurrect', 'fitForAnimate', 'syndrome', 'dur', }) local args = utils.processArgs({...}, validArgs) if args.help then -- Help declaration print([[ -unit UNIT_ID The unit id of the item to remove wounds from, animate, or resurrect. If using animate or resurrect will take corpse parts from unit.corpse_parts -corpse ITEM_ID Can either be the item id for an item_corpsest or an item_corpsepartst, only applicable when using animate and resurrect -remove # or All Will remove a number of wounds from the unit, note that this removes wounds found in unit.body.wounds, each wound may effect multiple parts (i.e. a stab wound will effect all the layers of a body part and possible other body parts). Removing this wound will reset all damage to the layers defined in unit.body.wounds[#].parts -recent Starts with the most recent wounds first, if absent will select wounds at random to remove -animate UNIT_ID or nothing If left blank: Will bring a unit back from the dead that is hostile to everyone and is a zombie If a UNIT_ID is included: Will bring a unit back from the dead that is a zombie loyal to the UNIT_ID faction If fitForResurrect will only bring back the UPPERBODY of the unit if fitForAnimate will only bring back the parts of the unit, note this will create several new creatures, they will all be hostile Hand/Head/etc... zombies -resurrect UNIT_ID or nothing If left blank: Will bring a unit back from the dead with the same loyalties If a UNIT_ID is included: Will bring a unit back from the dead loyal to the UNIT_ID faction If fitForResurrect will only bring back the UPPERBODY of the unit (standard DF resurrection) if fitForAnimate will only bring back the parts of the unit, note this will create several new creatures, they will retain the same loyalties and you will end up with friendly Hands/Head/etc... zombies -regrow If used with animate or resurrect, regrow makes the UPPERBODY of the corpse/unit regrow all lost parts, including this without fitForResurrect or fitForAnimate will treat it as -fitForResurrect -regrow If used with remove, regrow will regrow any lost limbs as if they were tracked in the unit.body.wounds (normally linked severed body parts are not tracked) -fitForResurrect Will only resurrect/animate the item_corpsest of a unit (i.e. the UPPERBODY and everything still attached to it) -fitForAnimate Will only resurrect/animate the item_corpsepartst of a unit (i.e. everything that has been chopped off the UPPERBODY) -syndrome SYN_NAME -dur # examples: unit/wound-change -unit \\UNIT_ID -remove All regrow (completely heals a unit) unit/wound-change -unit \\UNIT_ID -remove 2 -recent (heal the last two wounds the unit suffered, doesn't regrow lost limbs) unit/wound-change -unit \\UNIT_ID -resurrect -fitForResurrect -regrow (fully restores a unit to life, including all of their lost body parts) unit/wound-change -unit \\UNIT_ID -animate -dur 1000 (animates all body parts and main body of unit for 1000 ticks) unit/wound-change -unit \\UNIT_ID -resurrect -fitForAnimate -regrow (if unit was chopped into 4 pieces, would create one original and 3 copies, all complete units) ]]) return end regrow = false if args.regrow then regrow = true end changeLife = false reference = false if args.animate then changeLife = 'Animate' if tonumber(args.animate) then reference = df.unit.find(tonumber(args.animate)) end elseif args.resurrect then changeLife = 'Resurrect' if tonumber(args.resurrect) then reference = df.unit.find(tonumber(args.resurrect)) end end dur = tonumber(dur) or 0 if args.remove then if tonumber(args.remove) then number = tonumber(args.remove) elseif args.remove == 'All' then number = 9999 end if args.unit and tonumber(args.unit) then unit = df.unit.find(tonumber(args.unit)) else print('No unit declared for wound removal') return end if #unit.body.wounds == 0 then return end if #unit.body.wounds <= number or number == 9999 then while #unit.body.wounds > 0 do unit.body.wounds:erase(#unit.body.wounds-1) end unit.body.wound_next_id=1 dfhack.script_environment('functions/unit').changeWound(unit,'All','All',regrow) return end if args.recent then wounds = unit.body.wounds else wounds = dfhack.script_environment('functions/misc').permute(unit.body.wounds) end j = 0 while j < number do j = j + 1 for _,part in pairs(wounds[#wounds-1].parts) do bp_id = part.body_part_id if unit.body.components.body_part_status[bp_id].missing and regrow then con_parts = dfhack.script_environment('functions/unit').checkBodyConnectedParts(unit,bp_id) else con_parts = {bp_id} end for _,con_part in pairs(con_parts) do dfhack.script_environment('functions/unit').changeWound(unit,con_part,'All',regrow) end end wounds:erase(#wounds-1) end elseif changeLife then if args.unit then corpseparts = dfhack.script_environment('functions/unit').checkBodyCorpseParts(args.unit) elseif args.corpse then corpseparts = dfhack.script_environment('functions/unit').checkBodyCorpseParts(args.corpse) else print('Neither a unit nor a corpse item declared for resurrection/animation') return end if not corpseparts.Corpse and #corpseparts.Parts == 0 then print('No corpse parts found for resurrection/animation') return end if args.fitForResurrect then if not corpseparts.Corpse then print('Targeted corpse unfit for resurrection/animation') return end dfhack.script_environment('functions/unit').changeLife(corpseparts.Unit,corpseparts.Corpse,changeLife,reference,regrow,args.syndrome,dur) elseif args.fitForAnimate then for _,id in pairs(corpseparts.Parts) do dfhack.script_environment('functions/unit').changeLife(corpseparts.Unit,id,changeLife,reference,regrow,args.syndrome,dur) end else if corpseparts.Corpse then dfhack.script_environment('functions/unit').changeLife(corpseparts.Unit,corpseparts.Corpse,changeLife,reference,regrow,args.syndrome,dur) end if not regrow then for _,id in pairs(corpseparts.Parts) do dfhack.script_environment('functions/unit').changeLife(corpseparts.Unit,id,changeLife,reference,regrow,args.syndrome,dur) end end end end
--[[ Code library for Crystalis lua scripts --]] --Global value to track whether we are on dolphin or not. dolphinMode = false --Returns true if hitting diagonal this frame will result in 2 pixel movement. function fastDiagonalThisFrame() local counter = memory.readbyte(0x0480) if counter % 2 == 1 then return true end; return false end; --Returns true if the "wait to move" counter is keepng you from moving function mustWaitToMove() local counter = memory.readbyte(0x0DA0) if counter > 1 then return true end; return false end; --No input for some number of frames function skipFrame(num) if num==nil then num=1 end; for i=1,num do joypad.set(1, {}) frameAdvanceWithRewind() end end function getPlayerCoords() local pdata = {} pdata.px = 256*memory.readbyte(0x0090) + memory.readbyte(0x0070) --for some reason the y coord rolls over at 240... pdata.py = 240*memory.readbyte(0x00d0) + memory.readbyte(0x00b0) pdata.relx = memory.readbyte(0x05c0) pdata.rely = memory.readbyte(0x05e0) return pdata end; --displays player coords onscreen function showPlayerCoords() local pdata = getPlayerCoords() if pdata.relx > 0 and pdata.relx < 255 and pdata.rely > 0 and pdata.rely < 240 then safetext(math.max(0,pdata.relx-20),pdata.rely,pdata.px..","..pdata.py) end; end; function showPlayerHitbox() local pdata = getPlayerCoords() --Draw hitbox. Offsets are stored in the same table as the --enemies, but I'll just hardcode here. --When hitboxes exactly touch the hit happens when player is --on the right or bottom. So player hitbox has been expanded --a pixel to account for this. local x1 = pdata.relx - 7 local x2 = pdata.relx + 6 local y1 = pdata.rely - 1 local y2 = pdata.rely - 22 safebox(x1,y1,x2,y2,"green") --gui.text(50,50,x1..","..y1.." "..x2..","..y2); end; --Get the hitbox for a sword shot. The offset tells what shot it is. --For a simple shot, offset is 4. function getShotHitbox(offset) local mem1 = memory.readbyte(0x03a0+offset) local mem2 = memory.readbyte(0x0420+offset) local hbtableOffset = OR(4*AND(mem1, 0x0F), AND(mem2, 0x40)) --get rel coords of shot local relx = memory.readbyte(0x05c0+offset) local rely = memory.readbyte(0x05e0+offset) local hitbox = {} hitbox.x1 = relx + memory.readbyte(0x9691+hbtableOffset) - 256 hitbox.x2 = hitbox.x1 + memory.readbyte(0x9692+hbtableOffset) hitbox.y1 = rely + memory.readbyte(0x9693+hbtableOffset) - 256 hitbox.y2 = hitbox.y1 + memory.readbyte(0x9694+hbtableOffset) --Adjust left and top sides to account for touching hitbox behavior. hitbox.x1 = hitbox.x1-1 hitbox.y1 = hitbox.y1-1 return hitbox end; function showShotHitbox() --For now, only simple shots are supported. local offset for offset=4,12 do if memory.readbyte(0x04a0+offset) ~= 0 then local hitbox = getShotHitbox(offset) safebox(hitbox.x1, hitbox.y1, hitbox.x2, hitbox.y2,"green") end; end; end; --Shows actual sword hitbox based on coords that pop up when swinging. function showActualSwordHitbox() --When hitboxes exactly touch the hit happens when sword is --on the right or bottom. So sword hitbox has been expanded --a pixel to account for this. --Note that hit detection only happens every other frame, so --overlapping hitboxes won't necessarily result in a hit. local relx = memory.readbyte(0x05c2) local rely = memory.readbyte(0x05e2) safebox(relx-6, rely-14, relx+5, rely-3 ,"green") end; --Helper function to draw each box at offset from player coords local function drawSwordBox(dir, x, y) if dir == "l" then x=x-14; y=y-3 elseif dir == "r" then x=x+14; y=y-3 elseif dir == "u" then y=y-19 elseif dir == "d" then y=y+14 end; if dolphinMode then y = y + 2 safebox(x-6, y-14, x+5, y-3 ,"#e69c2d") else safebox(x-6, y-14, x+5, y-3 ,"blue") end; end; function showPotentialSwordHitbox(showDiag) --Shows all possible sword hitbox locations on the next frame. --When hitboxes exactly touch the hit happens when sword is --on the right or bottom. So sword hitbox has been expanded --a pixel to account for this. --Note that hit detection only happens every other frame, so --overlapping hitboxes won't necessarily result in a hit. local pdata = getPlayerCoords() --One step in each dir drawSwordBox("l", pdata.relx-2, pdata.rely) drawSwordBox("r", pdata.relx+2, pdata.rely) drawSwordBox("u", pdata.relx, pdata.rely-2) drawSwordBox("d", pdata.relx, pdata.rely+2) if showDiag then --One step in each diag dir local diagStep if fastDiagonalThisFrame() then diagStep = 2 else diagStep = 1 end; drawSwordBox("u", pdata.relx-diagStep, pdata.rely-diagStep) drawSwordBox("u", pdata.relx+diagStep, pdata.rely-diagStep) drawSwordBox("r", pdata.relx+diagStep, pdata.rely+diagStep) drawSwordBox("d", pdata.relx-diagStep, pdata.rely+diagStep) end; --Now account for the funky extension, but only for manhattan dirs drawSwordBox("l", pdata.relx-5, pdata.rely) drawSwordBox("r", pdata.relx+5, pdata.rely) drawSwordBox("u", pdata.relx, pdata.rely-5) drawSwordBox("d", pdata.relx, pdata.rely+5) end; local function coordsAreSafe(x,y) return x > 0 and x < 255 and y > 0 and y < 240 end; -- draw a box and take care of coordinate checking function safebox(x1,y1,x2,y2,color,style) if coordsAreSafe(x1,y1) and coordsAreSafe(x2,y2) then --The nil here specifies an open box instead of filled. gui.drawbox(x1,y1,x2,y2,nil,color); if style == "x" then gui.drawline(x1,y1,x2,y2,color) gui.drawline(x1,y2,x2,y1,color) end; end; end; -- safety wrapper around gui.text function safetext(x, y, t) if coordsAreSafe(x,y) then gui.text(x, y, t) end; end; function displayGlobalCounter() local counter = memory.readbyte(0x0008) gui.text(80,10,toHexStr(counter)) end; function displaySwordCounter() local counter = memory.readbyte(0x0600) if counter > 0 then gui.text(80,20,counter) end; end; function displaySwordChargeCounter() local counter = memory.readbyte(0x0EC0) if counter > 0 then gui.text(80,30,counter) end; end; function displayRandSeed() local seed = memory.readbyte(0x000E) gui.text(200,10,seed) end; function displayRelCoords() local pdata = getPlayerCoords() gui.text(190,20,pdata.relx..","..pdata.rely) end; function displaySlopeCounter() local slopeCounter = memory.readbyte(0x0660) --iup.Message("debug", "slope counter is "..slopeCounter) if slopeCounter > 0 then --iup.Message("debug", "nonzero slope counter") gui.text(200,30,slopeCounter) end; end; function displayFastDiagonalIndicator() if dolphinMode then local counter = memory.readbyte(0x0480) if (counter % 4) == 0 then gui.text(120,20,"") else gui.text(120,20,"D") end; if (counter % 2) == 0 then gui.text(130,20,"M") else gui.text(130,20,"") end; else if fastDiagonalThisFrame() then gui.text(120,20,"D") else gui.text(120,20,"") end; end; end; function displayWaitToMoveIndicator() if mustWaitToMove() then gui.text(130,20,"W") else gui.text(120,20,"") end; end; --for convenience in toggling menu items function toggleMenuItem(i) if i.value == "ON" then i.value = "OFF" else i.value = "ON" end end; --Radio button function. Give it a list of items to act as radio with. function toggleRadioItem(ritem, rlist) --Nothing to do if item is already on if ritem.value == "OFF" then for i,h in ipairs(rlist) do h.value="OFF" end; ritem.value = "ON" rlist.value = ritem.title end; end; function toHexStr(n) return string.format("%X",n); end;
ITEM.name = "IMI Desert Eagle" ITEM.description = "The IMI Desert Eagle is a semi-automatic handgun notable for chambering the largest centerfire cartridge of any magazine fed, self-loading pistol. It has a unique design with a triangular barrel and large muzzle.\n\nAmmo: .50AE\nMagazine Capacity: 7" ITEM.model = "models/weapons/ethereal/w_deagle.mdl" ITEM.class = "cw_kk_ins2_deagle" ITEM.weaponCategory = "secondary" ITEM.width = 2 ITEM.height = 1 ITEM.price = 11000 ITEM.weight = 5
include("shared.lua") function ENT:Initialize() self.bfarm = {} self.a = 0 print("Init?") PrintTable( self:GetSequenceList() ) self:SetBodygroup(0,1) self:SetBodygroup(0,0) self:UseClientSideAnimation() self:SetSequence(1) self:ResetSequence(1) self.smoothSoilAmount = 0 self.cam2d3dSin = 0 self.smoothLight = 0 end --Credit to the Wiki for this func (slightly modified though) function draw.Circle( x, y, radius, seg , percent ) local cir = {} if percent == nil then percent = 100 end percent = percent / 100.0 table.insert( cir, { x = x, y = y, u = 0.5, v = 0.5 } ) for i = 0, seg do local a = math.rad( ((( i / seg ) * -360) * percent ) + 180) table.insert( cir, { x = x + math.sin( a ) * radius, y = y + math.cos( a ) * radius, u = math.sin( a ) / 2 + 0.5, v = math.cos( a ) / 2 + 0.5 } ) end local a = math.rad( 0 ) surface.DrawPoly( cir ) end local icon_dirt = Material("models/bluechu/bfarm/icon_dirt.png","noclamp smooth") local icon_water = Material("models/bluechu/bfarm/icon_water.png","noclamp smooth") local icon_sun = Material("models/bluechu/bfarm/icon_sun.png","noclamp smooth") function ENT:Draw() self:DrawModel() --These draw the sun beams for debug purpouses -- render.DrawLine( self:GetPos() + (self:GetAngles():Up() * 25), self:GetPos() + (self:GetAngles():Up() * 100000), Color(0,0,255), true ) -- render.DrawLine( self:GetPos() + (self:GetAngles():Up() * 25), self:GetPos() + (self:GetAngles():Up() * 100000) + (self:GetAngles():Right() * 35000), Color(0,0,255), true ) -- render.DrawLine( self:GetPos() + (self:GetAngles():Up() * 25), self:GetPos() + (self:GetAngles():Up() * 100000) + (self:GetAngles():Right() * -35000), Color(0,0,255) , true) -- render.DrawLine( self:GetPos() + (self:GetAngles():Up() * 25), self:GetPos() + (self:GetAngles():Up() * 100000) + (self:GetAngles():Forward() * 35000), Color(0,0,255), true ) -- render.DrawLine( self:GetPos() + (self:GetAngles():Up() * 25), self:GetPos() + (self:GetAngles():Up() * 100000) + (self:GetAngles():Forward() * -35000), Color(0,0,255), true ) --Now do the cam2D3D if LocalPlayer():GetPos():Distance(self:GetPos()) < 250 then local alpha = (LocalPlayer():GetPos():Distance(self:GetPos()) / 200.0) alpha = math.Clamp(1.25 - alpha, 0 ,1) local a = Angle(0,0,0) a:RotateAroundAxis(Vector(1,0,0),90) a.y = LocalPlayer():GetAngles().y - 90 self.smoothLight = Lerp(4 * FrameTime() , self.smoothLight , self:GetSunLevel()) cam.Start3D2D(self:GetPos() + Vector(0,0,56), a , 0.10) draw.RoundedBox(8,-150,-100,300,100 , Color(45,45,45,255 * alpha)) local tri = {{x = -25 , y = 0},{x = 25 , y = 0},{x = 0 , y = 25}} surface.SetDrawColor(Color(45,45,45,255 * alpha)) draw.NoTexture() surface.DrawPoly( tri ) --Now draw the icons and such --Draw Soil surface.SetDrawColor(Color(139/2,69/2,19/2 , 255 * alpha)) draw.Circle( (300/3 - 50) - 150, 50 - 100 , 45, 18) surface.SetDrawColor(Color(139,69,19 , 255 * alpha)) draw.Circle( (300/3 - 50) - 150, 50 - 100 , 45, 18 , (self:GetSoilAmount()/self:GetMaxSoilAmount()) * 100) surface.SetDrawColor(Color(60,60,60,255 * alpha)) draw.Circle( (300/3 - 50) - 150, 50 - 100 , 35, 18) surface.SetDrawColor(Color(139,69,19 , 255 * alpha)) surface.SetMaterial(icon_dirt) surface.DrawTexturedRect(((300/3 - 50) - 150) - 25 , 50 - 100 - 25 , 50 , 50) draw.NoTexture() --Draw Water surface.SetDrawColor(Color(100/4,100/4,255/4 , 255 * alpha)) draw.Circle( ((300/3) * 2) - 50 - 150, 50 - 100 , 45, 18) surface.SetDrawColor(Color(100,100,255 , 255 * alpha)) draw.Circle( ((300/3) * 2) - 50 - 150, 50 - 100 , 45, 18 , (self:GetWaterLevel()/self:GetMaxWaterAmount())*100) surface.SetDrawColor(Color(60,60,60,255 * alpha)) draw.Circle( ((300/3) * 2) - 50 - 150, 50 - 100 , 35, 18) surface.SetDrawColor(Color(100,100,255, 255 * alpha)) surface.SetMaterial(icon_water) surface.DrawTexturedRect( ((300/3) * 2) - 50 - 150 - 25, 50 - 100 - 25 , 50 , 50) draw.NoTexture() --Draw Sun surface.SetDrawColor(Color(255/4,255/4,0 , 255 * alpha)) draw.Circle( ((300/3) * 3) - 50 - 150, 50 - 100 , 45, 18) surface.SetDrawColor(Color(255,255,0 , 255 * alpha)) draw.Circle( ((300/3) * 3) - 50 - 150, 50 - 100 , 45, 18 , (self.smoothLight / 5) * 100) surface.SetDrawColor(Color(60,60,60,255 * alpha)) draw.Circle( ((300/3) * 3) - 50 - 150, 50 - 100 , 35, 18) surface.SetDrawColor(Color(255,255,0, 255 * alpha)) surface.SetMaterial(icon_sun) surface.DrawTexturedRect( ((300/3) * 3) - 50 - 150 - 25, 50 - 100 - 25 , 50 , 50) draw.NoTexture() cam.End3D2D() end end --Animates the soil function ENT:Think() self.cam2d3dSin = self.cam2d3dSin + (1.5 * FrameTime()) if self:GetSoilAmount() > 0 then self:SetBodygroup(0,1) self:SetBodygroup(1,0) self:SetCycle(self.smoothSoilAmount / self:GetMaxSoilAmount()) else self:SetBodygroup(1,1) self:SetBodygroup(0,0) self:SetCycle(0) end self.smoothSoilAmount = Lerp(8 * FrameTime() , self.smoothSoilAmount , self:GetSoilAmount()) end
require "lang.Signal" local AdRegisterNetworkResponse = require("ad.response.AdRegisterNetworkResponse") describe("AdRegisterNetworkResponse", function() local subject local strAppIds local appIds before_each(function() strAppIds = "1,2" appIds = {1, 2} end) it("should be successful when success is 1", function() subject = AdRegisterNetworkResponse(1, strAppIds, nil) assert.truthy(subject.isSuccess()) assert.truthy(table.equals(appIds, subject.getAdIds())) end) it("should be successful when success is true", function() subject = AdRegisterNetworkResponse(true, strAppIds, nil) assert.truthy(subject.isSuccess()) assert.truthy(table.equals(appIds, subject.getAdIds())) end) it("should be failure when success is 0", function() subject = AdRegisterNetworkResponse(0, strAppIds, "error") assert.falsy(subject.isSuccess()) assert.truthy(table.equals(appIds, subject.getAdIds())) end) it("should be failure when success is false", function() subject = AdRegisterNetworkResponse(false, strAppIds, "error") assert.falsy(subject.isSuccess()) assert.truthy(table.equals(appIds, subject.getAdIds())) end) end)
return Def.Quad { InitCommand=function(self) self:FullScreen():diffuse(Color.Black):diffusealpha(0) end, StartTransitioningCommand=function(self) self:linear(0.2):diffusealpha(1) end }
--[[ #!#!#!#Cake mod created by Jordan4ibanez#!#!# #!#!#!#Released under CC Attribution-ShareAlike 3.0 Unported #!#!# ]]-- cake_texture = {"cake_top.png","cake_bottom.png","cake_inner.png","cake_side.png","cake_side.png","cake_side.png"} slice_1 = { -7/16, -8/16, -7/16, -5/16, 0/16, 7/16} slice_2 = { -7/16, -8/16, -7/16, -2/16, 0/16, 7/16} slice_3 = { -7/16, -8/16, -7/16, 1/16, 0/16, 7/16} slice_4 = { -7/16, -8/16, -7/16, 3/16, 0/16, 7/16} slice_5 = { -7/16, -8/16, -7/16, 5/16, 0/16, 7/16} slice_6 = { -7/16, -8/16, -7/16, 7/16, 0/16, 7/16} minetest.register_craft({ output = "cake:cake", recipe = { {'bucket:bucket_water', 'bucket:bucket_water', 'bucket:bucket_water'}, {'default:sugar', 'default:leaves', 'default:sugar'}, {'farming:wheat_harvested', 'farming:wheat_harvested', 'farming:wheat_harvested'}, }, replacements = {{"bucket:bucket_water", "bucket:bucket_empty"}}, }) minetest.register_node("cake:cake", { description = "Cake", tiles = {"cake_top.png","cake_bottom.png","cake_side.png","cake_side.png","cake_side.png","cake_side.png"}, paramtype = "light", drawtype = "nodebox", selection_box = { type = "fixed", fixed = slice_6 }, node_box = { type = "fixed", fixed = slice_6 }, is_ground_content = true, stack_max = 1, groups = {crumbly=3,falling_node=1}, drop = '', --legacy_mineral = true, on_rightclick = function(pos, node, clicker, itemstack) if clicker:get_hp() < 20 then clicker:set_hp(clicker:get_hp()+2) minetest.env:add_node(pos,{type="node",name="cake:cake_5",param2=param2}) end end, }) minetest.register_node("cake:cake_5", { description = "Cake [5 Slices Left]", tiles = cake_texture, paramtype = "light", drawtype = "nodebox", selection_box = { type = "fixed", fixed = slice_5 }, node_box = { type = "fixed", fixed = slice_5 }, is_ground_content = true, groups = {crumbly=3,falling_node=1,not_in_creative_inventory=1}, drop = '', --legacy_mineral = true, on_rightclick = function(pos, node, clicker, itemstack) if clicker:get_hp() < 20 then clicker:set_hp(clicker:get_hp()+2) minetest.env:add_node(pos,{type="node",name="cake:cake_4",param2=param2}) end end, }) minetest.register_node("cake:cake_4", { description = "Cake [4 Slices Left]", tiles = cake_texture, paramtype = "light", drawtype = "nodebox", selection_box = { type = "fixed", fixed = slice_4 }, node_box = { type = "fixed", fixed = slice_4 }, is_ground_content = true, groups = {crumbly=3,falling_node=1,not_in_creative_inventory=1}, drop = '', --legacy_mineral = true, on_rightclick = function(pos, node, clicker, itemstack) if clicker:get_hp() < 20 then clicker:set_hp(clicker:get_hp()+2) minetest.env:add_node(pos,{type="node",name="cake:cake_3",param2=param2}) end end, }) minetest.register_node("cake:cake_3", { description = "Cake [3 Slices Left]", tiles = cake_texture, paramtype = "light", drawtype = "nodebox", selection_box = { type = "fixed", fixed = slice_3 }, node_box = { type = "fixed", fixed = slice_3 }, is_ground_content = true, groups = {crumbly=3,falling_node=1,not_in_creative_inventory=1}, drop = '', --legacy_mineral = true, on_rightclick = function(pos, node, clicker, itemstack) if clicker:get_hp() < 20 then clicker:set_hp(clicker:get_hp()+2) minetest.env:add_node(pos,{type="node",name="cake:cake_2",param2=param2}) end end, }) minetest.register_node("cake:cake_2", { description = "Cake [2 Slices Left]", tiles = cake_texture, paramtype = "light", drawtype = "nodebox", selection_box = { type = "fixed", fixed = slice_2 }, node_box = { type = "fixed", fixed = slice_2 }, is_ground_content = true, groups = {crumbly=3,falling_node=1,not_in_creative_inventory=1}, drop = '', --legacy_mineral = true, on_rightclick = function(pos, node, clicker, itemstack) if clicker:get_hp() < 20 then clicker:set_hp(clicker:get_hp()+2) minetest.env:add_node(pos,{type="node",name="cake:cake_1",param2=param2}) end end, }) minetest.register_node("cake:cake_1", { description = "Cake [1 Slice Left]", tiles = cake_texture, paramtype = "light", drawtype = "nodebox", selection_box = { type = "fixed", fixed = slice_1 }, node_box = { type = "fixed", fixed = slice_1 }, is_ground_content = true, groups = {crumbly=3,falling_node=1,not_in_creative_inventory=1}, drop = '', --legacy_mineral = true, on_rightclick = function(pos, node, clicker, itemstack) if clicker:get_hp() < 20 then clicker:set_hp(clicker:get_hp()+2) minetest.env:remove_node(pos) end end, })
-- _ __ __ ___ _____ _ __ -- | '__/ _` \ \ / / _ \ '_ \ Antonin Fischer (raven2cz) -- | | | (_| |\ V / __/ | | | https://fishlive.org/ -- |_| \__,_| \_/ \___|_| |_| https://github.com/raven2cz -- -- A customized theme.lua for awesomewm-git (Master) / OneDark Eighties Theme (https://github.com/raven2cz) ------------------------ -- OneDark 80s Theme -- ------------------------ local theme_name = "one-dark-80s" local awful = require("awful") local gfs = require("gears.filesystem") local gears = require("gears") local themes_path = gfs.get_themes_dir() local rnotification = require("ruled.notification") local dpi = require("beautiful.xresources").apply_dpi -- Widget and layout library local wibox = require("wibox") -- Window Enhancements local lain = require("lain") -- Fishlive Utilities local fishlive = require("fishlive") -- Notification library local naughty = require("naughty") local menubar = require('menubar') local xdg_menu = require("archmenu") -- freedesktop local freedesktop = require("freedesktop") -- Use Polybar instead of classic Awesome Bar local usePolybar = false -- {{{ Main local theme = {} theme.dir = os.getenv("HOME") .. "/.config/awesome/themes/" .. theme_name -- }}} -- activate random seed by time math.randomseed(os.time()); -- To guarantee unique random numbers on every platform, pop a few for i = 1,10 do math.random() end -- {{{ Styles -- Global font theme.font = "Iosevka Nerd Font 9" theme.font_larger = "Iosevka Nerd Font 11" theme.font_notify = "mononoki Nerd Font 11" -- {{{ Colors --base16-eighties-one-dark color palatte theme.base00 = "#2d2d2d" theme.base01 = "#393939" theme.base02 = "#515151" theme.base03 = "#747369" theme.base04 = "#a09f93" theme.base05 = "#d3d0c8" theme.base06 = "#e8e6df" theme.base07 = "#f2f0ec" theme.base08 = "#f2777a" theme.base09 = "#f99157" theme.base0A = "#ffcc66" theme.base0F = "#d27b53" theme.base0E = "#cc99cc" theme.base0C = "#66cccc" theme.base0D = "#6699cc" theme.base0B = "#99cc99" --one-dark-extended color palette theme.base10 = "#2C2C2C" theme.base11 = "#273450" theme.base18 = "#b74822" theme.base1A = "#F0DFAF" -- random shuffle foreground colors, 8 colors theme.baseColors = { theme.base08, theme.base09, theme.base0A, theme.base0E, theme.base0C, theme.base0D, theme.base0B, theme.base18, theme.base1A, } fishlive.util.shuffle(theme.baseColors) theme.fg_normal = theme.base06 theme.fg_focus = theme.base1A theme.fg_urgent = theme.base0E theme.fg_minimize = theme.base07 theme.bg_normal = theme.base10 theme.bg_focus = theme.base00 theme.bg_urgent = theme.base18 theme.bg_systray = theme.base10 theme.bg_minimize = theme.base03 theme.bg_underline = theme.base0C theme.notification_opacity = 0.84 theme.notification_bg = theme.bg_normal theme.notification_fg = theme.fg_focus -- }}} -- {{{ Borders theme.useless_gap = dpi(5) theme.border_width = dpi(1) theme.border_color_normal = theme.base10 theme.border_color_active = theme.base0A theme.border_color_marked = theme.base0E -- }}} -- {{{ Titlebars theme.titlebar_bg_focus = theme.base02 theme.titlebar_bg_normal = theme.base02 -- }}} -- There are other variable sets -- overriding the default one when -- defined, the sets are: -- [taglist|tasklist]_[bg|fg]_[focus|urgent|occupied|empty|volatile] -- titlebar_[normal|focus] -- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color] -- }}} -- {{{ Widgets -- You can add as many variables as -- you wish and access them by using -- beautiful.variable in your rc.lua theme.widgetbar_fg = theme.base05 theme.fg_widget = theme.base05 --theme.fg_center_widget = "#88A175" --theme.fg_end_widget = "#FF5656" --theme.bg_widget = "#494B4F" --theme.border_widget = "#3F3F3F" -- }}} -- {{{ Mouse finder theme.mouse_finder_color = theme.base0E -- mouse_finder_[timeout|animate_timeout|radius|factor] -- }}} -- {{{ Menu -- Variables set for theming the menu: -- menu_[bg|fg]_[normal|focus] -- menu_[border_color|border_width] theme.menu_height = dpi(15) theme.menu_width = dpi(100) -- }}} -- {{{ Notification Center theme.clear_icon = theme.dir .. "/icons/clear.png" theme.clear_grey_icon = theme.dir .. "/icons/clear_grey.png" theme.notification_icon = theme.dir .. "/icons/notification.png" theme.delete_icon = theme.dir .. "/icons/delete.png" theme.delete_grey_icon = theme.dir .. "/icons/delete_grey.png" theme.xcolor0 = theme.base02 theme.groups_bg = theme.base01 theme.xbackground = theme.base01 theme.bg_very_light = theme.base03 theme.bg_light = theme.base02 theme.border_radius = dpi(0) theme.wibar_height = dpi(27) -- }}} -- {{{ Icons -- {{{ Taglist theme.taglist_squares_sel = theme.dir .. "/taglist/squarefz.png" theme.taglist_squares_unsel = theme.dir .. "/taglist/squarez.png" --theme.taglist_squares_resize = "false" -- }}} -- {{{ Misc theme.awesome_icon = theme.dir .. "/awesome-icon.png" theme.menu_submenu_icon = themes_path .. "default/submenu.png" -- }}} -- {{{ Layout theme.layout_tile = theme.dir .. "/layouts/tile.png" theme.layout_tileleft = theme.dir .. "/layouts/tileleft.png" theme.layout_tilebottom = theme.dir .. "/layouts/tilebottom.png" theme.layout_tiletop = theme.dir .. "/layouts/tiletop.png" theme.layout_fairv = theme.dir .. "/layouts/fairv.png" theme.layout_fairh = theme.dir .. "/layouts/fairh.png" theme.layout_spiral = theme.dir .. "/layouts/spiral.png" theme.layout_dwindle = theme.dir .. "/layouts/dwindle.png" theme.layout_max = theme.dir .. "/layouts/max.png" theme.layout_fullscreen = theme.dir .. "/layouts/fullscreen.png" theme.layout_magnifier = theme.dir .. "/layouts/magnifier.png" theme.layout_floating = theme.dir .. "/layouts/floating.png" theme.layout_cornernw = theme.dir .. "/layouts/cornernw.png" theme.layout_cornerne = theme.dir .. "/layouts/cornerne.png" theme.layout_cornersw = theme.dir .. "/layouts/cornersw.png" theme.layout_cornerse = theme.dir .. "/layouts/cornerse.png" theme.layout_cascade = theme.dir .. "/layouts/cascade.png" theme.layout_cascadetile = theme.dir .. "/layouts/cascadetile.png" theme.layout_centerfair = theme.dir .. "/layouts/centerfair.png" theme.layout_centerwork = theme.dir .. "/layouts/centerwork.png" theme.layout_centerworkh = theme.dir .. "/layouts/centerworkh.png" theme.layout_termfair = theme.dir .. "/layouts/termfair.png" theme.layout_treetile = theme.dir .. "/layouts/treetile.png" theme.layout_machi = theme.dir .. "/layouts/machi.png" -- }}} -- {{{ Titlebar theme.titlebar_close_button_focus = theme.dir .. "/titlebar/close_focus.png" theme.titlebar_close_button_normal = theme.dir .. "/titlebar/close_normal.png" theme.titlebar_minimize_button_normal = theme.dir .. "/titlebar/minimize_normal.png" theme.titlebar_minimize_button_focus = theme.dir .. "/titlebar/minimize_focus.png" theme.titlebar_ontop_button_focus_active = theme.dir .. "/titlebar/ontop_focus_active.png" theme.titlebar_ontop_button_normal_active = theme.dir .. "/titlebar/ontop_normal_active.png" theme.titlebar_ontop_button_focus_inactive = theme.dir .. "/titlebar/ontop_focus_inactive.png" theme.titlebar_ontop_button_normal_inactive = theme.dir .. "/titlebar/ontop_normal_inactive.png" theme.titlebar_sticky_button_focus_active = theme.dir .. "/titlebar/sticky_focus_active.png" theme.titlebar_sticky_button_normal_active = theme.dir .. "/titlebar/sticky_normal_active.png" theme.titlebar_sticky_button_focus_inactive = theme.dir .. "/titlebar/sticky_focus_inactive.png" theme.titlebar_sticky_button_normal_inactive = theme.dir .. "/titlebar/sticky_normal_inactive.png" theme.titlebar_floating_button_focus_active = theme.dir .. "/titlebar/floating_focus_active.png" theme.titlebar_floating_button_normal_active = theme.dir .. "/titlebar/floating_normal_active.png" theme.titlebar_floating_button_focus_inactive = theme.dir .. "/titlebar/floating_focus_inactive.png" theme.titlebar_floating_button_normal_inactive = theme.dir .. "/titlebar/floating_normal_inactive.png" theme.titlebar_maximized_button_focus_active = theme.dir .. "/titlebar/maximized_focus_active.png" theme.titlebar_maximized_button_normal_active = theme.dir .. "/titlebar/maximized_normal_active.png" theme.titlebar_maximized_button_focus_inactive = theme.dir .. "/titlebar/maximized_focus_inactive.png" theme.titlebar_maximized_button_normal_inactive = theme.dir .. "/titlebar/maximized_normal_inactive.png" -- }}} --------------------- -- Wallpaper Support --------------------- -- {{{ Tag Wallpaper -- CONFIGURE IT: Set according to cloud wallpaper directory wppath = os.getenv("HOME") .."/Pictures/wallpapers/public-wallpapers/" wppath_user = os.getenv("HOME") .."/Pictures/wallpapers/user-wallpapers/" -- Set wallpaper for each tag local wp_selected = { "random", "00022-alone-samurai.jpg", "00002-GUWEIZ-samurai-girl.jpg", "00019-wallhaven-95j8kw.jpg", "00009-purple-rain-l8.jpg", "00015-wallhaven-zx5xwv.jpg", "00033-GUWEIZ-1120523.jpg", "00008-manga-life3.jpg", "00027-lovers.jpg", } -- Feature: place random wallpaper if the wp_selected has "random" text local wp_random = { "00024-anime-street-at-night.jpg", "00012-wallhaven-ymz61d.jpg", "00016-wallhaven-r28dm7.jpg", "00010-girl-getting-out-of-train.jpg", "00013-island.jpg", "00014-lake-house.jpg", "00029-fantasy-town.jpg", "00025-anime-girl-looking-away.jpg", "00028-clock-room.jpg.jpg", } -- Feature: User wallpaper folder - the wallpaper can be set for active tag by keybinding -- The directory is defined in the configuration settings in this theme file local wp_user = {} -- settings for currecnt user wallpaper local wp_user_idx = 0 -- }}} -- {{{ Wallpaper Changer theme.change_wallpaper_user = function(direction) local maxIdx = #wp_user wp_user_idx = wp_user_idx + direction if wp_user_idx < 1 then wp_user_idx = maxIdx end if wp_user_idx > maxIdx then wp_user_idx = 1 end local wp = wp_user[wp_user_idx] for s in screen do for i = 1,#s.tags do local tag = s.tags[i] if tag.selected then theme.wallpaper_user = wppath_user .. wp theme.wallpaper_user_tag = tag gears.wallpaper.maximized(theme.wallpaper_user, s, false) end end end end theme.change_wallpaper_per_tag = function() -- For each screen for scr in screen do -- Go over each tab for t = 1,#wp_selected do local tag = scr.tags[t] tag:connect_signal("property::selected", function (tag) -- And if selected if not tag.selected then return end -- Set the color of tag --theme.taglist_fg_focus = theme.baseColors[tag.index] -- Set random wallpaper if theme.wallpaper_user_tag == tag then wp = theme.wallpaper_user elseif wp_selected[t] == "random" then local position = math.random(1, #wp_random) wp = wppath .. wp_random[position] else wp = wppath .. wp_selected[t] end --gears.wallpaper.fit(wppath .. wp_selected[t], s) gears.wallpaper.maximized(wp, s, false) end) end end end -- }}} -- {{{ Wibar local markup = lain.util.markup -- Separators local separators = lain.util.separators -------------------------- -- Widgets Declarations -------------------------- local calendar_widget = require("awesome-wm-widgets.calendar-widget.calendar") -- local weather_widget = require("awesome-wm-widgets.weather-widget.weather") local spotify_widget = require("awesome-wm-widgets.spotify-widget.spotify") local todo_widget = require("awesome-wm-widgets.todo-widget.todo") -- fix params for wibox boxes local wiboxMargin = 7 local underLineSize = 1.5 local wiboxBox0 = fishlive.widget.wiboxBox0Underline local wiboxBox1 = fishlive.widget.wiboxBoxIconUnderline local wiboxBox2 = fishlive.widget.wiboxBox2IconUnderline -- Keyboard map indicator and switcher local wboxColor = theme.baseColors[1] local keyboardText = wibox.widget.textbox(); keyboardText:set_markup(markup.fontfg(theme.font_larger, wboxColor, " ")) theme.mykeyboardlayout = awful.widget.keyboardlayout() local keyboardWibox = wiboxBox1(keyboardText, theme.mykeyboardlayout, wboxColor, 3, 6, underLineSize, wiboxMargin) -- FS ROOT wboxColor = theme.baseColors[2] local fsicon = wibox.widget.textbox(); fsicon:set_markup(markup.fontfg(theme.font_larger, wboxColor, " ")) theme.fs = lain.widget.fs({ notification_preset = { fg = theme.fg_normal, bg = theme.bg_normal, font = theme.font_notify }, settings = function() local fsp = string.format(" %3.2f %s ", fs_now["/"].free, fs_now["/"].units) widget:set_markup(markup.font(theme.font, fsp)) end }) local fsWibox = wiboxBox1(fsicon, theme.fs.widget, wboxColor, 2, 3, underLineSize, wiboxMargin) -- MEM wboxColor = theme.baseColors[3] local memicon = wibox.widget.textbox(); memicon:set_markup(markup.fontfg(theme.font_larger, wboxColor, " ")) local mem = lain.widget.mem({ settings = function() widget:set_markup(markup.fontfg(theme.font, theme.widgetbar_fg, " " .. mem_now.used .. " MB ")) end }) local memWibox = wiboxBox1(memicon, mem.widget, wboxColor, 2, 3, underLineSize, wiboxMargin) -- CPU wboxColor = theme.baseColors[4] local cpuicon = wibox.widget.textbox(); cpuicon:set_markup(markup.fontfg(theme.font_larger, wboxColor, " ")) local cpu = lain.widget.cpu({ settings = function() widget:set_markup(markup.fontfg(theme.font, theme.widgetbar_fg, " " .. cpu_now.usage .. " % ")) end }) local cpuWibox = wiboxBox1(cpuicon, cpu.widget, wboxColor, 3, 4, underLineSize, wiboxMargin) -- CPU and GPU temps (lain, average) -- wboxColor = theme.baseColors[5] -- local tempicon = wibox.widget.textbox(); -- tempicon:set_markup(markup.fontfg(theme.font_larger, wboxColor, "")) -- local tempcpu = lain.widget.temp_ryzen({ -- settings = function() -- widget:set_markup(markup.fontfg(theme.font, theme.widgetbar_fg, " cpu " .. coretemp_now .. "°C ")) -- end -- }) -- local tempgpu = lain.widget.temp_gpu({ -- settings = function() -- widget:set_markup(markup.fontfg(theme.font, theme.widgetbar_fg, " gpu " .. coretemp_now .. "°C ")) -- end -- }) -- local tempWibox = wiboxBox2(tempicon, tempcpu.widget, tempgpu.widget, wboxColor, 4, 4, underLineSize, wiboxMargin) -- Weather widget -- wboxColor = theme.baseColors[6] -- local tempicon = wibox.widget.textbox(); -- tempicon:set_markup(markup.fontfg(theme.font_larger, wboxColor, "")) -- local myWeather = weather_widget({ -- api_key='7df2ce22b859742524de7ab6c97a352d', --fill your API KEY -- coordinates = { 49.261749, 13.903450 }, -- fill your coords -- font_name = 'Carter One', -- show_hourly_forecast = true, -- show_daily_forecast = true, -- }) -- local weatherWibox = wiboxBox0(myWeather, wboxColor, 3, 3, underLineSize, wiboxMargin) -- ALSA volume local alsaColor = theme.baseColors[7] local volicon = wibox.widget.textbox(); theme.volume = lain.widget.alsa({ settings = function() if volume_now.status == "off" then volicon:set_markup(markup.fontfg(theme.font_larger, alsaColor, "ﱝ ")) elseif tonumber(volume_now.level) == 0 then volicon:set_markup(markup.fontfg(theme.font_larger, alsaColor, " ")) elseif tonumber(volume_now.level) <= 25 then volicon:set_markup(markup.fontfg(theme.font_larger, alsaColor, " ")) elseif tonumber(volume_now.level) <= 70 then volicon:set_markup(markup.fontfg(theme.font_larger, alsaColor, "墳 ")) else volicon:set_markup(markup.fontfg(theme.font_larger, alsaColor, " ")) end widget:set_markup(markup.fontfg(theme.font, theme.widgetbar_fg, " " .. volume_now.level .. "% ")) end }) local alsaWibox = wiboxBox1(volicon, theme.volume.widget, alsaColor, 3, 3, underLineSize, wiboxMargin) -- Net wboxColor = theme.baseColors[8] local neticon = wibox.widget.textbox(); neticon:set_markup(markup.fontfg(theme.font_larger, wboxColor, " ")) local net = lain.widget.net({ settings = function() widget:set_markup(markup.fontfg(theme.font, theme.widgetbar_fg, string.format("%#7.1f", net_now.sent) .. " ﰵ " .. string.format("%#7.1f", net_now.received) .. " ﰬ ")) end }) local netWibox = wiboxBox1(neticon, net.widget, wboxColor, 3, 3, underLineSize, wiboxMargin) -- Textclock widget wboxColor = theme.baseColors[9] local clockicon = wibox.widget.textbox(); clockicon:set_markup(markup.fontfg(theme.font_larger, wboxColor, " ")) local mytextclock = wibox.widget.textclock(markup.fontfg(theme.font, theme.widgetbar_fg, " %a %d-%m-%Y") .. markup.fontfg(theme.font_larger, theme.base0A, " %H:%M:%S "), 1) local clockWibox = wiboxBox1(clockicon, mytextclock, wboxColor, 0, 0, underLineSize, wiboxMargin) -- Calendar widget local cw = calendar_widget({ theme = 'outrun', placement = 'top_right' }) -- Spotify widge local spotifyWibox = spotify_widget({ font = theme.font, max_length = 150, play_icon = '/usr/share/icons/Papirus-Light/24x24/categories/spotify.svg', pause_icon = '/usr/share/icons/Papirus-Dark/24x24/panel/spotify-indicator.svg' }) -- Separators local separator = wibox.widget.textbox() -- {{{ Menu - Press Button Awesome -- Create a launcher widget and a main menu myawesomemenu = { { "hotkeys", function() hotkeys_popup.show_help(nil, awful.screen.focused()) end }, { "manual", terminal .. " -e man awesome" }, { "edit config", editor_cmd .. " " .. awesome.conffile }, { "restart", awesome.restart }, { "quit", function() awesome.quit() end }, } -- mymainmenu = awful.menu({ items = { { "awesome", myawesomemenu, theme.awesome_icon }, -- { "Applications", xdgmenu }, -- { "open terminal", terminal } -- } -- }) -- mymainmenu = freedesktop.menu.build( { -- { "awesome", myawesomemenu, theme.awesome_icon }, -- { "Applications", xdgmenu }, -- { "open terminal", terminal } -- }) mymainmenu = freedesktop.menu.build({ before = { { "Awesome", myawesomemenu, theme.awesome_icon }, -- other triads can be put here }, after = { { "Open terminal", terminal }, -- other triads can be put here } }) theme.mymainmenu = mymainmenu mylauncher = awful.widget.launcher({ image = theme.awesome_icon, menu = mymainmenu }) -- Keyboard map indicator and switcher mykeyboardlayout = awful.widget.keyboardlayout() -- Set Wallpapers --[[ screen.connect_signal("request::wallpaper", function(s) -- Wallpaper local wallpaper = theme.wppath .. wp_selected[3] -- If wallpaper is a function, call it with the screen if type(wallpaper) == "function" then wallpaper = wallpaper(s) end gears.wallpaper.maximized(wallpaper, s, true) end) --]] ------------------------------------- -- DESKTOP and PANELS CONFIGURATION ------------------------------------- screen.connect_signal("request::desktop_decoration", function(s) local tags = { icons = { " ", " ", " ", " ", "懲", "摒 ", " ", " ", " " }, names = { "/main", "/w3", "/apps", "/dev", "/water", "/air", "/fire", "/earth", "/love" }, layouts = { awful.layout.layouts[13], --main awful.layout.layouts[2], --www (machi) awful.layout.layouts[2], --apps (machi) awful.layout.suit.floating, --idea awful.layout.layouts[11],--water (machi to empty placement) awful.layout.suit.magnifier, --air (machi) awful.layout.layouts[5], --fire (center-work) awful.layout.layouts[6], --earth (termfair) awful.layout.suit.max --love } } -- Each screen has its own tag table. for s = 1, screen.count() do tags[s] = awful.tag(tags.names, s, tags.layouts) -- Set additional optional parameters for each tag --tags[s][1].column_count = 2 end -- Create a promptbox for each screen s.mypromptbox = awful.widget.prompt() -- Create an imagebox widget which will contain an icon indicating which layout we're using. -- We need one layoutbox per screen. s.mylayoutbox = awful.widget.layoutbox { screen = s, buttons = { awful.button({ }, 1, function () awful.layout.inc( 1) end), awful.button({ }, 3, function () awful.layout.inc(-1) end), awful.button({ }, 4, function () awful.layout.inc(-1) end), awful.button({ }, 5, function () awful.layout.inc( 1) end), } } -- TAGLIST COMPONENT -- Taglist Callbacks local update_tag = function(self, c3, index, objects) local focused = false for _, x in pairs(awful.screen.focused().selected_tags) do if x.index == index then focused = true break end end local color if focused then color = theme.bg_underline else color = theme.bg_normal end local tagBox = self:get_children_by_id("overline")[1] local iconBox = self:get_children_by_id("icon_text_role")[1] iconBox:set_markup(markup.fontfg(theme.font_larger, theme.baseColors[index], tags.icons[index])) tagBox.bg = color end -- Create a taglist widget s.mytaglist = awful.widget.taglist { screen = s, filter = awful.widget.taglist.filter.all, buttons = { awful.button({ }, 1, function(t) t:view_only() end), awful.button({ modkey }, 1, function(t) if client.focus then client.focus:move_to_tag(t) end end), awful.button({ }, 3, awful.tag.viewtoggle), awful.button({ modkey }, 3, function(t) if client.focus then client.focus:toggle_tag(t) end end), awful.button({ }, 4, function(t) awful.tag.viewprev(t.screen) end), awful.button({ }, 5, function(t) awful.tag.viewnext(t.screen) end), }, widget_template = { { { layout = wibox.layout.fixed.vertical, { layout = wibox.layout.fixed.horizontal, { { id = 'icon_text_role', widget = wibox.widget.textbox }, left = 7, right = 0, top = 0, widget = wibox.container.margin }, { { id = 'text_role', widget = wibox.widget.textbox }, top = 0, right = 7, widget = wibox.container.margin } }, { { bottom = 1, widget = wibox.container.margin }, id = 'overline', bg = theme.bg_normal, shape = gears.shape.rectangle, widget = wibox.container.background } }, widget = wibox.container.margin }, id = 'background_role', widget = wibox.container.background, shape = gears.shape.rectangle, create_callback = update_tag, update_callback = update_tag }, } -- TASKLIST -- Create a tasklist widget s.mytasklist = awful.widget.tasklist { screen = s, filter = awful.widget.tasklist.filter.currenttags, buttons = { awful.button({ }, 1, function (c) c:activate { context = "tasklist", action = "toggle_minimization" } end), awful.button({ }, 3, function() awful.menu.client_list { theme = { width = 250 } } end), awful.button({ }, 4, function() awful.client.focus.byidx(-1) end), awful.button({ }, 5, function() awful.client.focus.byidx( 1) end), } } -- bind calendar with clock widget mytextclock:connect_signal("button::press", function(_, _, _, button) if button == 1 then cw.toggle() end end ) -- separator type separator:set_text(" ") -- MAIN PANEL CONFIGURATION -- Create the wibox if usePolybar then -- Polybar support awful.util.spawn(os.getenv("HOME") .. "/.config/polybar/launch.sh") s.mywibox = awful.wibar({ position = "top", height = 35, screen = s }) else -- Add widgets to the wibox --awful.util.spawn("killall -q polybar") s.mywibox = awful.wibar({ position = "top", bg = theme.bg_normal, screen = s }) s.mywibox.widget = { layout = wibox.layout.align.horizontal, { -- Left widgets layout = wibox.layout.fixed.horizontal, mylauncher, separator, s.mytaglist, separator, s.mypromptbox, }, s.mytasklist, -- Middle widget { -- Right widgets layout = wibox.layout.fixed.horizontal, separator, spotifyWibox, separator, todo_widget(), separator, wibox.widget.systray(), separator, keyboardWibox, fsWibox, memWibox, cpuWibox, -- tempWibox, alsaWibox, netWibox, -- weatherWibox, clockWibox, s.mylayoutbox, }, } end -------------------------- -- NAUGHTY CONFIGURATION -------------------------- naughty.config.defaults.ontop = true naughty.config.defaults.icon_size = dpi(32) naughty.config.defaults.timeout = 10 naughty.config.defaults.title = 'System Notification Title' naughty.config.defaults.margin = dpi(16) naughty.config.defaults.border_width = 0 naughty.config.defaults.position = 'top_middle' naughty.config.defaults.shape = function(cr, w, h) gears.shape.rounded_rect(cr, w, h, dpi(6)) end -- Apply theme variables naughty.config.padding = dpi(8) naughty.config.spacing = dpi(8) naughty.config.icon_dirs = { '/usr/share/icons/Papirus-Dark/', '/usr/share/icons/Tela', '/usr/share/icons/Tela-blue-dark', '/usr/share/icons/la-capitaine/' } naughty.config.icon_formats = { 'svg', 'png', 'jpg', 'gif' } rnotification.connect_signal('request::rules', function() -- Critical notifs rnotification.append_rule { rule = { urgency = 'critical' }, properties = { font = theme.font_notify, bg = theme.base18, fg = theme.base06, margin = dpi(16), position = 'top_middle', implicit_timeout = 0 } } -- Normal notifs rnotification.append_rule { rule = { urgency = 'normal' }, properties = { font = theme.font_notify, bg = theme.notification_bg, fg = theme.notification_fg, margin = dpi(16), position = 'top_middle', implicit_timeout = 10, icon_size = dpi(260), opacity = 0.87 } } -- Low notifs rnotification.append_rule { rule = { urgency = 'low' }, properties = { font = theme.font_notify, bg = theme.notification_bg, fg = theme.notification_fg, margin = dpi(16), position = 'top_middle', implicit_timeout = 10, icon_size = dpi(260), opacity = 0.87 } } end ) -- Error handling naughty.connect_signal('request::display_error', function(message, startup) naughty.notification { urgency = 'critical', title = 'Oops, an error happened'..(startup and ' during startup!' or '!'), message = message, app_name = 'System Notification', icon = theme.awesome_icon } end ) -- XDG icon lookup naughty.connect_signal('request::icon', function(n, context, hints) if context ~= 'app_icon' then return end local path = menubar.utils.lookup_icon(hints.app_icon) or menubar.utils.lookup_icon(hints.app_icon:lower()) if path then n.icon = path end end ) -- naughty.connect_signal("request::display", function(n) -- naughty.layout.box { notification = n } -- end) ----------------------------------------------- -- WALLPAPER PER TAG and USER WALLS keybinding ----------------------------------------------- -- Set actual wallpaper for first tag and screen local wp = wp_selected[1] if wp == "random" then wp = wp_random[1] end gears.wallpaper.maximized(wppath .. wp, s, false) -- Try to load user wallpapers wp_user = fishlive.util.scandir(wppath_user) -- Change wallpaper per tag theme.change_wallpaper_per_tag() -- }}} end) -- }}} return theme -- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
--- === cp.rx.go.First === --- --- _Extends:_ [Statement](cp.rx.go.Statement.md) --- --- A [Statement](cp.rx.go.Statement.md) that will complete after the first result resolves. local Statement = require "cp.rx.go.Statement" local toObservable = Statement.toObservable --- cp.rx.go.First(resolvable) -> First --- Constructor --- Creates a new `First` `Statement` that will return the first value from the `resolvable` and complete. --- --- Example: --- --- ```lua --- First(someObservable) --- ``` --- --- Parameters: --- * resolvable - a `resolvable` value, of which the first result will be returned. --- --- Returns: --- * The `Statement` which will return the first value when executed. local First = Statement.named("First") :onInit(function(context, resolvable) assert(resolvable ~= nil, "The First `resolveable` may not be `nil`.") context.resolvable = resolvable end) :onObservable(function(context) return toObservable(context.resolvable):first() end) :define() return First
---@class CS.FairyEditor.PublishHandler ---@field public CODE_FILE_MARK string ---@field public genCodeHandler (fun(obj:CS.FairyEditor.PublishHandler):void) ---@field public pkg CS.FairyEditor.FPackage ---@field public project CS.FairyEditor.FProject ---@field public isSuccess boolean ---@field public publishDescOnly boolean ---@field public exportPath string ---@field public exportCodePath string ---@field public useAtlas boolean ---@field public fileName string ---@field public fileExtension string ---@field public genCode boolean ---@field public items CS.System.Collections.Generic.List_CS.FairyEditor.FPackageItem ---@field public paused boolean ---@type CS.FairyEditor.PublishHandler CS.FairyEditor.PublishHandler = { } ---@return CS.FairyEditor.PublishHandler ---@param pkg CS.FairyEditor.FPackage ---@param branch string function CS.FairyEditor.PublishHandler.New(pkg, branch) end ---@param descFile string function CS.FairyEditor.PublishHandler:ExportBinaryDesc(descFile) end ---@param zipArchive CS.System.IO.Compression.ZipStorer function CS.FairyEditor.PublishHandler:ExportDescZip(zipArchive) end ---@param zipArchive CS.System.IO.Compression.ZipStorer ---@param compress boolean function CS.FairyEditor.PublishHandler:ExportResZip(zipArchive, compress) end ---@return CS.System.Threading.Tasks.Task ---@param resPrefix string function CS.FairyEditor.PublishHandler:ExportResFiles(resPrefix) end ---@param folder string function CS.FairyEditor.PublishHandler:ClearOldResFiles(folder) end ---@return CS.System.Collections.Generic.List_CS.FairyEditor.PublishHandler.ClassInfo ---@param stripMember boolean ---@param stripClass boolean ---@param fguiNamespace string function CS.FairyEditor.PublishHandler:CollectClasses(stripMember, stripClass, fguiNamespace) end ---@overload fun(path:string, codeFileExtensions:string): void ---@param path string ---@param codeFileExtensions string ---@param optional fileMark string function CS.FairyEditor.PublishHandler:SetupCodeFolder(path, codeFileExtensions, fileMark) end ---@return string ---@param source string function CS.FairyEditor.PublishHandler:ToFilename(source) end ---@param value (fun():void) function CS.FairyEditor.PublishHandler:add_onComplete(value) end ---@param value (fun():void) function CS.FairyEditor.PublishHandler:remove_onComplete(value) end ---@return boolean ---@param item CS.FairyEditor.FPackageItem function CS.FairyEditor.PublishHandler:IsInList(item) end ---@return CS.System.Object ---@param item CS.FairyEditor.FPackageItem function CS.FairyEditor.PublishHandler:GetItemDesc(item) end ---@return CS.FairyGUI.Utils.XML ---@param item CS.FairyEditor.FPackageItem function CS.FairyEditor.PublishHandler:GetScriptData(item) end ---@return CS.System.Threading.Tasks.Task function CS.FairyEditor.PublishHandler:Run() end return CS.FairyEditor.PublishHandler
--[[ Lexical Tools - lua/entities/base_moneypot.lua Copyright 2010-2016 Lex Robinson This is the main code for Moneypot style entities Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ]] -- AddCSLuaFile() ENT.Type = "anim" ENT.PrintName = "Money Pot" ENT.Author = "Lexi" ENT.Spawnable = false ENT.AdminSpawnable = false ENT.IsMoneyPot = true local BaseClass if (WireLib) then BaseClass = "base_wire_entity" else BaseClass = "base_gmodentity" end DEFINE_BASECLASS(BaseClass) function ENT:SetupDataTables() self:NetworkVar("Int", 0, "Money") end if (CLIENT) then if not WireLib then -- Slightly improved performance for sandbox tooltips function ENT:Think() if (self:BeingLookedAtByLocalPlayer()) then local text = self:GetOverlayText() AddWorldTip(self:EntIndex(), text, 0.5, self:GetPos(), self) halo.Add({self}, color_white, 1, 1, 1, true, true) end end end -- Sandbox function ENT:GetOverlayText() local txt = string.format( language.GetPhrase("tool.moneypot.overlay"), self:FormatMoney(self:GetMoney()) ) if (game.SinglePlayer()) then return txt end local PlayerName = self:GetPlayerName() return txt .. "\n(" .. PlayerName .. ")" end -- Wiremod function ENT:GetOverlayData() return { txt = string.format( language.GetPhrase("tool.moneypot.overlay"), self:FormatMoney(self:GetMoney()) ), } end function ENT:FormatMoney(amount) return string.format("$%d", amount) end return end -------------------------------------- -- -- -- Overridables for customisation -- -- -- -------------------------------------- function ENT:IsMoneyEntity(ent) return false end function ENT:SpawnMoneyEntity(amount) return NULL end function ENT:GetNumMoneyEntities() return math.huge end function ENT:InvalidateMoneyEntity(ent) ent._InvalidMoney = true end function ENT:IsMoneyEntityInvalid(ent) return ent._InvalidMoney == true end function ENT:GetMoneyAmount(ent) return 0 end -------------------------------------- -- -- -- / END -- -- -- -------------------------------------- function ENT:Initialize() self:SetModel("models/props_lab/powerbox02b.mdl") self:PhysicsInit(SOLID_VPHYSICS) self:SetMoveType(MOVETYPE_VPHYSICS) self:SetSolid(SOLID_VPHYSICS) self:SetUseType(SIMPLE_USE) if (WireLib) then WireLib.CreateSpecialInputs(self, {"SpawnAll", "SpawnAmount"}) WireLib.CreateSpecialOutputs(self, {"StoredAmount", "LastAmount", "Updated"}) end local phys = self:GetPhysicsObject() if (not phys:IsValid()) then local mdl = self:GetModel() self:Remove() error( "Entity of type " .. self.ClassName .. " created without a physobj! (Model: " .. mdl .. ")" ) end phys:Wake() end function ENT:SpawnAll(immediate) local amount = self:GetMoney() if (immediate) then self:SpawnAmount(amount) else self:DelayedSpawn(amount) end end function ENT:Use(activator) self:SpawnAll(false) end function ENT:UpdateWireOutputs(amount) if (not Wire_TriggerOutput) then return end Wire_TriggerOutput(self, "StoredAmount", self:GetMoney()) Wire_TriggerOutput(self, "LastAmount", amount) Wire_TriggerOutput(self, "Updated", 1) timer.Simple( 0.1, function() if (IsValid(self)) then Wire_TriggerOutput(self, "Updated", 0) end end ) end function ENT:IsGoodMoneyEntity(ent) return IsValid(ent) and self:IsMoneyEntity(ent) and not self:IsMoneyEntityInvalid(ent) and (ent.MoneyPotPause or 0) < CurTime() end function ENT:StartTouch(ent) if (not self:IsGoodMoneyEntity(ent)) then return end local amt = self:GetMoneyAmount(ent) if (amt <= 0) then return end self:InvalidateMoneyEntity(ent) ent.MoneyPotPause = CurTime() + 100 ent:Remove() self:AddMoney(amt) end local spos = Vector(0, 0, 17) function ENT:SpawnAmount(amount) amount = math.Clamp(math.floor(amount), 0, self:GetMoney()) if (amount == 0) then return end -- Prevent people spawning too many if (self:GetNumMoneyEntities() >= 50) then return end local cash = self:SpawnMoneyEntity(amount) if (cash == NULL) then error("Moneypot (" .. self.ClassName .. ") unable to create cash entity!") end -- Remove our money before the new money exists self:AddMoney(-amount) cash:SetPos(self:LocalToWorld(spos)) cash:Spawn() cash:Activate() cash.MoneyPotPause = CurTime() + 5 end -- For calling from lua (ie so /givemoney can give direct to it) function ENT:AddMoney(amount) self:SetMoney(self:GetMoney() + amount) self:UpdateWireOutputs(amount) end local cvar_delay = CreateConVar( "moneypot_spawn_delay", 1, FCVAR_ARCHIVE, "How long in seconds to wait before spawning money" ) function ENT:DelayedSpawn(amount) amount = math.Clamp(amount, 0, self:GetMoney()) if (amount == 0) then return end if (self.DoSpawn) then self.DoSpawn = self.DoSpawn + amount else self.DoSpawn = amount end self.SpawnTime = CurTime() + cvar_delay:GetFloat() end -- From Moneyprinter ENT.DoSpawn = false ENT.SpawnTime = 0 function ENT:Think() BaseClass.Think(self) if (not self.DoSpawn) then return end local ctime = CurTime() if (self.SpawnTime < ctime) then self:SpawnAmount(self.DoSpawn) self.DoSpawn = false return end local effectdata = EffectData() effectdata:SetOrigin(self:GetPos()) effectdata:SetMagnitude(1) effectdata:SetScale(1) effectdata:SetRadius(2) util.Effect("Sparks", effectdata) end function ENT:OnRemove() self:SpawnAll(true) BaseClass.OnRemove(self) end function ENT:TriggerInput(key, value) if (key == "SpawnAll" and value ~= 0) then self:SpawnAll(false) elseif (key == "SpawnAmount" and value > 0) then self:DelayedSpawn(value) end end function ENT:OnEntityCopyTableFinish(data) if (data.DT) then data.DT.Money = 0 end end function ENT:OnDuplicated(data) self:SetMoney(0) -- AdvDupe restores DTVars *AFTER* calling this function 😒 if (data.DT) then data.DT.Money = 0 end end function ENT:PostEntityPaste() self:SetMoney(0) end
local api = require "luci.model.cbi.passwall.api.api" local appname = api.appname local sys = api.sys local has_chnlist = api.fs.access("/usr/share/passwall/rules/chnlist") m = Map(appname) local global_proxy_mode = (m:get("@global[0]", "tcp_proxy_mode") or "") .. (m:get("@global[0]", "udp_proxy_mode") or "") -- [[ ACLs Settings ]]-- s = m:section(TypedSection, "acl_rule", translate("ACLs"), "<font color='red'>" .. translate("ACLs is a tools which used to designate specific IP proxy mode.") .. "</font>") s.template = "cbi/tblsection" s.sortable = true s.anonymous = true s.addremove = true s.extedit = api.url("acl_config", "%s") function s.create(e, t) t = TypedSection.create(e, t) luci.http.redirect(e.extedit:format(t)) end function s.remove(e, t) sys.call("rm -rf /tmp/etc/passwall_tmp/dns_" .. t .. "*") TypedSection.remove(e, t) end ---- Enable o = s:option(Flag, "enabled", translate("Enable")) o.default = 1 o.rmempty = false ---- Remarks o = s:option(Value, "remarks", translate("Remarks")) o.rmempty = true local mac_t = {} sys.net.mac_hints(function(e, t) mac_t[e] = { ip = t, mac = e } end) o = s:option(DummyValue, "sources", translate("Source")) o.rawhtml = true o.cfgvalue = function(t, n) local e = '' local v = Value.cfgvalue(t, n) or '' string.gsub(v, '[^' .. " " .. ']+', function(w) local a = w if mac_t[w] then a = a .. ' (' .. mac_t[w].ip .. ')' end if #e > 0 then e = e .. "<br />" end e = e .. a end) return e end ---- TCP Proxy Mode tcp_proxy_mode = s:option(ListValue, "tcp_proxy_mode", translatef("%s Proxy Mode", "TCP")) tcp_proxy_mode.default = "default" tcp_proxy_mode.rmempty = false tcp_proxy_mode:value("default", translate("Default")) tcp_proxy_mode:value("disable", translate("No Proxy")) tcp_proxy_mode:value("global", translate("Global Proxy")) if has_chnlist and global_proxy_mode:find("returnhome") then tcp_proxy_mode:value("returnhome", translate("China List")) else tcp_proxy_mode:value("gfwlist", translate("GFW List")) tcp_proxy_mode:value("chnroute", translate("Not China List")) end tcp_proxy_mode:value("direct/proxy", translate("Only use direct/proxy list")) ---- UDP Proxy Mode udp_proxy_mode = s:option(ListValue, "udp_proxy_mode", translatef("%s Proxy Mode", "UDP")) udp_proxy_mode.default = "default" udp_proxy_mode.rmempty = false udp_proxy_mode:value("default", translate("Default")) udp_proxy_mode:value("disable", translate("No Proxy")) udp_proxy_mode:value("global", translate("Global Proxy")) if has_chnlist and global_proxy_mode:find("returnhome") then udp_proxy_mode:value("returnhome", translate("China List")) else udp_proxy_mode:value("gfwlist", translate("GFW List")) udp_proxy_mode:value("chnroute", translate("Not China List")) end udp_proxy_mode:value("direct/proxy", translate("Only use direct/proxy list")) --[[ ---- TCP No Redir Ports o = s:option(Value, "tcp_no_redir_ports", translate("TCP No Redir Ports")) o.default = "default" o:value("disable", translate("No patterns are used")) o:value("default", translate("Default")) o:value("1:65535", translate("All")) ---- UDP No Redir Ports o = s:option(Value, "udp_no_redir_ports", translate("UDP No Redir Ports")) o.default = "default" o:value("disable", translate("No patterns are used")) o:value("default", translate("Default")) o:value("1:65535", translate("All")) ---- TCP Redir Ports o = s:option(Value, "tcp_redir_ports", translate("TCP Redir Ports")) o.default = "default" o:value("default", translate("Default")) o:value("1:65535", translate("All")) o:value("80,443", "80,443") o:value("80:65535", "80 " .. translate("or more")) o:value("1:443", "443 " .. translate("or less")) ---- UDP Redir Ports o = s:option(Value, "udp_redir_ports", translate("UDP Redir Ports")) o.default = "default" o:value("default", translate("Default")) o:value("1:65535", translate("All")) o:value("53", "53") ]]-- return m
-- Copy ext/rf/premake5.lua script as rf.lua to be able to include it os.copyfile("ext/rf/premake5.lua", "ext/rf/rf.lua") require "ext/rf" workspace "Radar" language "C++" cppdialect "C++11" architecture "x86_64" platforms { "Windows", "Unix" } configurations { "Debug", "Release", "ReleaseDbg" } filter "configurations:Debug" defines { "DEBUG" } symbols "On" filter "configurations:Release" optimize "On" filter "configurations:ReleaseDbg" optimize "Debug" buildoptions { "-fno-omit-frame-pointer" } filter "platforms:Windows" buildoptions { "-W4" } filter "platforms:Unix" buildoptions { "-Wall" } filter {} externalproject "glfw3" kind "StaticLib" location "ext/rf" targetdir "ext/rf/lib" externalproject "rf" kind "StaticLib" location "ext/rf" targetdir "ext/rf/lib" includedirs { "ext/rf/ext/glfw/include" } project "radar" kind "ConsoleApp" targetdir "bin/" debugdir "bin/" defines { "GLEW_STATIC" } defines { "HAVE_SSE2=1" } files { "src/**.cpp", "src/**.h" } removefiles { "src/radar_unix.cpp", "src/radar_win32.cpp" } includedirs { "src", "ext/rf/include", "ext/rf/ext/cjson", "ext/openal-soft/include", "ext/rf/ext/glew/include", "ext/rf/ext/glfw/include" } libdirs { "ext/rf/lib", "ext/openal-soft/build" } filter "configurations:Debug" links { "rf_d", "glfw3_d" } filter "configurations:ReleaseDbg" links { "rf_p", "glfw3_p" } filter { "configurations:Release" } links { "rf", "glfw3" } filter "platforms:Windows" libdirs{ "ext/openal-soft/build/Release" } links { "openal32", "opengl32", "PowrProf" } filter "platforms:Unix" links { "openal", "GL", "X11", "dl", "pthread" } filter {}
local Object = require "object" local Work = require "work" local WorkQueue = require "work_queue" local Deque = require "deque" local test = Work:extend() function test:setId(id) self.id = id end function test:getId() return self.id end function test:workBegin() print("work begin: ", self.id) end function test:workEnd() print("work end: ", self.id) print("=============================") end function test:work(callback) -- do the dirty work. As an example, the work is to print the test id print("working ... ", self.id) callback() end function main() local function finishCallback() print("all done") end local workQueue = WorkQueue:new() workQueue:setQueueType(WorkQueue.FIFO) workQueue:setCallback(finishCallback) for i=1, 10 do local work = test:new() work:setId(i) print("add work", work:getId()) workQueue:addWork(work) end print("================ work queue start ================") workQueue:start() end main()
local rules = require "scripts.rules" local animations = require "character.animations" local Character = require "character.character" local ComeInnWaitress = Character:new() function ComeInnWaitress:new(o, control) o = o or Character:new(o, control) setmetatable(o, self) self.__index = self return o end function ComeInnWaitress:create() Character.create(self) self:set_skin("bunny_girl") local stats = self.data.stats stats.name = "Debbie" stats.hit_die = "d6", rules.set_ability_scores_map(stats, { str = 10, dex = 13, con = 10, int = 10, wis = 8, cha = 15, }) end function ComeInnWaitress:on_interact(interactor_name) local dialogue = { start = { text = "I will attend to you shortly.", go_to = "end" } } sfml_dialogue(dialogue) end return ComeInnWaitress
-- kind of trivial right now, but when there are agents/entities, -- this will also handle triggering encounters, etc. startTile = gtr("TunnelStart") endTile = gtr("TunnelEnd") path = FindSimplePath(startTile, endTile) for _, tile in pairs(path) do tile:SetAttributeInt("open", 1) end
local S = mobs.intllib mobs:register_mob("drwho_mobs:cyberman", { type = "monster", passive = false, damage = 3, attack_type = "dogfight", attacks_monsters = true, attack_npcs = false, owner_loyal = true, pathfinding = true, hp_min = 10, hp_max = 20, armor = 100, collisionbox = {-0.35,-1.0,-0.35, 0.35,0.8,0.35}, visual = "mesh", mesh = "mobs_character.b3d", drawtype = "front", textures = { {"mobs_cyberman.png"}, }, makes_footstep_sound = true, sounds = {}, walk_velocity = 2, run_velocity = 3, jump = true, drops = { }, water_damage = 0, lava_damage = 2, light_damage = 0, view_range = 15, fear_height = 3, animation = { speed_normal = 30, speed_run = 30, stand_start = 0, stand_end = 79, walk_start = 168, walk_end = 187, run_start = 168, run_end = 187, punch_start = 200, punch_end = 219, }, }) mobs:register_egg("drwho_mobs:cyberman", S("Cyberman"), "default_brick.png", 1) mobs:alias_mob("drwho_mobs:cyberman", "drwho_mobs:cyberman")
Cable.receive('fl_hook_run_cl', function(hook_name, ...) hook.run(hook_name, ...) end) Cable.receive('fl_player_initial_spawn', function(ply_index) hook.run('PlayerInitialSpawn', Entity(ply_index)) end) Cable.receive('fl_player_disconnected', function(ply_index) hook.run('PlayerDisconnected', Entity(ply_index)) end) Cable.receive('fl_player_model_changed', function(ply_index, new_model, old_model) util.wait_for_ent(ply_index, function(player) hook.run('PlayerModelChanged', player, new_model, old_model) end) end) Cable.receive('fl_notification', function(message, arguments, color) if IsValid(PLAYER) and PLAYER:has_initialized() then PLAYER:notify(message, arguments, color) end end) Cable.receive('fl_player_take_damage', function() PLAYER.last_damage = CurTime() end) Cable.receive('fl_player_interact', function(target) local interaction_menu = DermaMenu() hook.run('CreatePlayerInteractions', interaction_menu, target) if interaction_menu:ChildCount() > 0 then interaction_menu:Open() interaction_menu:Center() else interaction_menu:safe_remove() end end) Cable.receive('fl_entity_interact', function(entity) local interaction_menu = DermaMenu() hook.run('CreateEntityInteractions', interaction_menu, entity) if interaction_menu:ChildCount() > 0 then interaction_menu:Open() interaction_menu:Center() else interaction_menu:safe_remove() end end)
local to = ".build/"..(_ACTION or "nullaction") -------------------------------------------------------------------------------- local function setup_cfg(cfg) configuration(cfg) targetdir(to.."/bin/"..cfg) objdir(to.."/obj/") configuration({cfg, "x32"}) targetsuffix("_x86") configuration({cfg, "x64"}) targetsuffix("_x64") end -------------------------------------------------------------------------------- local function define_project(name) project(name) flags("fatalwarnings") language("c++") end -------------------------------------------------------------------------------- local function define_exe(name) define_project(name) kind("consoleapp") end -------------------------------------------------------------------------------- workspace("conemu2404") configurations({"debug", "release"}) platforms({"x32", "x64"}) location(".") characterset("MBCS") flags("NoManifest") staticruntime("on") rtti("off") symbols("on") exceptionhandling("off") setup_cfg("release") setup_cfg("debug") configuration("debug") optimize("off") defines("DEBUG") defines("_DEBUG") configuration("release") optimize("full") defines("NDEBUG") configuration("vs*") defines("_HAS_EXCEPTIONS=0") defines("_CRT_SECURE_NO_WARNINGS") defines("_CRT_NONSTDC_NO_WARNINGS") -------------------------------------------------------------------------------- define_exe("repro") files("*.cpp")
slot0 = class("WorldGoods", import("...BaseEntity")) slot0.Fields = { config = "table", item = "table", count = "number", id = "number", moneyItem = "table" } slot0.EventUpdateCount = "WorldGoods.EventUpdateCount" slot0.CreateItem = function (slot0, slot1, slot2) return (slot0 == DROP_TYPE_WORLD_ITEM and WorldItem) or Item.New({ type = slot0, id = slot1, count = slot2 }) end slot0.Setup = function (slot0, slot1) slot0.id = slot1.goods_id slot0.config = pg.world_goods_data[slot0.id] slot0.count = slot1.count slot0.item = slot0.CreateItem(slot0.config.item_type, slot0.config.item_id, slot0.config.item_num) slot0.moneyItem = slot0.CreateItem(slot0.config.price_type, slot0.config.price_id, slot0.config.price_num) end slot0.UpdateCount = function (slot0, slot1) if slot0.count ~= slot1 then slot0.count = slot1 slot0:DispatchEvent(slot0.EventUpdateCount) end end slot0.sortFunc = function (slot0, slot1) if slot0.config.priority == slot1.config.priority then return slot0.id < slot1.id else return slot1.config.priority < slot0.config.priority end end return slot0
local GTools = class("GTools") function GTools:ctor() end function GTools:delayOneFrame(callback) return self:delayCall(0.01, callback, true) end --默认游戏时间,受timeScale影响 function GTools:delayCall(t, callback, isUseRealTime) return CS.Game.GScheduler.DelayCall(t, callback, isUseRealTime) end function GTools:loopCall(t, callback, isUseRealTime) return CS.Game.GScheduler.LoopCall(t, callback, isUseRealTime) end function GTools:stopLoopCall(timer) return CS.Game.GScheduler.StopLoop(timer) end function GTools:frameCall(callback, isUseRealTime) return CS.Game.GScheduler.FrameCall(callback, isUseRealTime) end function GTools:pause(timer) CS.Game.GScheduler.Pause(timer) end function GTools:resume(timer) CS.Game.GScheduler.Resume(timer) end function GTools:stop(timer) CS.Game.GScheduler.StopLoop(timer) end function GTools:stopFrameCall(timer) CS.Game.GScheduler.StopLoop(timer) end function GTools:stopAllTimer() CS.Game.GScheduler.StopAllTimer() end function GTools:listTable(tb, table_list, level) local ret = "" local indent = string.rep(" ", level*4) for k, v in pairs(tb) do local quo = type(k) == "string" and "\"" or "" ret = ret .. indent .. "[" .. quo .. tostring(k) .. quo .. "] = " if type(v) == "table" then local t_name = table_list[v] if t_name then ret = ret .. tostring(v) .. " -- > [\"" .. t_name .. "\"]\n" else table_list[v] = tostring(k) ret = ret .. "{\n" ret = ret .. self:listTable(v, table_list, level+1) ret = ret .. indent .. "}\n" end elseif type(v) == "string" then ret = ret .. "\"" .. tostring(v) .. "\"\n" else ret = ret .. tostring(v) .. "\n" end end local mt = getmetatable(tb) if mt then ret = ret .. "\n" local t_name = table_list[mt] ret = ret .. indent .. "<metatable> = " if t_name then ret = ret .. tostring(mt) .. " -- > [\"" .. t_name .. "\"]\n" else ret = ret .. "{\n" ret = ret .. self:listTable(mt, table_list, level+1) ret = ret .. indent .. "}\n" end end return ret end function GTools:tableToString(t) if type(t) ~= "table" then error("Sorry, it's not table, it is " .. type(t) .. ".") end local ret = " = {\n" local table_list = {} table_list[t] = "root table" ret = ret .. self:listTable(t, table_list, 1) ret = ret .. "}" return ret end function GTools:printTable(t) -- log.writeToFile(self:tableToString(t)) print(tostring(t) .. self:tableToString(t)) end --表内位置随机重排 function GTools:shuffle(t) local count = #t for i = count,2,-1 do local j = math.random(i) local temp = t[i] t[i] = t[j] t[j] = temp end end function GTools:deepCopy(t) local lookup_table = {} local function _copy(t) if type(t) ~= "table" then return t elseif lookup_table[t] then return lookup_table[t] end local new_table = {} lookup_table[t] = new_table for index, value in pairs(t) do new_table[_copy(index)] = _copy(value) end return setmetatable(new_table, getmetatable(t)) end return _copy(t) end return GTools
return {'oreade','oregano','oremus','orenmaffia','oreren','ore','oreel','oreaden','oreer','oreerde','oreerden','oreert','oren','oremussen','ores'}
local avatar_sizes = {184, 128, 84, 64, 32, 16} local glint_fraction local glint_fraction_offset = -0.03 local glint_offset = 3 local glint_offset_half = glint_offset * 0.5 local glint_percent local glint_period = 2 --local glint_power = 1 --used for a more advanced form of the glint_fraction equation local glint_speed = 0.75 local last_updated_frame local PANEL = {} local pi = math.pi local tau = 2 * pi --colors local associated_colors = PYRITION.Colors.Panel.Avatar local color_alive = associated_colors.Alive local color_dead = associated_colors.Dead --panel functions function PANEL:CalculateGlintPoly(width, height, fraction, glint_scale) local glint_height, glint_width = height * glint_scale, width * glint_scale local glint_height_half, glint_width_half = glint_height * 0.5, glint_width * 0.5 local inverted_fraction = 1 - fraction local offset_x, offset_y = width * inverted_fraction * glint_offset - width * glint_offset_half, height * fraction * glint_offset - height * glint_offset_half --we don;t really need the two spiked corners now that I'm using the half sizes to cover the whole square local glint_poly = { --[[{ x = offset_x - glint_width_half, y = offset_y - glint_height_half },]] { x = offset_x + glint_width_half, y = offset_y - glint_height_half }, { x = offset_x + width + glint_width_half, y = offset_y + height - glint_height_half }, --[[{ x = offset_x + width + glint_width_half, y = offset_y + height + glint_height_half },]] { x = offset_x + width - glint_width_half, y = offset_y + height + glint_height_half }, { x = offset_x - glint_width_half, y = offset_y + glint_height_half } } self.GlintPoly = glint_poly end function PANEL:Init() self.Glint = false self.AliveColor = table.Copy() self.DeadColor = table.Copy(color_dead) do --avatar local avatar = vgui.Create("AvatarImage", self) avatar:Dock(FILL) avatar:DockMargin(2, 2, 2, 2) self.AvatarImage = avatar end do --cover panel local cover = vgui.Create("DPanel", self) local parent_panel = self cover:Dock(FILL) cover:SetVisible(false) function cover:Paint(width, height) parent_panel.PaintGlint(self, parent_panel, width, height) end self.CoverPanel = cover end end function PANEL:Paint(width, height) surface.SetDrawColor(IsValid(self.Player) and self.Player:Alive() and self.AliveColor or self.DeadColor) surface.DrawRect(0, 0, width, height) end function PANEL:PaintGlint(true_self, width, height) if true_self.Glint then --only update the glint poly once per frame if last_updated_frame ~= FrameNumber() then last_updated_frame = FrameNumber() glint_percent = math.min((RealTime() * glint_speed + glint_fraction_offset) % glint_period, 1) local real_time_tau = glint_percent * tau --local glint_fraction = 1 - (RealTime() % 1 - 0.5) ^ 2 * 4 --put that math degree to use --glint_fraction = (((math.sin(real_time_tau) + real_time_tau) / tau) ^ glint_power + glint_fraction_offset) % 1 glint_fraction = ((math.sin(real_time_tau) + real_time_tau) / tau + glint_fraction_offset) % 1 --glint_fraction = (math.sin(real_time_tau) + real_time_tau) / tau true_self:CalculateGlintPoly( width, height, glint_fraction, 0.35 - math.sin(glint_percent * pi) ^ 3 * 0.2 ) end local color = true_self.GlintColor draw.NoTexture() surface.SetDrawColor(color.r, color.g, color.b, math.sin(glint_percent * pi) ^ 5 * 128) surface.DrawPoly(true_self.GlintPoly) end end function PANEL:PerformLayout(width, height) self:UpdateAvatar(math.max(width, height)) end function PANEL:SetGlint(color) self.Glint = true self.GlintColor = color self.CoverPanel:SetVisible(true) end function PANEL:SetPlayer(ply) local glint_color = hook.Run("PyritionCredationGetGlint", ply) self.Player = ply if glint_color then self:SetGlint(glint_color) end --if alive_color then self.AliveColor = alive_color end self:UpdateAvatar() end function PANEL:UpdateAvatar(size) size = size or math.max(self:GetSize()) --updates the avatar image to something that won't have large amounts of minification filtering if self.Player then for index, avatar_size in ipairs(avatar_sizes) do if size <= avatar_size then return self.AvatarImage:SetPlayer(self.Player, avatar_size) end end self.AvatarImage:SetPlayer(self.Player, 16) end end --post return "Avatar", "A player's avatar for general usage.", "DPanel"
function ReduceArmor(keys) local caster = keys.caster local unit = keys.target local ability = keys.ability local stacks = ability:GetAbilitySpecial("armor_per_hit") if unit:IsBoss() then stacks = math.min(stacks, ability:GetAbilitySpecial("boss_max_armor") - unit:GetModifierStackCount("modifier_stegius_desolating_touch_debuff", ability)) end ModifyStacks(ability, caster, unit, "modifier_stegius_desolating_touch_debuff", stacks, true) unit:EmitSound("Item_Desolator.Target") Timers:CreateTimer(ability:GetAbilitySpecial("duration"), function() if IsValidEntity(caster) and IsValidEntity(unit) then ModifyStacks(ability, caster, unit, "modifier_stegius_desolating_touch_debuff", -stacks) end end) end
D3Anim={} D3Anim._animated={} D3Anim._animatedModel={} function D3Anim.updateBones() for k,a in pairs(D3Anim._animated) do if D3Anim._animatedModel[k.bonesTop].dirty then local bt={} local bn=1 for n,bd in ipairs(k.animBones) do local b=bd.bone local name=b.name local m=Matrix.new() m:setMatrix(bd.poseIMat:getMatrix()) while true do local m1=b:getMatrix() m1:multiply(m) m=m1 b=b:getParent() if b==k.bonesTop then break end end bt[bn],bt[bn+1],bt[bn+2],bt[bn+3], bt[bn+4],bt[bn+5],bt[bn+6],bt[bn+7], bt[bn+8],bt[bn+9],bt[bn+10],bt[bn+11], bt[bn+12],bt[bn+13],bt[bn+14],bt[bn+15]=m:getMatrix() bn=bn+16 end k:setShaderConstant("bones",Shader.CMATRIX,#k.animBones,bt) a.dirty=false end end end function D3Anim.animate(m,a) local ta={} local dtm=(os:timer()-a.tm)*1000 local hasNext=false for _,b in ipairs(a.anim.bones) do local cf=1 while cf<#b.keyframes and b.keyframes[cf].keytime<dtm do cf+=1 end if cf<#b.keyframes then hasNext=true else end local f=b.keyframes[cf] if m.bones[b.boneId] then local nf=m.bones[b.boneId] local cm={ s=f.scale or nf.srt.s, r=f.rotation or nf.srt.r, t=f.translation or nf.srt.t} ta[b.boneId]=cm end end if not hasNext then if not a.loop then return nil end a.tm=os:timer() end return ta end function D3Anim.tick() for k,a in pairs(D3Anim._animatedModel) do local ares={} local aend={} for slot,anim in pairs(a.animations) do local function animateIns(mvs,ratio) for bone,srt in pairs(mvs) do ares[bone]=ares[bone] or {} table.insert(ares[bone],{ratio=ratio,mat={G3DFormat.srtToMatrix(srt):getMatrix()}}) end end local ao,ac,aor=nil,nil,1 if anim.oldAnim then local aratio=(os:timer()-anim.oldStart)/anim.oldLen if aratio>=1 then anim.oldAnim=nil else if aratio<0 then aratio=0 end ao=D3Anim.animate(k,anim.oldAnim) if ao then aor=1-aratio end end end ac=D3Anim.animate(k,anim) if ao and ac then animateIns(ao,aor) animateIns(ac,1-aor) elseif ao then animateIns(ao,1) elseif ac then animateIns(ac,1) else aend[slot]=true end end for slot,_ in pairs(aend) do a.animations[slot]=nil end for bone,srtl in pairs(ares) do if #srtl>0 then local cm={0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0} local tsr=0 for _,srt in ipairs(srtl) do tsr+=srt.ratio end if tsr>0 then for _,srt in ipairs(srtl) do local rsc=srt.ratio/tsr for k=1,16 do cm[k]+=srt.mat[k]*rsc end end local rm=Matrix.new() rm:setMatrix(unpack(cm)) k.bones[bone]:setMatrix(rm) end end end a.dirty=true end D3Anim.updateBones() end function D3Anim.setAnimation(model,anim,track,loop,transitionTime) assert(D3Anim._animatedModel[model],"Model not animatable") local an=D3Anim._animatedModel[model] local oldAnim,oldStart,oldLen,tm=nil,nil,nil,os:timer() if transitionTime and an.animations[track] then oldAnim=an.animations[track] oldStart=tm oldLen=transitionTime end an.animations[track]={anim=anim,tm=tm,loop=loop,oldAnim=oldAnim,oldStart=oldStart,oldLen=oldLen} end function D3Anim._addMesh(m) D3Anim._animated[m]={ dirty=true, animations={} } D3Anim._animatedModel[m.bonesTop]={dirty=true,animations={}} end
require 'lib.class' require 'factories.base' require 'helpers.base' local eal = require 'lib.eal.manager' -- CameraFactory allows creating different kinds of cameras local CameraFactory = class(EntityFactory, function(self) EntityFactory.init(self, "camera") end) -- createAndAttach shorthand method to create camera and attach it -- @param type camera type -- @param name camera name -- @param settings camera settings -- @returns camera entity from eal function CameraFactory:createAndAttach(type, name, settings) local cam = self:create(type, name, settings) if cam then cam:attach() return true end return false end -- singleton camera = camera or CameraFactory() local createCamera = function(name, settings) return { type = "camera", clipDistance = settings.clipDistance or 0.01, bgColour = settings.bgColour or "0x000000", name = name } end camera:register("free", function(name, settings) settings.mixins = {"freeCamera"} settings.class = "camera" settings.enabled = true local config = { id = name, flags = {"dynamic"}, vars = settings, render = { root = { position = settings.position or Vector3.ZERO, children = { { type = "node", name = "yaw", children = { { type = "node", name = "pitch", children = { { type = "node", name = "roll", children = { createCamera(name, settings) } } } } } } } } } } local e = data:createEntity(config) if not e then return nil end return eal:getEntity(e.id) end) camera:register("orbit", function(name, settings) settings.mixins = {"orbitCamera"} settings.class = "camera" local config = { id = name, vars = settings, render = { root = { position = settings.position or Vector3.ZERO, children = { { type = "node", name = "pitch", children = { { type = "node", name = "flip", children = { createCamera(name, settings) } } } } } } } } local e = data:createEntity(config) if not e then return nil end return eal:getEntity(e.id) end) return camera
require("array") local a = array.new(10) local mt = getmetatable(a) for k = 1, array.size(a) do array.set(a, k, k * 2) end for k = 1, array.size(a) do print(array.get(a, k)) end mt.__index = mt mt.set = array.set mt.get = array.get mt.size = array.size for k = 1, a:size() do a:set(k, k / 10) print(a:get(k)) end --[[ mt.__index = array.get mt.__newindex = array.set for k = 1, array.size(a) do a[k] = k / 10 print(a[k]) end ]]
-- by Qige <qigezhao@gmail.com> -- 2017.10.20 ARN iOMC v3.0-alpha-201017Q --local DBG = print local DBG = function(msg) end local CCFF = require 'arn.utils.ccff' local ARNMngr = require 'arn.device.mngr' local TOKEN = require 'arn.service.wsync.v2.util_token' local exec = CCFF.execute local ssplit = CCFF.split local fwrite = CCFF.file.write local fread = CCFF.file.read local striml = CCFF.triml local tbl_push = table.insert local sfmt = string.format local schar = string.char local sbyte = string.byte local ssub = string.sub local ts = os.time local dt = function() return os.date('%X %x') end local WSync2Agent = {} WSync2Agent.VERSION = 'ARN-Agent-WSync v2.0-alpha-20171206Q' WSync2Agent.Comm = require 'arn.service.wsync.v2.util_comm' WSync2Agent.conf = {} WSync2Agent.conf.fmtTokenKey = "6W+ARN+%s" WSync2Agent.instant = {} WSync2Agent.instant.__index = WSync2Agent.instant -- OOP liked(1/2) function WSync2Agent.New( protocol, port, interval, flagLoop ) local instant = {} setmetatable(instant, WSync2Agent.instant) -- OOP liked(2/2) instant.VERSION = WSync2Agent.VERSION instant.conf = {} instant.conf.protocol = protocol or 'udp' instant.conf.port = port or 3003 instant.conf.interval = interval or 1 instant.conf.flagLoop = flagLoop -- Resource instant.res = {} instant.res.channels = nil instant.res.timeouts = nil instant.res.loops = 0 instant.cache = {} instant.cache.index = 1 instant.cache.target = nil instant.cache.timeout = nil return (instant) end function WSync2Agent.instant:Prepare(timeout, port, protocol) DBG(sfmt("Agent.instant:Prepare(%s)", timeout or '-')) if ((not ARNMngr)) then return 'error: need packet ARN-Scripts' end if ((not WSync2Agent.Comm) or (not WSync2Agent.Comm.Env())) then return 'error: utility wsync2 comm failed' end -- enable run again & again if (self.conf.flagLoop == 'on' and self.conf.flagLoop == '1') then self.conf.flagLoop = 1 else self.conf.flagLoop = 0 end -- init socket local sockfd = WSync2Agent.Comm.Socket(timeout, port, protocol) if (not sockfd) then return 'error: bad local socket' end self.res.sockfd = sockfd -- init TOKEN local token = self:tokenGenerate() if (not token) then return 'error: cannot calc local token' end self.res.TOKEN = token self.res.ts = ts() return nil end function WSync2Agent.instant:AllParamsReset() DBG('------# reset loops & index') self.res.loops = 0 self.res.channels = nil self.res.timeouts = nil self.cache.index = 1 self.cache.timeout = nil end function WSync2Agent.findMaxSize(size1, size2) if (size1 and size2) then if (size1 > size2) then return size1 end return size2 end return 0 end function WSync2Agent.GetMsgType(config) return WSync2Agent.parseConfig(config, 3) end function WSync2Agent.GetChannels(config) return WSync2Agent.parseConfig(config, 1, 1) end function WSync2Agent.GetTimers(config) return WSync2Agent.parseConfig(config, 2, 1) end function WSync2Agent.parseConfig(config, idx, flagTable) local i = idx or 1 local cfg = ssplit(config, ':') if (cfg and i <= #cfg) then local vs = cfg[i] if (not flagTable) then return vs end if (vs) then local vl = ssplit(vs, ',') return vl end end return nil end function WSync2Agent.sayStatusAppend(path, msg) local oldTxt = fread(path) or '' local txt = oldTxt .. msg WSync2Agent.sayStatus(path, txt) end function WSync2Agent.sayStatus(path, msg) local txt = sfmt('%s [%s]\n', msg or '-', dt()) fwrite(path, txt) end function WSync2Agent.writeLocalConfig(stdin, msg) local lmsgRaw = fread(stdin) local lmsg = string.gsub(lmsgRaw, '\n', '') local lmtype = WSync2Agent.GetMsgType(lmsg) or '' DBG(sfmt('### local config: %s, local mtype: %s', lmsg or '-', lmtype or '-')) -- overwrite local config if not user defined local flagLocalUserDefined = string.find(lmtype, 'cliset') if (msg and lmtype and (not flagLocalUserDefined)) then fwrite(stdout, s) fwrite(stdin, msg..'\n') end end function WSync2Agent.freeRunIdle(stdout, status, sockfd, port, msg) WSync2Agent.sayStatus(stdout, status) WSync2Agent.Comm.TellEveryPeerMsg(sockfd, port, msg) print('----'..status) end -- check local config type before write -- must not 'cliset' function WSync2Agent.instant:TaskLanSync( stdin, stdout ) local msg, host, port = WSync2Agent.Comm.HearFromAllPeers(self.res.sockfd) local s = sfmt('# heard from: %s:%s [%s]\n', host or '-', port or '-', msg or '-', dt()) DBG('========' .. s) WSync2Agent.writeLocalConfig(stdin, msg) return msg end function WSync2Agent.instant:TaskLocalCountdown( uinput, stdout ) DBG("WSync2Agent.instant:Task()") local port = self.conf.port local sockfd = self.res.sockfd local channels = WSync2Agent.GetChannels(uinput) local timeouts = WSync2Agent.GetTimers(uinput) self.res.channels = channels self.res.timeouts = timeouts if (not self.cache.index) then self.cache.index = 1 end DBG(sfmt("self: f %s, loop %s", self.conf.flagLoop, self.res.loops or '-')) DBG(sfmt("self: %s, cache.timeout = %s, cache.targe = %s", self.cache.index or '-', self.cache.timeout or '-', self.cache.target or '-')) if (channels and timeouts) then -- in case two table size local sizeChannelsList = #channels or 0 local sizeTimeoutsList = #timeouts or 0 local sizeMax = WSync2Agent.findMaxSize(sizeChannelsList, sizeTimeoutsList) -- find valid index: force between 1 to sizeChannelsList local i = self.cache.index if ((not i) or i < 0) then i = 1 end if (i > sizeChannelsList) then i = sizeChannelsList -- tried each channel in the list local loops = tonumber(self.res.loops) or 0 self.res.loops = loops + 1 end -- find valid channel here local channel = tonumber(channels[i]) or 0 -- find valid index: force between 1 to sizeTimeoutsList i = self.cache.index if ((not i) or i < 1) then i = 1 end if (i > sizeTimeoutsList) then i = sizeTimeoutsList end -- find valid timeout local timeout = tonumber(timeouts[i]) -- check cache timeout i = self.cache.index -- reload index, remove list size filter local ltimeout = tonumber(self.cache.timeout) or tonumber(timeout) or 30 -- tried current channel if (ltimeout == 0) then -- set right index i = i + 1 end if (ltimeout < 0 or ltimeout > timeout) then ltimeout = timeout end -- allow multi-loops running, or only first loop if (channel > 0) then if (self.res.loops < 1 or self.res.flagLoop) then DBG(sfmt('------# doing wsync [%s in %s/%ss]', channel or '-', ltimeout or '-', timeout or '-')) -- tell all peer(s) local msg = sfmt('%s:%s:m_set\n', channel or '', ltimeout or '') WSync2Agent.Comm.TellEveryPeerMsg(sockfd, port, msg) print('====# tell every peer(s): ' .. msg) -- switch channel when timeup! WSync2Agent.doSwitchChannel(channel, ltimeout) -- save stat to tmp file local msg = nil if (ltimeout > 0) then msg = sfmt('> T- %s: switch to ch%s in %ss', timeout or '-', channel or '-', ltimeout or '-') else msg = sfmt('# NOW! Switching CHANNEL %s ...', channel or '-') end WSync2Agent.sayStatusAppend(stdout, msg) -- save for next loop ltimeout = ltimeout - 1 self.cache.target = channel self.cache.timeout = ltimeout else DBG('------# single loop done (reason: single/no multi-loop)') local msg = '::m_hold' local status = '- idle (reason: single/no multi-loop)' WSync2Agent.freeRunIdle(stdout, status, sockfd, port, msg) end else DBG('------# single loop done (reason: invalid next channel)') local msg = '0:0:m_hold' local status = '- idle (reason: invalid next channel)' WSync2Agent.freeRunIdle(stdout, status, sockfd, port, msg) end -- save index self.cache.index = i else DBG('------# bad channels or timeouts list (reason invalid channels/timeouts)') local msg = '::m_hold' local status = '- idle (reason invalid channels/timeouts)' WSync2Agent.freeRunIdle(stdout, status, sockfd, port, msg) end print(sfmt('-------- -------- [%s] -------- --------', dt())) end function WSync2Agent.instant:TellEveryPeerMsg(msg) end function WSync2Agent.doSwitchChannel(channel, ltimeout) if (channel and ltimeout) then local ltval = tonumber(ltimeout) if (ltval < 1) then DBG(sfmt('==========# switch to channel %s ...', channel)) ARNMngr.SAFE_SET('channel', channel) end end end -- TODO: send stop & clear three times function WSync2Agent.instant:Cleanup() if (self.res.sockfd) then DBG('----# closing sockfd') WSync2Agent.Comm.Close(self.res.sockfd) self.res.sockfd = nil end end function WSync2Agent.instant:Idle(sec) exec('sleep ' .. sec or 1) end function WSync2Agent.instant:tokenGenerate() local arn_safe = ARNMngr.SAFE_GET() local devWmac = arn_safe.abb_safe.wmac or '-' local fmtTokenKey = WSync2Agent.conf.fmtTokenKey local tokenKey = sfmt(fmtTokenKey, devWmac) local token = TOKEN.WSyncToken(tokenKey) DBG(sfmt('token=%s,key=%s', token, tokenKey)) return token end return WSync2Agent
A2ADispatcherOptions = { ClassName = "A2ADispatcherOptions", __index = A2ADispatcherOptions, EngageRadius = nil, InterceptDelay = nil, TacticalDisplay = true, DetectionGroups = {}, CAPZones = {}, AssignedCAPS = {} } function A2ADispatcherOptions:New() local self = BASE:Inherit( self, BASE:New() ) return self end --function A2ADispatcherOptions:SetCommandCenter(_commandCenterName) -- self.CommandCenter = GROUP:FindByName(_commandCenterName) -- return self --end --function A2ADispatcherOptions:SetDetectionArea(_DetectionArea) -- self.DetectionArea = _DetectionArea -- return self --end function A2ADispatcherOptions:SetEngageRadius(_EngageRadius) self.EngageRadius = _EngageRadius return self end --function A2ADispatcherOptions:SetReactivity(_reactivity) -- self.Reactivity = _reactivity -- return self --end function A2ADispatcherOptions:SetTacticalDisplay(_tacticalDisplay) self.TacticalDisplay = _tacticalDisplay return self end function A2ADispatcherOptions:SetInterceptDelay(_InterceptDelay) self.InterceptDelay = _InterceptDelay return self end function A2ADispatcherOptions:SetDetectionGroups(_Groups, _arePrefix) if _arePrefix then self.DetectionGroups = SET_GROUP:New() :FilterPrefixes(_Groups) :FilterStart() else local foundedGroups = {} for groupId, groupName in ipairs(_Groups) do --table.insert(foundedGroups, GROUP:FindByName(group)) local group = GROUP:FindByName(group) foundedGroups[groupName] = group end self.DetectionGroups = foundedGroups end return self end function A2ADispatcherOptions:SetCAPZones(_Groups, _arePrefix) if _arePrefix then self.CAPZones = SET_GROUP:New() :FilterPrefixes(_Groups) :FilterStart() .Set else local foundedGroups = {} for id, group in ipairs(_Groups) do foundedGroups[_Groups] = GROUP:FindByName(_Groups) end self.DefenceCoordinates = foundedGroups end return self end function A2ADispatcherOptions:GetAvailableCap() local foundCap = nil for i,capZone in pairs(self.CAPZones) do if self.AssignedCAPS[capZone.GroupName] == nil then self.AssignedCAPS[capZone.GroupName] = true foundCap = capZone break end end return foundCap end
return { { effect_list = { { type = "BattleBuffAddAttrBloodrage", trigger = { "onAttach", "onHPRatioUpdate" }, arg_list = { threshold = 1, value = 0.01667, attr = "loadSpeed" } } } }, { effect_list = { { type = "BattleBuffAddAttrBloodrage", trigger = { "onAttach", "onHPRatioUpdate" }, arg_list = { threshold = 1, value = 0.01563, attr = "loadSpeed" } } } }, { effect_list = { { type = "BattleBuffAddAttrBloodrage", trigger = { "onAttach", "onHPRatioUpdate" }, arg_list = { threshold = 1, value = 0.01471, attr = "loadSpeed" } } } }, { effect_list = { { type = "BattleBuffAddAttrBloodrage", trigger = { "onAttach", "onHPRatioUpdate" }, arg_list = { threshold = 1, value = 0.0137, attr = "loadSpeed" } } } }, { effect_list = { { type = "BattleBuffAddAttrBloodrage", trigger = { "onAttach", "onHPRatioUpdate" }, arg_list = { threshold = 1, value = 0.01299, attr = "loadSpeed" } } } }, { effect_list = { { type = "BattleBuffAddAttrBloodrage", trigger = { "onAttach", "onHPRatioUpdate" }, arg_list = { threshold = 1, value = 0.01235, attr = "loadSpeed" } } } }, { effect_list = { { type = "BattleBuffAddAttrBloodrage", trigger = { "onAttach", "onHPRatioUpdate" }, arg_list = { threshold = 1, value = 0.01163, attr = "loadSpeed" } } } }, { effect_list = { { type = "BattleBuffAddAttrBloodrage", trigger = { "onAttach", "onHPRatioUpdate" }, arg_list = { threshold = 1, value = 0.01111, attr = "loadSpeed" } } } }, { effect_list = { { type = "BattleBuffAddAttrBloodrage", trigger = { "onAttach", "onHPRatioUpdate" }, arg_list = { threshold = 1, value = 0.01064, attr = "loadSpeed" } } } }, { effect_list = { { type = "BattleBuffAddAttrBloodrage", trigger = { "onAttach", "onHPRatioUpdate" }, arg_list = { threshold = 1, value = 0.01, attr = "loadSpeed" } } } }, time = 0, name = "底力爆发 +", init_effect = "jinengchufared", color = "red", picture = "", desc = "装填提高", stack = 1, id = 18043, icon = 18040, last_effect = "", blink = { 1, 0, 0, 0.3, 0.3 }, effect_list = { { type = "BattleBuffAddAttrBloodrage", trigger = { "onAttach", "onHPRatioUpdate" }, arg_list = { threshold = 1, value = 0.01667, attr = "loadSpeed" } } } }
-- -- Copyright (c) 2020 Tim Winchester -- -- 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. -- local defaults = require("defaults") local ModeIndicator = {} local mode_indicator_settings = {} mode_indicator_settings.pos = {} mode_indicator_settings.pos.x = 0 mode_indicator_settings.pos.y = windower.get_windower_settings().ui_y_res - 36 mode_indicator_settings.bg = {} mode_indicator_settings.bg.alpha = 255 mode_indicator_settings.bg.blue = 255 mode_indicator_settings.bg.green = 128 mode_indicator_settings.bg.red = 0 mode_indicator_settings.bg.visible = true mode_indicator_settings.padding = 2 mode_indicator_settings.text = {} mode_indicator_settings.text.font = "MS UI Gothic" mode_indicator_settings.text.size = 12 ModeIndicator.text = require("texts").new(mode_indicator_settings, defaults) ModeIndicator.activate_kana_mode = (function() ModeIndicator.text:text("あ") ModeIndicator.text:visible(true) end) ModeIndicator.deactivate_kana_mode = (function() ModeIndicator.text:text("A") ModeIndicator.text:visible(true) end) ModeIndicator.hide = (function() ModeIndicator.text:visible(false) end) ModeIndicator.show = (function() ModeIndicator.text:visible(true) end) return ModeIndicator
-- ZPU Emulator V3 -- Based on ZPU Emulator V2.1 by gamemanj. -- Thank you. -- To get a zpu instance, call zpu.new(f:memget32, f:memset32) -> t -- You need to provide memget32, memset32 and a bit32 compatible bit library. -- To set the bit32 compatible library: zpu.set_bit32(<your bit32) -- memget32(t:zpu_inst, i:addr) -> i:val: Memory reader. -- memset32(t:zpu_inst, i:addr, i:val): Memory setter. -- -- You can also apply changes, like EMULATE implementations, globally like this: -- zpu:apply(f:changee) -- Or locally: -- zpu_inst:apply(f:changee) -- The 'changee' is a function that takes the zpu library/instance and modifies it. -- See emu.lua and zpu_emus.lua, too. -- -- All further calls/elements are on the returned zpu instance, not the library. -- Other things: -- zpu.rSP: Stack pointer. Set this to the top of the memory. -- zpu.rIP: Instruction Pointer. -- zpu:op_emulate(i:op) -> s:disassembly: Run one EMULATE opcode, can be overridden. -- zpu:run() -> s:disassembly: Run one opcode. Returns nil if unknown. -- zpu:run_trace(f:file, i:stackdump) -> s:disassembly: Run one opcode, giving an instruction and stack trace to the file. -- zpu:v_pop/zpu:v_push: helper functions --[[ The MIT License (MIT) Copyright (c) 2016 Adrian Pistol 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. --]] local zpu = {} zpu.__index = zpu -- Local cache of some functions. -- Many may be set at runtime. local bnot, band, bor, bxor, lshift, rshift -- set at runtime. -- sets local cache of bit functions local function assert_bitfn(bit, name) assert(bit[name], "zpuemu: Did not find function "..name.." in bitlib. We need it.") end function zpu.set_bit32(bitlib) assert_bitfn(bitlib, "bnot") bnot = bitlib.bnot assert_bitfn(bitlib, "band") band = bitlib.band assert_bitfn(bitlib, "bor") bor = bitlib.bor assert_bitfn(bitlib, "bxor") bxor = bitlib.bxor assert_bitfn(bitlib, "lshift") lshift = bitlib.lshift assert_bitfn(bitlib, "rshift") rshift = bitlib.rshift zpu.bit32 = bitlib end -- Used for byte extraction by the opcode getter. -- This ZPU implementation does not yet implement any instruction cache. local function split32(v) return { band(rshift(v, 24), 0xFF), band(rshift(v, 16), 0xFF), band(rshift(v, 8), 0xFF), band(v, 0xFF) } end -- helpers local function v_push(self, v) self.rSP = band(self.rSP - 4, 0xFFFFFFFF) self:set32(self.rSP, v) end zpu.v_push = v_push local function v_pop(self) local v = self:get32(self.rSP) self.rSP = band(self.rSP + 4, 0xFFFFFFFC) return v end zpu.v_pop = v_pop -- OPs! local function op_im(self, i, last) if last then self:v_push(bor(lshift(band(self:v_pop(), 0x1FFFFFFF), 7), i)) else if band(i, 0x40) ~= 0 then i = bor(i, 0xFFFFFF80) end self:v_push(i) end end local function op_loadsp(self, i) local addr = band(self.rSP + lshift(bxor(i, 0x10), 2), 0xFFFFFFFC) self:v_push(self:get32(addr)) end local function op_storesp(self, i) -- Careful with the ordering! Documentation suggests the OPPOSITE of what it should be! -- https://github.com/zylin/zpugcc/blob/master/toolchain/gcc/libgloss/zpu/crt0.S#L836 -- This is a good testpoint: -- 0x81 0x3F -- This should leave zpuinst.rSP + 4 on stack. -- You can work it out from the sources linked. local bsp = band(self.rSP + lshift(bxor(i, 0x10), 2), 0xFFFFFFFC) self:set32(bsp, self:v_pop()) end local function op_addsp(self, i) local addr = band(self.rSP + lshift(i, 2), 0xFFFFFFFC) self:v_push(band(self:get32(addr) + self:v_pop(), 0xFFFFFFFF)) end local function op_load(self) self:set32(self.rSP, self:get32(band(self:get32(self.rSP), 0xFFFFFFFC))) end local function op_store(self) self:set32(band(self:v_pop(), 0xFFFFFFFC), self:v_pop()) end local function op_add(self) local a = self:v_pop() self:set32(self.rSP, band(a + self:get32(self.rSP), 0xFFFFFFFF)) end local function op_and(self) self:v_push(band(self:v_pop(), self:v_pop())) end local function op_or(self) self:v_push(bor(self:v_pop(), self:v_pop())) end local function op_not(self) self:v_push(bnot(self:v_pop())) end local op_flip_tb = { [0] = 0, [1] = 2, [2] = 1, [3] = 3 } local function op_flip_byte(i) local a = op_flip_tb[rshift(band(i, 0xC0), 6)] local b = op_flip_tb[rshift(band(i, 0x30), 4)] local c = op_flip_tb[rshift(band(i, 0x0C), 2)] local d = op_flip_tb[band(i, 0x03)] return bor(bor(a, lshift(b, 2)), bor(lshift(c, 4), lshift(d, 6))) end local function op_flip(self) local v = self:v_pop() local a = op_flip_byte(band(rshift(v, 24), 0xFF)) local b = op_flip_byte(band(rshift(v, 16), 0xFF)) local c = op_flip_byte(band(rshift(v, 8), 0xFF)) local d = op_flip_byte(band(v, 0xFF)) self:v_push(bor(bor(lshift(d, 24), lshift(c, 16)), bor(lshift(b, 8), a))) end function zpu.op_emulate(self, op) self:v_push(band(self.rIP + 1, 0xFFFFFFFF)) self.rIP = lshift(op, 5) return "EMULATE ".. op .. "/" .. bor(op, 0x20) end local function ip_adv(self) self.rIP = band(self.rIP + 1, 0xFFFFFFFF) end -- OP lookup tables local op_table_basic = { -- basic ops [0x04] = function(self) self.rIP = self:v_pop() return "POPPC" end, [0x08] = function(self) op_load(self) ip_adv(self) return "LOAD" end, [0x0C] = function(self) op_store(self) ip_adv(self) return "STORE" end, [0x02] = function(self) self:v_push(self.rSP) ip_adv(self) return "PUSHSP" end, [0x0D] = function(self) self.rSP = band(self:v_pop(), 0xFFFFFFFC) ip_adv(self) return "POPSP" end, [0x05] = function(self) op_add(self) ip_adv(self) return "ADD" end, [0x06] = function(self) op_and(self) ip_adv(self) return "AND" end, [0x07] = function(self) op_or(self) ip_adv(self) return "OR" end, [0x09] = function(self) op_not(self) ip_adv(self) return "NOT" end, [0x0A] = function(self) op_flip(self) ip_adv(self) return "FLIP" end, [0x0B] = function(self) ip_adv(self) return "NOP" end } local op_table_advanced = { -- "advanced" ops, their lookup is more... involved [0x80] = function(self, op, lim) local tmp = band(op, 0x7F) op_im(self, tmp, lim) self.fLastIM = true ip_adv(self) return "IM "..tmp end, [0x60] = function(self, op) local tmp = band(op, 0x1F) op_loadsp(self, tmp) ip_adv(self) return "LOADSP " .. (bxor(0x10, tmp) * 4) end, [0x40] = function(self, op) local tmp = band(op, 0x1F) op_storesp(self, tmp) ip_adv(self) return "STORESP " .. (bxor(0x10, tmp) * 4) end, [0x20] = function(self, op) return self:op_emulate(band(op, 0x1F)) end, -- EMULATE [0x10] = function(self, op) local tmp = band(op, 0xF) op_addsp(self, tmp) ip_adv(self) return "ADDSP " .. tmp end, } -- Run a single instruction function zpu.run(self) -- NOTE: The ZPU porbably can't be trusted to have a consistent memory -- access pattern, *unless* it is accessing memory in the IO range. -- In the case of the IO range, it is specifically -- assumed MMIO will happen there, so the processor bypasses caches. -- For now, we're just using the behavior that would be used for -- a naive processor, which is exactly what this is. local op = split32(self:get32(band(self.rIP, 0xFFFFFFFC)))[band(self.rIP, 3) + 1] local lim = self.fLastIM self.fLastIM = false -- check if OP is found in lookup tables -- By the amount of ops we have, a lookup table is a good thing. -- For a few ifs, it would probably be slower. But for many, it is faster on average. local opimpl = op_table_basic[op] if opimpl then return opimpl(self), op end opimpl = op_table_advanced[band(op, 0x80)] or op_table_advanced[band(op, 0xE0)] or op_table_advanced[(band(op, 0xF0))] if opimpl then -- "advanced" op return opimpl(self, op, lim), op end return nil, op end function zpu.run_trace(self, fh, tracestack) fh:write(self.rIP .. " (" .. string.format("%x", self.rSP)) fh:flush() local cSP = self.rSP for i=1, tracestack do fh:write(string.format("/%x", self:get32(cSP))) cSP = cSP + 4 end fh:write(") :") local op, opb = self:run() if op == nil then fh:write("UNKNOWN\n") else fh:write(op .. "\n") end return op, opb end -- Create a new ZPU instance function zpu.new(memget32, memset32) assert(zpu.bit32, "zpuemu: Did not set bit32 library. Bailing out.") local zpu_instance = {} setmetatable(zpu_instance, zpu) zpu_instance.get32 = memget32 zpu_instance.set32 = memset32 zpu_instance.rSP = 0 zpu_instance.rIP = 0 zpu.fLastIM = false return zpu_instance end -- Apply changes function zpu.apply(self, changee) self = changee(self) return self end -- Hooray! We're done! return zpu
local class = require "middleclass" local array = require "array" local margin = 50 local ww, wh = love.graphics.getWidth(), love.graphics.getHeight() local InstanceManager = class("InstanceManager") local instances = {} local queue = {} InstanceManager.static.instances = instances function InstanceManager.static.update(dt) array.join(instances, queue) array.clear(queue) array.filter(instances, function(v) v:update(dt) local tlx, tly, brx, bry = v.fixture:getBoundingBox() if type(v.fixture:getUserData()) == "nil" or tlx > ww + margin or tly > wh + margin or brx < 0 - margin or bry < 0 - margin then v.fixture:destroy() v.body:destroy() return nil end return v end) end function InstanceManager.static.draw() for _,v in ipairs(instances) do v:draw() end end function InstanceManager.static.add(...) assert(select(1, ...) ~= InstanceManager, "Make sure that you are using 'InstanceManager.add' instead of 'InstanceManager:add'") array.append(queue, ...) end return InstanceManager
-- A basic Hero Entity you can copy and modify for your own creations. sprite = "Idle/0" name = "Ralsei" hooded = false -- Set to true hp = 70 attack = 8 defense = 2 immortal = false dialogbubble = "automatic" -- Chapter 2's automatic dialogue bubble, very similar to CYF's magic = 7 -- MAGIC stat of the Hero. Can be used in spells, has no effect by default. magicuser = true -- Does the Hero use magic or act? canact = true -- If the Hero is a magic user, do they have X-ACTION? statuses = {} -- Status effects that can be applied to a Hero. herocolor = { 0, 1, 0 } -- Color used in this Hero's main UI attackbarcolor = { 0, .5, 0 } -- Color used in this Hero's attack bar damagecolor = { 180/255, 230/255, 29/255 } -- Color used in this Hero's damage text actioncolor = { 0.5, 1, 0.5 } -- Color used in this Hero's X-Action text -- Spell name, desc, cost, target type, party members required AddSpell("Pacify", "Spare\nTIRED Foe", 16, "Enemy") AddSpell("Heal Prayer", "Heal\nAlly", 32, "Hero") -- The animations table -- -- KROMER searches "Heroes/<hero name>/<animation name or refer><addition>/<frame name>" -- The first argument is the name of the frames -- The second argument is the speed of the animation (Seconds per frame) -- The third argument contains various miscellaneous information -- loopmode - The animation's loop mode -- next - Queues an animation after the current one -- immediate - If the animation doesn't loop, the queued animation plays immediately after -- offset - The X & Y offset of the animation -- addition - An additional string added to the search path of the animation, after the animation name. supply a function, and it's run every time the animation switches -- refer - Replaces the animation name portion of the search path, if supplied -- onselect - If supplied, this animation will play when the hero selects the supplied action. -- Because hooded and unhooded Ralsei have different numbers of frames, I just use auto to fill the table, which returns the folder's sprites in order. animations = { Intro = { "Auto", 1/15, { loopmode = "ONESHOT", next = "Idle", offset = {16,3}, addition = ((hooded and "/Hooded/") or "") } }, Idle = { "Auto", 1/6, { offset = {16,3}, addition = ((hooded and "/Hooded/") or "") } }, AttackReady = { "Auto", 1, { next = "Attack", offset = {12,3}, addition = ((hooded and "/Hooded/") or ""), onselect = "fight" } }, Attack = { "Auto", 1/15, { loopmode = "ONESHOT", next = "Idle", offset = {12,3}, addition = ((hooded and "/Hooded/") or "") } }, ActReady = { "Auto", 1/6, { next = "Act", offset = {16,3}, addition = ((hooded and "/Hooded/") or ""), onselect = "act" } }, Act = { "Auto", 1/15, { loopmode = "ONESHOT", next = "Idle", immediate = true, offset = {16,3}, addition = ((hooded and "/Hooded/") or "") } }, ItemReady = { "Auto", 1, { next = "Item", offset = {13.5,7}, addition = ((hooded and "/Hooded/") or ""), onselect = "item" } }, Item = { "Auto", 1/15, { loopmode = "ONESHOT", next = "Idle", immediate = true, offset = {13.5,7}, addition = ((hooded and "/Hooded/") or "") } }, SpellReady = { "Auto", 1/6, { next = "Spell", offset = {11.5,3}, addition = ((hooded and "/Hooded/") or ""), onselect = "magic" } }, Spell = { "Auto", 1/15, { loopmode = "ONESHOT", next = "Idle", immediate = true, offset = {11.5,3}, addition = ((hooded and "/Hooded/") or "") } }, --MercyReady = { "Auto", 1/6, { next = "Mercy", offset = {16,3}, addition = ((hooded and "/Hooded/") or ""), refer = "ActReady", onselect = "mercy" } }, Mercy = { "Auto", 1/15, { loopmode = "ONESHOT", next = "Idle", immediate = true, offset = {16,3}, addition = ((hooded and "/Hooded/") or ""), refer = "Spell" } }, Defend = { "Auto", 1/15, { loopmode = "ONESHOT", next = "Idle", offset = {16,3}, addition = ((hooded and "/Hooded/") or ""), onselect = "defend" } }, Hurt = { "Auto", 1, { next = "Idle", offset = {15,0}, addition = ((hooded and "/Hooded/") or "") } }, Down = { "Auto", 1, { offset = {20,0}, addition = ((hooded and "/Hooded/") or "") } }, Victory = { "Auto", 1/15, { loopmode = "ONESHOT", offset = {16,3}, addition = ((hooded and "/Hooded/") or "") } }, } function OnDown() end function OnRevive() end -- Started when this Hero casts a spell through the MAGIC command. function HandleCustomSpell(spell) end -- Function called whenever this entity's animation is changed. -- It should return the next animation to play in string form, or false to not change animation function HandleAnimationChange(oldAnim, newAnim) return newAnim end
local objects = { -- Fox createObject(6400,2.3949372768402,7.6736159324646,1000.7486572266,0,0,0,2), createObject(6400,-0.78046905994415,6.6728477478027,1000.7486572266,0,0,0,2), createObject(2725,0.92446130514145,-1.4625927209854,998.86157226563,0,0,0,2), createObject(9254,0.72266608476639,0.34503030776978,1001.1474609375,0,180,0,2), createObject(6400,-1.780272603035,3.2218728065491,1000.7486572266,0,0,0,2), createObject(6400,-1.779296875,0.12167971581221,1000.7486572266,0,0,0,2), createObject(6400,-1.779296875,-5.4789047241211,1000.7486572266,0,0,0,2), createObject(6400,-1.954296708107,-2.7535135746002,1000.7486572266,0,0,0,2), createObject(6400,2.4958953857422,-4.1279349327087,1000.7486572266,0,0,0,2), createObject(6400,2.4951171875,0.29707083106041,1000.7486572266,0,0,0,2), createObject(6400,2.4951171875,3.8968782424927,1000.7486572266,0,0,0,2), createObject(6400,3.8451175689697,5.4464845657349,1000.7486572266,0,0,89.999969482422,2), createObject(6400,-1.9052728414536,5.4462890625,1000.7486572266,0,0,89.999969482422,2), createObject(6400,-2.9792976379395,2.7212862968445,1000.7486572266,0,0,89.999969482422,2), createObject(6400,0.89648616313934,7.545702457428,1000.7486572266,0,0,89.999938964844,2), createObject(6400,0.89648616313934,7.545702457428,1000.7486572266,0,0,89.999938964844,2), createObject(6400,0.89648616313934,7.545702457428,1000.7486572266,0,0,89.999938964844,2), createObject(1754,0.96798592805862,-0.17823004722595,998.52764892578,0,0,0,2), createObject(2335,-1.1492209434509,2.1697707176208,998.18029785156,0,0,89.999938964844,2), createObject(1793,-1.9250900745392,7.2961716651917,998.18029785156,0,0,270.26989746094,2), createObject(2139,-1.1295750141144,2.1740775108337,998.22991943359,0,0,89.72998046875,2), createObject(2139,-1.1295750141144,1.2010201215744,998.37878417969,0,0,89.72998046875,2), createObject(2139,-1.0303750038147,0.20902003347874,998.37878417969,0,0,89.72998046875,2), createObject(2139,-1.4271750450134,-1.6420249938965,998.37878417969,0,0,89.72998046875,2), createObject(2139,-1.4271750450134,-0.89802491664886,998.37878417969,0,0,89.72998046875,2), createObject(2139,-1.4271750450134,-3.6883718967438,998.37878417969,0,0,90.225982666016,2), createObject(2139,0.64164960384369,0.79485023021698,998.32916259766,0,0,269.68566894531,2), createObject(2139,1.4352496862411,0.79485023021698,998.32916259766,0,0,269.68566894531,2), createObject(2139,2.1792492866516,0.79485023021698,998.32916259766,0,0,269.68566894531,2), createObject(2139,1.7824496030807,1.8512626886368,998.32916259766,0,0,269.68566894531,2), createObject(2139,1.8816496133804,2.8928606510162,998.32916259766,0,0,269.68566894531,2), createObject(2139,1.7824496030807,3.867981672287,998.32916259766,0,0,269.68566894531,2), createObject(1754,1.9599858522415,-0.17823004722595,998.52764892578,0,0,0,2), createObject(1754,2.158385515213,-1.4151327610016,998.52764892578,0,0,270.26989746094,2), createObject(1754,2.158385515213,-0.4727326631546,998.52764892578,0,0,270.26989746094,2), createObject(1754,2.158385515213,-4.700448513031,998.52764892578,0,0,270.26989746094,2), createObject(1754,2.158385515213,-5.6428508758545,998.52764892578,0,0,270.26989746094,2), createObject(1754,1.8270316123962,-5.9404516220093,998.52764892578,0,0,180.53979492188,2), createObject(1754,0.88463151454926,-5.9404516220093,998.52764892578,0,0,180.53979492188,2), createObject(1754,-0.2065684646368,-5.9404516220093,998.52764892578,0,0,180.53979492188,2), createObject(1754,-1.214413523674,-5.9404516220093,998.52764892578,0,0,180.53979492188,2), createObject(1754,-1.4624135494232,-4.6825361251831,998.52764892578,0,0,90.809692382813,2), createObject(1754,-1.4624135494232,-5.5753383636475,998.52764892578,0,0,90.809692382813,2), createObject(6400,0.35088610649109,-6.2551684379578,1000.7486572266,0,0,89.999969482422,2), createObject(9254,0.72266608476639,0.34503030776978,998.86743164063,0,0,0,2) } local col = createColSphere(2.3949372768402,7.6736159324646,1000.7486572266,50) local function watchChanges( ) if getElementDimension( getLocalPlayer( ) ) > 0 and getElementDimension( getLocalPlayer( ) ) ~= getElementDimension( objects[1] ) and getElementInterior( getLocalPlayer( ) ) == getElementInterior( objects[1] ) then for key, value in pairs( objects ) do setElementDimension( value, getElementDimension( getLocalPlayer( ) ) ) end elseif getElementDimension( getLocalPlayer( ) ) == 0 and getElementDimension( objects[1] ) ~= 65535 then for key, value in pairs( objects ) do setElementDimension( value, 65535 ) end end end addEventHandler( "onClientColShapeHit", col, function( element ) if element == getLocalPlayer( ) then addEventHandler( "onClientRender", root, watchChanges ) end end ) addEventHandler( "onClientColShapeLeave", col, function( element ) if element == getLocalPlayer( ) then removeEventHandler( "onClientRender", root, watchChanges ) end end ) -- Put them standby for now. for key, value in pairs( objects ) do setElementDimension( value, 65535 ) setElementAlpha( value, 0 ) end
tutorials = { firstTurn=[[It's the first turn!.]], lowHealth=[[You're low on health!]], stairs=[[You found the stairs!]], death=[[Oh no, you died! Condolences.]] }
--level2.lua local composer = require("composer") local buff = require("buff") local ai = require("AI").newAI local timers = require("timer").timer local scene = composer.newScene() local function backToStart() composer.gotoScene( "restart2" ) end local function nextLevel() composer.gotoScene( "Story3" ,"fade" ) end local physics = require("physics") physics.start() physics.setGravity(0,60) -- physics.setDrawMode("hybrid") local lives = 3 local died = false local livesText local backGroup = display.newGroup() local mainGroup = display.newGroup() local uiGroup = display.newGroup() local background local background2 local floor local enemiesKilled = 0 local killCounter local scrollSpeed = 2 local sceneGroup = display.newGroup() local music = audio.loadSound( "music/LevelTwo.mp3" ) local musicChannel local spacePressed local rand = math.random(7) function scene:create(event) composer.removeScene( "story2" ) composer.removeScene( "level1") local sceneGroup = self.view physics.pause() sceneGroup:insert(backGroup) sceneGroup:insert(mainGroup) sceneGroup:insert(uiGroup) background = display.newImageRect(backGroup,"img/Level2Background.png",1920,1080) background.x = display.contentCenterX background.y = display.contentCenterY background2 = display.newImageRect( backGroup , "img/Level2Background.png" , 1920 , 1080 ) background2.x = display.contentCenterX+1920 background2.y = display.contentCenterY floor = display.newImageRect( backGroup, "img/floor.png",3840 ,100 ) floor.y = 1080 floor.x = display.contentCenterX floor.objType = "floor" physics.addBody( floor,"static", {friction = 0.3,bounce = 0}) physics.addBody( buff,"dynamic", {density =1,bounce=0} ) buff.isFixedRotation = true buff.x = 400 buff.y = 900 livesText = display.newText( uiGroup,"Lives: "..lives,160,80,"Font.ttf",108 ) killCounter = display.newText( uiGroup,"Killed: "..enemiesKilled,1760,80,"Font.ttf",108 ) end local function musicPlay() musicChannel = audio.play( music ,{channel = 1,loops = -1} ) end local function updateText() livesText.text = "Lives: "..lives killCounter.text = "Killed: "..enemiesKilled end function scene:show( event ) local sceneGroup = self.view local phase = event.phase physics.start() if ( phase == "will" ) then elseif ( phase == "did" ) then end end function scene:hide( event ) local sceneGroup = self.view local phase = event.phase if ( phase == "will" ) then elseif ( phase == "did" ) then end end function scene:destroy( event ) local sceneGroup = self.view end local function bgScroll(event) background.x = background.x - scrollSpeed background2.x = background2.x - scrollSpeed if (background.x + 1920/2 < 0) then background.x = background.width*3/2-scrollSpeed end if (background2.x + 1920/2 < 0) then background2.x = background2.width*3/2-scrollSpeed end end local function finishLevel(event) if(enemiesKilled == 20) then timer.cancel( ninjas ) timer.cancel( ducks ) Runtime:removeEventListener("enterFrame",bgScroll) nextLevel() end end local function gameOver() if (lives == 0) then lives = 3 backToStart() end end buff.type = "player" local duckOptions = { width = 320, height = 320, numFrames = 4 } local duckSheet = graphics.newImageSheet( "img/ducksheetlarge.png", duckOptions ) local duckseq = { { start = 1, name = "duckwalk", count = 3, time = 413, loopCount = 0, loopDirection = "forward" }, { name = "duckMelee", frames = {1,4}, time = 413, loopCount = 1, loopDirection = "bounce" } } local duckSprite = {duckSheet,duckseq} function createDucks() local enemy1 = ai({group = mainGroup,x =math.random(1920), y = 900, ai_type = "patrol",sprite = duckSprite}) enemy1.limitLeft = 1000 enemy1.limitRight = 1000 enemy1.stalker = true function enemy1:defaultActionOnAiCollisionWithPlayer(event) if(event.other.type == "player" and spacePressed == true) then enemiesKilled = enemiesKilled + 1 updateText() enemy1:remove( ) finishLevel() elseif(event.other.type == "player" and spacePressed == false) then lives = lives - 1 updateText() gameOver() end end function enemy1:customActionOnAiCollisionWithPlayerEnd(event) if(event.other.type == "player" and spacePressed == false) then lives = lives - 1 updateText() gameOver() end end function enemy1:customActionOnAiCollisionWithObjects(event) if(event.other.type == 'enemy') then enemy1:SwitchDirection() end end function enemy1:addExtraAction() if(rand == 3)then enemy1:setLinearVelocity(0,-200) end end end local ninjaOptions = { width = 294, height = 294, numFrames = 4 } local ninjaSheet = graphics.newImageSheet( "img/ninjaSheet.png", ninjaOptions ) local ninjaseq = { { name = "ninjawalk", start = 1, count = 3, time = 413, loopCount = 0, loopDirection = "forward" }, { name = "ninjaMelee", frames = {1,4}, time = 413, loopCount = 1, loopDirection = "bounce" } } local ninjasprite = {ninjaSheet,ninjaseq} function createNinjas() local enemy = ai({group = mainGroup,x =math.random(1920), y = 900, ai_type = "patrol",sprite = ninjasprite}) enemy.limitLeft = 1000 enemy.limitRight = 1000 enemy.lastPlayerNoticedPosition = buff.x enemy.stalker = true function enemy:defaultActionOnAiCollisionWithPlayer(event) if (event.other.type == "player" and spacePressed == true) then enemiesKilled = enemiesKilled + 1 updateText() enemy:remove() finishLevel() elseif(event.other.type == "player" and spacePressed == false)then lives = lives - 1 updateText() gameOver() end end function enemy:customActionOnAiCollisionWithObjects(event) if(event.other.type == "enemy") then enemy:SwitchDirection() end end end function spacePressed(event) if (event.phase == "down") then if (event.keyName == "space") then spacePressed = true end elseif (event.phase == "up") then if (event.keyName == "space") then spacePressed = false end end end ducks = timer.performWithDelay( 5000, createDucks ,-1 ) ninjas = timer.performWithDelay( 3000, createNinjas ,-1 ) Runtime:addEventListener("key",spacePressed) Runtime:addEventListener("enterFrame",bgScroll) scene:addEventListener( "create", scene ) scene:addEventListener( "show", scene ) scene:addEventListener( "hide", scene ) scene:addEventListener( "destroy", scene ) return scene
--Client settings module for ULX GUI -- by Stickly Man! --A settings module for modifing XGUI-based settings, and allows for modules to add clientside setting here. local client = xlib.makepanel{ parent=xgui.null } client.panel = xlib.makepanel{ x=160, y=5, w=425, h=322, parent=client } client.catList = xlib.makelistview{ x=5, y=5, w=150, h=302, parent=client } client.catList:AddColumn( "Clientside Settings" ) client.catList.Columns[1].DoClick = function() end client.catList.OnRowSelected = function( self, LineID, Line ) local nPanel = xgui.modules.submodule[Line:GetValue(2)].panel if nPanel ~= client.curPanel then nPanel:SetZPos( 0 ) xlib.addToAnimQueue( "pnlSlide", { panel=nPanel, startx=-435, starty=0, endx=0, endy=0, setvisible=true } ) if client.curPanel then client.curPanel:SetZPos( -1 ) xlib.addToAnimQueue( client.curPanel.SetVisible, client.curPanel, false ) end xlib.animQueue_start() client.curPanel = nPanel else xlib.addToAnimQueue( "pnlSlide", { panel=nPanel, startx=0, starty=0, endx=-435, endy=0, setvisible=false } ) self:ClearSelection() client.curPanel = nil xlib.animQueue_start() end if nPanel.onOpen then nPanel.onOpen() end --If the panel has it, call a function when it's opened end xlib.makebutton{ x=5, y=307, w=150, label="Save Clientside Settings", parent=client }.DoClick=function() xgui.saveClientSettings() end --Process modular settings function client.processModules() client.catList:Clear() for i, module in ipairs( xgui.modules.submodule ) do if module.mtype == "client" and ( not module.access or LocalPlayer():query( module.access ) ) then local x,y = module.panel:GetSize() if x == y and y == 0 then module.panel:SetSize( 425, 327 ) end module.panel:SetParent( client.panel ) local line = client.catList:AddLine( module.name, i ) if ( module.panel == client.curPanel ) then client.curPanel = nil client.catList:SelectItem( line ) else module.panel:SetVisible( false ) end end end client.catList:SortByColumn( 1, false ) end client.processModules() xgui.hookEvent( "onProcessModules", nil, client.processModules, "xguiProcessModules" ) xgui.addSettingModule( "Client", client, "icon16/layout_content.png" ) --------------------General Clientside Module-------------------- local genpnl = xlib.makepanel{ parent=xgui.null } genpnl.pickupplayers = xlib.makecheckbox{ x=10, y=10, w=150, label="Enable picking up players with physgun (for yourself)", convar="cl_pickupplayers", parent=genpnl } function genpnl.processModules() genpnl.pickupplayers:SetDisabled( not LocalPlayer():query( "ulx physgunplayer" ) ) end xgui.hookEvent( "onProcessModules", nil, genpnl.processModules, "clientGeneralProcessModules" ) xgui.addSubModule( "General Settings", genpnl, nil, "client" ) --------------------XGUI Clientside Module-------------------- local xguipnl = xlib.makepanel{ parent=xgui.null } xlib.makebutton{ x=10, y=10, w=150, label="Refresh XGUI Modules", parent=xguipnl }.DoClick=function() xgui.processModules() end local databutton = xlib.makebutton{ x=10, y=30, w=150, label="Refresh Server Data", parent=xguipnl } databutton.DoClick=function( self ) if xgui.offlineMode then self:SetDisabled( true ) RunConsoleCommand( "_xgui", "getInstalled" ) timer.Simple( 10, function() self:SetDisabled( false ) end ) else if xgui.isInstalled then --We can't be in offline mode to do this self:SetDisabled( true ) RunConsoleCommand( "xgui", "refreshdata" ) timer.Simple( 10, function() self:SetDisabled( false ) end ) end end end xlib.makelabel{ x=10, y=55, label="Animation transition time:", parent=xguipnl } xlib.makeslider{ x=10, y=70, w=150, label="<--->", max=2, value=xgui.settings.animTime, decimal=2, parent=xguipnl }.OnValueChanged = function( self, val ) local testval = math.Clamp( tonumber( val ), 0, 2 ) if testval ~= tonumber( val ) then self:SetValue( testval ) end xgui.settings.animTime = tonumber( val ) end xlib.makecheckbox{ x=10, y=97, w=150, label="Show Startup Messages", value=xgui.settings.showLoadMsgs, parent=xguipnl }.OnChange = function( self, bVal ) xgui.settings.showLoadMsgs = bVal end xlib.makelabel{ x=10, y=120, label="Infobar color:", parent=xguipnl } xlib.makecolorpicker{ x=10, y=135, color=xgui.settings.infoColor, addalpha=true, alphamodetwo=true, parent=xguipnl }.OnChangeImmediate = function( self, color ) xgui.settings.infoColor = color end ---------------- --SKIN MANAGER-- ---------------- xlib.makelabel{ x=10, y=273, label="Derma Theme:", parent=xguipnl } xguipnl.skinselect = xlib.makecombobox{ x=10, y=290, w=150, parent=xguipnl } if not derma.SkinList[xgui.settings.skin] then xgui.settings.skin = "Default" end xguipnl.skinselect:SetText( derma.SkinList[xgui.settings.skin].PrintName ) xgui.base.refreshSkin = true xguipnl.skinselect.OnSelect = function( self, index, value, data ) xgui.settings.skin = data xgui.base:SetSkin( data ) end for skin, skindata in pairs( derma.SkinList ) do xguipnl.skinselect:AddChoice( skindata.PrintName, skin ) end ---------------- --TAB ORDERING-- ---------------- xguipnl.mainorder = xlib.makelistview{ x=175, y=10, w=115, h=110, parent=xguipnl } xguipnl.mainorder:AddColumn( "Main Modules" ) xguipnl.mainorder.OnRowSelected = function( self, LineID, Line ) xguipnl.upbtnM:SetDisabled( LineID <= 1 ) xguipnl.downbtnM:SetDisabled( LineID >= #xgui.settings.moduleOrder ) end xguipnl.updateMainOrder = function() local selected = xguipnl.mainorder:GetSelectedLine() and xguipnl.mainorder:GetSelected()[1]:GetColumnText(1) xguipnl.mainorder:Clear() for i, v in ipairs( xgui.settings.moduleOrder ) do local found = false for _, tab in pairs( xgui.modules.tab ) do if tab.name == v then found = true break end end if found then local l = xguipnl.mainorder:AddLine( v ) if v == selected then xguipnl.mainorder:SelectItem( l ) end else table.remove( xgui.settings.moduleOrder, i ) end end end xgui.hookEvent( "onProcessModules", nil, xguipnl.updateMainOrder, "clientXGUIUpdateTabOrder" ) xguipnl.upbtnM = xlib.makebutton{ x=250, y=120, w=20, icon="icon16/bullet_arrow_up.png", centericon=true, disabled=true, parent=xguipnl } xguipnl.upbtnM.DoClick = function( self ) self:SetDisabled( true ) local i = xguipnl.mainorder:GetSelectedLine() table.insert( xgui.settings.moduleOrder, i-1, xgui.settings.moduleOrder[i] ) table.remove( xgui.settings.moduleOrder, i+1 ) xgui.processModules() end xguipnl.downbtnM = xlib.makebutton{ x=270, y=120, w=20, icon="icon16/bullet_arrow_down.png", centericon=true, disabled=true, parent=xguipnl } xguipnl.downbtnM.DoClick = function( self ) self:SetDisabled( true ) local i = xguipnl.mainorder:GetSelectedLine() table.insert( xgui.settings.moduleOrder, i+2, xgui.settings.moduleOrder[i] ) table.remove( xgui.settings.moduleOrder, i ) xgui.processModules() end xguipnl.settingorder = xlib.makelistview{ x=300, y=10, w=115, h=110, parent=xguipnl } xguipnl.settingorder:AddColumn( "Setting Modules" ) xguipnl.settingorder.OnRowSelected = function( self, LineID, Line ) xguipnl.upbtnS:SetDisabled( LineID <= 1 ) xguipnl.downbtnS:SetDisabled( LineID >= #xgui.settings.settingOrder ) end xguipnl.updateSettingOrder = function() local selected = xguipnl.settingorder:GetSelectedLine() and xguipnl.settingorder:GetSelected()[1]:GetColumnText(1) xguipnl.settingorder:Clear() for i, v in ipairs( xgui.settings.settingOrder ) do local found = false for _, tab in pairs( xgui.modules.setting ) do if tab.name == v then found = true break end end if found then local l = xguipnl.settingorder:AddLine( v ) if v == selected then xguipnl.settingorder:SelectItem( l ) end else table.remove( xgui.settings.settingOrder, i ) end end end xgui.hookEvent( "onProcessModules", nil, xguipnl.updateSettingOrder, "clientXGUIUpdateSettingOrder" ) xguipnl.upbtnS = xlib.makebutton{ x=395, y=120, w=20, icon="icon16/bullet_arrow_up.png", centericon=true, disabled=true, parent=xguipnl } xguipnl.upbtnS.DoClick = function( self ) self:SetDisabled( true ) local i = xguipnl.settingorder:GetSelectedLine() table.insert( xgui.settings.settingOrder, i-1, xgui.settings.settingOrder[i] ) table.remove( xgui.settings.settingOrder, i+1 ) xgui.processModules() end xguipnl.downbtnS = xlib.makebutton{ x=375, y=120, w=20, icon="icon16/bullet_arrow_down.png", centericon=true, disabled=true, parent=xguipnl } xguipnl.downbtnS.DoClick = function( self ) self:SetDisabled( true ) local i = xguipnl.settingorder:GetSelectedLine() table.insert( xgui.settings.settingOrder, i+2, xgui.settings.settingOrder[i] ) table.remove( xgui.settings.settingOrder, i ) xgui.processModules() end -------------------- --XGUI POSITIONING-- -------------------- xlib.makelabel{ x=175, y=145, label="XGUI Positioning:", parent=xguipnl } local pos = tonumber( xgui.settings.xguipos.pos ) xguipnl.b7 = xlib.makebutton{ x=175, y=160, w=20, disabled=pos==7, parent=xguipnl } xguipnl.b7.DoClick = function( self ) xguipnl.updatePos( 7 ) end xguipnl.b8 = xlib.makebutton{ x=195, y=160, w=20, icon="icon16/arrow_up.png", centericon=true, disabled=pos==8, parent=xguipnl } xguipnl.b8.DoClick = function( self ) xguipnl.updatePos( 8 ) end xguipnl.b9 = xlib.makebutton{ x=215, y=160, w=20, disabled=pos==9, parent=xguipnl } xguipnl.b9.DoClick = function( self ) xguipnl.updatePos( 9 ) end xguipnl.b4 = xlib.makebutton{ x=175, y=180, w=20, icon="icon16/arrow_left.png", centericon=true, disabled=pos==4, parent=xguipnl } xguipnl.b4.DoClick = function( self ) xguipnl.updatePos( 4 ) end xguipnl.b5 = xlib.makebutton{ x=195, y=180, w=20, icon="icon16/bullet_green.png", centericon=true, disabled=pos==5, parent=xguipnl } xguipnl.b5.DoClick = function( self ) xguipnl.updatePos( 5 ) end xguipnl.b6 = xlib.makebutton{ x=215, y=180, w=20, icon="icon16/arrow_right.png", centericon=true, disabled=pos==6, parent=xguipnl } xguipnl.b6.DoClick = function( self ) xguipnl.updatePos( 6 ) end xguipnl.b1 = xlib.makebutton{ x=175, y=200, w=20, disabled=pos==1, parent=xguipnl } xguipnl.b1.DoClick = function( self ) xguipnl.updatePos( 1 ) end xguipnl.b2 = xlib.makebutton{ x=195, y=200, w=20, icon="icon16/arrow_down.png", centericon=true, disabled=pos==2, parent=xguipnl } xguipnl.b2.DoClick = function( self ) xguipnl.updatePos( 2 ) end xguipnl.b3 = xlib.makebutton{ x=215, y=200, w=20, disabled=pos==3, parent=xguipnl } xguipnl.b3.DoClick = function( self ) xguipnl.updatePos( 3 ) end function xguipnl.updatePos( position, xoffset, yoffset, ignoreanim ) position = position or 5 xoffset = xoffset or tonumber( xgui.settings.xguipos.xoff ) yoffset = yoffset or tonumber( xgui.settings.xguipos.yoff ) xgui.settings.xguipos = { pos=position, xoff=xoffset, yoff=yoffset } xgui.SetPos( position, xoffset, yoffset, ignoreanim ) xguipnl.b1:SetDisabled( position==1 ) xguipnl.b2:SetDisabled( position==2 ) xguipnl.b3:SetDisabled( position==3 ) xguipnl.b4:SetDisabled( position==4 ) xguipnl.b5:SetDisabled( position==5 ) xguipnl.b6:SetDisabled( position==6 ) xguipnl.b7:SetDisabled( position==7 ) xguipnl.b8:SetDisabled( position==8 ) xguipnl.b9:SetDisabled( position==9 ) end xguipnl.xwang = xlib.makenumberwang{ x=245, y=167, w=50, min=-1000, max=1000, value=xgui.settings.xguipos.xoff, decimal=0, parent=xguipnl } xguipnl.xwang.OnValueChanged = function( self, val ) xguipnl.updatePos( xgui.settings.xguipos.pos, tonumber( val ), xgui.settings.xguipos.yoffset, true ) end xguipnl.xwang.OnEnter = function( self ) local val = tonumber( self:GetValue() ) if not val then val = 0 end xguipnl.updatePos( xgui.settings.xguipos.pos, tonumber( val ), xgui.settings.xguipos.yoffset ) end xguipnl.xwang.OnLoseFocus = function( self ) hook.Call( "OnTextEntryLoseFocus", nil, self ) self:OnEnter() end xlib.makelabel{ x=300, y=169, label="X Offset", parent=xguipnl } xguipnl.ywang = xlib.makenumberwang{ x=245, y=193, w=50, min=-1000, max=1000, value=xgui.settings.xguipos.yoff, decimal=0, parent=xguipnl } xguipnl.ywang.OnValueChanged = function( self, val ) xguipnl.updatePos( xgui.settings.xguipos.pos, xgui.settings.xguipos.xoffset, tonumber( val ), true ) end xguipnl.ywang.OnEnter = function( self ) local val = tonumber( self:GetValue() ) if not val then val = 0 end xguipnl.updatePos( xgui.settings.xguipos.pos, xgui.settings.xguipos.xoffset, tonumber( val ) ) end xguipnl.ywang.OnLoseFocus = function( self ) hook.Call( "OnTextEntryLoseFocus", nil, self ) self:OnEnter() end xlib.makelabel{ x=300, y=195, label="Y Offset", parent=xguipnl } ------------------------- --OPEN/CLOSE ANIMATIONS-- ------------------------- xlib.makelabel{ x=175, y=229, label="XGUI Animations:", parent=xguipnl } xlib.makelabel{ x=175, y=247, label="On Open:", parent=xguipnl } xguipnl.inAnim = xlib.makecombobox{ x=225, y=245, w=150, choices={ "Fade In", "Slide From Top", "Slide From Left", "Slide From Bottom", "Slide From Right" }, parent=xguipnl } xguipnl.inAnim:ChooseOptionID( tonumber( xgui.settings.animIntype ) ) function xguipnl.inAnim:OnSelect( index, value, data ) xgui.settings.animIntype = index end xlib.makelabel{ x=175, y=272, label="On Close:", parent=xguipnl } xguipnl.outAnim = xlib.makecombobox{ x=225, y=270, w=150, choices={ "Fade Out", "Slide To Top", "Slide To Left", "Slide To Bottom", "Slide To Right" }, parent=xguipnl } xguipnl.outAnim:ChooseOptionID( tonumber( xgui.settings.animOuttype ) ) function xguipnl.outAnim:OnSelect( index, value, data ) xgui.settings.animOuttype = index end xgui.addSubModule( "XGUI Settings", xguipnl, nil, "client" )
--// Syn Admin Commands; Information \\-- --[[ ToDo: -- Setup Instructions -- GitHub -- Plugins --]]
return PlaceObj('ModDef', { 'title', "AutoShuttleConstruction", 'description', "Automatically construct Shuttles at Shuttle Hubs if there are plenty of resources available (threshold configurable) and the hub is not maxed out already.\n\nBy default, new shuttles will be built if there are more than 5 times the base cost of building one.\n\nIf ModConfig (Old or Reborn) is installed, the resource threshold can be edited as a multiplier of the base cost. Notifications can be disabled as well.", 'image', "AutoShuttleConstruction.png", 'last_changes', "Fix thread problems when loading a save without this mod.", 'id', "yzrZ1l2", 'steam_id', "1345485647", 'pops_desktop_uuid', "130f823d-1b2f-46b5-a2dd-0c56def791e9", 'pops_any_uuid', "63fefeab-3b81-402d-9921-c12da7e18ff2", 'author', "akarnokd", 'version', 25, 'lua_revision', 1007000, 'saved_with_revision', 1008033, 'code', { "Code/AutoShuttleConstructionScript.lua", }, 'saved', 1632348469, })
local Utils = require "plugin.wattageTileEngine.utils" local TileEngine = require "plugin.wattageTileEngine.tileEngine" local requireParams = Utils.requireParams local TileEngineViewControl = {} TileEngineViewControl.new = function(params) requireParams({"parentGroup","centerX","centerY","pixelWidth","pixelHeight","tileEngineInstance"}, params) local self = {} local container local camera local tileEngineInstance = params.tileEngineInstance function self.getCamera() return camera end function self.render() tileEngineInstance.render(camera) end function self.destroy() if container ~= nil then container:removeSelf() end container = nil camera = nil tileEngineInstance = nil end local function initialize() if params.useContainer then container = display.newContainer(params.pixelWidth, params.pixelHeight) params.parentGroup:insert(container) container:insert(tileEngineInstance.getMasterGroup()) container.x = params.centerX container.y = params.centerY else local tileEngineGroup = tileEngineInstance.getMasterGroup() params.parentGroup:insert(tileEngineGroup) tileEngineGroup.x = params.centerX tileEngineGroup.y = params.centerY end camera = TileEngine.Camera.new({ x = 0, y = 0, width = params.pixelWidth / tileEngineInstance.getTileSize(), height = params.pixelHeight / tileEngineInstance.getTileSize(), pixelWidth = params.pixelWidth, pixelHeight = params.pixelHeight, layer = 1 }) end initialize() return self end return TileEngineViewControl
-- Attack methods base config script -- IT'S NOT A GOOD IDEA TO CHANGE THINGS IN HERE UNLESS -- YOU KNOW WHAT YOU'RE DOING, but reading this file over -- is a good way to get to know how DSB works. -- These functions are not called by the engine directly, -- but they are used by objects and so you should be careful -- about overriding them. -- utility function to handle a lot of dirty work function method_finish(m, ppos, who, what, xxp) if (xxp == nil or xxp) then if (xxp == nil or xxp == true) then xxp = 1 end local extra = 0 if (m.extra_xp) then extra = m.extra_xp end xp_up(who, m.xp_class, m.xp_sub, xxp * (m.xp_get + extra)) end att_idle(ppos, m.idleness) burn_stamina(who, m.stamina_used) if (m.charge) then local ch = m.charge use_charge(what, ch) end end -- utility function to play a method's sound function play_method_sound(m, ppos, who, what, lev, px, py, default_sound) local active_sound = nil if (m.sound) then active_sound = m.sound elseif (default_sound) then active_sound = default_sound end if (active_sound) then if (type(active_sound) == "function") then local use_sound = active_sound(m, ppos, who, what) if (use_sound) then dsb_3dsound(use_sound, lev, px, py) end else dsb_3dsound(active_sound, lev, px, py) end end end -- Make this something easy to override, for two handed etc. fighting function att_idle(ppos, idleness) dsb_set_idle(ppos, idleness) end -- dummy method function method_x(name, ppos, who, what) local namewho = dsb_get_charname(who) dsb_write(debug_color, namewho .. " DID A " .. name .. ".") att_idle(ppos, 4) end function method_flip_coin(name, ppos, who, what) local m = lookup_method_info(name, what) if (not m) then return end if (dsb_rand(0, 1) == 0) then dsb_write(system_color, "IT COMES UP HEADS.") else dsb_write(system_color, "IT COMES UP TAILS.") end att_idle(ppos, m.idleness) end -- A standard physical attack method used by most weapons function method_physattack(name, ppos, who, what) local lev, px, py, pface = dsb_party_coords() local cface = dsb_get_pfacing(ppos) local where = dsb_ppos_tile(ppos) local front_row = false local char_dir = (pface+cface)%4 local weapon = nil if (what) then weapon = dsb_find_arch(what) end local m = lookup_method_info(name, weapon) if (not m) then return end if (m.back_attack or (weapon and weapon.back_attack)) then front_row = true else front_row = front_row_check(where, char_dir) end -- Find where the monster is local dx, dy = dsb_forward(char_dir) local monx = px+dx local mony = py+dy local monster_id = search_for_monster(lev, monx, mony, where, char_dir) local door_id = nil if (not monster_id) then door_id = search_for_type(lev, monx, mony, CENTER, "DOOR") end if ((monster_id or door_id) and not front_row) then dsb_attack_text("CAN'T REACH") return false end local default_sound = base_physical_attack_sound if (weapon and weapon.physical_attack_sound) then default_sound = weapon.physical_attack_sound end play_method_sound(m, ppos, who, what, lev, px, py, default_sound) if (not monster_id) then local dv = false if (door_id) then if (m.door_basher) then attack_door(ppos, who, door_id, what, weapon) else dsb_msg(2, door_id, M_BASH, 0) end dv = true end if (weapon and weapon.on_empty_square_attack) then weapon:on_empty_square_attack(what, ppos, who, m, lev, monx, mony, char_dir) return true end if (not dv) then dsb_set_pfacing(ppos, 0) end failed_attack(m, ppos, who, multiplier) return dv end local monster_arch = dsb_find_arch(monster_id) -- Make sure we're swinging the right weapon at -- the right kind of monster local type_ok = false if (monster_arch.nonmat) then if (weapon and weapon.hits_nonmat) then type_ok = true elseif (m.hits_nonmat) then type_ok = true end else type_ok = true if (weapon and weapon.only_nonmat) then type_ok = false elseif (m.only_nonmat) then type_ok = false end end type_ok = h_nonmaterial_check(type_ok, who, monster_id, weapon) if (not type_ok) then failed_attack_idle(m, ppos) return false end local quickness = calc_quickness(who) if (ch_exvar[who] and ch_exvar[who].quickness_bonus) then quickness = quickness + ch_exvar[who].quickness_bonus end local difficulty local multiplier if (exvar[monster_id] and exvar[monster_id].multiplier) then multiplier = exvar[monster_id].multiplier difficulty = exvar[monster_id].multiplier else difficulty = dsb_get_xp_multiplier(lev) multiplier = nil end local req_quickness = monster_arch.quickness + dsb_rand(0, 31) req_quickness = req_quickness + difficulty - 16 local hit = false if (quickness > req_quickness) then hit = true elseif (dsb_rand(0, 3) == 0) then hit = true elseif (have_luck(who, 75 - m.req_luck)) then hit = true end hit = h_hit_calculation(hit, who, monster_id, quickness, req_quickness, weapon) if (ch_exvar[who] and ch_exvar[who].ddefense) then ch_exvar[who].ddefense = nil end if (not hit) then failed_attack(m, ppos, who, multiplier) return false end local used_method, att_loc = dsb_get_lastmethod(ppos) local hit_power = calc_tpower(who, what, att_loc, false) if (hit_power > 0) then hit_power = hit_power + dsb_rand(0, (hit_power/2)+1) hit_power = hit_power * m.power / 32 local monster_def = difficulty + monster_arch.armor + dsb_rand(0, 31) if (weapon and weapon.monster_def_factor) then monster_def = math.floor(monster_def * weapon.monster_def_factor) end hit_power = (hit_power + dsb_rand(0, 31)) - monster_def end local b_power = 0 if (weapon) then -- Curses remove the ability to get bonus power. Since bonus power is my -- tweak anyway, I might as well make curses matter a little more. if (not weapon.cursed and (not exvar[what] or not exvar[what].cursed)) then if (weapon.bonus_power) then b_power = b_power + (weapon.bonus_power * dsb_rand(2, 3)) end if (exvar[what] and exvar[what].bonus_power) then b_power = b_power + (exvar[what].bonus_power * dsb_rand(2, 3)) end end end if (b_power > 0) then if (dsb_rand(0, 5) == 0) then b_power = b_power * 2 end hit_power = hit_power + b_power end -- Armor would block everything, see if we can do damage anyway if (hit_power < 2) then local rand = dsb_rand(0, 3) if (rand == 0) then monster_retaliate(monster_arch, monster_id, ppos, who, char_dir) failed_attack(m, ppos, who, multiplier) return false end hit_power = hit_power + dsb_rand(0, 15) if (hit_power > 0 or (dsb_rand(0, 1) > 0)) then local old_hit_power = hit_power hit_power = rand + dsb_rand(0, 3) if (dsb_rand(0, 3) == 0) then local hit_bonus = dsb_rand(0, 15) + old_hit_power if (hit_bonus < 1) then hit_bonus = 1 end hit_power = hit_power + hit_bonus end end end hit_power = hit_power / 2 if (hit_power > 1) then hit_power = hit_power + dsb_rand(0, hit_power) end hit_power = hit_power + dsb_rand(0, 3) if (hit_power > 0) then hit_power = hit_power + dsb_rand(0, hit_power) end hit_power = (hit_power / 4) + dsb_rand(1, 4) if (weapon) then if (weapon.hits_nonmat and (not monster_arch.nonmat)) then hit_power = hit_power / 2 if (hit_power < 1) then monster_retaliate(monster_arch, monster_id, ppos, who, char_dir) failed_attack(m, ppos, who, multiplier) return false end end end -- Ninja skill bonus -- This is something I added mainly for custom dungeons where ninja -- skills might possibly be more important if (m.backstab and not monster_arch.instant_turn) then local facedir = dsb_get_facedir(monster_id) if (facedir == char_dir) then local n_skill = determine_xp_level(who, CLASS_NINJA, SKILL_MARTIALARTS) hit_power = hit_power + dsb_rand(1, ((m.backstab * n_skill) + 1)) end end -- +1 because "neophyte" is level 1 in DM, but 0 in DSB local my_skill = determine_xp_level(who, m.xp_class, m.xp_sub) + 1 local vs_skill = dsb_rand(0, 63) if (my_skill >= vs_skill) then -- DM had a flat 10 hp bonus, all the time, but we'll include a hook -- for more deadly methods to hit harder sometimes. It's rare enough... if (m.enhanced_critical_hit and my_skill >= 3) then hit_power = hit_power + (3*my_skill) + dsb_rand(1, 6) else hit_power = hit_power + 10 end end if (monster_arch.armor == 999) then hit_power = 0 end if (hit_power < 1) then monster_retaliate(monster_arch, monster_id, ppos, who, char_dir) failed_attack(m, ppos, who, multiplier) return false end if (m.bonus_damage) then hit_power = hit_power + m.bonus_damage end if (weapon and exvar[what] and exvar[what].bonus_damage) then hit_power = hit_power + exvar[what].bonus_damage end hit_power = math.floor(hit_power + 0.5) att_idle(ppos, m.idleness) local xpb = m.xp_get + ((hit_power * monster_arch.xp_factor) / 16) + 3 if (m.extra_xp) then xpb = xpb + m.extra_xp end xp_up(who, m.xp_class, m.xp_sub, xpb, multiplier) attack_stamina(who, m.stamina_used) if (m.ddefense) then defensive_attack(m, ppos, who, monster_id, hit_power) end if (hit_power and hit_power > 0) then hit_power = monster_damaged(true, hit_power, "armor", monster_id, what, monster_arch, weapon, who) if (not hit_power) then hit_power = 0 end if (hit_power > 0) then if (m.special_effect) then m:special_effect(ppos, who, monster_id, hit_power) end if (weapon and weapon.on_melee_damage_monster) then local rv = weapon:on_melee_damage_monster(what, ppos, who, monster_id, hit_power) if (rv) then hit_power = rv end end if (monster_arch.on_take_melee_damage) then local rv = monster_arch:on_take_melee_damage(monster_id, ppos, who, what, name, hit_power) if (rv) then hit_power = rv end end local new_monster_hp = dsb_get_hp(monster_id) - hit_power if (new_monster_hp >= 1) then monster_retaliate(monster_arch, monster_id, ppos, who, char_dir, true) else new_monster_hp = 0 end dsb_attack_damage(hit_power) dsb_hide_mouse(true) dsb_delay_func(2, dsb_show_mouse) dsb_set_hp(monster_id, new_monster_hp) end end return true end -- A helper function to knock down a door function attack_door(ppos, who, door_id, what, weapon) local success = 0 local used_method, att_loc = dsb_get_lastmethod(ppos) local my_bash_power = calc_tpower(who, what, att_loc, false) local door_bash_power = 9999 local door_arch = dsb_find_arch(door_id) if (exvar[door_id] and exvar[door_id].bash_power) then door_bash_power = exvar[door_id].bash_power else local door_arch = dsb_find_arch(door_id) if (door_arch.bash_power) then door_bash_power = door_arch.bash_power end end if (my_bash_power > door_bash_power) then success = 1 end dsb_msg(2, door_id, M_BASH, success) end -- A helper function to find something to attack function search_for_monster(lev, monx, mony, where, char_dir) local front_mon = where local back_mon = where local shift_mon = dsb_tileshift(where, char_dir) if (char_dir == where or (char_dir+1)%4 == where) then front_mon = shift_mon else back_mon = shift_mon end local monster_id = search_for_type(lev, monx, mony, front_mon, "MONSTER") if (monster_id) then return monster_id end local monster_id = search_for_type(lev, monx, mony, CENTER, "MONSTER") if (monster_id) then return monster_id end monster_id = search_for_type(lev, monx, mony, back_mon, "MONSTER") if (monster_id) then return monster_id end front_mon = dsb_tileshift(front_mon, (char_dir+1)%4) back_mon = dsb_tileshift(back_mon, (char_dir+1)%4) monster_id = search_for_type(lev, monx, mony, front_mon, "MONSTER") if (not monster_id) then monster_id = search_for_type(lev, monx, mony, back_mon, "MONSTER") end return monster_id end function have_luck(who, needed) if (dsb_rand(0, 1) == 0 and dsb_rand(0, 100) > needed) then return true end local got_luck = (dsb_get_stat(who, STAT_LUC)/10) if (dsb_rand(0, got_luck) > needed) then got_luck = got_luck*10 - dsb_rand(15, 25) if (got_luck < 10) then got_luck = 0 end dsb_set_stat(who, STAT_LUC, got_luck) return true else got_luck = got_luck*10 + dsb_rand(15, 25) local maxluck = dsb_get_maxstat(who, STAT_LUC) if (got_luck > maxluck) then dsb_set_stat(who, STAT_LUC, maxluck) else dsb_set_stat(who, STAT_LUC, got_luck) end return false end return false end function failed_attack_idle(info, ppos) local staminause = info.stamina_used + dsb_rand(2, 3) local idletime = info.idleness local who = dsb_ppos_char(ppos) burn_stamina(who, staminause) att_idle(ppos, idletime) end function failed_attack(info, ppos, who, multiplier) local xpbonus = info.xp_get / 2 if (info.extra_xp) then xpbonus = xpbonus + info.extra_xp end local staminause = info.stamina_used + dsb_rand(2, 3) local idletime = info.idleness xp_up(who, info.xp_class, info.xp_sub, xpbonus, multiplier) burn_stamina(who, staminause) att_idle(ppos, idletime) end function attack_stamina(who, use) burn_stamina(who, use + dsb_rand(4, 7)) end -- War crying and other such methods function method_causefear(name, ppos, who, what) local lev, px, py, pface = dsb_party_coords() local cface = dsb_get_pfacing(ppos) local char_dir = (pface+cface)%4 local weapon = nil if (what) then weapon = dsb_find_arch(what) end local m = lookup_method_info(name, weapon) if (not m) then return end local xxp = 0 if (m.extra_xp) then xxp = m.extra_xp end local dx, dy = dsb_forward(char_dir) local monx = px+dx local mony = py+dy local bdir = dsb_rand(0, 4) local near_mon for p=0,4 do local dir = (p+bdir)%5 near_mon = search_for_type(lev, monx, mony, dir, "MONSTER") if (near_mon) then break end end play_method_sound(m, ppos, who, what, lev, px, py, nil) att_idle(ppos, m.idleness) if (not near_mon) then return end local fear_mon = dsb_ai_boss(near_mon) local mon_arch = dsb_find_arch(fear_mon) if (mon_arch.bravery >= 15) then xp_up(who, CLASS_PRIEST, SKILL_FEAR, xxp + m.xp_get / 2) return end local max_fear = m.base_fear + determine_xp_level(who, CLASS_PRIEST, SKILL_FEAR) + 1 local cause_fear = dsb_rand(0, max_fear) if (cause_fear < mon_arch.bravery) then xp_up(who, CLASS_PRIEST, SKILL_FEAR, xxp + m.xp_get / 2) return end xp_up(who, CLASS_PRIEST, SKILL_FEAR, xxp + m.xp_get) -- As of DSB 0.58, I've reverted back to the DM formula because I can't -- find anything in the CSBwin code that suggests anything other than -- StateOfFear5 actually makes the monster run away. The other states -- have to do with whether the monster is attacking, hunting the party -- or whatever. Fear durations still seem somewhat short in DSB compared -- to CSBwin, but that's probably just because the clock ticks faster. -- I'll just add 1 round to the fear duration to compensate. dsb_ai(fear_mon, AI_FEAR, ((4*(16-mon_arch.bravery)) / mon_arch.act_rate) + 1) if (m.charge) then use_charge(what, m.charge) end end -- Magical items that shoot a spell (flamitt, stormring, etc.) function method_shoot_spell(name, ppos, who, what) local obj_arch = dsb_find_arch(what) local m = lookup_method_info(name, obj_arch) if (not m) then return end local lev, xc, yc, dir = dsb_party_coords() dsb_set_pfacing(ppos, 0) local tilepos = dsb_ppos_tile(ppos) local side = 1 if (tilepos == dir or (tilepos+1)%4 == dir) then side = 0 end local start_pos = (dir + side) % 4 local p = obj_arch.spell_power if (obj_arch.random_spell_power) then p = p + dsb_rand(0, obj_arch.random_spell_power) end if (m.mana_used) then -- +1 because "neophyte" is level 1 in DM, but 0 in DSB local sk = determine_xp_level(who, m.xp_class, m.xp_sub) + 1 local usemana = m.mana_used - (sk * 10) if (usemana < 10) then usemana = 10 end local mana = dsb_get_bar(who, MANA) if (mana < usemana) then -- Sharp power reduction if you are short of mana -- if it even works at all if (m.must_have_mana) then att_idle(ppos, m.idleness / 2) return end local pmod = (mana/usemana) if (pmod < 0.125) then pmod = 0.125 end p = p * pmod dsb_set_bar(who, MANA, 0) else dsb_set_bar(who, MANA, mana - usemana) end end local d = dsb_get_maxbar(who, MANA) / 8 if (d > 8) then d = 8 end local delta = 10 - d if (p < 4*delta) then p = p + 3 delta = delta - 1 end local missile_type if (obj_arch.missile_type) then missile_type = obj_arch.missile_type else missile_type = m.missile_type end if (type(missile_type) == "function") then missile_type = missile_type(what) end local default_sound = nil if (weapon and weapon.ranged_attack_sound) then default_sound = weapon.ranged_attack_sound end play_method_sound(m, ppos, who, what, lev, xc, yc, default_sound) local missile_id = dsb_spawn(missile_type, LIMBO, 0, 0, 0) dsb_set_openshot(missile_id, dir) dsb_shoot(missile_id, lev, xc, yc, dir, start_pos, p, p, delta) set_thrower_owner(missile_id, who) -- The launcher can set the shot object's flyreps if (obj_arch.flyreps) then dsb_set_flyreps(missile_id, obj_arch.flyreps) end method_finish(m, ppos, who, what) end function method_freezelife(name, ppos, who, what) local obj_arch = dsb_find_arch(what) local freeze = obj_arch.freeze_time local m = lookup_method_info(name, obj_arch) if (not m) then return end for id in dsb_insts() do local arch = dsb_find_arch(id) if (arch.type == "MONSTER" and not arch.no_freeze) then dsb_ai(id, AI_DELAY_EVERYTHING, freeze + 1) dsb_set_gfxflag(id, GF_FREEZE) change_exvar(id, "freeze_count", 1) dsb_delay_msgs_to(id, freeze + 1) dsb_msg(freeze, id, M_UNFREEZE, 0, what) end end local lev, px, py = dsb_party_coords() play_method_sound(m, ppos, who, what, lev, px, py) method_finish(m, ppos, who, what) end function method_shield(name, ppos, who, what) local m = lookup_method_info(name, what) if (not m) then return end local mana = dsb_get_bar(who, MANA) local itime = m.idleness if (mana <= 0) then burn_stamina(who, m.stamina_used) att_idle(ppos, itime / 2) return end local arch = dsb_find_arch(what) local sh_power = arch.shield_power local sh_duration = arch.shield_duration local n_ppos for n_ppos=0,3 do local char = dsb_ppos_char(n_ppos) if (valid_and_alive(char)) then magic_shield(char, m.shield_type, sh_power, sh_duration) end end local lev, px, py = dsb_party_coords() play_method_sound(m, ppos, who, what, lev, px, py) method_finish(m, ppos, who, what) end function method_light(name, ppos, who, what) local arch = dsb_find_arch(what) local m = lookup_method_info(name, arch) if (not m) then return end magic_light(arch.light_power, arch.light_fade, arch.light_fade_time) local lev, px, py = dsb_party_coords() play_method_sound(m, ppos, who, what, lev, px, py) method_finish(m, ppos, who, what) end function method_window(name, ppos, who, what) local arch = dsb_find_arch(what) local m = lookup_method_info(name, obj_arch) if (not m) then return end local duration = arch.window_duration local cpower = dsb_get_condition(PARTY, C_WINDOW) if (not cpower) then cpower = duration else cpower = cpower + duration end dsb_set_condition(PARTY, C_WINDOW, cpower) dsb_set_gameflag(GAME_WINDOW) local lev, px, py = dsb_party_coords() play_method_sound(m, ppos, who, what, lev, px, py) method_finish(m, ppos, who, what) end function method_heal(name, ppos, who, what) local m = lookup_method_info(name, what) if (not m) then return end att_idle(ppos, m.idleness) burn_stamina(who, m.stamina_used) local hp = dsb_get_bar(who, HEALTH) local needed_hp = dsb_get_maxbar(who, HEALTH) - hp if (needed_hp > 0) then local mana = dsb_get_bar(who, MANA) if (mana > 0) then local healinc = (determine_xp_level(who, m.xp_class, m.xp_sub) + 1) * 10 if (healinc > 100) then healinc = 100 end for i=0,29 do hp = hp + healinc needed_hp = needed_hp - healinc mana = mana - m.mana_used if (needed_hp < healinc) then healinc = needed_hp end xp_up(who, m.xp_class, m.xp_sub, m.xp_get) if (mana <= 0 or needed_hp <= 0) then break end end if (mana < 0) then dsb_set_bar(who, MANA, 0) else dsb_set_bar(who, MANA, mana) end dsb_set_bar(who, HEALTH, hp) else return end else return end local lev, px, py = dsb_party_coords() play_method_sound(m, ppos, who, what, lev, px, py) if (m.charge) then use_charge(what, m.charge) end end function method_climbdown(name, ppos, who, what) local idle_set = false local m = lookup_method_info(name, what) if (not m) then return end local lev, xc, yc, face = dsb_party_coords() local dx, dy = dsb_forward(face) xc = xc + dx yc = yc + dy local always_give_xp = false if (what) then local what_arch = dsb_find_arch(what) always_give_xp = what_arch.always_give_xp end -- Original DM gives xp even if there is no pit. -- I consider it a bug, but some people liked this behavior, -- so let's just make it an option. if (always_give_xp) then burn_stamina(who, m.stamina_used) att_idle(ppos, m.idleness) idle_set = true xp_up(who, m.xp_class, m.xp_sub, m.xp_get) end local got_pit = dsb_fetch(lev, xc, yc, CENTER) if (got_pit) then local blocked = false for d=0,4 do local got_monster = search_for_type(lev, xc, yc, d, "MONSTER") if (got_monster) then blocked = true break end end if (not blocked) then for i in pairs(got_pit) do local v = got_pit[i] local arch = dsb_find_arch(v) if (arch.class == "PIT") then if (not dsb_get_gfxflag(v, GF_INACTIVE)) then if (not always_give_xp) then burn_stamina(who, m.stamina_used) att_idle(ppos, m.idleness) idle_set = true xp_up(who, m.xp_class, m.xp_sub, m.xp_get) end gt_rope_use = true dsb_party_place(lev, xc, yc, face) end end end end end if (not idle_set) then att_idle(ppos, m.idleness / 2) end end function method_fuse(name, ppos, who, what) local escaped = false local fused = false local m = lookup_method_info(name, what) if (not m) then return end local lev, px, py, face = dsb_party_coords() local dx, dy = dsb_forward(face) local xc = px + dx local yc = py + dy local chaos_id = nil local mons = dsb_fetch(lev, xc, yc, CENTER) if (mons) then for i in pairs(mons) do local v = mons[i] local arch = dsb_find_arch(v) if (arch.type == "MONSTER" and arch.class == "CHAOS") then dsb_ai(v, AI_HAZARD, 0) dsb_ai(v, AI_MOVE_NOW, 0) chaos_id = v end end end if (chaos_id) then local clev, cxc, cyc = dsb_get_coords(chaos_id) if (cxc == xc and cyc == yc) then local chaos_arch = dsb_find_arch(chaos_id) escaped = chaos_arch:escape(chaos_id) if (not escaped) then dsb_set_facedir(chaos_id, (face + 2) % 4) -- Don't let the fluxcages block our view of the festivities local cage_here = search_for_class(lev, px, py, CENTER, "FLUXCAGE") if (cage_here) then dsb_delete(cage_here) end local cage_there = search_for_class(lev, xc, yc, CENTER, "FLUXCAGE") if (cage_there) then dsb_delete(cage_there) end dsb_lock_game() local zid = dsb_spawn("zap", lev, xc, yc, CENTER) dsb_set_charge(zid, 16) dsb_sound(snd.zap) dsb_delay_func(2, function() dsb_set_charge(zid, 32) dsb_sound(snd.zap) end) dsb_delay_func(4, function() dsb_set_charge(zid, 48) dsb_sound(snd.zap) end) dsb_delay_func(6, function() dsb_set_charge(zid, 64) dsb_sound(snd.zap) end) dsb_delay_func(8, function() dsb_qswap(zid, "explosion") dsb_set_charge(zid, 16) dsb_sound(snd.explosion) end) dsb_delay_func(10, function() dsb_set_charge(zid, 32) dsb_sound(snd.explosion) end) dsb_delay_func(12, function() dsb_set_charge(zid, 48) dsb_sound(snd.explosion) end) dsb_delay_func(14, function() dsb_set_charge(zid, 64) dsb_sound(snd.explosion) end) dsb_delay_func(20, function() dsb_disable(zid) dsb_qswap(chaos_id, "lordorder") dsb_sound(snd.buzz) end) dsb_delay_func(24, function() dsb_qswap(chaos_id, "lordchaos") dsb_sound(snd.buzz) end) dsb_delay_func(26, function() dsb_qswap(chaos_id, "lordorder") dsb_sound(snd.buzz) end) dsb_delay_func(28, function() dsb_qswap(chaos_id, "lordchaos") dsb_sound(snd.buzz) end) dsb_delay_func(29, function() dsb_qswap(chaos_id, "lordorder") dsb_sound(snd.buzz) end) dsb_delay_func(30, function() dsb_qswap(chaos_id, "lordchaos") dsb_sound(snd.buzz) end) dsb_delay_func(31, function() dsb_qswap(chaos_id, "lordorder") dsb_sound(snd.buzz) end) dsb_delay_func(32, function() dsb_qswap(chaos_id, "lordchaos") dsb_sound(snd.buzz) end) dsb_delay_func(34, function() dsb_set_charge(zid, 64) dsb_enable(zid) dsb_swap(chaos_id, "greylord") dsb_sound(snd.explosion) end) dsb_delay_func(36, function() dsb_delete(zid) end) dsb_delay_func(38, function() dsb_unlock_game() if (h_fused_chaos) then h_fused_chaos(chaos_id) end end) fused = true end end end if (not fused) then if (escaped) then dsb_delay_func(2, function() dsb_sound(snd.zap) local id = dsb_spawn("zap", lev, xc, yc, CENTER) dsb_set_charge(id, 48) end) else dsb_sound(snd.zap) local id = dsb_spawn("zap", lev, xc, yc, CENTER) dsb_set_charge(id, 48) end end damage_monster_group(lev, xc, yc, 100, 32, "anti_desew", 1, nil) burn_stamina(who, m.stamina_used) att_idle(ppos, m.idleness) xp_up(who, m.xp_class, m.xp_sub, m.xp_get) end function method_fluxcage(name, ppos, who, what) local m = lookup_method_info(name, what) if (not m) then return end local lev, xc, yc, face = dsb_party_coords() local dx, dy = dsb_forward(face) xc = xc + dx yc = yc + dy if (not dsb_get_cell(lev, xc, yc)) then local id = dsb_spawn("fluxcage", lev, xc, yc, CENTER) dsb_msg(90, id, M_DESTROY, 0) end play_method_sound(m, ppos, who, what, lev, xc, yc) method_finish(m, ppos, who, what) end -- For the bow etc. function method_shoot_ammo(name, ppos, who, what) local weapon = dsb_find_arch(what) local shooting local ammoloc = weapon.ammo_location if (ammoloc == nil) then ammoloc = INV_L_HAND end local m = lookup_method_info(name, weapon) if (not m) then return end local ammo, ammo_obj, shooting = find_ammo_at_loc(who, ammoloc, weapon, false) if (not ammo) then dsb_attack_text("NEED AMMO") att_idle(ppos, 6) if (not dsb_fetch(CHARACTER, who, ammoloc, 0)) then get_more_shooting_ammo(ppos, who, ammoloc, weapon.need_ammo_type) end return end local lev, xc, yc, dir = dsb_party_coords() dsb_set_pfacing(ppos, 0) local tilepos = dsb_ppos_tile(ppos) local side = 1 if (tilepos == dir or (tilepos+1)%4 == dir) then side = 0 end local start_pos = (dir + side) % 4 local ninjaskill = determine_xp_level(who, CLASS_NINJA, SKILL_SHOOTING) local shot_power = weapon.base_shot_power + ninjaskill + 1 -- If throwing the ammo would give more power than using the weapon, -- use the throwing power, so the weapon doesn't seem worthless. -- (That is, a strong but not very skilled character can get more power -- by just using brute force) local used_method, att_loc = dsb_get_lastmethod(ppos) local arm_power = (calc_tpower(who, ammo, att_loc, true)*3)/2 if (arm_power > shot_power) then shot_power = arm_power end shot_power = shot_power + shooting.base_range + dsb_rand(0, 31) -- DM sets damage, clobbers it, and then sets damage and delta to the -- same value. Completely insane! I doubt if it mattered much to the DM -- engine, though, since the "damage" value rarely got used in the code -- for when flying things impacted the party or monsters. However, since -- I've made it count, I'll have to improvise these a bit. local damage = (8*ninjaskill) + dsb_rand(1, weapon.base_shot_damage) if (shooting.bonus_damage) then damage = damage + shooting.bonus_damage end local delta = weapon.base_delta - ninjaskill if (delta < weapon.min_delta) then delta = weapon.min_delta end local xpsub = 0 if (m.xp_sub) then xpsub = m.xp_sub end xp_up(who, m.xp_class, xpsub, m.xp_get) att_idle(ppos, m.idleness) attack_stamina(who, m.stamina_used) dsb_set_openshot(ammo, dir) dsb_shoot(ammo, lev, xc, yc, dir, start_pos, shot_power, damage, delta) set_thrower_owner(ammo, who) -- The launcher can set the shot object's flyreps if (weapon.flyreps) then dsb_set_flyreps(ammo, weapon.flyreps) end local default_sound = base_throw_sound if (weapon and weapon.ranged_attack_sound) then default_sound = weapon.ranged_attack_sound end play_method_sound(m, ppos, who, what, lev, xc, yc, default_sound) if (m.charge) then use_charge(what, m.charge) end get_more_shooting_ammo(ppos, who, ammoloc, weapon.need_ammo_type) end function method_throw_obj(name, ppos, who, what) local throw_arch = dsb_find_arch(what) local used_method, att_loc = dsb_get_lastmethod(ppos) local alt_loc = INV_L_HAND -- call the on_throw so we're consistent with sys_mouse_throw if (throw_arch.on_throw and throw_arch:on_throw(what, att_loc, who)) then return true end local lev, xc, yc, dir = dsb_party_coords() dsb_set_pfacing(ppos, 0) local tilepos = dsb_ppos_tile(ppos) local side = 1 if (tilepos == dir or (tilepos+1)%4 == dir) then side = 0 end local start_pos = (dir + side) % 4 local power, damage, delta = calc_throw(who, what, att_loc) dsb_set_openshot(what, dir) dsb_shoot(what, lev, xc, yc, dir, start_pos, power, damage, delta) set_thrower_owner(what, who) dsb_sound(base_throw_sound) att_idle(ppos, 5) get_more_throwing_ammo(ppos, who, att_loc, nil, alt_loc) end function set_thrower_owner(what, who) use_exvar(what) exvar[what].last_owner = who end function get_more_shooting_ammo(ppos, who, location, type) local ammo = search_quiv_for_ammo(who, type) if (ammo) then dsb_set_gfxflag(ammo, GF_UNMOVED) if (dsb_get_idle(ppos) < 5) then dsb_set_idle(ppos, 5) end delay_ammo_move(5, ammo, who, location) end end function get_more_throwing_ammo(ppos, who, location, type, alt_location) local moved = false local v_weapon = { need_ammo_type = type } local lhandammo, lhand, lhandammoarch, lhandarch = find_ammo_at_loc(who, alt_location, v_weapon, true) local quivammo = search_quiv_for_ammo(who, type) if (lhandammo) then dsb_set_gfxflag(lhandammo, GF_UNMOVED) delay_ammo_move(3, lhandammo, who, location) -- The ammo didn't come out of a container if (lhandammoarch == lhandarch) then if (quivammo) then dsb_set_gfxflag(quivammo, GF_UNMOVED) delay_ammo_move(5, quivammo, who, alt_location) end end moved = true elseif (quivammo) then dsb_set_gfxflag(quivammo, GF_UNMOVED) delay_ammo_move(5, quivammo, who, location) moved = true end if (moved) then if (dsb_get_idle(ppos) < 5) then dsb_set_idle(ppos, 5) end end end function search_quiv_for_ammo(who, need_type) local qloclist = { INV_QUIVER, INV_QUIV2, INV_QUIV3, INV_QUIV4 } local ploclist = { INV_POUCH, INV_POUCH2 } local qammo qammo = search_llist_for_ammo(who, need_type, qloclist, false) if (not qammo) then qammo = search_llist_for_ammo(who, need_type, ploclist, false) if (not qammo) then qammo = search_llist_for_ammo(who, need_type, qloclist, true) end end return qammo end function search_llist_for_ammo(who, need_type, llist, anygrab) local ic -- Grab anything! if (anygrab) then for ic=1,#llist do local loc = llist[ic] local qitem = dsb_fetch(CHARACTER, who, loc, 0) if (qitem) then local qarch = dsb_find_arch(qitem) if (not qarch.ammo_holder) then return qitem end end end return false end -- grab loose missiles first for ic=1,#llist do local loc = llist[ic] local qitem = dsb_fetch(CHARACTER, who, loc, 0) if (qitem) then local qarch = dsb_find_arch(qitem) if (qarch.missile_type) then if (not need_type or qarch.missile_type == need_type) then return qitem end end end end -- Support for containers, DM2 style quivers etc. for ic=1,#llist do local loc = llist[ic] local qitem = dsb_fetch(CHARACTER, who, loc, 0) if (qitem) then local qarch = dsb_find_arch(qitem) if (qarch.ammo_holder) then local iobj for iobj in dsb_in_obj(qitem) do local iarch = dsb_find_arch(iobj) if (iarch.missile_type) then if (not need_type or iarch.missile_type == need_type) then return iobj end end end end end end return false end function delay_ammo_move(delay, ammo_id, owner, dest) dsb_delay_func(delay, function() move_ammo_in(ammo_id, owner, dest) end ) end function move_ammo_in(ammo_id, owner, dest) if (not dsb_get_gfxflag(ammo_id, GF_UNMOVED)) then return false end local ch, c_owner, where_now = dsb_get_coords(ammo_id) if (ch == CHARACTER and c_owner == owner) then if (where_now == dest) then return true end end if (dsb_fetch(CHARACTER, owner, dest, 0)) then return false end dsb_move(ammo_id, CHARACTER, owner, dest, 0) return true end -- Randomly determines something to shoot function invoke_firestaff(id) local shot = dsb_rand(0, 5) if (shot == 0) then return "poison_desven" elseif (shot == 1) then return "poison_ohven" elseif (shot == 2) then return "desewspell" else return "fireball" end end -- Get information on the attack method in use function lookup_method_info(name, weapon) local m = nil if (weapon) then -- Take the weapon value as an id or an arch if (type(weapon) ~= "table") then if (type(weapon) == "string") then weapon = obj[weapon] else weapon = dsb_find_arch(weapon) end end if (weapon.method_info and weapon.method_info[name]) then return weapon.method_info[name] end end m = method_info[name] if (m) then return m else dsb_write(debug_color, "ERROR: NO INFO FOR " .. name) return nil end end -- An attack might give a temporary boost or penalty function defensive_attack(self, ppos, who, id, hit_power) local db = self.ddefense if (db > 0) then db = db + 2 elseif (db < 0) then db = db - 2 end if (not ch_exvar[who]) then ch_exvar[who] = { ddefense = db } else local my_db = ch_exvar[who].ddefense if (not my_db) then ch_exvar[who].ddefense = db else if (db > my_db) then ch_exvar[who].ddefense = db end end end end -- An attack so imposing looking it can cause fear to the monster -- As of DSB 0.64, I decided this was sort of stupid... function frightening_attack(self, ppos, who, id, hit_power) return end -- A stun attack can freeze the monster momentarily function stun_attack(self, ppos, who, id, hit_power) if (hit_power > 30) then if (dsb_rand(0, 7) == 0) then local boss_id = dsb_ai_boss(id) dsb_ai(boss_id, AI_STUN, dsb_rand(2, 3)) end end end unarmed_methods = { { "PUNCH", 0, CLASS_NINJA, "method_physattack" }, { "KICK", 0, CLASS_NINJA, "method_physattack" }, { "WAR CRY", 0, CLASS_PRIEST, "method_causefear" } } shield_methods = { { "BLOCK", 0, CLASS_FIGHTER, "method_physattack" }, { "HIT", 0, CLASS_NINJA, "method_physattack" } } club_methods = { { "THROW", 0, CLASS_NINJA, "method_throw_obj" }, { "BASH", 0, CLASS_FIGHTER, "method_physattack" } } coin_methods = { { "FLIP", 0, CLASS_PRIEST, "method_flip_coin" } } magicbox_methods = { { "FREEZE LIFE", 0, CLASS_WIZARD, "method_freezelife" } } throwable_object_methods = { { "THROW", 0, CLASS_NINJA, "method_throw_obj" }, { "STAB", 0, CLASS_NINJA, "method_physattack" } } swing_method = { { "SWING", 0, CLASS_FIGHTER, "method_physattack" } } shoot_method = { { "SHOOT", 0, CLASS_NINJA, "method_shoot_ammo" } } throw_method = { { "THROW", 0, CLASS_NINJA, "method_throw_obj" } } -- This stores information on attack methods, which may or may not -- be bound to specific weapons. First, the specific version is searched, -- in the method_info table of a specific arch. Then this table is searched. method_info = { BASH = { xp_class = CLASS_FIGHTER, xp_sub = SKILL_BASHING, xp_get = 11, idleness = 20, stamina_used = 9, power = 50, req_luck = 32, door_basher = true }, BERZERK = { xp_class = CLASS_FIGHTER, xp_sub = SKILL_SWINGING, xp_get = 40, idleness = 30, stamina_used = 30, power = 96, req_luck = 46, special_effect = frightening_attack, ddefense = -10, door_basher = true, enhanced_critical_hit = true }, BLOCK = { xp_class = CLASS_FIGHTER, xp_sub = SKILL_DEFENSE, xp_get = 8, idleness = 6, stamina_used = 4, power = 15, req_luck = 22, ddefense = 36 }, ["BLOW HORN"] = { xp_class = CLASS_PRIEST, xp_sub = SKILL_FEAR, xp_get = 20, idleness = 10, stamina_used = 2, base_fear = 6, sound = snd.horn_of_fear }, BRANDISH = { xp_class = CLASS_PRIEST, xp_sub = SKILL_FEAR, xp_get = 30, idleness = 10, stamina_used = 2, base_fear = 6, ddefense = -4 }, CALM = { xp_class = CLASS_PRIEST, xp_sub = SKILL_FEAR, xp_get = 35, idleness = 10, stamina_used = 2, base_fear = 7 }, CHOP = { xp_class = CLASS_FIGHTER, xp_sub = SKILL_BASHING, xp_get = 10, idleness = 8, stamina_used = 8, power = 48, req_luck = 48, door_basher = true }, CLEAVE = { xp_class = CLASS_FIGHTER, xp_sub = SKILL_SWINGING, xp_get = 12, idleness = 12, stamina_used = 10, power = 48, req_luck = 40, door_basher = true, enhanced_critical_hit = true }, ["CLIMB DOWN"] = { xp_class = CLASS_NINJA, xp_sub = SKILL_CLIMBING, xp_get = 21, idleness = 35, stamina_used = 80 }, CONFUSE = { xp_class = CLASS_PRIEST, xp_sub = SKILL_FEAR, xp_get = 45, idleness = 10, stamina_used = 2, base_fear = 12, charge = 1 }, DISPELL = { xp_class = CLASS_WIZARD, xp_sub = SKILL_AIR, xp_get = 25, idleness = 31, stamina_used = 5, mana_used = 70, missile_type = "desewspell", ddefense = -7, charge = 1 }, DISRUPT = { xp_class = CLASS_WIZARD, xp_sub = SKILL_AIR, xp_get = 10, idleness = 9, stamina_used = 5, power = 57, req_luck = 46, hits_nonmat = true }, FIREBALL = { xp_class = CLASS_WIZARD, xp_sub = SKILL_FIRE, xp_get = 35, idleness = 35, stamina_used = 5, mana_used = 70, missile_type = "fireball", ddefense = -7, charge = 1 }, FIRESHIELD = { xp_class = CLASS_PRIEST, xp_sub = SKILL_SHIELDS, xp_get = 20, idleness = 35, stamina_used = 5, mana_used = 40, shield_type = C_FIRESHIELD, ddefense = 5, charge = 1 }, FLIP = { xp_class = CLASS_PRIEST, xp_sub = SKILL_LUCK, xp_get = 0, idleness = 5, stamina_used = 1 }, FLUXCAGE = { xp_class = CLASS_WIZARD, xp_sub = 0, xp_get = 1, idleness = 10, stamina_used = 2, ddefense = 8 }, ["FREEZE LIFE"] = { xp_class = CLASS_PRIEST, xp_sub = SKILL_FEAR, xp_get = 22, idleness = 20, stamina_used = 3, charge = 1 }, FUSE = { xp_class = CLASS_WIZARD, xp_sub = 0, xp_get = 1, idleness = 10, stamina_used = 2, ddefense = 8 }, HEAL = { xp_class = CLASS_PRIEST, xp_sub = SKILL_POTIONS, xp_get = 2, idleness = 10, stamina_used = 1, mana_used = 20 }, HIT = { xp_class = CLASS_NINJA, xp_sub = SKILL_MARTIALARTS, xp_get = 10, idleness = 5, stamina_used = 3, power = 20, req_luck = 20, ddefense = 16 }, INVOKE = { xp_class = CLASS_WIZARD, xp_sub = 0, xp_get = 25, idleness = 20, stamina_used = 5, mana_used = 70, missile_type = invoke_firestaff, ddefense = -7 }, JAB = { xp_class = CLASS_FIGHTER, xp_sub = SKILL_STABBING, xp_get = 11, idleness = 2, stamina_used = 3, power = 8, req_luck = 70 }, KICK = { xp_class = CLASS_NINJA, xp_sub = SKILL_MARTIALARTS, xp_get = 13, idleness = 5, stamina_used = 3, power = 48, req_luck = 38, ddefense = -10, door_basher = true }, LIGHT = { xp_class = CLASS_WIZARD, xp_sub = SKILL_AIR, xp_get = 20, idleness = 10, stamina_used = 3, charge = 1 }, LIGHTNING = { xp_class = CLASS_WIZARD, xp_sub = SKILL_AIR, xp_get = 30, idleness = 35, stamina_used = 4, mana_used = 70, missile_type = "lightning", ddefense = -7, charge = 1 }, MELEE = { xp_class = CLASS_FIGHTER, xp_sub = SKILL_BASHING, xp_get = 24, idleness = 20, stamina_used = 17, power = 61, req_luck = 64, ddefense = -12, enhanced_critical_hit = true }, PARRY = { xp_class = CLASS_FIGHTER, xp_sub = SKILL_DEFENSE, xp_get = 17, idleness = 15, stamina_used = 1, power = 8, req_luck = 18, ddefense = 28 }, -- Not actually used in DM. However, it balances out the spell methods. POISON = { xp_class = CLASS_WIZARD, xp_sub = SKILL_POISON, xp_get = 30, idleness = 35, stamina_used = 4, mana_used = 70, missile_type = "poison_ohven", ddefense = -7, charge = 1 }, PUNCH = { xp_class = CLASS_NINJA, xp_sub = SKILL_MARTIALARTS, xp_get = 8, idleness = 2, stamina_used = 2, power = 16, req_luck = 38, ddefense = -10 }, SHOOT = { xp_class = CLASS_NINJA, xp_sub = SKILL_SHOOTING, xp_get = 9, idleness = 14, stamina_used = 3 }, SLASH = { xp_class = CLASS_NINJA, xp_sub = SKILL_MARTIALARTS, xp_get = 9, idleness = 4, stamina_used = 3, power = 16, req_luck = 26, ddefense = 4 }, SPELLSHIELD = { xp_class = CLASS_PRIEST, xp_sub = SKILL_SHIELDS, xp_get = 20, idleness = 30, stamina_used = 5, mana_used = 40, shield_type = C_SPELLSHIELD, ddefense = 5, charge = 1 }, SPIT = { xp_class = CLASS_WIZARD, xp_sub = SKILL_FIRE, xp_get = 25, idleness = 20, stamina_used = 8, mana_used = 70, missile_type = "fireball", ddefense = -8, charge = 1 }, STAB = { xp_class = CLASS_NINJA, xp_sub = SKILL_MARTIALARTS, xp_get = 15, idleness = 5, stamina_used = 3, power = 48, req_luck = 30, ddefense = -20, backstab = 2 }, STUN = { xp_class = CLASS_FIGHTER, xp_sub = SKILL_BASHING, xp_get = 10, idleness = 7, stamina_used = 5, power = 16, req_luck = 50, defense = 8, special_effect = stun_attack }, SWING = { xp_class = CLASS_FIGHTER, xp_sub = SKILL_SWINGING, xp_get = 6, idleness = 6, stamina_used = 2, power = 16, req_luck = 32, ddefense = 5 }, THRUST = { xp_class = CLASS_FIGHTER, xp_sub = SKILL_STABBING, xp_get = 19, idleness = 16, stamina_used = 13, power = 66, req_luck = 57, ddefense = -20, enhanced_critical_hit = true }, ["WAR CRY"] = { xp_class = CLASS_PRIEST, xp_sub = SKILL_FEAR, xp_get = 12, extra_xp = 7, idleness = 5, stamina_used = 1, base_fear = 3, ddefense = 4, sound = base_warcry_sound }, WINDOW = { xp_class = CLASS_WIZARD, xp_sub = SKILL_DES, xp_get = 30, idleness = 12, stamina_used = 1, ddefense = -4, charge = 1 } }
--constants addGlobalValue("gravitySpeed", "double") setGlobalValue("gravitySpeed", 500) addGlobalValue("sizeMultiplier", "double") setGlobalValue("sizeMultiplier", 3) sizeMultiplier = getGlobalValue("sizeMultiplier") --player addGlobalValue("player", "entity") playerEntity = createEntity("player", 224 * sizeMultiplier, 320 * sizeMultiplier) setGlobalValue("player", playerEntity) --background textures createEntity("animation", 0, 0, getAnimationWidth("school") * sizeMultiplier, getAnimationHeight("school") * sizeMultiplier, "school") createEntity("animation", 0, 1000 * sizeMultiplier, getAnimationWidth("cafeteria") * sizeMultiplier, getAnimationHeight("cafeteria") * sizeMultiplier, "cafeteria") createEntity("animation", 0, 2000 * sizeMultiplier, getAnimationWidth("physicsRoom") * sizeMultiplier, getAnimationHeight("physicsRoom") * sizeMultiplier, "physicsRoom") --collisions --main school --horizontal createEntity("block", 100, 432, 2055, 16)--first floor createEntity("block", 476, 337, 529, 17)--first hallway ceiling left to right createEntity("block", 1095, 337, 99, 17) createEntity("block", 1471, 337, 368, 17) createEntity("block", 1178, 282, 309, 17)--library ceiling createEntity("block", 100, 266, 2055, 16)--second floor and some roof createEntity("block", 476, 171, 402, 17)--second hallway ceiling left to right createEntity("block", 1178, 171, 661, 17) createEntity("block", 862, 100, 332, 16)--small commons ceiling --vertical createEntity("block", 100, 266, 16, 182)--pillar createEntity("block", 160, 266, 16, 129)--main commons wall left createEntity("block", 476, 171, 16, 224)--main commons wall left and second wall left createEntity("block", 989, 266, 16, 88)--ramp walls left to right createEntity("block", 1095, 266, 16, 88) createEntity("block", 1178, 266, 16, 129)--library walls left to right createEntity("block", 1471, 266, 16, 129) createEntity("block", 1823, 171, 16, 224)--gym wall left and second wall right createEntity("block", 2139, 266, 16, 182)--gym wall right createEntity("block", 862, 100, 16, 88)--small commons left to right createEntity("block", 1178, 100, 16, 88) createEntity("block", 1637, 171, 16, 58)--bathroom wall --cafeteria createEntity("block", 0, (166 + 1000), 472, 16)--floor createEntity("block", 316, (71 + 1000), 156, 17) createEntity("block", 0, (0 + 1000), 472, 16)--roof createEntity("block", 0, (0 + 1000), 16, 129) createEntity("block", 316, (0 + 1000), 16, 129) createEntity("block", 456, (0 + 1000), 16, 182) --physics createEntity("block", 0, 2000 + 95, 332, 16) createEntity("block", 0, 2000 + 0, 332, 17) createEntity("block", 0, 2000 + 0, 16, 111) createEntity("block", 316, 2000 + 0, 16, 111) --entities --1st floor --large commons createEntity("object", 176 , 282, "ceilingLights", false, true) createEntity("object", 192, 432 , "glassOffice", true, false) createEntity("object", 321 , 432 - (getAnimationHeight("officeHole") / sizeMultiplier), "officeHole", true, false) createEntity("stickerRoll", 449, 432) --first hallway for i = 0,5 + rand() % 10 do createEntity("poster", 492, 354, 497, 41) end createEntity("animatedTeleporter", 540, 432, 16, 166 + 1000, "cafeteriaDoor", true)--cafeteria doors createEntity("object", 614, 432, "barrelTrashCan",true, false) for j = 0,1 do for i = 0,10 do createEntity("object", (660) + (i * getAnimationWidth("locker")) / sizeMultiplier + (j * getAnimationWidth("locker") * 11) / sizeMultiplier + (j * 33), 432, "locker", true, false) end end createEntity("object", 950, 432, "waterFountain", true, false) createEntity("object", 970, 432, "waterFountain", true, false) createEntity("teleporter", 1005, 432, 90, 150, 1047, 266, false)--ramp createEntity("teleporter", 1005, 266, 90, 27, 1051, 432, false)--ramp createEntity("item", 1127, 432, "pottedPlant") --library --hallway before gym createEntity("object", 1768, 432, "waterFountain", true, false) createEntity("object", 1788, 432, "waterFountain", true, false) for i = 0,2 do createEntity("object", 1503 + (i * getAnimationWidth("trophyCase")) / sizeMultiplier + (i * 33), 432, "trophyCase", true, false) end --gym createEntity("basketBall", 2012, 432) createEntity("basketBallHoop", 1883, 336) createEntity("basketBallHoop", 2067, 336) --2nd floor --first hallway for i = 0,5 + rand() % 10 do createEntity("poster", 492, 188, 386, 41) end for j = 0,1 do for i = 0,10 do createEntity("object", (508) + (i * getAnimationWidth("locker")) / sizeMultiplier + (j * getAnimationWidth("locker") * 11) / sizeMultiplier + (j * 33), 266, "locker", true, false) end end createEntity("object", 805, 266, "waterFountain", true, false) createEntity("object", 825, 266, "waterFountain", true, false) --small commons createEntity("animatedTeleporter", 894, 266, 32, 95 + 2000, "door", true) --second hallway for i = 0,5 + rand() % 10 do createEntity("poster", 1194, 188, 427, 41) end for j = 0,1 do for i = 0,10 do createEntity("object", 1243 + (i * getAnimationWidth("locker")) / sizeMultiplier + (j * getAnimationWidth("locker") * 11) / sizeMultiplier + 33, (266), "locker", true, false) end end createEntity("object", 1580, 266, "waterFountain", true, false) createEntity("object", 1600, 266, "waterFountain", true, false) --restroom --cafeteria for i = 0,2 do createEntity("object", (48 + (i * 16)) + (i * getAnimationWidth("lunchTable")) / sizeMultiplier, 1000 + 166, "lunchTable", true, false) end --physics room createEntity("animatedTeleporter", 32, 95 + 2000, 894, 266, "door", true) createEntity("electronEmitterButton", 111, 95 + 2000, 111, 50 + 2000) createEntity("electricFieldButton", 150, 95 + 2000, 197, 17 + 2000, 78, 78)
local tyColSphere = createColSphere( 2532.8212890625, -2029.841796875, 13.546875, 1) exports.pool:allocateElement(tyColSphere) tyrese = createPed (174, 219.3525390625, 1242.6259765625, 1082.140625) exports.pool:allocateElement(tyrese) setPedRotation(tyrese, 220) setPedFrozen(tyrese, true) setElementInterior( tyrese, 2 ) setElementDimension( tyrese, 364 ) setElementData (tyrese, "activeConvo", 0) -- Set the convo state to 0 so people can start talking to him. setElementData(tyrese, "name", "Ty") setElementData(tyrese, "talk", true) setElementData(tyrese, "rotation", getPedRotation(tyrese), false) function startTy(thePlayer, matchingDimension ) if matchingDimension then local logged = getElementData(thePlayer, "loggedin") if (logged==1) then if (isElementWithinColShape(thePlayer, tyColSphere)) then triggerClientEvent( thePlayer, "startTy_c", getRootElement()) end end end end addEventHandler("onColShapeHit", tyColSphere, startTy ) function tyIntro () -- When player enters the colSphere create GUI with intro output to all local players as local chat. -- Give the player the "Find Ty" achievement. exports.global:sendLocalMeAction(source,"knocks on the door") local theTeam = getPlayerTeam(source) local factionType = getElementData(theTeam, "type") if(factionType ~= 0 or getElementData( tyrese, "activeConvo" )==1)then exports.global:sendLocalText(source, "Ty shouts: Yo', I'm busy!", 255, 255, 255, 10) triggerClientEvent(source, "closeTyWindow", getRootElement()) else -- Friend of Ty/Rook local query = mysql:query_fetch_assoc("SELECT tyrese, rook FROM characters WHERE charactername='" .. mysql:escape_string(getPlayerName(source)) .."'") local tysFriend = tonumber(query["tyrese"]) local rooksFriend = tonumber(query["rook"]) local factionLeader = tonumber( getElementData(source, "factionleader")) if factionLeader == 0 then exports.global:sendLocalText(source, "Ty shouts: Yo', I'm busy!", 255, 255, 255, 10) triggerClientEvent(source, "closeTyWindow", getRootElement()) else -- Output chat. exports.global:sendLocalText(source, "Ty shouts: Yo', who is it?!", 255, 255, 255, 10) setElementData (tyrese, "activeConvo", 1) talkingToTy = source addEventHandler("onPlayerQuit", talkingToTy, resetTyConvoStateDelayed) addEventHandler("onPlayerWasted", talkingToTy, resetTyConvoStateDelayed) triggerClientEvent( source, "callback", getRootElement(), rooksFriend, tysFriend) end end end addEvent( "startTyConvo", true ) addEventHandler( "startTyConvo", getRootElement(), tyIntro ) ---------------------------- Non-Friends ------------------------------------ -- Statement 4 function tyStatement4_S() -- Output the text from the last option to all player in radius local name = string.gsub(getPlayerName(source), "_", " ") exports.global:sendLocalText(source, name .. " shouts: Yo', c'mon open the fuckin' door, homie.", 255, 255, 255, 5) exports.global:sendLocalText(source, "Ty shouts: I don't know you. Get the fuck up outta here!", 255, 255, 255, 5) setElementData (tyrese, "activeConvo", 0) end addEvent( "tyStatement4ServerEvent", true ) addEventHandler( "tyStatement4ServerEvent", getRootElement(), tyStatement4_S ) -- Statement 5 function tyStatement5_S() -- Output the text from the last option to all player in radius local name = string.gsub(getPlayerName(source), "_", " ") exports.global:sendLocalText(source, name .. " shouts: Rook sent me. He said you needed some help with some business.", 255, 255, 255, 10) exports.global:sendLocalText(source, "Ty shouts: A'ight, hold up!", 255, 255, 255, 10) exports.global:sendLocalText(source, "* The door unlocks", 255, 51, 102, 10) exports.global:sendLocalText(source, "Ty says: Only you. Anyone else is gonna have to wait outside.", 255, 255, 255, 10) setElementPosition(source, 226.48, 1239.87, 1082.14) setElementDimension(source, 364) setElementInterior(source, 2) -- Output the text from the last option to all player in radius outputChatBox( "Ty says: So you talked to Rook, right? What did he tell you?.", source, 255, 255, 255) end addEvent( "tyStatement5ServerEvent", true ) addEventHandler( "tyStatement5ServerEvent", getRootElement(), tyStatement5_S ) -- Statement 6 function tyStatement6_S() -- Output the text from the last option to all player in radius local name = string.gsub(getPlayerName(source), "_", " ") exports.global:sendLocalText(source, name .. " says: He said you had connects but needed someone to put it all to use.", 255, 255, 255, 5) exports.global:sendLocalText(source, "Ty says: Yeah that's right. So you down? Here's how it'll work.", 255, 255, 255, 5) exports.global:sendLocalText(source, "Ty says: I got some people's I can call up on when I need that produce.", 255, 255, 255, 5) exports.global:sendLocalText(source, "Ty says: I'll act as middle man and sell to you at wholesale. You then can do whatever you want with it.", 255, 255, 255, 5) end addEvent( "tyStatement6ServerEvent", true ) addEventHandler( "tyStatement6ServerEvent", getRootElement(), tyStatement6_S ) -- Statement 7 function tyStatement7_S() -- Output the text from the last option to all player in radius local name = string.gsub(getPlayerName(source), "_", " ") exports.global:sendLocalText(source, name .. " says: He said you had connects but didn't know what to do with them.", 255, 255, 255, 5) exports.global:sendLocalText(source, "Ty says: Fuck you! I ain't no amateur. Get the fuck up out of here. ", 255, 255, 255, 5) setElementPosition(source, 2532.8212890625, -2029.841796875, 13.546875) setElementDimension(source, 0) setElementInterior(source, 0) resetTyConvoStateDelayed() end addEvent( "tyStatement7ServerEvent", true ) addEventHandler( "tyStatement7ServerEvent", getRootElement(), tyStatement7_S ) -- Statement 8 function tyStatement8_S() -- Output the text from the last option to all player in radius local name = string.gsub(getPlayerName(source), "_", " ") exports.global:sendLocalText(source, name .. " says: Sounds a'ight.", 255, 255, 255, 5) exports.global:sendLocalText(source, "Ty says: You ever need the shit just come by.", 255, 255, 255, 5) setElementPosition(source, 2532.8212890625, -2029.841796875, 13.546875) setElementDimension(source, 0) setElementInterior(source, 0) resetTyConvoStateDelayed() mysql:query_free("UPDATE characters SET tyrese='1' WHERE charactername='" .. mysql:escape_string(getPlayerName(source)) .. "' LIMIT 1") end addEvent( "tyStatement8ServerEvent", true ) addEventHandler( "tyStatement8ServerEvent", getRootElement(), tyStatement8_S ) -- Statement 9 function tyStatement9_S() -- Output the text from the last option to all player in radius local name = string.gsub(getPlayerName(source), "_", " ") exports.global:sendLocalText(source, name .. " says: Wholesale? I thought we were partners.", 255, 255, 255, 5) exports.global:sendLocalText(source, "Ty says: If you ain't down I can find some other niggas.", 255, 255, 255, 5) end addEvent( "tyStatement9ServerEvent", true ) addEventHandler( "tyStatement9ServerEvent", getRootElement(), tyStatement9_S ) -- Statement 10 function tyStatement10_S() -- Output the text from the last option to all player in radius local name = string.gsub(getPlayerName(source), "_", " ") exports.global:sendLocalText(source, name .. " says: Na, it's cool. We got a deal.", 255, 255, 255, 5) exports.global:sendLocalText(source, "Ty says: You ever need me to hook you up, just stop by.", 255, 255, 255, 5) setElementPosition(source, 2532.8212890625, -2029.841796875, 13.546875) setElementDimension(source, 0) setElementInterior(source, 0) resetTyConvoStateDelayed() mysql:query_free("UPDATE characters SET tyrese='1' WHERE charactername='" .. mysql:escape_string(getPlayerName(source)) .. "' LIMIT 1") end addEvent( "tyStatement10ServerEvent", true ) addEventHandler( "tyStatement10ServerEvent", getRootElement(), tyStatement10_S ) -- Statement 11 function tyStatement11_S() -- Output the text from the last option to all player in radius local name = string.gsub(getPlayerName(source), "_", " ") exports.global:sendLocalText(source, name .. " says: Yeah you do that.", 255, 255, 255, 5) exports.global:sendLocalText(source, "Ty says: Then we're done here. Get the steppin'.", 255, 255, 255, 5) setElementPosition(source, 2532.8212890625, -2029.841796875, 13.546875) setElementDimension(source, 0) setElementInterior(source, 0) resetTyConvoStateDelayed() end addEvent( "tyStatement11ServerEvent", true ) addEventHandler( "tyStatement11ServerEvent", getRootElement(), tyStatement11_S ) ---------------- friends---------------------- function tyFriendStatement2_S() -- Output the text from the last option to all player in radius local name = string.gsub(getPlayerName(source), "_", " ") exports.global:sendLocalText(source, name .. " shouts: Yo it's me. Open the door.", 255, 255, 255, 10) exports.global:sendLocalText(source, "Ty shouts: A'ight hold up..", 255, 255, 255, 10) exports.global:sendLocalText(source, "* The door unlocks", 255, 51, 102, 10) setElementPosition(source, 226.48, 1239.87, 1082.14) setElementDimension(source, 364) setElementInterior(source, 2) outputChatBox("Ty says: So what you looking for this time?", source, 255, 255, 255) end addEvent( "tyFriendStatement2ServerEvent", true ) addEventHandler( "tyFriendStatement2ServerEvent", getRootElement(), tyFriendStatement2_S ) local count = 0 function giveTyItems( itemNumber ) if(itemNumber == 1)then itemID = 30 cost = 10 elseif (itemNumber == 2)then itemID = 32 cost = 20 elseif (itemNumber == 3)then itemID = 33 cost = 20 --elseif (itemNumber == 4)then -- itemID = 31 -- cost = 25 end -- does the player have enough money? if not exports.global:takeMoney(source, cost) then exports.global:sendLocalText(tyrese, "Ty says: I ain't givin' this shit away. Come back when you got the money.", 255, 255, 255, 5) setElementPosition(source, 2532.8212890625, -2029.841796875, 13.546875) setElementDimension(source, 0) setElementInterior(source, 0) triggerClientEvent(source, "closeTyWindow", getRootElement()) setTimer(resetTyConvoStateDelayed, 600000, 1) else count = count + 1 exports.global:giveItem(source, itemID, 1) outputChatBox("You have bought a drug item from Ty for $"..cost..".", source) if count >= 4 then tyClose_S() end end end addEvent("tyGiveItem", true) addEventHandler("tyGiveItem", getRootElement(), giveTyItems) function tyClose_S() local name = string.gsub(getPlayerName(source), "_", " ") exports.global:sendLocalText( tyrese, name .. " says: I'm set.", 255, 255, 255, 5) exports.global:sendLocalText( tyrese, "Ty says: Peace, homie.", 255, 255, 255, 5) setElementPosition(source, 2532.8212890625, -2029.841796875, 13.546875) setElementDimension(source, 0) setElementInterior(source, 0) setTimer(resetTyConvoStateDelayed, 600000, 1) end addEvent("tyFriendClose", true) addEventHandler("tyFriendClose", getRootElement(), tyClose_S) ------------------------ Reset ----------------------------- function resetTyConvoState() setElementData(tyrese,"activeConvo", 0) end function resetTyConvoStateDelayed() if talkingToTy then removeEventHandler("onPlayerQuit", talkingToTy, resetTyConvoStateDelayed) removeEventHandler("onPlayerWasted", talkingToTy, resetTyConvoStateDelayed) triggerClientEvent(talkingToTy, "closeTyWindow", getRootElement()) talkingToTy = nil count = 0 end setTimer(resetTyConvoState, 120000, 1) end
local Playback = require("Playback") local Event = require("Event") local KShootParser = require("KShootParser") local parser, chart, playback local lastevent local source function love.load() print("") parser, chart = KShootParser() --love.filesystem.newFile("songs/tests/test1/test1.ksh") local file = love.filesystem.newFile("songs/tests/test2/test2.ksh") for l in file:lines() do parser:parseLine(l) end --local source = love.audio.newSource("songs/tests/max_burning_blacky/inf.ogg") --source:play() playback = Playback(chart) end function love.update(dt) local event = playback:update(dt) if event and lastevent ~= event then lastevent = event for i=1,2 do local analogEvent = event.analogEvents[i] if analogEvent then print(i, analogEvent.value) end end end love.event.push("quit") end function love.draw() love.graphics.setLineWidth(10) local scale = 20 local starttick = playback.tick local endtick = playback.tick + (600 / scale) for tick = starttick, endtick do local event = chart:eventByTick(tick) if event then love.graphics.setColor(255, 150, 0, 50) for i = 1, 2 do local effectEvent = event.effectEvents[i] if effectEvent then if getmetatable(effectEvent)[1] == Event.Short then love.graphics.rectangle( "fill", (i - 1) * 200, 600 - (event.tick - playback.tick) * scale, 200, 10 ) elseif getmetatable(effectEvent)[1] == Event.LongUp then love.graphics.rectangle( "fill", (i - 1) * 200, 600 - (effectEvent.previousEvent.parent.tick - playback.tick) * scale, 200, effectEvent:length() * scale ) end end end love.graphics.setColor(255, 255, 255) for i = 1, 4 do local beatEvent = event.beatEvents[i] if beatEvent then if getmetatable(beatEvent)[1] == Event.Short then love.graphics.rectangle( "fill", (i - 1) * 100, 600 - (event.tick - playback.tick) * scale, 99, 10 ) elseif getmetatable(beatEvent)[1] == Event.LongDown then love.graphics.rectangle( "fill", (i - 1) * 100, 600 - (beatEvent.nextEvent.parent.tick - playback.tick) * scale, 99, beatEvent:length() * scale ) end end end for i = 1, 2 do local analogEvent = event.analogEvents[i] if analogEvent then if i == 1 then love.graphics.setColor(0, 255, 255, 100) else love.graphics.setColor(255, 0, 0, 100) end if analogEvent.nextEvent then love.graphics.line( analogEvent.nextEvent.value * 400, 600 - (analogEvent.nextEvent.parent.tick - playback.tick) * scale, analogEvent.value * 400, 600 - (analogEvent.parent.tick - playback.tick) * scale ) elseif analogEvent.previousEvent then love.graphics.line( analogEvent.previousEvent.value * 400, 600 - (analogEvent.previousEvent.parent.tick - playback.tick) * scale, analogEvent.value * 400, 600 - (analogEvent.parent.tick - playback.tick) * scale ) end end end end end end
local io = io local os = os local table = table local pairs = pairs local ipairs = ipairs local math = math local type = type local tonumber = tonumber local tostring = tostring local setmetatable = setmetatable local cosocket = cosocket local ngx = ngx local tcp local base64_encode = base64_encode local insert=table.insert local concat=table.concat local match = string.match local char = string.char local function trim(s) return match(s,'^()%s*$') and '' or match(s,'^%s*(.*%S)') end if ngx and ngx.say then tcp = ngx.socket.tcp base64_encode = ngx.encode_base64 base64_decode = ngx.decode_base64 else tcp = cosocket.tcp end local zlib = nil pcall(function() -- download from: https://github.com/LuaDist/lzlib zlib = require('zlib') if not zlib.inflate then zlib = nil end end) module(...) _VERSION = '0.1' local mt = { __index = _M } function httprequest(url, params) if not params then params = {} end local chunk, protocol = url:match('^(([a-z0-9+]+)://)') url = url:sub((chunk and #chunk or 0) + 1) local sock, err if not params['ssl_cert'] then sock, err = tcp(protocol=='https') else sock, err = tcp(params['ssl_cert'], params['ssl_key'], params['ssl_pw']) end if not sock then return nil, err end if not params.pool_size then params.pool_size = 0 end if params.pool_size then if ngx then sock:setkeepalive(60, params.pool_size) else sock:setkeepalive(params.pool_size) end end if params.timeout then sock:settimeout(params.timeout) end local host = url:match('^([^/]+)') local hostname, port local user,pw url = url:sub((host and #host or 0) + 1) if host then user,pw = host:match('^(%w+):(%w+)@') if user then host = host:sub(#user+#pw+3) end hostname = host:match('^([^:/]+)') port = host:match(':(%d+)$') port = port and port or (protocol=='https' and 443 or 80) end local uri = url if not params then params = {} end if not params.method then if not params.data then params.method = 'GET' else if type(params.data) == 'table' then params.method = 'POST' else params.method = 'PUT' end end end params.method = params.method:upper() if not uri or uri =='' then uri = '/' end -- connect to server local ok, err = sock:connect(hostname, port) if not ok then sock:close() return nil, err end if params.host then hostname = params.host end local contents local is_multipart = false local is_post = false --multipart/form-data local boundary = '' local send_file_length_sum = 0 if params.data then local k,v if type(params.data) == 'table' then for k,v in pairs(params.data) do if type(v) == 'table' then is_multipart = true if type(v.file) ~= 'string' then v.file:seek('set', 0) send_file_length_sum = send_file_length_sum+v.file:seek('end') v.file:seek('set', 0) end end end end if type(params.data) == 'table' then contents = {} local i = 1 if not is_multipart then is_post = true for k,v in pairs(params.data) do contents[i] = k..'='..tostring(v) i = i+1 end contents = concat(contents, '&') else boundary = '--'..base64_encode(os.time()..math.random()):sub(1,16) for k,v in pairs(params.data) do if type(v) == 'string' then contents[i] = 'Content-Disposition: form-data; name="'..k..'"\r\n\r\n'..v else if not v.name then v.name = '' end contents[i] = 'Content-Disposition: form-data; name="'..k..'"; filename="'..v.name.. '"\r\nContent-Type: '..(v.type and v.type or 'application/octet-stream')..';\r\n\r\n'.. (type(v.file)=='string' and v.file or '') end i = i+1 end contents = '--'..boundary..'\r\n'..concat(contents, '\r\n--'..boundary..'\r\n')..'\r\n--'..boundary..'--' end else contents = params.data end end local request_headers = {params.method..' '..uri..' HTTP/1.1', 'Host: '..hostname, 'User-Agent: lua-http-client(v1)', 'Connection: '..(params.pool_size > 0 and 'keep-alive' or 'close'), 'Accept: */*', } if zlib then insert(request_headers, 'Accept-Encoding: gzip,deflate') end if user and pw then insert(request_headers, 'Authorization: Basic ' .. base64_encode(user..':'..pw)) end if params.header then if type(params.header) == 'table' then local k,v for k,v in ipairs(params.header) do insert(request_headers, v) end else insert(request_headers, tostring(params.header)) end end if contents then if is_post then insert(request_headers, 'Content-Type: application/x-www-form-urlencoded') elseif is_multipart then insert(request_headers, 'Content-Type: multipart/form-data; boundary='..boundary) end if type(contents) == 'string' then insert(request_headers, 'Content-Length: '..#contents+send_file_length_sum) else contents:seek('set', 0) local content_length = contents:seek('end') insert(request_headers, 'Content-Length: '..content_length) contents:seek('set', 0) end end --send request local bytes, err = sock:send(concat(request_headers, '\r\n')..'\r\n\r\n') if err then sock:close() return nil, err end if send_file_length_sum == 0 then if contents then if type(contents) == 'string' then bytes, err = sock:send(contents) if err then sock:close() return nil, err end else local buf = contents:read(40960) while buf do bytes, err = sock:send(buf) if err then contents:close() sock:close() return nil, err end buf = contents:read(40960) end contents:close() end end else local i,k,v=1 bytes, err = sock:send('--'..boundary..'\r\n') for k,v in pairs(params.data) do if i > 1 then bytes, err = sock:send('\r\n--'..boundary..'\r\n') if err then sock:close() return nil, err end end if type(v) == 'string' then bytes, err = sock:send('Content-Disposition: form-data; name="'..k..'"\r\n\r\n'..v) if err then sock:close() return nil, err end else if not v.name then v.name = '' end local t = type(v.file) bytes, err = sock:send('Content-Disposition: form-data; name="'..k..'"; filename="'..v.name.. '"\r\nContent-Type: '..(v.type and v.type or 'application/octet-stream')..';\r\n\r\n'.. (t=='string' and v.file or '')) if err then sock:close() return nil, err end if t~='string' then local buf = v.file:read(40960) while buf do bytes, err = sock:send(buf) if err then v.file:close() v.file = nil sock:close() return nil, err end buf = v.file:read(40960) end v.file:close() v.file = nil end end i = i+1 end bytes, err = sock:send('\r\n--'..boundary..'--') end local is_chunked = false local gziped = false local deflated = false local headers = {} local i = 1 local line,err = sock:receive('*l') if err then sock:close() return nil, err end local get_body_length = 0 while not err do if line == '' then break end local te = 'transfer-encod' --ing local cl = 'content-length' local ce = 'content-encodi' --ng local _line = line:sub(1, #cl):lower() if not is_chunked then if #line > #te then if _line == te and line:find('chunked') then is_chunked = true elseif _line == cl and params.method ~= 'HEAD' then get_body_length = tonumber(line:sub(line:find(':')+1, #line)) end end end if _line == ce and gziped == false and deflated == false then if line:find('gzip') then gziped = true elseif line:find('deflate') then deflated = true end end headers[i] = line i = i+1 line,err = sock:receive('*l') if err then sock:close() return nil, err end end err = nil local bodys = {} local body_length = 0 local buf local rterr if is_chunked then rterr = 'error chunk format!' i = 1 err = nil while not err do line,err = sock:receive('*l') if err then sock:close() return nil, err end local read_length = tonumber(line, 16) if read_length == 0 then rterr = nil break end if not read_length or read_length < 1 then break end while read_length > 0 do local rl = read_length if rl > 40960 then rl = 40960 end read_length = read_length - rl buf,err = sock:receive(rl) if buf then bodys[i] = buf i = i+1 else break end end line,err = sock:receive('*l') if err then sock:close() return nil, err end end if err then rterr = err end elseif get_body_length > 0 then local buf,err = sock:receive(get_body_length < 40960 and get_body_length or 40960) if err then sock:close() return nil, err end i = 1 while not err do bodys[i] = buf i = i+1 body_length = body_length+#buf if body_length >= get_body_length then break end buf,err = sock:receive(get_body_length-body_length < 40960 and get_body_length-body_length or 40960) if err then sock:close() return nil, err end end if err then sock:close() sock = nil end if body_length < get_body_length then rterr = 'body length < '..get_body_length end else local buf,err = sock:receive('*l') local i = 1 while not err do bodys[i] = buf i = i + 1 buf,err = sock:receive('*l') end if err then sock:close() end end if params.pool_size and sock then if ngx then sock:setkeepalive(60, params.pool_size) else sock:close() end end if zlib and (gziped or deflated) then if deflated and bodys[1]:byte(1) ~= 120 and bodys[1]:byte(1) ~= 156 then bodys[1] = char(120,156) .. bodys[1] end if #bodys < 1024 then bodys = {concat(bodys)} end i = 1 local maxi = #bodys local stream,err = zlib.inflate(function() i=i+1 if i > maxi+1 then return nil end return bodys[i-1] end) if err then return nil, err end bodys,err = stream:read('*a') if err then stream:close() return nil, err end stream:close() end if type(bodys) == 'table' then bodys = concat(bodys) end --return bodys, headers, rterr local res = {} res.body = bodys res.status = 0 if headers and headers[1] then local i = headers[1]:find(' ', 1, true) if i then local e = headers[1]:find(' ', i+1, true) res.status = e and tonumber(headers[1]:sub(i+1, e)) or 0 else res.status = 0 end local header = {} for k,v in ipairs(headers) do local i = v:find(':', 1, true) if i then header[v:sub(1,i-1):lower()] = trim(v:sub(i+1)) end end res.header = header end return res, rterr end local class_mt = { -- to prevent use of casual module global variables __newindex = function (table, key, val) error('attempt to write to undeclared variable "' .. key .. '"') end } setmetatable(_M, class_mt)
local awful = require("awful") do local cmds = { "/usr/lib/mate-polkit/polkit-mate-authentication-agent-1", "xautolock -time 15 -detectsleep -locker 'gpg-connect-agent reloadagent /bye;slimlock'", "clipmenud", "xfce4-power-manager", "light -S 30", "udiskie", } for _, value in ipairs(cmds) do awful.spawn.with_shell(value .. "&") end end
return {[1]={stats={[1]="base_actor_scale_+%"}},[2]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Sacrifices %1%%% of Skeleton's Life to deal that much Chaos Damage"}}},name="skeletal_chains_aoe_health_percent",stats={[1]="skeletal_chains_aoe_%_health_dealt_as_chaos_damage"}},[3]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="Sacrifices %1%%% of your total Energy Shield and Life\nDeals %2%%% of Sacrificed Energy Shield and Life as Fire Damage per second"}}},name="vrf_loss",stats={[1]="vaal_righteous_fire_life_and_es_%_to_lose_on_use",[2]="vaal_righteous_fire_life_and_es_%_as_damage_per_second"}},[4]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="%1% to %2% Physical Damage"}}},name="weapon_physical_damage_range",stats={[1]="0"}},[5]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Cast Speed"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Cast Speed"}}},name="cast_speed_incr_skill_granted",stats={[1]="cast_speed_+%_granted_from_skill"}},[6]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="%1% to %2% Fire Damage"}}},name="weapon_fire_damage_range",stats={[1]="0"}},[7]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="%1% to %2% Cold Damage"}}},name="weapon_cold_damage_range",stats={[1]="0"}},[8]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="%1% to %2% Lightning Damage"}}},name="weapon_lightning_damage_range",stats={[1]="0"}},[9]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="%1% to %2% Chaos Damage"}}},name="weapon_chaos_damage_range",stats={[1]="0"}},[10]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="%1% to %2% Physical Damage"}}},name="spell_physical_damage_range",stats={[1]="spell_minimum_physical_damage",[2]="spell_maximum_physical_damage"}},[11]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="%1% to %2% Fire Damage"}}},name="spell_fire_damage_range",stats={[1]="spell_minimum_fire_damage",[2]="spell_maximum_fire_damage"}},[12]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="%1% to %2% Cold Damage"}}},name="spell_cold_damage_range",stats={[1]="spell_minimum_cold_damage",[2]="spell_maximum_cold_damage"}},[13]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="%1% to %2% Lightning Damage"}}},name="spell_lightning_damage_range",stats={[1]="spell_minimum_lightning_damage",[2]="spell_maximum_lightning_damage"}},[14]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="%1% to %2% Chaos Damage"}}},name="spell_chaos_damage_range",stats={[1]="spell_minimum_chaos_damage",[2]="spell_maximum_chaos_damage"}},[15]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="%1% to %2% Physical Damage"}}},name="secondary_physical_damage_range",stats={[1]="secondary_minimum_physical_damage",[2]="secondary_maximum_physical_damage"}},[16]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="%1% to %2% Fire Damage"}}},name="secondary_fire_damage_range",stats={[1]="secondary_minimum_fire_damage",[2]="secondary_maximum_fire_damage"}},[17]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="%1% to %2% Cold Damage"}}},name="secondary_cold_damage_range",stats={[1]="secondary_minimum_cold_damage",[2]="secondary_maximum_cold_damage"}},[18]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="%1% to %2% Lightning Damage"}}},name="secondary_lightning_damage_range",stats={[1]="secondary_minimum_lightning_damage",[2]="secondary_maximum_lightning_damage"}},[19]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="%1% to %2% Chaos Damage"}}},name="secondary_chaos_damage_range",stats={[1]="secondary_minimum_chaos_damage",[2]="secondary_maximum_chaos_damage"}},[20]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="Deals %1% to %2% base Lightning Damage per Power Charge removed"}}},name="lightning_damage_per_power_charge_range",stats={[1]="spell_minimum_base_lightning_damage_per_removable_power_charge",[2]="spell_maximum_base_lightning_damage_per_removable_power_charge"}},[21]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="Deals %1% to %2% base Fire Damage per Endurance Charge removed"}}},name="fire_damage_per_endurance_charge_range",stats={[1]="spell_minimum_base_fire_damage_per_removable_endurance_charge",[2]="spell_maximum_base_fire_damage_per_removable_endurance_charge"}},[22]={lang={English={[1]={[1]={k="milliseconds_to_seconds_2dp",v=1},limit={[1]={[1]="#",[2]="#"}},text="Additional %1% seconds Base Duration per extra Corpse consumed"}}},name="offering_duration_per_corpse",stats={[1]="offering_skill_effect_duration_per_corpse"}},[23]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="Deals %1% to %2% base Cold Damage per Frenzy Charge removed"}}},name="cold_damage_per_frenzy_charge_range",stats={[1]="spell_minimum_base_cold_damage_per_removable_frenzy_charge",[2]="spell_maximum_base_cold_damage_per_removable_frenzy_charge"}},[24]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="%1% to %2% Added Attack Fire Damage"}}},name="attack_added_fire",stats={[1]="attack_minimum_added_fire_damage",[2]="attack_maximum_added_fire_damage"}},[25]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="%1% to %2% Added Attack Cold Damage"}}},name="attack_added_cold",stats={[1]="attack_minimum_added_cold_damage",[2]="attack_maximum_added_cold_damage"}},[26]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="%1% to %2% Added Attack Lightning Damage"}}},name="attack_added_lightning",stats={[1]="attack_minimum_added_lightning_damage",[2]="attack_maximum_added_lightning_damage"}},[27]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="Deals %1% to %2% base Cold Damage per 10 Intelligence"}}},name="cold_damage_per_int",stats={[1]="spell_minimum_base_cold_damage_+_per_10_intelligence",[2]="spell_maximum_base_cold_damage_+_per_10_intelligence"}},[28]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Explosion deals base Fire Damage equal to %1%%% of the corpse's maximum Life"}}},name="corpse_life_percentage",stats={[1]="corpse_explosion_monster_life_%"}},[29]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Modifiers to Spell Damage apply to this Skill's Damage Over Time effect"}}},name="spell_damage_over_time",stats={[1]="spell_damage_modifiers_apply_to_skill_dot"}},[30]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Modifiers to Projectile Damage apply to this Skill's Damage Over Time effect"}}},name="projectile_damage_over_time",stats={[1]="projectile_damage_modifiers_apply_to_skill_dot"}},[31]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Increases and Reductions to Light Radius also apply to this Skill's Area of Effect"}}},name="light_raidus_is_area",stats={[1]="light_radius_increases_apply_to_area_of_effect"}},[32]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Modifiers to Skill Effect Duration also apply to this Skill's Soul Gain Prevention"}}},name="soul_prevention_skill_duration",stats={[1]="modifiers_to_skill_effect_duration_also_affect_soul_prevention_duration"}},[33]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Modifiers to Buff Duration also apply to this Skill's Soul Gain Prevention"}}},name="soul_prevention_buff_duration",stats={[1]="modifiers_to_buff_effect_duration_also_affect_soul_prevention_duration"}},[34]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"},[2]={[1]=1,[2]=1}},text="Places a Remote Mine which uses this Skill when detonated"},[2]={limit={[1]={[1]=1,[2]="#"},[2]={[1]=2,[2]="#"}},text="Places %2% Remote Mines which use this Skill when detonated"}}},name="mine",stats={[1]="is_remote_mine",[2]="number_of_mines_to_place"}},[35]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"},[2]={[1]=1,[2]=1}},text="Throws a Trap which uses this Skill when Triggered"},[2]={limit={[1]={[1]=1,[2]="#"},[2]={[1]=2,[2]="#"}},text="Throws up to %2% Traps which use this Skill when Triggered"}}},name="trap",stats={[1]="is_trap",[2]="number_of_traps_to_throw"}},[36]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Traps are thrown randomly around you"}}},name="trap_throw_random",stats={[1]="throw_traps_in_circle_radius"}},[37]={lang={English={[1]={limit={[1]={[1]=1,[2]=1}},text="Summons a Totem which uses this Skill"},[2]={limit={[1]={[1]=1,[2]="#"}},text="Summons %1% Totems which use this Skill"}}},name="totem",stats={[1]="number_of_totems_to_summon"}},[38]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Trap Trigger Area of Effect"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Trap Trigger Area of Effect"}}},name="trap_radius",stats={[1]="trap_trigger_radius_+%"}},[39]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Mine Detonation Area of Effect"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Mine Detonation Area of Effect"}}},name="mine_radius",stats={[1]="mine_detonation_radius_+%"}},[40]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Skill cannot be used with Melee Weapons"}}},name="disable_melee",stats={[1]="display_disable_melee_weapons"}},[41]={lang={English={[1]={limit={[1]={[1]=1,[2]=1}},text="Spell Repeats an additional time"},[2]={limit={[1]={[1]=2,[2]="#"}},text="Spell Repeats an additional %1% times"}}},name="multicast",stats={[1]="spell_repeat_count"}},[42]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Transfers %1%%% of Damage taken by each nearby enemy to the target"}}},name="damage_infusion",stats={[1]="damage_infusion_%"}},[43]={lang={English={[1]={limit={[1]={[1]=1,[2]=1},[2]={[1]=0,[2]=0},[3]={[1]=0,[2]=0},[4]={[1]=0,[2]=0},[5]={[1]="#",[2]="#"},[6]={[1]=0,[2]=0},[7]={[1]=0,[2]=0}},text="Fires %1% Projectile"},[2]={limit={[1]={[1]=2,[2]="#"},[2]={[1]=0,[2]=0},[3]={[1]=0,[2]=0},[4]={[1]=0,[2]=0},[5]={[1]="#",[2]="#"},[6]={[1]=0,[2]=0},[7]={[1]=0,[2]=0}},text="Fires %1% Projectiles"},[3]={limit={[1]={[1]="#",[2]="#"},[2]={[1]=1,[2]=1},[3]={[1]=0,[2]=0},[4]={[1]=0,[2]=0},[5]={[1]="#",[2]="#"},[6]={[1]=0,[2]=0},[7]={[1]=0,[2]=0}},text="Fires %2% Arrow"},[4]={limit={[1]={[1]="#",[2]="#"},[2]={[1]=2,[2]="#"},[3]={[1]=0,[2]=0},[4]={[1]=0,[2]=0},[5]={[1]="#",[2]="#"},[6]={[1]=0,[2]=0},[7]={[1]=0,[2]=0}},text="Fires %2% Arrows"},[5]={limit={[1]={[1]="#",[2]="#"},[2]={[1]=2,[2]="#"},[3]={[1]=0,[2]=0},[4]={[1]=0,[2]=0},[5]={[1]="#",[2]="#"},[6]={[1]=1,[2]=1},[7]={[1]="#",[2]="#"}},text="Fires 1 sequence of %2% Arrows"},[6]={limit={[1]={[1]="#",[2]="#"},[2]={[1]=2,[2]="#"},[3]={[1]=0,[2]=0},[4]={[1]=0,[2]=0},[5]={[1]="#",[2]="#"},[6]={[1]=2,[2]="#"},[7]={[1]="#",[2]="#"}},text="Fires %6% sequences of %2% Arrows"},[7]={limit={[1]={[1]=1,[2]=1},[2]={[1]=0,[2]=0},[3]={[1]=0,[2]=0},[4]={[1]=1,[2]="#"},[5]={[1]=0,[2]=0},[6]={[1]=0,[2]=0},[7]={[1]="#",[2]="#"}},text="Fires %1% Projectile in a random direction"},[8]={limit={[1]={[1]=2,[2]="#"},[2]={[1]=0,[2]=0},[3]={[1]=0,[2]=0},[4]={[1]=1,[2]="#"},[5]={[1]=0,[2]=0},[6]={[1]=0,[2]=0},[7]={[1]="#",[2]="#"}},text="Fires %1% Projectiles in random directions"},[9]={limit={[1]={[1]=1,[2]=1},[2]={[1]=0,[2]=0},[3]={[1]=0,[2]=0},[4]={[1]=1,[2]="#"},[5]={[1]="#",[2]="#"},[6]={[1]=0,[2]=0},[7]={[1]="#",[2]="#"}},text="Fires %1% Projectile"},[10]={limit={[1]={[1]=2,[2]="#"},[2]={[1]=0,[2]=0},[3]={[1]=0,[2]=0},[4]={[1]=1,[2]="#"},[5]={[1]="#",[2]="#"},[6]={[1]=0,[2]=0},[7]={[1]="#",[2]="#"}},text="Fires %1% Projectiles in a spiral"},[11]={limit={[1]={[1]="#",[2]="#"},[2]={[1]=1,[2]=1},[3]={[1]=0,[2]=0},[4]={[1]=1,[2]="#"},[5]={[1]=0,[2]=0},[6]={[1]=0,[2]=0},[7]={[1]="#",[2]="#"}},text="Fires %2% Arrow in a random direction"},[12]={limit={[1]={[1]="#",[2]="#"},[2]={[1]=2,[2]="#"},[3]={[1]=0,[2]=0},[4]={[1]=1,[2]="#"},[5]={[1]=0,[2]=0},[6]={[1]=0,[2]=0},[7]={[1]="#",[2]="#"}},text="Fires %2% Arrows in random directions"},[13]={limit={[1]={[1]="#",[2]="#"},[2]={[1]=1,[2]=1},[3]={[1]=0,[2]=0},[4]={[1]=1,[2]="#"},[5]={[1]="#",[2]="#"},[6]={[1]=0,[2]=0},[7]={[1]="#",[2]="#"}},text="Fires %2% Arrow"},[14]={limit={[1]={[1]="#",[2]="#"},[2]={[1]=2,[2]="#"},[3]={[1]=0,[2]=0},[4]={[1]=1,[2]="#"},[5]={[1]="#",[2]="#"},[6]={[1]=0,[2]=0},[7]={[1]="#",[2]="#"}},text="Fires %2% Arrows in a spiral"},[15]={limit={[1]={[1]=1,[2]="#"},[2]={[1]=0,[2]=0},[3]={[1]="#",[2]="#"},[4]={[1]="#",[2]="#"},[5]={[1]="#",[2]="#"},[6]={[1]=0,[2]=0},[7]={[1]=1,[2]="#"}},text="Fires %1% Projectiles in a Nova"},[16]={limit={[1]={[1]="#",[2]="#"},[2]={[1]=1,[2]="#"},[3]={[1]="#",[2]="#"},[4]={[1]="#",[2]="#"},[5]={[1]="#",[2]="#"},[6]={[1]=0,[2]=0},[7]={[1]=1,[2]="#"}},text="Fires %1% Arrows in a Nova"},[17]={limit={[1]={[1]=1,[2]="#"},[2]={[1]=1,[2]="#"},[3]={[1]="#",[2]="#"},[4]={[1]="#",[2]="#"},[5]={[1]="#",[2]="#"},[6]={[1]=0,[2]=0},[7]={[1]="#",[2]="#"}},text="Fires Projectiles at all nearby Enemies"}}},name="number_of_projectiles",stats={[1]="total_number_of_projectiles_to_fire",[2]="total_number_of_arrows_to_fire",[3]="power_siphon_fire_at_all_targets",[4]="base_number_of_projectiles_in_spiral_nova",[5]="projectile_spiral_nova_angle",[6]="rain_of_arrows_sequences_to_fire",[7]="projectiles_nova"}},[44]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Attack Speed"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Attack Speed"}}},name="attack_speed_incr",stats={[1]="attack_speed_+%"}},[45]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Attack Speed"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Attack Speed"}}},name="attack_speed_incr_skill_granted",stats={[1]="attack_speed_+%_granted_from_skill"}},[46]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextLowLife"},limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Attack Speed when on Low Life"},[2]={[1]={k="negate",v=1},[2]={k="reminderstring",v="ReminderTextLowLife"},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Attack Speed when on Low Life"}}},name="attack_speed_incr_on_low_life",stats={[1]="attack_speed_+%_when_on_low_life"}},[47]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Attack Speed while Totem is Active"},[2]={limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Attack Speed while Totem is Active"}}},name="ancestor_totem_grants_attack_speed",stats={[1]="melee_ancestor_totem_grant_owner_attack_speed_+%_final"}},[48]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Melee Damage while Totem is Active"},[2]={limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Melee Damage while Totem is Active"}}},name="ancestor_totem_grants_melee_damage",stats={[1]="slam_ancestor_totem_grant_owner_melee_damage_+%_final"}},[49]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% of Physical Damage gained as Extra Fire Damage while Totem is Active"}}},name="ancestor_totem_grants_fire_damage",stats={[1]="slash_ancestor_totem_grant_owner_physical_damage_added_as_fire_+%"}},[50]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Attack Speed while Totem is Active"},[2]={limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Attack Speed while Totem is Active"}}},name="ancestor_totem_grants_attack_speed_incr",stats={[1]="melee_ancestor_totem_grant_owner_attack_speed_+%"}},[51]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Melee Damage while Totem is Active"},[2]={limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Melee Damage while Totem is Active"}}},name="ancestor_totem_grants_melee_damage_incr",stats={[1]="slam_ancestor_totem_grant_owner_melee_damage_+%"}},[52]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextLowLife"},limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Cast Speed when on Low Life"},[2]={[1]={k="negate",v=1},[2]={k="reminderstring",v="ReminderTextLowLife"},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Cast Speed when on Low Life"}}},name="cast_speed_incr_on_low_life",stats={[1]="cast_speed_+%_when_on_low_life"}},[53]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Cast Speed"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Cast Speed"}}},name="cast_speed_incr",stats={[1]="base_cast_speed_+%"}},[54]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Cast Speed"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Cast Speed"}}},name="multicast_cast_speed_incr",stats={[1]="support_multicast_cast_speed_+%_final"}},[55]={lang={English={[1]={[1]={k="divide_by_one_hundred",v=1},[2]={k="reminderstring",v="ReminderTextLifeLeech"},limit={[1]={[1]=1,[2]="#"}},text="%1%%% of Damage Leeched as Life"}}},name="life_leech_from_any",stats={[1]="life_leech_from_any_damage_permyriad"}},[56]={lang={English={[1]={[1]={k="divide_by_one_hundred",v=1},[2]={k="reminderstring",v="ReminderTextLifeLeech"},limit={[1]={[1]=1,[2]="#"}},text="%1%%% of Attack Physical Damage Leeched as Life"}}},name="life_leech_from_physical",stats={[1]="life_leech_from_physical_attack_damage_permyriad"}},[57]={lang={English={[1]={[1]={k="divide_by_one_hundred",v=1},[2]={k="reminderstring",v="ReminderTextManaLeech"},limit={[1]={[1]=1,[2]="#"}},text="%1%%% of Damage Leeched as Mana"}}},name="mana_leech_from_any",stats={[1]="mana_leech_from_any_damage_permyriad"}},[58]={lang={English={[1]={[1]={k="divide_by_one_hundred",v=1},[2]={k="reminderstring",v="ReminderTextEnergyShieldLeech"},limit={[1]={[1]=1,[2]="#"}},text="%1%%% of Damage Leeched as Energy Shield"}}},name="energy_shield_leech_from_any",stats={[1]="energy_shield_leech_from_any_damage_permyriad"}},[59]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextKnockback"},limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to Knock enemies Back on Hit"},[2]={[1]={k="reminderstring",v="ReminderTextKnockback"},limit={[1]={[1]=100,[2]="#"}},text="Knocks enemies Back on Hit"}}},name="knockback",stats={[1]="global_chance_to_knockback_%"}},[60]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Knockback Distance"},[2]={limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Knockback Distance"}}},name="knockback_distance",stats={[1]="knockback_distance_+%"}},[61]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextStunThreshold"},limit={[1]={[1]=1,[2]="#"}},text="%1%%% reduced Enemy Stun Threshold"},[2]={[1]={k="negate",v=1},[2]={k="reminderstring",v="ReminderTextStunThreshold"},limit={[1]={[1]="#",[2]=-1}},text="%1%%% increased Enemy Stun Threshold"}}},name="stun_threshold_reduction_incr",stats={[1]="base_stun_threshold_reduction_+%"}},[62]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1$+d to radius"}}},name="radius_add",stats={[1]="active_skill_base_radius_+"}},[63]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1$+d to radius of Consecrated Ground"}}},name="conescrated_ground_radius_add",stats={[1]="active_skill_ground_consecration_radius_+"}},[64]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Area of Effect"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Area of Effect"}}},name="area_of_effect_incr",stats={[1]="base_skill_area_of_effect_+%"}},[65]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Area of Effect while Dead"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Area of Effect while Dead"}}},name="area_of_effect_incr_while_dead",stats={[1]="area_of_effect_+%_while_dead"}},[66]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Area of Effect"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Area of Effect"}}},name="concentrated_area_of_effect",stats={[1]="support_concentrated_effect_skill_area_of_effect_+%_final"}},[67]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Aura Area of Effect"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Aura Area of Effect"}}},name="aura_area_of_effect_incr",stats={[1]="base_aura_area_of_effect_+%"}},[68]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased effect of Aura"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced effect of Aura"}}},name="aura_effect_incr",stats={[1]="aura_effect_+%"}},[69]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Attack Speed per Frenzy Charge"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Attack Speed per Frenzy Charge"}}},name="attack_speed_per_frenzy_charge",stats={[1]="base_attack_speed_+%_per_frenzy_charge"}},[70]={lang={English={[1]={[1]={k="milliseconds_to_seconds_2dp",v=1},limit={[1]={[1]=1,[2]="#"}},text="Curse Lasts %1% seconds"}}},name="curse_duration",stats={[1]="curse_effect_duration"}},[71]={lang={English={[1]={[1]={k="milliseconds_to_seconds_2dp",v=1},limit={[1]={[1]=1,[2]="#"}},text="Buff Lasts %1% seconds"}}},name="buff_duration",stats={[1]="buff_effect_duration"}},[72]={lang={English={[1]={limit={[1]={[1]=1000,[2]=1000}},text="Secondary Buff Lasts 1 second"},[2]={[1]={k="milliseconds_to_seconds_2dp",v=1},limit={[1]={[1]=1,[2]="#"}},text="Secondary Buff Lasts %1% seconds"}}},name="secondary_buff_duration",stats={[1]="secondary_buff_effect_duration"}},[73]={lang={English={[1]={[1]={k="milliseconds_to_seconds_2dp",v=1},limit={[1]={[1]=1,[2]="#"}},text="Skill Duration is %1% seconds"}}},name="skill_duration",stats={[1]="skill_effect_duration"}},[74]={lang={English={[1]={[1]={k="milliseconds_to_seconds_2dp",v=1},limit={[1]={[1]=1,[2]="#"}},text="Secondary Duration is %1% seconds"}}},name="secondary_skill_duration",stats={[1]="secondary_skill_effect_duration"}},[75]={lang={English={[1]={[1]={k="milliseconds_to_seconds_2dp",v=1},limit={[1]={[1]=1,[2]="#"}},text="Ground effects last %1% seconds"}}},name="projectile_ground_effect_duration",stats={[1]="projectile_ground_effect_duration"}},[76]={lang={English={[1]={[1]={k="milliseconds_to_seconds_2dp",v=1},[2]={k="reminderstring",v="ReminderTextPoison"},limit={[1]={[1]=1,[2]="#"}},text="Bleeding Lasts %1% seconds"}}},name="bleeding_skill_duration",stats={[1]="bleeding_skill_effect_duration"}},[77]={lang={English={[1]={[1]={k="milliseconds_to_seconds_2dp",v=1},[2]={k="reminderstring",v="ReminderTextPoison"},limit={[1]={[1]=1,[2]="#"}},text="Poison Lasts %1% seconds"}}},name="poison_skill_duration",stats={[1]="poison_skill_effect_duration"}},[78]={lang={English={[1]={[1]={k="milliseconds_to_seconds_2dp",v=1},limit={[1]={[1]=1,[2]="#"}},text="Minions Last %1% seconds"}}},name="minion_duration",stats={[1]="minion_duration"}},[79]={lang={English={[1]={[1]={k="milliseconds_to_seconds_2dp",v=1},limit={[1]={[1]=1,[2]="#"}},text="Minions Last %1% seconds"}}},name="secondary_minion_duration",stats={[1]="secondary_minion_duration"}},[80]={lang={English={[1]={[1]={k="milliseconds_to_seconds_2dp",v=1},limit={[1]={[1]=1,[2]="#"}},text="Spectres Last %1% seconds"}}},name="spectre_duration",stats={[1]="spectre_duration"}},[81]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1% Endurance Charges granted per one hundred nearby enemies"}}},name="enduring_cry_charges",stats={[1]="endurance_charges_granted_per_one_hundred_nearby_enemies_during_endurance_warcry"}},[82]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextStunThreshold"},limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Stun Threshold reduction on enemies at Maximum charge distance"},[2]={[1]={k="reminderstring",v="ReminderTextStunThreshold"},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Stun Threshold reduction on enemies at Maximum charge distance"}}},name="shield_charge_stun_threshold",stats={[1]="shield_charge_scaling_stun_threshold_reduction_+%_at_maximum_range"}},[83]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Stun Duration on enemies at Maximum charge distance"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Stun Duration on enemies at Maximum charge distance"}}},name="shield_charge_stun",stats={[1]="shield_charge_stun_duration_+%_maximum"}},[84]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Damage with Hits at Maximum Charge Distance"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Damage with Hits at Maximum Charge Distance"}}},name="shield_charge_damage",stats={[1]="shield_charge_damage_+%_maximum"}},[85]={lang={English={[1]={limit={[1]={[1]=1,[2]=1},[2]={[1]=0,[2]=0},[3]={[1]=0,[2]=0},[4]={[1]=0,[2]=0},[5]={[1]=0,[2]=0}},text="Projectiles Pierce 1 Target"},[2]={limit={[1]={[1]=2,[2]="#"},[2]={[1]=0,[2]=0},[3]={[1]=0,[2]=0},[4]={[1]=0,[2]=0},[5]={[1]=0,[2]=0}},text="Projectiles Pierce %1% Targets"},[3]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"},[3]={[1]=0,[2]=0},[4]={[1]=0,[2]=0},[5]={[1]=0,[2]=0}},text="Projectiles Pierce all Targets"},[4]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"},[3]={[1]=1,[2]="#"},[4]={[1]=0,[2]=0},[5]={[1]=0,[2]=0}},text="Projectiles cannot Pierce"},[5]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"},[3]={[1]=0,[2]=0},[4]={[1]=1,[2]=1},[5]={[1]=0,[2]=0}},text="Arrows Pierce 1 Target"},[6]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"},[3]={[1]=0,[2]=0},[4]={[1]=2,[2]="#"},[5]={[1]=0,[2]=0}},text="Arrows Pierce %4% Targets"},[7]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"},[3]={[1]=0,[2]=0},[4]={[1]="#",[2]="#"},[5]={[1]="#",[2]="#"}},text="Arrows Pierce all Targets"}}},name="pierce_num",stats={[1]="projectile_number_of_targets_to_pierce",[2]="virtual_always_pierce",[3]="virtual_projectiles_cannot_pierce",[4]="arrow_number_of_targets_to_pierce",[5]="arrows_always_pierce"}},[86]={lang={English={[1]={limit={[1]={[1]=1,[2]=1}},text="Primary Projectile Pierces 1 Target"},[2]={limit={[1]={[1]=2,[2]="#"}},text="Primary Projectile Pierces %1% Targets"}}},name="primary_proj_pierce_num",stats={[1]="primary_projectile_display_targets_to_pierce"}},[87]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Projectile Speed"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Projectile Speed"}}},name="projectile_speed_incr",stats={[1]="base_projectile_speed_+%"}},[88]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextFreeze"},limit={[1]={[1]="#",[2]="#"},[2]={[1]=1,[2]="#"}},text="Always Freezes enemies"},[2]={[1]={k="reminderstring",v="ReminderTextFreeze"},limit={[1]={[1]=1,[2]=99},[2]={[1]=0,[2]=0}},text="%1%%% chance to Freeze enemies"}}},name="freeze_chance",stats={[1]="base_chance_to_freeze_%",[2]="always_freeze"}},[89]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextShock"},limit={[1]={[1]=1,[2]="#"}},text="%1%%% chance to Shock enemies"}}},name="shock_chance",stats={[1]="base_chance_to_shock_%"}},[90]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextIgnite"},limit={[1]={[1]=1,[2]="#"}},text="%1%%% chance to Ignite enemies"}}},name="burn_chance",stats={[1]="base_chance_to_ignite_%"}},[91]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Freeze Duration on enemies"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Freeze Duration on enemies"}}},name="freeze_duration",stats={[1]="freeze_duration_+%"}},[92]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Chill Duration on enemies"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Chill Duration on enemies"}}},name="chill_duration",stats={[1]="chill_duration_+%"}},[93]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Effect of Chill"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Effect of Chill"}}},name="chill_effect",stats={[1]="chill_effect_+%"}},[94]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Shock Duration on enemies"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Shock Duration on enemies"}}},name="shock_duration",stats={[1]="shock_duration_+%"}},[95]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Ignite Duration on enemies"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Ignite Duration on enemies"}}},name="burn_duration",stats={[1]="ignite_duration_+%"}},[96]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Burning Damage"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Burning Damage"}}},name="burn_damage",stats={[1]="burn_damage_+%"}},[97]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Movement Speed"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Movement Speed"}}},name="movement_speed_incr",stats={[1]="base_movement_velocity_+%"}},[98]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Locks enemy in place"}}},name="no_movement_speed",stats={[1]="no_movement_speed"}},[99]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Rarity of Items Dropped by Slain enemies"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Rarity of Items Dropped by Slain enemies"}}},name="killed_monster_dropped_item_rarity_incr",stats={[1]="killed_monster_dropped_item_rarity_+%"}},[100]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Quantity of Items Dropped by Slain enemies"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Quantity of Items Dropped by Slain enemies"}}},name="killed_monster_dropped_item_quantity_incr",stats={[1]="killed_monster_dropped_item_quantity_+%"}},[101]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1% additional Accuracy Rating"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Subtracts %1% from Accuracy Rating"}}},name="accuracy_rating",stats={[1]="accuracy_rating"}},[102]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Accuracy Rating"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Accuracy Rating"}}},name="accuracy_rating_incr",stats={[1]="accuracy_rating_+%"}},[103]={lang={English={[1]={[1]={k="per_minute_to_per_second",v=1},limit={[1]={[1]=1,[2]="#"}},text="You take %1%%% of your Maximum Life per second as Chaos Damage"}}},name="chaos_damage_percent_of_life_per_minute",stats={[1]="base_chaos_damage_%_of_maximum_life_to_deal_per_minute"}},[104]={lang={English={[1]={[1]={k="per_minute_to_per_second",v=1},limit={[1]={[1]=1,[2]="#"}},text="You take %1%%% of your Maximum Life per second as Physical Damage"}}},name="physical_damage_percent_of_life_per_minute",stats={[1]="base_physical_damage_%_of_maximum_life_to_deal_per_minute"}},[105]={lang={English={[1]={[1]={k="per_minute_to_per_second",v=1},limit={[1]={[1]=1,[2]="#"}},text="You take %1%%% of your Maximum Energy Shield per second as Physical Damage"}}},name="physical_damage_percent_of_energy_shield_per_minute",stats={[1]="base_physical_damage_%_of_maximum_energy_shield_to_deal_per_minute"}},[106]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Gain a Frenzy Charge on Kill"}}},name="frenzy_on_kill",stats={[1]="add_frenzy_charge_on_kill"}},[107]={lang={English={[1]={limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to gain a Frenzy Charge on Kill"},[2]={limit={[1]={[1]=100,[2]="#"}},text="Gain a Frenzy Charge on Kill"}}},name="frenzy_on_kill_chance",stats={[1]="add_frenzy_charge_on_kill_%_chance"}},[108]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Critical Strike Chance"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Critical Strike Chance"}}},name="critical_strike_chance_incr",stats={[1]="critical_strike_chance_+%"}},[109]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Critical Strike Chance"},[2]={limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Critical Strike Chance"}}},name="mulpile_projectiles_critical_strike_chance_incr",stats={[1]="support_multiple_projectiles_critical_strike_chance_+%_final"}},[110]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1$+d%% to Critical Strike Multiplier"}}},name="critical_strike_multiplier_incr",stats={[1]="base_critical_strike_multiplier_+"}},[111]={lang={English={[1]={[1]={k="milliseconds_to_seconds",v=1},limit={[1]={[1]=1000,[2]=1000}},text="Withered lasts %1% second"},[2]={[1]={k="milliseconds_to_seconds",v=1},limit={[1]={[1]="#",[2]="#"}},text="Withered lasts %1% seconds"}}},name="withered_duration",stats={[1]="skill_withered_duration_ms"}},[112]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1% Life gained for each enemy Hit"}}},name="life_gain_per_target",stats={[1]="life_gain_per_target"}},[113]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Minion Damage"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Minion Damage"}}},name="minion_damage_incr",stats={[1]="minion_damage_+%"}},[114]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Doubles have %1%%% increased Movement Speed"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Doubles have %1%%% reduced Movement Speed"}}},name="doubles_have_move_speed",stats={[1]="doubles_have_movement_speed_+%"}},[115]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Minion Attack Speed"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Minion Attack Speed"}}},name="minion_attack_speed_incr",stats={[1]="minion_attack_speed_+%"}},[116]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Minion Cast Speed"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Minion Cast Speed"}}},name="minion_cast_speed_incr",stats={[1]="minion_cast_speed_+%"}},[117]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Minion Movement Speed"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Minion Movement Speed"}}},name="minion_movement_speed_incr",stats={[1]="minion_movement_speed_+%"}},[118]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Minion Movement Speed"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Minion Movement Speed"}}},name="minion_movement_speed_final",stats={[1]="active_skill_minion_movement_velocity_+%_final"}},[119]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Releases a Stronger Pulse every %1% Pulses"}}},name="lightning_tendrils_pulse_interval",stats={[1]="lightning_tendrils_channelled_larger_pulse_interval"}},[120]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Minion Movement Speed is Capped"}}},name="movement_velocity_cap",stats={[1]="movement_velocity_cap"}},[121]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Minions have %1%%% more Life"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Minions have %1%%% less Life"}}},name="minion_life_final",stats={[1]="active_skill_minion_life_+%_final"}},[122]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Minions have %1%%% more Energy Shield"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Minions have %1%%% less Energy Shield"}}},name="minion_energy_shield_final",stats={[1]="active_skill_minion_energy_shield_+%_final"}},[123]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Supported Skills have %1%%% more Minion maximum Life"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Supported Skills have %1%%% less Minion maximum Life"}}},name="minion_life_incr_final",stats={[1]="support_minion_maximum_life_+%_final"}},[124]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Minion Maximum Life"}}},name="minion_life_incr",stats={[1]="minion_maximum_life_+%"}},[125]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextKeystoneMinionInstability"},limit={[1]={[1]="#",[2]="#"}},text="Minion Instability"}}},name="minion_instability",stats={[1]="keystone_minion_instability"}},[126]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Stun Duration on enemies"},[2]={limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Stun Duration on enemies"}}},name="stun_duration_incr",stats={[1]="base_stun_duration_+%"}},[127]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Stuns Enemies"}}},name="stun",stats={[1]="always_stun"}},[128]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Damage when successfully Backstabbing"}}},name="backstab_damage",stats={[1]="backstab_damage_+%"}},[129]={lang={English={[1]={[1]={k="milliseconds_to_seconds",v=1},limit={[1]={[1]=1,[2]="#"}},text="%1% seconds between appearance of Wall sections"}}},name="wall_delay",stats={[1]="wall_expand_delay_ms"}},[130]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Wall will be %1% units long"}}},name="wall_length",stats={[1]="wall_maximum_length"}},[131]={lang={English={[1]={[1]={k="per_minute_to_per_second",v=1},limit={[1]={[1]=1,[2]="#"}},text="Each Viper Strike Charge deals %1% Base Chaos Damage per second"}}},name="viper_strike_orb_damage",stats={[1]="base_chaos_damage_taken_per_minute_per_viper_strike_orb"}},[132]={lang={English={[1]={[1]={k="per_minute_to_per_second",v=1},limit={[1]={[1]="#",[2]="#"}},text="Deals %1% Chaos Damage per second"}}},name="chaos_area_damage_per_minute",stats={[1]="intermediary_chaos_area_damage_to_deal_per_minute"}},[133]={lang={English={[1]={[1]={k="per_minute_to_per_second",v=1},limit={[1]={[1]="#",[2]="#"}},text="Deals %1% Chaos Damage per second"}}},name="chaos_damage_per_minute",stats={[1]="intermediary_chaos_damage_to_deal_per_minute"}},[134]={lang={English={[1]={[1]={k="per_minute_to_per_second",v=1},limit={[1]={[1]="#",[2]="#"}},text="Deals %1% Chaos Damage per second"}}},name="chaos_skill_dot_area_damage_per_minute",stats={[1]="intermediary_chaos_skill_dot_area_damage_to_deal_per_minute"}},[135]={lang={English={[1]={[1]={k="per_minute_to_per_second",v=1},limit={[1]={[1]="#",[2]="#"}},text="Deals %1% Chaos Damage per second"}}},name="chaos_skill_dot_damage_per_minute",stats={[1]="intermediary_chaos_skill_dot_damage_to_deal_per_minute"}},[136]={lang={English={[1]={[1]={k="per_minute_to_per_second",v=1},limit={[1]={[1]="#",[2]="#"}},text="Deals %1% Cold Damage per second"}}},name="cold_area_damage_per_minute",stats={[1]="intermediary_cold_area_damage_to_deal_per_minute"}},[137]={lang={English={[1]={[1]={k="per_minute_to_per_second",v=1},limit={[1]={[1]="#",[2]="#"}},text="Deals %1% Cold Damage per second"}}},name="cold_damage_per_minute",stats={[1]="intermediary_cold_damage_to_deal_per_minute"}},[138]={lang={English={[1]={[1]={k="per_minute_to_per_second",v=1},limit={[1]={[1]="#",[2]="#"}},text="Deals %1% Cold Damage per second"}}},name="cold_skill_dot_area_damage_per_minute",stats={[1]="intermediary_cold_skill_dot_area_damage_to_deal_per_minute"}},[139]={lang={English={[1]={[1]={k="per_minute_to_per_second",v=1},limit={[1]={[1]="#",[2]="#"}},text="Deals %1% Cold Damage per second"}}},name="cold_skill_dot_damage_per_minute",stats={[1]="intermediary_cold_skill_dot_damage_to_deal_per_minute"}},[140]={lang={English={[1]={[1]={k="per_minute_to_per_second",v=1},limit={[1]={[1]="#",[2]="#"}},text="Deals %1% Fire Damage per second"}}},name="fire_area_damage_per_minute",stats={[1]="intermediary_fire_area_damage_to_deal_per_minute"}},[141]={lang={English={[1]={[1]={k="per_minute_to_per_second",v=1},limit={[1]={[1]="#",[2]="#"}},text="Deals %1% Fire Damage per second"}}},name="fire_damage_per_minute",stats={[1]="intermediary_fire_damage_to_deal_per_minute"}},[142]={lang={English={[1]={[1]={k="per_minute_to_per_second",v=1},limit={[1]={[1]="#",[2]="#"}},text="Deals %1% Fire Damage per second"}}},name="fire_skill_dot_area_damage_per_minute",stats={[1]="intermediary_fire_skill_dot_area_damage_to_deal_per_minute"}},[143]={lang={English={[1]={[1]={k="per_minute_to_per_second",v=1},limit={[1]={[1]="#",[2]="#"}},text="Deals %1% Fire Damage per second"}}},name="fire_skill_dot_damage_per_minute",stats={[1]="intermediary_fire_skill_dot_damage_to_deal_per_minute"}},[144]={lang={English={[1]={[1]={k="milliseconds_to_seconds",v=1},limit={[1]={[1]=1,[2]="#"}},text="Adds %1% seconds to monster response time"}}},name="monster_response_time",stats={[1]="monster_response_time_ms"}},[145]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Melee Physical Damage"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Melee Physical Damage"}}},name="phase_run_melee_physical_damage_incr_final",stats={[1]="phase_run_melee_physical_damage_+%_final"}},[146]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Melee Physical Damage"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Melee Physical Damage"}}},name="melee_physical_damage_incr",stats={[1]="melee_physical_damage_+%"}},[147]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="Explosion deals %1% to %2% Base Fire Damage per Fuse Charge"}}},name="fuse_arrow_orb_damage",stats={[1]="minimum_fire_damage_per_fuse_arrow_orb",[2]="maximum_fire_damage_per_fuse_arrow_orb"}},[148]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1$+d to Explosion Radius per Fuse Charge"}}},name="fuse_arrow_explosion_radius",stats={[1]="fuse_arrow_explosion_radius_+_per_fuse_arrow_orb"}},[149]={lang={English={[1]={[1]={k="milliseconds_to_seconds_2dp",v=1},limit={[1]={[1]=1,[2]="#"}},text="One impact every %1% seconds"}}},name="fire_storm_delay",stats={[1]="fire_storm_fireball_delay_ms"}},[150]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% reduced Stun and Block Recovery"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% increased Stun and Block Recovery"}}},name="stun_recovery_incr",stats={[1]="base_stun_recovery_+%"}},[151]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% faster start of Energy Shield Recharge"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% slower start of Energy Shield Recharge"}}},name="energy_shield_delay",stats={[1]="energy_shield_delay_-%"}},[152]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Energy Shield Recharge rate"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Energy Shield Recharge rate"}}},name="energy_shield_recharge_rate",stats={[1]="energy_shield_recharge_rate_+%"}},[153]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Damage from Damage Over Time effects"}}},name="degen_effect_incr",stats={[1]="degen_effect_+%"}},[154]={lang={English={[1]={[1]={k="milliseconds_to_seconds_2dp",v=1},limit={[1]={[1]="#",[2]="#"}},text="%1$+d seconds to Base Duration per Endurance Charge removed"}}},name="buff_duration_per_endurance",stats={[1]="base_buff_duration_ms_+_per_removable_endurance_charge"}},[155]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Buff Duration per Endurance Charge removed"}}},name="buff_duration_incr_per_endurance",stats={[1]="buff_effect_duration_+%_per_removable_endurance_charge"}},[156]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Buff Duration per Endurance Charge removed"}}},name="buff_duration_incr_per_endurance_limited",stats={[1]="buff_effect_duration_+%_per_removable_endurance_charge_limited_to_5"}},[157]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Skill Duration per Frenzy Charge removed"}}},name="skill_duration_incr_per_frenzy",stats={[1]="skill_effect_duration_+%_per_removable_frenzy_charge"}},[158]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1$+d%% Chance to Block Attack Damage while holding a Shield"}}},name="shield_block",stats={[1]="shield_block_%"}},[159]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1$+d%% Chance to Block Spell Damage while holding a Shield"}}},name="shield_spell_block",stats={[1]="shield_spell_block_%"}},[160]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Shields break after %1% total Damage is prevented"}}},name="fire_shield_damage_threshold",stats={[1]="fire_shield_damage_threshold"}},[161]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Armour"},[2]={limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Armour"}}},name="armour_incr",stats={[1]="physical_damage_reduction_rating_+%"}},[162]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1$+d%% to all Elemental Resistances"}}},name="elemental_resist",stats={[1]="base_resist_all_elements_%"}},[163]={lang={English={[1]={[1]={k="per_minute_to_per_second",v=1},limit={[1]={[1]="#",[2]="#"}},text="Enemies Burn for %1%%% of your maximum Life per second as Fire Damage"}}},name="righteous_fire_damage_to_nearby_from_life",stats={[1]="base_righteous_fire_%_of_max_life_to_deal_to_nearby_per_minute"}},[164]={lang={English={[1]={[1]={k="per_minute_to_per_second",v=1},limit={[1]={[1]="#",[2]="#"}},text="Enemies Burn for %1%%% of your maximum Energy Shield per second as Fire Damage"}}},name="righteous_fire_damage_to_nearby_from_es",stats={[1]="base_righteous_fire_%_of_max_energy_shield_to_deal_to_nearby_per_minute"}},[165]={lang={English={[1]={[1]={k="per_minute_to_per_second",v=1},limit={[1]={[1]="#",[2]="#"}},text="You Burn for %1%%% of your maximum Life per second as Fire Damage"}}},name="righteous_fire_self_damage_from_life",stats={[1]="base_nonlethal_fire_damage_%_of_maximum_life_taken_per_minute"}},[166]={lang={English={[1]={[1]={k="per_minute_to_per_second",v=1},limit={[1]={[1]="#",[2]="#"}},text="You Burn for %1%%% of your maximum Energy Shield per second as Fire Damage"}}},name="righteous_fire_self_damage_from_es",stats={[1]="base_nonlethal_fire_damage_%_of_maximum_energy_shield_taken_per_minute"}},[167]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Grants %1%%% more Spell Damage"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Grants %1%%% less Spell Damage"}}},name="righteous_fire_spell_damage_incr",stats={[1]="righteous_fire_spell_damage_+%_final"}},[168]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Grants %1%%% more Spell Damage"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Grants %1%%% less Spell Damage"}}},name="vaal_righteous_fire_spell_damage_incr",stats={[1]="vaal_righteous_fire_spell_damage_+%_final"}},[169]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Spell Damage"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Spell Damage"}}},name="spell_damage_incr",stats={[1]="spell_damage_+%"}},[170]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1% additional Armour"}}},name="base_armour",stats={[1]="base_physical_damage_reduction_rating"}},[171]={lang={English={[1]={limit={[1]={[1]=1,[2]=1}},text="Hits up to %1% additional enemy near the target"},[2]={limit={[1]={[1]="#",[2]="#"}},text="Hits up to %1% additional enemies near the target"}}},name="lighnting_arrow_targets",stats={[1]="lightning_arrow_maximum_number_of_extra_targets"}},[172]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextElementalStatusAilments"},limit={[1]={[1]="#",[2]="#"}},text="Elemental Ailments caused by this skill spread to other nearby enemies"}}},name="elemental_status_aura",stats={[1]="elemental_status_effect_aura_radius"}},[173]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Ignites caused by this Skill spread to other nearby Enemies"}}},name="ignite_aura",stats={[1]="support_ignite_proliferation_radius"}},[174]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextElementalStatusAilments"},limit={[1]={[1]="#",[2]="#"}},text="Cannot inflict Elemental Ailments"}}},name="cannot_inflict_ailments",stats={[1]="cannot_inflict_status_ailments"}},[175]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Spend Life instead of Mana for this skill"}}},name="blood_magic",stats={[1]="base_use_life_in_place_of_mana"}},[176]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextCullingStrike"},limit={[1]={[1]=1,[2]="#"}},text="Culling Strike"}}},name="culling_strike",stats={[1]="kill_enemy_on_hit_if_under_10%_life"}},[177]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextKeystonePointBlank"},limit={[1]={[1]="#",[2]="#"}},text="Point Blank"}}},name="point_blank",stats={[1]="keystone_point_blank"}},[178]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1%%% chance to cause Monsters to Flee when Hit"}}},name="chance_to_flee",stats={[1]="global_hit_causes_monster_flee_%"}},[179]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Totem range: %1%"}}},name="totem_range",stats={[1]="totem_range"}},[180]={lang={English={[1]={limit={[1]={[1]=1,[2]=1}},text="Maximum %1% Summoned Totem"},[2]={limit={[1]={[1]="#",[2]="#"}},text="Maximum %1% Summoned Totems"}}},name="num_totems",stats={[1]="skill_display_number_of_totems_allowed"}},[181]={lang={English={[1]={limit={[1]={[1]=1,[2]=1}},text="Can have up to %1% Trap placed at a time"},[2]={limit={[1]={[1]="#",[2]="#"}},text="Can have up to %1% Traps placed at a time"}}},name="num_traps",stats={[1]="skill_display_number_of_traps_allowed"}},[182]={lang={English={[1]={limit={[1]={[1]=1,[2]=1}},text="Can have up to %1% Remote Mine placed at a time"},[2]={limit={[1]={[1]="#",[2]="#"}},text="Can have up to %1% Remote Mines placed at a time"}}},name="num_mines",stats={[1]="skill_display_number_of_remote_mines_allowed"}},[183]={lang={English={[1]={[1]={k="milliseconds_to_seconds",v=1},limit={[1]={[1]="#",[2]="#"}},text="Totem lasts %1% seconds"}}},name="totem_duration",stats={[1]="totem_duration"}},[184]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Totems Summoned by this Skill cannot Evade"}}},name="totems_cannot_evade",stats={[1]="totems_cannot_evade"}},[185]={lang={English={[1]={[1]={k="milliseconds_to_seconds",v=1},limit={[1]={[1]="#",[2]="#"}},text="Trap lasts %1% seconds"}}},name="trap_duration",stats={[1]="trap_duration"}},[186]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Trap Throwing Speed"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Trap Throwing Speed"}}},name="trap_throw_speed_incr",stats={[1]="trap_throwing_speed_+%"}},[187]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Mine Laying Speed"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Mine Laying Speed"}}},name="mine_laying_speed_incr",stats={[1]="mine_laying_speed_+%"}},[188]={lang={English={[1]={[1]={k="milliseconds_to_seconds",v=1},limit={[1]={[1]="#",[2]="#"}},text="Mine lasts %1% seconds"}}},name="mine_duration",stats={[1]="mine_duration"}},[189]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased totem life"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced totem life"}}},name="totem_life_incr",stats={[1]="totem_life_+%"}},[190]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Freezes enemies as though dealing %1%%% more Damage"}}},name="freeze_mine_damage_incr",stats={[1]="freeze_as_though_dealt_damage_+%"}},[191]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Every third successive strike Freezes enemies as though dealing %1%%% more Damage"}}},name="glacial_hammer_freeze_damage_incr",stats={[1]="glacial_hammer_third_hit_freeze_as_though_dealt_damage_+%"}},[192]={lang={English={[1]={[1]={k="per_minute_to_per_second",v=1},limit={[1]={[1]="#",[2]="#"}},text="%1% Life regenerated per second"}}},name="life_regen_per_minute",stats={[1]="base_life_regeneration_rate_per_minute"}},[193]={lang={English={[1]={[1]={k="per_minute_to_per_second",v=1},limit={[1]={[1]="#",[2]="#"}},text="%1%%% of maximum Life regenerated per second"}}},name="life_regen_per_minute_percent",stats={[1]="life_regeneration_rate_per_minute_%"}},[194]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Life Regeneration rate"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Life Regeneration rate"}}},name="life_regen_incr",stats={[1]="life_regeneration_rate_+%"}},[195]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1$+d%% to Cold Resistance"}}},name="cold_resist",stats={[1]="base_cold_damage_resistance_%"}},[196]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Second form has %1%%% increased Critical Strike Chance"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Second form has %1%%% reduced Critical Strike Chance"}}},name="ice_spear_crit_bonus",stats={[1]="ice_spear_second_form_critical_strike_chance_+%"}},[197]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Second form has %1$+d%% to Critical Strike Multiplier"}}},name="ice_spear_crit_multi",stats={[1]="ice_spear_second_form_critical_strike_multiplier_+"}},[198]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Second form has %1%%% more Projectile Speed"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Second form has %1%%% less Projectile Speed"}}},name="ice_spear_projectile_speed_incr",stats={[1]="ice_spear_second_form_projectile_speed_+%_final"}},[199]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextBlind"},limit={[1]={[1]="#",[2]="#"}},text="%1%%% chance to Blind enemies on hit"}}},name="chance_to_blind",stats={[1]="global_chance_to_blind_on_hit_%"}},[200]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Blinding duration"},[2]={limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Blinding duration"}}},name="blind_duration_incr",stats={[1]="blind_duration_+%"}},[201]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Penetrates %1%%% Fire Resistance"}}},name="fire_penetration",stats={[1]="base_reduce_enemy_fire_resistance_%"}},[202]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Penetrates %1%%% Cold Resistance"}}},name="cold_penetration",stats={[1]="base_reduce_enemy_cold_resistance_%"}},[203]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Penetrates %1%%% Lightning Resistance"}}},name="lightning_penetration",stats={[1]="base_reduce_enemy_lightning_resistance_%"}},[204]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Penetrates %1%%% Elemental Resistances"}}},name="elemental_penetration",stats={[1]="reduce_enemy_elemental_resistance_%"}},[205]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Uses your Life if no Skeletons in range"}}},name="skeletal_chains_target_self",stats={[1]="skeletal_chains_no_minions_targets_self"}},[206]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextDamagingAilments"},limit={[1]={[1]="#",[2]="#"}},text="%1%%% more Damage with Hits and Ailments if using your Life"}}},name="skeletal_chains_damage",stats={[1]="skeletal_chains_no_minions_damage_+%_final"}},[207]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1$+d Radius if using your Life"}}},name="skeletal_chains_radius",stats={[1]="skeletal_chains_no_minions_radius_+"}},[208]={lang={English={[1]={limit={[1]={[1]=1,[2]=1}},text="Chains %1% Time"},[2]={limit={[1]={[1]=2,[2]="#"}},text="Chains %1% Times"}}},name="chain_num",stats={[1]="virtual_number_of_chains"}},[209]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Projectiles Split into %1% on hit"}}},name="split_num",stats={[1]="projectile_number_to_split"}},[210]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Projectiles Fork"}}},name="fork",stats={[1]="virtual_projectiles_fork"}},[211]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]=0,[2]=0}},text="Projectiles Return to you after hitting targets"},[2]={limit={[1]={[1]=0,[2]=0},[2]={[1]="#",[2]="#"}},text="Projectiles Return to you at end of flight"},[3]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="Projectiles Return to you"}}},name="return",stats={[1]="projectiles_return",[2]="projectiles_return_if_no_hit_object"}},[212]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextLifeLeech"},limit={[1]={[1]="#",[2]="#"}},text="Leeches %1% Life to you for each corpse consumed"}}},name="corpse_consumption_life",stats={[1]="corpse_consumption_life_to_gain"}},[213]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextManaLeech"},limit={[1]={[1]="#",[2]="#"}},text="Leeches %1% Mana to you for each corpse consumed"}}},name="corpse_consumption_mana",stats={[1]="corpse_consumption_mana_to_gain"}},[214]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextDamagingAilments"},limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Damage with Hits and Ailments for each stage"},[2]={[1]={k="negate",v=1},[2]={k="reminderstring",v="ReminderTextDamagingAilments"},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Damage with Hits and Ailments for each stage"}}},name="flamethrower_damage_incr",stats={[1]="flamethrower_damage_+%_per_stage_final"}},[215]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Incinerate Damage for each stage"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Incinerate Damage for each stage"}}},name="incinerate_damage_incr",stats={[1]="incinerate_damage_+%_per_stage"}},[216]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Hit Rate for each blade"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Hit Rate for each blade"}}},name="blade_vortex_rate_per_blade",stats={[1]="blade_vortex_hit_rate_+%_per_blade"}},[217]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Damage for each blade"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Damage for each blade"}}},name="blade_vortex_damage_per_blade",stats={[1]="blade_vortex_damage_+%_per_blade_final"}},[218]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextDamagingAilments"},limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Damage with Ailments for each blade"},[2]={[1]={k="negate",v=1},[2]={k="reminderstring",v="ReminderTextDamagingAilments"},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Damage with Ailments for each blade"}}},name="blade_vortex_ailment_damage_per_blade",stats={[1]="blade_vortex_ailment_damage_+%_per_blade_final"}},[219]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Movement Speed"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Movement Speed"}}},name="cyclone_movement_speed_incr",stats={[1]="cyclone_movement_speed_+%_final"}},[220]={lang={English={[1]={[1]={k="per_minute_to_per_second",v=1},limit={[1]={[1]="#",[2]="#"}},text="%1% Mana drained per second"}}},name="mana_degen",stats={[1]="mana_degeneration_per_minute"}},[221]={lang={English={[1]={[1]={k="per_minute_to_per_second",v=1},limit={[1]={[1]="#",[2]="#"}},text="Additional %1% Mana drained per second while moving"}}},name="ice_shield_moving_mana_degen",stats={[1]="ice_shield_moving_mana_degeneration_per_minute"}},[222]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1$+d Physical Damage taken when Hit"}}},name="phys_damage_taken_plus",stats={[1]="physical_damage_taken_+"}},[223]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1$+d Fire Damage taken when Hit"}}},name="fire_damage_taken_plus",stats={[1]="fire_damage_taken_+"}},[224]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Melee Strike Skills deal Splash Damage to surrounding targets"}}},name="melee_splash",stats={[1]="melee_splash"}},[225]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Attack repeats %1% additional times"}}},name="mulitple_attacks",stats={[1]="attack_repeat_count"}},[226]={lang={English={[1]={limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to gain a Power Charge on Critical Strike"},[2]={limit={[1]={[1]=100,[2]="#"}},text="Gain a Power Charge on Critical Strike"}}},name="power_charge_on_crit_chance",stats={[1]="add_power_charge_on_critical_strike_%"}},[227]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Melee Attack Speed"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Melee Attack Speed"}}},name="multiple_attacks_speed",stats={[1]="support_multiple_attacks_melee_attack_speed_+%_final"}},[228]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Totems and Minions summoned by this Skill have %1$+d%% Fire Resistance"}}},name="summon_fire_resist",stats={[1]="summon_fire_resistance_+"}},[229]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Totems and Minions summoned by this Skill have %1$+d%% Cold Resistance"}}},name="summon_cold_resist",stats={[1]="summon_cold_resistance_+"}},[230]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Totems and Minions summoned by this Skill have %1$+d%% Lightning Resistance"}}},name="summon_lightning_resist",stats={[1]="summon_lightning_resistance_+"}},[231]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Minions have %1$+d%% to all Elemental Resistances"}}},name="minion_elemental_resist",stats={[1]="virtual_minion_elemental_resistance_%"}},[232]={lang={English={[1]={limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to apply linked Curses on Hit"},[2]={limit={[1]={[1]=100,[2]="#"}},text="Applies linked Curses on Hit"}}},name="apply_linked_curses_on_hit",stats={[1]="apply_linked_curses_on_hit_%"}},[233]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1%%% more Area of Effect for each stage"}}},name="reave_area_incr",stats={[1]="reave_area_of_effect_+%_final_per_stage"}},[234]={lang={English={[1]={limit={[1]={[1]=0,[2]=0},[2]={[1]=0,[2]=99}},text="%2%%% chance to gain an Endurance Charge when this Skill Stuns an Enemy with a Melee Hit"},[2]={limit={[1]={[1]=0,[2]=0},[2]={[1]=100,[2]="#"}},text="Gain an Endurance Charge when this Skill Stuns an Enemy with a Melee Hit"},[3]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="Gain an Endurance Charge when this Skill Stuns an Enemy with a Melee Hit"}}},name="endurance_charge_on_stun",stats={[1]="gain_endurance_charge_on_melee_stun",[2]="gain_endurance_charge_on_melee_stun_%"}},[235]={lang={English={[1]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Enemies lose %1%%% Cold Resistance while Frozen"}}},name="freeze_mine_cold_resist_debuff",stats={[1]="freeze_mine_cold_resistance_+_while_frozen"}},[236]={lang={English={[1]={limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to Trigger a linked Spell when you Crit an Enemy"},[2]={limit={[1]={[1]=100,[2]="#"}},text="Trigger a linked Spell when you Crit an Enemy"}}},name="cast_on_crit",stats={[1]="cast_linked_spells_on_attack_crit_%"}},[237]={lang={English={[1]={limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to Cast a linked Spell on Melee Kill"},[2]={limit={[1]={[1]=100,[2]="#"}},text="Cast a linked Spell on Melee Kill"}}},name="cast_on_melee_kill",stats={[1]="cast_linked_spells_on_melee_kill_%"}},[238]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="You cannot Cast this Spell directly"}}},name="triggered_cannot_cast",stats={[1]="spell_uncastable_if_triggerable",[2]="spell_only_castable_on_death"}},[239]={lang={English={[1]={limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to Trigger this Skill when Hit"},[2]={limit={[1]={[1]=100,[2]="#"}},text="Trigger this Skill when Hit"}}},name="counterattack_on_hit",stats={[1]="melee_counterattack_trigger_on_hit_%"}},[240]={lang={English={[1]={limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to Trigger this Skill when Critically Hit"},[2]={limit={[1]={[1]=100,[2]="#"}},text="Trigger this Skill when Critically Hit"}}},name="counterattack_when_crit",stats={[1]="attack_trigger_when_critically_hit_%"}},[241]={lang={English={[1]={limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to Trigger this Skill when you Block"},[2]={limit={[1]={[1]=100,[2]="#"}},text="Trigger this Skill when you Block"}}},name="counterattack_on_block",stats={[1]="melee_counterattack_trigger_on_block_%"}},[242]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="You cannot use this Attack directly"}}},name="triggered_cannot_attack",stats={[1]="attack_unusable_if_triggerable"}},[243]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Can use Items requiring up to Level %1%"}}},name="item_level_req",stats={[1]="animate_item_maximum_level_requirement"}},[244]={lang={English={[1]={limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to Trigger this Attack on Kill"},[2]={limit={[1]={[1]=100,[2]="#"}},text="Trigger this Attack on Kill"}}},name="attack_on_kill",stats={[1]="attack_trigger_on_kill_%"}},[245]={lang={English={[1]={limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to Trigger this Spell when you Attack"},[2]={limit={[1]={[1]=100,[2]="#"}},text="Trigger this Spell when you Attack"}}},name="cast_on_attack",stats={[1]="cast_on_attack_use_%"}},[246]={lang={English={[1]={limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to Trigger this Spell when you Use a Skill"},[2]={limit={[1]={[1]=100,[2]="#"}},text="Trigger this Spell when you Use a Skill"}}},name="cast_on_skill_use",stats={[1]="cast_on_skill_use_%"}},[247]={lang={English={[1]={limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to Trigger this Spell on Kill"},[2]={limit={[1]={[1]=100,[2]="#"}},text="Trigger this Spell on Kill"}}},name="cast_on_kill",stats={[1]="chance_to_cast_on_kill_%"}},[248]={lang={English={[1]={limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to Trigger this Spell on Kill"},[2]={limit={[1]={[1]=100,[2]="#"}},text="Trigger this Spell on Kill"}}},name="cast_on_kill_target_self",stats={[1]="chance_to_cast_on_kill_%_target_self"}},[249]={lang={English={[1]={limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to Trigger this Spell when you Use a Skill Socketed in your Body Armour"},[2]={limit={[1]={[1]=100,[2]="#"}},text="Trigger this Spell when you Use a Skill Socketed in your Body Armour"}}},name="cast_on_skill_use_from_chest",stats={[1]="trigger_on_skill_use_from_chest_%"}},[250]={lang={English={[1]={limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to Trigger this Spell when you Use a Skill while you have a Spirit Charge"},[2]={limit={[1]={[1]=100,[2]="#"}},text="Trigger this Spell when you Use a Skill while you have a Spirit Charge"}}},name="cast_on_skill_use_spirit_charge",stats={[1]="trigger_on_skill_use_%_if_you_have_a_spirit_charge"}},[251]={lang={English={[1]={limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to Trigger this Spell when you're Damaged by a Hit"},[2]={limit={[1]={[1]=100,[2]="#"}},text="Trigger this Spell when you're Damaged by a Hit"}}},name="cast_when_damaged",stats={[1]="cast_on_any_damage_taken_%"}},[252]={lang={English={[1]={limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to Trigger this Spell when you're Hit"},[2]={limit={[1]={[1]=100,[2]="#"}},text="Trigger this Spell when you're Hit"}}},name="cast_when_hit",stats={[1]="cast_when_hit_%"}},[253]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1%%% chance to Trigger this Spell on Death"}}},name="cast_on_death",stats={[1]="cast_on_death_%"}},[254]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1%%% chance to Trigger this Spell when you Rampage"}}},name="cast_on_rampage",stats={[1]="chance_to_cast_on_rampage_tier_%"}},[255]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1%%% chance to Trigger this Spell when you are Stunned, or\nBlock a Stunning Hit"}}},name="cast_on_stunned",stats={[1]="cast_on_stunned_%"}},[256]={lang={English={[1]={limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to Trigger this Spell when you gain Avian's Might or Avian's Flight"},[2]={limit={[1]={[1]=100,[2]="#"}},text="Trigger this Spell when you gain Avian's Might or Avian's Flight"}}},name="cast_on_avian_buff",stats={[1]="cast_on_gain_avians_flight_or_avians_might_%"}},[257]={lang={English={[1]={limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to Trigger this Spell when you Hit"},[2]={limit={[1]={[1]=100,[2]="#"}},text="Trigger this Spell when you Hit"}}},name="cast_on_hit",stats={[1]="cast_on_hit_%"}},[258]={lang={English={[1]={limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to Trigger this Spell when you Hit an Enemy while you are Cursed"},[2]={limit={[1]={[1]=100,[2]="#"}},text="Trigger this Spell when you Hit an Enemy while you are Cursed"}}},name="cast_on_hit_if_cursed",stats={[1]="cast_on_hit_if_cursed_%"}},[259]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Trigger this Spell when you lose Cat's Stealth"}}},name="cast_on_lose_cats_stealth",stats={[1]="cast_on_lose_cats_stealth"}},[260]={lang={English={[1]={limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to Trigger this Skill when you Hit"},[2]={limit={[1]={[1]=100,[2]="#"}},text="Trigger this Skill when you Hit"}}},name="attack_on_hit",stats={[1]="attack_trigger_on_hit_%"}},[261]={lang={English={[1]={limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to Trigger this Skill on Melee Hit"},[2]={limit={[1]={[1]=100,[2]="#"}},text="Trigger this Skill on Melee Hit"}}},name="attack_on_melee_hit",stats={[1]="attack_trigger_on_melee_hit_%"}},[262]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]=1,[2]="#"}},text="%1%%% chance to Trigger this Spell when you take a total of %2% Damage"}}},name="cast_on_damage_taken",stats={[1]="cast_on_damage_taken_%",[2]="cast_on_damage_taken_threshold"}},[263]={lang={English={[1]={limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to Trigger this Spell when one of your Traps is Triggered"},[2]={limit={[1]={[1]=100,[2]="#"}},text="Trigger this Spell when one of your Traps is Triggered"}}},name="cast_when_trap_triggered",stats={[1]="chance_to_cast_when_your_trap_is_triggered_%"}},[264]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Attack Speed"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Attack Speed"}}},name="attack_speed_more",stats={[1]="active_skill_attack_speed_+%_final"}},[265]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Spell Damage for each stage"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Spell Damage for each stage"}}},name="charged_blast_damage_per_stack",stats={[1]="charged_blast_spell_damage_+%_final_per_stack"}},[266]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextDamagingAilments"},limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Damage with Ailments for each stage"},[2]={[1]={k="negate",v=1},[2]={k="reminderstring",v="ReminderTextDamagingAilments"},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Damage with Ailments for each stage"}}},name="charged_blast_ailment_damage_per_stack",stats={[1]="flameblast_ailment_damage_+%_final_per_stack"}},[267]={lang={English={[1]={[1]={k="milliseconds_to_seconds_2dp",v=1},limit={[1]={[1]=1,[2]="#"}},text="Trigger a linked Spell every %1% seconds while Channelling"}}},name="cast_while_channelling",stats={[1]="cast_while_channelling_time_ms"}},[268]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Effect of Curse"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Effect of Curse"}}},name="curse_effect",stats={[1]="curse_effect_+%"}},[269]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Effect of Curse against Players"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Effect of Curse against Players"}}},name="curse_effect_vs_players",stats={[1]="curse_effect_+%_vs_players"}},[270]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Projectile Attack Speed"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Projectile Attack Speed"}}},name="support_projectile_attack_speed_incr",stats={[1]="support_projectile_attack_speed_+%_final"}},[271]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Spell has %1%%% more Cast Speed"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Spell has %1%%% less Cast Speed"}}},name="totem_cast_speed",stats={[1]="support_spell_totem_cast_speed_+%_final"}},[272]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Attack Speed"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Attack Speed"}}},name="totem_attack_speed",stats={[1]="support_attack_totem_attack_speed_+%_final"}},[273]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Creates %1% Corpses"}}},name="desecrate_num_corpses",stats={[1]="desecrate_number_of_corpses_to_create"}},[274]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Creates Corpses up to Level %1%"}}},name="desecrate_corpse_level",stats={[1]="desecrate_corpse_level"}},[275]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Creates Corpses with Level %1%"}}},name="unearth_corpse_level",stats={[1]="unearth_corpse_level"}},[276]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Causes smaller novas up to %1% times on enemies hit"}}},name="ice_nova_repeat_count",stats={[1]="ice_nova_number_of_repeats"}},[277]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Area of Effect each repeat"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Area of Effect each repeat"}}},name="ice_nova_repeat_size",stats={[1]="ice_nova_radius_+%_per_repeat"}},[278]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Beams deal %1%%% more Damage"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Beams deal %1%%% less Damage"}}},name="vaal_lightning_strike_beam_damage",stats={[1]="vaal_lightning_strike_beam_damage_+%_final"}},[279]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Can't be Evaded"}}},name="always_hit",stats={[1]="global_always_hit"}},[280]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Enemy Block Chance reduced by %1%%% against this Skill"}}},name="reduce_block",stats={[1]="global_reduce_enemy_block_%"}},[281]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Enemies have %1%%% reduced chance to Dodge Hits from this Skill"}}},name="reduce_dodge",stats={[1]="reduce_enemy_dodge_%"}},[282]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Damage with Hits against Burning enemies"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Damage with Hits against Burning enemies"}}},name="flame_whip_damage_incr",stats={[1]="flame_whip_damage_+%_final_vs_burning_enemies"}},[283]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextDamagingAilments"},limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Damage with Hits and Ailments against Burning Enemies"},[2]={[1]={k="reminderstring",v="ReminderTextDamagingAilments"},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Damage with Hits and Ailments against Burning Enemies"}}},name="damage_vs_burning",stats={[1]="damage_+%_vs_burning_enemies"}},[284]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Cannot Freeze"}}},name="never_freeze",stats={[1]="never_freeze"}},[285]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Cannot Ignite"}}},name="never_ignite",stats={[1]="never_ignite"}},[286]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Damage cannot be Reflected"}}},name="no_reflect",stats={[1]="damage_cannot_be_reflected"}},[287]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Projectiles leave Shocking Ground"}}},name="lightning_trap_shocking_ground",stats={[1]="lightning_trap_projectiles_leave_shocking_ground"}},[288]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Gain %1%%% of your Physical Damage as Extra Fire Damage"}}},name="physical_damage_to_add_as_fire",stats={[1]="physical_damage_%_to_add_as_fire"}},[289]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Gain %1%%% of your Physical Damage as Extra Chaos Damage"}}},name="physical_damage_to_add_as_chaos",stats={[1]="physical_damage_%_to_add_as_chaos"}},[290]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Fire Damage"}}},name="fire_damage_incr",stats={[1]="fire_damage_+%"}},[291]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Cold Damage"}}},name="cold_damage_incr",stats={[1]="cold_damage_+%"}},[292]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="Adds %1% to %2% Cold Damage to Spells"}}},name="spell_added_cold",stats={[1]="spell_minimum_added_cold_damage",[2]="spell_maximum_added_cold_damage"}},[293]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Burning Damage"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Burning Damage"}}},name="herald_of_ash_burning_damage",stats={[1]="herald_of_ash_burning_damage_+%_final"}},[294]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Fire Damage"}}},name="herald_of_ash_fire_damage_incr",stats={[1]="herald_of_ash_fire_damage_+%"}},[295]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Spell Fire Damage"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Spell Fire Damage"}}},name="herald_of_ash_spell_fire_damage_incr",stats={[1]="herald_of_ash_spell_fire_damage_+%_final"}},[296]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Cold Damage"}}},name="herald_of_ice_cold_damage_incr",stats={[1]="herald_of_ice_cold_damage_+%"}},[297]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Lightning Damage"}}},name="herald_of_thunder_lightning_damage_incr",stats={[1]="herald_of_thunder_lightning_damage_+%"}},[298]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="Adds %1% to %2% Lightning Damage to Spells"}}},name="spell_added_lightning",stats={[1]="spell_minimum_added_lightning_damage",[2]="spell_maximum_added_lightning_damage"}},[299]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextDamageTypes"},limit={[1]={[1]="#",[2]="#"}},text="Only Deals Damage of the chosen Element\nDeals no Damage of other Damage Types"}}},name="elemental_hit_damage_turnoff",stats={[1]="elemental_hit_no_physical_chaos_damage"}},[300]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextDamagingAilments"},limit={[1]={[1]=1,[2]="#"}},text="Explosion deals %1%%% more Damage with Hits and Ailments"},[2]={[1]={k="negate",v=1},[2]={k="reminderstring",v="ReminderTextDamagingAilments"},limit={[1]={[1]="#",[2]=-1}},text="Explosion deals %1%%% less Damage with Hits and Ailments"}}},name="static_strike_damage",stats={[1]="static_strike_explosion_damage_+%_final"}},[301]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Arrow Speed"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Arrow Speed"}}},name="arrow_speed",stats={[1]="base_arrow_speed_+%"}},[302]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Creates %1% explosions"}}},name="cluster_burst_spawn_amount",stats={[1]="cluster_burst_spawn_amount"}},[303]={lang={English={[1]={[1]={k="divide_by_one_hundred",v=1},limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Movement Speed per Nearby Enemy"},[2]={limit={[1]={[1]=-300,[2]=-300}},text="Locks enemy in place"},[3]={[1]={k="divide_by_one_hundred_and_negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Movement Speed per Nearby Enemy"}}},name="movement_speed_incr_per_enemy",stats={[1]="abyssal_cry_movement_velocity_+%_per_one_hundred_nearby_enemies"}},[304]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Ring deals %1%%% more Damage"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Ring deals %1%%% less Damage"}}},name="newshocknova_first_ring_damage",stats={[1]="newshocknova_first_ring_damage_+%_final"}},[305]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Explosion deals Chaos Damage equal to %1%%% of the Monster's maximum Life"}}},name="abyssal_cry_max_life_as_chaos_on_death",stats={[1]="abyssal_cry_%_max_life_as_chaos_on_death"}},[306]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextFortify"},limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to Fortify on Melee hit"},[2]={[1]={k="reminderstring",v="ReminderTextFortify"},limit={[1]={[1]=100,[2]="#"}},text="Grants Fortify on Melee Hit"}}},name="chance_to_fortify_on_melee_hit",stats={[1]="chance_to_fortify_on_melee_hit_+%"}},[307]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Fortify duration"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Fortify duration"}}},name="fortify_duration_incr",stats={[1]="fortify_duration_+%"}},[308]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1%%% of Physical Damage Converted to Cold Damage"}}},name="base_physical_damage_to_convert_to_cold",stats={[1]="base_physical_damage_%_to_convert_to_cold"}},[309]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Second Stage deals %1%%% more Damage"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Second Stage deals %1%%% less Damage"}}},name="ice_crash_second_hit_damage",stats={[1]="ice_crash_second_hit_damage_+%_final"}},[310]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Third Stage deals %1%%% more Damage"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Third Stage deals %1%%% less Damage"}}},name="ice_crash_third_hit_damage",stats={[1]="ice_crash_third_hit_damage_+%_final"}},[311]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Golems Grant %1%%% increased Damage"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Golems Grant %1%%% reduced Damage"}}},name="golem_grants_damage",stats={[1]="fire_golem_grants_damage_+%"}},[312]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Golems Grant %1%%% increased Critical Strike Chance"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Golems Grant %1%%% reduced Critical Strike Chance"}}},name="golem_grants_crit_chance",stats={[1]="ice_golem_grants_critical_strike_chance_+%"}},[313]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Golems Grant %1%%% increased Accuracy"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Golems Grant %1%%% reduced Accuracy"}}},name="golem_grants_accuracy",stats={[1]="ice_golem_grants_accuracy_+%"}},[314]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Golems grant %1%%% additional Physical Damage Reduction"}}},name="golem_grants_phys_reduction",stats={[1]="chaos_golem_grants_additional_physical_damage_reduction_%"}},[315]={lang={English={[1]={[1]={k="per_minute_to_per_second",v=1},limit={[1]={[1]="#",[2]="#"}},text="Golems grant %1% Life Regenerated per second"}}},name="golem_grants_life_regen",stats={[1]="stone_golem_grants_base_life_regeneration_rate_per_minute"}},[316]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Golems grant %1%%% increased Attack and Cast Speed"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Golems grant %1%%% reduced Attack and Cast Speed"}}},name="golem_grants_attack_and_cast_speed",stats={[1]="lightning_golem_grants_attack_and_cast_speed_+%"}},[317]={lang={English={[1]={[1]={k="milliseconds_to_seconds_2dp",v=1},[2]={k="reminderstring",v="ReminderTextChilledGround"},limit={[1]={[1]="#",[2]="#"}},text="Chilled Ground lasts %1% seconds"}}},name="ice_storm_ground_ice",stats={[1]="virtual_firestorm_drop_chilled_ground_duration_ms"}},[318]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Damage per one hundred nearby Enemies"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Damage per one hundred nearby Enemies"}}},name="inspiring_cry_damage",stats={[1]="inspiring_cry_damage_+%_per_one_hundred_nearby_enemies"}},[319]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Attack Speed per one hundred nearby Enemies"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Attack Speed per one hundred nearby Enemies"}}},name="intimidating_cry_attack_speed",stats={[1]="intimidating_cry_attack_speed_+%_per_100_enemies"}},[320]={lang={English={[1]={[1]={k="per_minute_to_per_second",v=1},limit={[1]={[1]="#",[2]="#"}},text="%1% Mana Regenerated per second"}}},stats={[1]="base_mana_regeneration_rate_per_minute"}},[321]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Damage"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Damage"}}},name="damage_incr",stats={[1]="damage_+%"}},[322]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextDamagingAilments"},limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Damage with Hits and Ailments per Repeat"},[2]={[1]={k="negate",v=1},[2]={k="reminderstring",v="ReminderTextDamagingAilments"},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Damage with Hits and Ailments per Repeat"}}},name="fire_nova_damage",stats={[1]="fire_nova_damage_+%_per_repeat_final"}},[323]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Melee Physical Damage against Bleeding Enemies"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Melee Physical Damage against Bleeding Enemies"}}},name="bloodlust_damage",stats={[1]="support_bloodlust_melee_physical_damage_+%_final_vs_bleeding_enemies"}},[324]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Melee Damage against Bleeding Enemies"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Melee Damage against Bleeding Enemies"}}},name="bloodlust_damage_incr",stats={[1]="melee_damage_vs_bleeding_enemies_+%"}},[325]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1%%% increased Totem Placement speed"}}},name="totem_summon_speed_incr",stats={[1]="summon_totem_cast_speed_+%"}},[326]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Cursed enemies grant %1%%% more Melee Physical Damage on Melee hit"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Cursed enemies grant %1%%% less Melee Physical Damage on Melee hit"}}},name="newpunishment_melee_damage",stats={[1]="newpunishment_melee_damage_+%_final"}},[327]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Cursed enemies grant %1%%% increased Attack Speed on Melee hit"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Cursed enemies grant %1%%% reduced Attack Speed on Melee hit"}}},name="newpunishment_attack_speed",stats={[1]="newpunishment_attack_speed_+%"}},[328]={lang={English={[1]={[1]={k="milliseconds_to_seconds_2dp",v=1},limit={[1]={[1]=1,[2]="#"}},text="Buff is applied for a Base Duration of %1% seconds"}}},name="newpunishment_applied_buff_duration",stats={[1]="newpunishment_applied_buff_duration_ms"}},[329]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Physical Damage taken when Hit"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Physical Damage taken when Hit"}}},name="arctic_armour_phys_damage",stats={[1]="new_arctic_armour_physical_damage_taken_when_hit_+%_final"}},[330]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Fire Damage taken when Hit"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Fire Damage taken when Hit"}}},name="arctic_armour_fire_damage",stats={[1]="new_arctic_armour_fire_damage_taken_when_hit_+%_final"}},[331]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextFreeze"},[2]={k="reminderstring",v="ReminderTextShock"},[3]={k="reminderstring",v="ReminderTextIgnite"},limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to Freeze, Shock and Ignite"},[2]={[1]={k="reminderstring",v="ReminderTextFreeze"},[2]={k="reminderstring",v="ReminderTextShock"},[3]={k="reminderstring",v="ReminderTextIgnite"},limit={[1]={[1]=100,[2]="#"}},text="Always Freeze, Shock and Ignite"}}},name="elemental_status_chance",stats={[1]="chance_to_freeze_shock_ignite_%"}},[332]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextFreeze"},limit={[1]={[1]="#",[2]="#"}},text="%1$d%% chance to Freeze Enemies which are Chilled"}}},name="freeze_chance_vs_chilled",stats={[1]="additional_chance_to_freeze_chilled_enemies_%"}},[333]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1%%% of Physical Damage Converted to Fire, Cold or Lightning Damage"}}},name="wild_strike_damage_convert",stats={[1]="elemental_strike_physical_damage_%_to_convert"}},[334]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1$+d to Melee Weapon Range"}}},name="melee_weapon_range",stats={[1]="melee_weapon_range_+"}},[335]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1$+d to Melee range"}}},name="melee_range",stats={[1]="melee_range_+"}},[336]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextDamagingAilments"},limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Damage with Hits and Ailments against Chilled Enemies"},[2]={[1]={k="negate",v=1},[2]={k="reminderstring",v="ReminderTextDamagingAilments"},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Damage with Hits and Ailments against Chilled Enemies"}}},name="hypothermia_damage",stats={[1]="support_hypothermia_damage_+%_vs_chilled_enemies_final"}},[337]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextPhasing"},limit={[1]={[1]="#",[2]="#"}},text="Phasing"}}},name="phasing",stats={[1]="phase_through_objects"}},[338]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextVisibility"},limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Visibility to Enemies"},[2]={[1]={k="negate",v=1},[2]={k="reminderstring",v="ReminderTextVisibility"},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Visibility to Enemies"}}},name="enemy_aggro_decr",stats={[1]="enemy_aggro_radius_+%"}},[339]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextDamagingAilments"},limit={[1]={[1]=1,[2]="#"}},text="Aftershock deals %1%%% more Damage with Hits and Ailments"},[2]={[1]={k="negate",v=1},[2]={k="reminderstring",v="ReminderTextDamagingAilments"},limit={[1]={[1]="#",[2]=-1}},text="Aftershock deals %1%%% less Damage with Hits and Ailments"}}},name="earthquake_aftershock_damage",stats={[1]="quake_slam_fully_charged_explosion_damage_+%_final"}},[340]={lang={English={[1]={[1]={k="divide_by_one_hundred_2dp",v=1},limit={[1]={[1]="#",[2]="#"}},text="Regenerate %1%%% of Debuff Damage as Life"}}},name="siphon_life_gain",stats={[1]="siphon_life_leech_from_damage_permyriad"}},[341]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Can have up to %1% active spinning blades"}}},name="max_spinning_blades",stats={[1]="maximum_number_of_spinning_blades"}},[342]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Chaos Damage taken"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Chaos Damage taken"}}},stats={[1]="chaos_damage_taken_+%"}},[343]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextPoison"},limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to Poison on Hit"},[2]={[1]={k="reminderstring",v="ReminderTextPoison"},limit={[1]={[1]=100,[2]="#"}},text="Always Poison on Hit"}}},name="poison_chance",stats={[1]="base_chance_to_poison_on_hit_%"}},[344]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextPoison"},limit={[1]={[1]=1,[2]=99}},text="Grants %1%%% chance to Poison on Hit"},[2]={[1]={k="reminderstring",v="ReminderTextPoison"},limit={[1]={[1]=100,[2]="#"}},text="Grants 100%% chance to Poison on Hit"}}},name="grants_poison_chance",stats={[1]="skill_buff_grants_chance_to_poison_%"}},[345]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Damage over Time"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Damage over Time"}}},name="damage_over_time_incr",stats={[1]="damage_over_time_+%"}},[346]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Damage per Volley"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Damage per Volley"}}},name="bladefall_damage_per_volley",stats={[1]="bladefall_damage_per_stage_+%_final"}},[347]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextPoison"},limit={[1]={[1]="#",[2]="#"}},text="Poisons Enemies on Hit"}}},name="poison_on_hit",stats={[1]="global_poison_on_hit"}},[348]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Damage with Poison"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Damage with Poison"}}},name="poison_damage",stats={[1]="base_poison_damage_+%"}},[349]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Poison Duration"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Poison Duration"}}},name="poison_duration",stats={[1]="base_poison_duration_+%"}},[350]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Melee Splash Area of Effect"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Melee Splash Area of Effect"}}},name="melee_splash_radius",stats={[1]="melee_splash_area_of_effect_+%_final"}},[351]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="First Hit deals %1%%% more Damage"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="First Hit deals %1%%% less Damage"}}},name="cyclone_first_hit_damage",stats={[1]="cyclone_first_hit_damage_+%_final"}},[352]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Shockwaves deal %1%%% more Damage"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Shockwaves deal %1%%% less Damage"}}},name="sunder_explosion_damage",stats={[1]="shockwave_slam_explosion_damage_+%_final"}},[353]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Causes %1% Explosions"}}},name="blast_rain_number",stats={[1]="blast_rain_number_of_blasts"}},[354]={lang={English={[1]={[1]={k="divide_by_one_hundred",v=1},limit={[1]={[1]="#",[2]="#"}},text="%1$+d%% to Critical Strike Chance"}}},name="additional_crit",stats={[1]="additional_base_critical_strike_chance"}},[355]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Ring deals %1%%% increased Damage"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Ring deals %1%%% reduced Damage"}}},name="shock_nova_ring_damage",stats={[1]="shock_nova_ring_damage_+%"}},[356]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Buff Effect"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Buff Effect"}}},name="skill_buff_effect",stats={[1]="skill_buff_effect_+%"}},[357]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Melee Skills deal %1%%% more Area Damage while in Blood Stance"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Melee Skills deal %1%%% less Area Damage while in Blood Stance"}}},name="blood_stance_melee_area_damage",stats={[1]="blood_sand_stance_melee_skills_area_damage_+%_final_in_blood_stance"}},[358]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Melee Skills have %1%%% more Area of Effect while in Blood Stance"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Melee Skills have %1%%% less Area of Effect while in Blood Stance"}}},name="blood_stance_melee_area_of_effect",stats={[1]="blood_sand_stance_melee_skills_area_of_effect_+%_final_in_blood_stance"}},[359]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Melee Skills have %1%%% more Area of Effect while in Sand Stance"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Melee Skills have %1%%% less Area of Effect while in Sand Stance"}}},name="sand_stance_melee_area_of_effect",stats={[1]="blood_sand_stance_melee_skills_area_of_effect_+%_final_in_sand_stance"}},[360]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Melee Skills deal %1%%% more Area Damage while in Sand Stance"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Melee Skills deal %1%%% less Area Damage while in Sand Stance"}}},name="sand_stance_melee_area_damage",stats={[1]="blood_sand_stance_melee_skills_area_damage_+%_final_in_sand_stance"}},[361]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Projectiles deal %1%%% more Damage"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Projectiles deal %1%%% less Damage"}}},name="active_skill_projectile_damage_incr",stats={[1]="active_skill_projectile_damage_+%_final"}},[362]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Deals up to %1%%% more Damage to closer targets"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Deals up to %1%%% less Damage to closer targets"}}},name="ground_slam_close_damage",stats={[1]="groundslam_damage_to_close_targets_+%_final"}},[363]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Damage over time caused by Projectiles deals %1%%% more Damage"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Damage over time caused by Projectiles deals %1%%% less Damage"}}},name="active_skill_projectile_dot_incr",stats={[1]="active_skill_damage_over_time_from_projectile_hits_+%_final"}},[364]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Gain Arcane Surge after Spending a total of %1% Mana with this Spell"}}},name="support_arcane_surge_chance",stats={[1]="support_arcane_surge_gain_buff_on_mana_use_threshold"}},[365]={lang={English={[1]={[1]={k="per_minute_to_per_second",v=3},limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"},[3]={[1]="#",[2]="#"}},text="Arcane Surge grants %1%%% more Spell Damage\nArcane Surge grants %2%%% increased Cast Speed\nArcane Surge grants %3%%% of maximum Mana Regenerated per second"}}},name="support_arcane_surge_damage",stats={[1]="support_arcane_surge_spell_damage_+%_final",[2]="support_arcane_surge_cast_speed_+%",[3]="support_arcane_surge_mana_regeneration_rate_per_minute_%"}},[366]={lang={English={[1]={[1]={k="milliseconds_to_seconds",v=1},limit={[1]={[1]=1000,[2]=1000}},text="Arcane Surge lasts %1% second"},[2]={[1]={k="milliseconds_to_seconds",v=1},limit={[1]={[1]="#",[2]="#"}},text="Arcane Surge lasts %1% seconds"}}},name="support_arcane_surge_duration",stats={[1]="support_arcane_surge_duration_ms"}},[367]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Gain Innervation on Killing a Shocked Enemy"}}},name="support_innervate_buff",stats={[1]="support_innervate_gain_buff_on_killing_shocked_enemy"}},[368]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="Innervation grants %1% to %2% Lightning Damage"}}},name="support_innervate_damage",stats={[1]="support_innervate_minimum_added_lightning_damage",[2]="support_innervate_maximum_added_lightning_damage"}},[369]={lang={English={[1]={[1]={k="milliseconds_to_seconds",v=1},limit={[1]={[1]=1000,[2]=1000}},text="Innervation lasts %1% second"},[2]={[1]={k="milliseconds_to_seconds",v=1},limit={[1]={[1]="#",[2]="#"}},text="Innervation lasts %1% seconds"}}},name="support_innervate_buff_duration",stats={[1]="support_innervate_buff_duration_ms"}},[370]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Every third Attack deals a Ruthless Blow with Melee Hits"}}},name="support_ruthless_count",stats={[1]="support_ruthless_big_hit_max_count"}},[371]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Ruthless Blows deal %1%%% more Melee Damage"}}},name="support_ruthless_damage",stats={[1]="support_ruthless_big_hit_damage_+%_final"}},[372]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Ruthless Blows deal %1%%% more Damage with Bleeding caused by Melee Hits"}}},name="support_ruthless_bleeding_damage",stats={[1]="support_ruthless_blow_bleeding_damage_from_melee_hits_+%_final"}},[373]={lang={English={[1]={[1]={k="milliseconds_to_seconds",v=1},limit={[1]={[1]="#",[2]="#"}},text="Ruthless Blows have a base Stun Duration of %1% seconds"}}},name="support_ruthless_stun",stats={[1]="support_ruthless_big_hit_stun_base_duration_override_ms"}},[374]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="At least %1% Rage required to start Berserking"}}},name="berserk_min_rage",stats={[1]="berserk_minimum_rage"}},[375]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Damage with Attacks"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Damage with Attacks"}}},name="berserk_attack_damage",stats={[1]="berserk_attack_damage_+%_final"}},[376]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Attack Speed"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Attack Speed"}}},name="berserk_attack_speed",stats={[1]="berserk_attack_speed_+%_final"}},[377]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Movement Speed"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Movement Speed"}}},name="berserk_move_speed",stats={[1]="berserk_movement_speed_+%_final"}},[378]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Damage taken"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Damage taken"}}},name="berserk_damage_taken",stats={[1]="berserk_base_damage_taken_+%_final"}},[379]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Lose %1% Rage per second"}}},name="berserk_rage_loss_per_second",stats={[1]="berserk_base_rage_loss_per_second"}},[380]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Each second, %1%%% increased Rage loss Rate"}}},name="berserk_increased_rage_loss_per_second",stats={[1]="berserk_rage_loss_+%_per_second"}},[381]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Area Damage"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Area Damage"}}},stats={[1]="active_skill_area_damage_+%_final"}},[382]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Area of Effect when Cast on Frostbolt"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Area of Effect when Cast on Frostbolt"}}},name="active_skill_if_used_through_frostbolt_area",stats={[1]="active_skill_area_of_effect_+%_final_when_cast_on_frostbolt"}},[383]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1$+d to Area of Effect length"}}},name="area_length_add",stats={[1]="active_skill_base_area_length_+"}},[384]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Damage when Cast on Frostbolt"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Damage when Cast on Frostbolt"}}},name="active_skill_if_used_through_frostbolt_damage",stats={[1]="active_skill_if_used_through_frostbolt_damage_+%_final"}},[385]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Damage with Ignite"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Damage with Ignite"}}},name="ignite_damage_final",stats={[1]="active_skill_ignite_damage_+%_final"}},[386]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% chance to gain a Frenzy Charge on Hit"}}},name="frenzy_on_hit_chance",stats={[1]="add_frenzy_charge_on_skill_hit_%"}},[387]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1%%% chance to Chain an additional time"}}},name="additional_chain_chance",stats={[1]="additional_chain_chance_%"}},[388]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"},[2]={[1]=0,[2]=0}},text="Fire Damage from Hits is taken from the Aegis before your Life or Energy Shield\nAegis can take %1% Fire Damage"},[2]={limit={[1]={[1]=1,[2]="#"},[2]={[1]=1,[2]=1}},text="Cold Damage from Hits is taken from the Aegis before your Life or Energy Shield\nAegis can take %1% Cold Damage"},[3]={limit={[1]={[1]=1,[2]="#"},[2]={[1]=2,[2]=2}},text="Elemental Damage from Hits is taken from the Aegis before your Life or Energy Shield\nAegis can take %1% Elemental Damage"},[4]={limit={[1]={[1]=1,[2]="#"},[2]={[1]=3,[2]=3}},text="Lightning Damage from Hits is taken from the Aegis before your Life or Energy Shield\nAegis can take %1% Lightning Damage"}}},name="aegis_value",stats={[1]="aegis_unique_shield_max_value",[2]="active_skill_display_aegis_variation"}},[389]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Damaging Hits always Stun Enemies that are on Full Life"}}},name="always_stun_full_life",stats={[1]="always_stun_enemies_that_are_on_full_life"}},[390]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="This Curse is applied by Bane"}}},name="apply_with_dark_ritual",stats={[1]="apply_linked_curses_with_dark_ritual"}},[391]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Overpowered applies -%1%%% chance to Block Attack and Spell Damage"}}},name="support_overpowered_on_enemy_block",stats={[1]="apply_overpowered_on_enemy_block_reduced_block_and_spell_block_%"}},[392]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Damage for each remaining Chain"},[2]={limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Damage for each remaining Chain"}}},name="arc_damage_per_remaining_chain",stats={[1]="arc_damage_+%_final_for_each_remaining_chain"}},[393]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Damage for each time beam has Chained"},[2]={limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Damage for each time beam has Chained"}}},name="arc_damage_per_chain",stats={[1]="arc_damage_+%_final_per_chain"}},[394]={lang={English={[1]={[1]={k="milliseconds_to_seconds",v=1},limit={[1]={[1]="#",[2]="#"}},text="Chill Enemy for %1% seconds when Hit, reducing their Action Speed by 30%%"}}},name="arctic_armour_chill_when_hit_duration",stats={[1]="arctic_armour_chill_when_hit_duration"}},[395]={lang={English={[1]={limit={[1]={[1]=1,[2]=1}},text="Can have up to %1% Chilling Area"},[2]={limit={[1]={[1]="#",[2]="#"}},text="Can have up to %1% Chilling Areas"}}},name="actic_breath_areas",stats={[1]="arctic_breath_maximum_number_of_skulls_allowed"}},[396]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Area of Effect per Stage"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Area of Effect per Stage"}}},name="frost_fury_aoe_per_stage",stats={[1]="area_of_effect_+%_per_frost_fury_stage"}},[397]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Area of Effect when Cast on Frostbolt"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Area of Effect when Cast on Frostbolt"}}},name="area_of_effect_incr_when_cast_on_frostbolt",stats={[1]="area_of_effect_+%_when_cast_on_frostbolt"}},[398]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Attack Damage"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Attack Damage"}}},stats={[1]="attack_damage_+%"}},[399]={lang={English={[1]={limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to Trigger this Skill when you kill a Bleeding Enemy"},[2]={limit={[1]={[1]=100,[2]="#"}},text="Trigger this Skill when you kill a Bleeding Enemy"}}},name="attack_on_kill_bleeding_enemy",stats={[1]="attack_trigger_on_killing_bleeding_enemy_%"}},[400]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextImpale"},limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to Impale Enemies on Hit"},[2]={[1]={k="reminderstring",v="ReminderTextImpale"},limit={[1]={[1]=100,[2]="#"}},text="Impale Enemies on Hit"}}},name="attack_impale_chance",stats={[1]="attacks_impale_on_hit_%_chance"}},[401]={lang={English={[1]={limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to Avoid All Damage when Hit"},[2]={limit={[1]={[1]=100,[2]="#"}},text="Avoid All Damage when Hit"}}},name="avoid_damage_chance",stats={[1]="avoid_damage_%"}},[402]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextShock"},limit={[1]={[1]="#",[2]="#"}},text="Aura grants %1%%% chance to Shock"}}},name="skill_grants_shock_chance",stats={[1]="base_chance_to_shock_%_from_skill"}},[403]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Cooldown Recovery Speed"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Cooldown Recovery Speed"}}},name="cooldown_speed_incr",stats={[1]="base_cooldown_speed_+%"}},[404]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Damage taken"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Damage taken"}}},name="damage_taken_incr",stats={[1]="base_damage_taken_+%"}},[405]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Deals no Chaos Damage"}}},name="deal_no_chaos",stats={[1]="base_deal_no_chaos_damage"}},[406]={lang={English={[1]={[1]={k="divide_by_one_hundred",v=1},[2]={k="reminderstring",v="ReminderTextEnergyShieldLeech"},limit={[1]={[1]=1,[2]="#"}},text="%1%%% of Spell Damage Leeched as Energy Shield"}}},name="spell_es_leech",stats={[1]="base_energy_shield_leech_from_spell_damage_permyriad"}},[407]={lang={English={[1]={limit={[1]={[1]=1,[2]=1}},text="Maximum 1 Summoned Phantasm"},[2]={limit={[1]={[1]=2,[2]="#"}},text="Maximum %1% Summoned Phantasms"}}},name="ghost_limit",stats={[1]="number_of_support_ghosts_allowed"}},[408]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Critical Strike Chance for each blade"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Critical Strike Chance for each blade"}}},name="blade_vortex_crit_chance_per_blade",stats={[1]="blade_vortex_critical_strike_chance_+%_per_blade"}},[409]={lang={English={[1]={[1]={k="milliseconds_to_seconds_2dp",v=1},limit={[1]={[1]=1,[2]="#"}},text="Hits Enemies every %1% Seconds"},[2]={limit={[1]={[1]="#",[2]=-1}},text="Never Hits Enemies"}}},name="blade_vortex_hit_rate",stats={[1]="blade_vortex_hit_rate_ms"}},[410]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Critical Strike Chance per Volley"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Critical Strike Chance per Volley"}}},name="bladefall_crit_chance_per_stage",stats={[1]="bladefall_critical_strike_chance_+%_per_stage"}},[411]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Attack Speed while you're in a Blood Bladestorm"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Attack Speed while you're in a Blood Bladestorm"}}},name="skill_attack_speed_in_bloodstorm",stats={[1]="bladestorm_attack_speed_+%_final_while_in_bloodstorm"}},[412]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Maximum of %1% Bladestorms at a time"}}},name="bladestorm_limit",stats={[1]="bladestorm_maximum_number_of_storms_allowed"}},[413]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Sand Bladestorms grant %1%%% increased Movement Speed to you"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Sand Bladestorms grant %1%%% reduced Movement Speed to you"}}},name="sandstorm_grants_movement_speed",stats={[1]="bladestorm_movement_speed_+%_while_in_sandstorm"}},[414]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextDamagingAilments"},limit={[1]={[1]=1,[2]="#"}},text="Bladestorm deals %1%%% more Damage with Hits and Ailments"},[2]={[1]={k="negate",v=1},[2]={k="reminderstring",v="ReminderTextDamagingAilments"},limit={[1]={[1]="#",[2]=-1}},text="Bladestorm deals %1%%% less Damage with Hits and Ailments"}}},name="bladestorm_damage_incr",stats={[1]="bladestorm_storm_damage_+%_final"}},[415]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextBleeding"},limit={[1]={[1]=1,[2]=99},[2]={[1]=0,[2]=0},[3]={[1]=0,[2]=0}},text="%1%%% chance to cause Bleeding"},[2]={[1]={k="reminderstring",v="ReminderTextBleeding"},limit={[1]={[1]=100,[2]="#"},[2]={[1]=0,[2]=0},[3]={[1]=0,[2]=0}},text="Causes Bleeding"},[3]={[1]={k="reminderstring",v="ReminderTextBleeding"},limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"},[3]={[1]=0,[2]=0}},text="Causes Bleeding"},[4]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"},[3]={[1]="#",[2]="#"}},text="Cannot cause Bleeding"}}},name="bleeding_chance",stats={[1]="bleed_on_hit_with_attacks_%",[2]="global_bleed_on_hit",[3]="cannot_cause_bleeding"}},[416]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Damage with Bleeding"},[2]={limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Damage with Bleeding"}}},name="bleeding_damage_incr",stats={[1]="bleeding_damage_+%"}},[417]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="This Skill cannot Knock Enemies Back"}}},name="cannot_knockback",stats={[1]="cannot_knockback"}},[418]={lang={English={[1]={limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to Trigger this Spell when you Crit an Enemy"},[2]={limit={[1]={[1]=100,[2]="#"}},text="Trigger this Spell when you Crit an Enemy"}}},name="cast_this_spell_on_crit",stats={[1]="cast_on_crit_%"}},[419]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="This Spell is Triggered when Equipped"}}},name="cast_on_equip",stats={[1]="cast_on_gain_skill"}},[420]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Shockwave has +1 Radius per %1% Rage"}}},name="chain_strike_radius",stats={[1]="chain_strike_cone_radius_+_per_x_rage"}},[421]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Gain %1% Rage if this Skill Hits any Enemies"}}},name="chain_strike_rage",stats={[1]="chain_strike_gain_x_rage_if_attack_hits"}},[422]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextBleeding"},[2]={k="reminderstring",v="ReminderTextBloodStanceDefault"},limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to cause Bleeding while in Blood Stance"},[2]={[1]={k="reminderstring",v="ReminderTextBleeding"},[2]={k="reminderstring",v="ReminderTextBloodStanceDefault"},limit={[1]={[1]=100,[2]="#"}},text="Causes Bleeding while in Blood Stance"}}},name="blood_stance_bleeding_chance",stats={[1]="chance_to_bleed_on_hit_%_chance_in_blood_stance"}},[423]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1%%% chance to deal Double Damage"}}},name="double_damage_chance",stats={[1]="chance_to_deal_double_damage_%"}},[424]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% chance to deal Double Damage to Bleeding Enemies"}}},name="double_damage_chance_vs_bleed",stats={[1]="chance_to_deal_double_damage_%_vs_bleeding_enemies"}},[425]={lang={English={[1]={limit={[1]={[1]=1,[2]=99},[2]={[1]=0,[2]=0},[3]={[1]=0,[2]=0}},text="%1%%% chance to gain a Frenzy Charge when an Enemy Dies while in this Skill's Area"},[2]={limit={[1]={[1]=1,[2]=99},[2]={[1]="#",[2]="#"},[3]={[1]=0,[2]=0}},text="%1%%% chance to gain a Frenzy Charge when an Enemy Dies while in this Skill's Area\nEvery second, gain a Frenzy Charge if an Enemy is in this Skill's Area"},[3]={limit={[1]={[1]=100,[2]="#"},[2]={[1]=0,[2]=0},[3]={[1]=0,[2]=0}},text="Gain a Frenzy Charge when an Enemy Dies while in this Skill's Area"},[4]={limit={[1]={[1]=100,[2]="#"},[2]={[1]="#",[2]="#"},[3]={[1]=0,[2]=0}},text="Gain a Frenzy Charge when an Enemy Dies while in this Skill's Area\nEvery second, gain a Frenzy Charge if an Enemy is in this Skill's Area"},[5]={limit={[1]={[1]=1,[2]=99},[2]={[1]=0,[2]=0},[3]={[1]="#",[2]="#"}},text="%1%%% chance to gain a Power Charge when an Enemy Dies while in this Skill's Area"},[6]={limit={[1]={[1]=1,[2]=99},[2]={[1]="#",[2]="#"},[3]={[1]="#",[2]="#"}},text="%1%%% chance to gain a Power Charge when an Enemy Dies while in this Skill's Area\nEvery second, gain a Power Charge if an Enemy is in this Skill's Area"},[7]={limit={[1]={[1]=100,[2]="#"},[2]={[1]=0,[2]=0},[3]={[1]="#",[2]="#"}},text="Gain a Power Charge when an Enemy Dies while in this Skill's Area"},[8]={limit={[1]={[1]=100,[2]="#"},[2]={[1]="#",[2]="#"},[3]={[1]="#",[2]="#"}},text="Gain a Power Charge when an Enemy Dies while in this Skill's Area\nEvery second, gain a Power Charge if an Enemy is in Skill's Area"}}},name="cold_snap_frenzy_chance",stats={[1]="chance_to_gain_frenzy_charge_on_killing_enemy_affected_by_cold_snap_ground_%",[2]="vaal_cold_snap_gain_frenzy_charge_every_second_if_enemy_in_aura",[3]="active_skill_cooldown_bypass_type_override_to_power_charge"}},[426]={lang={English={[1]={limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to gain a Power Charge when Projectile Hits a Rare or Unique Enemy"},[2]={limit={[1]={[1]=100,[2]="#"}},text="Gain a Power Charge when Projectile Hits a Rare or Unique Enemy"}}},name="power_charge_vs_rare_or_unique",stats={[1]="chance_to_gain_power_charge_on_rare_or_unique_enemy_hit_%"}},[427]={lang={English={[1]={limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to Summon a Phantasm when this Skill Hits a Rare or Unique Enemy"},[2]={limit={[1]={[1]=100,[2]="#"}},text="Summon a Phantasm when this Skill Hits a Rare or Unique Enemy"}}},name="ghost_rare_chance",stats={[1]="chance_to_summon_support_ghost_on_hitting_rare_or_unique_%"}},[428]={lang={English={[1]={limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to Summon a Phantasm when this Skill deals a Killing Blow"},[2]={limit={[1]={[1]=100,[2]="#"}},text="Summon a Phantasm when this Skill deals a Killing Blow"}}},name="ghost_chance",stats={[1]="chance_to_summon_support_ghost_on_killing_blow_%"}},[429]={lang={English={[1]={limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to Trigger this Skill when your Animated Guardian Kills an Enemy"},[2]={limit={[1]={[1]=100,[2]="#"}},text="Trigger this Skill when your Animated Guardian Kills an Enemy"}}},name="trigger_on_animate_guardian_kill",stats={[1]="chance_to_trigger_on_animate_guardian_kill_%"}},[430]={lang={English={[1]={limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to Trigger this Skill when an Animated Weapon Kills an Enemy"},[2]={limit={[1]={[1]=100,[2]="#"}},text="Trigger this Skill when an Animated Weapon Kills an Enemy"}}},name="trigger_on_animate_weapon_kill",stats={[1]="chance_to_trigger_on_animate_weapon_kill_%"}},[431]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextDamagingAilments"},limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Damage with Hits and Ailments for each stage"},[2]={[1]={k="negate",v=1},[2]={k="reminderstring",v="ReminderTextDamagingAilments"},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Damage with Hits and Ailments for each stage"}}},name="charged_attack_damage_stages",stats={[1]="charged_attack_damage_per_stack_+%_final"}},[432]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Deals %1%%% more Damage while Channelling if Illusion has finished moving"}}},name="charged_dash_damage_when_stopped_moving",stats={[1]="charged_dash_channelling_damage_at_full_stacks_+%_final"}},[433]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Final wave deals %1%%% of Damage per stage"}}},name="charged_dash_final_wave_damage_per_stage",stats={[1]="charged_dash_damage_+%_final_per_stack"}},[434]={lang={English={[1]={[1]={k="multiplicative_damage_modifier",v=1},limit={[1]={[1]="#",[2]="#"}},text="Illusion moves at %1%%% of your Movement Speed"}}},name="charged_dash_built_in_move_speed",stats={[1]="charged_dash_skill_inherent_movement_speed_+%_final"}},[435]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextChilledGround"},limit={[1]={[1]="#",[2]="#"}},text="Chilled Ground from this Skill has a base effect of %1%%%"}}},name="chilled_ground_magnitude_override",stats={[1]="chilled_ground_base_magnitude_override"}},[436]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Chilling Area has %1%%% increased Movement Speed"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Chilling Area has %1%%% reduced Movement Speed"}}},name="chilling_area_movement_velocity",stats={[1]="chilling_area_movement_velocity_+%"}},[437]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Cleave has +1 to Radius per Nearby Enemy, up to +10"}}},name="cleave_radius_per_enemy",stats={[1]="cleave_+1_base_radius_per_nearby_enemy_up_to_10"}},[438]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextElementalStatusAilments"},limit={[1]={[1]="#",[2]="#"}},text="Consecrated Ground grants Immunity to Curses to you and Allies"}}},name="consecrated_ground_immune_to_curses",stats={[1]="consecrated_ground_immune_to_curses"}},[439]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Maximum of %1% Geysers at a time"}}},name="cremation_max_geysers",stats={[1]="corpse_erruption_maximum_number_of_geyers"}},[440]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text=" Slipstreams grant %1%%% increased Action Speed"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Slipstreams grant %1%%% reduced Action Speed"}}},name="slipstream_action_speed",stats={[1]="created_slipstream_action_speed_+%"}},[441]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Critical Strike Chance against Shocked Enemies"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Critical Strike Chance against Shocked Enemies"}}},name="crit_chance_vs_shocked_enemies",stats={[1]="critical_strike_chance_+%_vs_shocked_enemies"}},[442]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Critical Strike Chance per Power Charge"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Critical Strike Chance per Power Charge"}}},name="crit_chance_per_power_charge",stats={[1]="critical_strike_chance_+%_per_power_charge"}},[443]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1$+d%% to Critical Strike Multiplier for each blade"}}},name="crit_multi_per_blade",stats={[1]="critical_strike_multiplier_+_per_blade"}},[444]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1$+d%% to Critical Strike Multiplier per Power Charge"}}},name="crit_multi_per_power_charge",stats={[1]="critical_strike_multiplier_+_per_power_charge"}},[445]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Maximum %1% Stages"}}},name="cyclone_max_stages",stats={[1]="cyclone_max_number_of_stages"}},[446]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1$+d to Melee range per Stage"}}},name="cyclone_range_per_stage",stats={[1]="cyclone_melee_weapon_range_+_per_stage"}},[447]={lang={English={[1]={[1]={k="milliseconds_to_seconds",v=1},limit={[1]={[1]="#",[2]="#"}},text="Lose 1 Stage every %1% seconds while not Channelling"}}},name="cyclone_stage_decay_time",stats={[1]="cyclone_stage_decay_time_ms"}},[448]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Damage for each time this Skill has Chained"}}},name="damage_per_chain",stats={[1]="damage_+%_per_chain"}},[449]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Damage while Leeching Energy Shield"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Damage while Leeching Energy Shield"}}},name="damage_while_es_leeching",stats={[1]="damage_+%_while_es_leeching"}},[450]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Damage while Leeching Life"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Damage while Leeching Life"}}},name="damage_while_life_leeching",stats={[1]="damage_+%_while_life_leeching"}},[451]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Damage while Leeching Mana"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Damage while Leeching Mana"}}},name="damage_while_mana_leeching",stats={[1]="damage_+%_while_mana_leeching"}},[452]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Nearby Enemies are Blinded while in Sand Stance\nYou take %1%%% more Damage from Enemies that aren't nearby while in Sand Stance\nNearby Enemies are Maimed while in Blood Stance"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Nearby Enemies are Blinded while in Sand Stance\nYou take %1%%% less Damage from Enemies that aren't nearby while in Sand Stance\nNearby Enemies are Maimed while in Blood Stance"}}},name="sand_armour_damage_taken",stats={[1]="damage_taken_+%_final_from_enemies_unaffected_by_sand_armour"}},[453]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1%%% more Damage per Curse applied"}}},name="dark_ritual_damage",stats={[1]="dark_ritual_damage_+%_final_per_curse_applied"}},[454]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1%%% increased Debuff Duration per Curse applied"}}},name="dark_ritual_duration",stats={[1]="dark_ritual_skill_effect_duration_+%_per_curse_applied"}},[455]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Deals no Elemental Damage"}}},name="deal_no_elemental",stats={[1]="deal_no_elemental_damage"}},[456]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Maximum of %1% Corpses allowed"}}},name="desecrate_maximum_corpse_count",stats={[1]="desecrate_maximum_number_of_corpses"}},[457]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Applied Curses have %1%%% increased Effect"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Applied Curses have %1%%% reduced Effect"}}},name="linked_curse_effect_incr",stats={[1]="display_linked_curse_effect_+%"}},[458]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Debuff can have up to %1% layers of Damage"}}},name="blight_max_stacks",stats={[1]="display_max_blight_stacks"}},[459]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Burning Debuff can have a maximum of %1% stages"}}},name="fire_beam_max_stacks",stats={[1]="display_max_fire_beam_stacks"}},[460]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Modifiers to Melee Attack Range also apply to this Skill's Area radius"}}},name="display_melee_range_applies_to_radius",stats={[1]="display_modifiers_to_melee_attack_range_apply_to_skill_radius"}},[461]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Buff expiry rate cannot be modified"}}},name="display_fixed_duration_buff",stats={[1]="display_skill_fixed_duration_buff"}},[462]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Minions have the same Level as the Corpse"}}},name="display_minions_level_is_corpse_level",stats={[1]="display_skill_minions_level_is_corpse_level"}},[463]={lang={English={[1]={[1]={k="milliseconds_to_seconds_1dp",v=1},limit={[1]={[1]="#",[2]="#"}},text="Orbs jump every %1% seconds"}}},name="storm_burst_jump_time",stats={[1]="display_storm_burst_jump_time_ms"}},[464]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="This Skill's Cooldown does not recover during its effect"}}},name="display_no_cooldown_during_buff",stats={[1]="display_this_skill_cooldown_does_not_recover_during_buff"}},[465]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Monsters from the Breach do not grant Experience or drop Items"}}},name="display_vaal_breach_no_drops_xp",stats={[1]="display_vaal_breach_no_drops_xp"}},[466]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Projectiles travel %1%%% increased distance before changing forms"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Projectiles travel %1%%% reduced distance before changing forms"}}},name="distance_before_form_change",stats={[1]="distance_before_form_change_+%"}},[467]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Beam deals %1%%% more Damage with Ailments per Stage after the first"}}},name="divine_tempest_stage_ailment_damage",stats={[1]="divine_tempest_ailment_damage_+%_final_per_stage"}},[468]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Damage while Channelling"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Damage while Channelling"}}},name="divine_tempest_channelling_damage",stats={[1]="divine_tempest_damage_+%_final_while_channelling"}},[469]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Beam deals %1%%% more Damage with Hits per Stage after the first"}}},name="divine_tempest_stage_hit_damage",stats={[1]="divine_tempest_hit_damage_+%_final_per_stage"}},[470]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1%%% chance to gain an additional Stage when Hitting a Normal or Magic Enemy"}}},name="divine_tempest_normal_magic_chance",stats={[1]="divine_tempest_stage_on_hitting_normal_magic_%_chance"}},[471]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Gains an additional Stage when Hitting a Rare or Unique Enemy"}}},name="divine_tempest_rare_unique_chance",stats={[1]="divine_tempest_stage_on_hitting_rare_unique"}},[472]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextBloodStanceDefault"},limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Damage with Bleeding while in Blood Stance"},[2]={[1]={k="negate",v=1},[2]={k="reminderstring",v="ReminderTextBloodStanceDefault"},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Damage with Bleeding while in Blood Stance"}}},name="blood_stance_bleeding_damage",stats={[1]="double_slash_bleeding_damage_+%_final_in_blood_stance"}},[473]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1%%% more Critical Strike Chance against Enemies that are on Full Life"}}},name="dual_strike_crit_full_life",stats={[1]="dual_strike_critical_strike_chance_+%_final_against_enemies_on_full_life"}},[474]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1%%% more Damage with Hits and Ailments against Enemies that are on Full Life"}}},name="dual_strike_damage_full_life",stats={[1]="dual_strike_damage_+%_final_against_enemies_on_full_life"}},[475]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="Aftershock deals %1% to %2% Added Attack Physical Damage"}}},name="quake_slam_aftershock_added_phys",stats={[1]="earthquake_aftershock_minimum_added_physical_damage",[2]="earthquake_aftershock_maximum_added_physical_damage"}},[476]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="80%% more Area Radius against Enemies affected by an Ailment of the chosen Element"}}},name="elemental_hit_aoe_vs_associated_element",stats={[1]="elemental_hit_area_of_effect_+100%_final_vs_enemy_with_associated_ailment"}},[477]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="10%% more Damage per Elemental Ailment on the Enemy"}}},name="elemental_hit_damage_per_ailment",stats={[1]="elemental_hit_damage_+10%_final_per_enemy_elemental_ailment"}},[478]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Charged Slam Deals %1%%% more Damage"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Charged Slam Deals %1%%% less Damage"}}},name="endurance_charge_slam_extra_damage",stats={[1]="endurance_charge_slam_damage_+%_final_with_endurance_charge"}},[479]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Energy Shield Regeneration rate"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Energy Shield Regeneration rate"}}},name="energy_shield_regen_rate",stats={[1]="energy_shield_regeneration_rate_+%"}},[480]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1%%% increased angle per stage, up to 300%%"}}},name="expanding_fire_cone_angle_per_stage",stats={[1]="expanding_fire_cone_angle_+%_per_stage"}},[481]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Final wave always Ignites"}}},name="expanding_fire_cone_always_ignite",stats={[1]="expanding_fire_cone_final_wave_always_ignite"}},[482]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1% maximum stages"}}},name="expanding_fire_cone_stages",stats={[1]="expanding_fire_cone_maximum_number_of_stages"}},[483]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="%1$+d to radius per stage, up to %2$+d"}}},name="expanding_fire_cone_radius_per_stage",stats={[1]="expanding_fire_cone_radius_+_per_stage",[2]="expanding_fire_cone_radius_limit"}},[484]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Final wave deals %1%%% more Damage with Hits"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Final wave deals %1%%% less Damage with Hits"}}},name="expanding_fire_cone_release_hit",stats={[1]="expanding_fire_cone_release_hit_damage_+%_final"}},[485]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextDealsDamageFaster"},limit={[1]={[1]="#",[2]="#"}},text="Bleeding inflicted by this Skill deals Damage %1%%% faster"}}},name="faster_bleed",stats={[1]="faster_bleed_%"}},[486]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"},[3]={[1]="#",[2]="#"}},text="Gain %1% Life per Corpse consumed\nGain %2% Mana per Corpse consumed\nGain %3% Energy Shield per Corpse consumed"}}},name="feast_of_flesh_bonus_per_corpse",stats={[1]="feast_of_flesh_gain_X_life_per_corpse_consumed",[2]="feast_of_flesh_gain_X_mana_per_corpse_consumed",[3]="feast_of_flesh_gain_X_energy_shield_per_corpse_consumed"}},[487]={lang={English={[1]={[1]={k="multiplicative_damage_modifier",v=1},limit={[1]={[1]="#",[2]="#"}},text="Additional Debuff stages add %1%%% of Damage"}}},name="fire_beam_add_damage",stats={[1]="fire_beam_additional_stack_damage_+%_final"}},[488]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Total Fire Resistance penalty from all Beams cannot exceed %1$+d%%"}}},name="fire_beam_resistance_cap",stats={[1]="fire_beam_enemy_fire_resistance_%_maximum"}},[489]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Debuff applies %1$+d%% Fire Resistance per stage"}}},name="fire_beam_resistance_minus",stats={[1]="fire_beam_enemy_fire_resistance_%_per_stack"}},[490]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased beam length"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced beam length"}}},name="fire_beam_length_incr",stats={[1]="fire_beam_length_+%"}},[491]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="This Skill's Duration cannot be modified"}}},name="fixed_duration",stats={[1]="fixed_skill_effect_duration"}},[492]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1$+d%% chance to Ignite for each Stage"}}},name="flameblast_ignite_chance",stats={[1]="flameblast_ignite_chance_+%_per_stage"}},[493]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Modifiers to Cast Speed apply to the rotation speed of the Flames"}}},name="flamethrower_tower_trap_rotation",stats={[1]="flamethrower_tower_trap_display_cast_speed_affects_rotation"}},[494]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Has %1% Flames"}}},name="flamethrower_tower_trap_flames",stats={[1]="flamethrower_tower_trap_number_of_flamethrowers"}},[495]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Damage against Burning Enemies"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Damage against Burning Enemies"}}},name="flamethrower_trap_damage_against_burn",stats={[1]="flamethrower_trap_damage_+%_final_vs_burning_enemies"}},[496]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Buff grants %1%%% increased Movement Speed"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Buff grants %1%%% reduced Movement Speed"}}},name="flicker_strike_move_speed",stats={[1]="flicker_strike_buff_movement_speed_+%"}},[497]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Attack Damage per Frenzy Charge"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Attack Damage per Frenzy Charge"}}},name="frenzy_more_attack_damage_per_frenzy_charge",stats={[1]="frenzy_skill_attack_damage_+%_final_per_frenzy_charge"}},[498]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Attack Speed per Frenzy Charge"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Attack Speed per Frenzy Charge"}}},name="frenzy_more_attack_speed_per_frenzy_charge",stats={[1]="frenzy_skill_attack_speed_+%_final_per_frenzy_charge"}},[499]={lang={English={[1]={limit={[1]={[1]=1,[2]=1}},text="Can explode from 1 Frostbolt Projectile"},[2]={limit={[1]={[1]=2,[2]="#"}},text="Can explode from up to %1% Frostbolt Projectiles"}}},name="vortex_num_frost_bolts",stats={[1]="frost_bolt_nova_number_of_frost_bolts_to_detonate"}},[500]={lang={English={[1]={[1]={k="milliseconds_to_seconds",v=1},limit={[1]={[1]="#",[2]="#"}},text="%1$+d seconds to Base Duration per Stage"}}},name="frost_fury_added_duration",stats={[1]="frost_fury_added_duration_per_stage_ms"}},[501]={lang={English={[1]={[1]={k="milliseconds_to_seconds",v=1},limit={[1]={[1]="#",[2]="#"}},text="Fires projectiles every %1% seconds"}}},name="frost_fury_fire_interval",stats={[1]="frost_fury_base_fire_interval_ms"}},[502]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1%%% increased Duration per Stage"}}},name="frost_fury_incr_duration",stats={[1]="frost_fury_duration_+%_per_stage"}},[503]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1%%% more Projectile Frequency while Channelling"}}},name="frost_fury_fire_speed_channelling",stats={[1]="frost_fury_fire_speed_+%_final_while_channelling"}},[504]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1%%% increased Projectile Frequency per Stage"}}},name="frost_fury_fire_speed_incr",stats={[1]="frost_fury_fire_speed_+%_per_stage"}},[505]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Maximum %1% Stages"}}},name="frost_fury_stages",stats={[1]="frost_fury_max_number_of_stages"}},[506]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Gain %1% Rage on Hit"}}},name="rage_on_hit",stats={[1]="gain_rage_on_hit"}},[507]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextMaim"},limit={[1]={[1]="#",[2]="#"}},text="Maim on Hit"}}},name="always_maim",stats={[1]="global_maim_on_hit"}},[508]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="Adds %1% to %2% Physical Damage against Bleeding Enemies"}}},name="added_phys_vs_bleeding",stats={[1]="global_minimum_added_physical_damage_vs_bleeding_enemies",[2]="global_maximum_added_physical_damage_vs_bleeding_enemies"}},[509]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Final wave deals %1%%% more Damage with Ignite"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Final wave deals %1%%% less Damage with Ignite"}}},name="expanding_fire_cone_release_ignite",stats={[1]="grant_expanding_fire_cone_release_ignite_damage_+%_final"}},[510]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Grants Virulence when you Poison an Enemy"}}},name="herald_of_agony_stack",stats={[1]="herald_of_agony_add_stack_on_poison"}},[511]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Grants %1%%% more Poison Damage"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Grants %1%%% less Poison Damage"}}},name="herald_of_agony_damage",stats={[1]="herald_of_agony_poison_damage_+%_final"}},[512]={lang={English={[1]={[1]={k="per_minute_to_per_second",v=1},limit={[1]={[1]="#",[2]="#"}},text="Base Burning Damage is %1%%% of Overkill Damage"}}},name="herald_of_ash_burning_percent",stats={[1]="herald_of_ash_burning_%_overkill_damage_per_minute"}},[513]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="Adds %1% to %2% Physical Damage to Attacks"}}},name="herald_of_light_attack_added_physical",stats={[1]="herald_of_light_attack_minimum_added_physical_damage",[2]="herald_of_light_attack_maximum_added_physical_damage"}},[514]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="Adds %1% to %2% Physical Damage to Spells"}}},name="herald_of_light_spell_added_physical",stats={[1]="herald_of_light_spell_minimum_added_physical_damage",[2]="herald_of_light_spell_maximum_added_physical_damage"}},[515]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Summon a Sentinel of Purity when you Kill an Enemy"}}},name="herald_of_light_summon_on_kill",stats={[1]="herald_of_light_summon_champion_on_kill"}},[516]={lang={English={[1]={limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to Summon a Sentinel of Purity when you Hit a Rare or Unique Enemy"},[2]={limit={[1]={[1]=100,[2]="#"}},text="Summon a Sentinel of Purity when you Hit a Rare or Unique Enemy"}}},name="herald_of_light_summon_on_hit",stats={[1]="herald_of_light_summon_champion_on_unique_or_rare_enemy_hit_%"}},[517]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Hindered Enemies take %1%%% increased Chaos Damage"}}},name="hinder_damage_taken",stats={[1]="hinder_enemy_chaos_damage_taken_+%"}},[518]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"},[2]={[1]=1,[2]="#"}},text="%1%%% increased Cooldown Recovery Speed for each Normal or Magic Enemy in Area\n%2%%% increased Cooldown Recovery Speed for each Rare or Unique Enemy in Area"},[2]={[1]={k="negate",v=1},[2]={k="negate",v=2},limit={[1]={[1]="#",[2]=-1},[2]={[1]="#",[2]=-1}},text="%1%%% reduced Cooldown Recovery Speed for each Normal or Magic Enemy in Area\n%2%%% reduced Cooldown Recovery Speed for each Rare or Unique Enemy in Area"}}},name="ice_dash_cooldown_speed_incr",stats={[1]="ice_dash_cooldown_recovery_per_nearby_normal_or_magic_enemy",[2]="ice_dash_cooldown_recovery_per_nearby_rare_or_unique_enemy"}},[519]={lang={English={[1]={limit={[1]={[1]=1,[2]=1}},text="Can expand from 1 Frostbolt Projectile"},[2]={limit={[1]={[1]=2,[2]="#"}},text="Can expand from up to %1% Frostbolt Projectiles"}}},name="ice_nova_num_frost_bolts",stats={[1]="ice_nova_number_of_frost_bolts_to_cast_on"}},[520]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Enemies Ignited by this Skill have %1$+d%% to Fire Resistance"}}},name="ignites_apply_fire_res",stats={[1]="ignites_apply_fire_resistance_+"}},[521]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Impale Effect"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Impale Effect"}}},name="impale_effect",stats={[1]="impale_debuff_effect_+%"}},[522]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Cold Damage taken"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Cold Damage taken"}}},name="impurity_less_cold_damage_taken",stats={[1]="impurity_cold_damage_taken_+%_final"}},[523]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Fire Damage taken"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Fire Damage taken"}}},name="impurity_less_fire_damage_taken",stats={[1]="impurity_fire_damage_taken_+%_final"}},[524]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Lightning Damage taken"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Lightning Damage taken"}}},name="impurity_less_lightning_damage_taken",stats={[1]="impurity_lightning_damage_taken_+%_final"}},[525]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Debuff deals %1%%% of Damage per Charge"}}},name="infernal_blow_damage",stats={[1]="infernal_blow_explosion_damage_%_of_total_per_stack"}},[526]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextDamagingAilments"},limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Damage with Hits and Ailments against Bleeding enemies"},[2]={[1]={k="negate",v=1},[2]={k="reminderstring",v="ReminderTextDamagingAilments"},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Damage with Hits and Ailments against Bleeding enemies"}}},name="lacerate_damage_vs_bleeding",stats={[1]="lacerate_hit_and_ailment_damage_+%_final_vs_bleeding_enemies"}},[527]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextDamagingAilments"},limit={[1]={[1]=1,[2]="#"}},text="Stronger Pulses deal %1%%% more Damage with Hits and Ailments"},[2]={[1]={k="negate",v=1},[2]={k="reminderstring",v="ReminderTextDamagingAilments"},limit={[1]={[1]="#",[2]=-1}},text="Stronger Pulses deal %1%%% less Damage with Hits and Ailments"}}},name="ightning_tendrils_pulse_damage",stats={[1]="lightning_tendrils_channelled_larger_pulse_damage_+%_final"}},[528]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Stronger Pulse has %1$+d to Radius"}}},name="lightning_tendrils_pulse_radius",stats={[1]="lightning_tendrils_channelled_larger_pulse_radius_+"}},[529]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]=0,[2]=0}},text="Strikes %1% Areas"},[2]={[1]={k="milliseconds_to_seconds",v=2},limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="Strikes %1% Areas every %2% seconds"}}},name="lightning_tower_trap_number_of_beams",stats={[1]="lightning_tower_trap_number_of_beams",[2]="lightning_tower_trap_interval_duration_ms"}},[530]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Effect of Maim"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Effect of Maim"}}},name="maim_effect",stats={[1]="maim_effect_+%"}},[531]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextMaim"},limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to Maim on Hit"},[2]={[1]={k="reminderstring",v="ReminderTextMaim"},limit={[1]={[1]=100,[2]="#"}},text="Maim on Hit"}}},name="maim_chance",stats={[1]="maim_on_hit_%"}},[532]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Can have up to %1% Crab Barriers"}}},name="max_crab_barriers",stats={[1]="max_crab_aspect_stacks"}},[533]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Also targets %1% nearby Enemies"}}},name="number_of_spirit_strikes",stats={[1]="melee_attack_number_of_spirit_strikes"}},[534]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="%1% to %2% Cold Damage per Frenzy Charge"}}},name="support_ice_bite_damage",stats={[1]="minimum_added_cold_damage_per_frenzy_charge",[2]="maximum_added_cold_damage_per_frenzy_charge"}},[535]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="Adds %1% to %2% Cold Damage against Chilled Enemies"}}},name="added_cold_vs_chilled_enemies",stats={[1]="minimum_added_cold_damage_vs_chilled_enemies",[2]="maximum_added_cold_damage_vs_chilled_enemies"}},[536]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="Aura grants %1% to %2% added Lightning Damage"}}},name="skill_grants_lightning_damage",stats={[1]="minimum_added_lightning_damage_from_skill",[2]="maximum_added_lightning_damage_from_skill"}},[537]={lang={English={[1]={[1]={k="per_minute_to_per_second",v=1},[2]={k="per_minute_to_per_second",v=2},limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="Ignites deal %1% to %2% Fire Damage per Second"}}},name="secondary_ignite_damage",stats={[1]="minimum_ignite_damage_to_deal_per_minute_from_secondary_damage",[2]="maximum_ignite_damage_to_deal_per_minute_from_secondary_damage"}},[538]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="%1% to %2% Base Physical Damage per 15 Strength"}}},name="secondary_physical_damage_range_per_strength",stats={[1]="minimum_secondary_physical_damage_per_15_strength",[2]="maximum_secondary_physical_damage_per_15_strength"}},[539]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Minions gain %1%%% chance to deal Double Damage"}}},name="minion_double_damage_chance",stats={[1]="minion_chance_to_deal_double_damage_%"}},[540]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"},[3]={[1]="#",[2]="#"}},text="%1%%% of Damage from Hits is taken from the Buff before your Life or Energy Shield\nBuff can take Damage equal to %2%%% of your Armour, up to a maximum of %3%"}}},name="molten_shell_damage_buffer",stats={[1]="molten_shell_damage_absorbed_%",[2]="molten_shell_damage_absorb_limit_%_of_armour",[3]="molten_shell_max_damage_absorbed"}},[541]={lang={English={}},name="molten_shell_damage_reflect"},[542]={lang={English={}}},[543]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Elemental Damage taken"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Elemental Damage taken"}}},name="immortal_call_elemental_taken",stats={[1]="mortal_call_elemental_damage_taken_+%_final"}},[544]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Physical Damage taken"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Physical Damage taken"}}},name="immortal_call_phys_taken",stats={[1]="mortal_call_physical_damage_taken_+%_final"}},[545]={lang={English={[1]={[1]={k="divide_by_one_hundred",v=1},limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Physical Damage taken per Endurance Charge removed"},[2]={[1]={k="divide_by_one_hundred_and_negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Physical Damage taken per Endurance Charge removed"}}},name="immortal_call_phys_taken_per_endurance_charge",stats={[1]="mortal_call_physical_damage_taken_per_endurance_charge_consumed_final_permyriad"}},[546]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="First Repeat deals %1%%% more Damage"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="First Repeat deals %1%%% less Damage"}}},name="multistrike_first_repeat_damage",stats={[1]="multistrike_damage_+%_final_on_first_repeat"}},[547]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Second Repeat deals %1%%% more Damage"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Second Repeat deals %1%%% less Damage"}}},name="multistrike_second_repeat_damage",stats={[1]="multistrike_damage_+%_final_on_second_repeat"}},[548]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextNonDamagingAilments"},limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Effect of non-Damaging Ailments on Enemies"},[2]={[1]={k="negate",v=1},[2]={k="reminderstring",v="ReminderTextNonDamagingAilments"},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Effect of non-Damaging Ailments on Enemies"}}},name="ailment_non_damaging_incr_effect",stats={[1]="non_damaging_ailment_effect_+%"}},[549]={lang={English={[1]={limit={[1]={[1]=1,[2]=1}},text="Maximum %1% Summoned Sentinel of Purity"},[2]={limit={[1]={[1]=2,[2]="#"}},text="Maximum %1% Summoned Sentinels of Purity"}}},name="herald_of_light_max_champions",stats={[1]="number_of_champions_of_light_allowed"}},[550]={lang={English={[1]={limit={[1]={[1]=1,[2]=1}},text="Destroys up to 1 Corpse"},[2]={limit={[1]={[1]="#",[2]="#"}},text="Destroys up to %1% Corpses"}}},name="number_of_corpses",stats={[1]="number_of_corpses_to_consume"}},[551]={lang={English={[1]={limit={[1]={[1]=1,[2]=1}},text="Can have up to %1% Effigy Summoned at a time"},[2]={limit={[1]={[1]=2,[2]="#"}},text="Can have up to %1% Effigies Summoned at a time"}}},name="number_of_effigies",stats={[1]="base_number_of_effigies_allowed"}},[552]={lang={English={[1]={limit={[1]={[1]=1,[2]=1}},text="Can have up to %1% Agony Crawler at a time"},[2]={limit={[1]={[1]=2,[2]="#"}},text="Can have up to %1% Agony Crawlers at a time"}}},name="herald_of_agony_max_minions",stats={[1]="number_of_herald_scorpions_allowed"}},[553]={lang={English={[1]={limit={[1]={[1]=1,[2]=1}},text="Maximum %1% Summoned Holy Relic"},[2]={limit={[1]={[1]="#",[2]="#"}},text="Maximum %1% Summoned Holy Relics"}}},name="number_of_relics_allowed",stats={[1]="number_of_relics_allowed"}},[554]={lang={English={[1]={[1]={k="milliseconds_to_seconds_2dp",v=1},limit={[1]={[1]=1000,[2]=1000}},text="Strikes every %1% second"},[2]={[1]={k="milliseconds_to_seconds_2dp",v=1},limit={[1]={[1]="#",[2]="#"}},text="Strikes every %1% seconds"}}},name="orb_of_storms_bolt_frequency",stats={[1]="orb_of_storms_bolt_frequency_ms"}},[555]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1%%% chance to gain a Frenzy Charge when your Trap is triggered by an Enemy"},[2]={limit={[1]={[1]=100,[2]=100}},text="Gain a Frenzy Charge when your Trap is triggered by an Enemy"}}},name="frenzy_charge_on_trap_trig",stats={[1]="%_chance_to_gain_frenzy_charge_on_trap_triggered_by_an_enemy"}},[556]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1%%% chance to gain a Power Charge when your Trap is triggered by an Enemy"},[2]={limit={[1]={[1]=100,[2]=100}},text="Gain a Power Charge when your Trap is triggered by an Enemy"}}},name="power_charge_on_trap_trig",stats={[1]="%_chance_to_gain_power_charge_on_trap_triggered_by_an_enemy"}},[557]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Enemy Action Speed is reduced by %1%%% every 0.3 seconds"}}},name="petrification_statue_action_speed",stats={[1]="petrification_statue_target_action_speed_-%"}},[558]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]=0,[2]=0}},text="Releases %1% waves"},[2]={[1]={k="milliseconds_to_seconds",v=2},limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="Releases %1% waves every %2% seconds"}}},name="phys_cascade_trap_number_of_cascades",stats={[1]="phys_cascade_trap_number_of_cascades",[2]="phys_cascade_trap_interval_duration_ms"}},[559]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Grants %1%%% additional Physical Damage Reduction per Crab Barrier"}}},name="phys_reduction_per_crab_barrier",stats={[1]="physical_damage_reduction_%_per_crab_aspect_stack"}},[560]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextImpale"},limit={[1]={[1]=1,[2]=99}},text="Primary Projectile has %1$+d%% chance to Impale Enemies on Hit"},[2]={[1]={k="reminderstring",v="ReminderTextImpale"},limit={[1]={[1]=100,[2]="#"}},text="Primary Projectile Impales Enemies on Hit"}}},name="primary_proj_impale_chance",stats={[1]="primary_projectile_impale_chance_%"}},[561]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Damage with Bleeding"},[2]={limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Damage with Bleeding"}}},name="puncture_bleeding_damage",stats={[1]="puncture_bleeding_damage_+%_final"}},[562]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Exposure applies %1$+d%% to Elemental Resistance matching highest Damage taken"}}},name="purge_resist",stats={[1]="purge_expose_resist_%_matching_highest_element_damage"}},[563]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="%1%%% of Damage from Hits is taken from the Buff before your Life or Energy Shield\nBuff can take %2% Damage"}}},name="quick_guard_damage_buff",stats={[1]="quick_guard_damage_absorbed_%",[2]="quick_guard_damage_absorb_limit"}},[564]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1%%% chance to fire an additional sequence of arrows"}}},name="rain_of_arrows_additional_chance",stats={[1]="rain_of_arrows_additional_sequence_chance_%"}},[565]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Raises Spectres up to Level %1%"}}},name="raised_spectre_level",stats={[1]="raised_spectre_max_level"}},[566]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Brands gain %1%%% increased Attachment Range"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Brands gain %1%%% reduced Attachment Range"}}},name="sigil_target_search_range_modifier",stats={[1]="recall_sigil_target_search_range_+%"}},[567]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Shockwave deals %1%%% more Damage"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Shockwave deals %1%%% less Damage"}}},name="sactify_wave_damage",stats={[1]="sanctify_wave_damage_+%_final"}},[568]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Agony Crawler has %1%%% increased Attack Speed per Virulence you have"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Agony Crawler has %1%%% reduced Attack Speed per Virulence you have"}}},name="herald_of_agony_minion_attack_speed_incr_per_virulence",stats={[1]="scorpion_minion_attack_speed_+%"}},[569]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Agony Crawler deals %1%%% increased Physical Damage per Virulence you have"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Agony Crawler deals %1%%% reduced Physical Damage per Virulence you have"}}},name="herald_of_agony_minion_damage_incr_per_virulence",stats={[1]="scorpion_minion_physical_damage_+%"}},[570]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="Agony Crawler has %1% to %2% Added Physical Damage per Virulence you have"}}},name="herald_of_agony_minion_added_damage_per_virulence",stats={[1]="scorpion_minion_minimum_added_physical_damage",[2]="scorpion_minion_maximum_added_physical_damage"}},[571]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Projectiles gain Damage as they travel farther, dealing up to %1%%% more Damage with Hits"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Projectiles gain Damage as they travel farther, dealing up to %1%%% less Damage with Hits"}}},name="shattering_steel_damage_scaling",stats={[1]="shattering_steel_damage_+%_final_scaled_by_projectile_distance"}},[572]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Effect of Shock"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Effect of Shock"}}},name="shock_effect",stats={[1]="shock_effect_+%"}},[573]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Shocked Ground causes %1%%% increased Damage taken"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Shocked Ground causes %1%%% reduced Damage taken"}}},name="shocked_ground_stat_override",stats={[1]="shocked_ground_base_magnitude_override"}},[574]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Causes %1% smaller explosions"}}},name="shrapnel_trap_secondary_explosions",stats={[1]="shrapnel_trap_number_of_secondary_explosions"}},[575]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Damage Penetrates %1%%% of Branded Enemy's Fire Resistance"}}},name="sigil_attached_target_fire_penetration",stats={[1]="sigil_attached_target_fire_penetration_%"}},[576]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Damage Penetrates %1%%% of Branded Enemy's Lightning Resistance"}}},name="sigil_attached_target_lightning_penetration",stats={[1]="sigil_attached_target_lightning_penetration_%"}},[577]={lang={English={[1]={[1]={k="milliseconds_to_seconds",v=1},limit={[1]={[1]="#",[2]="#"}},text="Brands refresh their Detached Duration by up to %1% seconds"}}},name="sigil_recall_inactive_duration_extend",stats={[1]="sigil_recall_extend_base_secondary_skill_effect_duration"}},[578]={lang={English={[1]={[1]={k="milliseconds_to_seconds",v=1},limit={[1]={[1]="#",[2]="#"}},text="Brands refresh their Attached Duration by up to %1% seconds"}}},name="sigil_recall_active_duration_extend",stats={[1]="sigil_recall_extend_base_skill_effect_duration"}},[579]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextBloodStanceDefault"},limit={[1]={[1]="#",[2]="#"}},text="%1%%% increased angle while in Sand Stance"}}},name="sand_stance_angle",stats={[1]="skill_angle_+%_in_sand_stance"}},[580]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Can have up to 1 Mirage Archer Summoned at a time"}}},name="can_have_mirage_archer",stats={[1]="skill_can_own_mirage_archers"}},[581]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Movement Speed"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Movement Speed"}}},name="skill_movement_speed",stats={[1]="skill_code_movement_speed_+%_final"}},[582]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextDamagingAilments"},limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Duration of Damaging Ailments"},[2]={[1]={k="negate",v=1},[2]={k="reminderstring",v="ReminderTextDamagingAilments"},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Duration of Damaging Ailments"}}},name="skill_and_damaging_ailment_duration_incr",stats={[1]="skill_effect_and_damaging_ailment_duration_+%"}},[583]={lang={English={[1]={[1]={k="milliseconds_to_seconds_2dp",v=1},limit={[1]={[1]=1,[2]="#"}},text="%1% seconds additional Base Duration per 100 Intelligence"}}},name="duration_per_int",stats={[1]="skill_effect_duration_per_100_int"}},[584]={lang={English={[1]={limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to Trigger this Spell when you Focus"},[2]={limit={[1]={[1]=100,[2]="#"}},text="Trigger this Spell when you Focus"}}},name="focus_trigger",stats={[1]="skill_triggered_when_you_focus_chance_%"}},[585]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="This Skill's Cast Speed cannot be modified"}}},name="cast_time_cannot_be_modified",stats={[1]="spell_cast_time_cannot_be_modified"}},[586]={lang={English={[1]={limit={[1]={[1]=1,[2]=1}},text="Can inflict up to 1 Spider's Web on an Enemy"},[2]={limit={[1]={[1]=2,[2]="#"}},text="Can inflict up to %1% Spider's Webs on an Enemy"}}},name="spider_aspect_max_webs",stats={[1]="spider_aspect_max_web_count"}},[587]={lang={English={[1]={[1]={k="milliseconds_to_seconds",v=1},limit={[1]={[1]=1000,[2]=1000}},text="Beams Hit Enemies every %1% second"},[2]={[1]={k="milliseconds_to_seconds_2dp",v=1},limit={[1]={[1]="#",[2]="#"}},text="Beams Hit Enemies every %1% seconds"}}},name="static_strike_zap_speed",stats={[1]="static_strike_base_zap_frequency_ms"}},[588]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Beams deal %1%%% more Damage while Stationary"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Beams deal %1%%% less Damage while Stationary"}}},name="static_strike_beam_damage",stats={[1]="static_strike_beam_damage_+%_final"}},[589]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Beams deal %1%%% more Damage while Moving"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Beams deal %1%%% less Damage while Moving"}}},name="static_strike_beam_damage_moving",stats={[1]="static_strike_beam_damage_+%_final_while_moving"}},[590]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1% maximum Beam Targets"}}},name="static_strike_beams",stats={[1]="static_strike_number_of_beam_targets"}},[591]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1%%% increased Beam frequency per Buff stack"}}},name="static_strike_zap_speed_modifier",stats={[1]="static_strike_zap_speed_+%_per_stack"}},[592]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Exploding Orbs deal %1%%% of Skill Damage for each 0.4 seconds of remaining Duration"}}},name="storm_burst_new_damage_per_remaining",stats={[1]="storm_burst_new_damage_+%_final_per_remaining_teleport_zap"}},[593]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="When you Hit an Enemy with an Arrow from this Skill, Summons a Mirage Archer which uses this Skill"}}},name="summon_mirage_archer",stats={[1]="summon_mirage_archer_on_hit"}},[594]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Each Spider grants %1%%% increased Attack Speed"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Each Spider grants %1%%% reduced Attack Speed"}}},name="spider_grants_attack_speed",stats={[1]="summoned_spider_grants_attack_speed_+%"}},[595]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Each Spider grants %1%%% increased Damage with Poison"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Each Spider grants %1%%% reduced Damage with Poison"}}},name="spider_grants_poison_damage",stats={[1]="summoned_spider_grants_poison_damage_+%"}},[596]={lang={English={[1]={[1]={k="milliseconds_to_seconds_2dp",v=1},limit={[1]={[1]=1,[2]="#"}},text="Aura Lasts %1% seconds"}}},name="aura_duration_buff",stats={[1]="support_aura_duration_buff_duration"}},[597]={lang={English={[1]={[1]={k="milliseconds_to_seconds_2dp",v=1},limit={[1]={[1]=1,[2]="#"}},text="Mana Reservation Lasts %1% seconds"}}},name="aura_duration_reserve",stats={[1]="support_aura_duration_reserve_duration"}},[598]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextDamagingAilments"},limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Damage with Ailments"},[2]={[1]={k="negate",v=1},[2]={k="reminderstring",v="ReminderTextDamagingAilments"},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Damage with Ailments"}}},name="support_better_ailments_bonus",stats={[1]="support_better_ailments_ailment_damage_+%_final"}},[599]={lang={English={[1]={limit={[1]={[1]=1,[2]=99}},text="This Skill has a %1%%% chance to Trigger Shockwave Skill on Hit"},[2]={limit={[1]={[1]=100,[2]="#"}},text="This Skill will Trigger Shockwave Skill on Hit"}}},stats={[1]="support_blunt_chance_to_trigger_shockwave_on_hit_%"}},[600]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Supported Attacks deal %1%%% more Damage with Bleeding"},[2]={limit={[1]={[1]="#",[2]=-1}},text="Supported Attacks deal %1%%% less Damage with Bleeding"}}},name="chance_to_bleed_damage_incr",stats={[1]="support_chance_to_bleed_bleeding_damage_+%_final"}},[601]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextChillingArea"},limit={[1]={[1]=1,[2]="#"}},text="Enemies in Chilling Areas from this Skill take %1%%% increased Cold Damage over Time"},[2]={[1]={k="negate",v=1},[2]={k="reminderstring",v="ReminderTextChillingArea"},limit={[1]={[1]="#",[2]=-1}},text="Enemies in Chilling Areas from this Skill take %1%%% reduced Cold Damage over Time"}}},name="support_chilling_areas_incr_cold_dot_taken",stats={[1]="support_chilling_areas_also_grant_cold_damage_taken_per_minute_+%"}},[602]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextChillingArea"},limit={[1]={[1]="#",[2]="#"}},text="Enemies in Chilling Areas from this Skill have Cold Damage taken increased by Chill Effect"}}},name="support_chilling_areas_incr_cold_damage_taken",stats={[1]="support_chilling_areas_also_grant_cold_damage_taken_+%_equal_to_slow_amount"}},[603]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Enemies Chilled by this Skill take %1%%% increased Cold Damage over Time"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Enemies Chilled by this Skill take %1%%% reduced Cold Damage over Time"}}},name="support_chills_incr_cold_dot_taken",stats={[1]="support_chills_also_grant_cold_damage_taken_per_minute_+%"}},[604]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Enemies Chilled by this Skill have Cold Damage taken increased by Chill Effect"}}},name="support_chills_incr_cold_damage_taken",stats={[1]="support_chills_also_grant_cold_damage_taken_+%_equal_to_slow_amount"}},[605]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"},[2]={[1]="#",[2]="#"}},text="%1%%% more Damage with Hits for each Poison on the Enemy, up to %2%"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1},[2]={[1]="#",[2]="#"}},text="%1%%% less Damage with Hits for each Poison on the Enemy, up to %2%"}}},name="support_debilitate_hit_damage",stats={[1]="support_debilitate_hit_damage_+%_final_per_poison_stack",[2]="support_debilitate_hit_damage_max_poison_stacks"}},[606]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Damage while Leeching Energy Shield"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Damage while Leeching Energy Shield"}}},name="damage_while_es_leeching_more",stats={[1]="support_energy_shield_leech_damage_+%_while_leeching_energy_shield_final"}},[607]={lang={English={[1]={[1]={k="milliseconds_to_seconds",v=1},limit={[1]={[1]=1,[2]="#"}},text="Phantasms last %1% seconds"}}},name="ghost_duration",stats={[1]="support_ghost_duration"}},[608]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Area of Effect per Repeat"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Area of Effect per Repeat"}}},name="greater_spell_echo_area_per_repeat",stats={[1]="support_greater_spell_echo_area_of_effect_+%_per_repeat"}},[609]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Spell Damage per Repeat"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Spell Damage per Repeat"}}},name="greater_spell_echo_damage_per_repeat",stats={[1]="support_greater_spell_echo_spell_damage_+%_final_per_repeat"}},[610]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Damage with Ignite"},[2]={limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Damage with Ignite"}}},name="ignite_prolif_damage",stats={[1]="support_ignite_prolif_ignite_damage_+%_final"}},[611]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Physical Damage"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Physical Damage"}}},name="maim_phys_damage",stats={[1]="support_maim_chance_physical_damage_+%_final"}},[612]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Enemies Maimed by this Skill take %1%%% increased Physical Damage"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Enemies Maimed by this Skill take %1%%% reduced Physical Damage"}}},name="maimed_phys_damage_taken_incr",stats={[1]="support_maimed_enemies_physical_damage_taken_+%"}},[613]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="%1% to %2% added Fire Damage against Burning Enemies"}}},name="added_fire_against_burning",stats={[1]="global_minimum_added_fire_damage_vs_burning_enemies",[2]="global_maximum_added_fire_damage_vs_burning_enemies"}},[614]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Minions and Skills used by Totems deal %1%%% more Elemental Damage"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Minions and Skills used by Totems deal %1%%% less Elemental Damage"}}},name="minion_totem_resistance_support_damage",stats={[1]="support_minion_totem_resistance_elemental_damage_+%_final"}},[615]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Mirage Archer uses this Skill with %1%%% more Attack Speed"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Mirage Archer uses this Skill with %1%%% less Attack Speed"}}},name="mirage_archer_attack_speed",stats={[1]="support_mirage_archer_attack_speed_+%_final"}},[616]={lang={English={[1]={[1]={k="milliseconds_to_seconds",v=1},limit={[1]={[1]=1,[2]="#"}},text="Mirage Archer lasts %1% seconds"}}},name="mirage_archer_duration",stats={[1]="support_mirage_archer_duration"}},[617]={lang={English={[1]={[1]={k="milliseconds_to_seconds",v=1},[2]={k="reminderstring",v="ReminderTextOverpowered"},limit={[1]={[1]="#",[2]="#"}},text="Inflict Overpowered for %1% seconds when Blocked"}}},name="support_overpowered_on_enemy_block_duration",stats={[1]="support_overpowered_duration_ms"}},[618]={lang={English={[1]={limit={[1]={[1]=1,[2]=1}},text="Also fires Projectiles from up to %1% point on each side of you"},[2]={limit={[1]={[1]=2,[2]="#"}},text="Also fires Projectiles from up to %1% points on each side of you"}}},name="support_parallel_projectiles",stats={[1]="support_parallel_projectile_number_of_points_per_side"}},[619]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Damage per Power Charge"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Damage per Power Charge"}}},name="power_charge_on_crit_damage",stats={[1]="support_power_charge_on_crit_damage_+%_final_per_power_charge"}},[620]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Area of Effect"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Area of Effect"}}},name="pulverise_area_of_effect",stats={[1]="support_pulverise_area_of_effect_+%_final"}},[621]={lang={English={[1]={[1]={k="milliseconds_to_seconds",v=1},limit={[1]={[1]="#",[2]="#"}},text="Gain 1 Rage on Melee Hit, no more than once every %1% seconds"}}},name="angry_hit",stats={[1]="support_rage_gain_rage_on_melee_hit_cooldown_ms"}},[622]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Enemies have -%1%%% chance to Block Attack or Spell Damage from this Skill"}}},name="support_reduced_block_chance",stats={[1]="support_reduce_enemy_block_and_spell_block_%"}},[623]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Enemies have -%1%%% chance to Dodge Attack or Spell Hits from this Skill"}}},name="support_reduced_dodge_chance",stats={[1]="support_reduce_enemy_dodge_and_spell_dodge_%"}},[624]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextOnslaught"},limit={[1]={[1]="#",[2]="#"}},text="%1%%% chance to gain Onslaught for 3 seconds when you Hit a Unique Enemy"}}},name="support_scion_unique_chance",stats={[1]="support_scion_onslaught_for_3_seconds_on_hitting_unique_enemy_%_chance"}},[625]={lang={English={[1]={[1]={k="milliseconds_to_seconds",v=2},[2]={k="reminderstring",v="ReminderTextOnslaught"},limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="%1%%% chance to grant Onslaught for %2% seconds on\ndealing a Killing Blow"}}},name="support_scion_chance",stats={[1]="support_scion_onslaught_on_killing_blow_%_chance",[2]="support_scion_onslaught_on_killing_blow_duration_ms"}},[626]={lang={English={[1]={[1]={k="milliseconds_to_seconds",v=1},limit={[1]={[1]=1000,[2]=1000}},text="Grants Combat Rush on Hit\nCombat Rush lasts %1% second or until you use a Travel Skill"},[2]={[1]={k="milliseconds_to_seconds",v=1},limit={[1]={[1]="#",[2]="#"}},text="Grants Combat Rush on Hit\nCombat Rush lasts %1% seconds or until you use a Travel Skill"}}},name="combat_rush_buff_duration",stats={[1]="support_slashing_buff_duration_ms"}},[627]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Combat Rush grants %1%%% more Attack and Cast Speed to Travel Skills that are not Supported by Close Combat"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Combat Rush grants %1%%% less Attack and Cast Speed to Travel Skills that are not Supported by Close Combat"}}},name="combat_rush_speed",stats={[1]="support_slashing_buff_attack_cast_speed_+%_final_to_grant"}},[628]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Deals up to %1%%% more Melee Damage to Enemies, based on proximity"}}},stats={[1]="support_slashing_damage_+%_final_from_distance"}},[629]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Area Damage per Intensity"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Area Damage per Intensity"}}},name="spell_focus_damage",stats={[1]="support_spell_boost_area_damage_+%_final_per_charge"}},[630]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Area of Effect per Intensity"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Area of Effect per Intensity"}}},name="spell_focus_area",stats={[1]="support_spell_boost_area_of_effect_+%_final_per_charge"}},[631]={lang={English={[1]={[1]={k="milliseconds_to_seconds_2dp",v=1},limit={[1]={[1]="#",[2]="#"}},text="This Skill gains Intensity when used, up to a maximum of 4\nIntensity is lowered every %1% seconds while moving, or immediately if you teleport"}}},name="spell_focus_loss",stats={[1]="support_spell_boost_charge_loss_interval_ms_while_moving"}},[632]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Area of Effect"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Area of Effect"}}},name="support_cascade_area_of_effect",stats={[1]="support_spell_cascade_area_of_effect_+%_final"}},[633]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Also affects areas in front and behind the targeted area"}}},name="support_spell_cascade",stats={[1]="support_spell_cascade_number_of_cascades_per_side"}},[634]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Infusion grants %1%%% more Chaos Damage"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Infusion grants %1%%% less Chaos Damage"}}},name="storm_barrier_damage_buff",stats={[1]="support_storm_barrier_chaos_damage_+%_final_to_apply"}},[635]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Infusion grants %1%%% more Cold Damage"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Infusion grants %1%%% less Cold Damage"}}},name="storm_barrier_cold_damage_buff",stats={[1]="support_storm_barrier_cold_damage_+%_final_to_apply"}},[636]={lang={English={[1]={[1]={k="milliseconds_to_seconds",v=1},limit={[1]={[1]=1000,[2]=1000}},text="Infusion lasts %1% second after you finish Channelling"},[2]={[1]={k="milliseconds_to_seconds",v=1},limit={[1]={[1]="#",[2]="#"}},text="Infusion lasts %1% seconds after you finish Channelling"}}},name="storm_barrier_damage_buff_duration",stats={[1]="support_storm_barrier_damage_buff_duration_ms"}},[637]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Infusion grants %1%%% more Fire Damage"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Infusion grants %1%%% less Fire Damage"}}},name="storm_barrier_fire_damage_buff",stats={[1]="support_storm_barrier_fire_damage_+%_final_to_apply"}},[638]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Infusion grants %1%%% more Lightning Damage"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Infusion grants %1%%% less Lightning Damage"}}},name="storm_barrier_lightning_damage_buff",stats={[1]="support_storm_barrier_lightning_damage_+%_final_to_apply"}},[639]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Infusion grants %1%%% more Physical Damage"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Infusion grants %1%%% less Physical Damage"}}},name="storm_barrier_phys_damage_buff",stats={[1]="support_storm_barrier_physical_damage_+%_final_to_apply"}},[640]={lang={English={[1]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]="#"}},text="While Channelling this Skill, you take %1%%% less Physical Damage from Hits"}}},name="storm_barrier_phys_damage_taken_extra",stats={[1]="support_storm_barrier_physical_damage_taken_when_hit_+%_final"}},[641]={lang={English={[1]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]="#"}},text="While Channelling this Skill, you take %1%%% less Chaos Damage from Hits"}}},name="storm_barrier_chaos_damage_taken",stats={[1]="support_storm_barrier_chaos_damage_taken_+%_final_from_hits_while_channelling"}},[642]={lang={English={[1]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]="#"}},text="While Channelling this Skill, you take %1%%% less Cold Damage from Hits"}}},name="storm_barrier_cold_damage_taken",stats={[1]="support_storm_barrier_cold_damage_taken_+%_final_from_hits_while_channelling"}},[643]={lang={English={[1]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]="#"}},text="While Channelling this Skill, you take %1%%% less Fire Damage from Hits"}}},name="storm_barrier_fire_damage_taken",stats={[1]="support_storm_barrier_fire_damage_taken_+%_final_from_hits_while_channelling"}},[644]={lang={English={[1]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]="#"}},text="While Channelling this Skill, you take %1%%% less Lightning Damage from Hits"}}},name="storm_barrier_lightning_damage_taken",stats={[1]="support_storm_barrier_lightning_damage_taken_+%_final_from_hits_while_channelling"}},[645]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextDamagingAilments"},limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Damage with Ailments"},[2]={[1]={k="negate",v=1},[2]={k="reminderstring",v="ReminderTextDamagingAilments"},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Damage with Ailments"}}},name="ailment_damage_incr",stats={[1]="support_unbound_ailments_ailment_damage_+%_final"}},[646]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="This Skill can only be used with Axes and Swords"}}},name="skill_can_only_use_axe_sword",stats={[1]="supported_skill_can_only_use_axe_and_sword"}},[647]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="This Skill can only be used with Maces and Staves"}}},name="skill_can_only_use_mace_staff",stats={[1]="supported_skill_can_only_use_mace_and_staff"}},[648]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% chance to consume an Endurance Charge to create a Charged Slam"}}},name="tectonic_slam_endurance_charge_use",stats={[1]="tectonic_slam_chance_to_use_endurance_charge_%"}},[649]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1$+d%% to Critical Strike Multiplier per Power Charge when used by Traps"}}},name="trap_crit_per_power_charge",stats={[1]="trap_critical_strike_multiplier_+_per_power_charge"}},[650]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% increased Trap Throwing Speed per Frenzy Charge"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="%1%%% reduced Trap Throwing Speed per Frenzy Charge"}}},name="trap_throwing_speed_per_frenzy",stats={[1]="trap_throwing_speed_+%_per_frenzy_charge"}},[651]={lang={English={[1]={limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to Trigger this Skill after Spending a total of 200 Mana"},[2]={limit={[1]={[1]=100,[2]="#"}},text="Trigger this Skill after Spending a total of 200 Mana"}}},name="trigger_on_200_mana_spent",stats={[1]="trigger_after_spending_200_mana_%_chance"}},[652]={lang={English={[1]={limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to Trigger when you Attack with a Bow"},[2]={limit={[1]={[1]=100,[2]="#"}},text="Trigger this Attack when you Attack with a Bow"}}},name="attack_on_bow_attack",stats={[1]="trigger_on_bow_attack_%"}},[653]={lang={English={[1]={limit={[1]={[1]=1,[2]=1}},text="%1%%% chance to Trigger this Skill when you Consume a Corpse"},[2]={limit={[1]={[1]=100,[2]="#"}},text="Trigger this Skill when you Consume a Corpse"}}},name="trigger_on_corpse_consume",stats={[1]="trigger_on_corpse_consume_%_chance"}},[654]={lang={English={[1]={limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to Trigger this skill when you Kill a Frozen Enemy"},[2]={limit={[1]={[1]=100,[2]="#"}},text="Trigger this skill when you Kill a Frozen Enemy"}}},name="trigger_on_frozen_kill",stats={[1]="trigger_on_kill_vs_frozen_enemy_%"}},[655]={lang={English={[1]={limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to Consume a Void Charge to Trigger this Skill when you fire Arrows"},[2]={limit={[1]={[1]=100,[2]="#"}},text="Consume a Void Charge to Trigger this Skill when you fire Arrows"}}},name="trigger_on_skill_use_void_arrow",stats={[1]="trigger_on_skill_use_%_if_you_have_a_void_arrow"}},[656]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="This Skill is Triggered by the Item granting it"}}},name="trigger_every_5_seconds",stats={[1]="triggered_by_item_buff"}},[657]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Has 10 blades"}}},name="vaal_blade_vortex_has_ten_blades",stats={[1]="vaal_blade_vortex_has_10_spinning_blades"}},[658]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Ongoing effect ends after %1% Aftershocks"}}},name="vaal_earthquake_max_aftershocks",stats={[1]="vaal_earthquake_maximum_aftershocks"}},[659]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1$+d to Radius for each Stage"}}},name="vaal_flameblast_radius",stats={[1]="vaal_flameblast_radius_+_per_stage"}},[660]={lang={English={[1]={[1]={k="milliseconds_to_seconds_2dp",v=1},limit={[1]={[1]=1000,[2]=1000}},text="Strikes an Enemy every %1% second"},[2]={[1]={k="milliseconds_to_seconds_2dp",v=1},limit={[1]={[1]="#",[2]="#"}},text="Strikes an Enemy every %1% seconds"}}},name="vaal_storm_call_delay",stats={[1]="vaal_storm_call_delay_ms"}},[661]={lang={English={[1]={limit={[1]={[1]=1,[2]=1}},text="1 Volley"},[2]={limit={[1]={[1]=2,[2]="#"}},text="%1% Volleys"}}},name="bladefall_volleys",stats={[1]="virtual_bladefall_number_of_volleys"}},[662]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Chills from your Hits always reduce Action Speed by at least %1%%%"}}},name="chill_minimum_slow",stats={[1]="virtual_chill_minimum_slow_%"}},[663]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Damages %1% nearby Enemies when you gain Stages"}}},name="divine_tempest_zap_limit",stats={[1]="virtual_divine_tempest_number_of_nearby_enemies_to_zap"}},[664]={lang={English={[1]={limit={[1]={[1]=1,[2]=1}},text="Projectiles Chain %1% Time"},[2]={limit={[1]={[1]=2,[2]="#"}},text="Projectiles Chain %1% Times"}}},name="projectile_chain_num",stats={[1]="virtual_number_of_chains_for_projectiles"}},[665]={lang={English={[1]={[1]={k="milliseconds_to_seconds",v=1},limit={[1]={[1]="#",[2]="#"}},text="Inflicts Spider's Webs and Hinder every %1% Seconds"}}},name="spider_aspect_interval",stats={[1]="virtual_spider_aspect_web_interval_ms"}},[666]={lang={English={[1]={[1]={k="milliseconds_to_seconds",v=1},limit={[1]={[1]=1000,[2]=1000}},text="Gain Infusion after Channelling for %1% second"},[2]={[1]={k="milliseconds_to_seconds",v=1},limit={[1]={[1]="#",[2]="#"}},text="Gain Infusion after Channelling for %1% seconds"}}},name="storm_barrier_damage_buff_threshold",stats={[1]="virtual_support_storm_barrier_damage_buff_time_threshold_ms"}},[667]={lang={English={[1]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]="#"}},text="While Channelling this Skill, you take %1%%% less Physical Damage from Hits"}}},name="storm_barrier_phys_damage_taken",stats={[1]="virtual_support_storm_barrier_physical_damage_taken_+%_final_from_hits_while_channelling"}},[668]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="%1%%% chance to create a Charged Slam"}}},name="tectonic_slam_charged_slam_chance",stats={[1]="virtual_tectonic_slam_%_chance_to_do_charged_slam"}},[669]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextDamagingAilments"},limit={[1]={[1]=1,[2]="#"}},text="%1%%% more Damage with Hits and Ailments per Stage"},[2]={[1]={k="negate",v=1},[2]={k="reminderstring",v="ReminderTextDamagingAilments"},limit={[1]={[1]="#",[2]=-1}},text="%1%%% less Damage with Hits and Ailments per Stage"}}},name="virulent_arrow_damage_per_stage",stats={[1]="virulent_arrow_damage_+%_final_per_stage"}},[670]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="%1% maximum Stages"}}},name="virulent_arrow_max_stacks",stats={[1]="virulent_arrow_maximum_number_of_stacks"}},[671]={lang={English={[1]={limit={[1]={[1]="#",[2]="#"}},text="Each Spore Pod fires %1% Thorn Arrows"}}},name="virulent_arrow_pod_arrows",stats={[1]="virulent_arrow_number_of_pod_projectiles"}},[672]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="Thorn Arrows deal %1%%% more Damage"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="Thorn Arrows deal %1%%% less Damage"}}},name="virulent_arrow_bloom_damage",stats={[1]="virulent_arrow_pod_projectile_damage_+%_final"}},[673]={lang={English={[1]={limit={[1]={[1]=1,[2]=1}},text="Destroys up to 1 Corpse"},[2]={limit={[1]={[1]="#",[2]="#"}},text="Destroys up to %1% Corpses"}}},name="volatile_dead_number_of_corpses",stats={[1]="volatile_dead_number_of_corpses_to_consume"}},[674]={lang={English={[1]={[1]={k="reminderstring",v="ReminderTextWithered"},limit={[1]={[1]=1,[2]=99}},text="%1%%% chance to inflict Withered on Hit"},[2]={[1]={k="reminderstring",v="ReminderTextWithered"},limit={[1]={[1]=100,[2]="#"}},text="Inflicts Withered on Hit"}}},name="withered_on_hit_chance",stats={[1]="withered_on_hit_chance_%"}},[675]={lang={English={[1]={[1]={k="milliseconds_to_seconds_2dp",v=1},[2]={k="reminderstring",v="ReminderTextReoccurringSpell"},limit={[1]={[1]="#",[2]="#"},[2]={[1]="#",[2]="#"}},text="Gains a Seal every %1% seconds, to a maximum of %2% Seals\nUnsealed when cast, and effects Reoccur for each Seal lost"}}},name="anticipation_reoccurring",stats={[1]="support_anticipation_charge_gain_interval_ms",[2]="support_anticipation_rapid_fire_count"}},[676]={lang={English={[1]={limit={[1]={[1]=1,[2]="#"}},text="This Skill's effects deal %1%%% more Damage when Reoccurring"},[2]={[1]={k="negate",v=1},limit={[1]={[1]="#",[2]=-1}},text="This Skill's effects deal %1%%% less Damage when Reoccurring"}}},name="anticipation_reoccur_damage",stats={[1]="support_spell_rapid_fire_repeat_use_damage_+%_final"}},["%_chance_to_gain_frenzy_charge_on_trap_triggered_by_an_enemy"]=555,["%_chance_to_gain_power_charge_on_trap_triggered_by_an_enemy"]=556,["0"]=9,["abyssal_cry_%_max_life_as_chaos_on_death"]=305,["abyssal_cry_movement_velocity_+%_per_one_hundred_nearby_enemies"]=303,["accuracy_rating"]=101,["accuracy_rating_+%"]=102,["active_skill_area_damage_+%_final"]=381,["active_skill_area_of_effect_+%_final_when_cast_on_frostbolt"]=382,["active_skill_attack_speed_+%_final"]=264,["active_skill_base_area_length_+"]=383,["active_skill_base_radius_+"]=62,["active_skill_cooldown_bypass_type_override_to_power_charge"]=425,["active_skill_damage_over_time_from_projectile_hits_+%_final"]=363,["active_skill_display_aegis_variation"]=388,["active_skill_ground_consecration_radius_+"]=63,["active_skill_if_used_through_frostbolt_damage_+%_final"]=384,["active_skill_ignite_damage_+%_final"]=385,["active_skill_minion_energy_shield_+%_final"]=122,["active_skill_minion_life_+%_final"]=121,["active_skill_minion_movement_velocity_+%_final"]=118,["active_skill_projectile_damage_+%_final"]=361,["add_frenzy_charge_on_kill"]=106,["add_frenzy_charge_on_kill_%_chance"]=107,["add_frenzy_charge_on_skill_hit_%"]=386,["add_power_charge_on_critical_strike_%"]=226,["additional_base_critical_strike_chance"]=354,["additional_chain_chance_%"]=387,["additional_chance_to_freeze_chilled_enemies_%"]=332,["aegis_unique_shield_max_value"]=388,["always_freeze"]=88,["always_stun"]=127,["always_stun_enemies_that_are_on_full_life"]=389,["animate_item_maximum_level_requirement"]=243,["apply_linked_curses_on_hit_%"]=232,["apply_linked_curses_with_dark_ritual"]=390,["apply_overpowered_on_enemy_block_reduced_block_and_spell_block_%"]=391,["arc_damage_+%_final_for_each_remaining_chain"]=392,["arc_damage_+%_final_per_chain"]=393,["arctic_armour_chill_when_hit_duration"]=394,["arctic_breath_maximum_number_of_skulls_allowed"]=395,["area_of_effect_+%_per_frost_fury_stage"]=396,["area_of_effect_+%_when_cast_on_frostbolt"]=397,["area_of_effect_+%_while_dead"]=65,["arrow_number_of_targets_to_pierce"]=85,["arrows_always_pierce"]=85,["attack_damage_+%"]=398,["attack_maximum_added_cold_damage"]=25,["attack_maximum_added_fire_damage"]=24,["attack_maximum_added_lightning_damage"]=26,["attack_minimum_added_cold_damage"]=25,["attack_minimum_added_fire_damage"]=24,["attack_minimum_added_lightning_damage"]=26,["attack_repeat_count"]=225,["attack_speed_+%"]=44,["attack_speed_+%_granted_from_skill"]=45,["attack_speed_+%_when_on_low_life"]=46,["attack_trigger_on_hit_%"]=260,["attack_trigger_on_kill_%"]=244,["attack_trigger_on_killing_bleeding_enemy_%"]=399,["attack_trigger_on_melee_hit_%"]=261,["attack_trigger_when_critically_hit_%"]=240,["attack_unusable_if_triggerable"]=242,["attacks_impale_on_hit_%_chance"]=400,["aura_effect_+%"]=68,["avoid_damage_%"]=401,["backstab_damage_+%"]=128,["base_actor_scale_+%"]=1,["base_arrow_speed_+%"]=301,["base_attack_speed_+%_per_frenzy_charge"]=69,["base_aura_area_of_effect_+%"]=67,["base_buff_duration_ms_+_per_removable_endurance_charge"]=154,["base_cast_speed_+%"]=53,["base_chance_to_freeze_%"]=88,["base_chance_to_ignite_%"]=90,["base_chance_to_poison_on_hit_%"]=343,["base_chance_to_shock_%"]=89,["base_chance_to_shock_%_from_skill"]=402,["base_chaos_damage_%_of_maximum_life_to_deal_per_minute"]=103,["base_chaos_damage_taken_per_minute_per_viper_strike_orb"]=131,["base_cold_damage_resistance_%"]=195,["base_cooldown_speed_+%"]=403,["base_critical_strike_multiplier_+"]=110,["base_damage_taken_+%"]=404,["base_deal_no_chaos_damage"]=405,["base_energy_shield_leech_from_spell_damage_permyriad"]=406,["base_life_regeneration_rate_per_minute"]=192,["base_mana_regeneration_rate_per_minute"]=320,["base_movement_velocity_+%"]=97,["base_nonlethal_fire_damage_%_of_maximum_energy_shield_taken_per_minute"]=166,["base_nonlethal_fire_damage_%_of_maximum_life_taken_per_minute"]=165,["base_number_of_effigies_allowed"]=551,["base_number_of_projectiles_in_spiral_nova"]=43,["base_physical_damage_%_of_maximum_energy_shield_to_deal_per_minute"]=105,["base_physical_damage_%_of_maximum_life_to_deal_per_minute"]=104,["base_physical_damage_%_to_convert_to_cold"]=308,["base_physical_damage_reduction_rating"]=170,["base_poison_damage_+%"]=348,["base_poison_duration_+%"]=349,["base_projectile_speed_+%"]=87,["base_reduce_enemy_cold_resistance_%"]=202,["base_reduce_enemy_fire_resistance_%"]=201,["base_reduce_enemy_lightning_resistance_%"]=203,["base_resist_all_elements_%"]=162,["base_righteous_fire_%_of_max_energy_shield_to_deal_to_nearby_per_minute"]=164,["base_righteous_fire_%_of_max_life_to_deal_to_nearby_per_minute"]=163,["base_skill_area_of_effect_+%"]=64,["base_stun_duration_+%"]=126,["base_stun_recovery_+%"]=150,["base_stun_threshold_reduction_+%"]=61,["base_use_life_in_place_of_mana"]=175,["berserk_attack_damage_+%_final"]=375,["berserk_attack_speed_+%_final"]=376,["berserk_base_damage_taken_+%_final"]=378,["berserk_base_rage_loss_per_second"]=379,["berserk_minimum_rage"]=374,["berserk_movement_speed_+%_final"]=377,["berserk_rage_loss_+%_per_second"]=380,["blade_vortex_ailment_damage_+%_per_blade_final"]=218,["blade_vortex_critical_strike_chance_+%_per_blade"]=408,["blade_vortex_damage_+%_per_blade_final"]=217,["blade_vortex_hit_rate_+%_per_blade"]=216,["blade_vortex_hit_rate_ms"]=409,["bladefall_critical_strike_chance_+%_per_stage"]=410,["bladefall_damage_per_stage_+%_final"]=346,["bladestorm_attack_speed_+%_final_while_in_bloodstorm"]=411,["bladestorm_maximum_number_of_storms_allowed"]=412,["bladestorm_movement_speed_+%_while_in_sandstorm"]=413,["bladestorm_storm_damage_+%_final"]=414,["blast_rain_number_of_blasts"]=353,["bleed_on_hit_with_attacks_%"]=415,["bleeding_damage_+%"]=416,["bleeding_skill_effect_duration"]=76,["blind_duration_+%"]=200,["blood_sand_stance_melee_skills_area_damage_+%_final_in_blood_stance"]=357,["blood_sand_stance_melee_skills_area_damage_+%_final_in_sand_stance"]=360,["blood_sand_stance_melee_skills_area_of_effect_+%_final_in_blood_stance"]=358,["blood_sand_stance_melee_skills_area_of_effect_+%_final_in_sand_stance"]=359,["buff_effect_duration"]=71,["buff_effect_duration_+%_per_removable_endurance_charge"]=155,["buff_effect_duration_+%_per_removable_endurance_charge_limited_to_5"]=156,["burn_damage_+%"]=96,["cannot_cause_bleeding"]=415,["cannot_inflict_status_ailments"]=174,["cannot_knockback"]=417,["cast_linked_spells_on_attack_crit_%"]=236,["cast_linked_spells_on_melee_kill_%"]=237,["cast_on_any_damage_taken_%"]=251,["cast_on_attack_use_%"]=245,["cast_on_crit_%"]=418,["cast_on_damage_taken_%"]=262,["cast_on_damage_taken_threshold"]=262,["cast_on_death_%"]=253,["cast_on_gain_avians_flight_or_avians_might_%"]=256,["cast_on_gain_skill"]=419,["cast_on_hit_%"]=257,["cast_on_hit_if_cursed_%"]=258,["cast_on_lose_cats_stealth"]=259,["cast_on_skill_use_%"]=246,["cast_on_stunned_%"]=255,["cast_speed_+%_granted_from_skill"]=5,["cast_speed_+%_when_on_low_life"]=52,["cast_when_hit_%"]=252,["cast_while_channelling_time_ms"]=267,["chain_strike_cone_radius_+_per_x_rage"]=420,["chain_strike_gain_x_rage_if_attack_hits"]=421,["chance_to_bleed_on_hit_%_chance_in_blood_stance"]=422,["chance_to_cast_on_kill_%"]=247,["chance_to_cast_on_kill_%_target_self"]=248,["chance_to_cast_on_rampage_tier_%"]=254,["chance_to_cast_when_your_trap_is_triggered_%"]=263,["chance_to_deal_double_damage_%"]=423,["chance_to_deal_double_damage_%_vs_bleeding_enemies"]=424,["chance_to_fortify_on_melee_hit_+%"]=306,["chance_to_freeze_shock_ignite_%"]=331,["chance_to_gain_frenzy_charge_on_killing_enemy_affected_by_cold_snap_ground_%"]=425,["chance_to_gain_power_charge_on_rare_or_unique_enemy_hit_%"]=426,["chance_to_summon_support_ghost_on_hitting_rare_or_unique_%"]=427,["chance_to_summon_support_ghost_on_killing_blow_%"]=428,["chance_to_trigger_on_animate_guardian_kill_%"]=429,["chance_to_trigger_on_animate_weapon_kill_%"]=430,["chaos_damage_taken_+%"]=342,["chaos_golem_grants_additional_physical_damage_reduction_%"]=314,["charged_attack_damage_per_stack_+%_final"]=431,["charged_blast_spell_damage_+%_final_per_stack"]=265,["charged_dash_channelling_damage_at_full_stacks_+%_final"]=432,["charged_dash_damage_+%_final_per_stack"]=433,["charged_dash_skill_inherent_movement_speed_+%_final"]=434,["chill_duration_+%"]=92,["chill_effect_+%"]=93,["chilled_ground_base_magnitude_override"]=435,["chilling_area_movement_velocity_+%"]=436,["cleave_+1_base_radius_per_nearby_enemy_up_to_10"]=437,["cluster_burst_spawn_amount"]=302,["cold_damage_+%"]=291,["consecrated_ground_immune_to_curses"]=438,["corpse_consumption_life_to_gain"]=212,["corpse_consumption_mana_to_gain"]=213,["corpse_erruption_maximum_number_of_geyers"]=439,["corpse_explosion_monster_life_%"]=28,["created_slipstream_action_speed_+%"]=440,["critical_strike_chance_+%"]=108,["critical_strike_chance_+%_per_power_charge"]=442,["critical_strike_chance_+%_vs_shocked_enemies"]=441,["critical_strike_multiplier_+_per_blade"]=443,["critical_strike_multiplier_+_per_power_charge"]=444,["curse_effect_+%"]=268,["curse_effect_+%_vs_players"]=269,["curse_effect_duration"]=70,["cyclone_first_hit_damage_+%_final"]=351,["cyclone_max_number_of_stages"]=445,["cyclone_melee_weapon_range_+_per_stage"]=446,["cyclone_movement_speed_+%_final"]=219,["cyclone_stage_decay_time_ms"]=447,["damage_+%"]=321,["damage_+%_per_chain"]=448,["damage_+%_vs_burning_enemies"]=283,["damage_+%_while_es_leeching"]=449,["damage_+%_while_life_leeching"]=450,["damage_+%_while_mana_leeching"]=451,["damage_cannot_be_reflected"]=286,["damage_infusion_%"]=42,["damage_over_time_+%"]=345,["damage_taken_+%_final_from_enemies_unaffected_by_sand_armour"]=452,["dark_ritual_damage_+%_final_per_curse_applied"]=453,["dark_ritual_skill_effect_duration_+%_per_curse_applied"]=454,["deal_no_elemental_damage"]=455,["degen_effect_+%"]=153,["desecrate_corpse_level"]=274,["desecrate_maximum_number_of_corpses"]=456,["desecrate_number_of_corpses_to_create"]=273,["display_disable_melee_weapons"]=40,["display_linked_curse_effect_+%"]=457,["display_max_blight_stacks"]=458,["display_max_fire_beam_stacks"]=459,["display_modifiers_to_melee_attack_range_apply_to_skill_radius"]=460,["display_skill_fixed_duration_buff"]=461,["display_skill_minions_level_is_corpse_level"]=462,["display_storm_burst_jump_time_ms"]=463,["display_this_skill_cooldown_does_not_recover_during_buff"]=464,["display_vaal_breach_no_drops_xp"]=465,["distance_before_form_change_+%"]=466,["divine_tempest_ailment_damage_+%_final_per_stage"]=467,["divine_tempest_damage_+%_final_while_channelling"]=468,["divine_tempest_hit_damage_+%_final_per_stage"]=469,["divine_tempest_stage_on_hitting_normal_magic_%_chance"]=470,["divine_tempest_stage_on_hitting_rare_unique"]=471,["double_slash_bleeding_damage_+%_final_in_blood_stance"]=472,["doubles_have_movement_speed_+%"]=114,["dual_strike_critical_strike_chance_+%_final_against_enemies_on_full_life"]=473,["dual_strike_damage_+%_final_against_enemies_on_full_life"]=474,["earthquake_aftershock_maximum_added_physical_damage"]=475,["earthquake_aftershock_minimum_added_physical_damage"]=475,["elemental_hit_area_of_effect_+100%_final_vs_enemy_with_associated_ailment"]=476,["elemental_hit_damage_+10%_final_per_enemy_elemental_ailment"]=477,["elemental_hit_no_physical_chaos_damage"]=299,["elemental_status_effect_aura_radius"]=172,["elemental_strike_physical_damage_%_to_convert"]=333,["endurance_charge_slam_damage_+%_final_with_endurance_charge"]=478,["endurance_charges_granted_per_one_hundred_nearby_enemies_during_endurance_warcry"]=81,["enemy_aggro_radius_+%"]=338,["energy_shield_delay_-%"]=151,["energy_shield_leech_from_any_damage_permyriad"]=58,["energy_shield_recharge_rate_+%"]=152,["energy_shield_regeneration_rate_+%"]=479,["expanding_fire_cone_angle_+%_per_stage"]=480,["expanding_fire_cone_final_wave_always_ignite"]=481,["expanding_fire_cone_maximum_number_of_stages"]=482,["expanding_fire_cone_radius_+_per_stage"]=483,["expanding_fire_cone_radius_limit"]=483,["expanding_fire_cone_release_hit_damage_+%_final"]=484,["faster_bleed_%"]=485,["feast_of_flesh_gain_X_energy_shield_per_corpse_consumed"]=486,["feast_of_flesh_gain_X_life_per_corpse_consumed"]=486,["feast_of_flesh_gain_X_mana_per_corpse_consumed"]=486,["fire_beam_additional_stack_damage_+%_final"]=487,["fire_beam_enemy_fire_resistance_%_maximum"]=488,["fire_beam_enemy_fire_resistance_%_per_stack"]=489,["fire_beam_length_+%"]=490,["fire_damage_+%"]=290,["fire_damage_taken_+"]=223,["fire_golem_grants_damage_+%"]=311,["fire_nova_damage_+%_per_repeat_final"]=322,["fire_shield_damage_threshold"]=160,["fire_storm_fireball_delay_ms"]=149,["fixed_skill_effect_duration"]=491,["flame_whip_damage_+%_final_vs_burning_enemies"]=282,["flameblast_ailment_damage_+%_final_per_stack"]=266,["flameblast_ignite_chance_+%_per_stage"]=492,["flamethrower_damage_+%_per_stage_final"]=214,["flamethrower_tower_trap_display_cast_speed_affects_rotation"]=493,["flamethrower_tower_trap_number_of_flamethrowers"]=494,["flamethrower_trap_damage_+%_final_vs_burning_enemies"]=495,["flicker_strike_buff_movement_speed_+%"]=496,["fortify_duration_+%"]=307,["freeze_as_though_dealt_damage_+%"]=190,["freeze_duration_+%"]=91,["freeze_mine_cold_resistance_+_while_frozen"]=235,["frenzy_skill_attack_damage_+%_final_per_frenzy_charge"]=497,["frenzy_skill_attack_speed_+%_final_per_frenzy_charge"]=498,["frost_bolt_nova_number_of_frost_bolts_to_detonate"]=499,["frost_fury_added_duration_per_stage_ms"]=500,["frost_fury_base_fire_interval_ms"]=501,["frost_fury_duration_+%_per_stage"]=502,["frost_fury_fire_speed_+%_final_while_channelling"]=503,["frost_fury_fire_speed_+%_per_stage"]=504,["frost_fury_max_number_of_stages"]=505,["fuse_arrow_explosion_radius_+_per_fuse_arrow_orb"]=148,["gain_endurance_charge_on_melee_stun"]=234,["gain_endurance_charge_on_melee_stun_%"]=234,["gain_rage_on_hit"]=506,["glacial_hammer_third_hit_freeze_as_though_dealt_damage_+%"]=191,["global_always_hit"]=279,["global_bleed_on_hit"]=415,["global_chance_to_blind_on_hit_%"]=199,["global_chance_to_knockback_%"]=59,["global_hit_causes_monster_flee_%"]=178,["global_maim_on_hit"]=507,["global_maximum_added_fire_damage_vs_burning_enemies"]=613,["global_maximum_added_physical_damage_vs_bleeding_enemies"]=508,["global_minimum_added_fire_damage_vs_burning_enemies"]=613,["global_minimum_added_physical_damage_vs_bleeding_enemies"]=508,["global_poison_on_hit"]=347,["global_reduce_enemy_block_%"]=280,["grant_expanding_fire_cone_release_ignite_damage_+%_final"]=509,["groundslam_damage_to_close_targets_+%_final"]=362,["herald_of_agony_add_stack_on_poison"]=510,["herald_of_agony_poison_damage_+%_final"]=511,["herald_of_ash_burning_%_overkill_damage_per_minute"]=512,["herald_of_ash_burning_damage_+%_final"]=293,["herald_of_ash_fire_damage_+%"]=294,["herald_of_ash_spell_fire_damage_+%_final"]=295,["herald_of_ice_cold_damage_+%"]=296,["herald_of_light_attack_maximum_added_physical_damage"]=513,["herald_of_light_attack_minimum_added_physical_damage"]=513,["herald_of_light_spell_maximum_added_physical_damage"]=514,["herald_of_light_spell_minimum_added_physical_damage"]=514,["herald_of_light_summon_champion_on_kill"]=515,["herald_of_light_summon_champion_on_unique_or_rare_enemy_hit_%"]=516,["herald_of_thunder_lightning_damage_+%"]=297,["hinder_enemy_chaos_damage_taken_+%"]=517,["ice_crash_second_hit_damage_+%_final"]=309,["ice_crash_third_hit_damage_+%_final"]=310,["ice_dash_cooldown_recovery_per_nearby_normal_or_magic_enemy"]=518,["ice_dash_cooldown_recovery_per_nearby_rare_or_unique_enemy"]=518,["ice_golem_grants_accuracy_+%"]=313,["ice_golem_grants_critical_strike_chance_+%"]=312,["ice_nova_number_of_frost_bolts_to_cast_on"]=519,["ice_nova_number_of_repeats"]=276,["ice_nova_radius_+%_per_repeat"]=277,["ice_shield_moving_mana_degeneration_per_minute"]=221,["ice_spear_second_form_critical_strike_chance_+%"]=196,["ice_spear_second_form_critical_strike_multiplier_+"]=197,["ice_spear_second_form_projectile_speed_+%_final"]=198,["ignite_duration_+%"]=95,["ignites_apply_fire_resistance_+"]=520,["impale_debuff_effect_+%"]=521,["impurity_cold_damage_taken_+%_final"]=522,["impurity_fire_damage_taken_+%_final"]=523,["impurity_lightning_damage_taken_+%_final"]=524,["incinerate_damage_+%_per_stage"]=215,["infernal_blow_explosion_damage_%_of_total_per_stack"]=525,["inspiring_cry_damage_+%_per_one_hundred_nearby_enemies"]=318,["intermediary_chaos_area_damage_to_deal_per_minute"]=132,["intermediary_chaos_damage_to_deal_per_minute"]=133,["intermediary_chaos_skill_dot_area_damage_to_deal_per_minute"]=134,["intermediary_chaos_skill_dot_damage_to_deal_per_minute"]=135,["intermediary_cold_area_damage_to_deal_per_minute"]=136,["intermediary_cold_damage_to_deal_per_minute"]=137,["intermediary_cold_skill_dot_area_damage_to_deal_per_minute"]=138,["intermediary_cold_skill_dot_damage_to_deal_per_minute"]=139,["intermediary_fire_area_damage_to_deal_per_minute"]=140,["intermediary_fire_damage_to_deal_per_minute"]=141,["intermediary_fire_skill_dot_area_damage_to_deal_per_minute"]=142,["intermediary_fire_skill_dot_damage_to_deal_per_minute"]=143,["intimidating_cry_attack_speed_+%_per_100_enemies"]=319,["is_remote_mine"]=34,["is_trap"]=35,["keystone_minion_instability"]=125,["keystone_point_blank"]=177,["kill_enemy_on_hit_if_under_10%_life"]=176,["killed_monster_dropped_item_quantity_+%"]=100,["killed_monster_dropped_item_rarity_+%"]=99,["knockback_distance_+%"]=60,["lacerate_hit_and_ailment_damage_+%_final_vs_bleeding_enemies"]=526,["life_gain_per_target"]=112,["life_leech_from_any_damage_permyriad"]=55,["life_leech_from_physical_attack_damage_permyriad"]=56,["life_regeneration_rate_+%"]=194,["life_regeneration_rate_per_minute_%"]=193,["light_radius_increases_apply_to_area_of_effect"]=31,["lightning_arrow_maximum_number_of_extra_targets"]=171,["lightning_golem_grants_attack_and_cast_speed_+%"]=316,["lightning_tendrils_channelled_larger_pulse_damage_+%_final"]=527,["lightning_tendrils_channelled_larger_pulse_interval"]=119,["lightning_tendrils_channelled_larger_pulse_radius_+"]=528,["lightning_tower_trap_interval_duration_ms"]=529,["lightning_tower_trap_number_of_beams"]=529,["lightning_trap_projectiles_leave_shocking_ground"]=287,["maim_effect_+%"]=530,["maim_on_hit_%"]=531,["mana_degeneration_per_minute"]=220,["mana_leech_from_any_damage_permyriad"]=57,["max_crab_aspect_stacks"]=532,["maximum_added_cold_damage_per_frenzy_charge"]=534,["maximum_added_cold_damage_vs_chilled_enemies"]=535,["maximum_added_lightning_damage_from_skill"]=536,["maximum_fire_damage_per_fuse_arrow_orb"]=147,["maximum_ignite_damage_to_deal_per_minute_from_secondary_damage"]=537,["maximum_number_of_spinning_blades"]=341,["maximum_secondary_physical_damage_per_15_strength"]=538,["melee_ancestor_totem_grant_owner_attack_speed_+%"]=50,["melee_ancestor_totem_grant_owner_attack_speed_+%_final"]=47,["melee_attack_number_of_spirit_strikes"]=533,["melee_counterattack_trigger_on_block_%"]=241,["melee_counterattack_trigger_on_hit_%"]=239,["melee_damage_vs_bleeding_enemies_+%"]=324,["melee_physical_damage_+%"]=146,["melee_range_+"]=335,["melee_splash"]=224,["melee_splash_area_of_effect_+%_final"]=350,["melee_weapon_range_+"]=334,["mine_detonation_radius_+%"]=39,["mine_duration"]=188,["mine_laying_speed_+%"]=187,["minimum_added_cold_damage_per_frenzy_charge"]=534,["minimum_added_cold_damage_vs_chilled_enemies"]=535,["minimum_added_lightning_damage_from_skill"]=536,["minimum_fire_damage_per_fuse_arrow_orb"]=147,["minimum_ignite_damage_to_deal_per_minute_from_secondary_damage"]=537,["minimum_secondary_physical_damage_per_15_strength"]=538,["minion_attack_speed_+%"]=115,["minion_cast_speed_+%"]=116,["minion_chance_to_deal_double_damage_%"]=539,["minion_damage_+%"]=113,["minion_duration"]=78,["minion_maximum_life_+%"]=124,["minion_movement_speed_+%"]=117,["modifiers_to_buff_effect_duration_also_affect_soul_prevention_duration"]=33,["modifiers_to_skill_effect_duration_also_affect_soul_prevention_duration"]=32,["molten_shell_damage_absorb_limit_%_of_armour"]=540,["molten_shell_damage_absorbed_%"]=540,["molten_shell_max_damage_absorbed"]=540,["monster_response_time_ms"]=144,["mortal_call_elemental_damage_taken_+%_final"]=543,["mortal_call_physical_damage_taken_+%_final"]=544,["mortal_call_physical_damage_taken_per_endurance_charge_consumed_final_permyriad"]=545,["movement_velocity_cap"]=120,["multistrike_damage_+%_final_on_first_repeat"]=546,["multistrike_damage_+%_final_on_second_repeat"]=547,["never_freeze"]=284,["never_ignite"]=285,["new_arctic_armour_fire_damage_taken_when_hit_+%_final"]=330,["new_arctic_armour_physical_damage_taken_when_hit_+%_final"]=329,["newpunishment_applied_buff_duration_ms"]=328,["newpunishment_attack_speed_+%"]=327,["newpunishment_melee_damage_+%_final"]=326,["newshocknova_first_ring_damage_+%_final"]=304,["no_movement_speed"]=98,["non_damaging_ailment_effect_+%"]=548,["number_of_champions_of_light_allowed"]=549,["number_of_corpses_to_consume"]=550,["number_of_herald_scorpions_allowed"]=552,["number_of_mines_to_place"]=34,["number_of_relics_allowed"]=553,["number_of_support_ghosts_allowed"]=407,["number_of_totems_to_summon"]=37,["number_of_traps_to_throw"]=35,["offering_skill_effect_duration_per_corpse"]=22,["orb_of_storms_bolt_frequency_ms"]=554,parent="active_skill_gem_stat_descriptions",["petrification_statue_target_action_speed_-%"]=557,["phase_run_melee_physical_damage_+%_final"]=145,["phase_through_objects"]=337,["phys_cascade_trap_interval_duration_ms"]=558,["phys_cascade_trap_number_of_cascades"]=558,["physical_damage_%_to_add_as_chaos"]=289,["physical_damage_%_to_add_as_fire"]=288,["physical_damage_reduction_%_per_crab_aspect_stack"]=559,["physical_damage_reduction_rating_+%"]=161,["physical_damage_taken_+"]=222,["poison_skill_effect_duration"]=77,["power_siphon_fire_at_all_targets"]=43,["primary_projectile_display_targets_to_pierce"]=86,["primary_projectile_impale_chance_%"]=560,["projectile_damage_modifiers_apply_to_skill_dot"]=30,["projectile_ground_effect_duration"]=75,["projectile_number_of_targets_to_pierce"]=85,["projectile_number_to_split"]=209,["projectile_spiral_nova_angle"]=43,["projectiles_nova"]=43,["projectiles_return"]=211,["projectiles_return_if_no_hit_object"]=211,["puncture_bleeding_damage_+%_final"]=561,["purge_expose_resist_%_matching_highest_element_damage"]=562,["quake_slam_fully_charged_explosion_damage_+%_final"]=339,["quick_guard_damage_absorb_limit"]=563,["quick_guard_damage_absorbed_%"]=563,["rain_of_arrows_additional_sequence_chance_%"]=564,["rain_of_arrows_sequences_to_fire"]=43,["raised_spectre_max_level"]=565,["reave_area_of_effect_+%_final_per_stage"]=233,["recall_sigil_target_search_range_+%"]=566,["reduce_enemy_dodge_%"]=281,["reduce_enemy_elemental_resistance_%"]=204,["righteous_fire_spell_damage_+%_final"]=167,["sanctify_wave_damage_+%_final"]=567,["scorpion_minion_attack_speed_+%"]=568,["scorpion_minion_maximum_added_physical_damage"]=570,["scorpion_minion_minimum_added_physical_damage"]=570,["scorpion_minion_physical_damage_+%"]=569,["secondary_buff_effect_duration"]=72,["secondary_maximum_chaos_damage"]=19,["secondary_maximum_cold_damage"]=17,["secondary_maximum_fire_damage"]=16,["secondary_maximum_lightning_damage"]=18,["secondary_maximum_physical_damage"]=15,["secondary_minimum_chaos_damage"]=19,["secondary_minimum_cold_damage"]=17,["secondary_minimum_fire_damage"]=16,["secondary_minimum_lightning_damage"]=18,["secondary_minimum_physical_damage"]=15,["secondary_minion_duration"]=79,["secondary_skill_effect_duration"]=74,["shattering_steel_damage_+%_final_scaled_by_projectile_distance"]=571,["shield_block_%"]=158,["shield_charge_damage_+%_maximum"]=84,["shield_charge_scaling_stun_threshold_reduction_+%_at_maximum_range"]=82,["shield_charge_stun_duration_+%_maximum"]=83,["shield_spell_block_%"]=159,["shock_duration_+%"]=94,["shock_effect_+%"]=572,["shock_nova_ring_damage_+%"]=355,["shocked_ground_base_magnitude_override"]=573,["shockwave_slam_explosion_damage_+%_final"]=352,["shrapnel_trap_number_of_secondary_explosions"]=574,["sigil_attached_target_fire_penetration_%"]=575,["sigil_attached_target_lightning_penetration_%"]=576,["sigil_recall_extend_base_secondary_skill_effect_duration"]=577,["sigil_recall_extend_base_skill_effect_duration"]=578,["siphon_life_leech_from_damage_permyriad"]=340,["skeletal_chains_aoe_%_health_dealt_as_chaos_damage"]=2,["skeletal_chains_no_minions_damage_+%_final"]=206,["skeletal_chains_no_minions_radius_+"]=207,["skeletal_chains_no_minions_targets_self"]=205,["skill_angle_+%_in_sand_stance"]=579,["skill_buff_effect_+%"]=356,["skill_buff_grants_chance_to_poison_%"]=344,["skill_can_own_mirage_archers"]=580,["skill_code_movement_speed_+%_final"]=581,["skill_display_number_of_remote_mines_allowed"]=182,["skill_display_number_of_totems_allowed"]=180,["skill_display_number_of_traps_allowed"]=181,["skill_effect_and_damaging_ailment_duration_+%"]=582,["skill_effect_duration"]=73,["skill_effect_duration_+%_per_removable_frenzy_charge"]=157,["skill_effect_duration_per_100_int"]=583,["skill_triggered_when_you_focus_chance_%"]=584,["skill_withered_duration_ms"]=111,["slam_ancestor_totem_grant_owner_melee_damage_+%"]=51,["slam_ancestor_totem_grant_owner_melee_damage_+%_final"]=48,["slash_ancestor_totem_grant_owner_physical_damage_added_as_fire_+%"]=49,["spectre_duration"]=80,["spell_cast_time_cannot_be_modified"]=585,["spell_damage_+%"]=169,["spell_damage_modifiers_apply_to_skill_dot"]=29,["spell_maximum_added_cold_damage"]=292,["spell_maximum_added_lightning_damage"]=298,["spell_maximum_base_cold_damage_+_per_10_intelligence"]=27,["spell_maximum_base_cold_damage_per_removable_frenzy_charge"]=23,["spell_maximum_base_fire_damage_per_removable_endurance_charge"]=21,["spell_maximum_base_lightning_damage_per_removable_power_charge"]=20,["spell_maximum_chaos_damage"]=14,["spell_maximum_cold_damage"]=12,["spell_maximum_fire_damage"]=11,["spell_maximum_lightning_damage"]=13,["spell_maximum_physical_damage"]=10,["spell_minimum_added_cold_damage"]=292,["spell_minimum_added_lightning_damage"]=298,["spell_minimum_base_cold_damage_+_per_10_intelligence"]=27,["spell_minimum_base_cold_damage_per_removable_frenzy_charge"]=23,["spell_minimum_base_fire_damage_per_removable_endurance_charge"]=21,["spell_minimum_base_lightning_damage_per_removable_power_charge"]=20,["spell_minimum_chaos_damage"]=14,["spell_minimum_cold_damage"]=12,["spell_minimum_fire_damage"]=11,["spell_minimum_lightning_damage"]=13,["spell_minimum_physical_damage"]=10,["spell_only_castable_on_death"]=238,["spell_repeat_count"]=41,["spell_uncastable_if_triggerable"]=238,["spider_aspect_max_web_count"]=586,["static_strike_base_zap_frequency_ms"]=587,["static_strike_beam_damage_+%_final"]=588,["static_strike_beam_damage_+%_final_while_moving"]=589,["static_strike_explosion_damage_+%_final"]=300,["static_strike_number_of_beam_targets"]=590,["static_strike_zap_speed_+%_per_stack"]=591,["stone_golem_grants_base_life_regeneration_rate_per_minute"]=315,["storm_burst_new_damage_+%_final_per_remaining_teleport_zap"]=592,["summon_cold_resistance_+"]=229,["summon_fire_resistance_+"]=228,["summon_lightning_resistance_+"]=230,["summon_mirage_archer_on_hit"]=593,["summon_totem_cast_speed_+%"]=325,["summoned_spider_grants_attack_speed_+%"]=594,["summoned_spider_grants_poison_damage_+%"]=595,["support_anticipation_charge_gain_interval_ms"]=675,["support_anticipation_rapid_fire_count"]=675,["support_arcane_surge_cast_speed_+%"]=365,["support_arcane_surge_duration_ms"]=366,["support_arcane_surge_gain_buff_on_mana_use_threshold"]=364,["support_arcane_surge_mana_regeneration_rate_per_minute_%"]=365,["support_arcane_surge_spell_damage_+%_final"]=365,["support_attack_totem_attack_speed_+%_final"]=272,["support_aura_duration_buff_duration"]=596,["support_aura_duration_reserve_duration"]=597,["support_better_ailments_ailment_damage_+%_final"]=598,["support_bloodlust_melee_physical_damage_+%_final_vs_bleeding_enemies"]=323,["support_blunt_chance_to_trigger_shockwave_on_hit_%"]=599,["support_chance_to_bleed_bleeding_damage_+%_final"]=600,["support_chilling_areas_also_grant_cold_damage_taken_+%_equal_to_slow_amount"]=602,["support_chilling_areas_also_grant_cold_damage_taken_per_minute_+%"]=601,["support_chills_also_grant_cold_damage_taken_+%_equal_to_slow_amount"]=604,["support_chills_also_grant_cold_damage_taken_per_minute_+%"]=603,["support_concentrated_effect_skill_area_of_effect_+%_final"]=66,["support_debilitate_hit_damage_+%_final_per_poison_stack"]=605,["support_debilitate_hit_damage_max_poison_stacks"]=605,["support_energy_shield_leech_damage_+%_while_leeching_energy_shield_final"]=606,["support_ghost_duration"]=607,["support_greater_spell_echo_area_of_effect_+%_per_repeat"]=608,["support_greater_spell_echo_spell_damage_+%_final_per_repeat"]=609,["support_hypothermia_damage_+%_vs_chilled_enemies_final"]=336,["support_ignite_prolif_ignite_damage_+%_final"]=610,["support_ignite_proliferation_radius"]=173,["support_innervate_buff_duration_ms"]=369,["support_innervate_gain_buff_on_killing_shocked_enemy"]=367,["support_innervate_maximum_added_lightning_damage"]=368,["support_innervate_minimum_added_lightning_damage"]=368,["support_maim_chance_physical_damage_+%_final"]=611,["support_maimed_enemies_physical_damage_taken_+%"]=612,["support_minion_maximum_life_+%_final"]=123,["support_minion_totem_resistance_elemental_damage_+%_final"]=614,["support_mirage_archer_attack_speed_+%_final"]=615,["support_mirage_archer_duration"]=616,["support_multicast_cast_speed_+%_final"]=54,["support_multiple_attacks_melee_attack_speed_+%_final"]=227,["support_multiple_projectiles_critical_strike_chance_+%_final"]=109,["support_overpowered_duration_ms"]=617,["support_parallel_projectile_number_of_points_per_side"]=618,["support_power_charge_on_crit_damage_+%_final_per_power_charge"]=619,["support_projectile_attack_speed_+%_final"]=270,["support_pulverise_area_of_effect_+%_final"]=620,["support_rage_gain_rage_on_melee_hit_cooldown_ms"]=621,["support_reduce_enemy_block_and_spell_block_%"]=622,["support_reduce_enemy_dodge_and_spell_dodge_%"]=623,["support_ruthless_big_hit_damage_+%_final"]=371,["support_ruthless_big_hit_max_count"]=370,["support_ruthless_big_hit_stun_base_duration_override_ms"]=373,["support_ruthless_blow_bleeding_damage_from_melee_hits_+%_final"]=372,["support_scion_onslaught_for_3_seconds_on_hitting_unique_enemy_%_chance"]=624,["support_scion_onslaught_on_killing_blow_%_chance"]=625,["support_scion_onslaught_on_killing_blow_duration_ms"]=625,["support_slashing_buff_attack_cast_speed_+%_final_to_grant"]=627,["support_slashing_buff_duration_ms"]=626,["support_slashing_damage_+%_final_from_distance"]=628,["support_spell_boost_area_damage_+%_final_per_charge"]=629,["support_spell_boost_area_of_effect_+%_final_per_charge"]=630,["support_spell_boost_charge_loss_interval_ms_while_moving"]=631,["support_spell_cascade_area_of_effect_+%_final"]=632,["support_spell_cascade_number_of_cascades_per_side"]=633,["support_spell_rapid_fire_repeat_use_damage_+%_final"]=676,["support_spell_totem_cast_speed_+%_final"]=271,["support_storm_barrier_chaos_damage_+%_final_to_apply"]=634,["support_storm_barrier_chaos_damage_taken_+%_final_from_hits_while_channelling"]=641,["support_storm_barrier_cold_damage_+%_final_to_apply"]=635,["support_storm_barrier_cold_damage_taken_+%_final_from_hits_while_channelling"]=642,["support_storm_barrier_damage_buff_duration_ms"]=636,["support_storm_barrier_fire_damage_+%_final_to_apply"]=637,["support_storm_barrier_fire_damage_taken_+%_final_from_hits_while_channelling"]=643,["support_storm_barrier_lightning_damage_+%_final_to_apply"]=638,["support_storm_barrier_lightning_damage_taken_+%_final_from_hits_while_channelling"]=644,["support_storm_barrier_physical_damage_+%_final_to_apply"]=639,["support_storm_barrier_physical_damage_taken_when_hit_+%_final"]=640,["support_unbound_ailments_ailment_damage_+%_final"]=645,["supported_skill_can_only_use_axe_and_sword"]=646,["supported_skill_can_only_use_mace_and_staff"]=647,["tectonic_slam_chance_to_use_endurance_charge_%"]=648,["throw_traps_in_circle_radius"]=36,["total_number_of_arrows_to_fire"]=43,["total_number_of_projectiles_to_fire"]=43,["totem_duration"]=183,["totem_life_+%"]=189,["totem_range"]=179,["totems_cannot_evade"]=184,["trap_critical_strike_multiplier_+_per_power_charge"]=649,["trap_duration"]=185,["trap_throwing_speed_+%"]=186,["trap_throwing_speed_+%_per_frenzy_charge"]=650,["trap_trigger_radius_+%"]=38,["trigger_after_spending_200_mana_%_chance"]=651,["trigger_on_bow_attack_%"]=652,["trigger_on_corpse_consume_%_chance"]=653,["trigger_on_kill_vs_frozen_enemy_%"]=654,["trigger_on_skill_use_%_if_you_have_a_spirit_charge"]=250,["trigger_on_skill_use_%_if_you_have_a_void_arrow"]=655,["trigger_on_skill_use_from_chest_%"]=249,["triggered_by_item_buff"]=656,["unearth_corpse_level"]=275,["vaal_blade_vortex_has_10_spinning_blades"]=657,["vaal_cold_snap_gain_frenzy_charge_every_second_if_enemy_in_aura"]=425,["vaal_earthquake_maximum_aftershocks"]=658,["vaal_flameblast_radius_+_per_stage"]=659,["vaal_lightning_strike_beam_damage_+%_final"]=278,["vaal_righteous_fire_life_and_es_%_as_damage_per_second"]=3,["vaal_righteous_fire_life_and_es_%_to_lose_on_use"]=3,["vaal_righteous_fire_spell_damage_+%_final"]=168,["vaal_storm_call_delay_ms"]=660,["virtual_always_pierce"]=85,["virtual_bladefall_number_of_volleys"]=661,["virtual_chill_minimum_slow_%"]=662,["virtual_divine_tempest_number_of_nearby_enemies_to_zap"]=663,["virtual_firestorm_drop_chilled_ground_duration_ms"]=317,["virtual_minion_elemental_resistance_%"]=231,["virtual_number_of_chains"]=208,["virtual_number_of_chains_for_projectiles"]=664,["virtual_projectiles_cannot_pierce"]=85,["virtual_projectiles_fork"]=210,["virtual_spider_aspect_web_interval_ms"]=665,["virtual_support_storm_barrier_damage_buff_time_threshold_ms"]=666,["virtual_support_storm_barrier_physical_damage_taken_+%_final_from_hits_while_channelling"]=667,["virtual_tectonic_slam_%_chance_to_do_charged_slam"]=668,["virulent_arrow_damage_+%_final_per_stage"]=669,["virulent_arrow_maximum_number_of_stacks"]=670,["virulent_arrow_number_of_pod_projectiles"]=671,["virulent_arrow_pod_projectile_damage_+%_final"]=672,["volatile_dead_number_of_corpses_to_consume"]=673,["wall_expand_delay_ms"]=129,["wall_maximum_length"]=130,["withered_on_hit_chance_%"]=674}
cc = cc or {} ---LayerGradient object ---@class LayerGradient : LayerColor local LayerGradient = {} cc.LayerGradient = LayerGradient -------------------------------- --- Returns the start color of the gradient.<br> ---return The start color. ---@return color3b_table function LayerGradient:getStartColor() end -------------------------------- --- Get the compressedInterpolation<br> ---return The interpolation will be compressed if true. ---@return bool function LayerGradient:isCompressedInterpolation() end -------------------------------- --- Returns the start opacity of the gradient.<br> ---return The start opacity. ---@return char function LayerGradient:getStartOpacity() end -------------------------------- --- Sets the directional vector that will be used for the gradient.<br> ---The default value is vertical direction (0,-1). <br> ---param alongVector The direction of gradient. ---@param alongVector vec2_table ---@return LayerGradient function LayerGradient:setVector(alongVector) end -------------------------------- --- Returns the start opacity of the gradient.<br> ---param startOpacity The start opacity, from 0 to 255. ---@param startOpacity char ---@return LayerGradient function LayerGradient:setStartOpacity(startOpacity) end -------------------------------- --- Whether or not the interpolation will be compressed in order to display all the colors of the gradient both in canonical and non canonical vectors.<br> ---Default: true.<br> ---param compressedInterpolation The interpolation will be compressed if true. ---@param compressedInterpolation bool ---@return LayerGradient function LayerGradient:setCompressedInterpolation(compressedInterpolation) end -------------------------------- --- Returns the end opacity of the gradient.<br> ---param endOpacity The end opacity, from 0 to 255. ---@param endOpacity char ---@return LayerGradient function LayerGradient:setEndOpacity(endOpacity) end -------------------------------- --- Returns the directional vector used for the gradient.<br> ---return The direction of gradient. ---@return vec2_table function LayerGradient:getVector() end -------------------------------- --- Sets the end color of the gradient.<br> ---param endColor The end color. ---@param endColor color3b_table ---@return LayerGradient function LayerGradient:setEndColor(endColor) end -------------------------------- ---@overload fun(color4b_table, color4b_table, vec2_table):bool ---@overload fun(color4b_table, color4b_table):bool ---@param start color4b_table ---@param end_ color4b_table ---@param v ---@return bool function LayerGradient:initWithColor(start, end_, v) end -------------------------------- --- Returns the end color of the gradient.<br> ---return The end color. ---@return color3b_table function LayerGradient:getEndColor() end -------------------------------- --- Returns the end opacity of the gradient.<br> ---return The end opacity. ---@return char function LayerGradient:getEndOpacity() end -------------------------------- --- Sets the start color of the gradient.<br> ---param startColor The start color. ---@param startColor color3b_table ---@return LayerGradient function LayerGradient:setStartColor(startColor) end -------------------------------- ---@overload fun(color4b_table, color4b_table):LayerGradient ---@overload fun():LayerGradient ---@overload fun(color4b_table, color4b_table, vec2_table):LayerGradient ---@param start color4b_table ---@param end_ color4b_table ---@param v ---@return LayerGradient function LayerGradient:create(start, end_, v) end -------------------------------- -- ---@return bool function LayerGradient:init() end -------------------------------- -- ---@return string function LayerGradient:getDescription() end -------------------------------- -- ---@return LayerGradient function LayerGradient:LayerGradient() end return LayerGradient
--[[ A simplistic window manager for glasses. TODO: support moving windows via mouse drag. ]] local Config = require('opus.config') local Glasses = require('neural.glasses') local UI = require('opus.ui') local Util = require('opus.util') local kernel = _G.kernel local multishell = _ENV.multishell local shell = _ENV.shell local config = Config.load('nwm', { session = { } }) -- TODO: figure out how to better define scaling local scale = .5 local xs, ys = 6 * scale, 9 * scale local events = { glasses_click = 'mouse_click', glasses_up = 'mouse_up', glasses_drag = 'mouse_drag', glasses_scroll = 'mouse_scroll', } local function hook(e, eventData) local currentTab = kernel.getFocused() local x = math.floor(eventData[2] / xs) local y = math.floor(eventData[3] / ys) local clickedTab for _,tab in ipairs(kernel.routines) do if tab.window.type == 'glasses' then local wx, wy = tab.window.getPosition() local ww, wh = tab.window.getSize() if x >= wx and x <= wx + ww and y >= wy and y <= wy + wh then clickedTab = tab x = x - wx y = y - wy break end end end if clickedTab then if clickedTab ~= currentTab then clickedTab.window.raise() multishell.setFocus(clickedTab.uid) end kernel.event(events[e], { eventData[1], x, y, clickedTab.window.side, }) end return true end local hookEvents = Util.keys(events) kernel.hook(hookEvents, hook) local function run(args) local window = Glasses.create(args) multishell.openTab({ path = args.path, args = args.args, hidden = true, onDestroy = function() Util.removeByValue(config.session, args) Config.update('nwm', config) window.destroy() end, window = window, }) end UI:setPage(UI.Page { form = UI.Form { values = { x = 1, y = 25, width = 51, height = 19, opacity = 255, }, UI.TextEntry { formKey = 'run', formLabel = 'Run', required = true, }, UI.Slider { min = 0, max = 255, formLabel = 'Opacity', formKey = 'opacity', formIndex = 3, }, UI.Text { x = 10, y = 5, textColor = 'yellow', value = ' x y' }, UI.TextEntry { x = 10, y = 6, width = 7, limit = 3, transform = 'number', formKey = 'x', required = true, }, UI.TextEntry { x = 18, y = 6, width = 7, limit = 4, transform = 'number', formKey = 'y', required = true, }, UI.Text { x = 10, y = 8, textColor = 'yellow', value = ' width height' }, UI.TextEntry { x = 10, y = 9, width = 7, limit = 4, transform = 'number', formKey = 'width', required = true, }, UI.TextEntry { x = 18, y = 9, width = 7, limit = 4, transform = 'number', formKey = 'height', required = true, }, }, notification = UI.Notification { }, eventHandler = function(self, event) if event.type == 'form_complete' then local opts = Util.shallowCopy(event.values) local words = Util.split(opts.run, '(.-) ') opts.path = shell.resolveProgram(table.remove(words, 1)) if not opts.path then self.notification:error('Invalid program') else opts.args = #words > 0 and words table.insert(config.session, opts) Config.update('nwm', config) run(opts) self.notification:success('Started program') end end return UI.Page.eventHandler(self, event) end, }) for _,v in pairs(config.session) do run(v) end UI:start() kernel.unhook(hookEvents, hook)
#!/usr/bin/env gt --[[ Author: Sascha Steinbiss <ss34@sanger.ac.uk> Copyright (c) 2014 Genome Research Ltd Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ]] function usage() io.stderr:write(string.format("Usage: %s <base GFF> <AGP/GFF> " .. "<base FASTA> <target FASTA> " .. "[gaps] [check]\n" , arg[0])) os.exit(1) end if #arg < 2 then usage() end package.path = gt.script_dir .. "/?.lua;" .. package.path require("lib") gff = arg[1] agp = arg[2] gaps = arg[5] if arg[3] then bkeys, bseqs = get_fasta(arg[3]) end if arg[4] then tkeys, tseqs = get_fasta(arg[4]) end function get_seq(seqs, id) for k,v in pairs(seqs) do if k:match("^"..id.."$") then return v end end io.stderr:write("could not find sequence matching object " .. id .. " in input\n") os.exit(1) end gapqueue = {} -- load and index AGP mappings = {} for l in io.lines(arg[2]) do if string.sub(l, 1, 1) ~= '#' then obj, obj_s, obj_e, part_n, type, c6, c7, c8, c9 = unpack(split(l, "%s+")) if type == 'N' then fn = gt.feature_node_new(obj, "gap", obj_s, obj_e, ".") fn:add_attribute("estimated_length", obj_e-obj_s+1) if gaps then fn:add_attribute("gap_type", gaps) table.insert(gapqueue, fn) end elseif type == 'U' then fn = gt.feature_node_new(obj, "gap", obj_s, obj_e, ".") if gaps then fn:add_attribute("gap_type", gaps) table.insert(gapqueue, fn) end else mappings[c6] = {obj=obj, obj_s=tonumber(obj_s), obj_e=tonumber(obj_e), s_s=tonumber(c7), s_e=tonumber(c8), strand=c9} end end end -- visitor for feature transformation visitor = gt.custom_visitor_new() function visitor:visit_feature(fn) seqid = fn:get_seqid() --:gsub("%.%d+$","") -- is this sequence/fragment part of a layout? if mappings[seqid] then -- yes, transform all children for node in fn:children() do -- assign new seqid node:change_seqid(mappings[seqid].obj) rng = node:get_range() -- was the fragment used in reverse orientation? if mappings[seqid].strand == "-" then -- transform coordinates for reverse new_rng = gt.range_new((mappings[seqid].s_e - rng:get_end() + 1) + mappings[seqid].obj_s - 1, (mappings[seqid].s_e - rng:get_start() + 1) + mappings[seqid].obj_s - 1) node:set_range(new_rng) -- flip strands if node:get_strand() == "+" then node:set_strand("-") elseif node:get_strand() == "-" then node:set_strand("+") end else -- otherwise just transform coordinates by offsetting new_rng = gt.range_new(rng:get_start() + mappings[seqid].obj_s - 1, rng:get_end() + mappings[seqid].obj_s - 1) node:set_range(new_rng) end if arg[6] then -- optionally, check seqs -- must stay the same! seq1 = get_seq(bseqs, seqid):sub(rng:get_start(), rng:get_end()) seq2 = get_seq(tseqs, mappings[seqid].obj):sub(new_rng:get_start(), new_rng:get_end()) if mappings[seqid].strand == "-" then seq2 = revcomp(seq2) end if seq1 ~= seq2 then print(seq1) print(seq2) end assert(seq1 == seq2) end end else -- this sequence is unassembled, do not change its coordinates io.stderr:write("no mapping for seqid " .. seqid .. "\n") --for node in fn:children() do -- node:change_seqid(seqid) --end end return 0 end -- make simple visitor stream, just applies given visitor to every node visitor_stream = gt.custom_stream_new_unsorted() visitor_stream.instream = gt.gff3_in_stream_new_sorted(gff) visitor_stream.vis = visitor visitor_stream.queue = gapqueue visitor_stream.gaps = false function visitor_stream:next_tree() local node = nil if not self.gaps then node = self.instream:next_tree() if node then node:accept(self.vis) else self.gaps = true end end if self.gaps then if table.getn(self.queue) > 0 then return table.remove(self.queue) else return nil end end return node end -- attach to output stream and pull out_stream = gt.gff3_out_stream_new(visitor_stream) local gn = out_stream:next_tree() while (gn) do gn = out_stream:next_tree() end
x = {1, 2, 3} print(x == {1, 2, 3}) function inspect(count) print("inspect number: " .. count) print(x[0]) print(x[1]) print(x[2]) print(x[3]) print(x[4]) print(x[5]) print(x[100]) print(x['test']) print(x['test2']) print(#x) print("---") end inspect(1) x[1] = 'hello' inspect(2) x['test'] = 'test-string' inspect(3) x.test = 'cc' inspect(4) x.test2 = 'new' inspect(5) table.remove(x, 1) inspect(6) table.insert(x, "last") inspect(7) x[#x + 1] = "new last" inspect(8) print(table.concat(x, "|")) x.func = function() print("hi") end x.func() x = {1, 2, 3} inspect(9) x[100] = 100 inspect(10) x[5] = 5 inspect(11) x[4] = 4 inspect(12) print(#{hello = 1, hi = 2}) print(#{[4.5] = 1, [3.2] = 2}) x.print = function(table) print(table[1]) end x.set = function(table, key, val) table[key] = 'got reset ! ' .. val end x.print(x) x:print() x:set('test', 'boom') x:set(1, 'boom for 1 !') inspect(13) -- this also test that in the function not_method table refers -- to the variable and not the builtin since it's a new scope function x.not_method(table) if table then print(table[1]) else print("nope") end end x.not_method() x:not_method() -- TODO: uncomment once methods assignments are supported -- function x:append(key, str) -- x[key] = x[key] .. str -- end -- -- x:append(1, "and append !") -- inspect(14) -- -- x.y = {} -- -- function x.y:set(key, val) -- x.y[key] = val -- end -- -- x.y:set(1, 2) -- print(x.y[1] * 50)
------------------------------- -- "Zenburn" awesome theme -- -- By Adrian C. (anrxc) -- -- License: GNU GPL v2 -- ------------------------------- -- {{{ Main theme = {} theme.confdir = awful.util.getdir("config") theme.wallpaper_cmd = { "/usr/bin/nitrogen --restore" } --theme.wallpaper_cmd = { "awsetbg /usr/share/awesome/themes/zenburn/zenburn-background.png" } -- }}} -- {{{ Styles theme.font = "sans 8" -- {{{ Colors theme.fg_normal = "#DCDCCC" theme.fg_focus = "#F0DFAF" theme.fg_urgent = "#CC9393" theme.bg_normal = "#3F3F3F" theme.bg_focus = "#1E2320" theme.bg_urgent = theme.bg_normal -- }}} -- {{{ Borders theme.border_width = 2 theme.border_focus = "#6F6F6F" theme.border_normal = theme.bg_normal theme.border_marked = theme.fg_urgent -- }}} -- {{{ Titlebars theme.titlebar_bg_focus = theme.bg_normal theme.titlebar_bg_normal = theme.bg_normal -- theme.titlebar_[normal|focus] -- }}} -- {{{ Widgets theme.fg_widget = "#AECF96" theme.fg_center_widget = "#88A175" theme.fg_end_widget = "#FF5656" theme.fg_off_widget = "#494B4F" theme.fg_netup_widget = "#7F9F7F" theme.fg_netdn_widget = theme.fg_urgent theme.bg_widget = theme.bg_normal theme.border_widget = theme.bg_normal -- }}} -- {{{ Mouse finder theme.mouse_finder_color = theme.fg_urgent -- theme.mouse_finder_[timeout|animate_timeout|radius|factor] -- }}} -- {{{ Tooltips -- theme.tooltip_[font|opacity|fg_color|bg_color|border_width|border_color] -- }}} -- {{{ Taglist and Tasklist -- theme.[taglist|tasklist]_[bg|fg]_[focus|urgent] -- }}} -- {{{ Menu theme.menu_height = "15" theme.menu_width = "100" -- theme.menu_[bg|fg]_[normal|focus] -- theme.menu_[height|width|border_color|border_width] -- }}} -- }}} -- {{{ Icons -- -- {{{ Taglist icons theme.taglist_squares_sel = "/usr/share/awesome/themes/zenburn/taglist/squarefz.png" theme.taglist_squares_unsel = "/usr/share/awesome/themes/zenburn/taglist/squarez.png" --theme.taglist_squares_resize = "false" -- }}} -- {{{ Misc icons theme.awesome_icon = "/usr/share/awesome/themes/zenburn/awesome-icon.png" theme.menu_submenu_icon = "/usr/share/awesome/themes/default/submenu.png" theme.tasklist_floating_icon = "/usr/share/awesome/themes/default/tasklist/floatingw.png" -- }}} -- {{{ Layout icons theme.layout_tile = theme.confdir .. "/icons/layouts/tile.png" theme.layout_tileleft = theme.confdir .. "/icons/layouts/tileleft.png" theme.layout_tilebottom = theme.confdir .. "/icons/layouts/tilebottom.png" theme.layout_tiletop = theme.confdir .. "/icons/layouts/tiletop.png" theme.layout_fairv = theme.confdir .. "/icons/layouts/fairv.png" theme.layout_fairh = theme.confdir .. "/icons/layouts/fairh.png" theme.layout_spiral = theme.confdir .. "/icons/layouts/spiral.png" theme.layout_dwindle = theme.confdir .. "/icons/layouts/dwindle.png" theme.layout_max = theme.confdir .. "/icons/layouts/max.png" theme.layout_fullscreen = theme.confdir .. "/icons/layouts/fullscreen.png" theme.layout_magnifier = theme.confdir .. "/icons/layouts/magnifier.png" theme.layout_floating = theme.confdir .. "/icons/layouts/floating.png" -- }}} -- {{{ Widget icons theme.widget_cpu = theme.confdir .. "/icons/cpu.png" theme.widget_bat = theme.confdir .. "/icons/bat.png" theme.widget_mem = theme.confdir .. "/icons/mem.png" theme.widget_fs = theme.confdir .. "/icons/disk.png" theme.widget_net = theme.confdir .. "/icons/down.png" theme.widget_netup = theme.confdir .. "/icons/up.png" theme.widget_wifi = theme.confdir .. "/icons/wifi.png" theme.widget_mail = theme.confdir .. "/icons/mail.png" theme.widget_vol = theme.confdir .. "/icons/vol.png" theme.widget_org = theme.confdir .. "/icons/cal.png" theme.widget_date = theme.confdir .. "/icons/time.png" theme.widget_crypto = theme.confdir .. "/icons/crypto.png" theme.widget_sep = theme.confdir .. "/icons/separator.png" -- }}} -- {{{ Titlebar icons theme.titlebar_close_button_focus = theme.confdir .. "/icons/titlebar/close_focus.png" theme.titlebar_close_button_normal = theme.confdir .. "/icons/titlebar/close_normal.png" theme.titlebar_ontop_button_focus_active = theme.confdir .. "/icons/titlebar/ontop_focus_active.png" theme.titlebar_ontop_button_normal_active = theme.confdir .. "/icons/titlebar/ontop_normal_active.png" theme.titlebar_ontop_button_focus_inactive = theme.confdir .. "/icons/titlebar/ontop_focus_inactive.png" theme.titlebar_ontop_button_normal_inactive = theme.confdir .. "/icons/titlebar/ontop_normal_inactive.png" theme.titlebar_sticky_button_focus_active = theme.confdir .. "/icons/titlebar/sticky_focus_active.png" theme.titlebar_sticky_button_normal_active = theme.confdir .. "/icons/titlebar/sticky_normal_active.png" theme.titlebar_sticky_button_focus_inactive = theme.confdir .. "/icons/titlebar/sticky_focus_inactive.png" theme.titlebar_sticky_button_normal_inactive = theme.confdir .. "/icons/titlebar/sticky_normal_inactive.png" theme.titlebar_floating_button_focus_active = theme.confdir .. "/icons/titlebar/floating_focus_active.png" theme.titlebar_floating_button_normal_active = theme.confdir .. "/icons/titlebar/floating_normal_active.png" theme.titlebar_floating_button_focus_inactive = theme.confdir .. "/icons/titlebar/floating_focus_inactive.png" theme.titlebar_floating_button_normal_inactive = theme.confdir .. "/icons/titlebar/floating_normal_inactive.png" theme.titlebar_maximized_button_focus_active = theme.confdir .. "/icons/titlebar/maximized_focus_active.png" theme.titlebar_maximized_button_normal_active = theme.confdir .. "/icons/titlebar/maximized_normal_active.png" theme.titlebar_maximized_button_focus_inactive = theme.confdir .. "/icons/titlebar/maximized_focus_inactive.png" theme.titlebar_maximized_button_normal_inactive = theme.confdir .. "/icons/titlebar/maximized_normal_inactive.png" -- }}} -- }}} return theme
-- This file is under copyright, and is bound to the agreement stated in the EULA. -- Any 3rd party content has been used as either public domain or with permission. -- © Copyright 2016-2017 Aritz Beobide-Cardinal All rights reserved. ARCPhone.Settings = {} ARCPhone.EmergencyNumbers = {} ARCPhone.PhoneSys = ARCPhone.PhoneSys or {} ARCPhone.PhoneSys.Reception = 0 ARCPhone.PhoneSys.OldStatus = ARCPHONE_ERROR_CALL_ENDED ARCPhone.PhoneSys.HideWhatsOffTheScreen = true ARCPhone.PhoneSys.ValidKeys = {} ARCPhone.PhoneSys.KeyDelay = {} ARCPhone.PhoneSys.OutgoingTexts = ARCPhone.PhoneSys.OutgoingTexts or {} ARCPhone.PhoneSys.TextApps = {} ARCPhone.PhoneSys.Booted = false ARCPhone.PhoneSys.ControlHints = 0 ARCPhone.PhoneSys.Ent = NULL function ARCPhone.PhoneSys:SetPhoneCase(skin) --lua_run Entity( 1 ):GetWeapon( "weapon_arc_phone" ):SetSkin(2) -- World end function ARCPhone.PhoneSys:EmitSound(snd,vol,pitch,Volume) sound.Play( snd, LocalPlayer():GetPos(), vol, pitch,Volume) end function ARCPhone.PhoneSys:IsValid() return true end local pressedKeys = {} function ARCPhone.PhoneSys:Think(wep) if !gui.IsGameUIVisible() && !self.PauseInput then if self.TextInputTile then return end if !self.Loading && !self.ShowConsole then for k,v in pairs(self.ValidKeys) do if (input.IsKeyDown(v) || input.WasKeyPressed(v)) then -- The only reason why I merge IsKeyDown and WasKeyPressed is because of people with shitty computers if self.KeyDelay[v] <= CurTime() then if self.KeyDelay[v] < CurTime() - 1 then self:OnButtonDown(v) self:OnButton(v) self.KeyDelay[v] = CurTime() + 1 elseif self.KeyDelay[v] <= CurTime() then self.KeyDelay[v] = CurTime() + 0.1 self:OnButton(v) end pressedKeys[v] = true end elseif pressedKeys[v] then if self.KeyDelay[v] >= CurTime() - 1 then self:OnButtonUp(v) pressedKeys[v] = false self.KeyDelay[v] = CurTime() - 2 end end end end end end ARCPhone.PhoneSys.icons_reception = {} for i = 0,7 do ARCPhone.PhoneSys.icons_reception[i] = surface.GetTextureID( "arcphone/icons/"..i ) end ARCPhone.PhoneSys.icons_power = {} for i = 0,11 do ARCPhone.PhoneSys.icons_power[i] = surface.GetTextureID( "arcphone/icons/power_"..i ) end ARCPhone.PhoneSys.icons_power[12] = surface.GetTextureID( "arcphone/icons/power_charge" ) function ARCPhone.PhoneSys:DrawScreen() if not self.Initialized then return end surface.SetDrawColor(ARCLib.ConvertColor(self.Settings.Personalization.CL_13_BackgroundColour)) surface.DrawRect( 0, 0, self.ScreenResX, self.ScreenResY ) local app = self:GetActiveApp() if (app && self.Booted && app.Tiles && #app.Tiles > 0) then app:Draw() if !self.HideWhatsOffTheScreen then surface.SetDrawColor( 255, 0, 0, 255 ) surface.DrawOutlinedRect( relx1, rely1, relx2-relx1, rely2-rely1 ) end end local multiplier if self.ShowOptions then surface.SetDrawColor(ARCLib.ConvertColor(self.Settings.Personalization.CL_18_FadeColour)) surface.DrawOutlinedRect( 0, 0, self.ScreenResX, self.ScreenResY ) multiplier = (ARCLib.BetweenNumberScaleReverse(self.OptionAnimStartTime,CurTime(),self.OptionAnimEndTime)^2 -1)*-1 else multiplier = ARCLib.BetweenNumberScaleReverse(self.OptionAnimStartTime,CurTime(),self.OptionAnimEndTime)^2 end if multiplier > 0 then --[[ self.OptionAnimStartTime = 0 self.OptionAnimEndTime = 1]] local size = #self.Options * 14 surface.SetDrawColor(ARCLib.ConvertColor(self.Settings.Personalization.CL_14_ContextMenuMain)) surface.DrawRect( 0, self.ScreenResY - size*multiplier, self.ScreenResX, size ) for i = 1,#self.Options do if self.CurrentOption == i then surface.SetDrawColor(ARCLib.ConvertColor(self.Settings.Personalization.CL_15_ContextMenuSelect)) surface.DrawRect( 0, self.ScreenResY - ((i)*14)*multiplier, self.ScreenResX, 14 ) end draw.SimpleText(self.Options[i].text, "ARCPhoneSmall", 2, self.ScreenResY - (i*14)*multiplier, Color(255,255,255,255), TEXT_ALIGN_LEFT , TEXT_ALIGN_TOP ) end surface.SetDrawColor(ARCLib.ConvertColor(self.Settings.Personalization.CL_16_ContextMenuBorder)) surface.DrawOutlinedRect( 0, self.ScreenResY - size*multiplier, self.ScreenResX, size ) end local maxmsgbox = #self.MsgBoxs if maxmsgbox > 0 then surface.SetDrawColor( 0, 0, 0, 185 ) surface.DrawOutlinedRect( 0, 0, self.ScreenResX, self.ScreenResY ) local buttonwidth = self.ScreenResX - 8 local maxo = 1 local typ = self.MsgBoxs[maxmsgbox].Type if typ < 2 then maxo = 1 elseif typ > 1 && typ < 6 then maxo = 2 else maxo = 3 end local txttab = ARCLib.FitText(self.MsgBoxs[maxmsgbox].Text,"ARCPhoneSmall",buttonwidth) surface.SetDrawColor( 100, 100, 100, 255 ) surface.DrawRect( 0, 22, self.ScreenResX, 34 + 20*maxo + 12*#txttab) surface.SetDrawColor(ARCLib.ConvertColor(self.Settings.Personalization.CL_21_PopupBoxText)) surface.DrawOutlinedRect( 0, 22, self.ScreenResX, 34 + 20*maxo + 12*#txttab) surface.SetTexture(ARCPhone.GetIcon(self.MsgBoxs[maxmsgbox].Icon)) if self.MsgBoxs[maxmsgbox].Icon == "cancel-button" then surface.SetDrawColor( 255, 32, 16, 255 ) elseif self.MsgBoxs[maxmsgbox].Icon == "report-symbol" then surface.SetDrawColor( 255, 32, 16, 255 ) elseif self.MsgBoxs[maxmsgbox].Icon == "round-error-symbol" then surface.SetDrawColor( 200, 200, 0, 255 ) elseif self.MsgBoxs[maxmsgbox].Icon == "warning-sign" then surface.SetDrawColor( 200, 200, 0, 255 ) elseif self.MsgBoxs[maxmsgbox].Icon == "round-info-button" then surface.SetDrawColor( 64, 255, 64, 255 ) elseif self.MsgBoxs[maxmsgbox].Icon == "help-round-button" then surface.SetDrawColor( 64, 64, 255, 255 ) end surface.DrawTexturedRect( 4, 26, 16, 16 ) draw.SimpleText(ARCLib.CutOutText(self.MsgBoxs[maxmsgbox].Title,"ARCPhone",buttonwidth),"ARCPhone", 24, 27, self.Settings.Personalization.CL_21_PopupBoxText, TEXT_ALIGN_LEFT , TEXT_ALIGN_TOP ) for i = 1,#txttab do draw.SimpleText(txttab[i],"ARCPhoneSmall", 4, 34+(i*12), self.Settings.Personalization.CL_21_PopupBoxText, TEXT_ALIGN_LEFT , TEXT_ALIGN_TOP ) end surface.SetDrawColor( self.Settings.Personalization.CL_22_PopupAccept ) surface.DrawRect( 4, 46 + 4 + 12*#txttab, buttonwidth, 20) if typ == 1 || typ == 3 then -- Case statements would work really nice here :/ draw.SimpleText("OK","ARCPhone", self.HalfScreenResX, 46 + 6 + 12*#txttab, self.Settings.Personalization.CL_23_PopupAcceptText, TEXT_ALIGN_CENTER , TEXT_ALIGN_TOP ) end if typ == 2 || typ == 6 then draw.SimpleText("Yes","ARCPhone", self.HalfScreenResX, 46 + 6 + 12*#txttab, self.Settings.Personalization.CL_23_PopupAcceptText, TEXT_ALIGN_CENTER , TEXT_ALIGN_TOP ) end if typ == 4 || typ == 7 then draw.SimpleText("Retry","ARCPhone", self.HalfScreenResX, 46 + 6 + 12*#txttab, self.Settings.Personalization.CL_23_PopupAcceptText, TEXT_ALIGN_CENTER , TEXT_ALIGN_TOP ) end if typ == 5 then draw.SimpleText("Reply","ARCPhone", self.HalfScreenResX, 46 + 6 + 12*#txttab, self.Settings.Personalization.CL_23_PopupAcceptText, TEXT_ALIGN_CENTER , TEXT_ALIGN_TOP ) end if typ == 8 then draw.SimpleText("Answer","ARCPhone", self.HalfScreenResX, 46 + 6 + 12*#txttab, self.Settings.Personalization.CL_23_PopupAcceptText, TEXT_ALIGN_CENTER , TEXT_ALIGN_TOP ) end if self.MsgBoxOption == 1 then surface.SetDrawColor(ARCPhone.PhoneSys.Settings.Personalization.CL_00_CursorColour) surface.DrawOutlinedRect( 4, 46 + 4 + 12*#txttab, buttonwidth, 20) end if maxo > 1 then surface.SetDrawColor(self.Settings.Personalization.CL_24_PopupDeny) surface.DrawRect( 4, 46 + 24 + 12*#txttab, buttonwidth, 20) if typ == 2 || typ == 6 then -- Case statements would work really nice here :/ draw.SimpleText("No","ARCPhone",self.HalfScreenResX,46 + 26 + 12*#txttab, self.Settings.Personalization.CL_25_PopupDenyText, TEXT_ALIGN_CENTER , TEXT_ALIGN_TOP ) end if typ == 3 then draw.SimpleText("Cancel","ARCPhone",self.HalfScreenResX,46 + 26 + 12*#txttab, self.Settings.Personalization.CL_25_PopupDenyText, TEXT_ALIGN_CENTER , TEXT_ALIGN_TOP ) end if typ == 4 || typ == 7 then draw.SimpleText("Abort","ARCPhone",self.HalfScreenResX,46 + 26 + 12*#txttab, self.Settings.Personalization.CL_25_PopupDenyText, TEXT_ALIGN_CENTER , TEXT_ALIGN_TOP ) end if typ == 5 then draw.SimpleText("Close","ARCPhone",self.HalfScreenResX,46 + 26 + 12*#txttab, self.Settings.Personalization.CL_25_PopupDenyText, TEXT_ALIGN_CENTER , TEXT_ALIGN_TOP ) end if typ == 8 then draw.SimpleText("Ignore","ARCPhone",self.HalfScreenResX,46 + 26 + 12*#txttab, self.Settings.Personalization.CL_25_PopupDenyText, TEXT_ALIGN_CENTER , TEXT_ALIGN_TOP ) end if self.MsgBoxOption == 2 then surface.SetDrawColor(ARCPhone.PhoneSys.Settings.Personalization.CL_00_CursorColour) surface.DrawOutlinedRect( 4, 46 + 24 + 12*#txttab, buttonwidth, 20) end end if maxo > 2 then surface.SetDrawColor(self.Settings.Personalization.CL_26_PopupDefer) surface.DrawRect( 4, 46 + 44 + 12*#txttab, buttonwidth, 20) if typ == 6 then -- Case statements would work really nice here :/ draw.SimpleText("Cancel","ARCPhone", self.HalfScreenResX, 46 + 46 + 12*#txttab, self.Settings.Personalization.CL_27_PopupDeferText, TEXT_ALIGN_CENTER , TEXT_ALIGN_TOP ) end if typ == 7 then draw.SimpleText("Ignore","ARCPhone", self.HalfScreenResX, 46 + 46 + 12*#txttab, self.Settings.Personalization.CL_27_PopupDeferText, TEXT_ALIGN_CENTER , TEXT_ALIGN_TOP ) end if typ == 8 then draw.SimpleText("Text Excuse","ARCPhone", self.HalfScreenResX, 46 + 46 + 12*#txttab, self.Settings.Personalization.CL_27_PopupDeferText, TEXT_ALIGN_CENTER , TEXT_ALIGN_TOP ) end if self.MsgBoxOption == 3 then surface.SetDrawColor(ARCPhone.PhoneSys.Settings.Personalization.CL_00_CursorColour) surface.DrawOutlinedRect( 4, 46 + 44 + 12*#txttab, buttonwidth, 20) end end --[[ self.MsgBoxs[i].Title = title or "" self.MsgBoxs[i].Text = txt or "Message Box" self.MsgBoxs[i].Icon = icon or "" self.MsgBoxs[i].Type = typ or 1 ]] end surface.SetDrawColor(ARCPhone.PhoneSys.Settings.Personalization.CL_12_HotbarColour) surface.DrawRect( 0, 0, self.ScreenResX, 20 ) surface.SetDrawColor( ARCPhone.PhoneSys.Settings.Personalization.CL_12_HotbarBorder ) surface.DrawOutlinedRect( 0, 0, self.ScreenResX, self.ScreenResY ) surface.DrawOutlinedRect( 0, 0, self.ScreenResX, 21 ) surface.SetDrawColor( 255, 255, 255, 255 ) local sigicon = math.ceil(6*(self.Reception/100)+1) --[[ if self.Reception <= 0 then if math.sin(CurTime()*math.pi) > 0 then surface.SetTexture( self.icons_reception[1] ) else surface.SetTexture( self.icons_reception[2] ) end end ]] surface.SetTexture( self.icons_reception[sigicon] ) surface.DrawTexturedRect( 2, 2, 16, 16 ) local charge = system.BatteryPower() if charge > 100 then surface.SetTexture( self.icons_power[12] ) else surface.SetTexture( self.icons_power[math.Round(charge/100*11)] ) end surface.DrawTexturedRect( 20, 2, 16, 16 ) if self.Status != ARCPHONE_ERROR_CALL_ENDED then surface.SetMaterial( ARCLib.GetWebIcon16("iphone") ) surface.DrawTexturedRect( 20+18, 2, 16, 16 ) if self.Status == ARCPHONE_ERROR_NOT_LOADED then surface.SetDrawColor( 255, 255, 255, math.sin(CurTime()*5)^2 *255 ) surface.SetMaterial( ARCLib.GetWebIcon16("cancel") ) surface.DrawTexturedRect( 20+18, 2, 16, 16) elseif self.Reception < 30 || self.Status > ARCPHONE_ERROR_NONE then surface.SetDrawColor( 255, 255, 255, math.sin(CurTime()*5)^2 *255 ) surface.SetMaterial( ARCLib.GetWebIcon16("bullet_error") ) surface.DrawTexturedRect( 20+18, 2, 16, 16) end end if ARCPhone.Settings.phone_clock_cycle then draw.SimpleText(ARCPhone.AtmosTime,"ARCPhone",self.ScreenResX-4,4, color_white, TEXT_ALIGN_RIGHT , TEXT_ALIGN_TOP ) else draw.SimpleText(os.date( "%H:%M"),"ARCPhone",self.ScreenResX-4,4, color_white, TEXT_ALIGN_RIGHT , TEXT_ALIGN_TOP ) end --[[ surface.SetDrawColor( 255, 100, 100, 255 ) surface.SetMaterial( ARCLib.Icons16["cross"] ) --surface.DrawTexturedRect( -54, -98, 16, 16 ) ]] if self.Loading then surface.SetDrawColor( ARCPhone.PhoneSys.Settings.Personalization.CL_19_MegaFadeColour ) surface.DrawRect( 0, 0, self.ScreenResX, self.ScreenResY ) if self.LoadingPer < 0 then draw.SimpleText("Loading...", "ARCPhone", self.HalfScreenResX, self.HalfScreenResY, ARCPhone.PhoneSys.Settings.Personalization.CL_03_MainText, TEXT_ALIGN_CENTER , TEXT_ALIGN_CENTER ) else draw.SimpleText("Loading... ("..self.LoadingPer.."%)", "ARCPhone", self.HalfScreenResX, self.HalfScreenResY, ARCPhone.PhoneSys.Settings.Personalization.CL_03_MainText , TEXT_ALIGN_CENTER , TEXT_ALIGN_CENTER ) end end surface.SetDrawColor( 255, 255, 255, 255 ) end function ARCPhone.PhoneSys:Init(wep) self.Booted = false self:SetLoading(0) self.ScreenResX = 138 self.ScreenResY = 250 self.HalfScreenResX = self.ScreenResX/2 self.HalfScreenResY = self.ScreenResY/2 self.LastWep = "weapon_physgun" self.ActiveApp = "home" self.ShowOptions = false self.Options = {} self.CurrentOption = 1 self.MsgBoxs = {} self.MsgBoxOption = 1 self.OptionAnimStartTime = 0 self.OptionAnimEndTime = 1 self.Ent = wep or NULL self.Initialized = true if !wep then return end wep.VElements["screen"].draw_func = function( weapon ) if self.HideWhatsOffTheScreen then -- I have no idea how to stencil, but hey, it works, and doesn't cause significant FPS drop render.ClearStencil() --Clear stencil render.SetStencilEnable( true ) --Enable stencil render.SetStencilWriteMask( 255 ) render.SetStencilTestMask( 255 ) --STENCILOPERATION_KEEP --STENCILOPERATION_INCR render.SetStencilCompareFunction( STENCILCOMPARISONFUNCTION_NEVER ) render.SetStencilFailOperation( STENCILOPERATION_INCR ) render.SetStencilPassOperation( STENCILOPERATION_KEEP ) render.SetStencilZFailOperation( STENCILOPERATION_KEEP ) -- Yeah yeah, I know drawing a giant box around the phone is probably not the best way to do it. If anyone is willing to teach me how to stencil, that would be appriciated (You'd get moneh for it toooo!) surface.SetDrawColor( 0, 0, 0, 255 ) surface.DrawRect( self.ScreenResX, 0, 1000, self.ScreenResY ) surface.DrawRect( -5000, 0, 5000, self.ScreenResY ) surface.DrawRect( -5000, -4000, 6000+self.ScreenResX, 4000 ) surface.DrawRect( -5000, self.ScreenResY, 6000+self.ScreenResX, 1000 ) --render.SetStencilPassOperation( STENCILOPERATION_DECR ) --surface.SetDrawColor( 255, 255, 255, 255 ) --surface.DrawRect( -100, 0, 100, 100 ) --224 render.SetStencilReferenceValue( 0 ) --Reference value 1 render.SetStencilCompareFunction( STENCILCOMPARISONFUNCTION_EQUAL ) --Only draw if pixel value == reference value ----------------------------------- --Thing to be drawn in the cutout--4 ----------------------------------- end self:DrawScreen() render.SetStencilEnable( false ) end if game.SinglePlayer() then self:AddMsgBox("CRITICAL ERROR","This is a single-player game.","cancel-button") return end if !file.IsDir( "_arcphone_client","DATA" ) then file.CreateDir("_arcphone_client") end if !file.IsDir( "_arcphone_client","DATA" ) then self:AddMsgBox("CRITICAL ERROR","Failed to create root folder. All apps that require data to be saved (including the home screen) won't work.","cancel-button") return end ARCPhone.ROOTDIR = "_arcphone_client/"..ARCPhone.GetPhoneNumber(LocalPlayer()) if !file.IsDir( ARCPhone.ROOTDIR,"DATA" ) then file.CreateDir( ARCPhone.ROOTDIR) end if !file.IsDir( ARCPhone.ROOTDIR.."/appdata","DATA" ) then file.CreateDir( ARCPhone.ROOTDIR.."/appdata") end if !file.IsDir( ARCPhone.ROOTDIR.."/messaging","DATA" ) then file.CreateDir( ARCPhone.ROOTDIR.."/messaging") end if !file.IsDir( ARCPhone.ROOTDIR.."/contactphotos","DATA" ) then file.CreateDir( ARCPhone.ROOTDIR.."/contactphotos") end if !file.IsDir( ARCPhone.ROOTDIR.."/camera","DATA" ) then file.CreateDir( ARCPhone.ROOTDIR.."/camera") end if !file.IsDir( ARCPhone.ROOTDIR.."/qr_decode","DATA" ) then file.CreateDir( ARCPhone.ROOTDIR.."/qr_decode") end if !file.IsDir( ARCPhone.ROOTDIR.."/photos","DATA" ) then file.CreateDir( ARCPhone.ROOTDIR.."/photos") end if !file.IsDir( ARCPhone.ROOTDIR.."/photos/texts","DATA" ) then file.CreateDir( ARCPhone.ROOTDIR.."/photos/texts") end if !file.IsDir( ARCPhone.ROOTDIR.."/photos/camera","DATA" ) then file.CreateDir( ARCPhone.ROOTDIR.."/photos/camera") end if !file.IsDir( ARCPhone.ROOTDIR.."/photos/saved","DATA" ) then file.CreateDir( ARCPhone.ROOTDIR.."/photos/saved") end if (ARCPhone.ClientFiles) then for k,v in pairs(ARCPhone.ClientFiles) do MsgN("WRITING "..ARCPhone.ROOTDIR..k) file.Write(ARCPhone.ROOTDIR..k,util.Base64Decode(v)) end ARCPhone.ClientFiles = nil end --contactphotos self.RootDir = ARCPhone.ROOTDIR self:Init_DLFiles(1,0) end function ARCPhone.PhoneSys:SetValidKeys(tab) self.ValidKeys = tab self.KeyDelay = {} for k,v in pairs(ARCPhone.PhoneSys.ValidKeys) do ARCPhone.PhoneSys.KeyDelay[v] = CurTime() - 1 end end function ARCPhone.PhoneSys:Init_Final() for k,v in pairs(ARCPhone.Apps) do if file.Exists(ARCPhone.ROOTDIR.."/appdata/"..k..".txt","DATA") then local tab = util.JSONToTable(file.Read(ARCPhone.ROOTDIR.."/appdata/"..k..".txt","DATA")) if tab then v.Disk = tab end end end for k,v in pairs(ARCPhone.Apps) do v._RTScreen = ARCLib.CreateRenderTarget(k.."_screencam",self.ScreenResX,self.ScreenResY) if isstring(v.Number) then v:RegisterTextNumber() end self:CloseApp(k) v:PhoneStart() end table.Merge( self.Settings, ARCPhone.Apps.settings.Disk ) ARCPhone.Apps.settings.Disk = self.Settings local s = self.Settings.System ARCPhone.PhoneSys:SetValidKeys({s.KeyUp,s.KeyDown,s.KeyLeft,s.KeyRight,s.KeyEnter,s.KeyBack,s.KeyContext}) self:SetLoading(-2) self:OpenApp("home") self.Booted = true if not ARCPhone.Settings.disable_beta_message then self:AddMsgBox("BETA VERSION","This is an unfinished BETA version of ARCPhone.\nMost of the core functionality is here, and it works, but there's still a bit more to go. Because of this, features might be added, changed, replaced, or even removed.\nThank you for supporting ARitz Cracker! :)\n(Press ENTER to close this window)","round-info-button") end --self:AddMsgBox("My excuse for a tutorial","Use the Arrow keys to move the cursor. Press BACKSPACE to go back, press CTRL to access the context menu (It's kinda like right-clicking), and press ENTER to select.","info") end function ARCPhone.PhoneSys:Init_DLFiles(num,retries) if (ARCPhone.ClientFilesDL && ARCPhone.ClientFilesDL[num]) then if (file.Exists(ARCPhone.ROOTDIR..ARCPhone.ClientFilesDL[num],"DATA")) then self:SetLoading(num/#ARCPhone.ClientFilesDL) timer.Simple(0.1, function() ARCPhone.PhoneSys:Init_DLFiles(num+1) end) else http.Fetch( "https://update.aritzcracker.ca/arcphone_dlfiles"..ARCPhone.ClientFilesDL[num], function( body, len, headers, code ) if code == 200 then file.Write(ARCPhone.ROOTDIR..ARCPhone.ClientFilesDL[num],util.Base64Decode(body)) else self:AddMsgBox("HTTP Error code: "..code.." while getting "..ARCPhone.ClientFilesDL[num].."\nThis may cause graphical glitches","warning-sign") end self:SetLoading(num/#ARCPhone.ClientFilesDL) ARCPhone.PhoneSys:Init_DLFiles(num+1) end, function( err ) if retries < 10 then timer.Simple(10,function() ARCPhone.PhoneSys:Init_DLFiles(num) end) else ARCPhone.PhoneSys:Init_DLFiles(num+1) self:SetLoading(num/#ARCPhone.ClientFilesDL) self:AddMsgBox("HTTP Error: "..err.." while getting "..ARCPhone.ClientFilesDL[num].."\nThis may cause graphical glitches","warning-sign") end end ); end else ARCPhone.PhoneSys:Init_Final() end end if IsValid(LocalPlayer()) then -- Lua autorefresh local wep = LocalPlayer():GetWeapon( "weapon_arc_phone" ) if IsValid(wep) then ARCPhone.PhoneSys:Init(wep) end wep = nil end function ARCPhone.PhoneSys:Lock() if self.LastWep then net.Start("arcphone_switchwep") net.WriteString(self.LastWep) net.SendToServer() end end local lastback = 0; --Tiny hack I'm doing to make people happy local pressedContext local pressedBack function ARCPhone.PhoneSys:OnButton(button) if (pressedContext and pressedBack and ARCPhone.PhoneSys.ControlHints > SysTime()-5) then ARCPhone.PhoneSys.ControlHints = SysTime() + 5 end local s = self.Settings.System if self.ColourInputTile then self:ColourInputFunc(button) return end if self.ChoiceInputTile then self:ChoiceInputFunc(button) return end local app = self:GetActiveApp() if #self.MsgBoxs > 0 then local i = #self.MsgBoxs local maxo = 1 local typ = self.MsgBoxs[i].Type if typ < 2 then maxo = 1 elseif typ > 1 && typ < 6 then maxo = 2 else maxo = 3 end if button == s.KeyDown then if self.MsgBoxOption < maxo then self.MsgBoxOption = self.MsgBoxOption + 1 self:EmitSound("arcphone/menus/press.wav",50,100,0.8) else self:EmitSound("common/wpn_denyselect.wav",50,100,0.8) end elseif button == s.KeyUp then if self.MsgBoxOption > 1 then self.MsgBoxOption = self.MsgBoxOption - 1 self:EmitSound("arcphone/menus/press.wav",50,100,0.8) else self:EmitSound("common/wpn_denyselect.wav",50,100,0.8) end end return elseif button == s.KeyContext then pressedContext = true self.ShowOptions = !self.ShowOptions self.OptionAnimStartTime = CurTime() self.OptionAnimEndTime = CurTime() + 0.35 if self.ShowOptions then self.Options = table.LiteCopy(app.Options) self.Options[#self.Options+1] = {} self.Options[#self.Options].text = "Opened Apps" self.Options[#self.Options].args = {self} self.Options[#self.Options].func = self.AppList self.Options[#self.Options+1] = {} self.Options[#self.Options].text = "Lock" self.Options[#self.Options].args = {self} self.Options[#self.Options].func = self.Lock self.Options[#self.Options+1] = {} self.Options[#self.Options].text = "Home" self.Options[#self.Options].args = {self,"home",true} self.Options[#self.Options].func = self.OpenApp self.CurrentOption = #self.Options end elseif self.ShowOptions then if button == s.KeyBack then self.OptionAnimStartTime = CurTime() self.OptionAnimEndTime = CurTime() + 0.35 self.ShowOptions = false elseif button == s.KeyUp then if self.CurrentOption < #self.Options then self.CurrentOption = self.CurrentOption + 1 self:EmitSound("arcphone/menus/press.wav",50,100,0.8) else self:EmitSound("common/wpn_denyselect.wav",50,100,0.8) end elseif button == s.KeyDown then if self.CurrentOption > 1 then self.CurrentOption = self.CurrentOption - 1 self:EmitSound("arcphone/menus/press.wav",50,100,0.8) else self:EmitSound("common/wpn_denyselect.wav",50,100,0.8) end end return else if !app.DisableTileSwitching then app:_SwitchTile(button) end if button == s.KeyBack then pressedBack = true if (CurTime() < lastback) then self:Lock() end lastback = CurTime() + 0.25 app:OnBack() elseif button == s.KeyEnter then app:OnEnter() elseif button == s.KeyUp then app:OnUp() elseif button == s.KeyDown then app:OnDown() elseif button == s.KeyLeft then app:OnLeft() elseif button == s.KeyRight then app:OnRight() end end end local ispressinginmanu = false function ARCPhone.PhoneSys:OnButtonUp(button) local s = self.Settings.System if button == s.KeyContext then return end if self.ColourInputTile && button == s.KeyEnter then if isfunction(self.ColourInputTile.OnChosen) then self.ColourInputTile:OnChosen(self.ColourInputTile:GetValue()) end self.ColourInputTile = nil return end if self.ChoiceInputTile && button == s.KeyEnter then self.ChoiceInputTile.AnimStart = CurTime() self.ChoiceInputTile.AnimEnd = CurTime() + 0.5 self.ChoiceInputTile.ChoiceText = nil if isfunction(self.ChoiceInputTile.OnChosen) then self.ChoiceInputTile:OnChosen(self.ChoiceInputTile:GetValue()) end self.ChoiceInputTile = nil return end local app = self:GetActiveApp() if #self.MsgBoxs > 0 then if ispressinginmanu then local i = #self.MsgBoxs if button == s.KeyEnter then if self.MsgBoxOption == 1 then self.MsgBoxs[i].GreenFunc() elseif self.MsgBoxOption == 2 then self.MsgBoxs[i].RedFunc() elseif self.MsgBoxOption == 3 then self.MsgBoxs[i].YellowFunc() end self.MsgBoxs[i] = nil self.MsgBoxOption = 1 ispressinginmanu = false end end return elseif self.ShowOptions then if button == s.KeyEnter then self.Options[self.CurrentOption].func(unpack(self.Options[self.CurrentOption].args)) self.OptionAnimStartTime = CurTime() self.OptionAnimEndTime = CurTime() + 0.1 self.ShowOptions = false return end else if button == s.KeyBack then app:OnBackUp() elseif button == s.KeyEnter then app:_OnEnterUp() app:OnEnterUp() elseif button == s.KeyUp then app:OnUpUp() elseif button == s.KeyDown then app:OnDownUp() elseif button == s.KeyLeft then app:OnLeftUp() elseif button == s.KeyRight then app:OnRightUp() end end end function ARCPhone.PhoneSys:OnButtonDown(button) local s = self.Settings.System if self.ColourInputTile || self.ChoiceInputTile || button == s.KeyContext then return end if #self.MsgBoxs > 0 then ispressinginmanu = true return elseif self.ShowOptions then return end local app = self:GetActiveApp() if button == s.KeyBack then app:OnBackDown() elseif button == s.KeyEnter then app:_OnEnterDown() app:OnEnterDown() elseif button == s.KeyUp then app:OnUpDown() elseif button == s.KeyDown then app:OnDownDown() elseif button == s.KeyLeft then app:OnLeftDown() elseif button == s.KeyRight then app:OnRightDown() end end function ARCPhone.PhoneSys:GenerateImagePreviewStart() if self.GeneratingThumbs then return end self.GeneratingThumbs = true self.ThumbMats = self.ThumbMats or {} self:GenerateImagePreview() end function ARCPhone.PhoneSys:GenerateImagePreview() local path = self.ThumbMats[self.ThumbMati] if path then self.PreviewRT:Capture("jpeg",100,function(data) if !IsValid(self) then return end local thumbfullpath = ARCPhone.ROOTDIR .. "/photos/"..string.sub( path, 1, #path-10 )..".thumb.jpg" file.Write(thumbfullpath,data) self.ThumbMaterials[path] = Material("../data/" .. thumbfullpath) self.ThumbMati = self.ThumbMati + 1 self:GenerateImagePreview() end) else self.ThumbMati = 1 self.GeneratingThumbs = false self.PreviewRT:Destroy() end end function ARCPhone.PhoneSys:ClearImageMaterials() self.PhotoMaterials = {} self.ThumbMaterials = {} self.GeneratingThumbs = false self.PreviewRT:Destroy() self.PreviewRT = nil self.ThumbMati = 1 self.ThumbMats = {} end function ARCPhone.PhoneSys:GetImageMaterials(path) self.PhotoMaterials = self.PhotoMaterials or {} self.ThumbMaterials = self.ThumbMaterials or {} self.ThumbMats = self.ThumbMats or {} self.ThumbMati = self.ThumbMati or 1 if !self.PhotoMaterials[path] or !self.ThumbMaterials[path] then local fullpath = ARCPhone.ROOTDIR .. "/photos/"..path if file.Exists(fullpath,"DATA") then self.PhotoMaterials[path] = Material("../data/" .. fullpath) local thumbfullpath = string.sub( fullpath, 1, #fullpath-10 )..".thumb.jpg" if file.Exists(thumbfullpath,"DATA") then self.ThumbMaterials[path] = Material("../data/" .. thumbfullpath) else self.ThumbMaterials[path] = ARCLib.GetWebIcon32("photo") self.ThumbMats[#self.ThumbMats + 1] = path if !IsValid(self.PreviewRT) then self.PreviewRT = ARCLib.CreateRenderTarget("arcphone_imgthumb",128,128) self.PreviewRT:Enable() self.PreviewRT:SetFunc(function() if !IsValid(self) then return end if self.ThumbMats[self.ThumbMati] then cam.Start2D() --MsgN("RENDERING "..self.ThumbMats[self.ThumbMati]) local mat = self.PhotoMaterials[self.ThumbMats[self.ThumbMati]] local w = mat:Width() local h = mat:Height() if w > h then h = 128*(h/w) w = 128 else w = 128*(w/h) h = 128 end local x = 64 - w/2 local y = 64 - h/2 surface.SetDrawColor(255,255,255,255) surface.SetMaterial(mat) surface.DrawTexturedRect(x,y,w,h) cam.End2D() end end) end self:GenerateImagePreviewStart() end else self.PhotoMaterials[path] = ARCLib.GetWebIcon32("document_torn") self.ThumbMaterials[path] = ARCLib.GetWebIcon32("document_torn") end end return self.PhotoMaterials[path],self.ThumbMaterials[path] end --ARCPhone.PhoneSys.Init()
object_tangible_quest_quest_start_profession_smuggler_20 = object_tangible_quest_quest_start_shared_profession_smuggler_20:new { } ObjectTemplates:addTemplate(object_tangible_quest_quest_start_profession_smuggler_20, "object/tangible/quest/quest_start/profession_smuggler_20.iff")
-- Invector, License MIT, Author Jordach local track_def = { grid_pos_offset = vector.new(4,8,4), track_data = {}, music = "the_rush_of_eternity", crescendo_music = "the_ravers_of_eternity", track_icon_model = "default_kart.b3d", track_icon_materials = "blue_kart_neo.png,blue_skin.png,transparent.png,transparent.png", track_icon_rotation = "-15,0", track_icon_animation = "{0,0}", track_name = "Testing Track", track_button = "test_track", track_num_laps = 3, track_num_waypoints = 11, track_mapblocks_size_min = vector.new(1,1,1), track_mapblocks_size_max = vector.new(3,1,3) } track_def.track_data = minetest.deserialize([[return{{{{["nodes"]={{1,160},{2,96},{1,129},{3,5},{1,11},{2,111},{1,129},3,3,3,3,{1,12},{2,111},{1,129},3,3,3,{1,13},{2,111},{1,129},3,3,{1,14},2,2,2,4,{2,107},{1,129},3,3,{1,14},{2,6},4,{2,104},{1,129},3,3,{1,14},{5,12},{2,99},{1,129},3,3,{1,14},{5,12},{2,99},{1,129},3,3,{1,14},2,2,2,4,2,2,2,2,1,1,1,{2,100},{1,129},3,3,{1,14},{2,6},4,2,1,1,1,{2,100},{1,129},3,3,{1,14},{2,8},1,1,1,6,6,6,6,{2,96},{1,129},3,3,{1,14},{2,8},1,1,1,6,6,6,6,{2,96},{1,129},3,3,{1,14},2,2,2,4,2,2,2,2,1,{2,102},{1,129},3,3,{1,14},{2,6},4,2,1,{2,102},{1,129},3,3,{1,14},{2,8},1,{2,102},{1,129},3,3,{1,14},{2,8},1,{2,102}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"solarsail:wireframe","air","invector:eternity_grass","invector:starting_grid_marker","invector:waypoint_9","invector:waypoint_8"}},{["nodes"]={{1,129},2,2,{1,14},3,3,3,4,3,3,3,3,1,{3,102},{1,129},2,2,{1,14},{3,6},4,3,1,{3,102},{1,129},2,2,{1,14},{5,8},1,{3,102},{1,129},2,2,{1,14},{5,8},1,{3,102},{1,129},2,2,{1,14},3,3,3,4,3,3,3,3,1,{3,102},{1,129},2,2,{1,14},{3,6},4,3,1,{3,102},{1,129},2,2,{1,14},{3,8},1,{3,102},{1,129},2,2,{1,14},{3,8},1,6,6,1,1,6,6,{3,96},{1,129},2,2,{1,14},3,3,3,4,3,3,3,3,1,6,6,1,1,6,6,{3,96},{1,129},2,2,{1,14},{3,6},4,3,1,{3,102},{1,129},2,2,{1,14},{3,8},1,{3,102},{1,129},2,2,{1,14},{3,8},1,{3,102},{1,129},2,2,{1,14},{7,8},1,{3,102},{1,129},2,2,{1,14},{7,8},1,{3,102},{1,129},2,2,{1,14},{3,8},1,{8,6},{3,96},{1,129},2,2,{1,14},{9,8},1,{8,6},{3,96}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"solarsail:wireframe","invector:eternity_grass","air","invector:starting_grid_marker","invector:waypoint_10","invector:waypoint_7","invector:waypoint_11","invector:waypoint_6","invector:sector_marker"}},{["nodes"]={{1,129},2,2,{1,14},{3,8},1,{3,102},{1,129},2,2,{1,14},{3,8},1,{3,102},{1,129},2,2,{1,14},{3,8},1,{3,6},1,{3,15},1,{3,15},1,{3,15},1,{3,15},1,{3,15},1,{3,15},{1,129},2,2,{1,14},{3,8},1,{3,6},1,{3,15},1,{3,15},1,{3,15},1,{3,15},1,{3,15},1,{3,15},{1,129},2,2,{1,14},{3,8},1,{3,6},1,{3,15},1,{3,15},1,{3,15},1,{3,15},1,{3,15},1,{3,15},{1,129},2,2,{1,14},{4,8},1,{3,6},1,{3,15},1,{3,15},1,{3,15},1,{3,15},1,{3,15},1,{3,15},{1,129},2,2,{1,14},{4,8},{1,8},{3,15},1,{3,15},1,{3,15},1,{3,15},1,{3,15},1,{3,15},{1,129},2,2,{1,14},{3,9},5,5,3,3,3,3,1,{3,15},1,{3,15},1,{3,15},1,{3,15},1,{3,15},1,{3,15},{1,129},2,2,{1,14},{3,9},5,5,3,3,3,3,1,{3,15},1,{3,15},1,{3,15},1,{3,15},1,{3,15},1,{3,15},{1,129},2,2,{1,14},{3,9},5,5,{3,100},{1,129},2,2,{1,14},{3,9},5,5,{3,100},{1,129},2,2,{1,14},{3,9},5,5,{3,100},{1,129},2,2,2,{1,13},{3,9},5,5,{3,100},{1,129},{2,15},1,{3,9},5,5,{3,100},{1,129},{2,15},1,{3,9},5,5,{3,100},{1,160},{3,96}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"solarsail:wireframe","invector:eternity_grass","air","invector:waypoint_1","invector:waypoint_2"}}}},{{{["nodes"]={{1,160},{2,96},{1,145},{2,14},1,{2,96},{1,145},{2,14},1,{2,96},{1,145},{2,14},1,{2,96},{1,145},{2,14},1,{2,96},{1,145},{2,14},1,{2,96},{1,145},{2,14},1,{2,96},{1,145},{2,14},1,{2,96},{1,145},{2,14},1,{2,96},{1,145},{2,14},1,{2,96},{1,145},{2,14},1,{2,96},{1,145},{2,14},1,{2,96},{1,145},{2,14},1,{2,96},{1,145},{2,14},1,{2,96},{1,145},{2,14},1,{2,96},{1,145},{2,14},1,{2,96}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"solarsail:wireframe","air"}},{["nodes"]={{1,145},{2,14},1,{2,96},{1,145},{2,14},1,{2,96},{1,145},{2,14},1,{2,96},{1,145},{2,14},1,{2,96},{1,145},{2,14},1,{2,96},{1,145},{2,14},1,{2,96},{1,145},{2,14},1,{2,96},{1,145},{2,14},1,{2,96},{1,145},{2,14},1,{2,96},{1,145},{2,14},1,{2,96},{1,145},{2,14},1,{2,96},{1,145},{2,14},1,{2,96},{1,145},{2,14},1,{2,96},{1,145},{2,14},1,{2,96},{1,145},{2,14},1,{2,96},{1,160},{2,96}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"solarsail:wireframe","air"}},{["nodes"]={{1,138},{2,5},1,1,1,{3,12},4,1,{3,96},{1,139},2,2,2,2,1,1,1,{3,11},4,4,1,{3,96},{1,140},2,2,2,1,5,5,{3,10},4,4,3,1,{3,96},{1,141},2,2,1,5,5,{3,9},4,4,3,3,1,{3,96},{1,141},2,2,1,5,5,{3,8},4,4,3,3,3,1,{3,96},{1,141},2,2,1,5,5,{3,7},4,4,3,3,3,3,1,{3,96},{1,141},2,2,{1,10},4,{3,5},1,{3,96},{1,141},2,2,1,{3,7},1,1,{3,6},1,{3,96},{1,141},2,2,1,{3,7},1,1,{3,6},1,{3,96},{1,141},2,2,1,{3,7},6,6,{3,6},1,{3,96},{1,141},2,2,1,{3,7},6,6,{3,6},1,{3,96},{1,141},2,2,1,{3,7},6,6,{3,6},1,{3,96},{1,140},2,2,2,1,{3,7},6,6,{3,6},1,{3,96},{1,128},{2,15},1,{3,7},6,6,{3,6},1,{3,96},{1,128},{2,15},1,{3,7},6,6,{3,6},1,{3,96},{1,160},{3,96}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"solarsail:wireframe","invector:eternity_grass","air","invector:waypoint_4","invector:waypoint_5","invector:waypoint_3"}}}},{{{["nodes"]={{1,144},{2,112},{1,144},{2,112},{1,144},{2,112},{1,144},{2,112},{1,144},{2,112},{1,144},{2,112},{1,144},{2,112},{1,144},{2,112},{1,144},{2,112},{1,144},{2,112},{1,144},{2,112},{1,144},{2,112},{1,144},{2,112},{1,144},{2,112},{1,144},{2,112},{1,144},{2,112}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"solarsail:wireframe","air"}},{["nodes"]={{1,144},{2,112},{1,144},{2,112},{1,144},{2,112},{1,144},{2,112},{1,144},{2,112},{1,144},{2,112},{1,144},{2,112},{1,144},{2,112},{1,144},{2,112},{1,144},{2,112},{1,144},{2,112},{1,144},{2,112},{1,144},{2,112},{1,144},{2,112},{1,144},{2,112},{1,144},{2,112}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"solarsail:wireframe","air"}},{["nodes"]={{1,144},{2,112},{1,144},{2,112},{1,144},{2,112},{1,144},{2,112},{1,144},{2,112},{1,144},{2,112},{1,144},{2,112},{1,144},{2,112},{1,144},{2,112},{1,144},{2,112},{1,144},{2,112},{1,144},{2,112},{1,144},{2,112},{1,144},{2,112},{1,144},{2,112},{1,144},{2,112}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"solarsail:wireframe","air"}}}}}]]) --invector.game.register_track("test_track", track_def) local circ_demo = { grid_pos_offset = vector.new(21,9,18), track_data = {}, music = "the_rush_of_eternity", crescendo_music = "the_rush_of_eternity", track_icon_model = "item_sand.b3d", track_icon_materials = "solarsail_wireframe.png", track_icon_rotation = "-15,0", track_icon_animation = "{0,0}", track_name = "Circuit 'l Demonstrata", track_button = "circ_demo", track_num_laps = 3, track_num_waypoints = 18, track_mapblocks_size_min = vector.new(1,1,1), track_mapblocks_size_max = vector.new(7,2,7) } circ_demo.track_data = minetest.deserialize([[return{{{{["nodes"]={{1,128},{2,16},{1,240},{2,5},{3,11},{1,11},{2,5},{1,11},{4,5},{1,11},{4,5},{1,11},{4,5},{1,11},{4,5},{1,11},{4,5},{1,11},{4,5},{1,128},{2,5},{3,11},{1,10},2,1,5,5,{1,12},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,133},{2,5},{3,11},{1,9},2,1,1,1,5,5,{1,10},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,134},{2,5},{3,11},{1,8},2,{1,5},5,5,{1,8},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,135},{2,5},{3,11},{1,8},2,{1,6},5,{1,8},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,135},{2,5},{3,11},{1,8},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,135},{2,5},{3,11},{1,8},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,135},{2,5},{3,11},{1,8},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,135},{2,5},{3,11},{1,8},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,135},{2,5},{3,11},{1,8},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,135},{2,5},{3,11},{1,8},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,135},{2,5},{3,11},{1,8},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,135},{2,5},{3,11},{1,8},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,135},{2,5},{3,11},{1,8},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,135},{2,5},{3,11},{1,8},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,7}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","solarsail:wireframe","invector:eternity_grass","invector:invisible_wall","invector:waypoint_17"}},{["nodes"]={{1,128},{2,5},{3,11},{1,8},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,135},{2,5},{3,11},{1,8},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,135},{2,5},{3,11},{1,8},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,135},{2,5},{3,11},{1,8},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,135},{2,5},{3,11},{1,8},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,135},{2,5},{3,11},{1,8},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,135},{2,5},{3,11},{1,8},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,135},{2,5},{3,11},{1,8},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,135},{2,5},{3,11},{1,8},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,135},{2,5},{3,11},{1,8},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,135},{2,5},{3,11},{1,8},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,135},{2,5},{3,11},{1,8},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,135},{2,5},{3,11},{1,8},2,{5,7},{1,8},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,135},{2,5},{3,11},{1,8},2,{5,7},{1,8},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,135},{2,5},{3,11},{1,8},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,135},{2,5},{3,11},{1,8},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,7}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","solarsail:wireframe","invector:eternity_grass","invector:invisible_wall","invector:waypoint_18"}},{["nodes"]={{1,128},{2,5},{3,11},{1,8},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,135},{2,5},{3,11},{1,8},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,135},{2,5},{3,11},{1,8},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,135},{2,5},{3,11},{1,8},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,135},{2,5},{3,11},{1,8},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,135},{2,5},{3,11},{1,8},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,135},{2,5},{3,11},{1,8},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,135},{2,5},{3,11},{1,8},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,135},{2,5},{3,11},{1,8},2,{5,7},{1,8},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,135},{2,5},{3,11},{1,8},2,{5,7},{1,8},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,135},{2,5},{3,11},{1,8},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,135},{2,5},{3,11},{1,8},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,135},{2,5},{3,11},{1,8},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,135},{2,5},{3,11},{1,8},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,135},{2,5},{3,11},{1,8},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,135},{2,5},{3,11},{1,8},2,{6,7},{1,8},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,7}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","solarsail:wireframe","invector:eternity_grass","invector:invisible_wall","invector:sector_marker","invector:waypoint_1"}},{["nodes"]={{1,128},{2,9},{3,7},{2,9},{4,7},{5,9},{1,7},{5,9},{1,7},{5,9},{1,7},{5,9},{1,7},{5,9},{1,7},{5,9},{1,135},2,{3,15},2,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,143},2,{3,14},2,2,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,143},2,{3,14},2,2,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,143},2,{3,13},2,2,2,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,143},2,{3,12},2,2,2,2,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,143},2,{3,11},{2,5},{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,143},2,{3,9},{2,7},{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,143},2,{3,6},{2,10},{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,143},2,{3,5},{2,11},{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,143},2,3,3,3,3,{2,12},{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,143},2,3,3,3,{2,13},{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,143},2,3,3,{2,14},{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,143},2,3,3,{2,14},{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,143},2,3,3,{2,14},{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,143},2,3,3,{2,14},{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","solarsail:wireframe","invector:eternity_grass","invector:waypoint_1","invector:invisible_wall"}},{["nodes"]={{1,128},2,3,{2,15},{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,143},2,3,{2,15},{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,143},2,3,{2,15},{5,7},{1,8},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,143},2,3,{2,15},{5,8},{1,7},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,143},2,3,{2,8},{3,6},2,{1,7},5,5,5,{1,5},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,143},2,3,{2,7},{3,7},2,{1,8},5,5,5,1,1,1,1,4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,143},2,3,{2,7},{3,7},2,{1,10},5,5,1,1,1,4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,143},2,3,{2,7},3,3,3,{2,5},{1,11},2,2,2,2,4,{1,11},{4,5},{1,11},{4,5},{1,11},{4,5},{1,11},{4,5},{1,11},{4,5},{1,11},4,4,4,4,{1,128},2,3,{2,7},3,3,3,{2,5},{1,11},2,1,1,1,4,{1,11},4,1,1,1,4,{1,11},4,1,1,1,4,{1,11},4,1,1,1,4,{1,11},4,1,1,1,4,{1,11},4,1,1,1,4,{1,11},4,{1,131},2,3,2,2,6,2,6,2,6,3,3,3,{2,5},{1,11},2,1,1,1,4,{1,11},4,1,1,1,4,{1,11},4,1,1,1,4,{1,11},4,1,1,1,4,{1,11},4,1,1,1,4,{1,11},4,1,1,1,4,{1,11},4,{1,131},2,3,{2,7},3,3,3,{2,5},{1,11},2,1,1,1,4,{1,11},4,1,1,1,4,{1,11},4,1,1,1,4,{1,11},4,1,1,1,4,{1,11},4,1,1,1,4,{1,11},4,1,1,1,4,{1,11},4,{1,131},2,3,{2,7},3,3,3,{2,5},{1,11},2,1,1,1,4,{1,11},4,1,1,1,4,{1,11},4,1,1,1,4,{1,11},4,1,1,1,4,{1,11},4,1,1,1,4,{1,11},4,1,1,1,4,{1,11},4,{1,131},2,3,2,6,2,6,2,6,2,3,3,3,{2,5},{1,11},2,1,1,1,4,{1,11},4,1,1,1,4,{1,11},4,1,1,1,4,{1,11},4,1,1,1,4,{1,11},4,1,1,1,4,{1,11},4,1,1,1,4,{1,11},4,{1,131},2,3,{2,7},3,3,3,{2,5},{1,11},2,1,1,1,4,{1,11},4,1,1,1,4,{1,11},4,1,1,1,4,{1,11},4,1,1,1,4,{1,11},4,1,1,1,4,{1,11},4,1,1,1,4,{1,11},4,{1,131},2,3,{2,7},3,3,3,{2,5},{1,11},2,1,1,1,4,{1,11},4,1,1,1,4,{1,11},4,1,1,1,4,{1,11},4,1,1,1,4,{1,11},4,1,1,1,4,{1,11},4,1,1,1,4,{1,11},4,{1,131},2,3,{2,7},3,3,3,{2,5},{7,11},2,1,1,1,4,{1,11},4,1,1,1,4,{1,11},4,1,1,1,4,{1,11},4,1,1,1,4,{1,11},4,1,1,1,4,{1,11},4,1,1,1,4,{1,11},4,1,1,1},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","solarsail:wireframe","invector:eternity_grass","invector:invisible_wall","invector:waypoint_2","invector:item_pad_online","invector:waypoint_3"}},{["nodes"]={{1,128},2,3,{2,7},3,3,3,{2,5},{4,11},2,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,{1,131},2,3,{2,7},3,3,3,{2,5},{1,11},2,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,{1,131},2,3,{2,7},3,3,3,{2,5},{1,11},2,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,{1,131},2,3,{2,7},3,3,3,{2,5},{1,11},2,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,{1,131},2,3,{2,7},3,3,3,{2,5},{1,11},2,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,{1,131},2,3,{2,8},3,3,{2,5},{1,11},2,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,{1,131},2,3,{2,8},3,3,{2,5},{1,11},2,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,{1,131},2,3,{2,8},3,3,{2,5},{1,11},2,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,{1,131},2,3,{2,8},3,3,{2,5},{1,11},2,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,{1,131},2,3,{2,8},3,3,{2,5},{1,11},2,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,{1,131},2,3,2,6,6,2,2,6,6,2,3,3,{2,5},{1,11},2,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,{1,131},2,3,{2,8},3,3,{2,5},{1,11},2,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,{1,131},2,3,{2,8},3,3,{2,5},{1,11},2,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,{1,131},2,3,{2,8},3,3,{2,5},{7,11},2,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,1,1,1,5,{1,11},5,{1,131},2,3,{2,8},3,3,{2,5},{7,11},2,2,2,2,5,{1,11},{5,5},{1,11},{5,5},{1,11},{5,5},{1,11},{5,5},{1,11},{5,5},{1,11},5,5,5,5,{1,128},2,3,{2,8},{3,6},2,{1,12},8,8,1,5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","solarsail:wireframe","invector:eternity_grass","invector:waypoint_3","invector:invisible_wall","invector:boost_pad","invector:waypoint_4","invector:waypoint_5"}},{["nodes"]={{1,128},2,3,{2,9},{3,5},2,{1,12},4,4,1,5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,143},2,3,{2,10},3,3,3,3,2,{1,12},4,4,1,5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,143},2,3,{2,15},{1,12},4,4,1,5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,143},2,3,{2,15},{1,12},4,4,1,5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,143},2,3,{2,15},{1,12},4,4,1,5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,143},2,3,{2,15},{1,12},4,4,1,5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,143},2,3,{2,15},{1,12},4,4,1,5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,143},2,3,{2,15},{1,12},4,4,1,5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,143},2,3,{2,15},{1,12},4,4,1,5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,143},2,3,{2,15},{1,12},4,4,1,5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,143},2,3,3,{2,14},{1,12},4,4,1,5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,143},2,3,3,{2,14},{1,12},4,4,1,5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,143},2,3,3,3,3,{2,12},{1,12},4,4,1,5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,143},2,{3,6},{2,5},3,3,3,3,2,{1,12},4,4,1,5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,143},2,{3,15},2,{1,12},4,4,1,5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,143},{2,32},{5,96}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","solarsail:wireframe","invector:eternity_grass","invector:waypoint_5","invector:invisible_wall"}}},{{["nodes"]={{1,267},{2,5},{1,11},{2,5},{1,11},{2,5},{1,11},{2,5},{1,11},{2,5},{1,186},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,190},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,190},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,183}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","invector:invisible_wall"}},{["nodes"]={{1,8},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,183}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","invector:invisible_wall"}},{["nodes"]={{1,8},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,183}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","invector:invisible_wall"}},{["nodes"]={{1,9},{2,7},{1,9},{2,7},{1,9},{2,7},{1,9},{2,7},{1,9},{2,183},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"invector:invisible_wall","air"}},{["nodes"]={1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,11},{1,5},{2,11},{1,5},{2,11},{1,5},{2,11},{1,5},{2,11},1,1,1,1,{2,176},1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,{2,179},1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,{2,179},1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,{2,179},1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,{2,179},1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,{2,179},1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,{2,179},1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,{2,179},1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,{2,179}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"invector:invisible_wall","air"}},{["nodes"]={1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,{2,179},1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,{2,179},1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,{2,179},1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,{2,179},1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,{2,179},1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,{2,179},1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,{2,179},1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,{2,179},1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,{2,179},1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,{2,179},1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,{2,179},1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,{2,179},1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,{2,179},1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,2,2,2,1,{2,11},1,{2,179},1,{2,11},{1,5},{2,11},{1,5},{2,11},{1,5},{2,11},{1,5},{2,11},1,1,1,1,{2,176},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"invector:invisible_wall","air"}},{["nodes"]={1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},{1,80},{2,176}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"invector:invisible_wall","air"}}}},{{{["nodes"]={{1,128},{2,16},{1,240},{3,16},{2,16},{4,96},{1,128},{3,16},{1,240},{3,16},{1,240},{3,16},{1,240},{3,16},5,{1,239},{3,8},{2,8},5,5,{1,238},{3,6},{2,10},1,5,5,{1,237},3,3,3,3,{2,12},1,1,5,5,{1,236},3,3,3,{2,13},1,1,1,5,5,{1,235},3,3,{2,14},1,1,1,1,5,5,{1,234},3,3,{2,14},{1,5},5,5,{1,233},3,{2,15},{1,6},5,5,{1,232},3,{2,15},{1,7},5,5,{1,231},{2,16},{1,8},5,5,{1,230},{2,16},{1,9},5,5,{1,101}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","solarsail:wireframe","invector:eternity_grass","invector:invisible_wall","invector:waypoint_17"}},{["nodes"]={{1,128},{2,16},{1,10},3,3,{1,228},{2,15},4,{1,11},3,3,{1,227},{2,13},4,4,4,{1,5},5,{1,6},3,3,{1,226},{2,13},4,4,4,{1,8},5,1,1,1,1,3,3,{1,225},{2,12},4,4,4,4,{1,14},3,3,{1,224},{2,12},4,4,4,4,{1,15},3,{1,224},{2,12},4,4,4,4,{1,5},5,{1,234},{2,12},4,4,4,4,{1,8},5,{1,231},{2,12},4,4,4,4,{1,240},{2,12},4,4,4,4,{1,240},{2,12},4,4,4,4,{1,5},5,{1,234},{2,12},4,4,4,4,{1,8},5,{1,231},{2,12},4,4,4,4,{6,16},{1,224},{2,12},4,4,4,4,{6,16},{1,224},{2,12},4,4,4,4,{1,5},5,{1,234},{2,13},4,4,4,{1,8},5,{1,103}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","solarsail:wireframe","invector:waypoint_17","invector:eternity_grass","invector:starting_grid_marker","invector:waypoint_18"}},{["nodes"]={{1,128},{2,13},3,3,3,{1,240},{2,13},3,3,3,{1,240},{2,14},3,3,{1,5},4,{1,234},{2,14},3,3,{1,8},4,{1,231},{2,14},3,3,{1,240},{2,14},3,3,{1,240},{2,14},3,3,{1,5},4,{1,234},{2,14},3,3,{1,8},4,{1,231},{2,14},3,3,{5,16},{1,224},{2,14},3,3,{5,16},{1,224},{2,14},3,3,{1,240},{2,14},3,3,{1,240},{2,14},3,3,{1,240},{2,14},3,3,{1,240},{2,14},3,3,{1,240},{2,14},3,3,{6,16},{1,96}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","solarsail:wireframe","invector:eternity_grass","invector:starting_grid_marker","invector:sector_marker","invector:waypoint_1"}},{["nodes"]={{1,128},{2,14},3,3,{4,16},{1,224},{2,14},3,3,{1,240},{2,14},3,3,{1,240},{2,14},3,3,{1,240},{2,14},3,3,{1,240},{2,14},3,3,{1,240},{2,13},3,3,3,{1,240},{2,13},3,3,3,{1,240},{2,13},3,3,3,{1,240},{2,12},3,3,3,3,{1,240},{2,12},3,3,3,3,{1,240},{2,12},3,3,3,3,{1,240},{2,12},3,3,3,3,{1,240},{2,11},{3,5},{1,240},{2,10},{3,6},{1,240},{2,9},{3,7},{1,112}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","solarsail:wireframe","invector:eternity_grass","invector:waypoint_1"}},{["nodes"]={{1,128},{2,8},{3,8},{1,240},{2,7},{3,9},{1,240},2,2,2,{3,13},{1,240},{3,16},{1,240},{3,16},{1,240},{3,16},{1,240},{3,16},{1,240},{2,32},{4,96},{1,128},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,112}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","solarsail:wireframe","invector:eternity_grass","invector:invisible_wall"}},{["nodes"]={{1,128},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,32},{3,96},{1,128},{4,16},{1,15},5,{1,96}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","solarsail:wireframe","invector:invisible_wall","invector:eternity_grass","invector:waypoint_6"}},{["nodes"]={{1,128},{2,16},{1,15},3,{1,224},2,2,2,{4,13},{1,15},3,{1,224},{4,11},1,1,1,4,4,{1,15},3,{1,224},4,4,5,{4,8},1,6,1,4,4,{1,15},3,{1,224},{4,11},1,1,1,4,4,{1,15},3,{1,224},4,4,5,{4,13},{1,15},3,{1,224},{4,16},{1,15},4,{1,224},4,4,5,{4,13},{1,15},4,{1,224},{4,16},{1,15},4,{1,224},4,4,5,{4,13},{1,15},3,{1,224},{4,11},1,1,1,4,4,{1,15},3,{1,224},4,4,5,{4,8},1,6,1,4,4,{1,15},3,{1,224},{4,11},1,1,1,4,4,{1,15},3,{1,224},2,2,2,{4,13},{1,15},3,{1,224},{2,16},{1,15},3,{1,224},{4,32},{7,96}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","invector:eternity_grass","invector:waypoint_6","solarsail:wireframe","invector:item_pad_online","invector:boost_pad_mega","invector:invisible_wall"}}},{{["nodes"]={{1,256},{2,80},{1,3760}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","invector:invisible_wall"}},{["nodes"]={{1,4096}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air"}},{["nodes"]={{1,4096}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air"}},{["nodes"]={{1,4096}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air"}},{["nodes"]={{1,1792},{2,80},{1,2224}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","invector:invisible_wall"}},{["nodes"]={{1,3584},{2,80},{1,432}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","invector:invisible_wall"}},{["nodes"]={{1,3840},{2,80},{1,176}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","invector:invisible_wall"}}}},{{{["nodes"]={{1,128},{2,16},{1,240},{3,16},{2,16},{4,96},{1,128},{3,16},1,1,1,1,5,5,{1,7},6,6,{1,225},{3,16},1,1,1,1,5,5,{1,7},6,6,{1,225},{3,16},1,1,1,1,5,5,{1,7},6,6,{1,225},{3,16},1,1,1,1,5,5,{1,7},6,6,{1,225},{2,16},1,1,1,1,5,5,{1,7},6,6,{1,225},{2,11},7,2,2,2,2,1,1,1,1,5,5,{1,7},6,6,{1,225},{2,11},7,2,2,2,2,1,1,1,1,5,5,{1,7},6,6,{1,225},{2,16},1,1,1,1,5,5,{1,7},6,6,{1,225},{2,11},8,2,2,2,2,1,1,1,1,5,5,{1,7},6,6,{1,225},{2,11},8,2,2,2,2,1,1,1,1,5,5,{1,7},6,6,{1,225},{2,16},1,1,1,1,5,5,{1,7},6,6,{1,225},{2,11},7,2,2,2,2,1,1,1,1,5,5,{1,7},6,6,{1,225},{2,11},7,2,2,2,2,1,1,1,1,5,5,{1,7},6,6,{1,225},2,2,2,3,3,3,3,{2,9},1,1,1,1,5,5,{1,7},6,6,{1,97}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","solarsail:wireframe","invector:eternity_grass","invector:invisible_wall","invector:waypoint_16","invector:waypoint_15","invector:boost_pad","invector:item_pad_online"}},{["nodes"]={{1,128},2,{3,8},{2,7},1,1,1,1,4,4,{1,7},5,5,{1,225},{3,16},1,1,1,1,4,4,{1,7},5,5,{1,225},{3,16},1,1,1,1,4,4,{1,7},5,5,{1,225},{3,16},1,1,1,1,4,4,{1,7},5,5,{1,225},{3,16},1,1,1,1,4,4,{1,7},5,5,{1,225},{2,15},3,{2,15},6,{7,15},1,{7,15},1,{7,15},1,{7,15},1,{7,15},1,{7,15},{1,129},{2,15},3,2,{1,13},2,6,7,{1,13},7,1,7,{1,13},7,1,7,{1,13},7,1,7,{1,13},7,1,7,{1,13},7,1,7,{1,13},7,{1,129},{2,15},3,2,{1,13},2,1,7,{1,13},7,1,7,{1,13},7,1,7,{1,13},7,1,7,{1,13},7,1,7,{1,13},7,1,7,{1,13},7,{1,129},{2,15},3,2,{1,13},2,1,7,{1,13},7,1,7,{1,13},7,1,7,{1,13},7,1,7,{1,13},7,1,7,{1,13},7,1,7,{1,13},7,{1,129},{2,15},3,2,{1,13},2,1,7,{1,13},7,1,7,{1,13},7,1,7,{1,13},7,1,7,{1,13},7,1,7,{1,13},7,1,7,{1,13},7,{1,129},{2,15},3,2,{1,13},2,1,7,{1,13},7,1,7,{1,13},7,1,7,{1,13},7,1,7,{1,13},7,1,7,{1,13},7,1,7,{1,13},7,{1,129},{2,15},3,2,{1,13},2,1,7,{1,13},7,1,7,{1,13},7,1,7,{1,13},7,1,7,{1,13},7,1,7,{1,13},7,1,7,{1,13},7,{1,129},{2,15},3,2,{1,13},2,1,7,{1,13},7,1,7,{1,13},7,1,7,{1,13},7,1,7,{1,13},7,1,7,{1,13},7,1,7,{1,13},7,{1,129},{2,15},3,2,{1,13},2,1,7,{1,13},7,1,7,{1,13},7,1,7,{1,13},7,1,7,{1,13},7,1,7,{1,13},7,1,7,{1,13},7,{1,129},{2,15},3,2,{1,13},2,1,7,{1,13},7,1,7,{1,13},7,1,7,{1,13},7,1,7,{1,13},7,1,7,{1,13},7,1,7,{1,13},7,{1,129},{2,15},3,2,{1,13},2,1,7,{1,13},7,1,7,{1,13},7,1,7,{1,13},7,1,7,{1,13},7,1,7,{1,13},7,1,7,{1,13},7,1},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","solarsail:wireframe","invector:eternity_grass","invector:waypoint_16","invector:waypoint_15","invector:waypoint_14","invector:invisible_wall"}},{["nodes"]={{1,128},{2,15},3,2,{1,13},2,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,{1,129},{2,15},3,2,{1,13},2,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,{1,129},{2,15},3,2,{1,13},2,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,{1,129},{2,15},3,2,{1,13},2,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,{1,129},{2,15},3,2,{1,13},2,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,{1,129},{2,15},3,2,{1,13},2,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,{1,129},{2,15},3,2,{1,13},2,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,{1,129},{2,15},3,2,{1,13},2,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,{1,129},{2,15},3,2,{1,13},2,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,{1,129},{2,15},3,2,{1,13},2,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,{1,129},{2,15},3,2,{1,13},2,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,{1,129},{2,15},3,2,{1,13},2,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,{1,129},{2,15},3,2,{1,13},2,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,{1,129},{2,15},3,2,{1,13},2,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,{1,129},{2,15},3,2,{1,13},2,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,1,4,{1,13},4,{1,129},{2,15},5,2,{1,13},2,2,4,{1,13},4,4,4,{1,13},4,4,4,{1,13},4,4,4,{1,13},4,4,4,{1,13},4,4,4,{1,13},4,4},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","solarsail:wireframe","invector:eternity_grass","invector:invisible_wall","invector:starting_grid_marker"}},{["nodes"]={{1,128},{2,17},{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,143},{2,17},{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,143},{2,17},{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,143},{2,17},{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,143},{2,17},{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,143},{2,17},{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,143},{2,17},{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,143},{2,17},{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,143},{2,17},{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,143},{2,17},{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,143},{2,17},{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,143},{2,17},{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,143},{2,17},{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,143},{2,17},{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,143},{2,17},{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,143},{2,17},{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","solarsail:wireframe","invector:invisible_wall"}},{["nodes"]={{1,128},{2,17},{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,143},{2,17},{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,143},{2,17},{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,143},{2,17},{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,143},{2,17},{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,143},{2,17},{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,143},{2,17},{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,143},{2,17},{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,143},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,112}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","solarsail:wireframe","invector:invisible_wall"}},{["nodes"]={{1,128},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,32},{3,96},{1,128},{4,16},5,{1,111}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","solarsail:wireframe","invector:invisible_wall","invector:eternity_grass","invector:waypoint_6"}},{["nodes"]={{1,128},{2,16},3,{1,239},{4,16},3,{1,239},{4,16},3,{1,239},{4,16},3,{1,239},{4,16},3,{1,239},{4,16},3,{1,239},{4,17},{1,239},{4,17},{1,239},{4,17},{1,239},{4,16},3,{1,239},{4,16},3,{1,239},{4,16},3,{1,239},{4,16},3,{1,239},{4,16},3,{1,239},{2,16},3,{1,239},{4,32},{5,96}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","invector:eternity_grass","invector:waypoint_6","solarsail:wireframe","invector:invisible_wall"}}},{{["nodes"]={{1,256},{2,80},{1,3760}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","invector:invisible_wall"}},{["nodes"]={{1,1280},{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,15},{1,177},2,{1,13},2,1,2,{1,13},2,1,2,{1,13},2,1,2,{1,13},2,1,2,{1,13},2,{1,177},2,{1,13},2,1,2,{1,13},2,1,2,{1,13},2,1,2,{1,13},2,1,2,{1,13},2,{1,177},2,{1,13},2,1,2,{1,13},2,1,2,{1,13},2,1,2,{1,13},2,1,2,{1,13},2,{1,177},2,{1,13},2,1,2,{1,13},2,1,2,{1,13},2,1,2,{1,13},2,1,2,{1,13},2,{1,177},2,{1,13},2,1,2,{1,13},2,1,2,{1,13},2,1,2,{1,13},2,1,2,{1,13},2,{1,177},2,{1,13},2,1,2,{1,13},2,1,2,{1,13},2,1,2,{1,13},2,1,2,{1,13},2,{1,177},2,{1,13},2,1,2,{1,13},2,1,2,{1,13},2,1,2,{1,13},2,1,2,{1,13},2,{1,177},2,{1,13},2,1,2,{1,13},2,1,2,{1,13},2,1,2,{1,13},2,1,2,{1,13},2,{1,177},2,{1,13},2,1,2,{1,13},2,1,2,{1,13},2,1,2,{1,13},2,1,2,{1,13},2,{1,177},2,{1,13},2,1,2,{1,13},2,1,2,{1,13},2,1,2,{1,13},2,1,2,{1,13},2,{1,177}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","invector:invisible_wall"}},{["nodes"]={1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,{2,177},1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,{2,177},1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,{2,177},1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,{2,177},1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,{2,177},1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,{2,177},1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,{2,177},1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,{2,177},1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,{2,177},1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,{2,177},1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,{2,177},1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,{2,177},1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,{2,177},1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,{2,177},1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,2,1,{2,13},1,{2,177},1,{2,13},1,1,1,{2,13},1,1,1,{2,13},1,1,1,{2,13},1,1,1,{2,13},1,1,{2,176}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"invector:invisible_wall","air"}},{["nodes"]={1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"invector:invisible_wall","air"}},{["nodes"]={1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,191},1,{2,15},1,{2,15},1,{2,15},1,{2,15},1,{2,2239}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"invector:invisible_wall","air"}},{["nodes"]={{1,3584},{2,80},{1,432}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","invector:invisible_wall"}},{["nodes"]={{1,3840},{2,80},{1,176}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","invector:invisible_wall"}}}},{{{["nodes"]={{1,128},{2,16},{1,240},{3,16},{2,16},{4,96},{1,128},{3,16},{1,240},{3,16},{1,240},{3,16},{1,240},{3,16},{1,240},2,2,2,2,{3,12},{1,240},{2,6},{3,10},{1,240},{2,8},{3,8},{1,240},{2,10},{3,6},{1,240},{2,11},{3,5},{1,240},{2,11},{3,5},{1,240},{2,12},3,3,3,3,{1,240},{2,12},3,3,3,3,{1,240},{2,13},3,3,3,{1,240},{2,13},3,3,3,{1,112}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","solarsail:wireframe","invector:eternity_grass","invector:invisible_wall"}},{["nodes"]={{1,128},{2,14},3,3,{1,240},{2,14},3,3,{1,240},3,{2,13},3,3,{1,240},3,3,{2,13},3,{1,240},3,3,3,{2,12},3,{1,240},3,3,3,{2,12},3,{4,16},{1,224},3,3,3,3,{2,11},3,{4,16},{1,224},3,3,3,3,{2,11},3,{1,240},3,3,3,3,{2,12},{1,240},{3,5},{2,11},{1,240},{3,5},{2,11},{1,240},{3,5},{2,11},{1,240},{3,5},{2,11},{1,240},{3,6},{2,10},{1,240},{3,6},{2,10},{1,240},{3,6},{2,10},{1,112}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","solarsail:wireframe","invector:eternity_grass","invector:waypoint_14"}},{["nodes"]={{1,128},{2,7},{3,9},{1,240},{2,7},{3,9},{1,240},{2,7},{3,9},{1,240},{2,7},{3,9},{1,240},{2,8},{3,8},{1,240},{2,8},{3,8},{1,15},4,{1,224},{2,8},{3,8},{1,14},4,4,{1,224},{2,8},{3,8},{1,13},4,4,{1,225},{2,8},{3,8},{1,12},4,4,{1,226},{2,9},{3,7},{1,11},4,4,{1,227},{2,9},{3,7},{1,10},4,4,{1,228},{2,10},{3,6},{1,9},4,4,{1,229},{2,12},3,3,3,3,{1,8},4,4,{1,230},{2,16},{1,7},4,4,{1,231},{2,16},{1,6},4,4,{1,232},5,{3,31},{6,96}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","invector:eternity_grass","solarsail:wireframe","invector:waypoint_13","invector:starting_grid_marker","invector:invisible_wall"}},{["nodes"]={{1,128},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,112}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","solarsail:wireframe"}},{["nodes"]={{1,128},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,112}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","solarsail:wireframe"}},{["nodes"]={{1,128},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,32},{3,96},{1,128},{4,16},{1,7},5,5,{1,103}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","solarsail:wireframe","invector:invisible_wall","invector:eternity_grass","invector:waypoint_7"}},{["nodes"]={{1,128},{2,16},{1,7},3,3,{1,231},{4,16},{1,7},4,4,{1,231},{4,16},{1,7},4,4,{1,231},{4,16},{1,7},4,4,{1,231},{4,16},{1,7},3,3,{1,231},{4,16},{1,7},3,3,{1,231},4,4,4,1,1,1,{4,10},{1,7},3,3,{1,231},4,4,4,1,5,1,{4,10},{1,7},3,3,{1,231},4,4,4,1,1,1,{4,10},{1,7},3,3,{1,231},{4,16},{1,7},3,3,{1,231},{4,16},{1,7},3,3,{1,231},{4,16},{1,7},4,4,{1,231},{4,16},{1,7},4,4,{1,231},{4,16},{1,7},4,4,{1,231},{2,16},{1,7},3,3,{1,231},{4,32},{6,96}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","invector:eternity_grass","invector:waypoint_7","solarsail:wireframe","invector:boost_pad_mega","invector:invisible_wall"}}},{{["nodes"]={{1,256},{2,80},{1,3760}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","invector:invisible_wall"}},{["nodes"]={{1,4096}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air"}},{["nodes"]={{1,3840},{2,80},{1,176}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","invector:invisible_wall"}},{["nodes"]={{1,4096}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air"}},{["nodes"]={{1,4096}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air"}},{["nodes"]={{1,3584},{2,80},{1,432}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","invector:invisible_wall"}},{["nodes"]={{1,3840},{2,80},{1,176}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","invector:invisible_wall"}}}},{{{["nodes"]={{1,128},{2,16},{1,240},{3,11},{2,9},{1,12},4,4,4,4,{1,12},4,4,4,4,{1,12},4,4,4,4,{1,12},4,4,4,4,{1,12},4,4,4,4,{1,12},4,4,4,4,{1,140},{3,11},{2,5},1,1,1,2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,140},{3,11},{2,5},1,1,1,2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,140},{3,11},{2,5},1,1,1,2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,140},{3,11},{2,5},1,1,1,2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,140},3,3,3,{2,13},1,1,1,2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,140},3,3,3,{2,13},1,1,1,2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,140},3,3,3,{2,13},1,1,1,2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,140},3,3,3,{2,13},1,1,1,2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,140},3,3,3,{2,13},1,1,1,2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,140},3,3,3,{2,13},1,1,1,2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,140},3,3,3,{2,13},1,1,1,2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,140},3,3,3,{2,13},1,1,1,2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,140},3,3,3,{2,13},1,1,1,2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,140},3,3,3,{2,13},1,1,1,2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,12}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","solarsail:wireframe","invector:eternity_grass","invector:invisible_wall"}},{["nodes"]={{1,128},2,2,2,{3,13},1,1,1,3,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,140},2,2,2,{3,13},1,1,1,3,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,140},2,2,2,{3,13},1,1,1,3,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,140},2,2,2,{3,13},1,1,1,3,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,140},2,2,2,{3,13},1,1,1,3,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,140},2,2,2,{3,13},5,5,5,3,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,140},2,2,2,{3,13},5,5,5,3,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,140},2,2,2,{3,13},1,1,1,3,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,140},2,2,2,{3,13},1,1,1,3,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,140},2,2,2,{3,13},1,1,1,3,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,140},2,2,2,{3,13},1,1,1,3,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,140},3,2,2,{3,13},1,1,1,3,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,140},3,2,2,{3,13},1,1,1,3,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,140},3,2,2,{3,13},1,1,1,3,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,140},3,2,2,{3,13},1,1,1,3,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,140},3,2,2,{3,13},1,1,1,3,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,12}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","invector:eternity_grass","solarsail:wireframe","invector:invisible_wall","invector:waypoint_14"}},{["nodes"]={{1,128},2,3,3,{2,13},1,1,1,2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,140},2,3,3,{2,13},1,1,1,2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,140},2,3,3,{2,13},1,1,5,{2,13},1,1,1,{4,13},1,1,1,{4,13},1,1,1,{4,13},1,1,1,{4,13},1,1,1,{4,13},1,1,1,{4,13},{1,128},2,2,{3,14},1,5,5,{1,7},6,6,{1,228},2,2,2,{3,13},5,5,{1,8},6,6,{1,228},{2,16},5,{1,9},6,6,{1,228},{2,7},7,{2,8},{1,10},6,6,{1,228},2,2,2,2,7,{2,11},{1,10},6,6,{1,228},{2,7},7,{2,8},{1,10},6,6,{1,228},2,2,2,2,7,{2,11},{1,10},6,6,{1,228},{2,7},7,{2,8},{1,10},6,6,{1,228},2,2,2,2,7,{2,11},{1,10},6,6,{1,228},{2,16},{1,10},6,6,{1,228},{3,12},2,2,2,2,{1,10},6,6,{1,228},{3,15},2,{1,10},6,6,{1,228},{2,12},3,3,3,3,{2,12},1,1,1,1,{4,12},1,1,1,1,{4,12},1,1,1,1,{4,12},1,1,1,1,{4,12},1,1,1,1,{4,12},1,1,1,1,{4,12},1,1,1,1},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","solarsail:wireframe","invector:eternity_grass","invector:invisible_wall","invector:waypoint_13","invector:waypoint_12","invector:item_pad_online"}},{["nodes"]={{1,128},{2,14},3,3,{1,12},2,2,{1,14},4,4,{1,14},4,4,{1,14},4,4,{1,14},4,4,{1,14},4,4,{1,14},4,4,{1,130},{2,15},3,{1,14},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,129},{2,15},3,{1,15},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,128},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,112}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","solarsail:wireframe","invector:eternity_grass","invector:invisible_wall"}},{["nodes"]={{1,128},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,112}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","solarsail:wireframe"}},{["nodes"]={{1,128},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,15},2,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,128},{2,15},4,{1,14},2,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,129},{2,14},4,4,{1,13},2,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,130},{2,13},4,4,4,{1,12},2,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,131},{2,12},4,4,4,2,{1,11},2,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,132},{2,11},4,4,4,2,2,{1,10},2,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,133},{2,10},4,4,4,2,2,2,{1,9},2,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,134},{2,9},4,4,4,2,5,5,2,{1,8},2,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,135},{2,8},4,4,4,2,2,2,5,2,{1,7},2,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,136},{2,7},4,4,4,{2,6},{1,6},2,6,6,{1,13},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,137},{2,6},4,4,4,4,{2,6},{1,5},2,1,1,6,6,{1,11},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,138},{2,5},{4,5},{2,11},1,1,1,1,6,6,{1,5},{3,5},{1,11},{3,5},{1,11},{3,5},{1,11},{3,5},{1,11},{3,5},{1,11},{3,5},{1,139},{4,7},{2,9},{1,10},6,6,{1,100}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","solarsail:wireframe","invector:invisible_wall","invector:eternity_grass","invector:boost_pad","invector:waypoint_8"}},{["nodes"]={{1,128},{2,6},{3,10},{1,11},4,4,{1,227},{3,16},{1,12},4,4,{1,226},{3,16},{1,13},4,4,{1,225},3,5,{3,14},{1,14},4,4,{1,224},{3,15},2,{1,15},4,{1,224},3,5,{3,13},2,{1,240},{3,15},2,{1,240},3,5,{3,12},2,2,{1,240},{3,13},2,2,2,{1,240},3,5,{3,10},2,2,2,2,{1,240},{3,11},2,2,2,2,3,{1,15},3,{1,15},6,{1,15},6,{1,15},6,{1,15},6,{1,15},6,{1,15},6,{1,128},3,5,{3,8},2,2,2,2,3,3,{1,14},3,{1,15},6,{1,15},6,{1,15},6,{1,15},6,{1,15},6,{1,15},6,{1,129},{3,9},2,2,2,2,3,3,3,{1,13},3,{1,15},6,{1,15},6,{1,15},6,{1,15},6,{1,15},6,{1,15},6,{1,130},{3,8},2,2,2,2,3,3,3,3,{1,12},3,{1,15},6,{1,15},6,{1,15},6,{1,15},6,{1,15},6,{1,15},6,{1,131},{2,11},{3,5},{1,11},3,{1,15},6,{1,15},6,{1,15},6,{1,15},6,{1,15},6,{1,15},6,{1,132},{3,32},{6,11},{1,5},{6,11},{1,5},{6,11},{1,5},{6,11},{1,5},{6,11},{1,5},{6,11},{1,5}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","invector:eternity_grass","solarsail:wireframe","invector:waypoint_8","invector:item_pad_online","invector:invisible_wall"}}},{{["nodes"]={{1,256},2,2,2,2,{1,12},2,2,2,2,{1,12},2,2,2,2,{1,12},2,2,2,2,{1,12},2,2,2,2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,188}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","invector:invisible_wall"}},{["nodes"]={1,1,1,2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,188}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","invector:invisible_wall"}},{["nodes"]={1,1,1,2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},{2,13},1,1,1,{2,13},1,1,1,{2,13},1,1,1,{2,13},1,1,1,{2,13},{1,3248},{2,12},1,1,1,1,{2,12},1,1,1,1,{2,12},1,1,1,1,{2,12},1,1,1,1,{2,12},{1,180}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","invector:invisible_wall"}},{["nodes"]={{1,12},2,2,{1,14},2,2,{1,14},2,2,{1,14},2,2,{1,14},2,2,{1,192},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,192},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,3504}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","invector:invisible_wall"}},{["nodes"]={{1,4096}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air"}},{["nodes"]={{1,783},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,190},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,190},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,190},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,190},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,190},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,190},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,190},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,190},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,190},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,190},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,186},{2,5},{1,11},{2,5},{1,11},{2,5},{1,11},{2,5},{1,11},{2,5},{1,443}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","invector:invisible_wall"}},{["nodes"]={{1,2575},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,190},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,190},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,190},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,190},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,180},{2,11},{1,5},{2,11},{1,5},{2,11},{1,5},{2,11},{1,5},{2,11},{1,181}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","invector:invisible_wall"}}}},{{{["nodes"]={{1,128},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,112}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","solarsail:wireframe"}},{["nodes"]={{1,128},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,112}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","solarsail:wireframe"}},{["nodes"]={{1,128},{2,16},{1,240},{2,16},{1,240},{2,32},{3,96},{1,128},{4,16},{1,240},{4,16},{1,240},{2,6},{4,10},{1,240},{2,8},{4,8},{1,240},{2,10},{4,6},{1,240},{2,12},4,4,4,4,{1,240},{2,14},4,4,{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},4,{2,15},{1,112}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","solarsail:wireframe","invector:invisible_wall","invector:eternity_grass"}},{["nodes"]={{1,128},2,2,{3,14},{1,240},2,2,2,{3,13},{1,15},4,{1,224},2,2,2,2,{3,12},{1,14},4,4,{1,224},3,2,2,2,2,{3,12},{1,12},4,4,1,5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,143},3,3,2,2,2,2,{3,10},1,3,{1,10},4,4,1,1,1,5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,142},3,3,3,2,2,2,2,{3,9},1,1,3,{1,8},4,4,{1,5},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,141},3,3,3,3,2,2,2,2,{3,8},1,1,1,3,{1,6},4,4,{1,7},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,140},{3,5},2,2,2,2,{3,7},1,1,1,1,3,1,1,1,1,4,4,{1,9},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,139},{3,6},2,2,2,2,{3,6},{1,5},3,1,1,4,4,{1,11},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,138},{3,7},2,2,2,{3,6},{1,6},3,4,4,{1,13},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,137},{3,8},2,2,{3,6},{1,7},3,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,136},{3,8},2,2,{3,6},{1,7},3,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,136},{3,8},2,2,{3,6},{1,7},3,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,136},{3,8},2,2,{3,6},{1,7},3,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,136},{3,8},2,2,{3,6},{1,7},3,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,136},{3,8},2,2,{3,6},{1,7},3,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,8}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","invector:eternity_grass","solarsail:wireframe","invector:waypoint_11","invector:invisible_wall"}},{["nodes"]={{1,128},{2,8},3,3,{2,6},{1,7},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,136},{2,8},3,3,{2,6},{1,7},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,136},{2,8},3,3,{2,6},{1,7},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,136},{2,8},3,3,{2,6},{1,7},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,136},{2,8},3,3,{2,6},{1,7},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,136},{2,8},3,3,{2,6},{1,7},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,136},{2,8},3,3,3,{2,5},{1,7},2,{5,8},{1,7},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,136},{2,8},3,3,3,{2,5},{1,7},2,{5,8},{1,7},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,136},{2,8},3,3,3,{2,5},{1,7},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,136},{2,8},3,3,{2,6},{1,7},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,136},{2,8},3,3,{2,6},{1,7},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,136},{2,8},3,{2,7},{1,7},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,136},{2,7},3,3,{2,7},{1,6},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,137},{2,6},3,3,3,{2,7},{1,5},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,138},{2,5},3,3,3,{2,8},1,1,1,1,2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,139},2,2,2,2,3,3,3,{2,9},1,1,1,2,6,6,{1,13},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,12}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","solarsail:wireframe","invector:eternity_grass","invector:invisible_wall","invector:waypoint_10","invector:waypoint_9"}},{["nodes"]={{1,128},2,2,2,3,3,3,3,{2,9},1,1,2,1,1,4,4,{1,11},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,141},2,2,{3,5},{2,9},1,2,1,1,1,1,4,4,{1,9},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,142},2,3,3,3,{2,13},{1,6},4,4,{1,7},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,143},3,3,3,{2,13},{1,8},4,4,{1,230},3,3,{2,14},{1,9},4,4,{1,229},3,{2,15},{1,10},4,4,{1,228},{2,15},3,{1,11},4,4,{1,227},{2,12},3,3,3,3,{1,12},4,4,{1,226},{2,12},3,3,3,3,{1,13},4,4,{1,225},{2,12},3,3,3,3,{1,14},4,4,{1,224},{2,11},3,3,3,3,2,{1,15},2,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,128},{2,10},3,3,3,3,2,2,{1,14},2,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,129},{2,9},3,3,3,3,2,2,2,{1,13},2,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,130},{2,8},3,3,3,3,2,2,2,2,{1,12},2,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,131},{2,7},3,3,3,3,{2,5},{1,11},2,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,132},2,2,6,6,2,2,3,3,3,3,{2,6},{1,10},2,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,5}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","solarsail:wireframe","invector:eternity_grass","invector:waypoint_9","invector:invisible_wall","invector:boost_pad"}},{["nodes"]={{1,128},2,2,2,3,2,4,4,4,4,{2,7},{1,9},2,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,134},2,2,2,2,4,4,4,4,{2,8},{1,8},2,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,135},2,2,2,4,4,4,4,{2,9},{1,7},2,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,136},2,2,4,4,4,4,{2,10},{1,6},2,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,137},{4,5},{2,11},6,1,1,1,1,2,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,138},4,4,4,4,{2,12},6,6,1,1,2,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,139},4,4,4,{2,13},1,6,6,2,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,140},4,4,{2,14},1,1,2,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,141},4,{2,15},1,2,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,142},{2,17},{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,143},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,23},{1,105}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","solarsail:wireframe","invector:boost_pad","invector:eternity_grass","invector:invisible_wall","invector:waypoint_8"}}},{{["nodes"]={{1,4096}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air"}},{["nodes"]={{1,4096}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air"}},{["nodes"]={{1,512},{2,80},{1,3504}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","invector:invisible_wall"}},{["nodes"]={{1,768},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,192},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,192},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,192},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,192},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,192},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,192},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,192},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,184}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","invector:invisible_wall"}},{["nodes"]={{1,7},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,190},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,190},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,190},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,190},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,188}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","invector:invisible_wall"}},{["nodes"]={1,1,2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,190},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,190},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,1998},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,190},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,190},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,190},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,190},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,190},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,181}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","invector:invisible_wall"}},{["nodes"]={{1,9},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,190},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,190},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,190},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,190},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,190},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,190},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,190},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,190},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,190},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,1727}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","invector:invisible_wall"}}}},{{{["nodes"]={{1,128},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,112}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","solarsail:wireframe"}},{["nodes"]={{1,128},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,112}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","solarsail:wireframe"}},{["nodes"]={{1,128},{2,16},{1,240},{2,16},{1,240},{2,22},{1,10},{3,6},{1,10},{3,6},{1,10},{3,6},{1,10},{3,6},{1,10},{3,6},{1,10},{3,6},{1,138},{4,5},{2,11},{1,5},2,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,138},{4,5},{2,11},{1,5},2,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,138},{4,5},{2,11},{1,5},2,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,138},{4,5},{2,11},{1,5},2,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,138},{4,5},{2,11},{1,5},2,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,138},{4,5},{2,11},{1,5},2,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,138},{4,5},{2,11},{1,5},2,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,138},{4,5},{2,11},{1,5},2,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,138},2,4,4,4,4,{2,11},{1,5},2,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,138},2,4,4,4,4,{2,11},1,1,1,1,5,2,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,138},2,2,4,4,4,{2,11},1,1,1,5,5,2,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,138},2,2,4,4,4,{2,11},1,1,5,5,1,2,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,138},2,2,2,4,4,{2,11},1,5,5,1,1,2,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,15},3,{1,10}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","solarsail:wireframe","invector:invisible_wall","invector:eternity_grass","invector:waypoint_11"}},{["nodes"]={{1,128},2,2,2,3,3,{2,11},4,4,1,1,1,2,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,138},2,2,2,2,3,{2,11},4,1,1,1,1,2,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,138},2,2,2,2,3,{2,11},{1,5},2,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,138},2,2,2,2,3,{2,11},{1,5},2,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,138},2,2,2,2,3,{2,11},{1,5},2,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,138},2,2,2,2,3,{2,11},{1,5},2,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,138},2,2,2,2,3,{2,11},{1,5},2,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,138},2,2,2,2,3,{2,11},{1,5},2,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,138},2,2,2,2,3,{2,11},{1,5},2,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,138},2,2,2,2,3,{2,11},{1,5},2,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,138},2,2,2,2,3,{2,11},{1,5},2,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,138},2,2,2,2,3,{2,11},{1,5},2,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,138},2,2,2,2,3,{2,11},{1,5},2,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,138},2,2,2,2,3,{2,11},{1,5},2,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,138},2,2,2,2,3,{2,11},{1,5},2,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,138},2,2,2,2,3,{2,11},{1,5},2,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,15},5,{1,10}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","solarsail:wireframe","invector:eternity_grass","invector:waypoint_11","invector:invisible_wall"}},{["nodes"]={{1,128},2,2,2,2,3,{2,11},{1,5},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,138},2,2,2,2,3,{2,11},{1,5},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,138},2,2,2,2,3,{2,11},{1,5},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,138},2,2,2,2,3,{2,11},{1,5},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,138},2,2,2,2,3,{2,11},{1,5},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,138},2,2,2,3,3,{2,11},{1,5},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,138},2,2,2,3,3,{2,11},{5,5},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,138},2,2,2,3,3,{2,11},{5,5},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,138},2,2,2,3,3,{2,11},{1,5},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,138},2,2,2,2,3,{2,11},{1,5},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,138},2,2,2,2,3,{2,11},{1,5},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,138},2,2,2,2,3,{2,11},{1,5},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,138},2,2,2,2,3,{2,11},{1,5},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,138},2,2,2,2,3,{2,11},{1,5},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,138},2,2,2,2,3,{2,11},{1,5},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,138},2,2,2,3,3,{2,11},{1,5},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,10}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","solarsail:wireframe","invector:eternity_grass","invector:invisible_wall","invector:waypoint_10"}},{["nodes"]={{1,128},2,2,2,3,3,{2,11},{1,5},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,138},2,2,2,3,3,{2,11},{1,5},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,138},2,2,2,3,3,{2,11},{1,5},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,138},2,2,3,3,3,{2,11},{1,5},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,138},2,3,3,3,3,{2,11},{1,5},2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,138},3,3,3,3,{2,12},1,1,1,1,2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,139},3,3,3,{2,13},1,1,1,2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,140},3,3,{2,14},1,1,2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,141},3,{2,15},1,2,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,142},{2,17},{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,15},4,{1,143},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,112}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","solarsail:wireframe","invector:eternity_grass","invector:invisible_wall"}},{["nodes"]={{1,128},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,240},{2,16},{1,112}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","solarsail:wireframe"}}},{{["nodes"]={{1,4096}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air"}},{["nodes"]={{1,4096}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air"}},{["nodes"]={{1,512},{2,6},{1,10},{2,6},{1,10},{2,6},{1,10},{2,6},{1,10},{2,6},{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,186}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","invector:invisible_wall"}},{["nodes"]={{1,5},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,186}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","invector:invisible_wall"}},{["nodes"]={{1,5},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,186}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","invector:invisible_wall"}},{["nodes"]={{1,5},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,191},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,190},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,190},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,190},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,190},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,190},2,{1,15},2,{1,15},2,{1,15},2,{1,15},2,{1,1727}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air","invector:invisible_wall"}},{["nodes"]={{1,4096}},["size"]={["y"]=15,["x"]=15,["z"]=15},["nodenames"]={"air"}}}}}]]) invector.game.register_track("circ_demo", circ_demo)
workspace "Odd" startproject "Sandbox" architecture "x64" configurations { "Debug", "Release", "Distribution" } outputdir = "%{cfg.buildcfg}-%{cfg.system}-x64" include "Odd/vendor/GLFW" include "Odd/vendor/Glad" include "Odd/vendor/ImGui" project "Odd" location "Odd" kind "StaticLib" language "C++" cppdialect "C++latest" staticruntime "on" targetdir ("bin/" .. outputdir .. "/%{prj.name}") objdir ("bin-int/" .. outputdir .. "/%{prj.name}") pchheader "oddpch.h" pchsource "Odd/src/oddpch.cpp" files { "%{prj.name}/src/**.h", "%{prj.name}/src/**.cpp" } includedirs { "%{prj.name}/src", "%{prj.name}/vendor", "Odd/vendor/GLFW/include", "Odd/vendor/Glad/include", "Odd/vendor/ImGui/include", "Odd/vendor/glm" } links { "GLFW", "Glad", "ImGui", "opengl32.lib" } filter "system:windows" systemversion "latest" defines { "ODD_PLATFORM_WINDOWS", "ODD_BUILD_DLL", "GLFW_INCLUDE_NONE" } filter "configurations:Debug" defines "ODD_DEBUG" runtime "Debug" symbols "on" filter "configurations:Release" defines "ODD_RELEASE" runtime "Release" optimize "on" filter "configurations:Distribution" defines "ODD_DISTRIBUTION" runtime "Release" optimize "on" project "Sandbox" location "Examples/%{prj.name}" kind "ConsoleApp" language "C++" cppdialect "C++latest" staticruntime "on" targetdir ("bin/" .. outputdir .. "/%{prj.name}") objdir ("bin-int/" .. outputdir .. "/%{prj.name}") files { "Examples/%{prj.name}/src/**.h", "Examples/%{prj.name}/src/**.cpp" } includedirs { "Odd/vendor", "Odd/src", "Odd/vendor/glm" } links { "Odd" } filter "system:windows" systemversion "latest" defines { "ODD_PLATFORM_WINDOWS" } filter "configurations:Debug" defines "ODD_DEBUG" runtime "Debug" symbols "on" filter "configurations:Release" defines "ODD_RELEASE" runtime "Release" optimize "on" filter "configurations:Distribution" defines "ODD_DISTRIBUTION" runtime "Release" optimize "on"
function myIter() local n=10 return function() if n > 0 then local nn=n; n=n-1; return nn; else return nil; end end end for i in myIter() do print(i) end io.write('ces','fdf','eee','\r\n')
-- This file is auto-generated by shipwright.nvim local common_fg = "#A3A3A3" local inactive_bg = "#242424" local inactive_fg = "#CFCFCF" return { normal = { a = { bg = "#525252", fg = common_fg, gui = "bold" }, b = { bg = "#3E3E3E", fg = common_fg }, c = { bg = "#2A2A2A", fg = "#BBBBBB" }, }, insert = { a = { bg = "#324757", fg = common_fg, gui = "bold" }, }, command = { a = { bg = "#65435E", fg = common_fg, gui = "bold" }, }, visual = { a = { bg = "#404040", fg = common_fg, gui = "bold" }, }, replace = { a = { bg = "#3E2225", fg = common_fg, gui = "bold" }, }, inactive = { a = { bg = inactive_bg, fg = inactive_fg, gui = "bold" }, b = { bg = inactive_bg, fg = inactive_fg }, c = { bg = inactive_bg, fg = inactive_fg }, }, }
local module = {} local alerts = {} function module.alert() end function module.init(Modules) if game.ReplicatedStorage:FindFirstChild("alertsOffset") then script.Parent.Position = UDim2.new(0.5, 0, 0, script.Parent.Position.Y.Offset + game.ReplicatedStorage.alertsOffset.Value) end local tween = Modules.tween local network = Modules.network local utilities = Modules.utilities function module.alert(textObject, duration, soundeffect) duration = duration or 4 if soundeffect and game.ReplicatedStorage.assets.sounds:FindFirstChild(soundeffect) then utilities.playSound(soundeffect) --game.ReplicatedStorage.sounds[soundeffect]:Play() end local isNewAlert = false local alert if textObject.id and alerts[textObject.id] then alert = alerts[textObject.id].alert alerts[textObject.id].start = tick() else alert = script.Parent:WaitForChild("alert"):clone() isNewAlert = true if textObject.id then alerts[textObject.id] = {alert = alert; start = tick()} end end alert.TextLabel.Text = textObject.text or textObject.Text or "" alert.TextLabel.TextColor3 = textObject.textColor3 or textObject.Color or Color3.new(1,1,1) alert.TextLabel.TextStrokeColor3 = textObject.textStrokeColor3 or Color3.new(0,0,0) alert.TextLabel.Font = textObject.font or textObject.Font or Enum.Font.SourceSansBold alert.TextLabel.BackgroundColor3 = textObject.backgroundColor3 or Color3.new(1,1,1) local textBounds = game.TextService:GetTextSize(alert.TextLabel.Text,alert.TextLabel.TextSize,alert.TextLabel.Font,Vector2.new()) alert.TextLabel.Size = UDim2.new(0,textBounds.X + 20,1,0) alert.Parent = script.Parent alert.Visible = true if isNewAlert then local textTransparency = textObject.textTransparency or 0 local textStrokeTransparency = textObject.textStrokeTransparency or 0 local backgroundTransparency = textObject.backgroundTransparency or 1 alert.TextLabel.TextTransparency = 1 alert.TextLabel.BackgroundTransparency = 1 alert.TextLabel.TextStrokeTransparency = 1 tween(alert.TextLabel, {"TextTransparency", "TextStrokeTransparency", "BackgroundTransparency"}, {textTransparency, textStrokeTransparency, backgroundTransparency}, 0.5) else alert.TextLabel.TextTransparency = textObject.textTransparency or 0 alert.TextLabel.TextStrokeTransparency = textObject.textStrokeTransparency or 0 alert.TextLabel.BackgroundTransparency = textObject.backgroundTransparency or 1 end spawn(function() wait(duration) if textObject.id and alerts[textObject.id] then if alerts[textObject.id].alert == alert then alerts[textObject.id] = nil tween(alert.TextLabel,{"TextTransparency", "TextStrokeTransparency", "BackgroundTransparency"}, {1, 1, 1}, 0.5) game.Debris:AddItem(alert, 0.5) end elseif alert and alert.Parent == script.Parent then tween(alert.TextLabel,{"TextTransparency", "TextStrokeTransparency", "BackgroundTransparency"}, {1, 1, 1}, 0.5) game.Debris:AddItem(alert, 0.5) end end) end network:create("alert","BindableEvent", "Event", module.alert) network:connect("alertPlayerNotification", "OnClientEvent", module.alert) end return module
local function a(b,c,d) if type(b)~="table"then error("Error at 'Check'. Bad argument description for argument #"..tostring(c)..". Expected table, got "..type(b),3) end; if#b==0 then error("Error at 'Check'. Empty argument description for argument #"..tostring(c),3) end; if type(b[2]) ~= "string" then error("Error at 'Check'. Bad type description for argument #"..tostring(c),3) end; if type(b[1])~=b[2]then error("Bad argument at '"..tostring(d).."' [Expected "..tostring(b[2]).." at argument "..tostring(c)..", got "..type(b[1]).."]",3) end; return true end; function check(d,e) if type(d)~="string"then error("Argument type mismatch at 'check' ('funcname'). Expected 'string', got '"..type(d).."'.",2) end; if type(e) ~= "table" then error("Argument number mismatch at 'Check'. Expected arguments table, got '"..type(e).."'",2) end; if not next(e)then error("Argument number mismatch at 'Check'. Arguments table is empty",2) end; if #e == 2 and type(e[2]) == "string" then return a(e,1,d) end; for c,b in ipairs(e)do a(b,c,d) end; return true end
ruins = {} dofile(minetest.get_modpath('ruins')..'/structures.lua') dofile(minetest.get_modpath('ruins')..'/nodes.lua')
local WIDGET, VERSION = 'TitleButton', 2 local GUI = LibStub('NetEaseGUI-2.0') local TitleButton = GUI:NewClass(WIDGET, 'Button', VERSION) if not TitleButton then return end function TitleButton:Constructor() self:SetSize(16, 16) self:SetHighlightTexture([[INTERFACE\Challenges\challenges-metalglow]], 'ADD') self:GetHighlightTexture():SetTexCoord(0.25, 0.75, 0.25, 0.75) self:SetScript('OnEnter', self.OnEnter) self:SetScript('OnLeave', GameTooltip_Hide) end function TitleButton:SetTexture(texture, left, right, top, bottom) self:SetNormalTexture(texture) self:GetNormalTexture():SetTexCoord(left or 0, right or 1, top or 0, bottom or 1) end function TitleButton:SetTooltip(...) self.tooltips = {...} end function TitleButton:OnEnter() if not self.tooltips then return end GameTooltip:SetOwner(self, 'ANCHOR_RIGHT') for i, v in ipairs(self.tooltips) do if i == 1 then GameTooltip:SetText(v) else GameTooltip:AddLine(v, 1, 1, 1, 1) end end GameTooltip:Show() end local function AnimOnShow(self) self.Group:Play() end local function AnimOnHide(self) self.Group:Stop() end function TitleButton:PlayAnimation() if not self.Anim then local Anim = CreateFrame('Frame', nil, self) Anim:Hide() Anim:SetAllPoints(self) Anim:SetScript('OnShow', AnimOnShow) Anim:SetScript('OnHide', AnimOnHide) local Icon = Anim:CreateTexture(nil, 'OVERLAY') Icon:SetPoint('CENTER', 1, 0) Icon:SetSize(48, 48) Icon:SetTexture([[INTERFACE\Cooldown\star4]]) Icon:SetBlendMode('ADD') -- Icon:SetVertexColor(0, 1, 0) local Group = Anim:CreateAnimationGroup() Group:SetLooping('BOUNCE') local Alpha = Group:CreateAnimation('Alpha') Alpha:SetDuration(0.75) Alpha:SetFromAlpha(1) Alpha:SetToAlpha(0.3) local Scale = Group:CreateAnimation('Scale') Scale:SetDuration(0.75) Scale:SetScale(0.5, 0.5) Anim.Group = Group self.Anim = Anim end self.Anim:Show() end function TitleButton:StopAnimation() if self.Anim then self.Anim:Hide() end end
local awful = require('awful') local screen = screen local screens = {} local function get_first_output(screen) local next, t = pairs(screen.outputs) return screen.outputs[next(t)] end function screens.primary_index() return screen.primary.index end function screens.primary() return screen.primary end function screens.xdpi(screen) if not screen.outputs then return nil end local output = get_first_output(screen) if output then return (screen.geometry.width * 25.4) / output.mm_width end end function screens.ydpi(screen) if not screen.outputs then return nil end local output = get_first_output(screen) if output then return (screen.geometry.height * 25.4) / output.mm_height end end function screens.output_name(screen) if not screen.outputs then return nil end local next, t = pairs(screen.outputs) return next(t) end -- ######################### -- Screen position numbering -- ######################### --- Iterates over all screen in their order form left to right. -- This method just looks at x coordinates to order the screens and only -- respects y coordinates of the screen if there are two screens with the same -- x coordinates. -- The passed function will be called for each screen and gets the position -- starting from 0 as first argment and the screen object itself as second. local function set_screen_positions() local sorted_screens = {} -- First copy all existing screen objects into the table for s in screen do table.insert(sorted_screens, s) end -- Sort that table first by its x coordinates and only respect y if x is the same table.sort(sorted_screens, function(a, b) if a.geometry.x == b.geometry.x then return a.geometry.y < b.geometry.y else return a.geometry.x < b.geometry.x end end) for i, s in ipairs(sorted_screens) do s.position = i s:emit_signal('property::position') end end -- Every time the screen order or screens change make sure to attach the positional -- number to each screen screen.connect_signal('list', set_screen_positions) screen.connect_signal('property::geometry', set_screen_positions) set_screen_positions() return screens
--[[ A paper lamp. ]] local Cuboid = assert(foundation.com.Cuboid) local ng = Cuboid.new_fast_node_box local shoji_lamp_node_box = { type = "fixed", fixed = { ng( 2, 3, 2,12,12,12), -- main box -- legs ng( 2, 0, 2, 2, 3, 2), ng( 2, 0,12, 2, 3, 2), ng(12, 0,12, 2, 3, 2), ng(12, 0, 2, 2, 3, 2), }, } local lamp_sounds = yatm.node_sounds:build("leaves") minetest.register_node("yatm_papercraft:shoji_lamp_off", { basename = "yatm_papercraft:shoji_lamp", description = "Shoji Lamp [OFF]", groups = { choppy = 1, paper = 1, lamp = 1, }, is_ground_content = false, sounds = lamp_sounds, use_texture_alpha = "opaque", tiles = { "yatm_shoji_lamp_top.off.png", "yatm_shoji_lamp_bottom.off.png", "yatm_shoji_lamp_side.off.png", "yatm_shoji_lamp_side.off.png", "yatm_shoji_lamp_side.off.png", "yatm_shoji_lamp_side.off.png", }, paramtype = "light", paramtype2 = "facedir", drawtype = "nodebox", node_box = shoji_lamp_node_box, }) minetest.register_node("yatm_papercraft:shoji_lamp_on", { basename = "yatm_papercraft:shoji_lamp", description = "Shoji Lamp [ON]", groups = { choppy = 1, paper = 1, lamp = 1, --not_in_creative_inventory = 1, }, is_ground_content = false, sounds = lamp_sounds, use_texture_alpha = "opaque", tiles = { "yatm_shoji_lamp_top.on.png", "yatm_shoji_lamp_bottom.on.png", "yatm_shoji_lamp_side.on.png", "yatm_shoji_lamp_side.on.png", "yatm_shoji_lamp_side.on.png", "yatm_shoji_lamp_side.on.png", }, paramtype = "light", paramtype2 = "facedir", sunlight_propagates = false, light_source = minetest.LIGHT_MAX, drawtype = "nodebox", node_box = shoji_lamp_node_box, })
serverAddress = "http://172.16.4.195:3000" state = http.get(serverAddress.."/lightState") print(state) http.get(serverAddress.."/modes/set?mode=colorBubbles")
vim.g.vscode_style = "dark" vim.g.vscode_italic_comment = 1 vim.cmd[[colorscheme vscode]] require('lualine').setup { options = { theme = 'vscode', } } -- Buffer line setup require'bufferline'.setup{ options = { indicator_icon = ' ', buffer_close_icon = '', modified_icon = '●', close_icon = '', close_command = "Bdelete %d", right_mouse_command = "Bdelete! %d", left_trunc_marker = '', right_trunc_marker = '', offsets = {{filetype = "NvimTree", text = "EXPLORER", text_align = "center"}}, show_tab_indicators = true, show_close_icon = false }, highlights = { fill = { guifg = {attribute = "fg", highlight = "Normal"}, guibg = {attribute = "bg", highlight = "StatusLineNC"}, }, background = { guifg = {attribute = "fg", highlight = "Normal"}, guibg = {attribute = "bg", highlight = "StatusLine"} }, buffer_visible = { gui = "", guifg = {attribute = "fg", highlight="Normal"}, guibg = {attribute = "bg", highlight = "Normal"} }, buffer_selected = { gui = "", guifg = {attribute = "fg", highlight="Normal"}, guibg = {attribute = "bg", highlight = "Normal"} }, separator = { guifg = {attribute = "bg", highlight = "Normal"}, guibg = {attribute = "bg", highlight = "StatusLine"}, }, separator_selected = { guifg = {attribute = "fg", highlight="Special"}, guibg = {attribute = "bg", highlight = "Normal"} }, separator_visible = { guifg = {attribute = "fg", highlight = "Normal"}, guibg = {attribute = "bg", highlight = "StatusLineNC"}, }, close_button = { guifg = {attribute = "fg", highlight = "Normal"}, guibg = {attribute = "bg", highlight = "StatusLine"} }, close_button_selected = { guifg = {attribute = "fg", highlight="normal"}, guibg = {attribute = "bg", highlight = "normal"} }, close_button_visible = { guifg = {attribute = "fg", highlight="normal"}, guibg = {attribute = "bg", highlight = "normal"} }, } }
function love.conf(t) t.window.title = "Tic Tac Love" t.window.width = 4*32*5 t.window.height = 4*32*5 end
--[[ sharesFanatic.lua Copyright (C) 2016 Kano Computing Ltd. License: http://www.gnu.org/licenses/gpl-2.0.txt GNU GPLv2 This is a dialogue that revolves around shares. ]]-- return { type = "decision", dialogues = { --- 1) Welcome dialogue - I LOVE SHARING - HERE'S THE NUMBER ------- { type = "copy", copy = { "momaSharesFanatic" }, arguments = {}, options = { { ok = 2 }, }, properties = {}, }, --- 2) Decision node --------------------------------------------------------- { type = "compare", operator = "equals", a = "MAKE_ART_APP_SHARES", b = 0, positive = 3, negative = 4, properties = { save = true, } }, --- 3) No shares!! --------------------------------------------- { type = "copy", copy = { "momaSharesFanatic2" }, arguments = {}, options = { { createArt = "CMD_MAKE_ART" }, { maybeLater = 0 } }, properties = {}, }, --- 4) Decision node --------------------------------------------------------- { type = "compare", operator = "lessThan", a = "MAKE_ART_APP_SHARES", b = 2, positive = 5, negative = 6, properties = { save = true, } }, --- 5) You've made 1 share -------------------------------------------------- { type = "copy", copy = { "momaSharesFanatic3" }, arguments = {}, options = {}, properties = {}, }, --- 6) Decision node --------------------------------------------------------- { type = "compare", operator = "lessOrEquals", a = "MAKE_ART_APP_SHARES", b = 5, positive = 7, negative = 8, properties = { save = true, } }, --- 7) Between 2-5 shares ------------------------------------------------ { type = "copy", copy = { "momaSharesFanatic4" }, arguments = {"MAKE_ART_APP_SHARES"}, options = {}, properties = {}, }, --- 8) Decision node --------------------------------------------------------- { type = "compare", operator = "lessOrEquals", a = "MAKE_ART_APP_SHARES", b = 10, positive = 9, negative = 10, properties = { save = true, } }, --- 9) Between 5-10 shares answer ---------------------------------------- { type = "copy", copy = { "momaSharesFanatic5" }, arguments = {"MAKE_ART_APP_SHARES"}, options = {}, properties = {}, }, --- 10) More than 10 shares - AMAZING! ---------------------------------------- { type = "copy", copy = { "momaSharesFanatic6" }, arguments = {"MAKE_ART_APP_SHARES"}, options = {}, properties = {}, }, --- the end --- } }
// Wildfire Black Mesa Roleplay // File description: BMRP client-side repair box script // Copyright (c) 2022 KiwifruitDev // Licensed under the MIT License. //********************************************************************************************* // 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. //********************************************************************************************* include("shared.lua") -- font for the text surface.CreateFont("BMRP_RepairBox_Text", { font = "Roboto", size = 750, weight = 500, antialias = true }) function ENT:Draw() self:DrawModel() local text = "Spare Parts" local offset = Vector(0, 0, 20) local origin = self:GetPos() if LocalPlayer():GetPos():DistToSqr(origin) > (150*150) then return end local pos = origin + offset local ang = (LocalPlayer():EyePos() - pos):Angle() ang:RotateAroundAxis(ang:Right(), 90) ang:RotateAroundAxis(ang:Up(), 90) ang:RotateAroundAxis(ang:Forward(), 180) cam.Start3D2D(pos, ang, 0.05) surface.SetFont("XenCrystalText") local w, h = surface.GetTextSize(text) draw.SimpleText(text, "XenCrystalText", 4, 4, Color(0,0,0), 1, 1) draw.SimpleText(text, "XenCrystalText", 0, 0, Color(255,255,255), 1, 1) cam.End3D2D() end
for ind, sofa_type in pairs({"small", "middle", "long", "corner_1", "corner_2"}) do for color, rgb_code in pairs(sofas_rgb_colors) do for _, pillow_color in ipairs({"red", "green" , "blue", "yellow", "violet"}) do minetest.register_node("luxury_decor:simple_".. color .. "_" .. sofa_type .. "_sofa_with_" .. pillow_color .. "_pillows", { description = minetest.colorize(sofas_rgb_colors[color], "Simple " .. string.upper(color) .. " " .. string.upper(sofa_type) .. " Sofa With " .. string.upper(pillow_color) .. " Pillows" ), visual_scale = 0.5, mesh = "simple_"..sofa_type.."_sofa.obj", tiles = {"simple_sofa.png^(simple_sofa_2.png^[colorize:" .. rgb_code .. ")^(simple_sofa_3.png^[colorize:" .. pillow_color .. ")"}, paramtype = "light", paramtype2 = "facedir", groups = {choppy = 2.5}, drawtype = "mesh", collision_box = { type = "fixed", fixed = sofas_collision_boxes[sofa_type] }, selection_box = { type = "fixed", fixed = sofas_collision_boxes[sofa_type] }, sounds = default.node_sound_wood_defaults(), on_construct = function (pos) local meta = minetest.get_meta(pos) local seats_table = { {["small"] = {[1]= { is_busy = {bool=false, player=nil}, pos = {x = pos.x, y=pos.y+0.2, z = pos.z} } } }, {["middle"] = {[1]= { is_busy={bool=false, player=nil}, pos={x = pos.x, y = pos.y+0.2, z = pos.z} }, [2]= { is_busy={bool=false, player=nil}, pos={x=pos.x+1, y=pos.y+0.2, z=pos.z} } } }, {["long"] = {[1]={is_busy={bool=false, player_obj=nil}, pos={x=pos.x, y=pos.y+0.2, z=pos.z}}, [2]={is_busy={bool=false, player=nil}, pos={x=pos.x+1, y=pos.y+0.2, z=pos.z}}, [3]={is_busy={bool=false, player=nil}, pos={x=pos.x+2, y=pos.y+0.2, z=pos.z}}}}, {["corner_1"] = {[1]={is_busy={bool=false, player=nil}, pos={x=pos.x, y=pos.y+0.2, z=pos.z}}, [2]={is_busy={bool=false, player=nil}, pos={x=pos.x+1, y=pos.y+0.2, z=pos.z}}, [3]={is_busy={bool=false, player=nil}, pos={x=pos.x+2, y=pos.y+0.2, z=pos.z}}, [4]={is_busy={bool=false, player=nil}, pos={x=pos.x+2, y=pos.y+0.2, z=pos.z-1}}}}, {["corner_2"] = {[1]={is_busy={bool=false, player=nil}, pos={x=pos.x, y=pos.y+0.2, z=pos.z-1}}, [2]={is_busy={bool=false, player=nil}, pos={x=pos.x, y=pos.y+0.2, z=pos.z}}, [3]={is_busy={bool=false, player=nil}, pos={x=pos.x+1, y=pos.y+0.2, z=pos.z}}, [4]={is_busy={bool=false, player=nil}, pos={x=pos.x+2, y=pos.y+0.2, z=pos.z}}}} } for num, data in pairs(seats_table) do for sf_type, sf_data in pairs(seats_table[num]) do if minetest.get_node(pos).name == "luxury_decor:simple_" .. color .. "_" .. sf_type .. "_sofa_with_" .. pillow_color .. "_pillows" then meta:set_string("seats_range", minetest.serialize(sf_data)) end end end end, after_dig_node = function (pos, oldnode, oldmetadata, digger) --local seats = minetest.deserialize(minetest.get_meta(pos):get_string("seats_range")) local seats = minetest.deserialize(oldmetadata.fields.seats_range) if seats ~= nil then for seat_num, seat_data in pairs(seats) do if seat_data.is_busy.player ~= nil then local player = minetest.get_player_by_name(seat_data.is_busy.player) chairs.standup_player(player, pos, seats) end end end end, on_rightclick = function (pos, node, clicker, itemstack, pointed_thing) if string.find(itemstack:get_name(), "dye:") then local get_player_contr = clicker:get_player_control() if get_player_contr.sneak then for _, p_color in ipairs({"red", "green", "blue", "yellow", "violet"}) do if itemstack:get_name() == "dye:" .. p_color then itemstack:take_item() minetest.remove_node(pos) minetest.set_node(pos, {name="luxury_decor:simple_" .. color .. "_" .. sofa_type .. "_sofa_with_" .. p_color .. "_pillows"}) end end else for color2, rgb_code in pairs(sofas_rgb_colors) do if "dye:" .. color2 == itemstack:get_name() then itemstack:take_item() minetest.remove_node(pos) minetest.set_node(pos, {name="luxury_decor:simple_" .. color2 .. "_" .. sofa_type .. "_sofa_with_" .. pillow_color .. "_pillows"}) end end end elseif string.find(itemstack:get_name(), "luxury_decor:simple_" .. color .. "_small_sofa_with_" .. pillow_color .. "_pillows") then local dir = clicker:get_look_dir() local player_pos = clicker:get_pos() if pointed_thing.under.x ~= pointed_thing.above.x and string.find(node.name, "_long_") == nil then local sofas_types_list = {"small", "middle", "long"} if dir.x > 0 then itemstack:take_item() minetest.remove_node(pos) minetest.set_node({x=pos.x-1, y=pos.y, z=pos.z}, {name="luxury_decor:simple_" .. color .. "_" .. sofas_types_list[ind+1] .. "_sofa_with_" .. pillow_color .. "_pillows"}) elseif dir.x < 0 then itemstack:take_item() minetest.remove_node(pos) minetest.set_node({x=pos.x, y=pos.y, z=pos.z}, {name="luxury_decor:simple_" .. color .. "_" .. sofas_types_list[ind+1] .. "_sofa_with_" .. pillow_color .. "_pillows"}) end elseif pointed_thing.under.x > pointed_thing.above.x and string.find(node.name, "_long_") == nil then local sofas_types_list = {"small", "middle", "long"} if dir.x < 0 then itemstack:take_item() minetest.remove_node(pos) minetest.set_node({x=pos.x-1, y=pos.y, z=pos.z}, {name="luxury_decor:simple_" .. color .. "_" .. sofas_types_list[ind+1] .. "_sofa_with_" .. pillow_color .. "_pillows"}) elseif dir.x > 0 then itemstack:take_item() minetest.remove_node(pos) minetest.set_node({x=pos.x, y=pos.y, z=pos.z}, {name="luxury_decor:simple_" .. color .. "_" .. sofas_types_list[ind+1] .. "_sofa_with_" .. pillow_color .. "_pillows"}) end elseif pointed_thing.above.z ~= pointed_thing.under.z and player_pos.z < pos.z and string.find(node.name, "_long_") ~= nil then if dir.x > 0 then itemstack:take_item() minetest.remove_node(pos) minetest.set_node({x=pos.x-3, y=pos.y, z=pos.z}, {name="luxury_decor:simple_" .. color .. "_corner1_sofa_with_" .. pillow_color .. "_pillows"}) elseif dir.x < 0 then itemstack:take_item() minetest.remove_node(pos) minetest.set_node(pos, {name="luxury_decor:simple_" .. color .. "_corner2_sofa_with_" .. pillow_color .. "_pillows"}) end --elseif pointed_thing.under.x > pointed_thing.above.x and dir.y > 0 and string.find(node.name, "_long_") == nil then --itemstack:take_item() --minetest.remove_node(pos) --minetest.set_node({x=pos.x-1, y=pos.y, z=pos.z}, {name="luxury_decor:simple_" .. color .. "_" .. footstools_types_list[ind+1] .. "_footstool"}) --elseif pointed_thing.under.y > pointed_thing.above.y and dir.y > 0 and string.find(node.name, "_long_") == nil then --itemstack:take_item() --minetest.remove_node(pos) --minetest.set_node({x=pos.x, y=pos.y, z=pos.z-1}, {name="luxury_decor:simple_" .. color .. "_" .. footstools_types_list[ind+1] .. "_footstool"}) elseif pointed_thing.under.y < pointed_thing.above.y and dir.y < 0 and string.find(node.name, "_long_") == nil then itemstack:take_item() --minetest.remove_node(pos) --minetest.set_node({x=pos.x, y=pos.y, z=pos.z+1}, {name="luxury_decor:simple_" .. color .. "_" .. footstools_types_list[ind+1] .. "_footstool"}) end else local meta = clicker:get_meta() local is_attached = minetest.deserialize(meta:get_string("is_attached")) if is_attached == nil or is_attached == "" then chairs.sit_player(clicker, node, pos, {{{x=81, y=81}, frame_speed=15, frame_blend=0}}) elseif is_attached ~= nil or is_attached ~= "" then chairs.standup_player(clicker, pos) end end return itemstack end }) end end end
-- load all plugins require "pluginList" require "misc-utils" require "top-bufferline" require "statusline" --require("colorizer").setup() require("neoscroll").setup() -- smooth scroll -- lsp stuff require "nvim-lspconfig" require "compe-completion" local cmd = vim.cmd local g = vim.g g.mapleader = " " g.auto_save = 1 -- colorscheme related stuff cmd "syntax on" cmd "colorscheme nord" -- local base16 = require "base16" -- base16(base16.themes["nord"], true) --require "custom_highlights" -- Remove ugly mode status below statusline cmd "set noshowmode" -- Column highlight cmd "set cursorcolumn" --Dashboard header vim.g.dashboard_custom_header = { " ███╗ ██╗ ███████╗ ██████╗ ██╗ ██╗ ██╗ ███╗ ███╗", " ████╗ ██║ ██╔════╝██╔═══██╗ ██║ ██║ ██║ ████╗ ████║", " ██╔██╗ ██║ █████╗ ██║ ██║ ██║ ██║ ██║ ██╔████╔██║", " ██║╚██╗██║ ██╔══╝ ██║ ██║ ╚██╗ ██╔╝ ██║ ██║╚██╔╝██║", " ██║ ╚████║ ███████╗╚██████╔╝ ╚████╔╝ ██║ ██║ ╚═╝ ██║", " ╚═╝ ╚═══╝ ╚══════╝ ╚═════╝ ╚═══╝ ╚═╝ ╚═╝ ╚═╝", } -- blankline g.indentLine_enabled = 1 g.indent_blankline_char = " " --"▏" g.indent_blankline_filetype_exclude = {"help", "terminal"} g.indent_blankline_buftype_exclude = {"terminal"} g.indent_blankline_show_trailing_blankline_indent = false g.indent_blankline_show_first_indent_level = false require "treesitter-nvim" require "mappings" require "telescope-nvim" require "nvimTree" -- file tree stuff require "file-icons" -- git signs , lsp symbols etc require "gitsigns-nvim" require("nvim-autopairs").setup() require("lspkind").init() -- hide line numbers in terminal windows vim.api.nvim_exec([[ au BufEnter term://* setlocal nonumber ]], false) -- setup for TrueZen.nvim require "zenmode" require "whichkey"
-- !!!!!!!!!!!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!!!!!!!!!! -- This file is automaticly generated. Don't edit manualy! -- !!!!!!!!!!!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!!!!!!!!!! ---@class C_MythicPlus C_MythicPlus = {} ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_MythicPlus.GetCurrentAffixes) ---@return table @affixIDs function C_MythicPlus.GetCurrentAffixes() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_MythicPlus.GetCurrentSeason) ---@return number @seasonID function C_MythicPlus.GetCurrentSeason() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_MythicPlus.GetLastWeeklyBestInformation) ---@return number, number @challengeMapId, level function C_MythicPlus.GetLastWeeklyBestInformation() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_MythicPlus.GetOwnedKeystoneChallengeMapID) ---@return number @challengeMapID function C_MythicPlus.GetOwnedKeystoneChallengeMapID() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_MythicPlus.GetOwnedKeystoneLevel) ---@return number @keyStoneLevel function C_MythicPlus.GetOwnedKeystoneLevel() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_MythicPlus.GetRewardLevelForDifficultyLevel) ---@param difficultyLevel number ---@return number, number @weeklyRewardLevel, endOfRunRewardLevel function C_MythicPlus.GetRewardLevelForDifficultyLevel(difficultyLevel) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_MythicPlus.GetRewardLevelFromKeystoneLevel) ---@param keystoneLevel number ---@return number @rewardLevel function C_MythicPlus.GetRewardLevelFromKeystoneLevel(keystoneLevel) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_MythicPlus.GetRunHistory) ---@param includePreviousWeeks boolean ---@param includeIncompleteRuns boolean ---@return table @runs function C_MythicPlus.GetRunHistory(includePreviousWeeks, includeIncompleteRuns) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_MythicPlus.GetSeasonBestForMap) ---@param mapChallengeModeID number ---@return MapSeasonBestInfo, MapSeasonBestInfo @intimeInfo, overtimeInfo function C_MythicPlus.GetSeasonBestForMap(mapChallengeModeID) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_MythicPlus.GetWeeklyBestForMap) ---@param mapChallengeModeID number ---@return number, number, MythicPlusDate, table, table @durationSec, level, completionDate, affixIDs, members function C_MythicPlus.GetWeeklyBestForMap(mapChallengeModeID) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_MythicPlus.GetWeeklyChestRewardLevel) ---@return number, number, number, number @currentWeekBestLevel, weeklyRewardLevel, nextDifficultyWeeklyRewardLevel, nextBestLevel function C_MythicPlus.GetWeeklyChestRewardLevel() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_MythicPlus.IsMythicPlusActive) ---@return boolean @isMythicPlusActive function C_MythicPlus.IsMythicPlusActive() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_MythicPlus.IsWeeklyRewardAvailable) ---@return boolean @weeklyRewardAvailable function C_MythicPlus.IsWeeklyRewardAvailable() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_MythicPlus.RequestCurrentAffixes) function C_MythicPlus.RequestCurrentAffixes() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_MythicPlus.RequestMapInfo) function C_MythicPlus.RequestMapInfo() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_MythicPlus.RequestRewards) function C_MythicPlus.RequestRewards() end ---@class MapSeasonBestInfo ---@field public durationSec number ---@field public level number ---@field public completionDate MythicPlusDate ---@field public affixIDs table ---@field public members table MapSeasonBestInfo = {} ---@class MythicPlusDate ---@field public year number ---@field public month number ---@field public day number ---@field public hour number ---@field public minute number MythicPlusDate = {} ---@class MythicPlusKeystoneAffix ---@field public id number ---@field public seasonID number MythicPlusKeystoneAffix = {} ---@class MythicPlusMember ---@field public name string ---@field public specID number ---@field public classID number MythicPlusMember = {} ---@class MythicPlusRunInfo ---@field public mapChallengeModeID number ---@field public level number ---@field public thisWeek boolean ---@field public completed boolean MythicPlusRunInfo = {}