repo_name
stringlengths
6
69
path
stringlengths
6
178
copies
stringclasses
278 values
size
stringlengths
4
7
content
stringlengths
671
917k
license
stringclasses
15 values
TheAnswer/FirstTest
bin/scripts/creatures/objects/talus/npcs/sleemo/sleemoScamp.lua
1
4500
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version --which carries forward this exception. sleemoScamp = Creature:new { objectName = "sleemoScamp", -- Lua Object Name creatureType = "NPC", gender = "", speciesName = "sleemo_scamp", stfName = "mob/creature_names", objectCRC = 3021148797, socialGroup = "Sleemo Gang", level = 8, combatFlags = ATTACKABLE_FLAG + ENEMY_FLAG, healthMax = 495, healthMin = 405, strength = 0, constitution = 0, actionMax = 495, actionMin = 405, quickness = 0, stamina = 0, mindMax = 495, mindMin = 405, focus = 0, willpower = 0, height = 1, -- Size of creature armor = 0, -- 0 = None; 1 = Light; 2 = Medium; 3 = Heavy kinetic = 0, energy = 0, electricity = 0, stun = -1, blast = 0, heat = 0, cold = 0, acid = 0, lightsaber = 0, accuracy = 0, healer = 0, pack = 1, herd = 1, stalker = 0, killer = 0, ferocity = 0, aggressive = 0, invincible = 0, attackCreatureOnSight = "", -- Enter socialGroups weapon = "object/weapon/creature/shared_creature_default_weapon.iff", -- File path to weapon -> object\xxx\xxx\xx weaponName = "Creature Defualt", -- Name ex. 'a Vibrolance' weaponTemp = "creature_default_weapon", -- Weapon Template ex. 'lance_vibrolance' weaponClass = "UnarmedMeleeWeapon", -- Weapon Class ex. 'PolearmMeleeWeapon' weaponEquipped = 0, weaponMinDamage = 70, weaponMaxDamage = 75, weaponAttackSpeed = 2, weaponDamageType = "KINETIC", -- ELECTRICITY, KINETIC, etc weaponArmorPiercing = "NONE", -- LIGHT, NONE, MEDIUM, HEAVY alternateWeapon = "", -- File path to weapon -> object\xxx\xxx\xx alternateWeaponName = "", -- Name ex. 'a Vibrolance' alternateWeaponTemp = "", -- Weapon Template ex. 'lance_vibrolance' alternateWeaponClass = "", -- Weapon Class ex. 'PolearmMeleeWeapon' alternateWeaponEquipped = 0, alternateWeaponMinDamage = 0, alternateWeaponMaxDamage = 0, alternateWeaponAttackSpeed = 0, alternateWeaponDamageType = "", -- ELECTRICITY, KINETIC, etc alternateWeaponArmorPiercing = "", -- LIGHT, NONE, MEDIUM, HEAVY internalNPCDamageModifier = 0.3, -- Damage Modifier to other NPC's lootGroup = "0", -- Group it belongs to for loot tame = 0, datapadItemCRC = 0, mountCRC = 0, mountSpeed = 0, mountAcceleration = 0, milk = 0, boneType = "", boneMax = 0, hideType = "", hideMax = 0, meatType = "", meatMax = 0, skills = { "sleemoAttack1" }, respawnTimer = 180, behaviorScript = "", -- Link to the behavior script for this object } Creatures:addCreature(sleemoScamp, 3021148797) -- Add to Global Table
lgpl-3.0
JarnoVgr/ZombieSurvival
gamemodes/zombiesurvival/gamemode/zombieclasses/boss_pukepus.lua
1
3776
CLASS.Name = "Puke Pus" CLASS.TranslationName = "class_pukepus" CLASS.Description = "description_pukepus" CLASS.Help = "controls_pukepus" CLASS.Wave = 0 CLASS.Threshold = 0 CLASS.Unlocked = true CLASS.Hidden = true CLASS.Boss = true CLASS.FearPerInstance = 1 CLASS.Health = 3100 CLASS.SWEP = "weapon_zs_pukepus" CLASS.Model = Model("models/Zombie/Poison.mdl") CLASS.Speed = 120 CLASS.Points = 30 CLASS.PainSounds = {"NPC_PoisonZombie.Pain"} CLASS.DeathSounds = {Sound("npc/zombie_poison/pz_call1.wav")} CLASS.VoicePitch = 0.5 CLASS.ModelScale = 1.5 CLASS.Mass = 200 CLASS.ViewOffset = Vector(0, 0, 75) CLASS.ViewOffsetDucked = Vector(0, 0, 48) CLASS.StepSize = 25 --[[CLASS.Hull = {Vector(-22, -22, 0), Vector(22, 22, 96)} CLASS.HullDuck = {Vector(-22, -22, 0), Vector(22, 22, 58)}]] CLASS.JumpPower = 225 local ACT_IDLE = ACT_IDLE local STEPSOUNDTIME_NORMAL = STEPSOUNDTIME_NORMAL local STEPSOUNDTIME_WATER_FOOT = STEPSOUNDTIME_WATER_FOOT local STEPSOUNDTIME_ON_LADDER = STEPSOUNDTIME_ON_LADDER local STEPSOUNDTIME_WATER_KNEE = STEPSOUNDTIME_WATER_KNEE function CLASS:CalcMainActivity(pl, velocity) if velocity:Length2D() <= 0.5 then pl.CalcIdeal = ACT_IDLE else pl.CalcSeqOverride = 2 end return true end local mathrandom = math.random local StepSounds = { "npc/zombie_poison/pz_left_foot1.wav" } local ScuffSounds = { "npc/zombie_poison/pz_right_foot1.wav" } function CLASS:PlayerFootstep(pl, vFootPos, iFoot, strSoundName, fVolume, pFilter) if iFoot == 0 and mathrandom() < 0.333 then pl:EmitSound(ScuffSounds[mathrandom(#ScuffSounds)], 80, 90) else pl:EmitSound(StepSounds[mathrandom(#StepSounds)], 80, 90) end return true end function CLASS:PlayerStepSoundTime(pl, iType, bWalking) if iType == STEPSOUNDTIME_NORMAL or iType == STEPSOUNDTIME_WATER_FOOT then return (365 - pl:GetVelocity():Length()) * 1.5 elseif iType == STEPSOUNDTIME_ON_LADDER then return 450 elseif iType == STEPSOUNDTIME_WATER_KNEE then return 600 end return 200 end function CLASS:UpdateAnimation(pl, velocity, maxseqgroundspeed) pl:FixModelAngles(velocity) local len2d = velocity:Length2D() if len2d > 0.5 then pl:SetPlaybackRate(math.min(len2d / maxseqgroundspeed * 0.5, 3)) else pl:SetPlaybackRate(0.5) end return true end if SERVER then function CLASS:OnSpawned(pl) pl:CreateAmbience("pukepusambience") end end local matSkin = Material("Models/Barnacle/barnacle_sheet") function CLASS:PrePlayerDraw(pl) render.ModelMaterialOverride(matSkin) end function CLASS:PostPlayerDraw(pl) render.ModelMaterialOverride() end local BonesToZero = { "ValveBiped.Bip01_L_UpperArm", "ValveBiped.Bip01_L_Forearm", "ValveBiped.Bip01_L_Hand", "ValveBiped.Bip01_L_Finger1", "ValveBiped.Bip01_L_Finger11", "ValveBiped.Bip01_L_Finger12", "ValveBiped.Bip01_L_Finger2", "ValveBiped.Bip01_L_Finger21", "ValveBiped.Bip01_L_Finger22", "ValveBiped.Bip01_L_Finger3", "ValveBiped.Bip01_L_Finger31", "ValveBiped.Bip01_L_Finger32", "ValveBiped.Bip01_R_UpperArm", "ValveBiped.Bip01_R_Forearm", "ValveBiped.Bip01_R_Hand", "ValveBiped.Bip01_R_Finger1", "ValveBiped.Bip01_R_Finger11", "ValveBiped.Bip01_R_Finger12", "ValveBiped.Bip01_R_Finger2", "ValveBiped.Bip01_R_Finger21", "ValveBiped.Bip01_R_Finger22", "ValveBiped.Bip01_R_Finger3", "ValveBiped.Bip01_R_Finger31", "ValveBiped.Bip01_R_Finger32" } function CLASS:BuildBonePositions(pl) for _, bone in pairs(BonesToZero) do local boneid = pl:LookupBone(bone) if boneid and boneid > 0 then pl:ManipulateBoneScale(boneid, vector_tiny) end end end if not CLIENT then return end CLASS.Icon = "zombiesurvival/classmenu/pukepuss"
gpl-2.0
vgire/nn
L1HingeEmbeddingCriterion.lua
63
1160
local L1HingeEmbeddingCriterion, parent = torch.class('nn.L1HingeEmbeddingCriterion', 'nn.Criterion') function L1HingeEmbeddingCriterion:__init(margin) parent.__init(self) margin = margin or 1 self.margin = margin self.gradInput = {torch.Tensor(), torch.Tensor()} end function L1HingeEmbeddingCriterion:updateOutput(input,y) self.output=input[1]:dist(input[2],1); if y == -1 then self.output = math.max(0,self.margin - self.output); end return self.output end local function mathsign(t) if t>0 then return 1; end if t<0 then return -1; end return 2*torch.random(2)-3; end function L1HingeEmbeddingCriterion:updateGradInput(input, y) self.gradInput[1]:resizeAs(input[1]) self.gradInput[2]:resizeAs(input[2]) self.gradInput[1]:copy(input[1]) self.gradInput[1]:add(-1, input[2]) local dist = self.gradInput[1]:norm(1); self.gradInput[1]:apply(mathsign) -- L1 gradient if y == -1 then -- just to avoid a mul by 1 if dist > self.margin then self.gradInput[1]:zero() else self.gradInput[1]:mul(-1) end end self.gradInput[2]:zero():add(-1, self.gradInput[1]) return self.gradInput end
bsd-3-clause
TheAnswer/FirstTest
bin/scripts/object/tangible/ship/attachment/weapon/objects.lua
1
307108
--Copyright (C) 2009 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version --which carries forward this exception. object_tangible_ship_attachment_weapon_shared_aggressor_weapon_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/tie_aggressor_turret_base.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/tie_aggressor_turret_base.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_aggressor_weapon_s01, 2582989929) object_tangible_ship_attachment_weapon_shared_aggressor_weapon_s02 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/tie_aggressor_weapon_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_aggressor_weapon_s02, 1122166014) object_tangible_ship_attachment_weapon_shared_awing_weapon_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/awing_weapon_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_awing_weapon_s01.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_awing_weapon_s01, 3551073047) object_tangible_ship_attachment_weapon_shared_awing_weapon_s02 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/awing_weapon_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_awing_weapon_generic.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_awing_weapon_s02, 146717568) object_tangible_ship_attachment_weapon_shared_awing_weapon_s03 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/awing_weapon_s03.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_awing_weapon_generic.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_awing_weapon_s03, 1102306317) object_tangible_ship_attachment_weapon_shared_awing_weapon_s04 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/awing_weapon_s04.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_awing_weapon_generic.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_awing_weapon_s04, 3125868313) object_tangible_ship_attachment_weapon_shared_awing_weapon_s05 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/awing_weapon_s05.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_awing_weapon_generic.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_awing_weapon_s05, 4082995348) object_tangible_ship_attachment_weapon_shared_awing_weapon_s06 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/awing_weapon_s06.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_awing_weapon_generic.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_awing_weapon_s06, 675952643) object_tangible_ship_attachment_weapon_shared_blacksun_heavy_missile_pod_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/black_sun_fighter_heavy_missile_pod_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_blacksun_heavy_missile_pod_s01, 2822706074) object_tangible_ship_attachment_weapon_shared_blacksun_heavy_missile_pod_s02 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/black_sun_fighter_heavy_missile_pod_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_blacksun_heavy_missile_pod_s02, 1932049165) object_tangible_ship_attachment_weapon_shared_blacksun_heavy_weapon1_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/black_sun_fighter_heavy_weapon1_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_blacksun_heavy_wpn1_s01.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_blacksun_heavy_weapon1_s01, 3725694028) object_tangible_ship_attachment_weapon_shared_blacksun_heavy_weapon1_s02 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/black_sun_fighter_heavy_weapon1_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_blacksun_heavy_wpn1_s02.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_blacksun_heavy_weapon1_s02, 84294875) object_tangible_ship_attachment_weapon_shared_blacksun_heavy_weapon1_s03 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/black_sun_fighter_heavy_weapon1_s03.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_blacksun_heavy_wpn1_s03.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_blacksun_heavy_weapon1_s03, 1275812694) object_tangible_ship_attachment_weapon_shared_blacksun_heavy_weapon1_s04 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/black_sun_fighter_heavy_weapon1_s04.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_blacksun_heavy_wpn1_s04.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_blacksun_heavy_weapon1_s04, 3085463618) object_tangible_ship_attachment_weapon_shared_blacksun_heavy_weapon1_s05 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/black_sun_fighter_heavy_weapon1_s05.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_blacksun_heavy_wpn1_s05.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_blacksun_heavy_weapon1_s05, 4276426703) object_tangible_ship_attachment_weapon_shared_blacksun_heavy_weapon1_s06 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/black_sun_fighter_heavy_weapon1_s06.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_blacksun_heavy_wpn1_s06.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_blacksun_heavy_weapon1_s06, 636665688) object_tangible_ship_attachment_weapon_shared_blacksun_heavy_weapon2_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/black_sun_fighter_heavy_weapon2_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_blacksun_heavy_wpn2_s01.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_blacksun_heavy_weapon2_s01, 3436279633) object_tangible_ship_attachment_weapon_shared_blacksun_heavy_weapon2_s02 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/black_sun_fighter_heavy_weapon2_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_blacksun_heavy_wpn2_s02.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_blacksun_heavy_weapon2_s02, 398909382) object_tangible_ship_attachment_weapon_shared_blacksun_heavy_weapon2_s03 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/black_sun_fighter_heavy_weapon2_s03.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_blacksun_heavy_wpn2_s03.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_blacksun_heavy_weapon2_s03, 1590409291) object_tangible_ship_attachment_weapon_shared_blacksun_heavy_weapon2_s04 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/black_sun_fighter_heavy_weapon2_s04.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_blacksun_heavy_wpn2_s04.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_blacksun_heavy_weapon2_s04, 2770899807) object_tangible_ship_attachment_weapon_shared_blacksun_heavy_weapon2_s05 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/black_sun_fighter_heavy_weapon2_s05.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_blacksun_heavy_wpn2_s05.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_blacksun_heavy_weapon2_s05, 3961910482) object_tangible_ship_attachment_weapon_shared_blacksun_heavy_weapon2_s06 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/black_sun_fighter_heavy_weapon2_s06.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_blacksun_heavy_wpn2_s06.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_blacksun_heavy_weapon2_s06, 926047301) object_tangible_ship_attachment_weapon_shared_blacksun_heavy_weapon3_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/black_sun_fighter_heavy_weapon3_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_blacksun_heavy_wpn3_s01.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_blacksun_heavy_weapon3_s01, 1053941047) object_tangible_ship_attachment_weapon_shared_blacksun_heavy_weapon3_s02 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/black_sun_fighter_heavy_weapon3_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_blacksun_heavy_weapon3_s02, 3854988704) object_tangible_ship_attachment_weapon_shared_blacksun_heavy_weapon3_s03 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/black_sun_fighter_heavy_weapon3_s03.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_blacksun_heavy_weapon3_s03, 2898989613) object_tangible_ship_attachment_weapon_shared_blacksun_heavy_weapon3_s04 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/black_sun_fighter_heavy_weapon3_s04.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_blacksun_heavy_weapon3_s04, 1462253881) object_tangible_ship_attachment_weapon_shared_blacksun_heavy_weapon3_s05 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/black_sun_fighter_heavy_weapon3_s05.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_blacksun_heavy_weapon3_s05, 505765556) object_tangible_ship_attachment_weapon_shared_blacksun_heavy_weapon3_s06 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/black_sun_fighter_heavy_weapon3_s06.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_blacksun_heavy_weapon3_s06, 3308451363) object_tangible_ship_attachment_weapon_shared_blacksun_light_weapon_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/black_sun_fighter_light_weapon_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_blacksun_light_weapon_s01, 3382429692) object_tangible_ship_attachment_weapon_shared_blacksun_light_weapon_s02 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/black_sun_fighter_light_weapon_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_blacksun_light_weapon_s02, 311193451) object_tangible_ship_attachment_weapon_shared_blacksun_light_weapon_s03 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/black_sun_fighter_light_weapon_s03.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_blacksun_light_weapon_s03, 1535183078) object_tangible_ship_attachment_weapon_shared_blacksun_light_weapon_s04 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/black_sun_fighter_light_weapon_s04.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_blacksun_light_weapon_s04, 2690786290) object_tangible_ship_attachment_weapon_shared_blacksun_light_weapon_s05 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/black_sun_fighter_light_weapon_s05.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_blacksun_light_weapon_s05, 3916383359) object_tangible_ship_attachment_weapon_shared_blacksun_light_weapon_s06 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/black_sun_fighter_light_weapon_s06.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_blacksun_light_weapon_s06, 846785768) object_tangible_ship_attachment_weapon_shared_blacksun_medium_weapon1_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/black_sun_fighter_medium_weapon1_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_blacksun_medium_weapon1_s01, 88180936) object_tangible_ship_attachment_weapon_shared_blacksun_medium_weapon1_s02 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/black_sun_fighter_medium_weapon1_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_blacksun_medium_weapon1_s02, 3730186335) object_tangible_ship_attachment_weapon_shared_blacksun_medium_weapon1_s03 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/black_sun_fighter_medium_weapon1_s03.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_blacksun_medium_weapon1_s03, 2539341778) object_tangible_ship_attachment_weapon_shared_blacksun_medium_weapon1_s04 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/black_sun_fighter_medium_weapon1_s04.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_blacksun_medium_weapon1_s04, 1824025798) object_tangible_ship_attachment_weapon_shared_blacksun_medium_weapon2_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/black_sun_fighter_medium_weapon2_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_blacksun_medium_weapon2_s01, 394357717) object_tangible_ship_attachment_weapon_shared_blacksun_medium_weapon2_s02 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/black_sun_fighter_medium_weapon2_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_blacksun_medium_weapon2_s02, 3432432450) object_tangible_ship_attachment_weapon_shared_blacksun_medium_weapon2_s03 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/black_sun_fighter_medium_weapon2_s03.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_blacksun_medium_weapon2_s03, 2241569999) object_tangible_ship_attachment_weapon_shared_blacksun_medium_weapon2_s04 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/black_sun_fighter_medium_weapon2_s04.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_blacksun_medium_weapon2_s04, 2121830363) object_tangible_ship_attachment_weapon_shared_blacksun_medium_weapon2_s05 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/black_sun_fighter_medium_weapon2_s04.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_blacksun_medium_weapon2_s05, 930474070) object_tangible_ship_attachment_weapon_shared_blacksun_medium_weapon2_s06 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/black_sun_fighter_medium_weapon2_s04.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_blacksun_medium_weapon2_s06, 3965862081) object_tangible_ship_attachment_weapon_shared_bwing_weapon1_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/bwing_weapon1_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_bwing_weapon1_s01, 1110287443) object_tangible_ship_attachment_weapon_shared_bwing_weapon1_s02 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/bwing_weapon1_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_bwing_weapon1_s02, 2570718404) object_tangible_ship_attachment_weapon_shared_bwing_weapon1_s03 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/bwing_weapon1_s03.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_bwing_weapon1_s03, 3493292873) object_tangible_ship_attachment_weapon_shared_bwing_weapon1_s04 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/bwing_weapon1_s04.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_bwing_weapon1_s04, 735330397) object_tangible_ship_attachment_weapon_shared_bwing_weapon1_s05 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/bwing_weapon1_s05.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_bwing_weapon1_s05, 1658398672) object_tangible_ship_attachment_weapon_shared_bwing_weapon1_s06 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/bwing_weapon1_s06.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_bwing_weapon1_s06, 3117322055) object_tangible_ship_attachment_weapon_shared_bwing_weapon2l_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/bwing_weapon2l_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_bwing_weapon2l_s01, 3899597756) object_tangible_ship_attachment_weapon_shared_bwing_weapon2l_s02 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/bwing_weapon2l_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_bwing_weapon2l_s02, 863537963) object_tangible_ship_attachment_weapon_shared_bwing_weapon2l_s03 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/bwing_weapon2l_s03.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_bwing_weapon2l_s03, 2054548646) object_tangible_ship_attachment_weapon_shared_bwing_weapon2l_s04 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/bwing_weapon2l_s04.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_bwing_weapon2l_s04, 2174142386) object_tangible_ship_attachment_weapon_shared_bwing_weapon2l_s05 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/bwing_weapon2l_s05.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_bwing_weapon2l_s05, 3365642303) object_tangible_ship_attachment_weapon_shared_bwing_weapon2l_s06 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/bwing_weapon2l_s06.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_bwing_weapon2l_s06, 327944360) object_tangible_ship_attachment_weapon_shared_bwing_weapon2r_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/bwing_weapon2r_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_bwing_weapon2r_s01, 1542061422) object_tangible_ship_attachment_weapon_shared_bwing_weapon2r_s02 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/bwing_weapon2r_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_bwing_weapon2r_s02, 2164151801) object_tangible_ship_attachment_weapon_shared_bwing_weapon2r_s03 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/bwing_weapon2r_s03.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_bwing_weapon2r_s03, 3388158580) object_tangible_ship_attachment_weapon_shared_bwing_weapon2r_s04 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/bwing_weapon2r_s04.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_bwing_weapon2r_s04, 839915872) object_tangible_ship_attachment_weapon_shared_bwing_weapon2r_s05 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/bwing_weapon2r_s05.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_bwing_weapon2r_s05, 2065530605) object_tangible_ship_attachment_weapon_shared_bwing_weapon2r_s06 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/bwing_weapon2r_s06.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_bwing_weapon2r_s06, 2685064826) object_tangible_ship_attachment_weapon_shared_bwing_weapon3_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/bwing_weapon3_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_bwing_weapon3_s01, 2733501736) object_tangible_ship_attachment_weapon_shared_bwing_weapon3_s02 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/bwing_weapon3_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_bwing_weapon3_s02, 2046444991) object_tangible_ship_attachment_weapon_shared_bwing_weapon3_s03 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/bwing_weapon3_s03.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_bwing_weapon3_s03, 821502514) object_tangible_ship_attachment_weapon_shared_bwing_weapon3_s04 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/bwing_weapon3_s04.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_bwing_weapon3_s04, 3407087910) object_tangible_ship_attachment_weapon_shared_bwing_weapon3_s05 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/bwing_weapon3_s05.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_bwing_weapon3_s05, 2182704811) object_tangible_ship_attachment_weapon_shared_bwing_weapon3_s06 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/bwing_weapon3_s06.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_bwing_weapon3_s06, 1494140476) object_tangible_ship_attachment_weapon_shared_corellian_corvette_turret_large_base_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/corellian_corvette_turret_large_base_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_corvette_turret_large.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_corellian_corvette_turret_large_base_s01, 1889933396) object_tangible_ship_attachment_weapon_shared_corellian_corvette_turret_side_l = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/corellian_corvette_turret_side_l.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_corellian_corvette_turret_side_l, 2900942561) object_tangible_ship_attachment_weapon_shared_corellian_corvette_turret_side_r = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/corellian_corvette_turret_side_r.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_corellian_corvette_turret_side_r, 3695025010) object_tangible_ship_attachment_weapon_shared_corellian_corvette_turret_small_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/corellian_corvette_turret_small_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_corellian_corvette_turret_small_s01, 2014065489) object_tangible_ship_attachment_weapon_shared_decimator_turret_base = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/vt49_turret_base.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/decimator_turret_base.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_decimator_turret_base, 3839453665) object_tangible_ship_attachment_weapon_shared_hutt_heavy_missile_pod_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/hutt_fighter_heavy_missile_pod_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_hutt_heavy_missile_pod_s01, 2160314161) object_tangible_ship_attachment_weapon_shared_hutt_heavy_missile_pod_s02 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/hutt_fighter_heavy_missile_pod_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_hutt_heavy_missile_pod_s02, 1540648870) object_tangible_ship_attachment_weapon_shared_hutt_heavy_weapon1_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/hutt_fighter_heavy_weapon1_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_hutt_heavy_weapon1_s01, 2582307984) object_tangible_ship_attachment_weapon_shared_hutt_heavy_weapon1_s02 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/hutt_fighter_heavy_weapon1_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_hutt_heavy_weapon1_s02, 1123896327) object_tangible_ship_attachment_weapon_shared_hutt_heavy_weapon1_s03 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/hutt_fighter_heavy_weapon1_s03.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_hutt_heavy_weapon1_s03, 200289162) object_tangible_ship_attachment_weapon_shared_hutt_heavy_weapon1_s04 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/hutt_fighter_heavy_weapon1_s04.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_hutt_heavy_weapon1_s04, 4027777182) object_tangible_ship_attachment_weapon_shared_hutt_heavy_weapon1_s05 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/hutt_fighter_heavy_weapon1_s05.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_hutt_heavy_weapon1_s05, 3105777427) object_tangible_ship_attachment_weapon_shared_hutt_heavy_weapon1_s06 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/hutt_fighter_heavy_weapon1_s06.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_hutt_heavy_weapon1_s06, 1644810116) object_tangible_ship_attachment_weapon_shared_hutt_heavy_weapon2_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/hutt_fighter_heavy_weapon2_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_hutt_heavy_weapon2_s01, 2334787469) object_tangible_ship_attachment_weapon_shared_hutt_heavy_weapon2_s02 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/hutt_fighter_heavy_weapon2_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_hutt_heavy_weapon2_s02, 1346219802) object_tangible_ship_attachment_weapon_shared_hutt_heavy_weapon2_s03 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/hutt_fighter_heavy_weapon2_s03.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_hutt_heavy_weapon2_s03, 422627479) object_tangible_ship_attachment_weapon_shared_hutt_heavy_weapon2_s04 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/hutt_fighter_heavy_weapon2_s04.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_hutt_heavy_weapon2_s04, 3805537155) object_tangible_ship_attachment_weapon_shared_hutt_heavy_weapon2_s05 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/hutt_fighter_heavy_weapon2_s05.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_hutt_heavy_weapon2_s05, 2883486734) object_tangible_ship_attachment_weapon_shared_hutt_heavy_weapon2_s06 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/hutt_fighter_heavy_weapon2_s06.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_hutt_heavy_weapon2_s06, 1892232345) object_tangible_ship_attachment_weapon_shared_hutt_heavy_weapon3_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/hutt_fighter_heavy_weapon3_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_hutt_heavy_weapon3_s01, 2032840171) object_tangible_ship_attachment_weapon_shared_hutt_heavy_weapon3_s02 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/hutt_fighter_heavy_weapon3_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_hutt_heavy_weapon3_s02, 2721908092) object_tangible_ship_attachment_weapon_shared_hutt_heavy_weapon3_s03 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/hutt_fighter_heavy_weapon3_s03.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_hutt_heavy_weapon3_s03, 3945816817) object_tangible_ship_attachment_weapon_shared_hutt_heavy_weapon3_s04 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/hutt_fighter_heavy_weapon3_s04.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_hutt_heavy_weapon3_s04, 282282469) object_tangible_ship_attachment_weapon_shared_hutt_heavy_weapon3_s05 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/hutt_fighter_heavy_weapon3_s05.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_hutt_heavy_weapon3_s05, 1507733096) object_tangible_ship_attachment_weapon_shared_hutt_heavy_weapon3_s06 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/hutt_fighter_heavy_weapon3_s06.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_hutt_heavy_weapon3_s06, 2194245375) object_tangible_ship_attachment_weapon_shared_hutt_light_weapon_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/hutt_fighter_light_weapon_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_hutt_light_weapon_s01, 3452909818) object_tangible_ship_attachment_weapon_shared_hutt_light_weapon_s02 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/hutt_fighter_light_weapon_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_hutt_light_weapon_s02, 383291501) object_tangible_ship_attachment_weapon_shared_hutt_light_weapon_s03 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/hutt_fighter_light_weapon_s03.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_hutt_light_weapon_s03, 1607858144) object_tangible_ship_attachment_weapon_shared_hutt_light_weapon_s04 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/hutt_fighter_light_weapon_s04.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_hutt_light_weapon_s04, 2755058932) object_tangible_ship_attachment_weapon_shared_hutt_light_weapon_s05 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/hutt_fighter_light_weapon_s05.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_hutt_light_weapon_s05, 3980114809) object_tangible_ship_attachment_weapon_shared_hutt_light_weapon_s06 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/hutt_fighter_light_weapon_s06.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_hutt_light_weapon_s06, 908858350) object_tangible_ship_attachment_weapon_shared_hutt_medium_weapon1_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/hutt_fighter_medium_weapon1_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_hutt_medium_weapon1_s01, 3572528314) object_tangible_ship_attachment_weapon_shared_hutt_medium_weapon1_s02 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/hutt_fighter_medium_weapon1_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_hutt_medium_weapon1_s02, 266853421) object_tangible_ship_attachment_weapon_shared_hutt_medium_weapon1_s03 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/hutt_fighter_medium_weapon1_s03.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_hutt_medium_weapon1_s03, 1189788576) object_tangible_ship_attachment_weapon_shared_hutt_medium_weapon1_s04 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/hutt_fighter_medium_weapon1_s04.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_hutt_medium_weapon1_s04, 3171520692) object_tangible_ship_attachment_weapon_shared_hutt_medium_weapon1_s05 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/hutt_fighter_medium_weapon1_s05.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_hutt_medium_weapon1_s05, 4093966137) object_tangible_ship_attachment_weapon_shared_hutt_medium_weapon1_s06 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/hutt_fighter_medium_weapon1_s06.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_hutt_medium_weapon1_s06, 789798830) object_tangible_ship_attachment_weapon_shared_hutt_medium_weapon2_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/hutt_fighter_medium_weapon2_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_hutt_medium_weapon2_s01, 3325073319) object_tangible_ship_attachment_weapon_shared_hutt_medium_weapon2_s02 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/hutt_fighter_medium_weapon2_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_hutt_medium_weapon2_s02, 489111344) object_tangible_ship_attachment_weapon_shared_hutt_medium_weapon2_s03 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/hutt_fighter_medium_weapon2_s03.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_hutt_medium_weapon2_s03, 1412061373) object_tangible_ship_attachment_weapon_shared_hutt_medium_weapon2_s04 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/hutt_fighter_medium_weapon2_s04.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_hutt_medium_weapon2_s04, 2949215145) object_tangible_ship_attachment_weapon_shared_hutt_medium_weapon2_s05 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/hutt_fighter_medium_weapon2_s05.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_hutt_medium_weapon2_s05, 3871609892) object_tangible_ship_attachment_weapon_shared_hutt_medium_weapon2_s06 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/hutt_fighter_medium_weapon2_s06.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_hutt_medium_weapon2_s06, 1037286579) object_tangible_ship_attachment_weapon_shared_imperial_gunboat_turret_ball = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/imperial_gunboat_turret_ball.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_imperial_gunboat_turret_ball, 1577369987) object_tangible_ship_attachment_weapon_shared_imperial_gunboat_turretbase_nose = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/imperial_gunboat_turretbase_nose.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientData/ship/component/imperial_gunboat_turretbase_nose.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_imperial_gunboat_turretbase_nose, 3326093060) object_tangible_ship_attachment_weapon_shared_imperial_gunboat_turretbase_wing = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/imperial_gunboat_turretbase_wing.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientData/ship/component/imperial_gunboat_turretbase_wing.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_imperial_gunboat_turretbase_wing, 3373578911) object_tangible_ship_attachment_weapon_shared_kse_firespray_weapon1_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/kse_firespray_weapon1_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_kse_firespray_weapon1_s01, 1950093783) object_tangible_ship_attachment_weapon_shared_kse_firespray_weapon1_s02 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/kse_firespray_weapon1_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_kse_firespray_weapon1_s02, 2938878272) object_tangible_ship_attachment_weapon_shared_kse_firespray_weapon1_s03 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/kse_firespray_weapon1_s03.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_kse_firespray_weapon1_s03, 3861307085) object_tangible_ship_attachment_weapon_shared_kse_firespray_weapon1_s04 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/kse_firespray_weapon1_s04.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_kse_firespray_weapon1_s04, 499512793) object_tangible_ship_attachment_weapon_shared_kse_firespray_weapon1_s05 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/kse_firespray_weapon1_s05.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_kse_firespray_weapon1_s05, 1422430804) object_tangible_ship_attachment_weapon_shared_kse_firespray_weapon1_s06 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/kse_firespray_weapon1_s06.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_kse_firespray_weapon1_s06, 2413771459) object_tangible_ship_attachment_weapon_shared_kse_firespray_weapon2_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/kse_firespray_weapon2_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_kse_firespray_weapon2_s01, 1727853258) object_tangible_ship_attachment_weapon_shared_kse_firespray_weapon2_s02 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/kse_firespray_weapon2_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_kse_firespray_weapon2_s02, 3186317917) object_tangible_ship_attachment_weapon_shared_kse_firespray_weapon2_s03 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/kse_firespray_weapon2_s03.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_kse_firespray_weapon2_s03, 4108729808) object_tangible_ship_attachment_weapon_shared_kse_firespray_weapon2_s04 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/kse_firespray_weapon2_s04.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_kse_firespray_weapon2_s04, 251991748) object_tangible_ship_attachment_weapon_shared_kse_firespray_weapon2_s05 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/kse_firespray_weapon2_s05.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_kse_firespray_weapon2_s05, 1174958409) object_tangible_ship_attachment_weapon_shared_kse_firespray_weapon2_s06 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/kse_firespray_weapon2_s06.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_kse_firespray_weapon2_s06, 2636110302) object_tangible_ship_attachment_weapon_shared_lambda_turret = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/lambda_turret.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_lambda_turret, 3734921862) object_tangible_ship_attachment_weapon_shared_lambda_weapon1 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/lambda_weapon1.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_lambda_weapon1, 1662183130) object_tangible_ship_attachment_weapon_shared_lambda_weapon_body = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/lambda_weapon_body.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_lambda_weapon_body, 3035694359) object_tangible_ship_attachment_weapon_shared_merchant_cruiser_medium_turret_base_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/merchant_cruiser_medium_turretbase_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/merchant_cruiser_medium_turretbase_s01.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_merchant_cruiser_medium_turret_base_s01, 3760357625) object_tangible_ship_attachment_weapon_shared_rebel_gunboat_turretbase_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/rebel_gunboat_turretbase_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientData/ship/component/rebel_gunboat_turretbase_s01.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_rebel_gunboat_turretbase_s01, 570224584) object_tangible_ship_attachment_weapon_shared_smuggler_warlord_ship_turret_ball = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/smuggler_warlord_ship_turret_ball.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_smuggler_warlord_ship_turret_ball, 355284595) object_tangible_ship_attachment_weapon_shared_smuggler_warlord_ship_turret_nose = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/smuggler_warlord_ship_turretbase_nose.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientData/ship/component/client_shared_smuggler_warlord_ship_turret_nose.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_smuggler_warlord_ship_turret_nose, 1506898161) object_tangible_ship_attachment_weapon_shared_smuggler_warlord_ship_turret_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/smuggler_warlord_ship_turretbase_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientData/ship/component/client_shared_smuggler_warlord_ship_turret_s01.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_smuggler_warlord_ship_turret_s01, 915217099) object_tangible_ship_attachment_weapon_shared_smuggler_warlord_ship_turret_s02 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/smuggler_warlord_ship_turretbase_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientData/ship/component/client_shared_smuggler_warlord_ship_turret_s02.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_smuggler_warlord_ship_turret_s02, 3986338396) object_tangible_ship_attachment_weapon_shared_spacestation_turret_base_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/spacestation_turret_base_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/spacestation_turret_base_s01.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_spacestation_turret_base_s01, 2674417340) object_tangible_ship_attachment_weapon_shared_spacestation_turret_base_s02 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/spacestation_turret_base_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/spacestation_turret_base_s02.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_spacestation_turret_base_s02, 1149236779) object_tangible_ship_attachment_weapon_shared_star_destroyer_mini_turret_base = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/star_destroyer_mini_turret_base.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_star_destroyer_mini_turret_base.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_star_destroyer_mini_turret_base, 4094834880) object_tangible_ship_attachment_weapon_shared_star_destroyer_turret_dome_base = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/star_destroyer_turret_dome_base.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_star_destroyer_turret_dome.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_star_destroyer_turret_dome_base, 2546418414) object_tangible_ship_attachment_weapon_shared_star_destroyer_turret_dome_body = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/star_destroyer_turret_dome_body.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_star_destroyer_turret_dome_body, 1452946959) object_tangible_ship_attachment_weapon_shared_star_destroyer_turret_med_base = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/star_destroyer_turret_med_base.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_star_destroyer_turret_med.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_star_destroyer_turret_med_base, 3194550652) object_tangible_ship_attachment_weapon_shared_star_destroyer_turret_med_gun = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/star_destroyer_turret_med_gun.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_star_destroyer_turret_med_gun, 1688925698) object_tangible_ship_attachment_weapon_shared_star_destroyer_turret_square_base = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/star_destroyer_turret_square_base.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientData/ship/component/wpn_star_destroyer_turret_square.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_star_destroyer_turret_square_base, 1727578906) object_tangible_ship_attachment_weapon_shared_star_destroyer_turret_square_body = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/star_destroyer_turret_square_body.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_star_destroyer_turret_square_body, 2812655611) object_tangible_ship_attachment_weapon_shared_xwing_weapon1_neg_s01_0 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon1_neg_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_xwing_gun_neg_s01_0.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon1_neg_s01_0, 3105944395) object_tangible_ship_attachment_weapon_shared_xwing_weapon1_neg_s01_1 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon1_neg_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_xwing_gun_neg_s01_1.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon1_neg_s01_1, 4029519046) object_tangible_ship_attachment_weapon_shared_xwing_weapon1_neg_s02_0 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon1_neg_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_xwing_gun_neg_s01_0.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon1_neg_s02_0, 1759071096) object_tangible_ship_attachment_weapon_shared_xwing_weapon1_neg_s02_1 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon1_neg_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_xwing_gun_neg_s01_1.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon1_neg_s02_1, 567553269) object_tangible_ship_attachment_weapon_shared_xwing_weapon1_neg_s03_0 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon1_neg_s03.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_xwing_gun_neg_s01_0.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon1_neg_s03_0, 663626601) object_tangible_ship_attachment_weapon_shared_xwing_weapon1_neg_s03_1 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon1_neg_s03.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_xwing_gun_neg_s01_1.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon1_neg_s03_1, 1854096612) object_tangible_ship_attachment_weapon_shared_xwing_weapon1_neg_s04_0 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon1_neg_s04.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_xwing_gun_neg_s01_0.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon1_neg_s04_0, 3488294569) object_tangible_ship_attachment_weapon_shared_xwing_weapon1_neg_s04_1 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon1_neg_s04.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_xwing_gun_neg_s01_1.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon1_neg_s04_1, 2263236900) object_tangible_ship_attachment_weapon_shared_xwing_weapon1_neg_s05_0 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon1_neg_s05.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_xwing_gun_neg_s01_0.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon1_neg_s05_0, 2159824568) object_tangible_ship_attachment_weapon_shared_xwing_weapon1_neg_s05_1 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon1_neg_s05.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_xwing_gun_neg_s01_1.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon1_neg_s05_1, 3383830837) object_tangible_ship_attachment_weapon_shared_xwing_weapon1_neg_s06_0 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon1_neg_s06.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_xwing_gun_neg_s01_0.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon1_neg_s06_0, 1363539595) object_tangible_ship_attachment_weapon_shared_xwing_weapon1_neg_s06_1 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon1_neg_s06.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_xwing_gun_neg_s01_1.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon1_neg_s06_1, 407408902) object_tangible_ship_attachment_weapon_shared_xwing_weapon1_pos_s01_0 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon1_pos_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_xwing_gun_pos_s01_0.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon1_pos_s01_0, 1475950668) object_tangible_ship_attachment_weapon_shared_xwing_weapon1_pos_s01_1 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon1_pos_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_xwing_gun_pos_s01_1.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon1_pos_s01_1, 519331777) object_tangible_ship_attachment_weapon_shared_xwing_weapon1_pos_s02_0 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon1_pos_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_xwing_gun_pos_s01_0.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon1_pos_s02_0, 2248179839) object_tangible_ship_attachment_weapon_shared_xwing_weapon1_pos_s02_1 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon1_pos_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_xwing_gun_pos_s01_1.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon1_pos_s02_1, 3473795058) object_tangible_ship_attachment_weapon_shared_xwing_weapon1_pos_s03_0 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon1_pos_s03.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_xwing_gun_pos_s01_0.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon1_pos_s03_0, 3377981550) object_tangible_ship_attachment_weapon_shared_xwing_weapon1_pos_s03_1 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon1_pos_s03.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_xwing_gun_pos_s01_1.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon1_pos_s03_1, 2153418723) object_tangible_ship_attachment_weapon_shared_xwing_weapon1_pos_s04_0 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon1_pos_s04.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_xwing_gun_pos_s01_0.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon1_pos_s04_0, 556985774) object_tangible_ship_attachment_weapon_shared_xwing_weapon1_pos_s04_1 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon1_pos_s04.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_xwing_gun_pos_s01_1.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon1_pos_s04_1, 1748994595) object_tangible_ship_attachment_weapon_shared_xwing_weapon1_pos_s05_0 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon1_pos_s05.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_xwing_gun_pos_s01_0.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon1_pos_s05_0, 1852147135) object_tangible_ship_attachment_weapon_shared_xwing_weapon1_pos_s05_1 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon1_pos_s05.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_xwing_gun_pos_s01_1.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon1_pos_s05_1, 661185074) object_tangible_ship_attachment_weapon_shared_xwing_weapon1_pos_s06_0 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon1_pos_s06.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_xwing_gun_pos_s01_0.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon1_pos_s06_0, 3214687628) object_tangible_ship_attachment_weapon_shared_xwing_weapon1_pos_s06_1 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon1_pos_s06.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_xwing_gun_pos_s01_1.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon1_pos_s06_1, 4136720897) object_tangible_ship_attachment_weapon_shared_xwing_weapon2_neg_s01_0 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon2_neg_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon2_neg_s01_0, 3673279850) object_tangible_ship_attachment_weapon_shared_xwing_weapon2_neg_s01_1 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon2_neg_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon2_neg_s01_1, 2482809575) object_tangible_ship_attachment_weapon_shared_xwing_weapon2_neg_s02_0 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon2_neg_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon2_neg_s02_0, 185103705) object_tangible_ship_attachment_weapon_shared_xwing_weapon2_neg_s02_1 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon2_neg_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon2_neg_s02_1, 1107628756) object_tangible_ship_attachment_weapon_shared_xwing_weapon2_neg_s03_0 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon2_neg_s03.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon2_neg_s03_0, 1147084104) object_tangible_ship_attachment_weapon_shared_xwing_weapon2_neg_s03_1 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon2_neg_s03.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon2_neg_s03_1, 223509189) object_tangible_ship_attachment_weapon_shared_xwing_weapon2_neg_s04_0 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon2_neg_s04.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon2_neg_s04_0, 2889488520) object_tangible_ship_attachment_weapon_shared_xwing_weapon2_neg_s04_1 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon2_neg_s04.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon2_neg_s04_1, 3845619461) object_tangible_ship_attachment_weapon_shared_xwing_weapon2_neg_s05_0 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon2_neg_s05.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon2_neg_s05_0, 3815600281) object_tangible_ship_attachment_weapon_shared_xwing_weapon2_neg_s05_1 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon2_neg_s05.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon2_neg_s05_1, 2858424084) object_tangible_ship_attachment_weapon_shared_xwing_weapon2_neg_s06_0 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon2_pos_s06.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_xwing_gun_pos_s01_0.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon2_neg_s06_0, 848611498) object_tangible_ship_attachment_weapon_shared_xwing_weapon2_neg_s06_1 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon2_neg_s06.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon2_neg_s06_1, 2073669415) object_tangible_ship_attachment_weapon_shared_xwing_weapon2_pos_s01_0 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon2_pos_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon2_pos_s01_0, 875038317) object_tangible_ship_attachment_weapon_shared_xwing_weapon2_pos_s01_1 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon2_pos_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon2_pos_s01_1, 2099601888) object_tangible_ship_attachment_weapon_shared_xwing_weapon2_pos_s02_0 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon2_pos_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon2_pos_s02_0, 3855728222) object_tangible_ship_attachment_weapon_shared_xwing_weapon2_pos_s02_1 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon2_pos_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon2_pos_s02_1, 2900154835) object_tangible_ship_attachment_weapon_shared_xwing_weapon2_pos_s03_0 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon2_pos_s03.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon2_pos_s03_0, 2860963407) object_tangible_ship_attachment_weapon_shared_xwing_weapon2_pos_s03_1 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon2_pos_s03.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon2_pos_s03_1, 3817583042) object_tangible_ship_attachment_weapon_shared_xwing_weapon2_pos_s04_0 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon2_pos_s04.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon2_pos_s04_0, 1122227087) object_tangible_ship_attachment_weapon_shared_xwing_weapon2_pos_s04_1 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon2_pos_s04.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon2_pos_s04_1, 200193026) object_tangible_ship_attachment_weapon_shared_xwing_weapon2_pos_s05_0 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon2_pos_s05.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon2_pos_s05_0, 229948318) object_tangible_ship_attachment_weapon_shared_xwing_weapon2_pos_s05_1 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon2_pos_s05.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon2_pos_s05_1, 1153031187) object_tangible_ship_attachment_weapon_shared_xwing_weapon2_pos_s06_0 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon2_pos_s06.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon2_pos_s06_0, 3696034733) object_tangible_ship_attachment_weapon_shared_xwing_weapon2_pos_s06_1 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon2_pos_s06.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon2_pos_s06_1, 2504025120) object_tangible_ship_attachment_weapon_shared_xwing_weapon_neg_s01_0 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon_neg_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_xwing_gun_neg_s01_0.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon_neg_s01_0, 3659818969) object_tangible_ship_attachment_weapon_shared_xwing_weapon_neg_s01_1 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon_neg_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_xwing_gun_neg_s01_1.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon_neg_s01_1, 2468937812) object_tangible_ship_attachment_weapon_shared_xwing_weapon_neg_s02_0 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon_neg_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_xwing_gun_neg_s02_0.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon_neg_s02_0, 199090154) object_tangible_ship_attachment_weapon_shared_xwing_weapon_neg_s02_1 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon_neg_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_xwing_gun_neg_s02_1.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon_neg_s02_1, 1120974951) object_tangible_ship_attachment_weapon_shared_xwing_weapon_pos_s01_0 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon_pos_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_xwing_gun_pos_s01_0.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon_pos_s01_0, 889040094) object_tangible_ship_attachment_weapon_shared_xwing_weapon_pos_s01_1 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon_pos_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_xwing_gun_pos_s01_1.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon_pos_s01_1, 2112932691) object_tangible_ship_attachment_weapon_shared_xwing_weapon_pos_s02_0 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon_pos_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_xwing_gun_pos_s02_0.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon_pos_s02_0, 3842249965) object_tangible_ship_attachment_weapon_shared_xwing_weapon_pos_s02_1 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/xwing_weapon_pos_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_xwing_gun_pos_s02_1.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_xwing_weapon_pos_s02_1, 2886300512) object_tangible_ship_attachment_weapon_shared_ykl37r_turret_barrel_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/ykl37r_turret_barrel_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_ykl37r_turret_barrel_s01, 4090999089) object_tangible_ship_attachment_weapon_shared_ykl37r_turret_barrel_s02 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/ykl37r_turret_barrel_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_ykl37r_turret_barrel_s02, 683678118) object_tangible_ship_attachment_weapon_shared_ykl37r_turret_base = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/ykl37r_turret_base.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/ykl37r_turret_base.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_ykl37r_turret_base, 1208980716) object_tangible_ship_attachment_weapon_shared_ykl37r_turret_body_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/ykl37r_turret_body_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_ykl37r_turret_body_s01, 4231136595) object_tangible_ship_attachment_weapon_shared_ykl37r_turret_body_s02 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/ykl37r_turret_body_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_ykl37r_turret_body_s02, 656780740) object_tangible_ship_attachment_weapon_shared_yt1300_radar_s01_0 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/yt1300_radar_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_yt1300_radar_s01_0, 665280141) object_tangible_ship_attachment_weapon_shared_yt1300_turret_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/yt1300_turret_base.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/yt1300_turret_s01.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_yt1300_turret_s01, 3561577094) object_tangible_ship_attachment_weapon_shared_yt1300_turret_s02 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/yt1300_turret_base.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/yt1300_turret_s02.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_yt1300_turret_s02, 257880593) object_tangible_ship_attachment_weapon_shared_yt1300_weapon_s01_0 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/yt1300_turret_base.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/yt1300_turret_base.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_yt1300_weapon_s01_0, 4197394562) object_tangible_ship_attachment_weapon_shared_ywing_weapon1_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/ywing_weapon1_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_ywing_weapon1_s01, 1375635014) object_tangible_ship_attachment_weapon_shared_ywing_weapon1_s02 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/ywing_weapon1_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_ywing_weapon1_s02, 2330537681) object_tangible_ship_attachment_weapon_shared_ywing_weapon1_s03 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/ywing_weapon1_s03.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_ywing_weapon1_s03, 3286518108) object_tangible_ship_attachment_weapon_shared_ywing_weapon1_s04 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/ywing_weapon1_s04.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_ywing_weapon1_s04, 940008008) object_tangible_ship_attachment_weapon_shared_ywing_weapon1_s05 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/ywing_weapon1_s05.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_ywing_weapon1_s05, 1896482245) object_tangible_ship_attachment_weapon_shared_ywing_weapon1_s06 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/ywing_weapon1_s06.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_ywing_weapon1_s06, 2854071634) object_tangible_ship_attachment_weapon_shared_ywing_weapon2_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/ywing_weapon2_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_ywing_weapon2_s01, 1128162651) object_tangible_ship_attachment_weapon_shared_ywing_weapon2_s02 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/ywing_weapon2_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_ywing_weapon2_s02, 2552876492) object_tangible_ship_attachment_weapon_shared_ywing_weapon2_s03 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/ywing_weapon2_s03.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_ywing_weapon2_s03, 3508841025) object_tangible_ship_attachment_weapon_shared_ywing_weapon2_s04 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/ywing_weapon2_s04.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_ywing_weapon2_s04, 717717845) object_tangible_ship_attachment_weapon_shared_ywing_weapon2_s05 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/ywing_weapon2_s05.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_ywing_weapon2_s05, 1674241752) object_tangible_ship_attachment_weapon_shared_ywing_weapon2_s06 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/ywing_weapon2_s06.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_ywing_weapon2_s06, 3101511247) object_tangible_ship_attachment_weapon_shared_z95_missile = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/z95_missile_pod_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_z95_missile, 2956556787) object_tangible_ship_attachment_weapon_shared_z95_weapon_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/z95_weapon_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_z95_s01.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_z95_weapon_s01, 238417246) object_tangible_ship_attachment_weapon_shared_z95_weapon_s02 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/z95_weapon_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_z95_s02.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_z95_weapon_s02, 3575799241) object_tangible_ship_attachment_weapon_shared_z95_weapon_s03 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/z95_weapon_s03.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_z95_s03.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_z95_weapon_s03, 2620340804) object_tangible_ship_attachment_weapon_shared_z95_weapon_s04 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/z95_weapon_s04.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_z95_s04.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_z95_weapon_s04, 1741427024) object_tangible_ship_attachment_weapon_shared_z95_weapon_s05 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/z95_weapon_s05.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_z95_s05.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_z95_weapon_s05, 784430813) object_tangible_ship_attachment_weapon_shared_z95_weapon_s06 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/z95_weapon_s06.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/ship/component/wpn_z95_s06.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_n:ship_attachment", gameObjectType = 1073741824, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ship_attachment", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_shared_z95_weapon_s06, 4124499530)
lgpl-3.0
ludi1991/skynet
lualib/sproto.lua
56
5136
local core = require "sproto.core" local assert = assert local sproto = {} local host = {} local weak_mt = { __mode = "kv" } local sproto_mt = { __index = sproto } local sproto_nogc = { __index = sproto } local host_mt = { __index = host } function sproto_mt:__gc() core.deleteproto(self.__cobj) end function sproto.new(bin) local cobj = assert(core.newproto(bin)) local self = { __cobj = cobj, __tcache = setmetatable( {} , weak_mt ), __pcache = setmetatable( {} , weak_mt ), } return setmetatable(self, sproto_mt) end function sproto.sharenew(cobj) local self = { __cobj = cobj, __tcache = setmetatable( {} , weak_mt ), __pcache = setmetatable( {} , weak_mt ), } return setmetatable(self, sproto_nogc) end function sproto.parse(ptext) local parser = require "sprotoparser" local pbin = parser.parse(ptext) return sproto.new(pbin) end function sproto:host( packagename ) packagename = packagename or "package" local obj = { __proto = self, __package = core.querytype(self.__cobj, packagename), __session = {}, } return setmetatable(obj, host_mt) end local function querytype(self, typename) local v = self.__tcache[typename] if not v then v = core.querytype(self.__cobj, typename) self.__tcache[typename] = v end return v end function sproto:encode(typename, tbl) local st = querytype(self, typename) return core.encode(st, tbl) end function sproto:decode(typename, ...) local st = querytype(self, typename) return core.decode(st, ...) end function sproto:pencode(typename, tbl) local st = querytype(self, typename) return core.pack(core.encode(st, tbl)) end function sproto:pdecode(typename, ...) local st = querytype(self, typename) return core.decode(st, core.unpack(...)) end local function queryproto(self, pname) local v = self.__pcache[pname] if not v then local tag, req, resp = core.protocol(self.__cobj, pname) assert(tag, pname .. " not found") if tonumber(pname) then pname, tag = tag, pname end v = { request = req, response =resp, name = pname, tag = tag, } self.__pcache[pname] = v self.__pcache[tag] = v end return v end function sproto:request_encode(protoname, tbl) local p = queryproto(self, protoname) local request = p.request if request then return core.encode(request,tbl) , p.tag else return "" , p.tag end end function sproto:response_encode(protoname, tbl) local p = queryproto(self, protoname) local response = p.response if response then return core.encode(response,tbl) else return "" end end function sproto:request_decode(protoname, ...) local p = queryproto(self, protoname) local request = p.request if request then return core.decode(request,...) , p.name else return nil, p.name end end function sproto:response_decode(protoname, ...) local p = queryproto(self, protoname) local response = p.response if response then return core.decode(response,...) end end sproto.pack = core.pack sproto.unpack = core.unpack function sproto:default(typename, type) if type == nil then return core.default(querytype(self, typename)) else local p = queryproto(self, typename) if type == "REQUEST" then if p.request then return core.default(p.request) end elseif type == "RESPONSE" then if p.response then return core.default(p.response) end else error "Invalid type" end end end local header_tmp = {} local function gen_response(self, response, session) return function(args) header_tmp.type = nil header_tmp.session = session local header = core.encode(self.__package, header_tmp) if response then local content = core.encode(response, args) return core.pack(header .. content) else return core.pack(header) end end end function host:dispatch(...) local bin = core.unpack(...) header_tmp.type = nil header_tmp.session = nil local header, size = core.decode(self.__package, bin, header_tmp) local content = bin:sub(size + 1) if header.type then -- request local proto = queryproto(self.__proto, header.type) local result if proto.request then result = core.decode(proto.request, content) end if header_tmp.session then return "REQUEST", proto.name, result, gen_response(self, proto.response, header_tmp.session) else return "REQUEST", proto.name, result end else -- response local session = assert(header_tmp.session, "session not found") local response = assert(self.__session[session], "Unknown session") self.__session[session] = nil if response == true then return "RESPONSE", session else local result = core.decode(response, content) return "RESPONSE", session, result end end end function host:attach(sp) return function(name, args, session) local proto = queryproto(sp, name) header_tmp.type = proto.tag header_tmp.session = session local header = core.encode(self.__package, header_tmp) if session then self.__session[session] = proto.response or true end if args then local content = core.encode(proto.request, args) return core.pack(header .. content) else return core.pack(header) end end end return sproto
mit
TheAnswer/FirstTest
bin/scripts/creatures/objects/dathomir/creatures/youngMalkloc.lua
1
4697
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version --which carries forward this exception. youngMalkloc = Creature:new { objectName = "youngMalkloc", -- Lua Object Name creatureType = "ANIMAL", gender = "", speciesName = "young_malkloc", stfName = "mob/creature_names", objectCRC = 3978814666, socialGroup = "Malkloc", level = 20, combatFlags = ATTACKABLE_FLAG + ENEMY_FLAG, healthMax = 6100, healthMin = 5000, strength = 0, constitution = 0, actionMax = 6100, actionMin = 5000, quickness = 0, stamina = 0, mindMax = 6100, mindMin = 5000, focus = 0, willpower = 0, height = 1, -- Size of creature armor = 0, -- 0 = None; 1 = Light; 2 = Medium; 3 = Heavy kinetic = 25, energy = 25, electricity = -1, stun = -1, blast = 0, heat = 0, cold = -1, acid = -1, lightsaber = 0, accuracy = 0, healer = 0, pack = 1, herd = 1, stalker = 0, killer = 0, ferocity = 0, aggressive = 0, invincible = 0, meleeDefense = 1, rangedDefense = 1, attackCreatureOnSight = "", -- Enter socialGroups weapon = "object/weapon/creature/shared_creature_default_weapon.iff", -- File path to weapon -> object\xxx\xxx\xx weaponName = "Creature Defualt", -- Name ex. 'a Vibrolance' weaponTemp = "creature_default_weapon", -- Weapon Template ex. 'lance_vibrolance' weaponClass = "UnarmedMeleeWeapon", -- Weapon Class ex. 'PolearmMeleeWeapon' weaponEquipped = 0, weaponMinDamage = 160, weaponMaxDamage = 170, weaponAttackSpeed = 2, weaponDamageType = "KINETIC", -- ELECTRICITY, KINETIC, etc weaponArmorPiercing = "NONE", -- LIGHT, NONE, MEDIUM, HEAVY alternateWeapon = "", -- File path to weapon -> object\xxx\xxx\xx alternateWeaponName = "", -- Name ex. 'a Vibrolance' alternateWeaponTemp = "", -- Weapon Template ex. 'lance_vibrolance' alternateWeaponClass = "", -- Weapon Class ex. 'PolearmMeleeWeapon' alternateWeaponEquipped = 0, alternateWeaponMinDamage = 0, alternateWeaponMaxDamage = 0, alternateWeaponAttackSpeed = 0, alternateWeaponDamageType = "", -- ELECTRICITY, KINETIC, etc alternateWeaponArmorPiercing = "", -- LIGHT, NONE, MEDIUM, HEAVY internalNPCDamageModifier = 0.3, -- Damage Modifier to other NPC's lootGroup = "0", -- Group it belongs to for loot tame = 0, -- Likely hood to be tamed datapadItemCRC = 0, mountCRC = 0, mountSpeed = 0, mountAcceleration = 0, milk = 0, boneType = "bone_mammal_dathomir", boneMax = 850, hideType = "hide_leathery_dathomir", hideMax = 900, meatType = "meat_herbivore_dathomir", meatMax = 850, --skills = { " Stun attack", "", "" } skills = { "malklocAttack1" }, respawnTimer = 60, behaviorScript = "", -- Link to the behavior script for this object } Creatures:addCreature(youngMalkloc, 3978814666) -- Add to Global Table
lgpl-3.0
weiDDD/WSSParticleSystem
cocos2d/cocos/scripting/lua-bindings/auto/api/PhysicsShapeCircle.lua
1
2398
-------------------------------- -- @module PhysicsShapeCircle -- @extend PhysicsShape -- @parent_module cc -------------------------------- -- Get the circle's radius.<br> -- return A float number. -- @function [parent=#PhysicsShapeCircle] getRadius -- @param self -- @return float#float ret (return value: float) -------------------------------- -- Creates a PhysicsShapeCircle with specified value.<br> -- param radius A float number, it is the circle's radius.<br> -- param material A PhysicsMaterial object, the default value is PHYSICSSHAPE_MATERIAL_DEFAULT.<br> -- param offset A Vec2 object, it is the offset from the body钬檚 center of gravity in body local coordinates.<br> -- return An autoreleased PhysicsShapeCircle object pointer. -- @function [parent=#PhysicsShapeCircle] create -- @param self -- @param #float radius -- @param #cc.PhysicsMaterial material -- @param #vec2_table offset -- @return PhysicsShapeCircle#PhysicsShapeCircle ret (return value: cc.PhysicsShapeCircle) -------------------------------- -- Calculate the area of a circle with specified radius.<br> -- param radius A float number<br> -- return A float number -- @function [parent=#PhysicsShapeCircle] calculateArea -- @param self -- @param #float radius -- @return float#float ret (return value: float) -------------------------------- -- Calculate the moment of a circle with specified value.<br> -- param mass A float number<br> -- param radius A float number<br> -- param offset A Vec2 object, it is the offset from the body钬檚 center of gravity in body local coordinates.<br> -- return A float number -- @function [parent=#PhysicsShapeCircle] calculateMoment -- @param self -- @param #float mass -- @param #float radius -- @param #vec2_table offset -- @return float#float ret (return value: float) -------------------------------- -- Get this circle's position offset.<br> -- return A Vec2 object. -- @function [parent=#PhysicsShapeCircle] getOffset -- @param self -- @return vec2_table#vec2_table ret (return value: vec2_table) -------------------------------- -- Calculate the moment for a circle.<br> -- return A float number. -- @function [parent=#PhysicsShapeCircle] calculateDefaultMoment -- @param self -- @return float#float ret (return value: float) return nil
apache-2.0
thkhxm/TGame
Assets/StreamingAssets/lua/protobuf/listener.lua
15
1299
-- -------------------------------------------------------------------------------- -- FILE: listener.lua -- DESCRIPTION: protoc-gen-lua -- Google's Protocol Buffers project, ported to lua. -- https://code.google.com/p/protoc-gen-lua/ -- -- Copyright (c) 2010 , 林卓毅 (Zhuoyi Lin) netsnail@gmail.com -- All rights reserved. -- -- Use, modification and distribution are subject to the "New BSD License" -- as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. -- -- COMPANY: NetEase -- CREATED: 2010年08月02日 17时35分25秒 CST -------------------------------------------------------------------------------- -- local setmetatable = setmetatable module "protobuf.listener" local _null_listener = { Modified = function() end } function NullMessageListener() return _null_listener end local _listener_meta = { Modified = function(self) if self.dirty then return end if self._parent_message then self._parent_message:_Modified() end end } _listener_meta.__index = _listener_meta function Listener(parent_message) local o = {} o.__mode = "v" o._parent_message = parent_message o.dirty = false return setmetatable(o, _listener_meta) end
apache-2.0
weiDDD/WSSParticleSystem
cocos2d/external/lua/luajit/src/src/jit/bc.lua
1
5797
---------------------------------------------------------------------------- -- LuaJIT bytecode listing module. -- -- Copyright (C) 2005-2014 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h ---------------------------------------------------------------------------- -- -- This module lists the bytecode of a Lua function. If it's loaded by -jbc -- it hooks into the parser and lists all functions of a chunk as they -- are parsed. -- -- Example usage: -- -- luajit -jbc -e 'local x=0; for i=1,1e6 do x=x+i end; print(x)' -- luajit -jbc=- foo.lua -- luajit -jbc=foo.list foo.lua -- -- Default output is to stderr. To redirect the output to a file, pass a -- filename as an argument (use '-' for stdout) or set the environment -- variable LUAJIT_LISTFILE. The file is overwritten every time the module -- is started. -- -- This module can also be used programmatically: -- -- local bc = require("jit.bc") -- -- local function foo() print("hello") end -- -- bc.dump(foo) --> -- BYTECODE -- [...] -- print(bc.line(foo, 2)) --> 0002 KSTR 1 1 ; "hello" -- -- local out = { -- -- Do something with each line: -- write = function(t, ...) io.write(...) end, -- close = function(t) end, -- flush = function(t) end, -- } -- bc.dump(foo, out) -- ------------------------------------------------------------------------------ -- Cache some library functions and objects. local jit = require("jit") assert(jit.version_num == 20003, "LuaJIT core/library version mismatch") local jutil = require("jit.util") local vmdef = require("jit.vmdef") local bit = require("bit") local sub, gsub, format = string.sub, string.gsub, string.format local byte, band, shr = string.byte, bit.band, bit.rshift local funcinfo, funcbc, funck = jutil.funcinfo, jutil.funcbc, jutil.funck local funcuvname = jutil.funcuvname local bcnames = vmdef.bcnames local stdout, stderr = io.stdout, io.stderr ------------------------------------------------------------------------------ local function ctlsub(c) if c == "\n" then return "\\n" elseif c == "\r" then return "\\r" elseif c == "\t" then return "\\t" else return format("\\%03d", byte(c)) end end -- Return one bytecode line. local function bcline(func, pc, prefix) local ins, m = funcbc(func, pc) if not ins then return end local ma, mb, mc = band(m, 7), band(m, 15*8), band(m, 15*128) local a = band(shr(ins, 8), 0xff) local oidx = 6*band(ins, 0xff) local op = sub(bcnames, oidx+1, oidx+6) local s = format("%04d %s %-6s %3s ", pc, prefix or " ", op, ma == 0 and "" or a) local d = shr(ins, 16) if mc == 13*128 then -- BCMjump return format("%s=> %04d\n", s, pc+d-0x7fff) end if mb ~= 0 then d = band(d, 0xff) elseif mc == 0 then return s.."\n" end local kc if mc == 10*128 then -- BCMstr kc = funck(func, -d-1) kc = format(#kc > 40 and '"%.40s"~' or '"%s"', gsub(kc, "%c", ctlsub)) elseif mc == 9*128 then -- BCMnum kc = funck(func, d) if op == "TSETM " then kc = kc - 2^52 end elseif mc == 12*128 then -- BCMfunc local fi = funcinfo(funck(func, -d-1)) if fi.ffid then kc = vmdef.ffnames[fi.ffid] else kc = fi.loc end elseif mc == 5*128 then -- BCMuv kc = funcuvname(func, d) end if ma == 5 then -- BCMuv local ka = funcuvname(func, a) if kc then kc = ka.." ; "..kc else kc = ka end end if mb ~= 0 then local b = shr(ins, 24) if kc then return format("%s%3d %3d ; %s\n", s, b, d, kc) end return format("%s%3d %3d\n", s, b, d) end if kc then return format("%s%3d ; %s\n", s, d, kc) end if mc == 7*128 and d > 32767 then d = d - 65536 end -- BCMlits return format("%s%3d\n", s, d) end -- Collect branch targets of a function. local function bctargets(func) local target = {} for pc=1,1000000000 do local ins, m = funcbc(func, pc) if not ins then break end if band(m, 15*128) == 13*128 then target[pc+shr(ins, 16)-0x7fff] = true end end return target end -- Dump bytecode instructions of a function. local function bcdump(func, out, all) if not out then out = stdout end local fi = funcinfo(func) if all and fi.children then for n=-1,-1000000000,-1 do local k = funck(func, n) if not k then break end if type(k) == "proto" then bcdump(k, out, true) end end end out:write(format("-- BYTECODE -- %s-%d\n", fi.loc, fi.lastlinedefined)) local target = bctargets(func) for pc=1,1000000000 do local s = bcline(func, pc, target[pc] and "=>") if not s then break end out:write(s) end out:write("\n") out:flush() end ------------------------------------------------------------------------------ -- Active flag and output file handle. local active, out -- List handler. local function h_list(func) return bcdump(func, out) end -- Detach list handler. local function bclistoff() if active then active = false jit.attach(h_list) if out and out ~= stdout and out ~= stderr then out:close() end out = nil end end -- Open the output file and attach list handler. local function bcliston(outfile) if active then bclistoff() end if not outfile then outfile = os.getenv("LUAJIT_LISTFILE") end if outfile then out = outfile == "-" and stdout or assert(io.open(outfile, "w")) else out = stderr end jit.attach(h_list, "bc") active = true end -- Public module functions. module(...) line = bcline dump = bcdump targets = bctargets on = bcliston off = bclistoff start = bcliston -- For -j command line option.
apache-2.0
mynameis123/uzzbot
plugins/giphy.lua
633
1796
-- Idea by https://github.com/asdofindia/telegram-bot/ -- See http://api.giphy.com/ do local BASE_URL = 'http://api.giphy.com/v1' local API_KEY = 'dc6zaTOxFJmzC' -- public beta key local function get_image(response) local images = json:decode(response).data if #images == 0 then return nil end -- No images local i = math.random(#images) local image = images[i] -- A random one if image.images.downsized then return image.images.downsized.url end if image.images.original then return image.original.url end return nil end local function get_random_top() local url = BASE_URL.."/gifs/trending?api_key="..API_KEY local response, code = http.request(url) if code ~= 200 then return nil end return get_image(response) end local function search(text) text = URL.escape(text) local url = BASE_URL.."/gifs/search?q="..text.."&api_key="..API_KEY local response, code = http.request(url) if code ~= 200 then return nil end return get_image(response) end local function run(msg, matches) local gif_url = nil -- If no search data, a random trending GIF will be sent if matches[1] == "!gif" or matches[1] == "!giphy" then gif_url = get_random_top() else gif_url = search(matches[1]) end if not gif_url then return "Error: GIF not found" end local receiver = get_receiver(msg) print("GIF URL"..gif_url) send_document_from_url(receiver, gif_url) end return { description = "GIFs from telegram with Giphy API", usage = { "!gif (term): Search and sends GIF from Giphy. If no param, sends a trending GIF.", "!giphy (term): Search and sends GIF from Giphy. If no param, sends a trending GIF." }, patterns = { "^!gif$", "^!gif (.*)", "^!giphy (.*)", "^!giphy$" }, run = run } end
gpl-2.0
aminbotmaker/1283
plugins/giphy.lua
633
1796
-- Idea by https://github.com/asdofindia/telegram-bot/ -- See http://api.giphy.com/ do local BASE_URL = 'http://api.giphy.com/v1' local API_KEY = 'dc6zaTOxFJmzC' -- public beta key local function get_image(response) local images = json:decode(response).data if #images == 0 then return nil end -- No images local i = math.random(#images) local image = images[i] -- A random one if image.images.downsized then return image.images.downsized.url end if image.images.original then return image.original.url end return nil end local function get_random_top() local url = BASE_URL.."/gifs/trending?api_key="..API_KEY local response, code = http.request(url) if code ~= 200 then return nil end return get_image(response) end local function search(text) text = URL.escape(text) local url = BASE_URL.."/gifs/search?q="..text.."&api_key="..API_KEY local response, code = http.request(url) if code ~= 200 then return nil end return get_image(response) end local function run(msg, matches) local gif_url = nil -- If no search data, a random trending GIF will be sent if matches[1] == "!gif" or matches[1] == "!giphy" then gif_url = get_random_top() else gif_url = search(matches[1]) end if not gif_url then return "Error: GIF not found" end local receiver = get_receiver(msg) print("GIF URL"..gif_url) send_document_from_url(receiver, gif_url) end return { description = "GIFs from telegram with Giphy API", usage = { "!gif (term): Search and sends GIF from Giphy. If no param, sends a trending GIF.", "!giphy (term): Search and sends GIF from Giphy. If no param, sends a trending GIF." }, patterns = { "^!gif$", "^!gif (.*)", "^!giphy (.*)", "^!giphy$" }, run = run } end
gpl-2.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/naboo/npcs/naboo/nabooPirateArmsman.lua
1
4583
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version --which carries forward this exception. nabooPirateArmsman = Creature:new { objectName = "nabooPirateArmsman", -- Lua Object Name creatureType = "NPC", faction = "Naboo Pirate", gender = "", speciesName = "naboo_pirate_armsman", stfName = "mob/creature_names", objectCRC = 1527998977, socialGroup = "Naboo Pirate", level = 13, combatFlags = ATTACKABLE_FLAG + ENEMY_FLAG + AGGRESSIVE_FLAG, healthMax = 1900, healthMin = 1500, strength = 0, constitution = 0, actionMax = 1900, actionMin = 1500, quickness = 0, stamina = 0, mindMax = 1900, mindMin = 1500, focus = 0, willpower = 0, height = 1, -- Size of creature armor = 0, -- 0 = None; 1 = Light; 2 = Medium; 3 = Heavy kinetic = 0, energy = 0, electricity = 0, stun = -1, blast = 0, heat = 0, cold = 0, acid = 0, lightsaber = 0, accuracy = 0, healer = 0, pack = 1, herd = 0, stalker = 0, killer = 1, ferocity = 0, aggressive = 1, invincible = 0, attackCreatureOnSight = "", -- Enter socialGroups weapon = "object/weapon/creature/shared_creature_default_weapon.iff", -- File path to weapon -> object\xxx\xxx\xx weaponName = "Creature Defualt", -- Name ex. 'a Vibrolance' weaponTemp = "creature_default_weapon", -- Weapon Template ex. 'lance_vibrolance' weaponClass = "UnarmedMeleeWeapon", -- Weapon Class ex. 'PolearmMeleeWeapon' weaponEquipped = 0, weaponMinDamage = 150, weaponMaxDamage = 160, weaponAttackSpeed = 2, weaponDamageType = "KINETIC", -- ELECTRICITY, KINETIC, etc weaponArmorPiercing = "NONE", -- LIGHT, NONE, MEDIUM, HEAVY alternateWeapon = "", -- File path to weapon -> object\xxx\xxx\xx alternateWeaponName = "", -- Name ex. 'a Vibrolance' alternateWeaponTemp = "", -- Weapon Template ex. 'lance_vibrolance' alternateWeaponClass = "", -- Weapon Class ex. 'PolearmMeleeWeapon' alternateWeaponEquipped = 0, alternateWeaponMinDamage = 0, alternateWeaponMaxDamage = 0, alternateWeaponAttackSpeed = 0, alternateWeaponDamageType = "", -- ELECTRICITY, KINETIC, etc alternateWeaponArmorPiercing = "", -- LIGHT, NONE, MEDIUM, HEAVY internalNPCDamageModifier = 0.3, -- Damage Modifier to other NPC's lootGroup = "0", -- Group it belongs to for loot tame = 0, datapadItemCRC = 0, mountCRC = 0, mountSpeed = 0, mountAcceleration = 0, milk = 0, boneType = "", boneMax = 0, hideType = "", hideMax = 0, meatType = "", meatMax = 0, skills = { "nabooAttack1" }, respawnTimer = 180, behaviorScript = "", -- Link to the behavior script for this object } Creatures:addCreature(nabooPirateArmsman, 1527998977) -- Add to Global Table
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/dantooine/npcs/janta/jantaHunter.lua
1
4850
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version --which carries forward this exception. jantaHunter = Creature:new { objectName = "jantaHunter", -- Lua Object Name creatureType = "NPC", faction = "janta_tribe", factionPoints = 20, gender = "", speciesName = "janta_hunter", stfName = "mob/creature_names", objectCRC = 4083847450, socialGroup = "janta_tribe", level = 50, combatFlags = ATTACKABLE_FLAG, healthMax = 13000, healthMin = 11000, strength = 500, constitution = 500, actionMax = 13000, actionMin = 11000, quickness = 500, stamina = 500, mindMax = 13000, mindMin = 11000, focus = 500, willpower = 500, height = 1, -- Size of creature armor = 0, -- 0 = None; 1 = Light; 2 = Medium; 3 = Heavy kinetic = 0, energy = 0, electricity = 60, stun = -1, blast = -1, heat = -1, cold = 0, acid = -1, lightsaber = 0, accuracy = 300, healer = 0, pack = 1, herd = 1, stalker = 0, killer = 0, ferocity = 0, aggressive = 0, invincible = 0, meleeDefense = 1, rangedDefense = 1, attackCreatureOnSight = "", -- Enter socialGroups weapon = "object/weapon/melee/polearm/shared_lance_staff_wood_s1.iff", -- File path to weapon -> object\xxx\xxx\xx weaponName = "a Wooden Staff", -- Name ex. 'a Vibrolance' weaponTemp = "lance_staff_wood_s1", -- Weapon Template ex. 'lance_vibrolance' weaponClass = "PolearmMeleeWeapon", -- Weapon Class ex. 'PolearmMeleeWeapon' weaponEquipped = 1, weaponMinDamage = 415, weaponMaxDamage = 540, weaponAttackSpeed = 2, weaponDamageType = "KINETIC", -- ELECTRICITY, KINETIC, etc weaponArmorPiercing = "NONE", -- LIGHT, NONE, MEDIUM, HEAVY alternateWeapon = "object/weapon/melee/knife/shared_knife_stone.iff", -- File path to weapon -> object\xxx\xxx\xx alternateWeaponName = "a Stone Knife", -- Name ex. 'a Vibrolance' alternateWeaponTemp = "knife_stone", -- Weapon Template ex. 'lance_vibrolance' alternateWeaponClass = "OneHandedMeleeWeapon", -- Weapon Class ex. 'PolearmMeleeWeapon' alternateWeaponEquipped = 1, alternateWeaponMinDamage = 415, alternateWeaponMaxDamage = 540, alternateweaponAttackSpeed = 2, alternateWeaponDamageType = "KINETIC", -- ELECTRICITY, KINETIC, etc alternateWeaponArmorPiercing = "NONE", -- LIGHT, NONE, MEDIUM, HEAVY internalNPCDamageModifier = 0.3, -- Damage Modifier to other NPC's lootGroup = "0,11,15,19,33,65", -- Group it belongs to for loot tame = 0, datapadItemCRC = 0, mountCRC = 0, mountSpeed = 0, mountAcceleration = 0, milk = 0, boneType = "", boneMax = 0, hideType = "", hideMax = 0, meatType = "", meatMax = 0, skills = { "kungaAttack01", "kungaAttack02", "kungaAttack03", "kungaAttack04", "kungaAttack05", "kungaAttack06", "kungaAttack07", "kungaAttack08" }, respawnTimer = 300, behaviorScript = "", -- Link to the behavior script for this object } Creatures:addCreature(jantaHunter, 4083847450) -- Add to Global Table
lgpl-3.0
thkhxm/TGame
Assets/LuaFramework/Lua/3rd/pbc/protobuf.lua
13
12815
local c = require "protobuf.c" local setmetatable = setmetatable local type = type local table = table local assert = assert local pairs = pairs local ipairs = ipairs local string = string local print = print local io = io local tinsert = table.insert local rawget = rawget module "protobuf" local _pattern_cache = {} -- skynet clear local P = c._env_new() local GC = c._gc(P) function lasterror() return c._last_error(P) end local decode_type_cache = {} local _R_meta = {} function _R_meta:__index(key) local v = decode_type_cache[self._CType][key](self, key) self[key] = v return v end local _reader = {} function _reader:int(key) return c._rmessage_integer(self._CObj , key , 0) end function _reader:real(key) return c._rmessage_real(self._CObj , key , 0) end function _reader:string(key) return c._rmessage_string(self._CObj , key , 0) end function _reader:bool(key) return c._rmessage_integer(self._CObj , key , 0) ~= 0 end function _reader:message(key, message_type) local rmessage = c._rmessage_message(self._CObj , key , 0) if rmessage then local v = { _CObj = rmessage, _CType = message_type, _Parent = self, } return setmetatable( v , _R_meta ) end end function _reader:int32(key) return c._rmessage_int32(self._CObj , key , 0) end function _reader:int64(key) return c._rmessage_int64(self._CObj , key , 0) end function _reader:int52(key) return c._rmessage_int52(self._CObj , key , 0) end function _reader:uint52(key) return c._rmessage_uint52(self._CObj , key , 0) end function _reader:int_repeated(key) local cobj = self._CObj local n = c._rmessage_size(cobj , key) local ret = {} for i=0,n-1 do tinsert(ret, c._rmessage_integer(cobj , key , i)) end return ret end function _reader:real_repeated(key) local cobj = self._CObj local n = c._rmessage_size(cobj , key) local ret = {} for i=0,n-1 do tinsert(ret, c._rmessage_real(cobj , key , i)) end return ret end function _reader:string_repeated(key) local cobj = self._CObj local n = c._rmessage_size(cobj , key) local ret = {} for i=0,n-1 do tinsert(ret, c._rmessage_string(cobj , key , i)) end return ret end function _reader:bool_repeated(key) local cobj = self._CObj local n = c._rmessage_size(cobj , key) local ret = {} for i=0,n-1 do tinsert(ret, c._rmessage_integer(cobj , key , i) ~= 0) end return ret end function _reader:message_repeated(key, message_type) local cobj = self._CObj local n = c._rmessage_size(cobj , key) local ret = {} for i=0,n-1 do local m = { _CObj = c._rmessage_message(cobj , key , i), _CType = message_type, _Parent = self, } tinsert(ret, setmetatable( m , _R_meta )) end return ret end function _reader:int32_repeated(key) local cobj = self._CObj local n = c._rmessage_size(cobj , key) local ret = {} for i=0,n-1 do tinsert(ret, c._rmessage_int32(cobj , key , i)) end return ret end function _reader:int64_repeated(key) local cobj = self._CObj local n = c._rmessage_size(cobj , key) local ret = {} for i=0,n-1 do tinsert(ret, c._rmessage_int64(cobj , key , i)) end return ret end function _reader:int52_repeated(key) local cobj = self._CObj local n = c._rmessage_size(cobj , key) local ret = {} for i=0,n-1 do tinsert(ret, c._rmessage_int52(cobj , key , i)) end return ret end function _reader:uint52_repeated(key) local cobj = self._CObj local n = c._rmessage_size(cobj , key) local ret = {} for i=0,n-1 do tinsert(ret, c._rmessage_uint52(cobj , key , i)) end return ret end _reader[1] = function(msg) return _reader.int end _reader[2] = function(msg) return _reader.real end _reader[3] = function(msg) return _reader.bool end _reader[4] = function(msg) return _reader.string end _reader[5] = function(msg) return _reader.string end _reader[6] = function(msg) local message = _reader.message return function(self,key) return message(self, key, msg) end end _reader[7] = function(msg) return _reader.int64 end _reader[8] = function(msg) return _reader.int32 end _reader[9] = _reader[5] _reader[10] = function(msg) return _reader.int52 end _reader[11] = function(msg) return _reader.uint52 end _reader[128+1] = function(msg) return _reader.int_repeated end _reader[128+2] = function(msg) return _reader.real_repeated end _reader[128+3] = function(msg) return _reader.bool_repeated end _reader[128+4] = function(msg) return _reader.string_repeated end _reader[128+5] = function(msg) return _reader.string_repeated end _reader[128+6] = function(msg) local message = _reader.message_repeated return function(self,key) return message(self, key, msg) end end _reader[128+7] = function(msg) return _reader.int64_repeated end _reader[128+8] = function(msg) return _reader.int32_repeated end _reader[128+9] = _reader[128+5] _reader[128+10] = function(msg) return _reader.int52_repeated end _reader[128+11] = function(msg) return _reader.uint52_repeated end local _decode_type_meta = {} function _decode_type_meta:__index(key) local t, msg = c._env_type(P, self._CType, key) local func = assert(_reader[t],key)(msg) self[key] = func return func end setmetatable(decode_type_cache , { __index = function(self, key) local v = setmetatable({ _CType = key } , _decode_type_meta) self[key] = v return v end }) local function decode_message( message , buffer, length) local rmessage = c._rmessage_new(P, message, buffer, length) if rmessage then local self = { _CObj = rmessage, _CType = message, } c._add_rmessage(GC,rmessage) return setmetatable( self , _R_meta ) end end ----------- encode ---------------- local encode_type_cache = {} local function encode_message(CObj, message_type, t) local type = encode_type_cache[message_type] for k,v in pairs(t) do local func = type[k] func(CObj, k , v) end end local _writer = { int = c._wmessage_integer, real = c._wmessage_real, enum = c._wmessage_string, string = c._wmessage_string, int64 = c._wmessage_int64, int32 = c._wmessage_int32, int52 = c._wmessage_int52, uint52 = c._wmessage_uint52, } function _writer:bool(k,v) c._wmessage_integer(self, k, v and 1 or 0) end function _writer:message(k, v , message_type) local submessage = c._wmessage_message(self, k) encode_message(submessage, message_type, v) end function _writer:int_repeated(k,v) for _,v in ipairs(v) do c._wmessage_integer(self,k,v) end end function _writer:real_repeated(k,v) for _,v in ipairs(v) do c._wmessage_real(self,k,v) end end function _writer:bool_repeated(k,v) for _,v in ipairs(v) do c._wmessage_integer(self, k, v and 1 or 0) end end function _writer:string_repeated(k,v) for _,v in ipairs(v) do c._wmessage_string(self,k,v) end end function _writer:message_repeated(k,v, message_type) for _,v in ipairs(v) do local submessage = c._wmessage_message(self, k) encode_message(submessage, message_type, v) end end function _writer:int32_repeated(k,v) for _,v in ipairs(v) do c._wmessage_int32(self,k,v) end end function _writer:int64_repeated(k,v) for _,v in ipairs(v) do c._wmessage_int64(self,k,v) end end function _writer:int52_repeated(k,v) for _,v in ipairs(v) do c._wmessage_int52(self,k,v) end end function _writer:uint52_repeated(k,v) for _,v in ipairs(v) do c._wmessage_uint52(self,k,v) end end _writer[1] = function(msg) return _writer.int end _writer[2] = function(msg) return _writer.real end _writer[3] = function(msg) return _writer.bool end _writer[4] = function(msg) return _writer.string end _writer[5] = function(msg) return _writer.string end _writer[6] = function(msg) local message = _writer.message return function(self,key , v) return message(self, key, v, msg) end end _writer[7] = function(msg) return _writer.int64 end _writer[8] = function(msg) return _writer.int32 end _writer[9] = _writer[5] _writer[10] = function(msg) return _writer.int52 end _writer[11] = function(msg) return _writer.uint52 end _writer[128+1] = function(msg) return _writer.int_repeated end _writer[128+2] = function(msg) return _writer.real_repeated end _writer[128+3] = function(msg) return _writer.bool_repeated end _writer[128+4] = function(msg) return _writer.string_repeated end _writer[128+5] = function(msg) return _writer.string_repeated end _writer[128+6] = function(msg) local message = _writer.message_repeated return function(self,key, v) return message(self, key, v, msg) end end _writer[128+7] = function(msg) return _writer.int64_repeated end _writer[128+8] = function(msg) return _writer.int32_repeated end _writer[128+9] = _writer[128+5] _writer[128+10] = function(msg) return _writer.int52_repeated end _writer[128+11] = function(msg) return _writer.uint52_repeated end local _encode_type_meta = {} function _encode_type_meta:__index(key) local t, msg = c._env_type(P, self._CType, key) local func = assert(_writer[t],key)(msg) self[key] = func return func end setmetatable(encode_type_cache , { __index = function(self, key) local v = setmetatable({ _CType = key } , _encode_type_meta) self[key] = v return v end }) function encode( message, t , func , ...) local encoder = c._wmessage_new(P, message) assert(encoder , message) encode_message(encoder, message, t) if func then local buffer, len = c._wmessage_buffer(encoder) local ret = func(buffer, len, ...) c._wmessage_delete(encoder) return ret else local s = c._wmessage_buffer_string(encoder) c._wmessage_delete(encoder) return s end end --------- unpack ---------- local _pattern_type = { [1] = {"%d","i"}, [2] = {"%F","r"}, [3] = {"%d","b"}, [4] = {"%d","i"}, [5] = {"%s","s"}, [6] = {"%s","m"}, [7] = {"%D","x"}, [8] = {"%d","p"}, [10] = {"%D","d"}, [11] = {"%D","u"}, [128+1] = {"%a","I"}, [128+2] = {"%a","R"}, [128+3] = {"%a","B"}, [128+4] = {"%a","I"}, [128+5] = {"%a","S"}, [128+6] = {"%a","M"}, [128+7] = {"%a","X"}, [128+8] = {"%a","P"}, [128+10] = {"%a", "D" }, [128+11] = {"%a", "U" }, } _pattern_type[9] = _pattern_type[5] _pattern_type[128+9] = _pattern_type[128+5] local function _pattern_create(pattern) local iter = string.gmatch(pattern,"[^ ]+") local message = iter() local cpat = {} local lua = {} for v in iter do local tidx = c._env_type(P, message, v) local t = _pattern_type[tidx] assert(t,tidx) tinsert(cpat,v .. " " .. t[1]) tinsert(lua,t[2]) end local cobj = c._pattern_new(P, message , "@" .. table.concat(cpat," ")) if cobj == nil then return end c._add_pattern(GC, cobj) local pat = { CObj = cobj, format = table.concat(lua), size = 0 } pat.size = c._pattern_size(pat.format) return pat end setmetatable(_pattern_cache, { __index = function(t, key) local v = _pattern_create(key) t[key] = v return v end }) function unpack(pattern, buffer, length) local pat = _pattern_cache[pattern] return c._pattern_unpack(pat.CObj , pat.format, pat.size, buffer, length) end function pack(pattern, ...) local pat = _pattern_cache[pattern] return c._pattern_pack(pat.CObj, pat.format, pat.size , ...) end function check(typename , field) if field == nil then return c._env_type(P,typename) else return c._env_type(P,typename,field) ~=0 end end -------------- local default_cache = {} -- todo : clear default_cache, v._CObj local function default_table(typename) local v = default_cache[typename] if v then return v end v = { __index = assert(decode_message(typename , "")) } default_cache[typename] = v return v end local decode_message_mt = {} local function decode_message_cb(typename, buffer) return setmetatable ( { typename, buffer } , decode_message_mt) end function decode(typename, buffer, length) local ret = {} local ok = c._decode(P, decode_message_cb , ret , typename, buffer, length) if ok then return setmetatable(ret , default_table(typename)) else return false , c._last_error(P) end end local function expand(tbl) local typename = rawget(tbl , 1) local buffer = rawget(tbl , 2) tbl[1] , tbl[2] = nil , nil assert(c._decode(P, decode_message_cb , tbl , typename, buffer), typename) setmetatable(tbl , default_table(typename)) end function decode_message_mt.__index(tbl, key) expand(tbl) return tbl[key] end function decode_message_mt.__pairs(tbl) expand(tbl) return pairs(tbl) end local function set_default(typename, tbl) for k,v in pairs(tbl) do if type(v) == "table" then local t, msg = c._env_type(P, typename, k) if t == 6 then set_default(msg, v) elseif t == 128+6 then for _,v in ipairs(v) do set_default(msg, v) end end end end return setmetatable(tbl , default_table(typename)) end function register( buffer) c._env_register(P, buffer) end function register_file(filename) local f = assert(io.open(filename , "rb")) local buffer = f:read "*a" c._env_register(P, buffer) f:close() end default=set_default
apache-2.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/endor/creatures/arachneWidow.lua
1
4683
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version --which carries forward this exception. arachneWidow = Creature:new { objectName = "arachneWidow", -- Lua Object Name creatureType = "ANIMAL", gender = "", speciesName = "arachne_widow", stfName = "mob/creature_names", objectCRC = 1157055229, socialGroup = "Arachne", level = 58, combatFlags = ATTACKABLE_FLAG + ENEMY_FLAG + AGGRESSIVE_FLAG, healthMax = 14000, healthMin = 11000, strength = 0, constitution = 0, actionMax = 14000, actionMin = 11000, quickness = 0, stamina = 0, mindMax = 14000, mindMin = 11000, focus = 0, willpower = 0, height = 1, -- Size of creature armor = 1, -- 0 = None; 1 = Light; 2 = Medium; 3 = Heavy kinetic = 40, energy = 40, electricity = 0, stun = -1, blast = 0, heat = 70, cold = 80, acid = 80, lightsaber = 0, accuracy = 0, healer = 0, pack = 1, herd = 1, stalker = 0, killer = 1, ferocity = 0, aggressive = 1, invincible = 0, meleeDefense = 1, rangedDefense = 1, attackCreatureOnSight = "", -- Enter socialGroups weapon = "object/weapon/creature/shared_creature_default_weapon.iff", -- File path to weapon -> object\xxx\xxx\xx weaponName = "Creature Defualt", -- Name ex. 'a Vibrolance' weaponTemp = "creature_default_weapon", -- Weapon Template ex. 'lance_vibrolance' weaponClass = "UnarmedMeleeWeapon", -- Weapon Class ex. 'PolearmMeleeWeapon' weaponEquipped = 0, weaponMinDamage = 400, weaponMaxDamage = 510, weaponAttackSpeed = 2, weaponDamageType = "KINETIC", -- ELECTRICITY, KINETIC, etc weaponArmorPiercing = "NONE", -- LIGHT, NONE, MEDIUM, HEAVY alternateWeapon = "", -- File path to weapon -> object\xxx\xxx\xx alternateWeaponName = "", -- Name ex. 'a Vibrolance' alternateWeaponTemp = "", -- Weapon Template ex. 'lance_vibrolance' alternateWeaponClass = "", -- Weapon Class ex. 'PolearmMeleeWeapon' alternateWeaponEquipped = 0, alternateWeaponMinDamage = 0, alternateWeaponMaxDamage = 0, alternateWeaponAttackSpeed = 0, alternateWeaponDamageType = "", -- ELECTRICITY, KINETIC, etc alternateWeaponArmorPiercing = "", -- LIGHT, NONE, MEDIUM, HEAVY internalNPCDamageModifier = 0.3, -- Damage Modifier to other NPC's lootGroup = "0", -- Group it belongs to for loot tame = 0, datapadItemCRC = 0, mountCRC = 0, mountSpeed = 0, mountAcceleration = 0, milk = 0, boneType = "", boneMax = 20, hideType = "", hideMax = 20, meatType = "meat_insect_endor", meatMax = 30, --skills = { " Stun attack", " Poison attack (strong)", "" } skills = { "arachneAttack8", "arachneAttack1" }, respawnTimer = 60, behaviorScript = "", -- Link to the behavior script for this object } Creatures:addCreature(arachneWidow, 1157055229) -- Add to Global Table
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/slashcommands/generic/repairBattlefieldStructure.lua
1
2724
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version --which carries forward this exception. --true = 1, false = 0 RepairBattlefieldStructureSlashCommand = { name = "repairbattlefieldstructure", alternativeNames = "", animation = "", invalidStateMask = 3894934635, --cover, combat, aiming, berzerk, feigndeath, tumbling, rallied, stunned, blinded, dizzy, intimidated, immobilized, frozen, swimming, glowingJedi, ridingMount, pilotingShip, shipOperations, shipGunner, invalidPostures = "3,1,2,5,6,7,8,9,10,11,12,13,14,4,", target = 2, targeType = 2, disabled = 0, maxRangeToTarget = 0, --adminLevel = 0, addToCombatQueue = 0, } AddRepairBattlefieldStructureSlashCommand(RepairBattlefieldStructureSlashCommand)
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/dantooine/npcs/warren/warrenAgroDroidAtst.lua
1
4718
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version --which carries forward this exception. warrenAgroDroidAtst = Creature:new { objectName = "warrenAgroDroidAtst", -- Lua Object Name creatureType = "NPC", faction = "Warren Cyborg", gender = "", speciesName = "warren_agro_droid_atst", stfName = "mob/creature_names", objectCRC = 2128352281, socialGroup = "Warren Cyborg", level = 86, combatFlags = ATTACKABLE_FLAG + ENEMY_FLAG + AGGRESSIVE_FLAG, healthMax = 16000, healthMin = 13000, strength = 0, constitution = 0, actionMax = 16000, actionMin = 13000, quickness = 0, stamina = 0, mindMax = 16000, mindMin = 13000, focus = 0, willpower = 0, height = 1, -- Size of creature armor = 1, -- 0 = None; 1 = Light; 2 = Medium; 3 = Heavy kinetic = 0, energy = 0, electricity = 0, stun = 100, blast = 0, heat = 0, cold = 0, acid = 0, lightsaber = 0, accuracy = 0, healer = 0, pack = 1, herd = 0, stalker = 0, killer = 1, ferocity = 0, aggressive = 1, invincible = 0, meleeDefense = 1, rangedDefense = 1, attackCreatureOnSight = "", -- Enter socialGroups weapon = "object/weapon/ranged/vehicle/shared_vehicle_atst_ranged.iff", -- File path to weapon -> object\xxx\xxx\xx weaponName = "Imperial Cannon", -- Name ex. 'a Vibrolance' weaponTemp = "vehicle_atst_ranged", -- Weapon Template ex. 'lance_vibrolance' weaponClass = "HeavyRangedWeapon", -- Weapon Class ex. 'PolearmMeleeWeapon' weaponEquipped = 1, weaponMinDamage = 570, weaponMaxDamage = 850, weaponAttackSpeed = 2, weaponDamageType = "BLAST", -- ELECTRICITY, KINETIC, etc weaponArmorPiercing = "MEDIUM", -- LIGHT, NONE, MEDIUM, HEAVY alternateWeapon = "", -- File path to weapon -> object\xxx\xxx\xx alternateWeaponName = "", -- Name ex. 'a Vibrolance' alternateWeaponTemp = "", -- Weapon Template ex. 'lance_vibrolance' alternateWeaponClass = "", -- Weapon Class ex. 'PolearmMeleeWeapon' alternateWeaponEquipped = 0, alternateWeaponMinDamage = 0, alternateWeaponMaxDamage = 0, alternateweaponAttackSpeed = 2, alternateWeaponDamageType = "", -- ELECTRICITY, KINETIC, etc alternateWeaponArmorPiercing = "", -- LIGHT, NONE, MEDIUM, HEAVY internalNPCDamageModifier = 0.3, -- Damage Modifier to other NPC's lootGroup = "0", -- Group it belongs to for loot tame = 0, datapadItemCRC = 0, mountCRC = 0, mountSpeed = 0, mountAcceleration = 0, milk = 0, boneType = "", boneMax = 0, hideType = "", hideMax = 0, meatType = "", meatMax = 0, -- skills = { " Knockdown attack", " Intimidation attack", "" } skills = { "warrenAttack1", "warrenAttack2" }, respawnTimer = 180, behaviorScript = "", -- Link to the behavior script for this object } Creatures:addCreature(warrenAgroDroidAtst, 2128352281) -- Add to Global Table
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/naboo/npcs/skaakTipper/skaakTipperBandit.lua
1
4538
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version --which carries forward this exception. skaakTipperBandit = Creature:new { objectName = "skaakTipperBandit", -- Lua Object Name creatureType = "NPC", gender = "", speciesName = "skaak_tipper_bandit", stfName = "mob/creature_names", objectCRC = 1527998977, socialGroup = "Sk.Tip- Gang (Thug)", level = 8, combatFlags = ATTACKABLE_FLAG + ENEMY_FLAG, healthMax = 495, healthMin = 405, strength = 0, constitution = 0, actionMax = 495, actionMin = 405, quickness = 0, stamina = 0, mindMax = 495, mindMin = 405, focus = 0, willpower = 0, height = 1, -- Size of creature armor = 0, -- 0 = None; 1 = Light; 2 = Medium; 3 = Heavy kinetic = 0, energy = 0, electricity = 0, stun = -1, blast = 0, heat = 0, cold = 0, acid = 0, lightsaber = 0, accuracy = 0, healer = 0, pack = 0, herd = 1, stalker = 0, killer = 0, ferocity = 0, aggressive = 0, invincible = 0, attackCreatureOnSight = "", -- Enter socialGroups weapon = "object/weapon/creature/shared_creature_default_weapon.iff", -- File path to weapon -> object\xxx\xxx\xx weaponName = "Creature Defualt", -- Name ex. 'a Vibrolance' weaponTemp = "creature_default_weapon", -- Weapon Template ex. 'lance_vibrolance' weaponClass = "UnarmedMeleeWeapon", -- Weapon Class ex. 'PolearmMeleeWeapon' weaponEquipped = 0, weaponMinDamage = 70, weaponMaxDamage = 75, weaponAttackSpeed = 2, weaponDamageType = "KINETIC", -- ELECTRICITY, KINETIC, etc weaponArmorPiercing = "NONE", -- LIGHT, NONE, MEDIUM, HEAVY alternateWeapon = "", -- File path to weapon -> object\xxx\xxx\xx alternateWeaponName = "", -- Name ex. 'a Vibrolance' alternateWeaponTemp = "", -- Weapon Template ex. 'lance_vibrolance' alternateWeaponClass = "", -- Weapon Class ex. 'PolearmMeleeWeapon' alternateWeaponEquipped = 0, alternateWeaponMinDamage = 0, alternateWeaponMaxDamage = 0, alternateWeaponAttackSpeed = 0, alternateWeaponDamageType = "", -- ELECTRICITY, KINETIC, etc alternateWeaponArmorPiercing = "", -- LIGHT, NONE, MEDIUM, HEAVY internalNPCDamageModifier = 0.3, -- Damage Modifier to other NPC's lootGroup = "0", -- Group it belongs to for loot tame = 0, datapadItemCRC = 0, mountCRC = 0, mountSpeed = 0, mountAcceleration = 0, milk = 0, boneType = "", boneMax = 0, hideType = "", hideMax = 0, meatType = "", meatMax = 0, skills = { "skaakTipperAttack1" }, respawnTimer = 180, behaviorScript = "", -- Link to the behavior script for this object } Creatures:addCreature(skaakTipperBandit, 1527998977) -- Add to Global Table
lgpl-3.0
Xeltor/ovale
libs/LibDataBroker-1.1/LibDataBroker-1.1.lua
78
3139
assert(LibStub, "LibDataBroker-1.1 requires LibStub") assert(LibStub:GetLibrary("CallbackHandler-1.0", true), "LibDataBroker-1.1 requires CallbackHandler-1.0") local lib, oldminor = LibStub:NewLibrary("LibDataBroker-1.1", 4) if not lib then return end oldminor = oldminor or 0 lib.callbacks = lib.callbacks or LibStub:GetLibrary("CallbackHandler-1.0"):New(lib) lib.attributestorage, lib.namestorage, lib.proxystorage = lib.attributestorage or {}, lib.namestorage or {}, lib.proxystorage or {} local attributestorage, namestorage, callbacks = lib.attributestorage, lib.namestorage, lib.callbacks if oldminor < 2 then lib.domt = { __metatable = "access denied", __index = function(self, key) return attributestorage[self] and attributestorage[self][key] end, } end if oldminor < 3 then lib.domt.__newindex = function(self, key, value) if not attributestorage[self] then attributestorage[self] = {} end if attributestorage[self][key] == value then return end attributestorage[self][key] = value local name = namestorage[self] if not name then return end callbacks:Fire("LibDataBroker_AttributeChanged", name, key, value, self) callbacks:Fire("LibDataBroker_AttributeChanged_"..name, name, key, value, self) callbacks:Fire("LibDataBroker_AttributeChanged_"..name.."_"..key, name, key, value, self) callbacks:Fire("LibDataBroker_AttributeChanged__"..key, name, key, value, self) end end if oldminor < 2 then function lib:NewDataObject(name, dataobj) if self.proxystorage[name] then return end if dataobj then assert(type(dataobj) == "table", "Invalid dataobj, must be nil or a table") self.attributestorage[dataobj] = {} for i,v in pairs(dataobj) do self.attributestorage[dataobj][i] = v dataobj[i] = nil end end dataobj = setmetatable(dataobj or {}, self.domt) self.proxystorage[name], self.namestorage[dataobj] = dataobj, name self.callbacks:Fire("LibDataBroker_DataObjectCreated", name, dataobj) return dataobj end end if oldminor < 1 then function lib:DataObjectIterator() return pairs(self.proxystorage) end function lib:GetDataObjectByName(dataobjectname) return self.proxystorage[dataobjectname] end function lib:GetNameByDataObject(dataobject) return self.namestorage[dataobject] end end if oldminor < 4 then local next = pairs(attributestorage) function lib:pairs(dataobject_or_name) local t = type(dataobject_or_name) assert(t == "string" or t == "table", "Usage: ldb:pairs('dataobjectname') or ldb:pairs(dataobject)") local dataobj = self.proxystorage[dataobject_or_name] or dataobject_or_name assert(attributestorage[dataobj], "Data object not found") return next, attributestorage[dataobj], nil end local ipairs_iter = ipairs(attributestorage) function lib:ipairs(dataobject_or_name) local t = type(dataobject_or_name) assert(t == "string" or t == "table", "Usage: ldb:ipairs('dataobjectname') or ldb:ipairs(dataobject)") local dataobj = self.proxystorage[dataobject_or_name] or dataobject_or_name assert(attributestorage[dataobj], "Data object not found") return ipairs_iter, attributestorage[dataobj], 0 end end
mit
Wargus/stargus
scripts/zerg/unit-zerg-hydralisk.lua
1
3478
-- -- unit-zerg-hydralisk -- DefineAnimations("animations-zerg-hydralisk-death", { Death = { "unbreakable begin", "frame 0", "wait 50", "frame 1", "wait 50", "frame 2", "wait 50", "frame 3", "wait 50", "unbreakable end", "wait 1", }, }) DefineUnitType("unit-zerg-hydralisk-death", { Image = image_32_zerg_zhydeath, Animations = "animations-zerg-hydralisk-death", Icon = "icon-zerg-hydralisk", NumDirections = image_32_zerg_zhydeath_NumDirections, HitPoints = 255, DrawLevel = 30, TileSize = {1, 1}, BoxSize = {31, 31}, SightRange = 1, BasicDamage = 0, PiercingDamage = 0, Missile = "missile-none", Priority = 0, Type = "land", SelectableByRectangle = false, Vanishes = true, Sounds = {} } ) DefineAnimations("animations-zerg-hydralisk", { Still = { "label 3FBB", "frame 85", "label 3FBE", "random-wait 63 75", "random-goto 10 3FCC", "random-goto 50 3FF2", "goto 3FBE", "label 3FCC", "frame 0", "wait 1", "frame 17", "wait 1", "frame 34", "wait 1", "frame 51", "wait 25", "frame 34", "wait 1", "frame 17", "wait 1", "frame 0", "wait 1", "goto 3FBB", "label 3FF2", "random-goto 50 4023", "frame 102", "wait 1", "rotate -2", "frame 119", "wait 1", "rotate -2", "frame 136", "wait 1", "rotate -2", "frame 153", "wait 1", "rotate -2", "frame 170", "wait 1", "rotate -2", "frame 187", "wait 1", "rotate -2", "goto 3FBB", "label 4023", "frame 102", "wait 1", "rotate 2", "frame 119", "wait 1", "rotate 2", "frame 136", "wait 1", "rotate 2", "frame 153", "wait 1", "rotate 2", "frame 170", "wait 1", "rotate 2", "frame 187", "wait 1", "rotate 2", "goto 3FBB", }, Move = { "unbreakable begin", "move 3", "wait 1", "frame 102", "move 3", "wait 1", "frame 119", "move 3", "wait 1", "frame 136", "move 7", "wait 1", "frame 153", "move 6", "wait 1", "frame 170", "move 7", "wait 1", "frame 187", "move 3", "unbreakable end", "wait 1", "frame 85", }, Attack = { "frame 0", "wait 1", "unbreakable begin", "frame 17", "wait 1", "frame 34", "wait 1", "frame 51", "wait 2", "frame 68", "sound zerg-hydralisk-attack", "attack", "wait 1", "frame 51", "unbreakable end", "wait 20", }, Death = { "unbreakable begin", "exact-frame 204", "wait 2", "exact-frame 205", "wait 2", "exact-frame 206", "wait 2", "exact-frame 207", "wait 2", "exact-frame 208", "wait 2", "exact-frame 209", "wait 2", "exact-frame 210", "wait 2", "exact-frame 211", "wait 2", "unbreakable end", "wait 1", }, --[[ Burrow = "frame 212", "wait 1", "frame 229", "wait 1", "frame 246", "wait 1", "frame 263", "wait 1", "frame 280", "wait 1" ]] }) DefineUnitType("unit-zerg-hydralisk", { Name = "Hydralisk", Animations = "animations-zerg-hydralisk", Icon = "icon-zerg-hydralisk", Speed = 0, DrawLevel = 40, BoardSize = 2, Armor = 2, BasicDamage = 10, PiercingDamage = 4, Missile = "missile-zerg-spit", AnnoyComputerFactor = 50, MaxAttackRange = 5, Priority = 60, Points = 50, Demand = 1, RegenerationRate = 1, Corpse = "unit-zerg-hydralisk-death", RightMouseAction = "attack", CanAttack = true, CanTargetLand = true, CanTargetAir = true, SelectableByRectangle = true, Sounds = { "selected", "zerg-hydralisk-selected", "acknowledge", "zerg-hydralisk-acknowledgement", "ready", "zerg-hydralisk-ready", "help", "zerg-units-attacked", "dead", "zerg-hydralisk-death"} } )
gpl-2.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/corellia/creatures/plumedRasp.lua
1
4616
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version --which carries forward this exception. plumedRasp = Creature:new { objectName = "plumedRasp", -- Lua Object Name creatureType = "ANIMAL", gender = "", speciesName = "plumed_rasp", stfName = "mob/creature_names", objectCRC = 144116282, socialGroup = "Rasp", level = 7, combatFlags = ATTACKABLE_FLAG, healthMax = 165, healthMin = 135, strength = 500, constitution = 500, actionMax = 165, actionMin = 135, quickness = 500, stamina = 500, mindMax = 165, mindMin = 135, focus = 500, willpower = 500, height = 1, -- Size of creature armor = 0, -- 0 = None; 1 = Light; 2 = Medium; 3 = Heavy kinetic = 0, energy = 0, electricity = 15, stun = -1, blast = 0, heat = 0, cold = 0, acid = 0, lightsaber = 0, accuracy = 100, healer = 0, pack = 0, herd = 0, stalker = 0, killer = 0, ferocity = 0, aggressive = 0, invincible = 0, meleeDefense = 1, rangedDefense = 1, attackCreatureOnSight = "", -- Enter socialGroups weapon = "object/weapon/creature/shared_creature_default_weapon.iff", -- File path to weapon -> object\xxx\xxx\xx weaponName = "Creature Defualt", -- Name ex. 'a Vibrolance' weaponTemp = "creature_default_weapon", -- Weapon Template ex. 'lance_vibrolance' weaponClass = "UnarmedMeleeWeapon", -- Weapon Class ex. 'PolearmMeleeWeapon' weaponEquipped = 0, weaponMinDamage = 80, weaponMaxDamage = 90, weaponAttackSpeed = 2, weaponDamageType = "KINETIC", -- ELECTRICITY, KINETIC, etc weaponArmorPiercing = "NONE", -- LIGHT, NONE, MEDIUM, HEAVY alternateWeapon = "", -- File path to weapon -> object\xxx\xxx\xx alternateWeaponName = "", -- Name ex. 'a Vibrolance' alternateWeaponTemp = "", -- Weapon Template ex. 'lance_vibrolance' alternateWeaponClass = "", -- Weapon Class ex. 'PolearmMeleeWeapon' alternateWeaponEquipped = 0, alternateWeaponMinDamage = 0, alternateWeaponMaxDamage = 0, alternateWeaponAttackSpeed = 0, alternateWeaponDamageType = "", -- ELECTRICITY, KINETIC, etc alternateWeaponArmorPiercing = "", -- LIGHT, NONE, MEDIUM, HEAVY internalNPCDamageModifier = 0.3, -- Damage Modifier to other NPC's lootGroup = "0", -- Group it belongs to for loot tame = 0.25, -- Likely hood to be tamed datapadItemCRC = 2974753647, mountCRC = 0, mountSpeed = 0, mountAcceleration = 0, milk = 0, boneType = "bone_avian_corellia", boneMax = 2, hideType = "", hideMax = 20, meatType = "meat_avian_corellia", meatMax = 3, skills = { "plumedRaspAttack1" }, respawnTimer = 60, behaviorScript = "", -- Link to the behavior script for this object } Creatures:addCreature(plumedRasp, 144116282) -- Add to Global Table
lgpl-3.0
zain211/zain.aliraqe
block.lua
9
2416
local function addword(msg, name) local hash = 'chat:'..msg.to.id..':badword' redis:hset(hash, name, 'newword') return "word has been add\n>"..name end local function get_variables_hash(msg) return 'chat:'..msg.to.id..':badword' end local function list_variablesbad(msg) local hash = get_variables_hash(msg) if hash then local names = redis:hkeys(hash) local text = 'No badword in this group:\n\n' for i=1, #names do text = text..'> '..names[i]..'\n' end return text else return end end function clear_commandbad(msg, var_name) --Save on redis local hash = get_variables_hash(msg) redis:del(hash, var_name) return 'has been removed' end local function list_variables2(msg, value) local hash = get_variables_hash(msg) if hash then local names = redis:hkeys(hash) local text = '' for i=1, #names do if string.match(value, names[i]) and not is_momod(msg) then if msg.to.type == 'channel' then delete_msg(msg.id,ok_cb,false) else kick_user(msg.from.id, msg.to.id) end return end --text = text..names[i]..'\n' end end end local function get_valuebad(msg, var_name) local hash = get_variables_hash(msg) if hash then local value = redis:hget(hash, var_name) if not value then return else return value end end end function clear_commandsbad(msg, cmd_name) --Save on redis local hash = get_variables_hash(msg) redis:hdel(hash, cmd_name) return ''..cmd_name..'has been removed CHANNEL BLT : @iq_dev8' end local function run(msg, matches) if matches[2] == 'block' then if not is_momod(msg) then return 'only for moderators' end local name = string.sub(matches[3], 1, 50) local text = addword(msg, name) return text end if matches[2] == 'words' then return list_variablesbad(msg) elseif matches[2] == 'clearbadwords' then if not is_momod(msg) then return '_|_' end local asd = '1' return clear_commandbad(msg, asd) elseif matches[2] == 'unblock' or matches[2] == 'rw' then if not is_momod(msg) then return '_|_' end return clear_commandsbad(msg, matches[3]) else local name = user_print_name(msg.from) return list_variables2(msg, matches[1]) end end return { patterns = { "^()(rw) (.*)$", "^()(block) (.*)$", "^()(unblock) (.*)$", "^()(words)$", "^(clearbadwords)$", "^(.+)$", }, run = run }
gpl-3.0
thkhxm/TGame
Assets/StreamingAssets/lua/UnityEngine/Touch.lua
8
2019
-------------------------------------------------------------------------------- -- Copyright (c) 2015 - 2016 , 蒙占志(topameng) topameng@gmail.com -- All rights reserved. -- Use, modification and distribution are subject to the "MIT License" -------------------------------------------------------------------------------- local zero = Vector2.zero local rawget = rawget local setmetatable = setmetatable TouchPhase = { Began = 0, Moved = 1, Stationary = 2, Ended = 3, Canceled = 4, } TouchBits = { DeltaPosition = 1, Position = 2, RawPosition = 4, ALL = 7, } local TouchPhase = TouchPhase local TouchBits = TouchBits local Touch = {} local get = tolua.initget(Touch) Touch.__index = function(t,k) local var = rawget(Touch, k) if var == nil then var = rawget(get, k) if var ~= nil then return var(t) end end return var end --c# 创建 function Touch.New(fingerId, position, rawPosition, deltaPosition, deltaTime, tapCount, phase) local touch = {fingerId = fingerId or 0, position = position or zero, rawPosition = rawPosition or zero, deltaPosition = deltaPosition or zero, deltaTime = deltaTime or 0, tapCount = tapCount or 0, phase = phase or 0} setmetatable(touch, Touch) return touch end function Touch:Init(fingerId, position, rawPosition, deltaPosition, deltaTime, tapCount, phase) self.fingerId = fingerId self.position = position self.rawPosition = rawPosition self.deltaPosition = deltaPosition self.deltaTime = deltaTime self.tapCount = tapCount self.phase = phase end function Touch:Destroy() self.position = nil self.rawPosition = nil self.deltaPosition = nil end function Touch.GetMask(...) local arg = {...} local value = 0 for i = 1, #arg do local n = TouchBits[arg[i]] or 0 if n ~= 0 then value = value + n end end if value == 0 then value = TouchBits["all"] end return value end UnityEngine.TouchPhase = TouchPhase UnityEngine.Touch = Touch setmetatable(Touch, Touch) return Touch
apache-2.0
mkwia/jc2atc
scripts/warpgui/client/gui.lua
1
10300
class 'WarpGui' function WarpGui:__init() -- Variables self.textColor = Color(200, 50, 200) self.admins = {} self.rows = {} self.acceptButtons = {} self.whitelistButtons = {} self.whitelist = {} self.whitelistAll = false self.warpRequests = {} self.windowShown = false -- Admins self:AddAdmin("STEAM_0:0:58744266") -- Create GUI self.window = Window.Create() self.window:SetVisible(self.windowShown) self.window:SetTitle("Warp GUI") self.window:SetSizeRel(Vector2(0.4, 0.7)) self.window:SetMinimumSize(Vector2(400, 200)) self.window:SetPositionRel( Vector2(0.75, 0.5) - self.window:GetSizeRel()/2) self.window:Subscribe("WindowClosed", self, function (args) self:SetWindowVisible(false) end) -- Tabs local tabControl = TabControl.Create(self.window) tabControl:SetDock(GwenPosition.Fill) tabControl:SetSizeRel(Vector2(0.98, 1)) -- Pages local playersPage = tabControl:AddPage("Players"):GetPage() --local warpsPage = tabControl:AddPage("Warps"):GetPage() -- Player list self.playerList = SortedList.Create(playersPage) self.playerList:SetDock(GwenPosition.Fill) self.playerList:SetMargin(Vector2(0, 0), Vector2(0, 4)) self.playerList:AddColumn("Name") self.playerList:AddColumn("Warp To", 90) self.playerList:AddColumn("Accept Warp", 90) self.playerList:AddColumn("Whitelist", 90) self.playerList:SetButtonsVisible(true) -- Player search box self.filter = TextBox.Create(playersPage) self.filter:SetDock(GwenPosition.Bottom) self.filter:SetSize(Vector2(self.window:GetSize().x, 32)) self.filter:Subscribe("TextChanged", self, self.TextChanged) -- Whitelist all local whitelistAllCheckbox = LabeledCheckBox.Create(playersPage) whitelistAllCheckbox:SetSize(Vector2(300, 20)) whitelistAllCheckbox:SetDock(GwenPosition.Top) whitelistAllCheckbox:GetLabel():SetText("Whitelist all") whitelistAllCheckbox:GetCheckBox():Subscribe("CheckChanged", function() self.whitelistAll = whitelistAllCheckbox:GetCheckBox():GetChecked() end) -- Add players for player in Client:GetPlayers() do self:AddPlayer(player) end --self:AddPlayer(LocalPlayer) -- Subscribe to events Events:Subscribe("LocalPlayerChat", self, self.LocalPlayerChat) Events:Subscribe("LocalPlayerInput", self, self.LocalPlayerInput) Events:Subscribe("PlayerJoin", self, self.PlayerJoin) Events:Subscribe("PlayerQuit", self, self.PlayerQuit) Events:Subscribe("KeyUp", self, self.KeyUp) Network:Subscribe("WarpRequestToTarget", self, self.WarpRequest) Network:Subscribe("WarpReturnWhitelists", self, self.WarpReturnWhitelists) Network:Subscribe("WarpDoPoof", self, self.WarpDoPoof) -- Load whitelists from server Network:Send("WarpGetWhitelists", LocalPlayer) -- Debug --self:SetWindowVisible(true) --self:AddPlayer(LocalPlayer) end -- ========================= Admin check ========================= function WarpGui:AddAdmin(steamId) self.admins[steamId] = true end function WarpGui:IsAdmin(player) return self.admins[player:GetSteamId().string] ~= nil end -- ========================= Player adding ========================= function WarpGui:CreateListButton(text, enabled, listItem) local buttonBackground = Rectangle.Create(listItem) buttonBackground:SetSizeRel(Vector2(0.5, 1.0)) buttonBackground:SetDock(GwenPosition.Fill) buttonBackground:SetColor(Color(0, 0, 0, 100)) local button = Button.Create(listItem) button:SetText(text) button:SetDock(GwenPosition.Fill) button:SetEnabled(enabled) return button end function WarpGui:AddPlayer(player) local playerId = tostring(player:GetSteamId().id) local playerName = player:GetName() local item = self.playerList:AddItem(playerId) -- Warp to button local warpToButton = self:CreateListButton("Warp to", true, item) warpToButton:Subscribe("Press", function() self:WarpToPlayerClick(player) end) -- Accept local acceptButton = self:CreateListButton("Accept", false, item) acceptButton:Subscribe("Press", function() self:AcceptWarpClick(player) end) self.acceptButtons[playerId] = acceptButton -- Whitelist local whitelist = self.whitelist[playerId] local whitelistButtonText = "None" if whitelist ~= nil then if whitelist == 1 then whitelistButtonText = "Whitelisted" elseif whitelist == 2 then whitelistButtonText = "Blacklisted" end end local whitelistButton = self:CreateListButton(whitelistButtonText, true, item) whitelistButton:Subscribe("Press", function() self:WhitelistClick(playerId, whitelistButton) end) self.whitelistButtons[playerId] = whitelistButton -- List item item:SetCellText(0, playerName) item:SetCellContents(1, warpToButton) item:SetCellContents(2, acceptButton) item:SetCellContents(3, whitelistButton) self.rows[playerId] = item -- Add is serch filter matches local filter = self.filter:GetText():lower() if filter:len() > 0 then item:SetVisible(true) end end -- ========================= Player search ========================= function WarpGui:TextChanged() local filter = self.filter:GetText() if filter:len() > 0 then for k, v in pairs(self.rows) do v:SetVisible(self:PlayerNameContains(v:GetCellText(0), filter)) end else for k, v in pairs(self.rows) do v:SetVisible(true) end end end function WarpGui:PlayerNameContains(name, filter) return string.match(name:lower(), filter:lower()) ~= nil end -- ========================= Warp to/Warp accept ========================= function WarpGui:WarpToPlayerClick(player) Network:Send("WarpRequestToServer", {requester = LocalPlayer, target = player}) self:SetWindowVisible(false) end function WarpGui:AcceptWarpClick(player) local playerId = tostring(player:GetSteamId().id) if self.warpRequests[playerId] == nil then Chat:Print(player:GetName() .. " has not requested to warp to you.", self.textColor) return else local acceptButton = self.acceptButtons[playerId] if acceptButton == nil then return end self.warpRequests[playerId] = nil acceptButton:SetEnabled(false) Network:Send("WarpTo", {requester = player, target = LocalPlayer}) self:SetWindowVisible(false) end end -- ========================= Warp request ========================= function WarpGui:WarpRequest(args) local requestingPlayer = args local playerId = tostring(requestingPlayer:GetSteamId().id) local whitelist = self.whitelist[playerId] if whitelist == 1 or self.whitelistAll or self:IsAdmin(requestingPlayer) then -- In whitelist and not in blacklist, OR admin Network:Send("WarpTo", {requester = requestingPlayer, target = LocalPlayer}) elseif whitelist == 0 or whitelist == nil then -- Not in whitelist local acceptButton = self.acceptButtons[playerId] if acceptButton == nil then return end acceptButton:SetEnabled(true) self.warpRequests[playerId] = true Network:Send("WarpMessageTo", {target = requestingPlayer, message = "Please wait for " .. LocalPlayer:GetName() .. " to accept."}) Chat:Print(requestingPlayer:GetName() .. " would like to warp to you. Type /warp or press V to accept.", self.textColor) end -- Blacklist end -- ========================= White/black -list click ========================= function WarpGui:WhitelistClick(playerId, button) local currentWhiteList = self.whitelist[playerId] if currentWhiteList == 0 or currentWhiteList == nil then -- Currently none, set whitelisted self:SetWhitelist(playerId, 1, true) elseif currentWhiteList == 1 then -- Currently whitelisted, blacklisted self:SetWhitelist(playerId, 2, true) elseif currentWhiteList == 2 then -- Currently blacklisted, set none self:SetWhitelist(playerId, 0, true) end end function WarpGui:SetWhitelist(playerId, whitelisted, sendToServer) if self.whitelist[playerId] ~= whitelisted then self.whitelist[playerId] = whitelisted end local whitelistButton = self.whitelistButtons[playerId] if whitelistButton == nil then return end if whitelisted == 0 then -- none whitelistButton:SetText("None") elseif whitelisted == 1 then -- whitelist whitelistButton:SetText("Whitelisted") elseif whitelisted == 2 then -- blacklist whitelistButton:SetText("Blacklisted") end if sendToServer then Network:Send("WarpSetWhitelist", {playerSteamId = LocalPlayer:GetSteamId().id, targetSteamId = playerId, whitelist = whitelisted}) end end function WarpGui:WarpReturnWhitelists(whitelists) for i = 1, #whitelists do local targetSteamId = whitelists[i].target_steam_id local whitelisted = whitelists[i].whitelist self:SetWhitelist(targetSteamId, tonumber(whitelisted), false) end end -- ========================= Chat command ========================= function WarpGui:LocalPlayerChat(args) local message = args.text local commands = {} for command in string.gmatch(message, "[^%s]+") do table.insert(commands, command) end if commands[1] ~= "/warp" then return true end if #commands == 1 then -- No extra commands, show window and return self:SetWindowVisible(not self.windowShown) return false end local warpNameSearch = table.concat(commands, " ", 2) for player in Client:GetPlayers() do if (self:PlayerNameContains(player:GetName(), warpNameSearch)) then self:WarpToPlayerClick(player) return false end end return false end -- ========================= Effect ========================= function WarpGui:WarpDoPoof(position) Console:Print("asd") ClientEffect.Play(AssetLocation.Game, {effect_id = 250, position = position, angle = Angle()}) end -- ========================= Window management ========================= function WarpGui:LocalPlayerInput(args) -- Prevent mouse from moving & buttons being pressed return not (self.windowShown and Game:GetState() == GUIState.Game) end function WarpGui:KeyUp( args ) if args.key == string.byte('V') then self:SetWindowVisible(not self.windowShown) end end function WarpGui:PlayerJoin(args) local player = args.player self:AddPlayer(player) end function WarpGui:PlayerQuit(args) local player = args.player local playerId = tostring(player:GetSteamId().id) if self.rows[playerId] == nil then return end self.playerList:RemoveItem(self.rows[playerId]) self.rows[playerId] = nil end function WarpGui:SetWindowVisible(visible) self.windowShown = visible self.window:SetVisible(visible) Mouse:SetVisible(visible) end warpGui = WarpGui()
mit
Modified-MW-DF/modified-MDF
MWDF Project/Dwarf Fortress/hack/scripts/combine-plants.lua
2
4033
-- Merge plant stacks in the selected container or stockpile --[====[ combine-plants ============== Merge stacks of plants or plant growths in the selected container or stockpile. ]====] local utils = require 'utils' validArgs = validArgs or utils.invert({ 'max', 'stockpile', 'container' }) local args = utils.processArgs({...}, validArgs) local max = 12 if args.max then max = tonumber(args.max) end local stockpile = nil if args.stockpile then stockpile = df.building.find(tonumber(args.stockpile)) end local container = nil if args.container then container = df.item.find(tonumber(args.container)) end function itemsCompatible(item0, item1) return item0:getType() == item1:getType() and item0.mat_type == item1.mat_type and item0.mat_index == item1.mat_index end function getPlants(items, plants, index) repeat local nextBatch = {} for _,v in pairs(items) do -- Skip items currently tasked if #v.specific_refs == 0 then if v:getType() == 53 or v:getType() == 55 or v:getType() == 70 then plants[index] = v index = index + 1 else local containedItems = dfhack.items.getContainedItems(v) if #containedItems > 0 then for _,w in pairs(containedItems) do table.insert(nextBatch, w) end end end end end items = nextBatch until #items == 0 return index end local item = container or dfhack.gui.getSelectedItem(true) local building = stockpile or dfhack.gui.getSelectedBuilding(true) if building ~= nil and building:getType() ~= 29 then building = nil end if item == nil and building == nil then error("Select an item or building") else local rootItems; if building then rootItems = dfhack.buildings.getStockpileContents(building) else rootItems = dfhack.items.getContainedItems(item) end if #rootItems == 0 then error("Select a non-empty container") else local plants = { } local plantCount = getPlants(rootItems, plants, 0) print("found " .. plantCount .. " plants") local removedPlants = { } for i=0,(plantCount-2) do local currentPlant = plants[i] local itemsNeeded = max - currentPlant.stack_size if removedPlants[currentPlant.id] == nil and itemsNeeded > 0 then local j = i+1 local last = plantCount repeat local sourcePlant = plants[j] if removedPlants[sourcePlant.id] == nil and itemsCompatible(currentPlant, sourcePlant) then local amountToMove = math.min(itemsNeeded, sourcePlant.stack_size) itemsNeeded = itemsNeeded - amountToMove currentPlant.stack_size = currentPlant.stack_size + amountToMove if sourcePlant.stack_size == amountToMove then removedPlants[sourcePlant.id] = true sourcePlant.stack_size = 1 else sourcePlant.stack_size = sourcePlant.stack_size - amountToMove end -- else print("failed") end j = j + 1 until j == plantCount or itemsNeeded == 0 end end local removedCount = 0 for id,removed in pairs(removedPlants) do if removed then removedCount = removedCount + 1 local removedPlant = df.item.find(id) dfhack.items.remove(removedPlant) end end print("removed " .. removedCount .. " plants") end end
mit
IchyTheDev/invaders
main.lua
2
2364
function love.load() hero = {} hero.x = 300 hero.y = 450 hero.speed = 100 hero.shots = {} hero.width = 30 hero.height = 15 enemies = {} for i=0,7 do enemy = {} enemy.width = 40 enemy.height = 20 enemy.x = i * (enemy.width + 60) + 100 enemy.y = enemy.height + 100 table.insert(enemies, enemy) end love.window.setTitle("INVaders") end function love.keyreleased(key) if(key == " ") then shot() end end function love.update(dt) if love.keyboard.isDown("left") then hero.x = hero.x - hero.speed*dt elseif love.keyboard.isDown("right") then hero.x = hero.x + hero.speed*dt end for i,v in ipairs(enemies) do v.y = v.y + dt * 27 if v.y > 465 and (table.getn(enemies) - 1) > 0 then love.event.push('quit') end end local remEnemy = {} local remShot = {} for i,v in ipairs(hero.shots) do v.y = v.y - dt * 100 if v.y < 0 then table.insert(remShot, i) end for ii,vv in ipairs(enemies) do if CheckCollision(v.x, v.y, 2, 5, vv.x,vv.y,vv.width,vv.height) then table.insert(remEnemy, ii) table.insert(remShot, i) end end end for i,v in ipairs(remEnemy) do table.remove(enemies, v) end for i,v in ipairs(remShot) do table.remove(hero.shots, v) end end function love.draw() love.graphics.setColor(0,255,0,255) love.graphics.rectangle("fill", 0, 465, 800, 150) love.graphics.setColor(255, 255, 0, 255) love.graphics.rectangle("fill", hero.x, hero.y, 30, 15) love.graphics.setColor(0,255,255,2555) for i,v in ipairs(enemies) do love.graphics.rectangle("fill",v.x,v.y,v.width,v.height) end love.graphics.setColor(255,255,255,255) for i, v in ipairs(hero.shots) do love.graphics.rectangle("fill", v.x, v.y, 2, 5) end if (table.getn(enemies) - 1) == 0 then love.graphics.print("Thanks for playing INVaders by Ichy :D", 0, 0) love.graphics.print("Github: github.com/IchyTheDev/invaders", 20, 20) love.graphics.print("Gamejolt: ", 40, 40) end end function shot() local shot = {} shot.x = hero.x + hero.width / 2 shot.y = hero.y table.insert(hero.shots, shot) end function CheckCollision(ax1,ay1,aw,ah, bx1,by1,bw,bh) local ax2,ay2,bx2,by2 = ax1 + aw, ay1 + ah, bx1 + bw, by1 + bh return ax1 < bx2 and ax2 > bx1 and ay1 < by2 and ay2 > by1 end
mit
TheAnswer/FirstTest
bin/scripts/slashcommands/entertainer/changeDance.lua
1
2669
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version --which carries forward this exception. --true = 1, false = 0 ChangeDanceSlashCommand = { name = "changedance", alternativeNames = "", animation = "", invalidStateMask = 3894934651, --cover, combat, aiming, alert, berzerk, feigndeath, tumbling, rallied, stunned, blinded, dizzy, intimidated, immobilized, frozen, swimming, glowingJedi, ridingMount, pilotingShip, shipOperations, shipGunner, invalidPostures = "3,1,2,5,6,7,8,10,11,12,13,14,4,", target = 2, targeType = 0, disabled = 0, maxRangeToTarget = 0, --adminLevel = 0, addToCombatQueue = 1, } AddChangeDanceSlashCommand(ChangeDanceSlashCommand)
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/object/static/installation/objects.lua
1
18020
--Copyright (C) 2009 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version --which carries forward this exception. object_static_installation_shared_mockup_factory_clothing_style_1 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/ins_all_factory_clothing.apt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_installation_shared_mockup_factory_clothing_style_1, 1376116358) object_static_installation_shared_mockup_factory_item_style_1 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/ins_all_factory_item.apt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_installation_shared_mockup_factory_item_style_1, 1702691941) object_static_installation_shared_mockup_factory_machine_style_1 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/ins_all_factory_machine.apt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_installation_shared_mockup_factory_machine_style_1, 1996893062) object_static_installation_shared_mockup_factory_organic_style_1 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/ins_all_factory_organic.apt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_installation_shared_mockup_factory_organic_style_1, 1851420525) object_static_installation_shared_mockup_farm_creature_style_1 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/ins_all_creature_farm_s01_u0.apt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_installation_shared_mockup_farm_creature_style_1, 2670476003) object_static_installation_shared_mockup_farm_flora_style_1 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/ins_all_flora_farm_s01_u0.apt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_installation_shared_mockup_farm_flora_style_1, 455333563) object_static_installation_shared_mockup_mining_gas_harvester_style_1 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/ins_all_min_gas_s01_u0.apt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "clientdata/installation/client_shared_mining_gas_harvester_style_2.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_installation_shared_mockup_mining_gas_harvester_style_1, 952651135) object_static_installation_shared_mockup_mining_liquid_harvester_style_1 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/ins_all_min_liquid_s01_u0.apt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "clientdata/installation/client_shared_mining_liquid_harvester_style_2.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_installation_shared_mockup_mining_liquid_harvester_style_1, 2973636894) object_static_installation_shared_mockup_mining_liquid_moisture_harvester = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/ins_all_min_moisture_s01_u0.apt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "clientdata/installation/client_shared_mining_moisture_harvester_style_1.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_installation_shared_mockup_mining_liquid_moisture_harvester, 3774495712) object_static_installation_shared_mockup_mining_ore_harvester_style_1 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/ins_all_min_s01_u1.apt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "clientdata/installation/client_shared_mining_ore_harvester_style_1.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_installation_shared_mockup_mining_ore_harvester_style_1, 3112884760) object_static_installation_shared_mockup_mining_ore_harvester_style_2 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/ins_all_min_s02_u1.apt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "clientdata/installation/client_shared_mining_ore_harvester_style_2.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_installation_shared_mockup_mining_ore_harvester_style_2, 1654485647) object_static_installation_shared_mockup_power_generator_fusion_style_1 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/ins_all_pow_fusion_ion_u0.apt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "clientdata/installation/client_shared_power_generator_fusion_style_1.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_installation_shared_mockup_power_generator_fusion_style_1, 2278647849) object_static_installation_shared_mockup_power_generator_photo_bio_style_1 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/ins_all_photo_bio_u0.apt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "clientdata/installation/client_shared_power_generator_photo_bio_style_1.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_installation_shared_mockup_power_generator_photo_bio_style_1, 1650901824) object_static_installation_shared_mockup_power_generator_solar_style_1 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/ins_all_pow_solar_u0.apt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "clientdata/installation/client_shared_power_generator_solar_style_1.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_installation_shared_mockup_power_generator_solar_style_1, 2423687218) object_static_installation_shared_mockup_power_generator_wind_style_1 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/ins_all_pow_wind_u0.apt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "clientdata/installation/client_shared_power_generator_wind_style_1.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_installation_shared_mockup_power_generator_wind_style_1, 467258209)
lgpl-3.0
weiDDD/WSSParticleSystem
cocos2d/cocos/scripting/lua-bindings/auto/api/RichText.lua
1
2808
-------------------------------- -- @module RichText -- @extend Widget -- @parent_module ccui -------------------------------- -- brief Insert a RichElement at a given index.<br> -- param element A RichElement type.<br> -- param index A given index. -- @function [parent=#RichText] insertElement -- @param self -- @param #ccui.RichElement element -- @param #int index -- @return RichText#RichText self (return value: ccui.RichText) -------------------------------- -- brief Add a RichElement at the end of RichText.<br> -- param element A RichElement instance. -- @function [parent=#RichText] pushBackElement -- @param self -- @param #ccui.RichElement element -- @return RichText#RichText self (return value: ccui.RichText) -------------------------------- -- brief Set vertical space between each RichElement.<br> -- param space Point in float. -- @function [parent=#RichText] setVerticalSpace -- @param self -- @param #float space -- @return RichText#RichText self (return value: ccui.RichText) -------------------------------- -- brief Rearrange all RichElement in the RichText.<br> -- It's usually called internally. -- @function [parent=#RichText] formatText -- @param self -- @return RichText#RichText self (return value: ccui.RichText) -------------------------------- -- @overload self, ccui.RichElement -- @overload self, int -- @function [parent=#RichText] removeElement -- @param self -- @param #int index -- @return RichText#RichText self (return value: ccui.RichText) -------------------------------- -- brief Create a empty RichText.<br> -- return RichText instance. -- @function [parent=#RichText] create -- @param self -- @return RichText#RichText ret (return value: ccui.RichText) -------------------------------- -- -- @function [parent=#RichText] setAnchorPoint -- @param self -- @param #vec2_table pt -- @return RichText#RichText self (return value: ccui.RichText) -------------------------------- -- -- @function [parent=#RichText] getDescription -- @param self -- @return string#string ret (return value: string) -------------------------------- -- -- @function [parent=#RichText] getVirtualRendererSize -- @param self -- @return size_table#size_table ret (return value: size_table) -------------------------------- -- -- @function [parent=#RichText] ignoreContentAdaptWithSize -- @param self -- @param #bool ignore -- @return RichText#RichText self (return value: ccui.RichText) -------------------------------- -- brief Default constructor. -- @function [parent=#RichText] RichText -- @param self -- @return RichText#RichText self (return value: ccui.RichText) return nil
apache-2.0
TheAnswer/FirstTest
bin/scripts/slashcommands/auction/auctionAccept.lua
1
2449
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version --which carries forward this exception. --true = 1, false = 0 AuctionAcceptSlashCommand = { name = "auctionaccept", alternativeNames = "", animation = "", invalidStateMask = 2097152, --glowingJedi, invalidPostures = "", target = 2, targeType = 0, disabled = 0, maxRangeToTarget = 0, --adminLevel = 0, addToCombatQueue = 0, } AddAuctionAcceptSlashCommand(AuctionAcceptSlashCommand)
lgpl-3.0
Bubbus/ACFGamemode
gamemode/aaa_autoincludes.lua
1
1118
AddCSLuaFile("autorun/aaa_autoincludes.lua") aaa_debug = false function aaa_IncludeHere(dir) //print("hi from "..dir) local files, folders = file.Find(dir.."/*", "LUA") for k,v in pairs(file.Find(dir.."/*.lua", "LUA")) do if aaa_debug then Msg("AAA: including file \""..dir.."/"..v.."\"!\n") end include(dir.."/"..v) end for _, fdir in pairs(folders) do aaa_IncludeHere(dir.."/"..fdir) end end function aaa_IncludeClient(dir) local files, folders = file.Find(dir.."/*", "LUA") for k,v in pairs(file.Find(dir.."/*.lua", "LUA")) do if aaa_debug then Msg("AAA: adding client file \""..dir.."/"..v.."\"!\n") end AddCSLuaFile(dir.."/"..v) end for _, fdir in pairs(folders) do aaa_IncludeClient(dir.."/"..fdir) end end function aaa_IncludeShared(dir) local files, folders = file.Find(dir.."/*", "LUA") for k,v in pairs(file.Find(dir.."/*.lua", "LUA")) do if aaa_debug then Msg("AAA: adding client file \""..dir.."/"..v.."\"!\n") end include(dir.."/"..v) AddCSLuaFile(dir.."/"..v) end for _, fdir in pairs(folders) do aaa_IncludeShared(dir.."/"..fdir) end end
apache-2.0
JarnoVgr/ZombieSurvival
gamemodes/zombiesurvival/entities/weapons/swep_construction_kit/server.lua
1
3735
local function CanPickup( pl, wep ) if (wep:GetClass() == sck_class) then return pl:KeyDown(IN_RELOAD) or !wep.Dropped end end hook.Add("PlayerCanPickupWeapon","SCKPickup",CanPickup) function SWEP:Deploy() self.LastOwner = self.Owner end function SWEP:Holster() self:SetThirdPerson( false ) return true end function SWEP:OnDrop() self:SetThirdPerson( false ) if (IsValid(self.LastOwner)) then self.LastOwner:SendLua("Entity("..self:EntIndex().."):OnDropWeapon()") end self.LastOwner = nil end local function Cmd_SetHoldType( pl, cmd, args ) local holdtype = args[1] local wep = GetSCKSWEP( pl ) if (IsValid(wep) and holdtype and table.HasValue( wep:GetHoldTypes(), holdtype )) then wep:SetWeaponHoldType( holdtype ) wep.HoldType = holdtype end end concommand.Add("swepck_setholdtype", Cmd_SetHoldType) local function Cmd_ToggleThirdPerson( pl, cmd, args ) local wep = GetSCKSWEP( pl ) if (IsValid(wep)) then wep:ToggleThirdPerson() end end concommand.Add("swepck_togglethirdperson", Cmd_ToggleThirdPerson) local function Cmd_PlayAnimation( pl, cmd, args ) local wep = GetSCKSWEP( pl ) if (IsValid(wep)) then local anim = tonumber(args[1] or 0) wep:ResetSequenceInfo() wep:SendWeaponAnim( anim ) end end concommand.Add("swepck_playanimation", Cmd_PlayAnimation) local function Cmd_ToggleSights( pl, cmd, args ) local wep = GetSCKSWEP( pl ) if (IsValid(wep)) then wep:ToggleIronSights() end end concommand.Add("swepck_toggleironsights", Cmd_ToggleSights) local function Cmd_ViewModelFOV( pl, cmd, args ) local wep = GetSCKSWEP( pl ) if (IsValid(wep)) then wep.ViewModelFOV = tonumber(args[1] or wep.ViewModelFOV) end end concommand.Add("swepck_viewmodelfov", Cmd_ViewModelFOV) local function Cmd_ViewModel( pl, cmd, args ) local wep = GetSCKSWEP( pl ) if (!IsValid(wep)) then return end local newmod = args[1] or wep.ViewModel newmod = newmod..".mdl" if !file.Exists(newmod, "GAME") then return end //util.PrecacheModel(newmod) wep.ViewModel = newmod pl:GetViewModel():SetWeaponModel(Model(newmod), wep) pl:SendLua([[LocalPlayer():GetActiveWeapon().ViewModel = "]]..newmod..[["]]) //pl:SendLua([[LocalPlayer():GetViewModel():SetModel("]]..newmod..[[")]]) pl:SendLua([[LocalPlayer():GetViewModel():SetWeaponModel(Model("]]..newmod..[["), Entity(]]..wep:EntIndex()..[[))]]) local quickswitch = nil for k, v in pairs( pl:GetWeapons() ) do if (v:GetClass() != wep:GetClass()) then quickswitch = v:GetClass() break end end if (quickswitch) then pl:SelectWeapon( quickswitch ) pl:SelectWeapon( wep:GetClass() ) else pl:ChatPrint("Switch weapons to make the new viewmodel show up") end //print("Changed viewmodel to \""..wep.ViewModel.."\"") end concommand.Add("swepck_viewmodel", Cmd_ViewModel) local function Cmd_WorldModel( pl, cmd, args ) local wep = GetSCKSWEP( pl ) if (!IsValid(wep)) then return end local newmod = args[1] or wep.CurWorldModel newmod = newmod..".mdl" if !file.Exists(newmod, "GAME") then return end util.PrecacheModel(newmod) wep.CurWorldModel = newmod wep:SetModel(newmod) pl:SendLua([[LocalPlayer():GetActiveWeapon().CurWorldModel = "]]..newmod..[["]]) pl:SendLua([[LocalPlayer():GetActiveWeapon():CreateWeaponWorldModel()]]) //print("Changed worldmodel to \""..wep.CurWorldModel.."\"") end concommand.Add("swepck_worldmodel", Cmd_WorldModel) local function Cmd_DropWep( pl, cmd, args ) local wep = GetSCKSWEP( pl ) if (IsValid(wep)) then wep.Dropped = true pl:DropWeapon(wep) end end concommand.Add("swepck_dropwep", Cmd_DropWep)
gpl-2.0
TheAnswer/FirstTest
bin/scripts/crafting/objects/draftschematics/artisan/domesticArtsIvClothingRepair/frock.lua
1
4137
--Copyright (C) 2009 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version --which carries forward this exception. frock = Object:new { objectName = "Frock", stfName = "dress_s26", stfFile = "wearables_name", objectCRC = 3228851029, groupName = "craftArtisanDomesticGroupD", -- Group schematic is awarded in (See skills table) craftingToolTab = 8, -- (See DraftSchemticImplementation.h) complexity = 16, size = 4, xpType = "crafting_general", xp = 30, assemblySkill = "general_assembly", experimentingSkill = "general_experimentation", ingredientTemplateNames = "craft_clothing_ingredients_n, craft_clothing_ingredients_n, craft_clothing_ingredients_n, craft_clothing_ingredients_n, craft_clothing_ingredients_n", ingredientTitleNames = "trim_and_binding, extra_trim, hardware, skirt, bodice", ingredientSlotType = "0, 2, 2, 2, 2", resourceTypes = "fiberplast, object/tangible/component/clothing/shared_fiberplast_panel.iff, object/tangible/component/clothing/shared_metal_fasteners.iff, object/tangible/component/clothing/shared_fiberplast_panel.iff, object/tangible/component/clothing/shared_fiberplast_panel.iff", resourceQuantities = "15, 1, 1, 1, 1", combineTypes = "0, 1, 1, 1, 1", contribution = "100, 100, 100, 100, 100", numberExperimentalProperties = "1, 1, 1, 1", experimentalProperties = "XX, XX, XX, XX", experimentalWeights = "1, 1, 1, 1", experimentalGroupTitles = "null, null, null, null", experimentalSubGroupTitles = "null, null, sockets, hitpoints", experimentalMin = "0, 0, 0, 1000", experimentalMax = "0, 0, 0, 1000", experimentalPrecision = "0, 0, 0, 0", tanoAttributes = "objecttype=16777223:objectcrc=2160661616:stfFile=wearables_name:stfName=dress_s26:stfDetail=:itemmask=62974::", blueFrogAttributes = "", blueFrogEnabled = False, customizationOptions = "/private/index_color_1, /private/index_color_2", customizationDefaults = "59, 31", customizationSkill = "clothing_customization" } DraftSchematics:addDraftSchematic(frock, 3228851029)--- Add to global DraftSchematics table
lgpl-3.0
Andrettin/Wyrmsun
scripts/languages/armenian_loanwords.lua
1
2548
-- _________ __ __ -- / _____// |_____________ _/ |______ ____ __ __ ______ -- \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ -- / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ -- /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > -- \/ \/ \//_____/ \/ -- ______________________ ______________________ -- T H E W A R B E G I N S -- Stratagus - A free fantasy real time strategy game engine -- -- (c) Copyright 2017-2022 by Andrettin -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 2 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program; if not, write to the Free Software -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -- DefineLanguageWord("Gund", { -- Source: Carl D. Buck, "Words for 'Battle,' 'War,' 'Army,' and 'Soldier'", 1919, p. 10. Language = "armenian", Type = "noun", Meanings = {"Army"}, DerivesFrom = {"parthian", "noun", "Gund"} }) DefineLanguageWord("Paterazm", { -- Source: Carl D. Buck, "Words for 'Battle,' 'War,' 'Army,' and 'Soldier'", 1919, p. 7. Language = "armenian", Type = "noun", Meanings = {"War", "Battle"}, DerivesFrom = {"parthian", "noun", "Pātrazm"} }) DefineLanguageWord("Zēn", { -- Source: Carl D. Buck, "Words for 'Battle,' 'War,' 'Army,' and 'Soldier'", 1919, p. 15. Language = "armenian", Type = "noun", Meanings = {"Arms", "Weapons"} -- Iranian loan word }) DefineLanguageWord("Zinvor", { -- Source: Carl D. Buck, "Words for 'Battle,' 'War,' 'Army,' and 'Soldier'", 1919, p. 15. Language = "armenian", Type = "noun", Meanings = {"Soldier"} -- from "zēn" }) DefineLanguageWord("Zor", { -- Source: Carl D. Buck, "Words for 'Battle,' 'War,' 'Army,' and 'Soldier'", 1919, p. 15. Language = "armenian", Type = "noun", Meanings = {"Army"}, DerivesFrom = {"old-armenian", "noun", "Zaur"} })
gpl-2.0
TheAnswer/FirstTest
bin/scripts/items/objects/tools/smuggler/precisionLaserKnife.lua
1
2275
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version --which carries forward this exception. precisionLaserKnife = Tool:new { objectName = "Precision Laser Knife", templateName = "object/tangible/slicing/shared_slicing_laser_knife.iff", objectCRC = 3905355100, toolType = PRECLASERKNIFE, effectiveness = 15.0 }
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/object/tangible/space/special_loot/objects.lua
1
15334
--Copyright (C) 2009 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version --which carries forward this exception. object_tangible_space_special_loot_shared_encoded_document = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/eqp_data_disk.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@space_item_d:encoded_document", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@space_item_n:encoded_document", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_space_special_loot_shared_encoded_document, 1384769825) object_tangible_space_special_loot_shared_firespray_schematic = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/eqp_tool_engineering_analysis_board.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@craft_item_ingredients_d:firespray_schematic", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@craft_item_ingredients_n:firespray_schematic", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_space_special_loot_shared_firespray_schematic, 3265273647) object_tangible_space_special_loot_shared_firespray_schematic_part1 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/eqp_data_disk.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@space_item_d:firespray_schematic_part", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@space_item_n:firespray_schematic_part1", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_space_special_loot_shared_firespray_schematic_part1, 3529502508) object_tangible_space_special_loot_shared_firespray_schematic_part2 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/eqp_data_disk.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@space_item_d:firespray_schematic_part", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@space_item_n:firespray_schematic_part2", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_space_special_loot_shared_firespray_schematic_part2, 155731899) object_tangible_space_special_loot_shared_firespray_schematic_part3 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/eqp_data_disk.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@space_item_d:firespray_schematic_part", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@space_item_n:firespray_schematic_part3", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_space_special_loot_shared_firespray_schematic_part3, 1078272054) object_tangible_space_special_loot_shared_firespray_schematic_part4 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/eqp_data_disk.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@space_item_d:firespray_schematic_part", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@space_item_n:firespray_schematic_part4", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_space_special_loot_shared_firespray_schematic_part4, 3148221218) object_tangible_space_special_loot_shared_firespray_schematic_part5 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/eqp_data_disk.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@space_item_d:firespray_schematic_part", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@space_item_n:firespray_schematic_part5", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_space_special_loot_shared_firespray_schematic_part5, 4071320751) object_tangible_space_special_loot_shared_firespray_schematic_part6 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/eqp_data_disk.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@space_item_d:firespray_schematic_part", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@space_item_n:firespray_schematic_part6", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_space_special_loot_shared_firespray_schematic_part6, 700236856) object_tangible_space_special_loot_shared_firespray_schematic_part7 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/eqp_data_disk.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@space_item_d:firespray_schematic_part", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@space_item_n:firespray_schematic_part7", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_space_special_loot_shared_firespray_schematic_part7, 1622254517) object_tangible_space_special_loot_shared_firespray_schematic_part8 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/eqp_data_disk.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@space_item_d:firespray_schematic_part", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@space_item_n:firespray_schematic_part8", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_space_special_loot_shared_firespray_schematic_part8, 3669725095)
lgpl-3.0
asmagill/hammerspoon
extensions/expose/expose.lua
4
45034
--- === hs.expose === --- --- Keyboard-driven expose replacement/enhancement --- --- Warning: this module is still somewhat experimental. --- Should you encounter any issues, please feel free to report them on https://github.com/Hammerspoon/hammerspoon/issues --- or #hammerspoon on irc.libera.chat --- --- With this module you can configure a hotkey to show thumbnails for open windows when invoked; each thumbnail will have --- an associated keyboard "hint" (usually one or two characters) that you can type to quickly switch focus to that --- window; in conjunction with keyboard modifiers, you can additionally minimize (`alt` by default) or close --- (`shift` by default) any window without having to focus it first. --- --- When used in combination with a windowfilter you can include or exclude specific apps, window titles, screens, --- window roles, etc. Additionally, each expose instance can be customized to include or exclude minimized or hidden windows, --- windows residing in other Mission Control Spaces, or only windows for the current application. You can further customize --- hint length, colors, fonts and sizes, whether to show window thumbnails and/or titles, and more. --- --- To improve responsiveness, this module will update its thumbnail layout in the background (so to speak), so that it --- can show the expose without delay on invocation. Be aware that on particularly heavy Hammerspoon configurations --- this could adversely affect overall performance; you can disable this behaviour with --- `hs.expose.ui.fitWindowsInBackground=false` --- --- Usage: --- ``` --- -- set up your instance(s) --- expose = hs.expose.new(nil,{showThumbnails=false}) -- default windowfilter, no thumbnails --- expose_app = hs.expose.new(nil,{onlyActiveApplication=true}) -- show windows for the current application --- expose_space = hs.expose.new(nil,{includeOtherSpaces=false}) -- only windows in the current Mission Control Space --- expose_browsers = hs.expose.new{'Safari','Google Chrome'} -- specialized expose using a custom windowfilter --- -- for your dozens of browser windows :) --- --- -- then bind to a hotkey --- hs.hotkey.bind('ctrl-cmd','e','Expose',function()expose:toggleShow()end) --- hs.hotkey.bind('ctrl-cmd-shift','e','App Expose',function()expose_app:toggleShow()end) --- ``` --TODO /// hs.drawing:setClickCallback(fn) -> drawingObject --TODO showExtraKeys --local print=function()end local min,max,ceil,abs,fmod,floor,random=math.min,math.max,math.ceil,math.abs,math.fmod,math.floor,math.random local next,type,ipairs,pairs,sformat,supper,ssub,tostring=next,type,ipairs,pairs,string.format,string.upper,string.sub,tostring local tinsert,tremove,tsort,setmetatable,rawset=table.insert,table.remove,table.sort,setmetatable,rawset local geom=require'hs.geometry' local drawing,image=require'hs.drawing',require'hs.image' local window,screen=require'hs.window',require'hs.screen' local windowfilter=require'hs.window.filter' local application,spaces=require'hs.application',require'hs.spaces' local eventtap=require'hs.eventtap' local newmodal=require'hs.hotkey'.modal.new local asciiOnly=require'hs.utf8'.asciiOnly local function stripUnicode(s) return asciiOnly(s):gsub('\\x[0-9A-F][0-9A-F]','') end local timer,logger=require'hs.timer',require'hs.logger' local log=logger.new('expose') local expose={setLogLevel=log.setLogLevel,getLogLevel=log.getLogLevel} --module local activeInstances={} -- these are updated in the background local modals={} -- modal hotkeys for selecting a hint; global state local activeInstance,fnreactivate -- function to reactivate the current instance (only 1 possible) after a space switch local modes,tap={} -- modes (minimize, close) for the current instance, and eventtap (glboals) local spacesWatcher,screenWatcher,screensChangedTimer,bgFitTimer -- global watchers local BG_FIT_INTERVAL=3 local BEHAVIOR=17 local function tlen(t) if not t then return 0 end local l=0 for _ in pairs(t) do l=l+1 end return l end local function isAreaEmpty(rect,w,windows,screenFrame) if not rect:inside(screenFrame) then return end for _,w2 in pairs(windows) do if w2~=w and w2.frame:intersect(rect).area>0 then return end end return true end local function sortedWindows(t,comp) local r={} for _,w in pairs(t) do r[#r+1]=w end tsort(r,comp) return r end local function fitWindows(self,screen,maxIterations) if not screen.dirty then return end local screenFrame=screen.frame local windows=screen.windows local nwindows=tlen(windows) if nwindows==0 then screen.dirty=nil return end local haveThumbs,isStrip=screen.thumbnails,screen.isStrip local optimalRatio=min(1,screenFrame.area/screen.totalOriginalArea) local accRatio=0 local minWidth,minHeight=self.ui.minWidth,self.ui.minHeight local longSide=max(screenFrame.w,screenFrame.h) local maxDisplace=longSide/20 local VEC00=geom.new(0,0) local edge=(isStrip and not haveThumbs) and screen.edge or VEC00 if not haveThumbs then -- "fast" mode for _,w in pairs(windows) do if w.dirty then w.frame:setw(minWidth):seth(minHeight):setcenter(w.originalFrame.center):fit(screenFrame) w.ratio=1 end w.weight=1/nwindows end accRatio=1 maxDisplace=max(minWidth,minHeight)*0.5 else local isVertical=screen.pos=='left' or screen.pos=='right' local s=(longSide*0.7/nwindows)/(isVertical and minHeight or minWidth) if isStrip and s<1 then minWidth,minHeight=minWidth*s,minHeight*s local t=sortedWindows(windows,isVertical and function(w1,w2) return w1.frame.y<w2.frame.y end or function(w1,w2) return w1.frame.x<w2.frame.x end) local inc=longSide/nwindows for i,w in ipairs(t) do -- if w.dirty then w.frame=geom.new(inc*(i-1)+screenFrame.x,inc*(i-1)+screenFrame.y,minWidth,minHeight) end if w.dirty then w.frame:setx(inc*(i-1)+screenFrame.x):sety(inc*(i-1)+screenFrame.y):fit(screenFrame) end w.ratio=w.frame.area/w.originalFrame.area w.weight=w.originalFrame.area/screen.totalOriginalArea accRatio=accRatio+w.ratio*w.weight end maxDisplace=max(minWidth,minHeight)*0.5 else for _,w in pairs(windows) do if w.dirty then w.frame=geom.copy(w.originalFrame):scale(min(1,optimalRatio*2)) w.ratio=min(1,optimalRatio*2) else w.ratio=w.frame.area/w.originalFrame.area end w.weight=w.originalFrame.area/screen.totalOriginalArea accRatio=accRatio+w.ratio*w.weight end end end local avgRatio=accRatio if nwindows==1 then maxIterations=1 end local didwork,iterations = true,0 local TESTFRAMES={{S=1,s=1,weight=3},{S=1.08,s=1.02,weight=1},{S=1.4,s=1.1,weight=0.3},{S=2.5,s=1.5,weight=0.02}} local MAXTEST=haveThumbs and (isStrip and 3 or #TESTFRAMES) or 3 while didwork and iterations<maxIterations do didwork,accRatio,iterations=false,0,iterations+1 local totalOverlaps=0 for _,w in pairs(windows) do local wframe,wratio=w.frame,w.ratio accRatio=accRatio+wratio*w.weight for i=MAXTEST,1,-1 do local test=TESTFRAMES[i] local ovs,tarea,weight={},0,test.weight for _,testframe in ipairs{geom.copy(wframe):scale(test.S,test.s),geom.copy(wframe):scale(test.s,test.S)} do for _,w2 in pairs(windows) do if w~=w2 then local intersection=testframe:intersect(w2.frame) local area=intersection.area if area>0 then tarea=tarea+area ovs[#ovs+1]=intersection end end end end if tarea>0 then local ac=geom.copy(VEC00) for _,ov in ipairs(ovs) do ac=ac+ov.center*(ov.area/tarea) end ac=(wframe.center-ac) * (tarea/wframe.area*weight*(isStrip and 3 or 3)) if ac.length>maxDisplace then ac.length=maxDisplace -- else -- ac:move(random(-10,10)/20,random(-10,10)/20) -- end elseif ac:floor()==VEC00 then ac:move(random(-10,10)/20,random(-10,10)/20) end wframe:move(ac):fit(screenFrame) -- if i<=2 then didwork=true end if i==1 then totalOverlaps=totalOverlaps+1 if haveThumbs then if wratio*1.25>avgRatio then --shrink wframe:scale(0.965) didwork=true else for _,w2 in pairs(windows) do w2.frame:scale(0.98) w2.ratio=w2.ratio*0.98 end accRatio=accRatio*0.98 end end end elseif i==2 then if haveThumbs and wratio<avgRatio*1.25 and wratio<optimalRatio then -- grow wframe:scale(1.04) if not didwork and wframe.w<screenFrame.w and wframe.h<screenFrame.h then didwork=true end end break end end wframe:move(edge):fit(screenFrame) w.frame=wframe w.ratio=wframe.area/w.originalFrame.area end didwork=didwork or totalOverlaps>0 local halting=iterations==maxIterations if not didwork or halting then local totalArea,totalRatio=0,0 for _,win in pairs(windows) do totalArea=totalArea+win.frame.area totalRatio=totalRatio+win.ratio win.frames[screen]=geom.copy(win.frame) win.dirty=nil end self.log.vf('%s: %s (%d iter), coverage %.2f%%, ratio %.2f%%/%.2f%%, %d overlaps',screen.name, didwork and 'halted' or 'optimal',iterations,totalArea/(screenFrame.area)*100,totalRatio/nwindows*100,optimalRatio*100,totalOverlaps) if not didwork then screen.dirty=nil end else avgRatio=accRatio end end end local uiGlobal = { textColor={0.9,0.9,0.9,1}, fontName='Lucida Grande', textSize=40, highlightColor={0.6,0.3,0.0,1}, backgroundColor={0.03,0.03,0.03,1}, closeModeModifier = 'shift', closeModeBackgroundColor={0.7,0.1,0.1,1}, minimizeModeModifier = 'alt', minimizeModeBackgroundColor={0.1,0.2,0.3,1}, onlyActiveApplication=false, includeNonVisible=true, nonVisibleStripPosition='bottom', nonVisibleStripBackgroundColor={0.03,0.1,0.15,1}, nonVisibleStripWidth=0.1, includeOtherSpaces=true, otherSpacesStripBackgroundColor={0.1,0.1,0.1,1}, otherSpacesStripWidth=0.2, otherSpacesStripPosition='top', showTitles=true, showThumbnails=true, thumbnailAlpha=0, highlightThumbnailAlpha=1, highlightThumbnailStrokeWidth=8, maxHintLetters = 2, fitWindowsMaxIterations=30, fitWindowsInBackground=false, fitWindowsInBackgroundMaxIterations=3, fitWindowsInBackgroundMaxRepeats=10, showExtraKeys=true, } local function getColor(t) if type(t)~='table' or t.red or not t[1] then return t else return {red=t[1] or 0,green=t[2] or 0,blue=t[3] or 0,alpha=t[4] or 1} end end --- hs.expose.ui --- Variable --- Allows customization of the expose behaviour and user interface --- --- This table contains variables that you can change to customize the behaviour of the expose and the look of the UI. --- To have multiple expose instances with different behaviour/looks, use the `uiPrefs` parameter for the constructor; --- the passed keys and values will override those in this table for that particular instance. --- --- The default values are shown in the right hand side of the assignements below. --- --- To represent color values, you can use: --- * a table {red=redN, green=greenN, blue=blueN, alpha=alphaN} --- * a table {redN,greenN,blueN[,alphaN]} - if omitted alphaN defaults to 1.0 --- where redN, greenN etc. are the desired value for the color component between 0.0 and 1.0 --- --- * `hs.expose.ui.textColor = {0.9,0.9,0.9}` --- * `hs.expose.ui.fontName = 'Lucida Grande'` --- * `hs.expose.ui.textSize = 40` - in screen points --- * `hs.expose.ui.highlightColor = {0.8,0.5,0,0.1}` - highlight color for candidate windows --- * `hs.expose.ui.backgroundColor = {0.30,0.03,0.03,1}` --- * `hs.expose.ui.closeModeModifier = 'shift'` - "close mode" engaged while pressed (or 'cmd','ctrl','alt') --- * `hs.expose.ui.closeModeBackgroundColor = {0.7,0.1,0.1,1}` - background color while "close mode" is engaged --- * `hs.expose.ui.minimizeModeModifier = 'alt'` - "minimize mode" engaged while pressed --- * `hs.expose.ui.minimizeModeBackgroundColor = {0.1,0.2,0.3,1}` - background color while "minimize mode" is engaged --- * `hs.expose.ui.onlyActiveApplication = false` -- only show windows of the active application --- * `hs.expose.ui.includeNonVisible = true` - include minimized and hidden windows --- * `hs.expose.ui.nonVisibleStripBackgroundColor = {0.03,0.1,0.15,1}` - contains hints for non-visible windows --- * `hs.expose.ui.nonVisibleStripPosition = 'bottom'` - set it to your Dock position ('bottom', 'left' or 'right') --- * `hs.expose.ui.nonVisibleStripWidth = 0.1` - 0..0.5, width of the strip relative to the screen --- * `hs.expose.ui.includeOtherSpaces = true` - include windows in other Mission Control Spaces --- * `hs.expose.ui.otherSpacesStripBackgroundColor = {0.1,0.1,0.1,1}` --- * `hs.expose.ui.otherSpacesStripPosition = 'top'` --- * `hs.expose.ui.otherSpacesStripWidth = 0.2` --- * `hs.expose.ui.showTitles = true` - show window titles --- * `hs.expose.ui.showThumbnails = true` - show window thumbnails --- * `hs.expose.ui.thumbnailAlpha = 0` - 0..1, opacity for thumbnails --- * `hs.expose.ui.highlightThumbnailAlpha = 1` - 0..1, opacity for thumbnails of candidate windows --- * `hs.expose.ui.highlightThumbnailStrokeWidth = 8` - thumbnail frame thickness for candidate windows --- * `hs.expose.ui.maxHintLetters = 2` - if necessary, hints longer than this will be disambiguated with digits --- * `hs.expose.ui.fitWindowsMaxIterations = 30` -- lower is faster, but higher chance of overlapping thumbnails --- * `hs.expose.ui.fitWindowsInBackground = false` -- improves responsivenss, but can affect the rest of the config -- TODO * `hs.expose.ui.fitWindowsMaxIterations = 3` -- TODO * `hs.expose.ui.showExtraKeys = true` -- show non-hint keybindings at the top of the screen expose.ui=setmetatable({},{ __newindex=function(t,k,v) uiGlobal[k]=getColor(v) end, __index=function(t,k)return getColor(uiGlobal[k])end, }) local function getHints(self,windows) local function hasSubHints(t) for k,v in pairs(t) do if type(k)=='string' and #k==1 then return true end end end local hints={apps={}} local reservedHint=1 for _,screen in pairs(self.screens) do for id,w in pairs(screen.windows) do if not windows or windows[id] then local appname=stripUnicode(w.appname or '') while #appname<self.ui.maxHintLetters do appname=appname..tostring(reservedHint) reservedHint=reservedHint+1 end w.appname=appname hints[#hints+1]=w hints.apps[appname]=(hints.apps[appname] or 0)+1 w.hint='' end end end local function normalize(t,n) --change in place local _ while #t>0 and tlen(t.apps)>0 do if n>self.ui.maxHintLetters or (tlen(t.apps)==1 and n>1 and not hasSubHints(t)) then -- last app remaining for this hint; give it digits local app=next(t.apps) t.apps={} if #t>1 then --fix so that accumulation is possible local total=#t for i,w in ipairs(t) do t[i]=nil local c=tostring(total<10 and i-(t.m1 and 1 or 0) or floor(i/10)) t[c]=t[c] or {} tinsert(t[c],w) if #t[c]>1 then t[c].apps={app=#t[c]} t[c].m1=c~='0' end w.hint=w.hint..c end end else -- find the app with least #windows and add a hint to it local minfound,minapp=9999 for appname,nwindows in pairs(t.apps) do if nwindows<minfound then minfound=nwindows minapp=appname end end t.apps[minapp]=nil local c=supper(ssub(minapp,n,n)) --TODO what if not long enough t[c]=t[c] or {apps={}} t[c].apps[minapp]=minfound local i=1 while i<=#t do if t[i].appname==minapp then local w=tremove(t,i) tinsert(t[c],w) w.hint=w.hint..c else i=i+1 end end end end for c,subt in pairs(t) do if type(c)=='string' and #c==1 then normalize(subt,n+1) end end end normalize(hints,1) return hints end local function updateHighlights(ui,hints,subtree,entering,show) for c,t in pairs(hints) do if t==subtree then updateHighlights(ui,t,nil,entering,true) elseif type(c)=='string' and #c==1 then local w=t[1] if w then if ui.showThumbnails then if show then w.thumb:setAlpha(ui.highlightThumbnailAlpha) w.highlight:show() else w.thumb:setAlpha(ui.thumbnailAlpha) w.highlight:hide() end end if ui.showTitles then if show then w.titlerect:show() w.titletext:show() else w.titletext:hide() w.titlerect:hide() end end if show then w.hintrect:show() w.curhint=ssub(' ',1,#modals+(entering and 0 or -1))..ssub(w.hint,#modals+(entering and 1 or 0)) w.hinttext:setText(w.curhint):show() w.icon:show() else w.hinttext:hide() w.hintrect:hide() w.icon:hide() end w.visible=show else updateHighlights(ui,t,subtree,entering,show) end end end end local function setMode(self,k,mode) if modes[k]==mode then return end modes[k]=mode for s,screen in pairs(self.screens) do if modes[k] then screen.bg:setFillColor(k=='close' and self.ui.closeModeBackgroundColor or self.ui.minimizeModeBackgroundColor) elseif s=='inv' then screen.bg:setFillColor(self.ui.nonVisibleStripBackgroundColor) elseif type(s)=='string' then screen.bg:setFillColor(self.ui.otherSpacesStripBackgroundColor) else screen.bg:setFillColor(self.ui.backgroundColor) end end end local enter--,setThumb local function exit(self) self.log.vf('exit modal for hint #%d',#modals) tremove(modals).modal:exit() if #modals>0 then updateHighlights(self.ui,modals[#modals].hints,nil,false,true) return enter(self) end -- exit all local showThumbs,showTitles=self.ui.showThumbnails,self.ui.showTitles for _,s in pairs(self.screens) do for _,w in pairs(s.windows) do if showThumbs then w.thumb:hide() w.highlight:hide() end if showTitles then w.titletext:hide() w.titlerect:hide() end if w.icon then w.icon:hide() w.hinttext:hide() w.hintrect:hide() end -- if w.rect then w.rect:delete() end if w.textratio then w.textratio:hide() end end s.bg:hide() end tap:stop() fnreactivate,activeInstance=nil,nil -- return exitAll(self) -- end -- return enter(self) end local function exitAll(self,toFocus) self.log.d('exiting') while #modals>0 do exit(self) end if toFocus then self.log.i('focusing',toFocus) -- if toFocus:application():bundleID()~='com.apple.finder' then -- toFocus:focus() -- else timer.doAfter(0.25,function()toFocus:focus()end) -- el cap bugs out (desktop "floats" on top) if done directly -- end end end enter=function(self,hints) if not hints then modals[#modals].modal:enter() elseif hints[1] then --got a hint updateHighlights(self.ui,modals[#modals].hints,nil,false,true) local h,w=hints[1],hints[1].window local app,appname=w:application(),h.appname if modes.close then self.log.f('closing window (%s)',appname) w:close() hints[1]=nil -- close app if app then if #app:allWindows()==0 then self.log.f('quitting application %s',appname) app:kill() end end -- updateHighlights(self.ui,modals[#modals].hints,nil,false,true) return enter(self) elseif modes.min then self.log.f('toggling window minimized/hidden (%s)',appname) if w:isMinimized() then w:unminimize() elseif app:isHidden() then app:unhide() else w:minimize() end -- updateHighlights(self.ui,modals[#modals].hints,nil,false,true) return enter(self) else self.log.f('focusing window (%s)',appname) if w:isMinimized() then w:unminimize() end -- w:focus() return exitAll(self,w) end else if modals[#modals] then self.log.vf('exit modal %d',#modals) modals[#modals].modal:exit() end local modal=newmodal() modals[#modals+1]={modal=modal,hints=hints} modal:bind({},'escape',function()return exitAll(self)end) modal:bind({},'delete',function()return exit(self)end) for c,t in pairs(hints) do if type(c)=='string' and #c==1 then modal:bind({},c,function()updateHighlights(self.ui,hints,t,true) enter(self,t) end) modal:bind({self.ui.closeModeModifier},c,function()updateHighlights(self.ui,hints,t,true) enter(self,t) end) modal:bind({self.ui.minimizeModeModifier},c,function()updateHighlights(self.ui,hints,t,true) enter(self,t) end) end end self.log.vf('enter modal for hint #%d',#modals) modal:enter() end end local function spaceChanged() if not activeInstance then return end local temp=fnreactivate exitAll(activeInstance) return temp() end local function setThumbnail(w,screenFrame,thumbnails,titles,ui,bg) local wframe=w.frame if thumbnails then w.thumb:setFrame(wframe):orderAbove(bg) w.highlight:setFrame(wframe):orderAbove(w.thumb) end -- local hwidth=#w.hint*ui.hintLetterWidth local hintWidth=drawing.getTextDrawingSize(w.hint or '',ui.hintTextStyle).w local hintHeight=ui.hintHeight local padding=hintHeight*0.1 local br=geom.copy(wframe):seth(hintHeight):setw(hintWidth+hintHeight+padding*4):setcenter(wframe.center):fit(screenFrame) local tr=geom.copy(br):setw(hintWidth+padding*2):move(hintHeight+padding*2,0) local ir=geom.copy(br):setw(hintHeight):move(padding,0) w.hintrect:setFrame(br):orderAbove(w.highlight or bg) w.hinttext:setFrame(tr):orderAbove(w.hintrect):setText(w.curhint or w.hint or ' ') w.icon:setFrame(ir):orderAbove(w.hintrect) if titles then local titleWidth=min(wframe.w,w.titleWidth) local tr=geom.copy(wframe):seth(ui.titleHeight):setw(titleWidth+8) :setcenter(wframe.center):move(0,ui.hintHeight):fit(screenFrame) w.titlerect:setFrame(tr):orderAbove(w.highlight or bg) w.titletext:setFrame(tr):orderAbove(w.titlerect) end end local UNAVAILABLE=image.imageFromName'NSStopProgressTemplate' local function showExpose(self,windows,animate,alt_algo) -- animate is waaay to slow: don't bother -- alt_algo sometimes performs better in terms of coverage, but (in the last half-broken implementation) always reaches maxIterations -- alt_algo TL;DR: much slower, don't bother if not self.running then self.log.i('instance not running, cannot show expose') return end self.log.d('activated') local hints=getHints(self,windows) local ui=self.ui for sid,s in pairs(self.screens) do if animate and ui.showThumbnails then s.bg:show():orderBelow() for _,w in pairs(s.windows) do w.thumb = drawing.image(w.originalFrame,window.snapshotForID(w.id)):show() --FIXME end end fitWindows(self,s,ui.fitWindowsMaxIterations,animate and 0 or nil,alt_algo) local bg,screenFrame,thumbnails,titles=s.bg:show(),s.frame,s.thumbnails,ui.showTitles for id,w in pairs(s.windows) do if not windows or windows[id] then setThumbnail(w,screenFrame,thumbnails,titles,ui,bg) -- if showThumbs then w.thumb:show() w.highlight:show() end -- if showTitles then w.titlerect:show() w.titletext:show() end -- w.hintrect:show() w.hinttext:show() w.icon:show() if w.textratio then w.textratio:show() end end end end tap=eventtap.new({eventtap.event.types.flagsChanged},function(e) local function hasOnly(t,mod) local n=next(t) if n~=mod then return end if not next(t,n) then return true end end setMode(self,'close',hasOnly(e:getFlags(),self.ui.closeModeModifier)) setMode(self,'min',hasOnly(e:getFlags(),self.ui.minimizeModeModifier)) end) tap:start() enter(self,hints) end --- hs.expose:toggleShow([activeApplication]) --- Method --- Toggles the expose - see `hs.expose:show()` and `hs.expose:hide()` --- --- Parameters: --- * activeApplication - (optional) if true, only show windows of the active application (within the scope of the instance windowfilter); otherwise show all windows allowed by the instance windowfilter --- --- Returns: --- * None --- --- Notes: --- * passing `true` for `activeApplication` will simply hide hints/thumbnails for applications other than the active one, without recalculating the hints layout; conversely, setting `onlyActiveApplication=true` for an expose instance's `ui` will calculate an optimal layout for the current active application's windows --- * Completing a hint will exit the expose and focus the selected window. --- * Pressing esc will exit the expose and with no action taken. --- * If shift is being held when a hint is completed (the background will be red), the selected window will be closed. If it's the last window of an application, the application will be closed. --- * If alt is being held when a hint is completed (the background will be blue), the selected window will be minimized (if visible) or unminimized/unhidden (if minimized or hidden). --- --- Returns: --- * None function expose:toggleShow(...) if activeInstance then return self:hide() else return self:show(...) end end --- hs.expose:hide() --- Method --- Hides the expose, if visible, and exits the modal mode --- --- Parameters: --- * None --- --- Returns: --- * None --- --- Notes: --- * Call this function if you need to make sure the modal is exited without waiting for the user to press `esc` function expose:hide() if activeInstance then return exitAll(activeInstance) end end --- hs.expose:show([activeApplication]) --- Method --- Shows an expose-like screen with modal keyboard hints for switching to, closing or minimizing/unminimizing windows. --- --- Parameters: --- * activeApplication - (optional) if true, only show windows of the active application (within the --- scope of the instance windowfilter); otherwise show all windows allowed by the instance windowfilter --- --- Returns: --- * None --- --- Notes: --- * passing `true` for `activeApplication` will simply hide hints/thumbnails for applications other --- than the active one, without recalculating the hints layout; conversely, setting `onlyActiveApplication=true` --- for an expose instance's `ui` will calculate an optimal layout for the current active application's windows --- * Completing a hint will exit the expose and focus the selected window. --- * Pressing esc will exit the expose and with no action taken. --- * If shift is being held when a hint is completed (the background will be red), the selected --- window will be closed. If it's the last window of an application, the application will be closed. --- * If alt is being held when a hint is completed (the background will be blue), the selected --- window will be minimized (if visible) or unminimized/unhidden (if minimized or hidden). local function getApplicationWindows() local a=application.frontmostApplication() if not a then log.w('cannot get active application') return end local r={} for _,w in ipairs(a:allWindows()) do r[w:id()]=w end return r end function expose:show(currentApp,...) if activeInstance then return end activeInstance=self fnreactivate=function()return self:show(currentApp)end return showExpose(self,currentApp and getApplicationWindows() or nil,...) end local bgRepeats=0 local function bgFitWindows() local rep for self in pairs(activeInstances) do local DEBUG,DEBUG_TIME=self.ui.DEBUG if DEBUG then DEBUG_TIME=timer.secondsSinceEpoch() end local iters=self.ui.fitWindowsInBackgroundMaxIterations --3--math.random(9) if self.dirty then for _,screen in pairs(self.screens) do if screen.dirty then fitWindows(self,screen,iters) rep=rep or screen.dirty end if activeInstance==self or DEBUG then for _,w in pairs(screen.windows) do if w.visible then setThumbnail(w,screen.frame,screen.thumbnails,self.ui.showTitles,self.ui,screen.bg) end end end end end if DEBUG then print(math.floor((timer.secondsSinceEpoch()-DEBUG_TIME)/iters*1000)..'ms per iteration - '..iters..' total') end end bgRepeats=bgRepeats-1 if rep and bgRepeats>0 then bgFitTimer:start() end end function expose.STOP() bgFitTimer:stop() for i in pairs(activeInstances) do for _,s in pairs(i.screens) do for _,w in pairs(s.windows) do if w.thumb then w.thumb:hide() w.highlight:hide() end if w.titletext then w.titletext:hide() w.titlerect:hide() end if w.icon then w.icon:hide() w.hinttext:hide() w.hintrect:hide() end -- if w.rect then w.rect:delete() end if w.textratio then w.textratio:hide() end end end end end local function startBgFitWindows(ui) if activeInstance and not ui.fitWindowsInBackground then bgRepeats=2 return bgFitTimer:start(0.05) end bgRepeats=ui.fitWindowsInBackgroundMaxRepeats if bgRepeats>0 and ui.fitWindowsInBackground then bgFitTimer:start() end end local function windowRejected(self,win,appname,screen) local id=win:id() local w=self.windows[id] if not w then return end if screen.windows[id] then self.log.vf('window %s (%d) <- %s',appname,id,screen.name) screen.totalOriginalArea=screen.totalOriginalArea-w.originalFrame.area screen.windows[id]=nil screen.dirty=true return startBgFitWindows(self.ui) end end local function windowDestroyed(self,win,appname,screen) local id=win:id() local w=self.windows[id] if not w then return end windowRejected(self,win,appname,screen) if w.thumb then w.thumb:delete() w.highlight:delete() end if w.titletext then w.titletext:delete() w.titlerect:delete() end w.hintrect:delete() w.hinttext:delete() w.icon:delete() self.windows[id]=nil self.dirty=true end local function getTitle(self,w) local title=w.window:title() or ' ' w.titleWidth=drawing.getTextDrawingSize(title,self.ui.titleTextStyle).w w.titletext:setText(title) end local function windowAllowed(self,win,appname,screen) -- print('addwindow '..appname..' to '..screen.name) local id=win:id() local w=self.windows[id] if w then local prevScreen=w.screen w.screen=screen -- set new screen windowRejected(self,win,appname,prevScreen) --remove from previous screen local cached=w.frames[screen] self.log.vf('window %s (%d) -> %s%s',appname,id,screen.name,cached and ' [CACHED]' or '') w.frame=geom.copy(cached or w.originalFrame) w.dirty=not cached screen.windows[id]=w screen.totalOriginalArea=screen.totalOriginalArea+w.originalFrame.area screen.dirty=screen.dirty or not cached or true return startBgFitWindows(self.ui) end self.log.df('window %s (%d) created',appname,id) local ui=self.ui local f=win:frame() -- if not screen.thumbnails then f.aspect=1 local side=ui.minWidth f.area=side*side end local w={window=win,appname=appname,originalFrame=geom.copy(f),frame=f,ratio=1,frames={},id=id,screen=screen} if ui.showThumbnails then w.thumb=drawing.image(f,window.snapshotForID(id) or UNAVAILABLE):setAlpha(ui.highlightThumbnailAlpha) :setBehavior(BEHAVIOR) w.highlight=drawing.rectangle(f):setFill(false) :setStrokeWidth(ui.highlightThumbnailStrokeWidth):setStrokeColor(ui.highlightColor):setBehavior(BEHAVIOR) -- :orderAbove(w.thumb) end if ui.showTitles then w.titlerect=drawing.rectangle(f):setFill(true):setFillColor(ui.highlightColor) :setStroke(false):setRoundedRectRadii(ui.textSize/8,ui.textSize/8):setBehavior(BEHAVIOR) -- :orderAbove(w.thumb) w.titletext=drawing.text(f,' '):setTextStyle(ui.titleTextStyle):setBehavior(BEHAVIOR)--:orderAbove(w.titlerect) getTitle(self,w) end w.hintrect=drawing.rectangle(f):setFill(true):setFillColor(ui.highlightColor) :setStroke(true):setStrokeWidth(min(ui.textSize/10,ui.highlightThumbnailStrokeWidth)):setStrokeColor(ui.highlightColor) :setRoundedRectRadii(ui.textSize/4,ui.textSize/4):setBehavior(BEHAVIOR) -- :orderAbove(w.thumb) w.hinttext=drawing.text(f,' '):setTextStyle(ui.hintTextStyle):setBehavior(BEHAVIOR)--:orderAbove(w.hintrect) local bid=win:application():bundleID() local icon=bid and image.imageFromAppBundle(bid) or UNAVAILABLE w.icon=drawing.image(f,icon):setBehavior(BEHAVIOR)--:orderAbove(w.hintrect) w.textratio=drawing.text(f,''):setTextColor{red=1,alpha=1,blue=0,green=0} w.dirty=true screen.totalOriginalArea=screen.totalOriginalArea+f.area screen.windows[id]=w self.windows[id]=w screen.dirty=true self.dirty=true return startBgFitWindows(ui) end local function getSnapshot(w,id) if w.thumb then w.thumb:setImage(window.snapshotForID(id) or UNAVAILABLE) end end local function windowUnfocused(self,win,appname,screen) local id=win:id() if screen.windows then local w=screen.windows[id] if w then return getSnapshot(w,id) end end end local function windowMoved(self,win,appname,screen) local id=win:id() local w=screen.windows[id] if not w then return end local frame=win:frame() w.frame=frame w.originalFrame=frame w.frames={}--[screen]=nil screen.dirty=true w.dirty=true getSnapshot(w,id) return startBgFitWindows(self.ui) end local function titleChanged(self,win,appname,screen) if not self.ui.showTitles then return end local id=win:id() local w=screen.windows[id] if w then return getTitle(self,w) end end local function resume(self) if not activeInstances[self] then self.log.i('instance stopped, ignoring resume') return self end -- subscribe for _,s in pairs(self.screens) do s.callbacks={ [windowfilter.windowAllowed]=function(win,a) self.log.vf('%s: window %s allowed',s.name,a) return windowAllowed(self,win,a,s) end, [windowfilter.windowRejected]=function(win,a) self.log.vf('%s: window %s rejected',s.name,a) return windowRejected(self,win,a,s) end, [windowfilter.windowDestroyed]=function(win,a) self.log.vf('%s: window %s destroyed',s.name,a) return windowDestroyed(self,win,a,s) end, [windowfilter.windowMoved]=function(win,a) self.log.vf('%s: window %s moved',s.name,a) return windowMoved(self,win,a,s) end, [windowfilter.windowUnfocused]=function(win,a) return windowUnfocused(self,win,a,s) end, [windowfilter.windowTitleChanged]=function(win,a) return titleChanged(self,win,a,s) end, } s.wf:subscribe(s.callbacks) for _,w in ipairs(s.wf:getWindows()) do windowAllowed(self,w,w:application():name(),s) end end self.running=true self.log.i'instance resumed' return self end local function pause(self) if not activeInstances[self] then self.log.i('instance stopped, ignoring pause') return self end -- unsubscribe if activeInstance==self then exitAll(self) end for _,s in pairs(self.screens) do s.wf:unsubscribe(s.callbacks) end self.running=nil self.log.i'instance paused' return self end local function deleteScreens(self) for id,s in pairs(self.screens) do s.wf:delete() -- remove previous wfilters s.bg:delete() end self.screens={} for id,w in pairs(self.windows) do if w.thumb then w.thumb:delete() w.highlight:delete() end if w.titletext then w.titletext:delete() w.titlerect:delete() end w.hintrect:delete() w.hinttext:delete() w.icon:delete() end self.windows={} end local function makeScreens(self) self.log.i'populating screens' local wfLogLevel=windowfilter.getLogLevel() deleteScreens(self) windowfilter.setLogLevel('warning') -- gather screens local activeApplication=self.ui.onlyActiveApplication and true or nil local hsscreens=screen.allScreens() local screens={} for _,scr in ipairs(hsscreens) do -- populate current screens local sid,sname,sframe=scr:id(),scr:name(),scr:frame() if sid and sname then local wf=windowfilter.copy(self.wf,'wf-'..self.__name..'-'..sid):setDefaultFilter{} :setOverrideFilter{visible=true,currentSpace=true,allowScreens=sid,activeApplication=activeApplication}:keepActive() screens[sid]={name=sname,wf=wf,windows={},frame=sframe,totalOriginalArea=0,thumbnails=self.ui.showThumbnails,edge=geom.new(0,0), bg=drawing.rectangle(sframe):setFill(true):setFillColor(self.ui.backgroundColor):setBehavior(BEHAVIOR)} self.log.df('screen %s',scr:name()) end end if not next(screens) then self.log.w'no valid screens found' windowfilter.setLogLevel(wfLogLevel) return end if self.ui.includeNonVisible then do -- hidden windows strip local msid=hsscreens[1]:id() local f=screens[msid].frame local pos=self.ui.nonVisibleStripPosition local width=self.ui.nonVisibleStripWidth local swidth=f[(pos=='left' or pos=='right') and 'w' or 'h'] if width<1 then width=swidth*width end local thumbnails=self.ui.showThumbnails and width/swidth>=0.1 local invf,edge=geom.copy(f),geom.new(0,0) -- local dock = execute'defaults read com.apple.dock "orientation"':sub(1,-2) -- calling execute takes 100ms every time, make this a ui preference instead if pos=='left' then f.w=f.w-width f.x=f.x+width invf.w=width edge:move(-200,0) elseif pos=='right' then f.w=f.w-width invf.x=f.x+f.w invf.w=width edge:move(200,0) else pos='bottom' f.h=f.h-width invf.y=f.y+f.h invf.h=width edge:move(0,200) end --bottom local wf=windowfilter.copy(self.wf,'wf-'..self.__name..'-invisible'):setDefaultFilter{} :setOverrideFilter{visible=false,activeApplication=activeApplication}:keepActive() screens.inv={name='invisibleWindows',isStrip=true,wf=wf,windows={},totalOriginalArea=0,frame=invf,thumbnails=thumbnails,edge=edge,pos=pos, bg=drawing.rectangle(invf):setFill(true):setFillColor(self.ui.nonVisibleStripBackgroundColor):setBehavior(BEHAVIOR)} screens[msid].bg:setFrame(f) self.log.d'invisible windows' end end if self.ui.includeOtherSpaces then local oscreens={} for sid,screen in pairs(screens) do -- other spaces strip if not screen.isStrip then local f=screen.frame local othf,edge=geom.copy(f),geom.new(0,0) local pos=self.ui.otherSpacesStripPosition local width=self.ui.otherSpacesStripWidth local fwidth=f[(pos=='left' or pos=='right') and 'w' or 'h'] if width<1 then width=fwidth*width end local thumbnails=self.ui.showThumbnails and width/fwidth>=0.1 if pos=='left' then f.w=f.w-width f.x=f.x+width othf.w=width edge:move(-200,0) elseif pos=='right' then f.w=f.w-width othf.x=f.x+f.w othf.w=width edge:move(200,0) elseif pos=='bottom' then f.h=f.h-width othf.y=f.y+f.h othf.h=width edge:move(0,200) else pos='top' f.h=f.h-width othf.y=f.y othf.h=width f.y=f.y+width edge:move(0,-200) end -- top local wf=windowfilter.copy(self.wf,'wf-'..self.__name..'-o'..sid):setDefaultFilter{} :setOverrideFilter{visible=true,currentSpace=false,allowScreens=sid,activeApplication=activeApplication}:keepActive() local name='other/'..screen.name oscreens['o'..sid]={name=name,isStrip=true,wf=wf,windows={},totalOriginalArea=0,frame=othf,thumbnails=thumbnails,edge=edge,pos=pos, bg=drawing.rectangle(othf):setFill(true):setFillColor(self.ui.otherSpacesStripBackgroundColor):setBehavior(BEHAVIOR)} screen.bg:setFrame(f) self.log.df('screen %s',name) end end for sid,scr in pairs(oscreens) do screens[sid]=scr end end for _,screen in pairs(screens) do screen.frame:move(10,10):setw(screen.frame.w-20):seth(screen.frame.h-20) -- margin end self.screens=screens windowfilter.setLogLevel(wfLogLevel) end local function processScreensChanged() for self in pairs(activeInstances) do makeScreens(self) end for self in pairs(activeInstances) do resume(self) end end expose.screensChangedDelay=10 local function screensChanged() log.d('screens changed, pausing active instances') for self in pairs(activeInstances) do pause(self) end screensChangedTimer:start() end local function start(self) if activeInstances[self] then self.log.i('instance already started, ignoring') return self end activeInstances[self]=true if not screenWatcher then log.i('starting global watchers') screenWatcher=screen.watcher.new(screensChanged):start() screensChangedTimer=timer.delayed.new(expose.screensChangedDelay,processScreensChanged) spacesWatcher=spaces.watcher.new(spaceChanged):start() bgFitTimer=timer.delayed.new(BG_FIT_INTERVAL,bgFitWindows) end self.log.i'instance started' makeScreens(self) return resume(self) end local function stop(self) if not activeInstances[self] then self.log.i('instance already stopped, ignoring') return self end pause(self) deleteScreens(self) activeInstances[self]=nil self.log.i'instance stopped' if not next(activeInstances) then if screenWatcher then log.i('stopping global watchers') screenWatcher:stop() screenWatcher=nil screensChangedTimer:stop() screensChangedTimer=nil spacesWatcher:stop() spacesWatcher=nil bgFitTimer:stop() bgFitTimer=nil end end return self end function expose.stop(self) if self then return stop(self) end for i in pairs(activeInstances) do stop(i) end end -- return onScreenWindows, invisibleWindows, otherSpacesWindows local inUiPrefs -- avoid recursion local function setUiPrefs(self) inUiPrefs=true local ui=self.ui ui.hintTextStyle={font=ui.fontName,size=ui.textSize,color=ui.textColor} ui.titleTextStyle={font=ui.fontName,size=max(10,ui.textSize/2),color=ui.textColor,lineBreak='truncateTail'} ui.hintHeight=drawing.getTextDrawingSize('O',ui.hintTextStyle).h ui.titleHeight=drawing.getTextDrawingSize('O',ui.titleTextStyle).h local hintWidth=drawing.getTextDrawingSize(ssub('MMMMMMM',1,ui.maxHintLetters+1),ui.hintTextStyle).w ui.minWidth=hintWidth+ui.hintHeight*1.4--+padding*4 ui.minHeight=ui.hintHeight*2 -- ui.noThumbsFrameSide=ui.minWidth-- ui.textSize*4 inUiPrefs=nil end --- hs.expose.new([windowfilter[, uiPrefs][, logname, [loglevel]]]) -> hs.expose object --- Constructor --- Creates a new hs.expose instance; it can use a windowfilter to determine which windows to show --- --- Parameters: --- * windowfilter - (optional) if omitted or nil, use the default windowfilter; otherwise it must be a windowfilter --- instance or constructor table --- * uiPrefs - (optional) a table to override UI preferences for this instance; its keys and values --- must follow the conventions described in `hs.expose.ui`; this parameter allows you to have multiple --- expose instances with different behaviour (for example, with and without thumbnails and/or titles) --- using different hotkeys --- * logname - (optional) name of the `hs.logger` instance for the new expose; if omitted, the class logger will be used --- * loglevel - (optional) log level for the `hs.logger` instance for the new expose --- --- Returns: --- * the new instance --- --- Notes: --- * by default expose will show invisible windows and (unlike the OSX expose) windows from other spaces; use --- `hs.expose.ui` or the `uiPrefs` parameter to change these behaviours. function expose.new(wf,uiPrefs,logname,loglevel) if type(uiPrefs)=='string' then loglevel=logname logname=uiPrefs uiPrefs={} end if uiPrefs==nil then uiPrefs={} end if type(uiPrefs)~='table' then error('uiPrefs must be a table',2) end local self = setmetatable({screens={},windows={},__name=logname or 'expose'},{__index=expose,__gc=stop}) self.log=logname and logger.new(logname,loglevel) or log self.setLogLevel=self.log.setLogLevel self.getLogLevel=self.log.getLogLevel if wf==nil then self.log.i('new expose instance, using default windowfilter') wf=windowfilter.default else self.log.i('new expose instance using windowfilter instance') wf=windowfilter.new(wf) end --uiPrefs self.ui=setmetatable({},{ __newindex=function(t,k,v)rawset(self.ui,k,getColor(v))if not inUiPrefs then return setUiPrefs(self)end end, __index=function(t,k)return getColor(uiGlobal[k]) end, }) for k,v in pairs(uiPrefs) do rawset(self.ui,k,getColor(v)) end setUiPrefs(self) -- local wfLogLevel=windowfilter.getLogLevel() -- windowfilter.setLogLevel('warning') -- self.wf=windowfilter.copy(wf):setDefaultFilter{} -- all windows; include fullscreen and invisible even for default wf -- windowfilter.setLogLevel(wfLogLevel) self.wf=wf return start(self) end return expose
mit
TheAnswer/FirstTest
bin/scripts/object/installation/battlefield/destructible/objects.lua
1
87214
--Copyright (C) 2009 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version --which carries forward this exception. object_installation_battlefield_destructible_shared_antenna_tatt_style_1 = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/thm_imprv_tato_antenna_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/client_shared_antenna_tatt_style_1.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:antenna", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:antenna", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_column.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_antenna_tatt_style_1, 1010668003) object_installation_battlefield_destructible_shared_antenna_tatt_style_2 = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/thm_imprv_tato_antenna_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/client_shared_antenna_tatt_style_2.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:antenna", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:antenna", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_column.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_antenna_tatt_style_2, 3878304116) object_installation_battlefield_destructible_shared_battlefield_constructor = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/thm_corl_power_bubble_node.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/client_shared_bfield_constructor.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:battlefield_constructor", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:battlefield_constructor", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_column.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_battlefield_constructor, 2493653890) object_installation_battlefield_destructible_shared_bfield_banner_freestand_impl = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/thm_all_impl_banner_freestand_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:imperial_banner", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:imperial_banner", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_column.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_banner_freestand_impl, 2039684051) object_installation_battlefield_destructible_shared_bfield_banner_freestand_rebl = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/thm_all_rebl_banner_freestand_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:rebel_banner", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:rebel_banner", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_column.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_banner_freestand_rebl, 520990553) object_installation_battlefield_destructible_shared_bfield_base_gate_impl = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/mun_all_military_base_gate_impl_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:base_gate", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:gate", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/battlefield/shared_destructible_base.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_base_gate_impl, 2617968651) object_installation_battlefield_destructible_shared_bfield_column_imperial = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/mun_all_military_column_huge_impl_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:strong_column", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:column", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_column.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_column_imperial, 2654774665) object_installation_battlefield_destructible_shared_bfield_column_impl_med = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/mun_all_military_column_med_impl_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:strong_column", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:column", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_column.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_column_impl_med, 1286651525) object_installation_battlefield_destructible_shared_bfield_column_impl_weak = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/mun_all_military_column_weak_impl_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:column", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:column", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_column.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_column_impl_weak, 2786325575) object_installation_battlefield_destructible_shared_bfield_column_rebel = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/mun_all_military_column_huge_rebl_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:strong_column", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:column", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_column.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_column_rebel, 3243521441) object_installation_battlefield_destructible_shared_bfield_column_rebl_med = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/mun_all_military_column_med_rebl_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:strong_column", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:column", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_column.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_column_rebl_med, 4256393755) object_installation_battlefield_destructible_shared_bfield_column_rebl_strong = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/mun_all_military_column_strong_rebl_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:strong_column", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:strong_column", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_column.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_column_rebl_strong, 2202504027) object_installation_battlefield_destructible_shared_bfield_column_rebl_weak = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/mun_all_military_column_weak_rebl_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:column", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:column", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_column.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_column_rebl_weak, 473496206) object_installation_battlefield_destructible_shared_bfield_column_strong = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/mun_all_military_column_strong_impl_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:strong_column", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:strong_column", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_column.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_column_strong, 3725708837) object_installation_battlefield_destructible_shared_bfield_gungan_cleft_wall_lg = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/thm_nboo_gungan_cleft_wall_lg_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:gungan_cleft_wall", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:gungan_cleft_wall", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_wall.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_gungan_cleft_wall_lg, 3467497655) object_installation_battlefield_destructible_shared_bfield_gungan_damaged_narrow_arch = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/thm_nboo_gungan_damaged_narrow_arch_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:gungan_damaged_narrow_arch", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:gungan_damaged_narrow_arch", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_wall.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_gungan_damaged_narrow_arch, 2072399894) object_installation_battlefield_destructible_shared_bfield_gungan_damaged_wall_lg = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/thm_nboo_gungan_damaged_wall_lg_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:gungan_damaged_wall", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:gungan_damaged_wall", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_wall.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_gungan_damaged_wall_lg, 3127732580) object_installation_battlefield_destructible_shared_bfield_gungan_damaged_wide_arch = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/thm_nboo_gungan_damaged_wide_arch_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:gungan_damaged_wide_arch", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:gungan_damaged_wide_arch", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_wall.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_gungan_damaged_wide_arch, 3148938953) object_installation_battlefield_destructible_shared_bfield_gungan_pillar_damaged = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/thm_nboo_gungan_pillar_damaged_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:gungan_pillar_damaged", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:gungan_pillar_damaged", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_column.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_gungan_pillar_damaged, 2861241123) object_installation_battlefield_destructible_shared_bfield_gungan_pillar_ruined = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/thm_nboo_gungan_pillar_ruined_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:gungan_pillar_ruined", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:gungan_pillar_ruined", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_column.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_gungan_pillar_ruined, 3046900101) object_installation_battlefield_destructible_shared_bfield_gungan_relic = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/thm_nboo_gungan_relic_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:gungan_relic", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:gungan_relic", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_barracks.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_gungan_relic, 3317620099) object_installation_battlefield_destructible_shared_bfield_gungan_statue_s01a = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/thm_nboo_gungan_statue_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:gungan_statue", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:gungan_statue", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_column.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_gungan_statue_s01a, 3260516219) object_installation_battlefield_destructible_shared_bfield_gungan_statue_s01b = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/thm_nboo_gungan_statue_s03.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:gungan_statue", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:gungan_statue", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_column.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_gungan_statue_s01b, 423636972) object_installation_battlefield_destructible_shared_bfield_gungan_statue_s02a = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/thm_nboo_gungan_statue_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:gungan_statue", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:gungan_statue", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_column.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_gungan_statue_s02a, 4012871923) object_installation_battlefield_destructible_shared_bfield_gungan_statue_s02b = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/thm_nboo_gungan_statue_s04.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:gungan_statue", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:gungan_statue", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_column.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_gungan_statue_s02b, 876099684) object_installation_battlefield_destructible_shared_bfield_gungan_target_shield_gen = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/thm_nboo_gungan_shield_gen_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:gungan_shield_generator", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:gungan_shield_generator", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_column.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_gungan_target_shield_gen, 2410944935) object_installation_battlefield_destructible_shared_bfield_gungan_wall_ruined_lg_s01 = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/thm_nboo_gungan_wall_ruined_lg_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:gungan_wall_ruined", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:gungan_wall_ruined", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_wall.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_gungan_wall_ruined_lg_s01, 4289393973) object_installation_battlefield_destructible_shared_bfield_gungan_wall_ruined_lg_s02 = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/thm_nboo_gungan_wall_ruined_lg_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:gungan_wall_ruined", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:gungan_wall_ruined", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_wall.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_gungan_wall_ruined_lg_s02, 616390050) object_installation_battlefield_destructible_shared_bfield_gungan_wall_ruined_sm_s01 = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/thm_nboo_gungan_wall_ruined_sm_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:gungan_wall_ruined", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:gungan_wall_ruined", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_wall.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_gungan_wall_ruined_sm_s01, 656107195) object_installation_battlefield_destructible_shared_bfield_gungan_wall_ruined_sm_s02 = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/thm_nboo_gungan_wall_ruined_sm_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:gungan_wall_ruined", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:gungan_wall_ruined", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_wall.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_gungan_wall_ruined_sm_s02, 4228697644) object_installation_battlefield_destructible_shared_bfield_nightsister_fence = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/thm_dath_night_sister_fence_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:gungan_cleft_wall", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:gungan_cleft_wall", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_wall.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_nightsister_fence, 1198047599) object_installation_battlefield_destructible_shared_bfield_nightsister_freestand_banner01 = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/thm_dath_night_sister_banner_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:imperial_banner", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:imperial_banner", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_column.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_nightsister_freestand_banner01, 712214351) object_installation_battlefield_destructible_shared_bfield_nightsister_freestand_banner02 = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/thm_dath_night_sister_banner_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:imperial_banner", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:imperial_banner", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_column.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_nightsister_freestand_banner02, 4049874904) object_installation_battlefield_destructible_shared_bfield_nightsister_freestand_banner03 = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/thm_dath_night_sister_banner_s03.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:imperial_banner", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:imperial_banner", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_column.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_nightsister_freestand_banner03, 3093907541) object_installation_battlefield_destructible_shared_bfield_nightsister_gate = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/thm_dath_night_sister_gate_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:gungan_damaged_wide_arch", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:gungan_damaged_wide_arch", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_wall.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_nightsister_gate, 2788699463) object_installation_battlefield_destructible_shared_bfield_nightsister_hut = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/thm_dath_night_sister_hut_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:gungan_cleft_wall", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:gungan_cleft_wall", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_barracks.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_nightsister_hut, 1444171901) object_installation_battlefield_destructible_shared_bfield_nightsister_target_sith_altar = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/atf_sith_altar.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:gungan_shield_generator", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:gungan_shield_generator", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_column.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_nightsister_target_sith_altar, 3112050906) object_installation_battlefield_destructible_shared_bfield_nightsister_target_sith_crystal = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/atf_sith_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:gungan_shield_generator", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:gungan_shield_generator", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_barracks.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_nightsister_target_sith_crystal, 483726355) object_installation_battlefield_destructible_shared_bfield_nightsister_target_tower = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/thm_dath_night_sister_guard_tower_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:gungan_shield_generator", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:gungan_shield_generator", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_barracks.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_nightsister_target_tower, 3796911801) object_installation_battlefield_destructible_shared_bfield_target_power_generator = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/ins_all_pow_fusion_ion_u0.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:power_generator", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:power_generator", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_barracks.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_target_power_generator, 2393390431) object_installation_battlefield_destructible_shared_bfield_target_power_transformer_01 = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/thm_corl_power_transformer_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:power_generator", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:power_generator", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/battlefield/shared_destructible_base.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_target_power_transformer_01, 3659920532) object_installation_battlefield_destructible_shared_bfield_target_power_transformer_02 = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/thm_corl_power_transformer_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:power_generator", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:power_generator", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/battlefield/shared_destructible_base.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_target_power_transformer_02, 20077571) object_installation_battlefield_destructible_shared_bfield_wall_barbed = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/thm_corl_imprv_wall_4x16_s03.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:barbed_wall", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:barbed_wall", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_wall_barbed.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_wall_barbed, 4261137937) object_installation_battlefield_destructible_shared_bfield_wall_connector = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/mun_all_military_column_huge_impl_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:strong_wall", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:strong_wall", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_column.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_wall_connector, 2122168983) object_installation_battlefield_destructible_shared_bfield_wall_impl_weak = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/mun_all_military_wall_weak_impl_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:military_weak_wall", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:weak_wall", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_wall.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_wall_impl_weak, 3072454055) object_installation_battlefield_destructible_shared_bfield_wall_med = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/mun_all_military_wall_med_impl_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:military_medium_wall", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:medium_wall", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_wall.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_wall_med, 2827387119) object_installation_battlefield_destructible_shared_bfield_wall_rebl_med = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/mun_all_military_wall_med_rebl_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:military_medium_wall", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:medium_wall", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_wall.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_wall_rebl_med, 3711597492) object_installation_battlefield_destructible_shared_bfield_wall_rebl_strong = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/mun_all_military_wall_strong_rebl_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:strong_wall", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:strong_wall", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_wall.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_wall_rebl_strong, 2237630314) object_installation_battlefield_destructible_shared_bfield_wall_rebl_weak = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/mun_all_military_wall_weak_rebl_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:military_weak_wall", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:weak_wall", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_wall.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_wall_rebl_weak, 218817390) object_installation_battlefield_destructible_shared_bfield_wall_strong = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/mun_all_military_wall_strong_impl_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:strong_wall", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:strong_wall", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_wall.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_bfield_wall_strong, 1471201695) object_installation_battlefield_destructible_shared_gungan_sacred_head = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/thm_nboo_gungan_sacred_head_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:gungan_sacred_head", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:gungan_sacred_head", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/installation/battlefield/shared_barracks.sfp", surfaceType = 2, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_gungan_sacred_head, 2515256237) object_installation_battlefield_destructible_shared_imperial_gate_house = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/mun_all_military_base_gate_house_impl_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:gate_house", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:gate_house", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/battlefield/shared_destructible_base.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_imperial_gate_house, 4180449547) object_installation_battlefield_destructible_shared_rebel_gate_house = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/mun_all_military_base_gate_house_rebl_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/battlefield/client_shared_base_destructible_building.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@battlefield:gate_house", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:gate_house", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/battlefield/shared_destructible_base.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_rebel_gate_house, 3637065132) object_installation_battlefield_destructible_shared_small_turret = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/ins_all_def_turret_sm_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/client_shared_turret_block_small.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 2, containerVolumeLimit = 10000, customizationVariableMapping = {}, detailedDescription = "@item_n:default_craftable", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:small_turret", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/battlefield/shared_destructible_base.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_small_turret, 422378636) object_installation_battlefield_destructible_shared_turret_dish_small = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/ins_all_def_turret_sm_s03.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/client_shared_turret_dish_small.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 2, containerVolumeLimit = 10000, customizationVariableMapping = {}, detailedDescription = "@item_n:default_craftable", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:turret_dish_small", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/battlefield/shared_destructible_base.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_turret_dish_small, 209537017) object_installation_battlefield_destructible_shared_turret_tower_small = SharedInstallationObjectTemplate:new { appearanceFilename = "appearance/ins_all_def_turret_sm_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 15, clientDataFile = "clientdata/installation/client_shared_turret_tower_small.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 255, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 2, containerVolumeLimit = 10000, customizationVariableMapping = {}, detailedDescription = "@item_n:default_craftable", gameObjectType = 4100, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@battlefield:turret_tower_small", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "footprint/battlefield/shared_destructible_base.sfp", surfaceType = 1, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_installation_battlefield_destructible_shared_turret_tower_small, 718314234)
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/sceneobjects/objects/lairs/naboo/ikopiLair.lua
2
2506
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version --which carries forward this exception. ikopiLair = Lair:new { objectName = "ikopiLair", stfName = "rock_shelter", objectCRC = 1653632566, maxCondition = 10000, positionX = 0, positionY = 0, positionZ = 0, planet = 0, creatureCRC = 2370403426, creatureName = "ikopi", creaturestfName = "an ikopi , spawnSize = 5, babiesPerMillion = 500000 } Objects:addObject(ikopiLair, "ikopiLair") --- Add to global object table
lgpl-3.0
RockySeven3161/Unknown
plugins/location.lua
625
1564
-- Implement a command !loc [area] which uses -- the static map API to get a location image -- Not sure if this is the proper way -- Intent: get_latlong is in time.lua, we need it here -- loadfile "time.lua" -- Globals -- If you have a google api key for the geocoding/timezone api do local api_key = nil local base_api = "https://maps.googleapis.com/maps/api" function get_staticmap(area) local api = base_api .. "/staticmap?" -- Get a sense of scale local lat,lng,acc,types = get_latlong(area) local scale = types[1] if scale=="locality" then zoom=8 elseif scale=="country" then zoom=4 else zoom = 13 end local parameters = "size=600x300" .. "&zoom=" .. zoom .. "&center=" .. URL.escape(area) .. "&markers=color:red"..URL.escape("|"..area) if api_key ~=nil and api_key ~= "" then parameters = parameters .. "&key="..api_key end return lat, lng, api..parameters end function run(msg, matches) local receiver = get_receiver(msg) local lat,lng,url = get_staticmap(matches[1]) -- Send the actual location, is a google maps link send_location(receiver, lat, lng, ok_cb, false) -- Send a picture of the map, which takes scale into account send_photo_from_url(receiver, url) -- Return a link to the google maps stuff is now not needed anymore return nil end return { description = "Gets information about a location, maplink and overview", usage = "!loc (location): Gets information about a location, maplink and overview", patterns = {"^!loc (.*)$"}, run = run } end
gpl-2.0
miralireza2/xili_bot
plugins/location.lua
625
1564
-- Implement a command !loc [area] which uses -- the static map API to get a location image -- Not sure if this is the proper way -- Intent: get_latlong is in time.lua, we need it here -- loadfile "time.lua" -- Globals -- If you have a google api key for the geocoding/timezone api do local api_key = nil local base_api = "https://maps.googleapis.com/maps/api" function get_staticmap(area) local api = base_api .. "/staticmap?" -- Get a sense of scale local lat,lng,acc,types = get_latlong(area) local scale = types[1] if scale=="locality" then zoom=8 elseif scale=="country" then zoom=4 else zoom = 13 end local parameters = "size=600x300" .. "&zoom=" .. zoom .. "&center=" .. URL.escape(area) .. "&markers=color:red"..URL.escape("|"..area) if api_key ~=nil and api_key ~= "" then parameters = parameters .. "&key="..api_key end return lat, lng, api..parameters end function run(msg, matches) local receiver = get_receiver(msg) local lat,lng,url = get_staticmap(matches[1]) -- Send the actual location, is a google maps link send_location(receiver, lat, lng, ok_cb, false) -- Send a picture of the map, which takes scale into account send_photo_from_url(receiver, url) -- Return a link to the google maps stuff is now not needed anymore return nil end return { description = "Gets information about a location, maplink and overview", usage = "!loc (location): Gets information about a location, maplink and overview", patterns = {"^!loc (.*)$"}, run = run } end
gpl-2.0
devilrap97/alirap97
plugins/ar-onservice.lua
9
1361
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY SAJJAD NOORI ▀▄ ▄▀ ▀▄ ▄▀ BY SAJAD NOORI (@SAJJADNOORI) ▀▄ ▄▀ ▀▄ ▄▀ JUST WRITED BY SAJJAD NOORI ▀▄ ▄▀ ▀▄ ▄▀ KICK BOT : طرد البوت ▀▄ ▄▀ ▀▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄▀▀▄▄▀▄▄▀▀ --]] do local function run(msg, matches) local bot_id = our_id local receiver = get_receiver(msg) if matches[1] == 'طرد البوت' and is_admin1(msg) then chat_del_user("chat#id"..msg.to.id, 'user#id'..bot_id, ok_cb, false) leave_channel(receiver, ok_cb, false) elseif msg.service and msg.action.type == "chat_add_user" and msg.action.user.id == tonumber(bot_id) and not is_admin1(msg) then send_large_msg(receiver, 'This is not one of my groups.', ok_cb, false) chat_del_user(receiver, 'user#id'..bot_id, ok_cb, false) leave_channel(receiver, ok_cb, false) end end return { patterns = { "^(طرد البوت)$", "^!!tgservice (.+)$", }, run = run } end
gpl-2.0
TheAnswer/FirstTest
bin/scripts/items/objects/weapons/pistols/tanglePistol.lua
1
2417
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version --which carries forward this exception. tanglePistol = Weapon:new{ objectName = "Tangle Pistol", templateName = "object/weapon/ranged/pistol/shared_pistol_tangle.iff", objectCRC = 2758629867, objectType = PISTOL, damageType = WEAPON_STUN, certification = "cert_pistol_tangle", attackSpeed = 3.7, minDamage = 45, maxDamage = 55 }
lgpl-3.0
weiDDD/WSSParticleSystem
cocos2d/cocos/scripting/lua-bindings/auto/api/TiledGrid3D.lua
1
1298
-------------------------------- -- @module TiledGrid3D -- @extend GridBase -- @parent_module cc -------------------------------- -- @overload self, size_table -- @overload self, size_table, cc.Texture2D, bool -- @function [parent=#TiledGrid3D] create -- @param self -- @param #size_table gridSize -- @param #cc.Texture2D texture -- @param #bool flipped -- @return TiledGrid3D#TiledGrid3D ret (return value: cc.TiledGrid3D) -------------------------------- -- -- @function [parent=#TiledGrid3D] calculateVertexPoints -- @param self -- @return TiledGrid3D#TiledGrid3D self (return value: cc.TiledGrid3D) -------------------------------- -- @{<br> -- Implementations for interfaces in base calss. -- @function [parent=#TiledGrid3D] blit -- @param self -- @return TiledGrid3D#TiledGrid3D self (return value: cc.TiledGrid3D) -------------------------------- -- -- @function [parent=#TiledGrid3D] reuse -- @param self -- @return TiledGrid3D#TiledGrid3D self (return value: cc.TiledGrid3D) -------------------------------- -- Constructor.<br> -- js ctor -- @function [parent=#TiledGrid3D] TiledGrid3D -- @param self -- @return TiledGrid3D#TiledGrid3D self (return value: cc.TiledGrid3D) return nil
apache-2.0
Andrettin/Wyrmsun
scripts/languages/germanic/bavarian.lua
1
1726
-- _________ __ __ -- / _____// |_____________ _/ |______ ____ __ __ ______ -- \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ -- / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ -- /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > -- \/ \/ \//_____/ \/ -- ______________________ ______________________ -- T H E W A R B E G I N S -- Stratagus - A free fantasy real time strategy game engine -- -- (c) Copyright 2015-2022 by Andrettin -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 2 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program; if not, write to the Free Software -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -- DefineLanguageWord("Gnist", { -- Source: August Fick and Alf Torp, "Wortschatz der Germanischen Spracheinheit", 2006, p. 76. Language = "bavarian", Type = "noun", Meanings = {"Rubbish"}, -- source gives the Latin "quisquiliae" as the meaning DerivesFrom = {"middle-high-german", "noun", "Gnîst"} })
gpl-2.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/naboo/creatures/gnort.lua
1
4610
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version --which carries forward this exception. gnort = Creature:new { objectName = "gnort", -- Lua Object Name creatureType = "ANIMAL", gender = "", speciesName = "gnort", stfName = "mob/creature_names", objectCRC = 2332032204, socialGroup = "Gnort", level = 4, combatFlags = ATTACKABLE_FLAG + ENEMY_FLAG, healthMax = 138, healthMin = 113, strength = 0, constitution = 0, actionMax = 138, actionMin = 113, quickness = 0, stamina = 0, mindMax = 138, mindMin = 113, focus = 0, willpower = 0, height = 1, -- Size of creature armor = 0, -- 0 = None; 1 = Light; 2 = Medium; 3 = Heavy kinetic = 0, energy = 0, electricity = 0, stun = -1, blast = 0, heat = 0, cold = 0, acid = 0, lightsaber = 0, accuracy = 200, healer = 0, pack = 0, herd = 1, stalker = 0, killer = 0, ferocity = 0, aggressive = 0, invincible = 0, meleeDefense = 1, rangedDefense = 1, attackCreatureOnSight = "", -- Enter socialGroups weapon = "object/weapon/creature/shared_creature_default_weapon.iff", -- File path to weapon -> object\xxx\xxx\xx weaponName = "Creature Defualt", -- Name ex. 'a Vibrolance' weaponTemp = "creature_default_weapon", -- Weapon Template ex. 'lance_vibrolance' weaponClass = "UnarmedMeleeWeapon", -- Weapon Class ex. 'PolearmMeleeWeapon' weaponEquipped = 0, weaponMinDamage = 40, weaponMaxDamage = 45, weaponAttackSpeed = 2, weaponDamageType = "KINETIC", -- ELECTRICITY, KINETIC, etc weaponArmorPiercing = "NONE", -- LIGHT, NONE, MEDIUM, HEAVY alternateWeapon = "", -- File path to weapon -> object\xxx\xxx\xx alternateWeaponName = "", -- Name ex. 'a Vibrolance' alternateWeaponTemp = "", -- Weapon Template ex. 'lance_vibrolance' alternateWeaponClass = "", -- Weapon Class ex. 'PolearmMeleeWeapon' alternateWeaponEquipped = 0, alternateWeaponMinDamage = 0, alternateWeaponMaxDamage = 0, alternateWeaponAttackSpeed = 0, alternateWeaponDamageType = "", -- ELECTRICITY, KINETIC, etc alternateWeaponArmorPiercing = "", -- LIGHT, NONE, MEDIUM, HEAVY internalNPCDamageModifier = 0.3, -- Damage Modifier to other NPC's lootGroup = "0", -- Group it belongs to for loot tame = 0.25, -- Likely hood to be tamed datapadItemCRC = 2858510328, mountCRC = 0, mountSpeed = 0, mountAcceleration = 0, milk = 0, boneType = "bone_mammal_naboo", boneMax = 3, hideType = "hide_leathery_naboo", hideMax = 4, meatType = "meat_herbivore_naboo", meatMax = 6, skills = { "gnortAttack1" }, respawnTimer = 60, behaviorScript = "", -- Link to the behavior script for this object } Creatures:addCreature(gnort, 2332032204) -- Add to Global Table
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/crafting/objects/draftschematics/tailor/fieldWearIiiMartialGear/ithorianSportsPullover.lua
1
4479
--Copyright (C) 2009 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version --which carries forward this exception. ithorianSportsPullover = Object:new { objectName = "Ithorian Sports Pullover", stfName = "ith_jacket_s13", stfFile = "wearables_name", objectCRC = 2056067138, groupName = "craftClothingFieldGroupC", -- Group schematic is awarded in (See skills table) craftingToolTab = 8, -- (See DraftSchemticImplementation.h) complexity = 21, size = 3, xpType = "crafting_clothing_general", xp = 130, assemblySkill = "clothing_assembly", experimentingSkill = "clothing_experimentation", ingredientTemplateNames = "craft_clothing_ingredients_n, craft_clothing_ingredients_n, craft_clothing_ingredients_n, craft_clothing_ingredients_n", ingredientTitleNames = "heavy_shell, binding_and_weatherproofing, liner, reinforcement", ingredientSlotType = "1, 0, 1, 0", resourceTypes = "object/tangible/component/clothing/shared_reinforced_fiber_panels.iff, petrochem_inert, object/tangible/component/clothing/shared_synthetic_cloth.iff, metal", resourceQuantities = "2, 30, 2, 45", combineTypes = "1, 0, 1, 0", contribution = "100, 100, 100, 100", numberExperimentalProperties = "1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1", experimentalProperties = "XX, XX, XX, XX, XX, XX, XX, XX, XX, XX, XX, XX, XX, XX, XX, XX", experimentalWeights = "1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1", experimentalGroupTitles = "null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null", experimentalSubGroupTitles = "null, null, sockets, hitpoints, mod_idx_one, mod_val_one, mod_idx_two, mod_val_two, mod_idx_three, mod_val_three, mod_idx_four, mod_val_four, mod_idx_five, mod_val_five, mod_idx_six, mod_val_six", experimentalMin = "0, 0, 0, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0", experimentalMax = "0, 0, 0, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0", experimentalPrecision = "0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0", tanoAttributes = "objecttype=16777227:objectcrc=1115485462:stfFile=wearables_name:stfName=ith_jacket_s13:stfDetail=:itemmask=63491::", blueFrogAttributes = "", blueFrogEnabled = False, customizationOptions = "", customizationDefaults = "", customizationSkill = "clothing_customization" } DraftSchematics:addDraftSchematic(ithorianSportsPullover, 2056067138)--- Add to global DraftSchematics table
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/items/objects/weapons/heavyweapons/main.lua
1
2500
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version --which carries forward this exception. RunItemLUAFile("objects/weapons/heavyweapons/flameThrower.lua"); RunItemLUAFile("objects/weapons/heavyweapons/acidBeam.lua"); RunItemLUAFile("objects/weapons/heavyweapons/lightLightningCannon.lua"); RunItemLUAFile("objects/weapons/heavyweapons/rocketLauncher.lua"); --RunItemLUAFile("objects/weapons/heavyweapons/hpCannon.lua"); RunItemLUAFile("objects/weapons/heavyweapons/haCannon.lua"); RunItemLUAFile("objects/weapons/heavyweapons/hlCannon.lua");
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/talus/creatures/fearfulFynockYouth.lua
1
4629
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version --which carries forward this exception. fearfulFynockYouth = Creature:new { objectName = "fearfulFynockYouth", -- Lua Object Name creatureType = "ANIMAL", gender = "", speciesName = "fearful_fynock_youth", stfName = "mob/creature_names", objectCRC = 2406226385, socialGroup = "Fynock", level = 5, combatFlags = ATTACKABLE_FLAG + ENEMY_FLAG, healthMax = 165, healthMin = 135, strength = 0, constitution = 0, actionMax = 165, actionMin = 135, quickness = 0, stamina = 0, mindMax = 165, mindMin = 135, focus = 0, willpower = 0, height = 1, -- Size of creature armor = 0, -- 0 = None; 1 = Light; 2 = Medium; 3 = Heavy kinetic = 0, energy = 0, electricity = 0, stun = -1, blast = 0, heat = 0, cold = 0, acid = 0, lightsaber = 0, accuracy = 0, healer = 0, pack = 0, herd = 1, stalker = 0, killer = 0, ferocity = 0, aggressive = 0, invincible = 0, meleeDefense = 1, rangedDefense = 1, attackCreatureOnSight = "", -- Enter socialGroups weapon = "object/weapon/creature/shared_creature_default_weapon.iff", -- File path to weapon -> object\xxx\xxx\xx weaponName = "Creature Defualt", -- Name ex. 'a Vibrolance' weaponTemp = "creature_default_weapon", -- Weapon Template ex. 'lance_vibrolance' weaponClass = "UnarmedMeleeWeapon", -- Weapon Class ex. 'PolearmMeleeWeapon' weaponEquipped = 0, weaponMinDamage = 45, weaponMaxDamage = 50, weaponAttackSpeed = 2, weaponDamageType = "KINETIC", -- ELECTRICITY, KINETIC, etc weaponArmorPiercing = "NONE", -- LIGHT, NONE, MEDIUM, HEAVY alternateWeapon = "", -- File path to weapon -> object\xxx\xxx\xx alternateWeaponName = "", -- Name ex. 'a Vibrolance' alternateWeaponTemp = "", -- Weapon Template ex. 'lance_vibrolance' alternateWeaponClass = "", -- Weapon Class ex. 'PolearmMeleeWeapon' alternateWeaponEquipped = 0, alternateWeaponMinDamage = 0, alternateWeaponMaxDamage = 0, alternateWeaponAttackSpeed = 0, alternateWeaponDamageType = "", -- ELECTRICITY, KINETIC, etc alternateWeaponArmorPiercing = "", -- LIGHT, NONE, MEDIUM, HEAVY internalNPCDamageModifier = 0.3, -- Damage Modifier to other NPC's lootGroup = "0", -- Group it belongs to for loot tame = 0, -- Likely hood to be tamed datapadItemCRC = 0, mountCRC = 0, mountSpeed = 0, mountAcceleration = 0, milk = 0, boneType = "bone_avian_talus", boneMax = 1, hideType = "", hideMax = 20, meatType = "meat_avian_talus", meatMax = 1, skills = { "fynockAttack1" }, respawnTimer = 60, behaviorScript = "", -- Link to the behavior script for this object } Creatures:addCreature(fearfulFynockYouth, 2406226385) -- Add to Global Table
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/naboo/npcs/gungan/gunganScout.lua
1
4548
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version --which carries forward this exception. gunganScout = Creature:new { objectName = "gunganScout", -- Lua Object Name creatureType = "NPC", faction = "gungan", factionPoints = 20, gender = "", speciesName = "gungan_scout", stfName = "mob/creature_names", objectCRC = 4291134911, socialGroup = "gungan", level = 14, combatFlags = ATTACKABLE_FLAG + ENEMY_FLAG, healthMax = 2400, healthMin = 2000, strength = 0, constitution = 0, actionMax = 2400, actionMin = 2000, quickness = 0, stamina = 0, mindMax = 2400, mindMin = 2000, focus = 0, willpower = 0, height = 1, -- Size of creature armor = 0, -- 0 = None; 1 = Light; 2 = Medium; 3 = Heavy kinetic = 0, energy = 0, electricity = 0, stun = -1, blast = 0, heat = 0, cold = 10, acid = 0, lightsaber = 0, accuracy = 0, healer = 0, pack = 1, herd = 0, stalker = 0, killer = 0, ferocity = 0, aggressive = 0, invincible = 0, attackCreatureOnSight = "", -- Enter socialGroups weapon = "object/weapon/creature/shared_creature_default_weapon.iff", -- File path to weapon -> object\xxx\xxx\xx weaponName = "Creature Defualt", -- Name ex. 'a Vibrolance' weaponTemp = "creature_default_weapon", -- Weapon Template ex. 'lance_vibrolance' weaponClass = "UnarmedMeleeWeapon", -- Weapon Class ex. 'PolearmMeleeWeapon' weaponEquipped = 0, weaponMinDamage = 150, weaponMaxDamage = 160, weaponAttackSpeed = 2, weaponDamageType = "KINETIC", -- ELECTRICITY, KINETIC, etc weaponArmorPiercing = "NONE", -- LIGHT, NONE, MEDIUM, HEAVY alternateWeapon = "", -- File path to weapon -> object\xxx\xxx\xx alternateWeaponName = "", -- Name ex. 'a Vibrolance' alternateWeaponTemp = "", -- Weapon Template ex. 'lance_vibrolance' alternateWeaponClass = "", -- Weapon Class ex. 'PolearmMeleeWeapon' alternateWeaponEquipped = 0, alternateWeaponMinDamage = 0, alternateWeaponMaxDamage = 0, alternateWeaponAttackSpeed = 0, alternateWeaponDamageType = "", -- ELECTRICITY, KINETIC, etc alternateWeaponArmorPiercing = "", -- LIGHT, NONE, MEDIUM, HEAVY internalNPCDamageModifier = 0.3, -- Damage Modifier to other NPC's lootGroup = "0", -- Group it belongs to for loot tame = 0, datapadItemCRC = 0, mountCRC = 0, mountSpeed = 0, mountAcceleration = 0, milk = 0, boneType = "", boneMax = 0, hideType = "", hideMax = 0, meatType = "", meatMax = 0, skills = { "gunganAttack1" }, respawnTimer = 180, behaviorScript = "", -- Link to the behavior script for this object } Creatures:addCreature(gunganScout, 4291134911) -- Add to Global Table
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/tatooine/creatures/mountainDewback.lua
1
4755
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version --which carries forward this exception. mountainDewback = Creature:new { objectName = "mountainDewback", -- Lua Object Name creatureType = "ANIMAL", gender = "", speciesName = "mountain_dewback", stfName = "mob/creature_names", objectCRC = 1084332041, socialGroup = "self", level = 20, combatFlags = ATTACKABLE_FLAG + ENEMY_FLAG, healthMax = 6100, healthMin = 5000, strength = 0, constitution = 0, actionMax = 6100, actionMin = 5000, quickness = 0, stamina = 0, mindMax = 6100, mindMin = 5000, focus = 0, willpower = 0, height = 1, -- Size of creature armor = 0, -- 0 = None; 1 = Light; 2 = Medium; 3 = Heavy kinetic = 20, energy = 0, electricity = -1, stun = -1, blast = 0, heat = 40, cold = 40, acid = -1, lightsaber = 0, accuracy = 0, healer = 0, pack = 1, herd = 0, stalker = 0, killer = 0, ferocity = 0, aggressive = 0, invincible = 0, meleeDefense = 1, rangedDefense = 1, attackCreatureOnSight = "", -- Enter socialGroups weapon = "object/weapon/creature/shared_creature_default_weapon.iff", -- File path to weapon -> object\xxx\xxx\xx weaponName = "Creature Defualt", -- Name ex. 'a Vibrolance' weaponTemp = "creature_default_weapon", -- Weapon Template ex. 'lance_vibrolance' weaponClass = "UnarmedMeleeWeapon", -- Weapon Class ex. 'PolearmMeleeWeapon' weaponEquipped = 0, weaponMinDamage = 190, weaponMaxDamage = 200, weaponAttackSpeed = 2, weaponDamageType = "KINETIC", -- ELECTRICITY, KINETIC, etc weaponArmorPiercing = "NONE", -- LIGHT, NONE, MEDIUM, HEAVY alternateWeapon = "", -- File path to weapon -> object\xxx\xxx\xx alternateWeaponName = "", -- Name ex. 'a Vibrolance' alternateWeaponTemp = "", -- Weapon Template ex. 'lance_vibrolance' alternateWeaponClass = "", -- Weapon Class ex. 'PolearmMeleeWeapon' alternateWeaponEquipped = 0, alternateWeaponMinDamage = 0, alternateWeaponMaxDamage = 0, alternateWeaponAttackSpeed = 0, alternateWeaponDamageType = "", -- ELECTRICITY, KINETIC, etc alternateWeaponArmorPiercing = "", -- LIGHT, NONE, MEDIUM, HEAVY internalNPCDamageModifier = 0.3, -- Damage Modifier to other NPC's lootGroup = "0", -- Group it belongs to for loot tame = 0.25, -- Likely hood to be tamed datapadItemCRC = 2745422351, mountCRC = 0, mountSpeed = 0, mountAcceleration = 0, milk = 0, boneType = "bone_mammal_tatooine", boneMax = 170, hideType = "hide_leathery_tatooine", hideMax = 240, meatType = "meat_reptilian_tatooine", meatMax = 330, skills = { "dewbackAttack2", "dewbackAttack1" }, -- skills = { " Knockdown attack", " Dizzy attack", "" } respawnTimer = 60, behaviorScript = "", -- Link to the behavior script for this object } Creatures:addCreature(mountainDewback, 1084332041) -- Add to Global Table
lgpl-3.0
mkwia/jc2atc
scripts/vehiclemech/client/cVinfo.lua
1
2704
class "vinfo" enabled = false function vinfo:__init() Events:Subscribe("Render", self, self.Render) Events:Subscribe("LocalPlayerChat", self, self.chat) end function vinfo:chat(args) if args.text == "/vinfo" and not enabled then Chat:Print("On.", Color.Orange) enabled = true return false elseif args.text == "/vinfo" and enabled then Chat:Print("Off.", Color.Orange) enabled = false return false else return true end end function vinfo:Render() if enabled and LocalPlayer:InVehicle() then Render:DrawText(Vector2(Render.Size.x * 0.8, Render.Size.y * 0.44), "Vehicle Name: "..LocalPlayer:GetVehicle():GetName(), Color.White) Render:DrawText(Vector2(Render.Size.x * 0.8, Render.Size.y * 0.47), "Vehicle: "..LocalPlayer:GetVehicle():GetId(), Color.White) Render:DrawText(Vector2(Render.Size.x * 0.8, Render.Size.y * 0.50), "ModelID: "..LocalPlayer:GetVehicle():GetModelId(), Color.White) Render:DrawText(Vector2(Render.Size.x * 0.8, Render.Size.y * 0.53), "Vehicle Mass: "..math.round(LocalPlayer:GetVehicle():GetMass()), Color.White) Render:DrawText(Vector2(Render.Size.x * 0.8, Render.Size.y * 0.56), "Velocity(X: "..math.round(LocalPlayer:GetVehicle():GetLinearVelocity().x)..", Y: "..math.round(LocalPlayer:GetVehicle():GetLinearVelocity().y)..", Z: "..math.round(LocalPlayer:GetVehicle():GetLinearVelocity().z)..", Speed: "..math.round(LocalPlayer:GetVehicle():GetLinearVelocity():Length())..")", Color.White) Render:DrawText(Vector2(Render.Size.x * 0.8, Render.Size.y * 0.59), "Angle(X: "..math.round(math.deg(LocalPlayer:GetVehicle():GetAngle().x))..", Y: "..math.round(math.deg(LocalPlayer:GetVehicle():GetAngle().y))..", Z: "..math.round(math.deg(LocalPlayer:GetVehicle():GetAngle().z))..")", Color.White) Render:DrawText(Vector2(Render.Size.x * 0.8, Render.Size.y * 0.62), "Angle(Pitch: "..math.round(math.deg(LocalPlayer:GetVehicle():GetAngle().pitch))..", Yaw: "..math.round(math.deg(LocalPlayer:GetVehicle():GetAngle().yaw))..", Roll: "..math.round(math.deg(LocalPlayer:GetVehicle():GetAngle().roll))..")", Color.White) Render:DrawText(Vector2(Render.Size.x * 0.8, Render.Size.y * 0.65), "Angular Velocity(X: "..math.round((Angle.Inverse(LocalPlayer:GetVehicle():GetAngle())*LocalPlayer:GetVehicle():GetAngularVelocity()).x)..", Y: "..math.round((Angle.Inverse(LocalPlayer:GetVehicle():GetAngle())*LocalPlayer:GetVehicle():GetAngularVelocity()).y)..", Z: "..math.round((Angle.Inverse(LocalPlayer:GetVehicle():GetAngle())*LocalPlayer:GetVehicle():GetAngularVelocity()).z)..")", Color.White) end end function math.round(number, decimals) local multiply = 10 ^ (decimals or 0) return math.floor(number * multiply + 0.5) / multiply end vinfo = vinfo()
mit
miralireza2/xili_bot
plugins/tweet.lua
634
7120
local OAuth = require "OAuth" local consumer_key = "" local consumer_secret = "" local access_token = "" local access_token_secret = "" local twitter_url = "https://api.twitter.com/1.1/statuses/user_timeline.json" local client = OAuth.new(consumer_key, consumer_secret, { RequestToken = "https://api.twitter.com/oauth/request_token", AuthorizeUser = {"https://api.twitter.com/oauth/authorize", method = "GET"}, AccessToken = "https://api.twitter.com/oauth/access_token"}, { OAuthToken = access_token, OAuthTokenSecret = access_token_secret}) local function send_generics_from_url_callback(cb_extra, success, result) -- cb_extra is a table containing receiver, urls and remove_path local receiver = cb_extra.receiver local urls = cb_extra.urls local remove_path = cb_extra.remove_path local f = cb_extra.func -- The previously image to remove if remove_path ~= nil then os.remove(remove_path) print("Deleted: "..remove_path) end -- Nil or empty, exit case (no more urls) if urls == nil or #urls == 0 then return false end -- Take the head and remove from urls table local head = table.remove(urls, 1) local file_path = download_to_file(head, false) local cb_extra = { receiver = receiver, urls = urls, remove_path = file_path, func = f } -- Send first and postpone the others as callback f(receiver, file_path, send_generics_from_url_callback, cb_extra) end local function send_generics_from_url(f, receiver, urls) local cb_extra = { receiver = receiver, urls = urls, remove_path = nil, func = f } send_generics_from_url_callback(cb_extra) end local function send_gifs_from_url(receiver, urls) send_generics_from_url(send_document, receiver, urls) end local function send_videos_from_url(receiver, urls) send_generics_from_url(send_video, receiver, urls) end local function send_all_files(receiver, urls) local data = { images = { func = send_photos_from_url, urls = {} }, gifs = { func = send_gifs_from_url, urls = {} }, videos = { func = send_videos_from_url, urls = {} } } local table_to_insert = nil for i,url in pairs(urls) do local _, _, extension = string.match(url, "(https?)://([^\\]-([^\\%.]+))$") local mime_type = mimetype.get_content_type_no_sub(extension) if extension == 'gif' then table_to_insert = data.gifs.urls elseif mime_type == 'image' then table_to_insert = data.images.urls elseif mime_type == 'video' then table_to_insert = data.videos.urls else table_to_insert = nil end if table_to_insert then table.insert(table_to_insert, url) end end for k, v in pairs(data) do if #v.urls > 0 then end v.func(receiver, v.urls) end end local function check_keys() if consumer_key:isempty() then return "Twitter Consumer Key is empty, write it in plugins/tweet.lua" end if consumer_secret:isempty() then return "Twitter Consumer Secret is empty, write it in plugins/tweet.lua" end if access_token:isempty() then return "Twitter Access Token is empty, write it in plugins/tweet.lua" end if access_token_secret:isempty() then return "Twitter Access Token Secret is empty, write it in plugins/tweet.lua" end return "" end local function analyze_tweet(tweet) local header = "Tweet from " .. tweet.user.name .. " (@" .. tweet.user.screen_name .. ")\n" -- "Link: https://twitter.com/statuses/" .. tweet.id_str local text = tweet.text -- replace short URLs if tweet.entities.url then for k, v in pairs(tweet.entities.urls) do local short = v.url local long = v.expanded_url text = text:gsub(short, long) end end -- remove urls local urls = {} if tweet.extended_entities and tweet.extended_entities.media then for k, v in pairs(tweet.extended_entities.media) do if v.video_info and v.video_info.variants then -- If it's a video! table.insert(urls, v.video_info.variants[1].url) else -- If not, is an image table.insert(urls, v.media_url) end text = text:gsub(v.url, "") -- Replace the URL in text end end return header, text, urls end local function sendTweet(receiver, tweet) local header, text, urls = analyze_tweet(tweet) -- send the parts send_msg(receiver, header .. "\n" .. text, ok_cb, false) send_all_files(receiver, urls) return nil end local function getTweet(msg, base, all) local receiver = get_receiver(msg) local response_code, response_headers, response_status_line, response_body = client:PerformRequest("GET", twitter_url, base) if response_code ~= 200 then return "Can't connect, maybe the user doesn't exist." end local response = json:decode(response_body) if #response == 0 then return "Can't retrieve any tweets, sorry" end if all then for i,tweet in pairs(response) do sendTweet(receiver, tweet) end else local i = math.random(#response) local tweet = response[i] sendTweet(receiver, tweet) end return nil end function isint(n) return n==math.floor(n) end local function run(msg, matches) local checked = check_keys() if not checked:isempty() then return checked end local base = {include_rts = 1} if matches[1] == 'id' then local userid = tonumber(matches[2]) if userid == nil or not isint(userid) then return "The id of a user is a number, check this web: http://gettwitterid.com/" end base.user_id = userid elseif matches[1] == 'name' then base.screen_name = matches[2] else return "" end local count = 200 local all = false if #matches > 2 and matches[3] == 'last' then count = 1 if #matches == 4 then local n = tonumber(matches[4]) if n > 10 then return "You only can ask for 10 tweets at most" end count = matches[4] all = true end end base.count = count return getTweet(msg, base, all) end return { description = "Random tweet from user", usage = { "!tweet id [id]: Get a random tweet from the user with that ID", "!tweet id [id] last: Get a random tweet from the user with that ID", "!tweet name [name]: Get a random tweet from the user with that name", "!tweet name [name] last: Get a random tweet from the user with that name" }, patterns = { "^!tweet (id) ([%w_%.%-]+)$", "^!tweet (id) ([%w_%.%-]+) (last)$", "^!tweet (id) ([%w_%.%-]+) (last) ([%d]+)$", "^!tweet (name) ([%w_%.%-]+)$", "^!tweet (name) ([%w_%.%-]+) (last)$", "^!tweet (name) ([%w_%.%-]+) (last) ([%d]+)$" }, run = run }
gpl-2.0
bartvm/Penlight
tests/test-list.lua
8
1658
local List = require 'pl.List' local class = require 'pl.class' local test = require 'pl.test' local asserteq, T = test.asserteq, test.tuple -- note that a _plain table_ is made directly into a list local t = {10,20,30} local ls = List(t) asserteq(t,ls) -- you may derive classes from pl.List, and the result is covariant. -- That is, slice() etc will return a list of the derived type, not List. local NA = class(List) local function mapm(a1,op,a2) local M = type(a2)=='table' and List.map2 or List.map return M(a1,op,a2) end --- elementwise arithmetric operations function NA.__unm(a) return a:map '|X|-X' end function NA.__pow(a,s) return a:map '|X,Y|X^Y' end function NA.__add(a1,a2) return mapm(a1,'|X,Y|X+Y',a2) end function NA.__sub(a1,a2) return mapm(a1,'|X,Y|X-Y',a2) end function NA.__div(a1,a2) return mapm(a1,'|X,Y|X/Y',a2) end function NA.__mul(a1,a2) return mapm(a2,'|X,Y|X*Y',a1) end function NA:minmax () local min,max = math.huge,-math.huge for i = 1,#self do local val = self[i] if val > max then max = val end if val < min then min = val end end return min,max end function NA:sum () local res = 0 for i = 1,#self do res = res + self[i] end return res end function NA:normalize () return self:transform('|X,Y|X/Y',self:sum()) end n1 = NA{10,20,30} n2 = NA{1,2,3} ns = n1 + 2*n2 asserteq(List:class_of(ns),true) asserteq(NA:class_of(ns),true) asserteq(ns:is_a(NA),true) asserteq(ns,{12,24,36}) min,max = ns:slice(1,2):minmax() asserteq(T(min,max),T(12,24)) asserteq(n1:normalize():sum(),1,1e-8)
mit
TheAnswer/FirstTest
bin/scripts/creatures/objects/endor/npcs/gundula/naiveGundulaWorkling.lua
1
4594
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version --which carries forward this exception. naiveGundulaWorkling = Creature:new { objectName = "naiveGundulaWorkling", -- Lua Object Name creatureType = "NPC", faction = "gundula_tribe", factionPoints = 20, gender = "", speciesName = "naive_gundula_workling", stfName = "mob/creature_names", objectCRC = 2350961206, socialGroup = "gundula_tribe", level = 9, combatFlags = ATTACKABLE_FLAG + ENEMY_FLAG, healthMax = 495, healthMin = 405, strength = 0, constitution = 0, actionMax = 495, actionMin = 405, quickness = 0, stamina = 0, mindMax = 495, mindMin = 405, focus = 0, willpower = 0, height = 1, -- Size of creature armor = 0, -- 0 = None; 1 = Light; 2 = Medium; 3 = Heavy kinetic = 15, energy = 15, electricity = 0, stun = -1, blast = 0, heat = 10, cold = 10, acid = 0, lightsaber = 0, accuracy = 0, healer = 0, pack = 1, herd = 0, stalker = 0, killer = 0, ferocity = 0, aggressive = 0, invincible = 0, attackCreatureOnSight = "", -- Enter socialGroups weapon = "object/weapon/creature/shared_creature_default_weapon.iff", -- File path to weapon -> object\xxx\xxx\xx weaponName = "Creature Defualt", -- Name ex. 'a Vibrolance' weaponTemp = "creature_default_weapon", -- Weapon Template ex. 'lance_vibrolance' weaponClass = "UnarmedMeleeWeapon", -- Weapon Class ex. 'PolearmMeleeWeapon' weaponEquipped = 0, weaponMinDamage = 70, weaponMaxDamage = 75, weaponAttackSpeed = 2, weaponDamageType = "KINETIC", -- ELECTRICITY, KINETIC, etc weaponArmorPiercing = "NONE", -- LIGHT, NONE, MEDIUM, HEAVY alternateWeapon = "", -- File path to weapon -> object\xxx\xxx\xx alternateWeaponName = "", -- Name ex. 'a Vibrolance' alternateWeaponTemp = "", -- Weapon Template ex. 'lance_vibrolance' alternateWeaponClass = "", -- Weapon Class ex. 'PolearmMeleeWeapon' alternateWeaponEquipped = 0, alternateWeaponMinDamage = 0, alternateWeaponMaxDamage = 0, alternateWeaponAttackSpeed = 0, alternateWeaponDamageType = "", -- ELECTRICITY, KINETIC, etc alternateWeaponArmorPiercing = "", -- LIGHT, NONE, MEDIUM, HEAVY internalNPCDamageModifier = 0.3, -- Damage Modifier to other NPC's lootGroup = "0", -- Group it belongs to for loot tame = 0, datapadItemCRC = 0, mountCRC = 0, mountSpeed = 0, mountAcceleration = 0, milk = 0, boneType = "", boneMax = 0, hideType = "", hideMax = 0, meatType = "", meatMax = 0, skills = { "gundulaAttack1" }, respawnTimer = 180, behaviorScript = "", -- Link to the behavior script for this object } Creatures:addCreature(naiveGundulaWorkling, 2350961206) -- Add to Global Table
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/crafting/objects/draftschematics/artisan/engineeringITinkering/foodAndChemicalCraftingTool.lua
1
3840
--Copyright (C) 2009 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version --which carries forward this exception. foodAndChemicalCraftingTool = Object:new { objectName = "Food and Chemical Crafting Tool", stfName = "food_tool_name", stfFile = "crafting", objectCRC = 1492600411, groupName = "craftArtisanToolGroupA", -- Group schematic is awarded in (See skills table) craftingToolTab = 524288, -- (See DraftSchemticImplementation.h) complexity = 10, size = 2, xpType = "crafting_general", xp = 65, assemblySkill = "general_assembly", experimentingSkill = "general_experimentation", ingredientTemplateNames = "craft_item_ingredients_n, craft_item_ingredients_n, craft_item_ingredients_n", ingredientTitleNames = "assembly_enclosure, thermal_shielding, electronic_control_unit", ingredientSlotType = "0, 0, 0", resourceTypes = "metal, mineral, chemical", resourceQuantities = "16, 8, 10", combineTypes = "0, 0, 0", contribution = "100, 100, 100", numberExperimentalProperties = "1, 1, 1, 1", experimentalProperties = "XX, XX, XX, CD", experimentalWeights = "1, 1, 1, 1", experimentalGroupTitles = "null, null, null, exp_effectiveness", experimentalSubGroupTitles = "null, null, hitpoints, usemodifier", experimentalMin = "0, 0, 1000, -15", experimentalMax = "0, 0, 1000, 15", experimentalPrecision = "0, 0, 0, 0", tanoAttributes = "objecttype=32769:objectcrc=2849609519:stfFile=crafting:stfName=food_tool_name:stfDetail=:itemmask=65535::", blueFrogAttributes = "", blueFrogEnabled = False, customizationOptions = "", customizationDefaults = "", customizationSkill = "clothing_customization" } DraftSchematics:addDraftSchematic(foodAndChemicalCraftingTool, 1492600411)--- Add to global DraftSchematics table
lgpl-3.0
frioux/sysdig
userspace/sysdig/chisels/fdtime_by.lua
18
1437
--[[ Copyright (C) 2013-2014 Draios inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. --]] -- Chisel description description = "Groups FD activity based on the given filter field, and returns the keys where most time was spent. For example, this script can be used to list the processes or files that caused the biggest I/O latency." short_description = "FD time group by" category = "I/O" -- Chisel argument list args = { { name = "key", description = "The filter field used for grouping", argtype = "string" }, } -- The number of items to show TOP_NUMBER = 10 key_fld = "" -- Argument notification callback function on_set_arg(name, val) if name == "key" then key_fld = val return true end return false end -- Initialization callback function on_init() chisel.exec("table_generator", key_fld, key_fld, "evt.latency", "Time", "evt.is_io=true", "" .. TOP_NUMBER, "time") return true end
gpl-2.0
TheAnswer/FirstTest
bin/scripts/slashcommands/skills/blindAttack.lua
1
2563
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version --which carries forward this exception. --true = 1, false = 0 BlindAttackSlashCommand = { name = "blindattack", alternativeNames = "", animation = "", invalidStateMask = 3894805520, --alert, tumbling, frozen, swimming, glowingJedi, ridingMount, pilotingShip, shipOperations, shipGunner, invalidPostures = "3,5,6,7,8,9,10,11,12,13,14,4,", target = 1, targeType = 2, disabled = 0, maxRangeToTarget = 0, --adminLevel = 0, addToCombatQueue = 1, } AddBlindAttackSlashCommand(BlindAttackSlashCommand)
lgpl-3.0
Andrettin/Wyrmsun
scripts/languages/celtic/irish.lua
1
12528
-- _________ __ __ -- / _____// |_____________ _/ |______ ____ __ __ ______ -- \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ -- / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ -- /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > -- \/ \/ \//_____/ \/ -- ______________________ ______________________ -- T H E W A R B E G I N S -- Stratagus - A free fantasy real time strategy game engine -- -- (c) Copyright 2016-2022 by Andrettin -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 2 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program; if not, write to the Free Software -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -- DefineLanguageWord("Áer", { -- Source: Bernhard Maier (trans.), "Das Sagenbuch der Walisischen Kelten", 1999, p. 119. Language = "irish", Type = "noun", Meanings = {"Verbal Invective"} -- source gives the German "verbale Schmähung" as the meaning }) DefineLanguageWord("Ammait", { -- Source: August Fick and Alf Torp, "Wortschatz der Germanischen Spracheinheit", 2006, p. 17. Language = "irish", Type = "noun", Meanings = {"Wet Nurse", "Foster Mother"} -- source gives the German "Amme" as the meaning }) DefineLanguageWord("Arget", { -- Source: H. H. Howorth, "The Ethnology of Germany, Part II: The Germans of Caesar", 1878, p. 217. Language = "irish", Type = "noun", Meanings = {"Silver"} }) DefineLanguageWord("Árus", { -- Source: Sean Crist, "An Analysis of *z loss in West Germanic", 2002, p. 9. Language = "irish", Type = "noun", Meanings = {"Dwelling"} }) DefineLanguageWord("Atgleinn", { -- Source: August Fick and Alf Torp, "Wortschatz der Germanischen Spracheinheit", 2006, p. 81. Language = "irish", Type = "verb", Meanings = {"Show"} -- source gives the Latin (?) "demonstrat" as the meaning }) DefineLanguageWord("Blá", { -- Source: August Fick and Alf Torp, "Wortschatz der Germanischen Spracheinheit", 2006, p. 147. Language = "irish", Type = "adjective", Meanings = {"Yellow"} -- source gives the German "gelb" as the meaning }) DefineLanguageWord("Brennim", { -- Source: August Fick and Alf Torp, "Wortschatz der Germanischen Spracheinheit", 2006, p. 136. Language = "irish", Type = "verb", -- correct? Meanings = {}, -- source gives the German (?) "sprudle" as the meaning DerivesFrom = {"proto-indo-european", "verb", "Bhrenvō"} }) DefineLanguageWord("Bri", { -- Source: August Fick and Alf Torp, "Wortschatz der Germanischen Spracheinheit", 2006, p. 137. Language = "irish", Type = "noun", Meanings = {"Mountain", "Hill"}, -- source gives "Berg" as the meaning NumberCaseInflections = { "singular", "genitive", "Brig" } }) DefineLanguageWord("Brot", { -- Source: Sean Crist, "An Analysis of *z loss in West Germanic", 2002, p. 9. Language = "irish", Type = "noun", Meanings = {"Prickle"}, Gender = "masculine" }) DefineLanguageWord("Búal", { -- Source: August Fick and Alf Torp, "Wortschatz der Germanischen Spracheinheit", 2006, p. 133. Language = "irish", Type = "noun", Meanings = {"Water"}, -- source gives the German "Wasser" as the meaning DerivesFrom = {"proto-indo-european", "verb", "Bheg"} }) DefineLanguageWord("Cairde", { -- Source: Bernhard Maier (trans.), "Das Sagenbuch der Walisischen Kelten", 1999, p. 119. Language = "irish", Type = "noun", Meanings = {"Peace Treaty", "Peace"}, -- source gives the German "ein Friedensvertrag zwischen zwei Königreichen oder auch der dadurch (wieder-)hergestellte Friede" as the meaning DerivesFrom = {"proto-celtic", "noun", "Karantion"} }) DefineLanguageWord("Cath", { -- Source: Carl D. Buck, "Words for 'Battle,' 'War,' 'Army,' and 'Soldier'", 1919, pp. 6, 8. Language = "irish", Type = "noun", Meanings = {"Battle"} }) DefineLanguageWord("Ceallach", { -- Source: August Fick and Alf Torp, "Wortschatz der Germanischen Spracheinheit", 2006, p. 50. Language = "irish", Type = "noun", Meanings = {"War"}, -- source gives the German "Krieg" as the meaning DerivesFrom = {"proto-indo-european", "noun", "Keld"} }) DefineLanguageWord("Cel", { -- Source: August Fick and Alf Torp, "Wortschatz der Germanischen Spracheinheit", 2006, p. 49. Language = "irish", Type = "noun", Meanings = {"Death"} -- source gives the German "Tod" as the meaning }) DefineLanguageWord("Cíall", { -- Source: Bernhard Maier (trans.), "Das Sagenbuch der Walisischen Kelten", 1999, p. 117. Language = "irish", Type = "noun", Meanings = {"Wit"} -- source gives the German "Verstand" as the meaning }) DefineLanguageWord("Cnú", { -- Source: August Fick and Alf Torp, "Wortschatz der Germanischen Spracheinheit", 2006, p. 58. Language = "irish", Type = "noun", Meanings = {"Nut"}, -- source gives the German "Nuß" DerivesFrom = {"proto-indo-european", "noun", "Knud"}, Gender = "feminine" }) DefineLanguageWord("Co", { -- Source: Carl D. Buck, "Words for 'Battle,' 'War,' 'Army,' and 'Soldier'", 1919, p. 8. Language = "irish", Type = "affix", Meanings = {} -- source gives the meaning as the English prefix "con-" }) DefineLanguageWord("Corann", { -- source also gives the alternative form "coróin"; Source: Bernhard Maier (trans.), "Das Sagenbuch der Walisischen Kelten", 1999, p. 119. Language = "irish", Type = "noun", Meanings = {"Crown"} -- source gives the German "Krone" as the meaning }) DefineLanguageWord("Dún", { -- Source: August Fick and Alf Torp, "Wortschatz der Germanischen Spracheinheit", 2006, p. 89. Language = "irish", Type = "noun", Meanings = {"Firm City", "Firm Town"}, -- source gives the German "feßte Stadt" as the meaning NumberCaseInflections = { "singular", "genitive", "Dúne" } }) DefineLanguageWord("Enech", { -- Source: Bernhard Maier (trans.), "Das Sagenbuch der Walisischen Kelten", 1999, p. 119. Language = "irish", Type = "noun", Meanings = {"Honor"} -- source gives the German "Ehre" as the meaning }) DefineLanguageWord("Fescor", { -- source also gives the alternative form "Ἑστέρα"; Source: August Fick and Alf Torp, "Wortschatz der Germanischen Spracheinheit", 2006, p. 204. Language = "irish", Type = "noun", Meanings = {"Evening"}, -- source gives the German "Abend" as the meaning DerivesFrom = {"proto-indo-european", "adverb", "Ve"} }) DefineLanguageWord("Gas", { -- Source: Sean Crist, "An Analysis of *z loss in West Germanic", 2002, p. 8. Language = "irish", Type = "noun", Meanings = {"Sapling", "Sprout", "Shoot"}, Gender = "feminine" }) DefineLanguageWord("Gat", { -- Source: Sean Crist, "An Analysis of *z loss in West Germanic", 2002, p. 8. Language = "irish", Type = "noun", Meanings = {"Rod"} }) DefineLanguageWord("Gius", { -- Source: Sean Crist, "An Analysis of *z loss in West Germanic", 2002, p. 7. Language = "irish", Type = "noun", Meanings = {"Fir", "Spruce"} }) DefineLanguageWord("Glése", { -- Source: August Fick and Alf Torp, "Wortschatz der Germanischen Spracheinheit", 2006, p. 81. Language = "irish", Type = "noun", Meanings = {"Shine"} -- source gives the German "Glanz" as the meaning }) DefineLanguageWord("Íarn", { -- Source: August Fick and Alf Torp, "Wortschatz der Germanischen Spracheinheit", 2006, p. 24. Language = "irish", Type = "noun", Meanings = {"Iron"} -- source gives the German "Eisen" as the meaning }) DefineLanguageWord("Kass", { -- Source: Sean Crist, "An Analysis of *z loss in West Germanic", 2002, p. 8. Language = "irish", Type = "noun", Meanings = {"Curl", "Tress"} }) DefineLanguageWord("Lóid", { -- Source: August Fick and Alf Torp, "Wortschatz der Germanischen Spracheinheit", 2006, p. 181. Language = "irish", Type = "noun", Meanings = {"Song"}, -- source gives the German "Lied" as the meaning DerivesFrom = {"proto-indo-european", "noun", "Lēut"} }) DefineLanguageWord("Luad", { -- Source: August Fick and Alf Torp, "Wortschatz der Germanischen Spracheinheit", 2006, p. 181. Language = "irish", Type = "noun", Meanings = {"Talk", "Conversation"}, -- source gives the German "Gespräch, Rede" as the meaning DerivesFrom = {"proto-indo-european", "noun", "Lēut"} }) DefineLanguageWord("Luige", { -- Source: Carl D. Buck, "Words for 'Battle,' 'War,' 'Army,' and 'Soldier'", 1919, p. 8. Language = "irish", Type = "noun", Meanings = {"Oath"} }) DefineLanguageWord("Máo", { -- this is the comparative, what is the normal version of the word? Source: Sean Crist, "An Analysis of *z loss in West Germanic", 2002, p. 6. Language = "irish", Type = "adjective", Meanings = {"More"}, -- "Máo" actually means "größer" ComparisonDegreeCaseInflections = { "comparative", "Máo" -- source also gives alternative form "Móo" } }) DefineLanguageWord("Medg", { -- Source: Sean Crist, "An Analysis of *z loss in West Germanic", 2002, p. 9. Language = "irish", Type = "noun", Meanings = {"Whey"}, Gender = "feminine" }) DefineLanguageWord("Mían", { -- Source: August Fick and Alf Torp, "Wortschatz der Germanischen Spracheinheit", 2006, p. 264. Language = "irish", Type = "noun", Meanings = {"Metal"} -- source gives the German "Metall" }) DefineLanguageWord("Mind", { -- Source: Bernhard Maier (trans.), "Das Sagenbuch der Walisischen Kelten", 1999, p. 119. Language = "irish", Type = "noun", Meanings = {"Diadem"} -- source gives the German "Diadem" as the meaning }) DefineLanguageWord("Notail", { -- Source: August Fick and Alf Torp, "Wortschatz der Germanischen Spracheinheit", 2006, p. 19. Language = "irish", Type = "verb", Meanings = {"You Feed"} -- source gives the Latin (?) "alit te" as the meaning }) DefineLanguageWord("Rīadaim", { -- Source: Winfred P. Lehmann, "A Grammar of Proto-Germanic", 2005, Chapter 1, Section 9. Language = "irish", Type = "verb", Meanings = {"Travel"} }) DefineLanguageWord("Rige", { -- Source: August Fick and Alf Torp, "Wortschatz der Germanischen Spracheinheit", 2006, p. 174. Language = "irish", Type = "noun", Meanings = {"Dominion", "Realm", "Empire"}, -- source gives the German "Herrschaft, Reich" as the meaning Gender = "neuter" }) DefineLanguageWord("Sam", { -- source also gives the alternative form "Samrad"; Source: August Fick and Alf Torp, "Wortschatz der Germanischen Spracheinheit", 2006, p. 223. Language = "irish", Type = "noun", Meanings = {"Summer"} -- source gives the German "Sommer" as the meaning }) DefineLanguageWord("Samaisc", { -- Source: August Fick and Alf Torp, "Wortschatz der Germanischen Spracheinheit", 2006, p. 223. Language = "irish", Type = "noun", Meanings = {"Heifer"} -- source gives the German "Färse" as the meaning }) DefineLanguageWord("Seamar", { -- Source: August Fick and Alf Torp, "Wortschatz der Germanischen Spracheinheit", 2006, p. 223. Language = "irish", Type = "noun", Meanings = {"Clover"} -- source gives the German "Klee" }) DefineLanguageWord("Túath", { -- Source: August Fick and Alf Torp, "Wortschatz der Germanischen Spracheinheit", 2006, p. 99. Language = "irish", Type = "noun", Meanings = {"People"} -- source gives the German "Volk" as the meaning }) DefineLanguageWord("Úr", { -- Source: August Fick and Alf Torp, "Wortschatz der Germanischen Spracheinheit", 2006, p. 127. Language = "irish", Type = "noun", Meanings = {"Fire"} -- source gives "Feuer" as the meaning }) -- Compounds DefineLanguageWord("Cocad", { -- Source: Carl D. Buck, "Words for 'Battle,' 'War,' 'Army,' and 'Soldier'", 1919, p. 8. Language = "irish", Type = "noun", Meanings = {"Battle"}, CompoundElements = { "prefix", "irish", "affix", "Co", "suffix", "irish", "noun", "Cath" } }) DefineLanguageWord("Cogadh", { -- Source: Carl D. Buck, "Words for 'Battle,' 'War,' 'Army,' and 'Soldier'", 1919, p. 8. Language = "irish", Type = "noun", Meanings = {"War"}, CompoundElements = { "prefix", "irish", "affix", "Co", "suffix", "irish", "noun", "Cath" } })
gpl-2.0
PAPAGENO-devels/papageno
test/benchmarks/Lua/lua-regression-test/WoW/PetFrame.lua
1
4847
--PET_WARNING_TIME = 55; --PET_FLASH_ON_TIME = 0.5; --PET_FLASH_OFF_TIME = 0.5; function PetFrame_OnLoad() this.attackModeCounter = 0; this.attackModeSign = -1; --this.flashState = 1; --this.flashTimer = 0; CombatFeedback_Initialize(PetHitIndicator, 30); PetFrame_Update(); this:RegisterEvent("UNIT_PET"); this:RegisterEvent("UNIT_COMBAT"); this:RegisterEvent("UNIT_AURA"); this:RegisterEvent("PET_ATTACK_START"); this:RegisterEvent("PET_ATTACK_STOP"); this:RegisterEvent("UNIT_HAPPINESS"); end function PetFrame_Update() if ( UnitExists("pet") ) then if ( this:IsVisible() ) then UnitFrame_Update(); else this:Show(); end --this.flashState = 1; --this.flashTimer = PET_FLASH_ON_TIME; if ( UnitManaMax("pet") == 0 ) then PetFrameTexture:SetTexture("Interface\\TargetingFrame\\UI-SmallTargetingFrame-NoMana"); else PetFrameTexture:SetTexture("Interface\\TargetingFrame\\UI-SmallTargetingFrame"); end PetAttackModeTexture:Hide(); PetFrame_SetHappiness(); RefreshBuffs(getglobal("PetFrame"), 1, "pet"); else this:Hide(); end end function PetFrame_OnEvent(event) UnitFrame_OnEvent(event); if ( event == "UNIT_PET" ) then if ( arg1 == "player" ) then PetFrame_Update(); end elseif ( event == "UNIT_COMBAT" ) then if ( arg1 == "pet" ) then CombatFeedback_OnCombatEvent(arg2, arg3, arg4, arg5); end elseif ( event == "UNIT_AURA" ) then if ( arg1 == "pet" ) then RefreshBuffs(this, 1, "pet"); end elseif ( event == "PET_ATTACK_START" ) then PetAttackModeTexture:SetVertexColor(1.0, 1.0, 1.0, 1.0); PetAttackModeTexture:Show(); elseif ( event == "PET_ATTACK_STOP" ) then PetAttackModeTexture:Hide(); elseif ( event == "UNIT_HAPPINESS" ) then PetFrame_SetHappiness(); end end function PetFrame_OnUpdate(elapsed) if ( PetAttackModeTexture:IsVisible() ) then local alpha = 255; local counter = this.attackModeCounter + elapsed; local sign = this.attackModeSign; if ( counter > 0.5 ) then sign = -sign; this.attackModeSign = sign; end counter = mod(counter, 0.5); this.attackModeCounter = counter; if ( sign == 1 ) then alpha = (55 + (counter * 400)) / 255; else alpha = (255 - (counter * 400)) / 255; end PetAttackModeTexture:SetVertexColor(1.0, 1.0, 1.0, alpha); end CombatFeedback_OnUpdate(elapsed); -- Expiration flash stuff --local petTimeRemaining = nil; --if ( GetPetTimeRemaining() ) then --- if ( this.flashState == 1 ) then -- this:SetAlpha(this.flashTimer/PET_FLASH_ON_TIME); -- else -- this:SetAlpha((PET_FLASH_OFF_TIME - this.flashTimer)/PET_FLASH_OFF_TIME); -- end -- petTimeRemaining = GetPetTimeRemaining() / 1000; --end --if ( petTimeRemaining and (petTimeRemaining < PET_WARNING_TIME) ) then -- PetFrame.flashTimer = PetFrame.flashTimer - elapsed; -- if ( PetFrame.flashTimer <= 0 ) then -- if ( PetFrame.flashState == 1 ) then -- PetFrame.flashState = 0; -- PetFrame.flashTimer = PET_FLASH_OFF_TIME; -- else -- PetFrame.flashState = 1; -- PetFrame.flashTimer = PET_FLASH_ON_TIME; -- end -- end --end end function PetFrame_OnClick(button) if ( SpellIsTargeting() and button == "RightButton" ) then SpellStopTargeting(); return; end if ( button == "LeftButton" ) then if ( SpellIsTargeting() ) then SpellTargetUnit("pet"); elseif ( CursorHasItem() ) then DropItemOnUnit("pet"); else TargetUnit("pet"); end else ToggleDropDownMenu(1, nil, PetFrameDropDown); end end function PetFrame_SetHappiness() local happiness, damagePercentage, loyaltyRate = GetPetHappiness(); local hasPetUI, isHunterPet = HasPetUI(); if ( not happiness or not isHunterPet ) then PetFrameHappiness:Hide(); return; end PetFrameHappiness:Show(); if ( happiness == 1 ) then PetFrameHappinessTexture:SetTexCoord(0.375, 0.5625, 0, 0.359375); elseif ( happiness == 2 ) then PetFrameHappinessTexture:SetTexCoord(0.1875, 0.375, 0, 0.359375); elseif ( happiness == 3 ) then PetFrameHappinessTexture:SetTexCoord(0, 0.1875, 0, 0.359375); end PetFrameHappiness.tooltip = getglobal("PET_HAPPINESS"..happiness); PetFrameHappiness.tooltipDamage = format(PET_DAMAGE_PERCENTAGE, damagePercentage); if ( loyaltyRate < 0 ) then PetFrameHappiness.tooltipLoyalty = getglobal("LOSING_LOYALTY"); elseif ( loyaltyRate > 0 ) then PetFrameHappiness.tooltipLoyalty = getglobal("GAINING_LOYALTY"); else PetFrameHappiness.tooltipLoyalty = nil; end end function PetFrameDropDown_OnLoad() UIDropDownMenu_Initialize(this, PetFrameDropDown_Initialize, "MENU"); end function PetFrameDropDown_Initialize() if ( UnitExists("pet") ) then UnitPopup_ShowMenu(PetFrameDropDown, "PET", "pet"); end end
gpl-2.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/dathomir/npcs/nightsister/nightsisterProtector.lua
1
5096
--Copyright (C) 2009 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version --which carries forward this exception. nightsisterProtector = Creature:new { objectName = "nightsisterProtector", -- Lua Object Name creatureType = "NPC", faction = "nightsister", factionPoints = 20, gender = "", speciesName = "nightsister_protector", stfName = "mob/creature_names", objectCRC = 2893162759, socialGroup = "nightsister", level = 131, combatFlags = ATTACKABLE_FLAG + ENEMY_FLAG + AGGRESSIVE_FLAG, healthMax = 61000, healthMin = 50000, strength = 5000, constitution = 5000, actionMax = 61000, actionMin = 50000, quickness = 5000, stamina = 5000, mindMax = 61000, mindMin = 50000, focus = 5000, willpower = 5000, height = 1, -- Size of creature armor = 2, -- 0 = None; 1 = Light; 2 = Medium; 3 = Heavy kinetic = 15, energy = 100, electricity = 100, stun = 100, blast = 15, heat = 100, cold = 100, acid = 100, lightsaber = 0, accuracy = 335, healer = 0, pack = 1, herd = 0, stalker = 0, killer = 1, ferocity = 0, aggressive = 1, invincible = 0, meleeDefense = 1, rangedDefense = 1, attackCreatureOnSight = "", -- Enter socialGroups weapon = "object/weapon/melee/polearm/shared_lance_vibrolance.iff", -- File path to weapon -> object\xxx\xxx\xx weaponName = "a Vibrolance", -- Name ex. 'a Vibrolance' weaponTemp = "lance_vibrolance", -- Weapon Template ex. 'lance_vibrolance' weaponClass = "PolearmMeleeWeapon", -- Weapon Class ex. 'PolearmMeleeWeapon' weaponEquipped = 1, weaponMinDamage = 770, weaponMaxDamage = 1250, weaponAttackSpeed = 2, weaponDamageType = "ELECTRICITY", -- ELECTRICITY, KINETIC, etc weaponArmorPiercing = "LIGHT", -- LIGHT, NONE, MEDIUM, HEAVY alternateWeapon = "object/weapon/melee/polearm/shared_polearm_vibro_axe.iff", -- File path to weapon -> object\xxx\xxx\xx alternateWeaponName = "a Long Vibro Axe", -- Name ex. 'a Vibrolance' alternateWeaponTemp = "lance_vibro_axe", -- Weapon Template ex. 'lance_vibrolance' alternateWeaponClass = "PolearmMeleeWeapon", -- Weapon Class ex. 'PolearmMeleeWeapon' alternateWeaponEquipped = 1, alternateWeaponMinDamage = 770, alternateWeaponMaxDamage = 1250, alternateweaponAttackSpeed = 2, alternateWeaponDamageType = "KINETIC", -- ELECTRICITY, KINETIC, etc alternateWeaponArmorPiercing = "LIGHT", -- LIGHT, NONE, MEDIUM, HEAVY internalNPCDamageModifier = 0.3, -- Damage Modifier to other NPC's lootGroup = "0,1,3,4,11,15,30,33,39,40,99", -- Group it belongs to for loot tame = 0, datapadItemCRC = 0, mountCRC = 0, mountSpeed = 0, mountAcceleration = 0, milk = 0, boneType = "", boneMax = 0, hideType = "", hideMax = 0, meatType = "", meatMax = 0, skills = { "nightsisterAttack20", "nightsisterAttack21", "nightsisterAttack22", "nightsisterAttack23", "nightsisterAttack24", "nightsisterAttack25", "nightsisterAttack26", "nightsisterAttack27", "nightsisterAttack28", "nightsisterAttack29", "nightsisterAttack30", "nightsisterAttack31" }, respawnTimer = 300, behaviorScript = "", -- Link to the behavior script for this object } Creatures:addCreature(nightsisterProtector, 2893162759) -- Add to Global Table
lgpl-3.0
weiDDD/WSSParticleSystem
cocos2d/cocos/scripting/lua-bindings/auto/api/RotateBy.lua
1
1258
-------------------------------- -- @module RotateBy -- @extend ActionInterval -- @parent_module cc -------------------------------- -- @overload self, float, float, float -- @overload self, float, float -- @overload self, float, vec3_table -- @function [parent=#RotateBy] create -- @param self -- @param #float duration -- @param #float deltaAngleZ_X -- @param #float deltaAngleZ_Y -- @return RotateBy#RotateBy ret (return value: cc.RotateBy) -------------------------------- -- -- @function [parent=#RotateBy] startWithTarget -- @param self -- @param #cc.Node target -- @return RotateBy#RotateBy self (return value: cc.RotateBy) -------------------------------- -- -- @function [parent=#RotateBy] clone -- @param self -- @return RotateBy#RotateBy ret (return value: cc.RotateBy) -------------------------------- -- -- @function [parent=#RotateBy] reverse -- @param self -- @return RotateBy#RotateBy ret (return value: cc.RotateBy) -------------------------------- -- param time In seconds. -- @function [parent=#RotateBy] update -- @param self -- @param #float time -- @return RotateBy#RotateBy self (return value: cc.RotateBy) return nil
apache-2.0
catwell/lua-http-digest
http-digest.lua
1
5023
local md5sum, md5_library local fmt = string.format do -- select MD5 library local ok, mod = pcall(require, "crypto") if ok then local digest = (mod.evp or mod).digest if digest then md5sum = function(str) return digest("md5", str) end md5_library = "crypto" end end if not md5sum then ok, mod = pcall(require, "md5") if ok then local md5 = (type(mod) == "table") and mod or _G.md5 md5sum = md5.sumhexa or md5.digest if md5sum then md5_library = "md5" end end end if not md5sum then ok = pcall(require, "digest") -- last because using globals if ok and _G.md5 then md5sum = _G.md5.digest end if md5sum then md5_library = "digest" end end end assert(md5sum, "cannot find supported md5 module") local s_http = require "socket.http" local s_url = require "socket.url" local ltn12 = require "ltn12" local hash = function(...) return md5sum(table.concat({...}, ":")) end --- Parse the value part of the WWW-Authenticate header into a table. local parse_header = function(h) local r = {} for k, v in (h .. ','):gmatch("(%w+)=(.-),") do if v:sub(1, 1) == '"' then -- strip quotes r[k:lower()] = v:sub(2, -2) else r[k:lower()] = v end end return r end --- Helper to build the Authorization header. `t` is a table of tables. local make_digest_header = function(t) local r = {} for i = 1, #t do local x = t[i] if x.unquote then r[i] = x[1] .. '=' .. x[2] else r[i] = x[1] .. '="' .. x[2] .. '"' end end return "Digest " .. table.concat(r, ', ') end --- Copy a table (one layer deep). local hcopy = function(t) local r = {} for k, v in pairs(t) do r[k] = v end return r end --- Main logic. `params` is always a table and can be modified. local _request = function(params) if not params.url then error("missing URL") end local url = s_url.parse(params.url) local user, password = url.user, url.password if not (user and password) then error("missing credentials in URL") end url.user, url.password, url.authority, url.userinfo = nil, nil, nil, nil params.url = s_url.build(url) local ghost_source if params.source then local ghost_chunks = {} local ghost_capture = function(x) if x then ghost_chunks[#ghost_chunks+1] = x end return x end local ghost_i = 0 ghost_source = function() ghost_i = ghost_i+1 return ghost_chunks[ghost_i] end params.source = ltn12.source.chain(params.source, ghost_capture) end local b, c, h = s_http.request(params) if (c == 401) and h["www-authenticate"] then local ht = parse_header(h["www-authenticate"]) assert(ht.realm and ht.nonce) if ht.qop ~= "auth" then return nil, fmt("unsupported qop (%s)", tostring(ht.qop)) end if ht.algorithm and (ht.algorithm:lower() ~= "md5") then return nil, fmt("unsupported algo (%s)", tostring(ht.algorithm)) end local nc, cnonce = "00000001", fmt("%08x", os.time()) local uri = s_url.build({path = url.path, query = url.query}) local method = params.method or "GET" local response = hash( hash(user, ht.realm, password), ht.nonce, nc, cnonce, "auth", hash(method, uri) ) params.headers = params.headers or {} local auth_header = { {"username", user}, {"realm", ht.realm}, {"nonce", ht.nonce}, {"uri", uri}, {"cnonce", cnonce}, {"nc", nc, unquote=true}, {"qop", "auth"}, {"algorithm", "MD5"}, {"response", response}, } if ht.opaque then table.insert(auth_header, {"opaque", ht.opaque}) end params.headers.authorization = make_digest_header(auth_header) if not params.headers.cookie and h["set-cookie"] then -- not really correct but enough for httpbin local cookie = (h["set-cookie"] .. ";"):match("(.-=.-)[;,]") if cookie then params.headers.cookie = "$Version: 0; " .. cookie .. ";" end end if params.source then params.source = ghost_source end b, c, h = s_http.request(params) return b, c, h else return b, c, h end end local request = function(params) local t = type(params) if t == "table" then return _request(hcopy(params)) elseif t == "string" then local r = {} local _, c, h = _request({url = params, sink = ltn12.sink.table(r)}) return table.concat(r), c, h else error(fmt("unexpected type %s", t)) end end return { md5_library = md5_library, request = request, }
mit
PAPAGENO-devels/papageno
test/benchmarks/Lua/lua-regression-test/grim/dlg_bomb.lua
1
2777
CheckFirstTime("dlg_bomb.lua") bo1 = Dialog:create() bo1.intro = function(arg1) -- line 11 bo1.node = "bomb_node" enable_head_control(FALSE) manny:head_look_at(sl.carla_obj) if not bo1.tried then bo1.tried = TRUE carla:say_line("/slca001/") else carla:say_line("/slca002/") end end bo1[100] = { text = "/slma003/", bomb_node = TRUE } bo1[100].response = function(arg1) -- line 24 arg1.off = TRUE bo1.node = "exit_dialog" if sl.carla_scorned then bo1:make_nice() else carla:say_line("/slca004/") end end bo1.make_nice = function(arg1) -- line 34 carla:say_line("/slca005/") end bo1[110] = { text = "/slma006/", bomb_node = TRUE } bo1[110].response = function(arg1) -- line 40 arg1.off = TRUE bo1.node = "exit_dialog" carla:say_line("/slca007/") wait_for_message() manny:say_line("/slma008/") wait_for_message() carla:say_line("/slca009/") end bo1[120] = { text = "/slma010/", bomb_node = TRUE } bo1[120].response = function(arg1) -- line 51 arg1.off = TRUE bo1.node = "exit_dialog" if sl.carla_scorned then bo1:make_nice() else carla:say_line("/slca011/") wait_for_message() carla:say_line("/slca012/") wait_for_message() carla:say_line("/slca013/") end end bo1[300] = { text = "/slma014/", bomb_node = TRUE } bo1[300].response = function(arg1) -- line 66 arg1.off = TRUE bo1.node = "unattended" carla:say_line("/slca015/") end bo1[400] = { text = "/slma016/", unattended = TRUE, gesture = manny.nod_head_gesture } bo1[400].response = function(arg1) -- line 73 local local1 bo1.node = "exit_dialog" arg1.off = TRUE stop_script(sl.carla_idle) start_script(carla.stand_up, carla) wait_for_message() carla:say_line("/slca017/") carla:wait_for_message() local1 = 0 while not carla:is_choring(carla_stand, TRUE, sl.search_cos) and local1 < 1800 do break_here() local1 = local1 + system.frameTime end MakeSectorActive("carlawalk1", TRUE) carla:follow_boxes() carla:say_line("/slca018/") carla:set_walk_rate(0.2) Actor.walkto(carla, 0.83329999, -0.77146, 0, 0, 101.0174, 0) wait_for_script(carla.stand_up) carla:wait_for_message() carla:say_line("/slca019/") carla:wait_for_actor() carla:play_chore(carla_stand_hold, sl.search_chore) carla:wait_for_message() enable_head_control(TRUE) start_script(sl.blow_up_case) end bo1[410] = { text = "/slma020/", unattended = TRUE, gesture = manny.twist_head_gesture } bo1[410].response = bo1[400].response bo1.aborts.bomb_node = function(arg1) -- line 108 bo1:clear() bo1:execute_line(bo1[300]) enable_head_control(TRUE) end
gpl-2.0
fkaa/iceball
pkg/gm/dct/dct.lua
4
4553
--[[ DCT + IDCT mod for Iceball WARNING: This mod is covered by software patents. Not that I actually know which ones, but due to the nature of this being useful for any possible video application whatsoever, it's guaranteed to be covered by some stupid bullshit patent that doesn't have any right to exist, but exists anyway because the US govt are a bunch of fucking morons. After all, it's a GPU implementation of a DCT in GLSL, which is really fucking useful for video, and oddly enough is what I intend to use it for eventually. This means that it's probably covered by these hypothetical patents: * Method for calculating a DCT on a GPU * Method for calculating a DCT using GLSL * Method for calculating a fast DCT * Method for calculating a fast DCT on a GPU * Method for calculating anything related to fourier transforms on a GPU * Method for storing signed colour data in an 8bpc space * Method for compressing (in the audio sense, not in the data sense) values into an 8bpc space * Method for compressing values into an 8bpc space, number two * Method for compressing values into an 8bpc space, number three * Method for converting between colourspaces on a GPU * Method for running programs on a GPU, filed because the clerk at the patent office wasn't looking * Method for calculating a DCT in a video game, on a GPU * Method for calculating a DCT in a networked video game, on a GPU * Method for sending a DCT algorithm over a network * Method for sending a GLSL shader over a network * And any apparatus for applying any of those methods. So please, if you use this software, either: * Ensure that you are in a country that doesn't give software patents any more respect than they deserve (read: none), or: * Don't tell IBM. Thank you. P.S. If you own any patents that covers this piece of software, please let me know so I can work out how to make a modified version that doesn't violate any of your patents. P.P.S. No, I am not going to settle for a patent licensing deal. ]] if not (USE_FBO and USE_GLSL_21) then return end -- FBO spam fbo_dct_apply1 = client.fbo_create(screen_width, screen_height, true) fbo_dct_apply2 = client.fbo_create(screen_width, screen_height, false) fbo_dct_unapply1 = client.fbo_create(screen_width, screen_height, false) fbo_dct_unapply2 = client.fbo_create(screen_width, screen_height, false) dofile("pkg/gm/dct/shaders.lua") --dofile("pkg/gm/dct/shaders-130.lua") -- int-based, notably slower function dct_apply_scene() if fbo_dct_apply1 then shader_dct_apply.set_uniform_i("tex0", 0) shader_dct_apply.set_uniform_f("smul", screen_width, screen_height) shader_dct_apply.set_uniform_f("smul_inv", 1.0/screen_width, 1.0/screen_height) client.fbo_use(fbo_dct_apply2) shader_dct_apply.set_uniform_f("is_init", 1.0) shader_dct_apply.set_uniform_f("is_fini", 0.0) shader_dct_apply.set_uniform_f("is_inverse", 0.0) shader_dct_apply.push() client.img_blit(fbo_dct_apply1, 0, 0) shader_dct_apply.pop() client.fbo_use(fbo_dct_unapply1) shader_dct_apply.set_uniform_f("is_init", 0.0) shader_dct_apply.set_uniform_f("is_fini", 0.0) shader_dct_apply.set_uniform_f("is_inverse", 0.0) shader_dct_apply.push() client.img_blit(fbo_dct_apply2, 0, 0) shader_dct_apply.pop() client.fbo_use(fbo_dct_unapply2) shader_dct_apply.set_uniform_f("is_init", 0.0) shader_dct_apply.set_uniform_f("is_fini", 0.0) shader_dct_apply.set_uniform_f("is_inverse", 1.0) shader_dct_apply.push() client.img_blit(fbo_dct_unapply1, 0, 0) shader_dct_apply.pop() client.fbo_use(nil) shader_dct_apply.set_uniform_f("is_init", 0.0) shader_dct_apply.set_uniform_f("is_fini", 1.0) shader_dct_apply.set_uniform_f("is_inverse", 1.0) shader_dct_apply.push() client.img_blit(fbo_dct_unapply2, 0, 0) shader_dct_apply.pop() end end do local s_hook_render = client.hook_render function client.hook_render(...) local s_fbo_use = client.fbo_use local is_using_nil = true local s_img_dump = client.img_dump function client.fbo_use(fbo, ...) if fbo == nil then is_using_nil = true return s_fbo_use(fbo_dct_apply1, ...) else is_using_nil = false return s_fbo_use(fbo, ...) end end function client.img_dump(...) if is_using_nil then s_fbo_use(nil) end local ret = {s_img_dump(...)} if is_using_nil then s_fbo_use(fbo_dct_apply1) end return unpack(ret) end s_fbo_use(fbo_dct_apply1) s_hook_render() client.fbo_use = s_fbo_use client.img_dump = s_img_dump dct_apply_scene() s_fbo_use(fbo_dct_apply1) end end
gpl-3.0
TheAnswer/FirstTest
bin/scripts/slashcommands/admin/createSpawningElement.lua
1
2481
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version --which carries forward this exception. --true = 1, false = 0 CreateSpawningElementSlashCommand = { name = "createspawningelement", alternativeNames = "", animation = "", invalidStateMask = 2097152, --glowingJedi, invalidPostures = "", target = 2, targeType = 0, disabled = 0, maxRangeToTarget = 0, --adminLevel = 0, addToCombatQueue = 0, } AddCreateSpawningElementSlashCommand(CreateSpawningElementSlashCommand)
lgpl-3.0
Hammerspoon/hammerspoon
extensions/osascript/osascript.lua
4
5177
--- === hs.osascript === --- --- Execute Open Scripting Architecture (OSA) code - AppleScript and JavaScript --- local module = require("hs.libosascript") local fnutils = require("hs.fnutils") -- private variables and methods ----------------------------------------- local processResults = function(ok, object, rawDescriptor) local descriptor if not ok then rawDescriptor = rawDescriptor:match("^{\n(.*)}$") descriptor = {} local lines = fnutils.split(rawDescriptor, ";\n") lines = fnutils.ifilter(lines, function(line) return line ~= "" end) for _, line in ipairs(lines) do local k, v = line:match('^%s*(%w+)%s=%s(.*)$') v = v:match('^"(.*)"$') or v:match("^'(.*)'$") or v descriptor[k] = tonumber(v) or v end else descriptor = rawDescriptor:match("^<NSAppleEventDescriptor: (.*)>$") end return ok, object, descriptor end -- Reads the contents of a file found at fileName and returns the contents as a string. -- Will throw an error if the specified file can not be read. -- Filters out a shebang if it's present local importScriptFile = function(fileName) local f = io.open(fileName, "rb") if not f then error("Can't read file " .. fileName) end local content = f:read("*all") f:close() content = string.gsub(content, "^#![^\n]*\n", "") return content end -- Public interface ------------------------------------------------------ --- hs.osascript.applescript(source) -> bool, object, descriptor --- Function --- Runs AppleScript code --- --- Parameters: --- * source - A string containing some AppleScript code to execute --- --- Returns: --- * A boolean value indicating whether the code succeeded or not --- * An object containing the parsed output that can be any type, or nil if unsuccessful --- * If the code succeeded, the raw output of the code string. If the code failed, a table containing an error dictionary --- --- Notes: --- * Use hs.osascript._osascript(source, "AppleScript") if you always want the result as a string, even when a failure occurs module.applescript = function(source) local ok, object, descriptor = module._osascript(source, "AppleScript") return processResults(ok, object, descriptor) end --- hs.osascript.applescriptFromFile(fileName) -> bool, object, descriptor --- Function --- Runs AppleScript code from a source file. --- --- Parameters: --- * fileName - A string containing the file name of an AppleScript file to execute. --- --- Returns: --- * A boolean value indicating whether the code succeeded or not --- * An object containing the parsed output that can be any type, or nil if unsuccessful --- * If the code succeeded, the raw output of the code string. If the code failed, a table containing an error dictionary --- --- Notes: --- * This function uses hs.osascript.applescript for execution. --- * Use hs.osascript._osascript(source, "AppleScript") if you always want the result as a string, even when a failure occurs. However, this function can only take a string, and not a file name. module.applescriptFromFile = function(fileName) local source = importScriptFile(fileName) return module.applescript(source) end --- hs.osascript.javascript(source) -> bool, object, descriptor --- Function --- Runs JavaScript code --- --- Parameters: --- * source - A string containing some JavaScript code to execute --- --- Returns: --- * A boolean value indicating whether the code succeeded or not --- * An object containing the parsed output that can be any type, or nil if unsuccessful --- * If the code succeeded, the raw output of the code string. If the code failed, a table containing an error dictionary --- --- Notes: --- * Use hs.osascript._osascript(source, "JavaScript") if you always want the result as a string, even when a failure occurs module.javascript = function(source) local ok, object, descriptor = module._osascript(source, "JavaScript") return processResults(ok, object, descriptor) end --- hs.osascript.javascriptFromFile(fileName) -> bool, object, descriptor --- Function --- Runs JavaScript code from a source file. --- --- Parameters: --- * fileName - A string containing the file name of an JavaScript file to execute. --- --- Returns: --- * A boolean value indicating whether the code succeeded or not --- * An object containing the parsed output that can be any type, or nil if unsuccessful --- * If the code succeeded, the raw output of the code string. If the code failed, a table containing an error dictionary --- --- Notes: --- * This function uses hs.osascript.javascript for execution. --- * Use hs.osascript._osascript(source, "JavaScript") if you always want the result as a string, even when a failure occurs. However, this function can only take a string, and not a file name. module.javascriptFromFile = function(fileName) local source = importScriptFile(fileName) return module.javascript(source) end setmetatable(module, { __call = function(_, ...) return module.applescript(...) end }) -- Return Module Object -------------------------------------------------- return module
mit
meysamx0/Crazy
plugins/whitelist.lua
1
2855
do local function get_message_callback (extra , success, result) if result.service then local action = result.action.type if action == 'chat_add_user' or action == 'chat_del_user' or action == 'chat_rename' or action == 'chat_change_photo' then if result.action.user then user_id = result.action.user.peer_id end end else user_id = result.from.peer_id end local receiver = extra.receiver local hash = "whitelist" local is_whitelisted = redis:sismember(hash, user_id) if is_whitelisted then redis:srem(hash, user_id) send_large_msg(receiver, "🗑ڪاربر ، ربات["..user_id.."] از لیست سفید پاڪ شد.") else redis:sadd(hash, user_id) send_large_msg(receiver, "📌ڪاربر ، ربات["..user_id.."] به لیست سفید اضافه شد.") end end local function whitelist_res (extra, success, result) local user_id = result.peer_id local receiver = extra.receiver local hash = "whitelist" local is_whitelisted = redis:sismember(hash, user_id) if is_whitelisted then redis:srem(hash, user_id) send_large_msg(receiver, "🗑ڪاربر ، ربات ["..user_id.."] از لیست سفید پاڪ شد.") else redis:sadd(hash, user_id) send_large_msg(receiver, "📌ڪاربر ، ربات["..user_id.."] به لیست سفید اضافه شد.") end end local function run (msg, matches) if matches[1] == "whitelist" and is_admin1(msg) or matches[1] == "لیست سفید" and is_admin1(msg) then local hash = "whitelist" local user_id = "" if type(msg.reply_id) ~= "nil" then local receiver = get_receiver(msg) get_message(msg.reply_id, get_message_callback, {receiver = receiver}) elseif string.match(matches[2], '^%d+$') then local user_id = matches[2] local is_whitelisted = redis:sismember(hash, user_id) if is_whitelisted then redis:srem(hash, user_id) return "🗑ڪاربر ، ربات ["..user_id.."] از لیست سفید پاڪ شد." else redis:sadd(hash, user_id) return "📌ڪاربر ، ربات ["..user_id.."]به لیست سفید اضافه شد." end elseif not string.match(matches[2], '^%d+$') then local receiver = get_receiver(msg) local username = matches[2] local username = string.gsub(matches[2], '@', '') resolve_username(username, whitelist_res, {receiver = receiver}) end end if matches[1] == "clean" and matches[2] == 'whitelist' and is_admin1(msg) or matches[1] == "پاک کردن" and matches[2] == 'لیست سفید' and is_admin1(msg) then local hash = 'whitelist' redis:del(hash) return "🗑لیست سفید پاڪ شد." end end return { patterns = { "^[#!/](whitelist)$", "^[#!/](whitelist) (.*)$", "^[#!/](clean) (.*)$", "^(لیست سفید)$", "^(لیست سفید) (.*)$", "^(پاک کردن) (.*)$", }, run = run } end
agpl-3.0
mramir8274/goldnbot
googleimg.lua
42
3165
do local mime = require("mime") local google_config = load_from_file('data/google.lua') local cache = {} --[[ local function send_request(url) local t = {} local options = { url = url, sink = ltn12.sink.table(t), method = "GET" } local a, code, headers, status = http.request(options) return table.concat(t), code, headers, status end]]-- local function get_google_data(text) local url = "http://ajax.googleapis.com/ajax/services/search/images?" url = url.."v=1.0&rsz=5" url = url.."&q="..URL.escape(text) url = url.."&imgsz=small|medium|large" if google_config.api_keys then local i = math.random(#google_config.api_keys) local api_key = google_config.api_keys[i] if api_key then url = url.."&key="..api_key end end local res, code = http.request(url) if code ~= 200 then print("HTTP Error code:", code) return nil end local google = json:decode(res) return google end -- Returns only the useful google data to save on cache local function simple_google_table(google) local new_table = {} new_table.responseData = {} new_table.responseDetails = google.responseDetails new_table.responseStatus = google.responseStatus new_table.responseData.results = {} local results = google.responseData.results for k,result in pairs(results) do new_table.responseData.results[k] = {} new_table.responseData.results[k].unescapedUrl = result.unescapedUrl new_table.responseData.results[k].url = result.url end return new_table end local function save_to_cache(query, data) -- Saves result on cache if string.len(query) <= 7 then local text_b64 = mime.b64(query) if not cache[text_b64] then local simple_google = simple_google_table(data) cache[text_b64] = simple_google end end end local function process_google_data(google, receiver, query) if google.responseStatus == 403 then local text = 'ERROR: Reached maximum searches per day' send_msg(receiver, text, ok_cb, false) elseif google.responseStatus == 200 then local data = google.responseData if not data or not data.results or #data.results == 0 then local text = 'Image not found.' send_msg(receiver, text, ok_cb, false) return false end -- Random image from table local i = math.random(#data.results) local url = data.results[i].unescapedUrl or data.results[i].url local old_timeout = http.TIMEOUT or 10 http.TIMEOUT = 5 send_photo_from_url(receiver, url) http.TIMEOUT = old_timeout save_to_cache(query, google) else local text = 'ERROR!' send_msg(receiver, text, ok_cb, false) end end function run(msg, matches) local receiver = get_receiver(msg) local text = matches[1] local text_b64 = mime.b64(text) local cached = cache[text_b64] if cached then process_google_data(cached, receiver, text) else local data = get_google_data(text) process_google_data(data, receiver, text) end end return { description = "Search Image With Google", usage = "/img (item) : search image in google", patterns = { "^[!/]img (.*)$" }, run = run } end
gpl-2.0
TheAnswer/FirstTest
bin/scripts/slashcommands/admin/teleport.lua
1
2429
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version --which carries forward this exception. --true = 1, false = 0 TeleportSlashCommand = { name = "teleport", alternativeNames = "", animation = "", invalidStateMask = 2097152, --glowingJedi, invalidPostures = "", target = 2, targeType = 0, disabled = 0, maxRangeToTarget = 0, --adminLevel = 0, addToCombatQueue = 0, } AddTeleportSlashCommand(TeleportSlashCommand)
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/naboo/npcs/gungan/gunganGeneral.lua
1
4557
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version --which carries forward this exception. gunganGeneral = Creature:new { objectName = "gunganGeneral", -- Lua Object Name creatureType = "NPC", faction = "gungan", factionPoints = 20, gender = "", speciesName = "gungan_general", stfName = "mob/creature_names", objectCRC = 4058341940, socialGroup = "gungan", level = 26, combatFlags = ATTACKABLE_FLAG + ENEMY_FLAG, healthMax = 9400, healthMin = 7700, strength = 0, constitution = 0, actionMax = 9400, actionMin = 7700, quickness = 0, stamina = 0, mindMax = 9400, mindMin = 7700, focus = 0, willpower = 0, height = 1, -- Size of creature armor = 0, -- 0 = None; 1 = Light; 2 = Medium; 3 = Heavy kinetic = 0, energy = 0, electricity = 0, stun = -1, blast = 0, heat = -1, cold = 30, acid = 0, lightsaber = 0, accuracy = 0, healer = 0, pack = 1, herd = 0, stalker = 0, killer = 1, ferocity = 0, aggressive = 0, invincible = 0, attackCreatureOnSight = "", -- Enter socialGroups weapon = "object/weapon/creature/shared_creature_default_weapon.iff", -- File path to weapon -> object\xxx\xxx\xx weaponName = "Creature Defualt", -- Name ex. 'a Vibrolance' weaponTemp = "creature_default_weapon", -- Weapon Template ex. 'lance_vibrolance' weaponClass = "UnarmedMeleeWeapon", -- Weapon Class ex. 'PolearmMeleeWeapon' weaponEquipped = 0, weaponMinDamage = 250, weaponMaxDamage = 260, weaponAttackSpeed = 2, weaponDamageType = "KINETIC", -- ELECTRICITY, KINETIC, etc weaponArmorPiercing = "NONE", -- LIGHT, NONE, MEDIUM, HEAVY alternateWeapon = "", -- File path to weapon -> object\xxx\xxx\xx alternateWeaponName = "", -- Name ex. 'a Vibrolance' alternateWeaponTemp = "", -- Weapon Template ex. 'lance_vibrolance' alternateWeaponClass = "", -- Weapon Class ex. 'PolearmMeleeWeapon' alternateWeaponEquipped = 0, alternateWeaponMinDamage = 0, alternateWeaponMaxDamage = 0, alternateWeaponAttackSpeed = 0, alternateWeaponDamageType = "", -- ELECTRICITY, KINETIC, etc alternateWeaponArmorPiercing = "", -- LIGHT, NONE, MEDIUM, HEAVY internalNPCDamageModifier = 0.3, -- Damage Modifier to other NPC's lootGroup = "0", -- Group it belongs to for loot tame = 0, datapadItemCRC = 0, mountCRC = 0, mountSpeed = 0, mountAcceleration = 0, milk = 0, boneType = "", boneMax = 0, hideType = "", hideMax = 0, meatType = "", meatMax = 0, skills = { "gunganAttack1" }, respawnTimer = 180, behaviorScript = "", -- Link to the behavior script for this object } Creatures:addCreature(gunganGeneral, 4058341940) -- Add to Global Table
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/items/objects/clothing/dresses/dress32.lua
1
2282
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version --which carries forward this exception. dress32 = Clothing:new { objectName = "Dress 32", templateName = "dress_s323", objectCRC = "3138755211", objectType = DRESS, equipped = "0", itemMask = HUMANOID_FEMALES }
lgpl-3.0
praveenjha527/Algorithm-Implementations
Weighted_Random_Distribution/Lua/Yonaba/weighted_random.lua
27
1445
-- Weighted/Biased random distribution implementation -- See : http://codetheory.in/weighted-biased-random-number-generation-with-javascript-based-on-probability/ -- Note: The sum of weights should be 1. That is, all -- weights are decimal values lower than 1. -- Note: As all the implementations given below uses -- math.random, one can call math.randomseed with a -- custom seed before using them. -- items : an array-list of values -- weights : a map table holding the weight for each value in -- in the `items` list. -- returns : an iterator function local function expanding_random(items, weights) local list = {} for _, item in ipairs(items) do local n = weights[item] * 100 for i = 1, n do table.insert(list, item) end end return function() return list[math.random(1, #list)] end end -- items : an array-list of values -- weights : a map table holding the weight for each value in -- in the `items` list. -- returns : an iterator function local function in_place_random(items, weights) local partial_sums, partial_sum = {}, 0 for _, item in ipairs(items) do partial_sum = partial_sum + weights[item] table.insert(partial_sums, partial_sum) end return function() local n, s = math.random(), 0 for i, si in ipairs(partial_sums) do s = s + si if si > n then return items[i] end end end end return { expanding = expanding_random, in_place = in_place_random }
mit
TheAnswer/FirstTest
bin/scripts/sceneobjects/objects/lairs/endor/barkMiteLair.lua
1
2516
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version --which carries forward this exception. barkMiteLair = Lair:new { objectName = "barkMiteLair", stfName = "rock_shelter", objectCRC = 382017471, maxCondition = 10000, positionX = 0, positionY = 0, positionZ = 0, planet = 3, creatureCRC = 1477419452, creatureName = "bark mite", creaturestfName = "a bark mite", spawnSize = 5, babiesPerMillion = 500000 } Objects:addObject(barkMiteLair, "barkMiteLair") --- Add to global object
lgpl-3.0
mrRomeoT/LifeOfOrangeFish
cocos2d/plugin/luabindings/auto/api/FacebookAgent.lua
130
1488
-------------------------------- -- @module FacebookAgent -- @parent_module plugin -------------------------------- -- brief Notifies the events system that the app has launched & logs an activatedApp event. -- @function [parent=#FacebookAgent] activateApp -- @param self -------------------------------- -- brief get permissoin list -- @function [parent=#FacebookAgent] getPermissionList -- @param self -- @return string#string ret (return value: string) -------------------------------- -- brief get UserID -- @function [parent=#FacebookAgent] getUserID -- @param self -- @return string#string ret (return value: string) -------------------------------- -- brief log out -- @function [parent=#FacebookAgent] logout -- @param self -------------------------------- -- -- @function [parent=#FacebookAgent] getSDKVersion -- @param self -- @return string#string ret (return value: string) -------------------------------- -- brief Check whether the user logined or not -- @function [parent=#FacebookAgent] isLoggedIn -- @param self -- @return bool#bool ret (return value: bool) -------------------------------- -- brief get AccessToken -- @function [parent=#FacebookAgent] getAccessToken -- @param self -- @return string#string ret (return value: string) -------------------------------- -- Destroy singleton of FacebookAgent -- @function [parent=#FacebookAgent] destroyInstance -- @param self return nil
unlicense
weiDDD/WSSParticleSystem
cocos2d/cocos/scripting/lua-bindings/auto/api/TransitionSplitCols.lua
1
1448
-------------------------------- -- @module TransitionSplitCols -- @extend TransitionScene,TransitionEaseScene -- @parent_module cc -------------------------------- -- Returns the action that will be performed.<br> -- return The action that will be performed. -- @function [parent=#TransitionSplitCols] action -- @param self -- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval) -------------------------------- -- -- @function [parent=#TransitionSplitCols] easeActionWithAction -- @param self -- @param #cc.ActionInterval action -- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval) -------------------------------- -- Creates a transition with duration and incoming scene.<br> -- param t Duration time, in seconds.<br> -- param scene A given scene.<br> -- return A autoreleased TransitionSplitCols object. -- @function [parent=#TransitionSplitCols] create -- @param self -- @param #float t -- @param #cc.Scene scene -- @return TransitionSplitCols#TransitionSplitCols ret (return value: cc.TransitionSplitCols) -------------------------------- -- -- @function [parent=#TransitionSplitCols] draw -- @param self -- @param #cc.Renderer renderer -- @param #mat4_table transform -- @param #unsigned int flags -- @return TransitionSplitCols#TransitionSplitCols self (return value: cc.TransitionSplitCols) return nil
apache-2.0
technomancy/ss-calandria
mods/orb/init.lua
1
2088
-- a fake lil' OS orb = orb or { mod_dir = (minetest and minetest.get_modpath("orb")) or debug.getinfo(1,"S").source:sub(2, -9):gsub("(/+)$", "/") } if(orb.mod_dir == "") then orb.mod_dir = "." end dofile(orb.mod_dir .. "/utils.lua") dofile(orb.mod_dir .. "/fs.lua") dofile(orb.mod_dir .. "/shell.lua") dofile(orb.mod_dir .. "/process.lua") -- pp = dofile(orb.mod_dir .. "/PrettyPrint.lua") -- for interactive use, but also as a sample of how the API works: if(arg) then -- start with an empty filesystem f_raw = orb.fs.new_raw() f0 = orb.fs.seed(orb.fs.proxy(f_raw, "root", f_raw), {"technomancy", "buddyberg", "zacherson"}) f1 = orb.fs.proxy(f_raw, "technomancy", f_raw) e0 = orb.shell.new_env("root") e1 = orb.shell.new_env("technomancy") co = orb.process.spawn(f1, e1, "smash") -- Open an interactive shell -- till we have non-blocking io.read, the scheduler isn't going to do jack -- when run from regular stdin while coroutine.status(co) ~= "dead" do orb.process.scheduler(f0) end -- tests t_groups = orb.shell.groups(f0, "technomancy") assert(orb.utils.includes(t_groups, "technomancy")) assert(orb.utils.includes(t_groups, "all")) assert(not orb.utils.includes(t_groups, "zacherson")) orb.shell.exec(f1, e1, "mkdir mydir") orb.shell.exec(f1, e1, "mkdir /tmp/hi") orb.shell.exec(f1, e1, "ls /tmp/hi") orb.shell.exec(f1, e1, "ls > /tmp/mydir") orb.shell.exec(f1, e0, "ls /etc > /tmp/ls-etc") orb.shell.exec(f1, e1, "cat /bin/cat > /tmp/cat") assert(orb.fs.readable(f0, f1["/home/technomancy"], "technomancy")) assert(orb.fs.readable(f0, f1["/bin"], "technomancy")) assert(orb.fs.readable(f0, f1["/bin"], "zacherson")) assert(orb.fs.writeable(f0, f1["/home/technomancy"], "technomancy")) assert(orb.fs.writeable(f0, f1["/tmp"], "technomancy")) -- assert(not orb.fs.writeable(f0, f1["/etc"], "technomancy")) -- assert(not orb.fs.writeable(f0, f1["/home/zacherson"], "technomancy")) -- assert(not orb.fs.readable(f0, f1["/home/zacherson"], "technomancy")) end
gpl-3.0
yejr/MyDBAtools
bench-tools/sysbench/sysbench/tests/db/oltp.lua
6
2925
pathtest = string.match(test, "(.*/)") or "" dofile(pathtest .. "common.lua") function thread_init(thread_id) set_vars() if (db_driver == "mysql" and mysql_table_engine == "myisam") then begin_query = "LOCK TABLES sbtest WRITE" commit_query = "UNLOCK TABLES" else begin_query = "BEGIN" commit_query = "COMMIT" end end function event(thread_id) local rs local i local table_name local range_start local c_val local pad_val local query table_name = "sbtest".. sb_rand_uniform(1, oltp_tables_count) if not oltp_skip_trx then db_query(begin_query) end for i=1, oltp_point_selects do rs = db_query("SELECT c FROM ".. table_name .." WHERE id=" .. sb_rand(1, oltp_table_size)) end for i=1, oltp_simple_ranges do range_start = sb_rand(1, oltp_table_size) rs = db_query("SELECT c FROM ".. table_name .." WHERE id BETWEEN " .. range_start .. " AND " .. range_start .. "+" .. oltp_range_size - 1) end for i=1, oltp_sum_ranges do range_start = sb_rand(1, oltp_table_size) rs = db_query("SELECT SUM(K) FROM ".. table_name .." WHERE id BETWEEN " .. range_start .. " AND " .. range_start .. "+" .. oltp_range_size - 1) end for i=1, oltp_order_ranges do range_start = sb_rand(1, oltp_table_size) rs = db_query("SELECT c FROM ".. table_name .." WHERE id BETWEEN " .. range_start .. " AND " .. range_start .. "+" .. oltp_range_size - 1 .. " ORDER BY c") end for i=1, oltp_distinct_ranges do range_start = sb_rand(1, oltp_table_size) rs = db_query("SELECT DISTINCT c FROM ".. table_name .." WHERE id BETWEEN " .. range_start .. " AND " .. range_start .. "+" .. oltp_range_size - 1 .. " ORDER BY c") end if not oltp_read_only then for i=1, oltp_index_updates do rs = db_query("UPDATE " .. table_name .. " SET k=k+1 WHERE id=" .. sb_rand(1, oltp_table_size)) end for i=1, oltp_non_index_updates do c_val = sb_rand_str("###########-###########-###########-###########-###########-###########-###########-###########-###########-###########") query = "UPDATE " .. table_name .. " SET c='" .. c_val .. "' WHERE id=" .. sb_rand(1, oltp_table_size) rs = db_query(query) if rs then print(query) end end i = sb_rand(1, oltp_table_size) rs = db_query("DELETE FROM " .. table_name .. " WHERE id=" .. i) c_val = sb_rand_str([[ ###########-###########-###########-###########-###########-###########-###########-###########-###########-###########]]) pad_val = sb_rand_str([[ ###########-###########-###########-###########-###########]]) rs = db_query("INSERT INTO " .. table_name .. " (id, k, c, pad) VALUES " .. string.format("(%d, %d, '%s', '%s')",i, sb_rand(1, oltp_table_size) , c_val, pad_val)) end -- oltp_read_only if not oltp_skip_trx then db_query(commit_query) end end
bsd-3-clause
TheAnswer/FirstTest
bin/scripts/slashcommands/admin/gmRevive.lua
1
2429
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version --which carries forward this exception. --true = 1, false = 0 GmReviveSlashCommand = { name = "gmrevive", alternativeNames = "", animation = "", invalidStateMask = 2097152, --glowingJedi, invalidPostures = "", target = 2, targeType = 0, disabled = 0, maxRangeToTarget = 0, --adminLevel = 0, addToCombatQueue = 0, } AddGmReviveSlashCommand(GmReviveSlashCommand)
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/crafting/objects/draftschematics/armorsmith/personalArmorIvPadded/ithorianDefenderGloves.lua
1
5168
--Copyright (C) 2009 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version --which carries forward this exception. ithorianDefenderGloves = Object:new { objectName = "Ithorian Defender Gloves", stfName = "ith_armor_s01_gloves", stfFile = "wearables_name", objectCRC = 2620131502, groupName = "craftArmorPersonalGroupE", -- Group schematic is awarded in (See skills table) craftingToolTab = 2, -- (See DraftSchemticImplementation.h) complexity = 40, size = 4, xpType = "crafting_clothing_armor", xp = 200, assemblySkill = "armor_assembly", experimentingSkill = "armor_experimentation", ingredientTemplateNames = "craft_clothing_ingredients_n, craft_clothing_ingredients_n, craft_clothing_ingredients_n, craft_clothing_ingredients_n, craft_clothing_ingredients_n, craft_clothing_ingredients_n, craft_clothing_ingredients_n, craft_clothing_ingredients_n, craft_clothing_ingredients_n", ingredientTitleNames = "auxilary_coverage, body, liner, hardware_and_attachments, binding_and_reinforcement, padding, armor, load_bearing_harness, reinforcement", ingredientSlotType = "0, 0, 0, 0, 0, 0, 2, 2, 2", resourceTypes = "hide_leathery_lok, hide_scaley, fiberplast_corellia, metal, petrochem_inert_polymer, hide_wooly, object/tangible/component/armor/shared_armor_segment_padded.iff, object/tangible/component/clothing/shared_synthetic_cloth.iff, object/tangible/component/clothing/shared_reinforced_fiber_panels.iff", resourceQuantities = "25, 25, 15, 10, 10, 5, 1, 1, 1", combineTypes = "0, 0, 0, 0, 0, 0, 1, 1, 1", contribution = "100, 100, 100, 100, 100, 100, 100, 100, 100", numberExperimentalProperties = "1, 1, 1, 2, 2, 2, 2, 2, 2, 1, 1, 2, 1", experimentalProperties = "XX, XX, XX, OQ, SR, OQ, SR, OQ, UT, MA, OQ, MA, OQ, MA, OQ, XX, XX, OQ, SR, XX", experimentalWeights = "1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1", experimentalGroupTitles = "null, null, null, exp_durability, exp_quality, exp_durability, exp_durability, exp_durability, exp_durability, null, null, exp_resistance, null", experimentalSubGroupTitles = "null, null, sockets, hit_points, armor_effectiveness, armor_integrity, armor_health_encumbrance, armor_action_encumbrance, armor_mind_encumbrance, armor_rating, armor_special_type, armor_special_effectiveness, armor_special_integrity", experimentalMin = "0, 0, 0, 1000, 1, 18750, 17, 44, 23, 1, 4, 1, 18750", experimentalMax = "0, 0, 0, 1000, 30, 31250, 10, 26, 14, 1, 4, 40, 31250", experimentalPrecision = "0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0", tanoAttributes = "objecttype=262:objectcrc=2214098424:stfFile=wearables_name:stfName=ith_armor_s01_gloves:stfDetail=:itemmask=63491:customattributes=specialprotection=kineticeffectiveness;vunerability=heateffectiveness,stuneffectiveness,coldeffectiveness;armorPiece=257;armorStyle=4106;:", blueFrogAttributes = "", blueFrogEnabled = False, customizationOptions = "", customizationDefaults = "", customizationSkill = "armor_customization" } DraftSchematics:addDraftSchematic(ithorianDefenderGloves, 2620131502)--- Add to global DraftSchematics table
lgpl-3.0
Lunovox/minetest_nibirus_game
mods/base/default/trees.lua
5
14612
local random = math.random -- -- Grow trees from saplings -- -- 'can grow' function function default.can_grow(pos) local node_under = minetest.get_node_or_nil({x = pos.x, y = pos.y - 1, z = pos.z}) if not node_under then return false end local name_under = node_under.name local is_soil = minetest.get_item_group(name_under, "soil") if is_soil == 0 then return false end local light_level = minetest.get_node_light(pos) if not light_level or light_level < 13 then return false end return true end -- 'is snow nearby' function local function is_snow_nearby(pos) return minetest.find_node_near(pos, 1, {"group:snowy"}) end -- Sapling ABM function default.grow_sapling(pos) if not default.can_grow(pos) then -- try a bit later again minetest.get_node_timer(pos):start(math.random(240, 600)) return end local mg_name = minetest.get_mapgen_setting("mg_name") local node = minetest.get_node(pos) if node.name == "default:sapling" then minetest.log("action", "A sapling grows into a tree at ".. minetest.pos_to_string(pos)) if mg_name == "v6" then default.grow_tree(pos, random(1, 4) == 1) else default.grow_new_apple_tree(pos) end elseif node.name == "default:junglesapling" then minetest.log("action", "A jungle sapling grows into a tree at ".. minetest.pos_to_string(pos)) if mg_name == "v6" then default.grow_jungle_tree(pos) else default.grow_new_jungle_tree(pos) end elseif node.name == "default:pine_sapling" then minetest.log("action", "A pine sapling grows into a tree at ".. minetest.pos_to_string(pos)) local snow = is_snow_nearby(pos) if mg_name == "v6" then default.grow_pine_tree(pos, snow) elseif snow then default.grow_new_snowy_pine_tree(pos) else default.grow_new_pine_tree(pos) end elseif node.name == "default:acacia_sapling" then minetest.log("action", "An acacia sapling grows into a tree at ".. minetest.pos_to_string(pos)) default.grow_new_acacia_tree(pos) elseif node.name == "default:aspen_sapling" then minetest.log("action", "An aspen sapling grows into a tree at ".. minetest.pos_to_string(pos)) default.grow_new_aspen_tree(pos) elseif node.name == "default:bush_sapling" then minetest.log("action", "A bush sapling grows into a bush at ".. minetest.pos_to_string(pos)) default.grow_bush(pos) elseif node.name == "default:acacia_bush_sapling" then minetest.log("action", "An acacia bush sapling grows into a bush at ".. minetest.pos_to_string(pos)) default.grow_acacia_bush(pos) end end minetest.register_lbm({ name = "default:convert_saplings_to_node_timer", nodenames = {"default:sapling", "default:junglesapling", "default:pine_sapling", "default:acacia_sapling", "default:aspen_sapling"}, action = function(pos) minetest.get_node_timer(pos):start(math.random(1200, 2400)) end }) -- -- Tree generation -- -- Apple tree and jungle tree trunk and leaves function local function add_trunk_and_leaves(data, a, pos, tree_cid, leaves_cid, height, size, iters, is_apple_tree) local x, y, z = pos.x, pos.y, pos.z local c_air = minetest.get_content_id("air") local c_ignore = minetest.get_content_id("ignore") local c_apple = minetest.get_content_id("default:apple") -- Trunk data[a:index(x, y, z)] = tree_cid -- Force-place lowest trunk node to replace sapling for yy = y + 1, y + height - 1 do local vi = a:index(x, yy, z) local node_id = data[vi] if node_id == c_air or node_id == c_ignore or node_id == leaves_cid then data[vi] = tree_cid end end -- Force leaves near the trunk for z_dist = -1, 1 do for y_dist = -size, 1 do local vi = a:index(x - 1, y + height + y_dist, z + z_dist) for x_dist = -1, 1 do if data[vi] == c_air or data[vi] == c_ignore then if is_apple_tree and random(1, 8) == 1 then data[vi] = c_apple else data[vi] = leaves_cid end end vi = vi + 1 end end end -- Randomly add leaves in 2x2x2 clusters. for i = 1, iters do local clust_x = x + random(-size, size - 1) local clust_y = y + height + random(-size, 0) local clust_z = z + random(-size, size - 1) for xi = 0, 1 do for yi = 0, 1 do for zi = 0, 1 do local vi = a:index(clust_x + xi, clust_y + yi, clust_z + zi) if data[vi] == c_air or data[vi] == c_ignore then if is_apple_tree and random(1, 8) == 1 then data[vi] = c_apple else data[vi] = leaves_cid end end end end end end end -- Apple tree function default.grow_tree(pos, is_apple_tree, bad) --[[ NOTE: Tree-placing code is currently duplicated in the engine and in games that have saplings; both are deprecated but not replaced yet --]] if bad then error("Deprecated use of default.grow_tree") end local x, y, z = pos.x, pos.y, pos.z local height = random(4, 5) local c_tree = minetest.get_content_id("default:tree") local c_leaves = minetest.get_content_id("default:leaves") local vm = minetest.get_voxel_manip() local minp, maxp = vm:read_from_map( {x = x - 2, y = y, z = z - 2}, {x = x + 2, y = y + height + 1, z = z + 2} ) local a = VoxelArea:new({MinEdge = minp, MaxEdge = maxp}) local data = vm:get_data() add_trunk_and_leaves(data, a, pos, c_tree, c_leaves, height, 2, 8, is_apple_tree) vm:set_data(data) vm:write_to_map() vm:update_map() end -- Jungle tree function default.grow_jungle_tree(pos, bad) --[[ NOTE: Jungletree-placing code is currently duplicated in the engine and in games that have saplings; both are deprecated but not replaced yet --]] if bad then error("Deprecated use of default.grow_jungle_tree") end local x, y, z = pos.x, pos.y, pos.z local height = random(8, 12) local c_air = minetest.get_content_id("air") local c_ignore = minetest.get_content_id("ignore") local c_jungletree = minetest.get_content_id("default:jungletree") local c_jungleleaves = minetest.get_content_id("default:jungleleaves") local vm = minetest.get_voxel_manip() local minp, maxp = vm:read_from_map( {x = x - 3, y = y - 1, z = z - 3}, {x = x + 3, y = y + height + 1, z = z + 3} ) local a = VoxelArea:new({MinEdge = minp, MaxEdge = maxp}) local data = vm:get_data() add_trunk_and_leaves(data, a, pos, c_jungletree, c_jungleleaves, height, 3, 30, false) -- Roots for z_dist = -1, 1 do local vi_1 = a:index(x - 1, y - 1, z + z_dist) local vi_2 = a:index(x - 1, y, z + z_dist) for x_dist = -1, 1 do if random(1, 3) >= 2 then if data[vi_1] == c_air or data[vi_1] == c_ignore then data[vi_1] = c_jungletree elseif data[vi_2] == c_air or data[vi_2] == c_ignore then data[vi_2] = c_jungletree end end vi_1 = vi_1 + 1 vi_2 = vi_2 + 1 end end vm:set_data(data) vm:write_to_map() vm:update_map() end -- Pine tree from mg mapgen mod, design by sfan5, pointy top added by paramat local function add_pine_needles(data, vi, c_air, c_ignore, c_snow, c_pine_needles) local node_id = data[vi] if node_id == c_air or node_id == c_ignore or node_id == c_snow then data[vi] = c_pine_needles end end local function add_snow(data, vi, c_air, c_ignore, c_snow) local node_id = data[vi] if node_id == c_air or node_id == c_ignore then data[vi] = c_snow end end function default.grow_pine_tree(pos, snow) local x, y, z = pos.x, pos.y, pos.z local maxy = y + random(9, 13) -- Trunk top local c_air = minetest.get_content_id("air") local c_ignore = minetest.get_content_id("ignore") local c_pine_tree = minetest.get_content_id("default:pine_tree") local c_pine_needles = minetest.get_content_id("default:pine_needles") local c_snow = minetest.get_content_id("default:snow") local vm = minetest.get_voxel_manip() local minp, maxp = vm:read_from_map( {x = x - 3, y = y, z = z - 3}, {x = x + 3, y = maxy + 3, z = z + 3} ) local a = VoxelArea:new({MinEdge = minp, MaxEdge = maxp}) local data = vm:get_data() -- Upper branches layer local dev = 3 for yy = maxy - 1, maxy + 1 do for zz = z - dev, z + dev do local vi = a:index(x - dev, yy, zz) local via = a:index(x - dev, yy + 1, zz) for xx = x - dev, x + dev do if random() < 0.95 - dev * 0.05 then add_pine_needles(data, vi, c_air, c_ignore, c_snow, c_pine_needles) if snow then add_snow(data, via, c_air, c_ignore, c_snow) end end vi = vi + 1 via = via + 1 end end dev = dev - 1 end -- Centre top nodes add_pine_needles(data, a:index(x, maxy + 1, z), c_air, c_ignore, c_snow, c_pine_needles) add_pine_needles(data, a:index(x, maxy + 2, z), c_air, c_ignore, c_snow, c_pine_needles) -- Paramat added a pointy top node if snow then add_snow(data, a:index(x, maxy + 3, z), c_air, c_ignore, c_snow) end -- Lower branches layer local my = 0 for i = 1, 20 do -- Random 2x2 squares of needles local xi = x + random(-3, 2) local yy = maxy + random(-6, -5) local zi = z + random(-3, 2) if yy > my then my = yy end for zz = zi, zi+1 do local vi = a:index(xi, yy, zz) local via = a:index(xi, yy + 1, zz) for xx = xi, xi + 1 do add_pine_needles(data, vi, c_air, c_ignore, c_snow, c_pine_needles) if snow then add_snow(data, via, c_air, c_ignore, c_snow) end vi = vi + 1 via = via + 1 end end end dev = 2 for yy = my + 1, my + 2 do for zz = z - dev, z + dev do local vi = a:index(x - dev, yy, zz) local via = a:index(x - dev, yy + 1, zz) for xx = x - dev, x + dev do if random() < 0.95 - dev * 0.05 then add_pine_needles(data, vi, c_air, c_ignore, c_snow, c_pine_needles) if snow then add_snow(data, via, c_air, c_ignore, c_snow) end end vi = vi + 1 via = via + 1 end end dev = dev - 1 end -- Trunk -- Force-place lowest trunk node to replace sapling data[a:index(x, y, z)] = c_pine_tree for yy = y + 1, maxy do local vi = a:index(x, yy, z) local node_id = data[vi] if node_id == c_air or node_id == c_ignore or node_id == c_pine_needles or node_id == c_snow then data[vi] = c_pine_tree end end vm:set_data(data) vm:write_to_map() vm:update_map() end -- New apple tree function default.grow_new_apple_tree(pos) local path = minetest.get_modpath("default") .. "/schematics/apple_tree_from_sapling.mts" minetest.place_schematic({x = pos.x - 2, y = pos.y - 1, z = pos.z - 2}, path, "random", nil, false) end -- New jungle tree function default.grow_new_jungle_tree(pos) local path = minetest.get_modpath("default") .. "/schematics/jungle_tree_from_sapling.mts" minetest.place_schematic({x = pos.x - 2, y = pos.y - 1, z = pos.z - 2}, path, "random", nil, false) end -- New pine tree function default.grow_new_pine_tree(pos) local path = minetest.get_modpath("default") .. "/schematics/pine_tree_from_sapling.mts" minetest.place_schematic({x = pos.x - 2, y = pos.y - 1, z = pos.z - 2}, path, "0", nil, false) end -- New snowy pine tree function default.grow_new_snowy_pine_tree(pos) local path = minetest.get_modpath("default") .. "/schematics/snowy_pine_tree_from_sapling.mts" minetest.place_schematic({x = pos.x - 2, y = pos.y - 1, z = pos.z - 2}, path, "random", nil, false) end -- New acacia tree function default.grow_new_acacia_tree(pos) local path = minetest.get_modpath("default") .. "/schematics/acacia_tree_from_sapling.mts" minetest.place_schematic({x = pos.x - 4, y = pos.y - 1, z = pos.z - 4}, path, "random", nil, false) end -- New aspen tree function default.grow_new_aspen_tree(pos) local path = minetest.get_modpath("default") .. "/schematics/aspen_tree_from_sapling.mts" minetest.place_schematic({x = pos.x - 2, y = pos.y - 1, z = pos.z - 2}, path, "0", nil, false) end -- Bushes do not need 'from sapling' schematic variants because -- only the stem node is force-placed in the schematic. -- Bush function default.grow_bush(pos) local path = minetest.get_modpath("default") .. "/schematics/bush.mts" minetest.place_schematic({x = pos.x - 1, y = pos.y - 1, z = pos.z - 1}, path, "0", nil, false) end -- Acacia bush function default.grow_acacia_bush(pos) local path = minetest.get_modpath("default") .. "/schematics/acacia_bush.mts" minetest.place_schematic({x = pos.x - 1, y = pos.y - 1, z = pos.z - 1}, path, "0", nil, false) end -- -- Sapling 'on place' function to check protection of node and resulting tree volume -- function default.sapling_on_place(itemstack, placer, pointed_thing, sapling_name, minp_relative, maxp_relative, interval) -- Position of sapling local pos = pointed_thing.under local node = minetest.get_node_or_nil(pos) local pdef = node and minetest.registered_nodes[node.name] if pdef and pdef.on_rightclick and not placer:get_player_control().sneak then return pdef.on_rightclick(pos, node, placer, itemstack, pointed_thing) end if not pdef or not pdef.buildable_to then pos = pointed_thing.above node = minetest.get_node_or_nil(pos) pdef = node and minetest.registered_nodes[node.name] if not pdef or not pdef.buildable_to then return itemstack end end local player_name = placer:get_player_name() -- Check sapling position for protection if minetest.is_protected(pos, player_name) then minetest.record_protection_violation(pos, player_name) return itemstack end -- Check tree volume for protection if default.intersects_protection( vector.add(pos, minp_relative), vector.add(pos, maxp_relative), player_name, interval) then minetest.record_protection_violation(pos, player_name) -- Print extra information to explain minetest.chat_send_player(player_name, "Tree will intersect protection") return itemstack end minetest.log("action", player_name .. " places node " .. sapling_name .. " at " .. minetest.pos_to_string(pos)) local take_item = not (creative and creative.is_enabled_for and creative.is_enabled_for(player_name)) local newnode = {name = sapling_name} local ndef = minetest.registered_nodes[sapling_name] minetest.set_node(pos, newnode) -- Run callback if ndef and ndef.after_place_node then -- Deepcopy place_to and pointed_thing because callback can modify it if ndef.after_place_node(table.copy(pos), placer, itemstack, table.copy(pointed_thing)) then take_item = false end end -- Run script hook for _, callback in ipairs(minetest.registered_on_placenodes) do -- Deepcopy pos, node and pointed_thing because callback can modify them if callback(table.copy(pos), table.copy(newnode), placer, table.copy(node or {}), itemstack, table.copy(pointed_thing)) then take_item = false end end if take_item then itemstack:take_item() end return itemstack end
agpl-3.0
giltene/wrk2
deps/luajit/src/jit/dump.lua
74
19509
---------------------------------------------------------------------------- -- LuaJIT compiler dump module. -- -- Copyright (C) 2005-2014 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h ---------------------------------------------------------------------------- -- -- This module can be used to debug the JIT compiler itself. It dumps the -- code representations and structures used in various compiler stages. -- -- Example usage: -- -- luajit -jdump -e "local x=0; for i=1,1e6 do x=x+i end; print(x)" -- luajit -jdump=im -e "for i=1,1000 do for j=1,1000 do end end" | less -R -- luajit -jdump=is myapp.lua | less -R -- luajit -jdump=-b myapp.lua -- luajit -jdump=+aH,myapp.html myapp.lua -- luajit -jdump=ixT,myapp.dump myapp.lua -- -- The first argument specifies the dump mode. The second argument gives -- the output file name. Default output is to stdout, unless the environment -- variable LUAJIT_DUMPFILE is set. The file is overwritten every time the -- module is started. -- -- Different features can be turned on or off with the dump mode. If the -- mode starts with a '+', the following features are added to the default -- set of features; a '-' removes them. Otherwise the features are replaced. -- -- The following dump features are available (* marks the default): -- -- * t Print a line for each started, ended or aborted trace (see also -jv). -- * b Dump the traced bytecode. -- * i Dump the IR (intermediate representation). -- r Augment the IR with register/stack slots. -- s Dump the snapshot map. -- * m Dump the generated machine code. -- x Print each taken trace exit. -- X Print each taken trace exit and the contents of all registers. -- a Print the IR of aborted traces, too. -- -- The output format can be set with the following characters: -- -- T Plain text output. -- A ANSI-colored text output -- H Colorized HTML + CSS output. -- -- The default output format is plain text. It's set to ANSI-colored text -- if the COLORTERM variable is set. Note: this is independent of any output -- redirection, which is actually considered a feature. -- -- You probably want to use less -R to enjoy viewing ANSI-colored text from -- a pipe or a file. Add this to your ~/.bashrc: export LESS="-R" -- ------------------------------------------------------------------------------ -- Cache some library functions and objects. local jit = require("jit") assert(jit.version_num == 20003, "LuaJIT core/library version mismatch") local jutil = require("jit.util") local vmdef = require("jit.vmdef") local funcinfo, funcbc = jutil.funcinfo, jutil.funcbc local traceinfo, traceir, tracek = jutil.traceinfo, jutil.traceir, jutil.tracek local tracemc, tracesnap = jutil.tracemc, jutil.tracesnap local traceexitstub, ircalladdr = jutil.traceexitstub, jutil.ircalladdr local bit = require("bit") local band, shl, shr = bit.band, bit.lshift, bit.rshift local sub, gsub, format = string.sub, string.gsub, string.format local byte, char, rep = string.byte, string.char, string.rep local type, tostring = type, tostring local stdout, stderr = io.stdout, io.stderr -- Load other modules on-demand. local bcline, disass -- Active flag, output file handle and dump mode. local active, out, dumpmode ------------------------------------------------------------------------------ local symtabmt = { __index = false } local symtab = {} local nexitsym = 0 -- Fill nested symbol table with per-trace exit stub addresses. local function fillsymtab_tr(tr, nexit) local t = {} symtabmt.__index = t if jit.arch == "mips" or jit.arch == "mipsel" then t[traceexitstub(tr, 0)] = "exit" return end for i=0,nexit-1 do local addr = traceexitstub(tr, i) t[addr] = tostring(i) end local addr = traceexitstub(tr, nexit) if addr then t[addr] = "stack_check" end end -- Fill symbol table with trace exit stub addresses. local function fillsymtab(tr, nexit) local t = symtab if nexitsym == 0 then local ircall = vmdef.ircall for i=0,#ircall do local addr = ircalladdr(i) if addr ~= 0 then t[addr] = ircall[i] end end end if nexitsym == 1000000 then -- Per-trace exit stubs. fillsymtab_tr(tr, nexit) elseif nexit > nexitsym then -- Shared exit stubs. for i=nexitsym,nexit-1 do local addr = traceexitstub(i) if addr == nil then -- Fall back to per-trace exit stubs. fillsymtab_tr(tr, nexit) setmetatable(symtab, symtabmt) nexit = 1000000 break end t[addr] = tostring(i) end nexitsym = nexit end return t end local function dumpwrite(s) out:write(s) end -- Disassemble machine code. local function dump_mcode(tr) local info = traceinfo(tr) if not info then return end local mcode, addr, loop = tracemc(tr) if not mcode then return end if not disass then disass = require("jit.dis_"..jit.arch) end out:write("---- TRACE ", tr, " mcode ", #mcode, "\n") local ctx = disass.create(mcode, addr, dumpwrite) ctx.hexdump = 0 ctx.symtab = fillsymtab(tr, info.nexit) if loop ~= 0 then symtab[addr+loop] = "LOOP" ctx:disass(0, loop) out:write("->LOOP:\n") ctx:disass(loop, #mcode-loop) symtab[addr+loop] = nil else ctx:disass(0, #mcode) end end ------------------------------------------------------------------------------ local irtype_text = { [0] = "nil", "fal", "tru", "lud", "str", "p32", "thr", "pro", "fun", "p64", "cdt", "tab", "udt", "flt", "num", "i8 ", "u8 ", "i16", "u16", "int", "u32", "i64", "u64", "sfp", } local colortype_ansi = { [0] = "%s", "%s", "%s", "\027[36m%s\027[m", "\027[32m%s\027[m", "%s", "\027[1m%s\027[m", "%s", "\027[1m%s\027[m", "%s", "\027[33m%s\027[m", "\027[31m%s\027[m", "\027[36m%s\027[m", "\027[34m%s\027[m", "\027[34m%s\027[m", "\027[35m%s\027[m", "\027[35m%s\027[m", "\027[35m%s\027[m", "\027[35m%s\027[m", "\027[35m%s\027[m", "\027[35m%s\027[m", "\027[35m%s\027[m", "\027[35m%s\027[m", "\027[35m%s\027[m", } local function colorize_text(s, t) return s end local function colorize_ansi(s, t) return format(colortype_ansi[t], s) end local irtype_ansi = setmetatable({}, { __index = function(tab, t) local s = colorize_ansi(irtype_text[t], t); tab[t] = s; return s; end }) local html_escape = { ["<"] = "&lt;", [">"] = "&gt;", ["&"] = "&amp;", } local function colorize_html(s, t) s = gsub(s, "[<>&]", html_escape) return format('<span class="irt_%s">%s</span>', irtype_text[t], s) end local irtype_html = setmetatable({}, { __index = function(tab, t) local s = colorize_html(irtype_text[t], t); tab[t] = s; return s; end }) local header_html = [[ <style type="text/css"> background { background: #ffffff; color: #000000; } pre.ljdump { font-size: 10pt; background: #f0f4ff; color: #000000; border: 1px solid #bfcfff; padding: 0.5em; margin-left: 2em; margin-right: 2em; } span.irt_str { color: #00a000; } span.irt_thr, span.irt_fun { color: #404040; font-weight: bold; } span.irt_tab { color: #c00000; } span.irt_udt, span.irt_lud { color: #00c0c0; } span.irt_num { color: #4040c0; } span.irt_int, span.irt_i8, span.irt_u8, span.irt_i16, span.irt_u16 { color: #b040b0; } </style> ]] local colorize, irtype -- Lookup tables to convert some literals into names. local litname = { ["SLOAD "] = setmetatable({}, { __index = function(t, mode) local s = "" if band(mode, 1) ~= 0 then s = s.."P" end if band(mode, 2) ~= 0 then s = s.."F" end if band(mode, 4) ~= 0 then s = s.."T" end if band(mode, 8) ~= 0 then s = s.."C" end if band(mode, 16) ~= 0 then s = s.."R" end if band(mode, 32) ~= 0 then s = s.."I" end t[mode] = s return s end}), ["XLOAD "] = { [0] = "", "R", "V", "RV", "U", "RU", "VU", "RVU", }, ["CONV "] = setmetatable({}, { __index = function(t, mode) local s = irtype[band(mode, 31)] s = irtype[band(shr(mode, 5), 31)].."."..s if band(mode, 0x400) ~= 0 then s = s.." trunc" elseif band(mode, 0x800) ~= 0 then s = s.." sext" end local c = shr(mode, 14) if c == 2 then s = s.." index" elseif c == 3 then s = s.." check" end t[mode] = s return s end}), ["FLOAD "] = vmdef.irfield, ["FREF "] = vmdef.irfield, ["FPMATH"] = vmdef.irfpm, } local function ctlsub(c) if c == "\n" then return "\\n" elseif c == "\r" then return "\\r" elseif c == "\t" then return "\\t" else return format("\\%03d", byte(c)) end end local function fmtfunc(func, pc) local fi = funcinfo(func, pc) if fi.loc then return fi.loc elseif fi.ffid then return vmdef.ffnames[fi.ffid] elseif fi.addr then return format("C:%x", fi.addr) else return "(?)" end end local function formatk(tr, idx) local k, t, slot = tracek(tr, idx) local tn = type(k) local s if tn == "number" then if k == 2^52+2^51 then s = "bias" else s = format("%+.14g", k) end elseif tn == "string" then s = format(#k > 20 and '"%.20s"~' or '"%s"', gsub(k, "%c", ctlsub)) elseif tn == "function" then s = fmtfunc(k) elseif tn == "table" then s = format("{%p}", k) elseif tn == "userdata" then if t == 12 then s = format("userdata:%p", k) else s = format("[%p]", k) if s == "[0x00000000]" then s = "NULL" end end elseif t == 21 then -- int64_t s = sub(tostring(k), 1, -3) if sub(s, 1, 1) ~= "-" then s = "+"..s end else s = tostring(k) -- For primitives. end s = colorize(format("%-4s", s), t) if slot then s = format("%s @%d", s, slot) end return s end local function printsnap(tr, snap) local n = 2 for s=0,snap[1]-1 do local sn = snap[n] if shr(sn, 24) == s then n = n + 1 local ref = band(sn, 0xffff) - 0x8000 -- REF_BIAS if ref < 0 then out:write(formatk(tr, ref)) elseif band(sn, 0x80000) ~= 0 then -- SNAP_SOFTFPNUM out:write(colorize(format("%04d/%04d", ref, ref+1), 14)) else local m, ot, op1, op2 = traceir(tr, ref) out:write(colorize(format("%04d", ref), band(ot, 31))) end out:write(band(sn, 0x10000) == 0 and " " or "|") -- SNAP_FRAME else out:write("---- ") end end out:write("]\n") end -- Dump snapshots (not interleaved with IR). local function dump_snap(tr) out:write("---- TRACE ", tr, " snapshots\n") for i=0,1000000000 do local snap = tracesnap(tr, i) if not snap then break end out:write(format("#%-3d %04d [ ", i, snap[0])) printsnap(tr, snap) end end -- Return a register name or stack slot for a rid/sp location. local function ridsp_name(ridsp, ins) if not disass then disass = require("jit.dis_"..jit.arch) end local rid, slot = band(ridsp, 0xff), shr(ridsp, 8) if rid == 253 or rid == 254 then return (slot == 0 or slot == 255) and " {sink" or format(" {%04d", ins-slot) end if ridsp > 255 then return format("[%x]", slot*4) end if rid < 128 then return disass.regname(rid) end return "" end -- Dump CALL* function ref and return optional ctype. local function dumpcallfunc(tr, ins) local ctype if ins > 0 then local m, ot, op1, op2 = traceir(tr, ins) if band(ot, 31) == 0 then -- nil type means CARG(func, ctype). ins = op1 ctype = formatk(tr, op2) end end if ins < 0 then out:write(format("[0x%x](", tonumber((tracek(tr, ins))))) else out:write(format("%04d (", ins)) end return ctype end -- Recursively gather CALL* args and dump them. local function dumpcallargs(tr, ins) if ins < 0 then out:write(formatk(tr, ins)) else local m, ot, op1, op2 = traceir(tr, ins) local oidx = 6*shr(ot, 8) local op = sub(vmdef.irnames, oidx+1, oidx+6) if op == "CARG " then dumpcallargs(tr, op1) if op2 < 0 then out:write(" ", formatk(tr, op2)) else out:write(" ", format("%04d", op2)) end else out:write(format("%04d", ins)) end end end -- Dump IR and interleaved snapshots. local function dump_ir(tr, dumpsnap, dumpreg) local info = traceinfo(tr) if not info then return end local nins = info.nins out:write("---- TRACE ", tr, " IR\n") local irnames = vmdef.irnames local snapref = 65536 local snap, snapno if dumpsnap then snap = tracesnap(tr, 0) snapref = snap[0] snapno = 0 end for ins=1,nins do if ins >= snapref then if dumpreg then out:write(format(".... SNAP #%-3d [ ", snapno)) else out:write(format(".... SNAP #%-3d [ ", snapno)) end printsnap(tr, snap) snapno = snapno + 1 snap = tracesnap(tr, snapno) snapref = snap and snap[0] or 65536 end local m, ot, op1, op2, ridsp = traceir(tr, ins) local oidx, t = 6*shr(ot, 8), band(ot, 31) local op = sub(irnames, oidx+1, oidx+6) if op == "LOOP " then if dumpreg then out:write(format("%04d ------------ LOOP ------------\n", ins)) else out:write(format("%04d ------ LOOP ------------\n", ins)) end elseif op ~= "NOP " and op ~= "CARG " and (dumpreg or op ~= "RENAME") then local rid = band(ridsp, 255) if dumpreg then out:write(format("%04d %-6s", ins, ridsp_name(ridsp, ins))) else out:write(format("%04d ", ins)) end out:write(format("%s%s %s %s ", (rid == 254 or rid == 253) and "}" or (band(ot, 128) == 0 and " " or ">"), band(ot, 64) == 0 and " " or "+", irtype[t], op)) local m1, m2 = band(m, 3), band(m, 3*4) if sub(op, 1, 4) == "CALL" then local ctype if m2 == 1*4 then -- op2 == IRMlit out:write(format("%-10s (", vmdef.ircall[op2])) else ctype = dumpcallfunc(tr, op2) end if op1 ~= -1 then dumpcallargs(tr, op1) end out:write(")") if ctype then out:write(" ctype ", ctype) end elseif op == "CNEW " and op2 == -1 then out:write(formatk(tr, op1)) elseif m1 ~= 3 then -- op1 != IRMnone if op1 < 0 then out:write(formatk(tr, op1)) else out:write(format(m1 == 0 and "%04d" or "#%-3d", op1)) end if m2 ~= 3*4 then -- op2 != IRMnone if m2 == 1*4 then -- op2 == IRMlit local litn = litname[op] if litn and litn[op2] then out:write(" ", litn[op2]) elseif op == "UREFO " or op == "UREFC " then out:write(format(" #%-3d", shr(op2, 8))) else out:write(format(" #%-3d", op2)) end elseif op2 < 0 then out:write(" ", formatk(tr, op2)) else out:write(format(" %04d", op2)) end end end out:write("\n") end end if snap then if dumpreg then out:write(format(".... SNAP #%-3d [ ", snapno)) else out:write(format(".... SNAP #%-3d [ ", snapno)) end printsnap(tr, snap) end end ------------------------------------------------------------------------------ local recprefix = "" local recdepth = 0 -- Format trace error message. local function fmterr(err, info) if type(err) == "number" then if type(info) == "function" then info = fmtfunc(info) end err = format(vmdef.traceerr[err], info) end return err end -- Dump trace states. local function dump_trace(what, tr, func, pc, otr, oex) if what == "stop" or (what == "abort" and dumpmode.a) then if dumpmode.i then dump_ir(tr, dumpmode.s, dumpmode.r and what == "stop") elseif dumpmode.s then dump_snap(tr) end if dumpmode.m then dump_mcode(tr) end end if what == "start" then if dumpmode.H then out:write('<pre class="ljdump">\n') end out:write("---- TRACE ", tr, " ", what) if otr then out:write(" ", otr, "/", oex) end out:write(" ", fmtfunc(func, pc), "\n") elseif what == "stop" or what == "abort" then out:write("---- TRACE ", tr, " ", what) if what == "abort" then out:write(" ", fmtfunc(func, pc), " -- ", fmterr(otr, oex), "\n") else local info = traceinfo(tr) local link, ltype = info.link, info.linktype if link == tr or link == 0 then out:write(" -> ", ltype, "\n") elseif ltype == "root" then out:write(" -> ", link, "\n") else out:write(" -> ", link, " ", ltype, "\n") end end if dumpmode.H then out:write("</pre>\n\n") else out:write("\n") end else out:write("---- TRACE ", what, "\n\n") end out:flush() end -- Dump recorded bytecode. local function dump_record(tr, func, pc, depth, callee) if depth ~= recdepth then recdepth = depth recprefix = rep(" .", depth) end local line if pc >= 0 then line = bcline(func, pc, recprefix) if dumpmode.H then line = gsub(line, "[<>&]", html_escape) end else line = "0000 "..recprefix.." FUNCC \n" callee = func end if pc <= 0 then out:write(sub(line, 1, -2), " ; ", fmtfunc(func), "\n") else out:write(line) end if pc >= 0 and band(funcbc(func, pc), 0xff) < 16 then -- ORDER BC out:write(bcline(func, pc+1, recprefix)) -- Write JMP for cond. end end ------------------------------------------------------------------------------ -- Dump taken trace exits. local function dump_texit(tr, ex, ngpr, nfpr, ...) out:write("---- TRACE ", tr, " exit ", ex, "\n") if dumpmode.X then local regs = {...} if jit.arch == "x64" then for i=1,ngpr do out:write(format(" %016x", regs[i])) if i % 4 == 0 then out:write("\n") end end else for i=1,ngpr do out:write(format(" %08x", regs[i])) if i % 8 == 0 then out:write("\n") end end end if jit.arch == "mips" or jit.arch == "mipsel" then for i=1,nfpr,2 do out:write(format(" %+17.14g", regs[ngpr+i])) if i % 8 == 7 then out:write("\n") end end else for i=1,nfpr do out:write(format(" %+17.14g", regs[ngpr+i])) if i % 4 == 0 then out:write("\n") end end end end end ------------------------------------------------------------------------------ -- Detach dump handlers. local function dumpoff() if active then active = false jit.attach(dump_texit) jit.attach(dump_record) jit.attach(dump_trace) if out and out ~= stdout and out ~= stderr then out:close() end out = nil end end -- Open the output file and attach dump handlers. local function dumpon(opt, outfile) if active then dumpoff() end local colormode = os.getenv("COLORTERM") and "A" or "T" if opt then opt = gsub(opt, "[TAH]", function(mode) colormode = mode; return ""; end) end local m = { t=true, b=true, i=true, m=true, } if opt and opt ~= "" then local o = sub(opt, 1, 1) if o ~= "+" and o ~= "-" then m = {} end for i=1,#opt do m[sub(opt, i, i)] = (o ~= "-") end end dumpmode = m if m.t or m.b or m.i or m.s or m.m then jit.attach(dump_trace, "trace") end if m.b then jit.attach(dump_record, "record") if not bcline then bcline = require("jit.bc").line end end if m.x or m.X then jit.attach(dump_texit, "texit") end if not outfile then outfile = os.getenv("LUAJIT_DUMPFILE") end if outfile then out = outfile == "-" and stdout or assert(io.open(outfile, "w")) else out = stdout end m[colormode] = true if colormode == "A" then colorize = colorize_ansi irtype = irtype_ansi elseif colormode == "H" then colorize = colorize_html irtype = irtype_html out:write(header_html) else colorize = colorize_text irtype = irtype_text end active = true end -- Public module functions. module(...) on = dumpon off = dumpoff start = dumpon -- For -j command line option.
apache-2.0
weiDDD/WSSParticleSystem
cocos2d/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_ui_auto_api.lua
1
6915
-------------------------------- -- @module ccui -------------------------------------------------------- -- the ccui LayoutParameter -- @field [parent=#ccui] LayoutParameter#LayoutParameter LayoutParameter preloaded module -------------------------------------------------------- -- the ccui LinearLayoutParameter -- @field [parent=#ccui] LinearLayoutParameter#LinearLayoutParameter LinearLayoutParameter preloaded module -------------------------------------------------------- -- the ccui RelativeLayoutParameter -- @field [parent=#ccui] RelativeLayoutParameter#RelativeLayoutParameter RelativeLayoutParameter preloaded module -------------------------------------------------------- -- the ccui Widget -- @field [parent=#ccui] Widget#Widget Widget preloaded module -------------------------------------------------------- -- the ccui Layout -- @field [parent=#ccui] Layout#Layout Layout preloaded module -------------------------------------------------------- -- the ccui Button -- @field [parent=#ccui] Button#Button Button preloaded module -------------------------------------------------------- -- the ccui CheckBox -- @field [parent=#ccui] CheckBox#CheckBox CheckBox preloaded module -------------------------------------------------------- -- the ccui ImageView -- @field [parent=#ccui] ImageView#ImageView ImageView preloaded module -------------------------------------------------------- -- the ccui Text -- @field [parent=#ccui] Text#Text Text preloaded module -------------------------------------------------------- -- the ccui TextAtlas -- @field [parent=#ccui] TextAtlas#TextAtlas TextAtlas preloaded module -------------------------------------------------------- -- the ccui LoadingBar -- @field [parent=#ccui] LoadingBar#LoadingBar LoadingBar preloaded module -------------------------------------------------------- -- the ccui ScrollView -- @field [parent=#ccui] ScrollView#ScrollView ScrollView preloaded module -------------------------------------------------------- -- the ccui ListView -- @field [parent=#ccui] ListView#ListView ListView preloaded module -------------------------------------------------------- -- the ccui Slider -- @field [parent=#ccui] Slider#Slider Slider preloaded module -------------------------------------------------------- -- the ccui TextField -- @field [parent=#ccui] TextField#TextField TextField preloaded module -------------------------------------------------------- -- the ccui TextBMFont -- @field [parent=#ccui] TextBMFont#TextBMFont TextBMFont preloaded module -------------------------------------------------------- -- the ccui PageView -- @field [parent=#ccui] PageView#PageView PageView preloaded module -------------------------------------------------------- -- the ccui Helper -- @field [parent=#ccui] Helper#Helper Helper preloaded module -------------------------------------------------------- -- the ccui RichElement -- @field [parent=#ccui] RichElement#RichElement RichElement preloaded module -------------------------------------------------------- -- the ccui RichElementText -- @field [parent=#ccui] RichElementText#RichElementText RichElementText preloaded module -------------------------------------------------------- -- the ccui RichElementImage -- @field [parent=#ccui] RichElementImage#RichElementImage RichElementImage preloaded module -------------------------------------------------------- -- the ccui RichElementCustomNode -- @field [parent=#ccui] RichElementCustomNode#RichElementCustomNode RichElementCustomNode preloaded module -------------------------------------------------------- -- the ccui RichText -- @field [parent=#ccui] RichText#RichText RichText preloaded module -------------------------------------------------------- -- the ccui HBox -- @field [parent=#ccui] HBox#HBox HBox preloaded module -------------------------------------------------------- -- the ccui VBox -- @field [parent=#ccui] VBox#VBox VBox preloaded module -------------------------------------------------------- -- the ccui RelativeBox -- @field [parent=#ccui] RelativeBox#RelativeBox RelativeBox preloaded module -------------------------------------------------------- -- the ccui Scale9Sprite -- @field [parent=#ccui] Scale9Sprite#Scale9Sprite Scale9Sprite preloaded module -------------------------------------------------------- -- the ccui EditBox -- @field [parent=#ccui] EditBox#EditBox EditBox preloaded module -------------------------------------------------------- -- the ccui LayoutComponent -- @field [parent=#ccui] LayoutComponent#LayoutComponent LayoutComponent preloaded module -------------------------------------------------------- -- the ccui RichItem -- @field [parent=#ccui] RichItem#RichItem RichItem preloaded module -------------------------------------------------------- -- the ccui RichItemNewLine -- @field [parent=#ccui] RichItemNewLine#RichItemNewLine RichItemNewLine preloaded module -------------------------------------------------------- -- the ccui RichItemText -- @field [parent=#ccui] RichItemText#RichItemText RichItemText preloaded module -------------------------------------------------------- -- the ccui RichItemImage -- @field [parent=#ccui] RichItemImage#RichItemImage RichItemImage preloaded module -------------------------------------------------------- -- the ccui RichItemCustom -- @field [parent=#ccui] RichItemCustom#RichItemCustom RichItemCustom preloaded module -------------------------------------------------------- -- the ccui LinkLable -- @field [parent=#ccui] LinkLable#LinkLable LinkLable preloaded module -------------------------------------------------------- -- the ccui RichItemFactory -- @field [parent=#ccui] RichItemFactory#RichItemFactory RichItemFactory preloaded module -------------------------------------------------------- -- the ccui RichItemTextFactory -- @field [parent=#ccui] RichItemTextFactory#RichItemTextFactory RichItemTextFactory preloaded module -------------------------------------------------------- -- the ccui RichItemImageFactory -- @field [parent=#ccui] RichItemImageFactory#RichItemImageFactory RichItemImageFactory preloaded module -------------------------------------------------------- -- the ccui RichTextManager -- @field [parent=#ccui] RichTextManager#RichTextManager RichTextManager preloaded module -------------------------------------------------------- -- the ccui RichTextTyping -- @field [parent=#ccui] RichTextTyping#RichTextTyping RichTextTyping preloaded module -------------------------------------------------------- -- the ccui RichTextUI -- @field [parent=#ccui] RichTextUI#RichTextUI RichTextUI preloaded module return nil
apache-2.0
JarnoVgr/ZombieSurvival
gamemodes/zombiesurvival/gamemode/sv_sigils.lua
1
2959
function GM:OnSigilDestroyed(ent, dmginfo) local numsigils = self:NumSigils() if numsigils > 0 then for _, pl in pairs(player.GetAll()) do pl:CenterNotify({killicon = "default"}, " ", COLOR_RED, translate.ClientGet(pl, "sigil_destroyed"), {killicon = "default"}) if numsigils == 1 then pl:CenterNotify(COLOR_RED, translate.ClientGet(pl, pl:Team() == TEAM_HUMAN and "sigil_destroyed_only_one_remain_h" or "sigil_destroyed_only_one_remain_z")) else pl:CenterNotify(COLOR_RED, translate.ClientFormat(pl, "sigil_destroyed_x_remain", numsigils)) end end else for _, pl in pairs(player.GetAll()) do pl:CenterNotify({killicon = "default"}, " ", COLOR_RED, translate.ClientGet(pl, "last_sigil_destroyed_all_is_lost"), {killicon = "default"}) pl:CenterNotify(COLOR_RED, translate.ClientGet(pl, "last_sigil_destroyed_all_is_lost2")) end self.LastHumanPosition = ent:LocalToWorld(ent:OBBCenter()) timer.Simple(4, function() gamemode.Call("EndRound", TEAM_UNDEAD) end) end end local function SortDistFromLast(a, b) return a.d < b.d end function GM:CreateSigils() if #self.ProfilerNodes < self.MaxSigils or self.ZombieEscape or self.ObjectiveMap or self:IsClassicMode() or self.PantsMode or self:IsBabyMode() then self:SetUseSigils(false) return end -- Copy local nodes = {} for _, node in pairs(self.ProfilerNodes) do local vec = Vector() vec:Set(node) nodes[#nodes + 1] = {v = vec} end local spawns = team.GetSpawnPoint(TEAM_UNDEAD) for i=1, self.MaxSigils do local id local sigs = ents.FindByClass("prop_obj_sigil") for _, n in pairs(nodes) do n.d = 999999 for __, spawn in pairs(spawns) do n.d = math.min(n.d, n.v:Distance(spawn:GetPos())) end for __, sig in pairs(sigs) do n.d = math.min(n.d, n.v:Distance(sig.NodePos)) end local tr = util.TraceLine({start = n.v + Vector(0, 0, 8), endpos = n.v + Vector(0, 0, 512), mask = MASK_SOLID_BRUSHONLY}) n.d = n.d * (2 - tr.Fraction) end -- Sort the nodes by their distances. table.sort(nodes, SortDistFromLast) -- Now select a node using an exponential weight. -- We use a random float between 0 and 1 then sqrt it. -- This way we're much more likely to get a lower index but a higher index is still possible. id = math.Rand(0, 0.7) ^ 0.3 id = math.Clamp(math.ceil(id * #nodes), 1, #nodes) -- Remove the chosen point from the temp table and make the sigil. local point = nodes[id].v table.remove(nodes, id) local ent = ents.Create("prop_obj_sigil") if ent:IsValid() then ent:SetPos(point) ent:Spawn() ent.NodePos = point end end self:SetUseSigils(#ents.FindByClass("prop_obj_sigil") > 0) end function GM:SetUseSigils(use) if self:GetUseSigils() ~= use then self.UseSigils = use SetGlobalBool("sigils", true) end end function GM:GetUseSigils(use) return self.UseSigils end
gpl-2.0
Hammerspoon/hammerspoon
extensions/base64/base64.lua
4
1408
--- === hs.base64 === --- --- Base64 encoding and decoding --- --- Portions sourced from (https://gist.github.com/shpakovski/1902994). local module = require("hs.libbase64") -- private variables and methods ----------------------------------------- -- Public interface ------------------------------------------------------ --- hs.base64.encode(val[,width]) -> str --- Function --- Encodes a given string to base64 --- --- Parameters: --- * val - A string to encode as base64 --- * width - Optional line width to split the string into (usually 64 or 76) --- --- Returns: --- * A string containing the base64 representation of the input string module.encode = function(data, width) local _data = module._encode(data) if width then local _hold, i, j = _data, 1, width _data = "" repeat _data = _data.._hold:sub(i,j).."\n" i = i + width j = j + width until i > #_hold return _data:sub(1,#_data - 1) else return _data end end --- hs.base64.decode(str) -> val --- Function --- Decodes a given base64 string --- --- Parameters: --- * str - A base64 encoded string --- --- Returns: --- * A string containing the decoded data module.decode = function(data) return module._decode((data:gsub("[\r\n]+",""))) end -- Return Module Object -------------------------------------------------- return module
mit
zain211/zain.aliraqe
ar-azan.lua
1
3825
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY jOker ▀▄ ▄▀ ▀▄ ▄▀ BY joker (@fuck_8_you) ▀▄ ▄▀ ▀▄ ▄▀ JUST WRITED BY joker ▀▄ ▄▀ ▀▄ ▄▀ broadcast : الاذان ▀▄ ▄▀ ▀▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄▀▀▄▄▀▄▄▀▀ --]]do function run_bash(str) local cmd = io.popen(str) local result = cmd:read('*all') return result end local api_key = nil local base_api = "https://maps.googleapis.com/maps/api" function get_latlong(area) local api = base_api .. "/geocode/json?" local parameters = "address=".. (URL.escape(area) or "") if api_key ~= nil then parameters = parameters .. "&key="..api_key end local res, code = https.request(api..parameters) if code ~=200 then return nil end local data = json:decode(res) if (data.status == "ZERO_RESULTS") then return nil end if (data.status == "OK") then lat = data.results[1].geometry.location.lat lng = data.results[1].geometry.location.lng acc = data.results[1].geometry.location_type types= data.results[1].types return lat,lng,acc,types end end function get_staticmap(area) local api = base_api .. "/staticmap?" local lat,lng,acc,types = get_latlong(area) local scale = types[1] if scale=="locality" then zoom=8 elseif scale=="country" then zoom=4 else zoom = 13 end local parameters = "size=600x300" .. "&zoom=" .. zoom .. "&center=" .. URL.escape(area) .. "&markers=color:red"..URL.escape("|"..area) if api_key ~=nil and api_key ~= "" then parameters = parameters .. "&key="..api_key end return lat, lng, api..parameters end function DevPoint(msg, matches) local hash = 'usecommands:'..msg.from.id..':'..msg.to.id redis:incr(hash) local receiver = get_receiver(msg) local city = matches[1] if matches[1] == 'الاذان' then city = 'Baghdad' end local lat,lng,url = get_staticmap(city) local dumptime = run_bash('date +%s') local code = http.request('http://api.aladhan.com/timings/'..dumptime..'?latitude='..lat..'&longitude='..lng..'&timezonestring=Asia/Baghdad&method=7') local jdat = json:decode(code) local data = jdat.data.timings local text = '⛪️مدينة : '..city text = text..'\n🕌آذان الصبح: '..data.Fajr text = text..'\n🕌شروق الشمس: '..data.Sunrise text = text..'\n🕌آذان الظهر: '..data.Dhuhr text = text..'\n🕌الغروب: '..data.Sunset text = text..'\n🕌آذان المغرب: '..data.Maghrib text = text..'\n🕌آذان العشاء : '..data.Isha text = text..'\n\nchannel : @zaintyh' if string.match(text, '0') then text = string.gsub(text, '0', '0') end if string.match(text, '1') then text = string.gsub(text, '1', '1') end if string.match(text, '2') then text = string.gsub(text, '2', '2') end if string.match(text, '3') then text = string.gsub(text, '3', '3') end if string.match(text, '4') then text = string.gsub(text, '4', '4') end if string.match(text, '5') then text = string.gsub(text, '5', '5') end if string.match(text, '6') then text = string.gsub(text, '6', '6') end if string.match(text, '7') then text = string.gsub(text, '7', '7') end if string.match(text, '8') then text = string.gsub(text, '8', '8') end if string.match(text, '9') then text = string.gsub(text, '9', '9') end return text end return { patterns = {"^الاذان (.*)$","^(الاذان)$"}, run =DevPoint } end
gpl-3.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/rori/creatures/frailSquallMeekAvenger.lua
1
4665
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version --which carries forward this exception. frailSquallMeekAvenger = Creature:new { objectName = "frailSquallMeekAvenger", -- Lua Object Name creatureType = "ANIMAL", gender = "", speciesName = "frail_squall_meek_avenger", stfName = "mob/creature_names", objectCRC = 536393830, socialGroup = "Squall", level = 6, combatFlags = ATTACKABLE_FLAG + ENEMY_FLAG, healthMax = 220, healthMin = 180, strength = 0, constitution = 0, actionMax = 220, actionMin = 180, quickness = 0, stamina = 0, mindMax = 220, mindMin = 180, focus = 0, willpower = 0, height = 1, -- Size of creature armor = 0, -- 0 = None; 1 = Light; 2 = Medium; 3 = Heavy kinetic = 0, energy = 0, electricity = 0, stun = -1, blast = 0, heat = 0, cold = 0, acid = 0, lightsaber = 0, accuracy = 0, healer = 0, pack = 0, herd = 0, stalker = 0, killer = 0, ferocity = 0, aggressive = 0, invincible = 0, meleeDefense = 1, rangedDefense = 1, attackCreatureOnSight = "", -- Enter socialGroups weapon = "object/weapon/creature/shared_creature_default_weapon.iff", -- File path to weapon -> object\xxx\xxx\xx weaponName = "Creature Defualt", -- Name ex. 'a Vibrolance' weaponTemp = "creature_default_weapon", -- Weapon Template ex. 'lance_vibrolance' weaponClass = "UnarmedMeleeWeapon", -- Weapon Class ex. 'PolearmMeleeWeapon' weaponEquipped = 0, weaponMinDamage = 50, weaponMaxDamage = 55, weaponAttackSpeed = 2, weaponDamageType = "KINETIC", -- ELECTRICITY, KINETIC, etc weaponArmorPiercing = "NONE", -- LIGHT, NONE, MEDIUM, HEAVY alternateWeapon = "", -- File path to weapon -> object\xxx\xxx\xx alternateWeaponName = "", -- Name ex. 'a Vibrolance' alternateWeaponTemp = "", -- Weapon Template ex. 'lance_vibrolance' alternateWeaponClass = "", -- Weapon Class ex. 'PolearmMeleeWeapon' alternateWeaponEquipped = 0, alternateWeaponMinDamage = 0, alternateWeaponMaxDamage = 0, alternateWeaponAttackSpeed = 0, alternateWeaponDamageType = "", -- ELECTRICITY, KINETIC, etc alternateWeaponArmorPiercing = "", -- LIGHT, NONE, MEDIUM, HEAVY internalNPCDamageModifier = 0.3, -- Damage Modifier to other NPC's lootGroup = "0", -- Group it belongs to for loot tame = 0, -- Likely hood to be tamed datapadItemCRC = 0, mountCRC = 0, mountSpeed = 0, mountAcceleration = 0, milk = 0, boneType = "bone_mammal_rori", boneMax = 9, hideType = "hide_bristley_rori", hideMax = 9, meatType = "meat_herbivore_rori", meatMax = 12, skills = { "squallAttack1" }, respawnTimer = 60, behaviorScript = "", -- Link to the behavior script for this object } Creatures:addCreature(frailSquallMeekAvenger, 536393830) -- Add to Global Table
lgpl-3.0
asmagill/hammerspoon
extensions/hints/hints.lua
4
8597
--- === hs.hints === --- --- Switch focus with a transient per-application keyboard shortcut local hints = require "hs.libhints" local window = require "hs.window" local hotkey = require "hs.hotkey" local modal_hotkey = hotkey.modal --- hs.hints.hintChars --- Variable --- This controls the set of characters that will be used for window hints. They must be characters found in hs.keycodes.map --- The default is the letters A-Z. Note that if `hs.hints.style` is set to "vimperator", this variable will be ignored. hints.hintChars = {"A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"} -- vimperator mode requires to use full set of alphabet to represent applications. hints.hintCharsVimperator = {"A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"} --- hs.hints.style --- Variable --- If this is set to "vimperator", every window hint starts with the first character --- of the parent application's title hints.style = "default" --- hs.hints.fontName --- Variable --- A fully specified family-face name, preferrably the PostScript name, such as Helvetica-BoldOblique or Times-Roman. (The Font Book app displays PostScript names of fonts in the Font Info panel.) --- The default value is the system font hints.fontName = nil --- hs.hints.fontSize --- Variable --- The size of font that should be used. A value of 0.0 will use the default size. hints.fontSize = 0.0 --- hs.hints.showTitleThresh --- Variable --- If there are less than or equal to this many windows on screen their titles will be shown in the hints. --- The default is 4. Setting to 0 will disable this feature. hints.showTitleThresh = 4 --- hs.hints.titleMaxSize --- Variable --- If the title is longer than maxSize, the string is truncated, -1 to disable, valid value is >= 6 hints.titleMaxSize = -1 --- hs.hints.iconAlpha --- Variable --- Opacity of the application icon. Default is 0.95. hints.iconAlpha = 0.95 local openHints = {} local takenPositions = {} local hintDict = {} local hintChars = nil local modalKey = nil local selectionCallback = nil local bumpThresh = 40^2 local bumpMove = 80 local invalidWindowRoles = { AXScrollArea = true, --This excludes the main finder window. AXUnknown = true } local function isValidWindow(win, allowNonStandard) if not allowNonStandard then return win:isStandard() else return invalidWindowRoles[win:role()] == nil end end function hints.bumpPos(x,y) for _, pos in ipairs(takenPositions) do if ((pos.x-x)^2 + (pos.y-y)^2) < bumpThresh then return hints.bumpPos(x,y+bumpMove) end end return {x = x,y = y} end function hints.addWindow(dict, win) local n = dict['count'] if n == nil then dict['count'] = 0 n = 0 end local m = (n % #hintChars) + 1 local char = hintChars[m] if n < #hintChars then dict[char] = win else if type(dict[char]) == "userdata" then -- dict[m] is already occupied by another window -- which me must convert into a new dictionary local otherWindow = dict[char] dict[char] = {} hints.addWindow(dict, otherWindow) end hints.addWindow(dict[char], win) end dict['count'] = dict['count'] + 1 end -- Private helper to recursively find the total number of hints in a dict function hints._dictSize(t) if type(t) == "userdata" and t:screen() then -- onscreen window return 1 elseif type(t) == "table" then local count = 0 for _,v in pairs(t) do count = count + hints._dictSize(v) end return count end return 0 -- screenless window or something else end function hints.displayHintsForDict(dict, prefixstring, showTitles, allowNonStandard) if showTitles == nil then showTitles = hints._dictSize(hintDict) <= hints.showTitleThresh end for key, val in pairs(dict) do if type(val) == "userdata" and val:screen() then -- this is an onscreen window local win = val local app = win:application() local fr = win:frame() local sfr = win:screen():frame() if app and app:bundleID() and isValidWindow(win, allowNonStandard) then local c = {x = fr.x + (fr.w/2) - sfr.x, y = fr.y + (fr.h/2) - sfr.y} local d = hints.bumpPos(c.x, c.y) if d.y > (sfr.y + sfr.h - bumpMove) then d.x = d.x + bumpMove d.y = fr.y + (fr.h/2) - sfr.y d = hints.bumpPos(d.x, d.y) end c = d if c.y < 0 then print("hs.hints: Skipping offscreen window: "..win:title()) else local suffixString = "" if showTitles then local win_title = win:title() if hints.titleMaxSize > 1 and #win_title > hints.titleMaxSize then local end_idx = math.max(0, hints.titleMaxSize-3) win_title = string.sub(win_title, 1, end_idx) .. "..." end suffixString = ": "..win_title end -- print(win:title().." x:"..c.x.." y:"..c.y) -- debugging local hint = hints.new(c.x, c.y, prefixstring .. key .. suffixString, app:bundleID(), win:screen(), hints.fontName, hints.fontSize, hints.iconAlpha) table.insert(takenPositions, c) table.insert(openHints, hint) end end elseif type(val) == "table" then -- this is another window dict hints.displayHintsForDict(val, prefixstring .. key, showTitles, allowNonStandard) end end end function hints.processChar(char) local toFocus = nil if hintDict[char] ~= nil then hints.closeHints() if type(hintDict[char]) == "userdata" then if hintDict[char] then toFocus = hintDict[char] end elseif type(hintDict[char]) == "table" then hintDict = hintDict[char] if hintDict.count == 1 then toFocus = hintDict[hintChars[1]] else takenPositions = {} hints.displayHintsForDict(hintDict, "") end end end if toFocus then toFocus:focus() modalKey:exit() if selectionCallback then selectionCallback(toFocus) end end end function hints.setupModal() local k = modal_hotkey.new(nil, nil) k:bind({}, 'escape', function() hints.closeHints(); k:exit() end) for _, c in ipairs(hintChars) do k:bind({}, c, function() hints.processChar(c) end) end return k end --- hs.hints.windowHints([windows, callback, allowNonStandard]) --- Function --- Displays a keyboard hint for switching focus to each window --- --- Parameters: --- * windows - An optional table containing some `hs.window` objects. If this value is nil, all windows will be hinted --- * callback - An optional function that will be called when a window has been selected by the user. The function will be called with a single argument containing the `hs.window` object of the window chosen by the user --- * allowNonStandard - An optional boolean. If true, all windows will be included, not just standard windows --- --- Returns: --- * None --- --- Notes: --- * If there are more windows open than there are characters available in hs.hints.hintChars, multiple characters will be used --- * If hints.style is set to "vimperator", every window hint is prefixed with the first character of the parent application's name --- * To display hints only for the currently focused application, try something like: --- * `hs.hints.windowHints(hs.window.focusedWindow():application():allWindows())` function hints.windowHints(windows, callback, allowNonStandard) if hints.style == "vimperator" then hintChars = hints.hintCharsVimperator else hintChars = hints.hintChars end windows = windows or window.allWindows() selectionCallback = callback if (modalKey == nil) then modalKey = hints.setupModal() end hints.closeHints() hintDict = {} for _, win in ipairs(windows) do local app = win:application() if app and app:bundleID() and isValidWindow(win, allowNonStandard) then if hints.style == "vimperator" then local appchar = string.upper(string.sub(app:title(), 1, 1)) if hintDict[appchar] == nil then hintDict[appchar] = {} end hints.addWindow(hintDict[appchar], win) else hints.addWindow(hintDict, win) end end end takenPositions = {} if next(hintDict) ~= nil then hints.displayHintsForDict(hintDict, "", nil, allowNonStandard) modalKey:enter() end end function hints.closeHints() for _, hint in ipairs(openHints) do hint:close() end openHints = {} takenPositions = {} end return hints
mit
Modified-MW-DF/modified-MDF
MWDF Project/Dwarf Fortress/hack/scripts/gui/confirm-opts.lua
2
1922
-- confirm plugin options --[====[ gui/confirm-opts ================ A basic configuration interface for the `confirm` plugin. ]====] confirm = require 'plugins.confirm' gui = require 'gui' Opts = defclass(Opts, gui.FramedScreen) Opts.ATTRS = { frame_style = gui.GREY_LINE_FRAME, frame_title = 'Confirmation dialogs', frame_width = 32, frame_height = 20, frame_inset = 1, focus_path = 'confirm/opts', } function Opts:init() self:refresh() self.cursor = 1 local active_id = confirm.get_active_id() for i, c in pairs(self.data) do if c.id == active_id then self.cursor = i break end end end function Opts:refresh() self.data = confirm.get_conf_data() self.frame_height = #self.data end function Opts:onRenderBody(p) for i, c in pairs(self.data) do local highlight = (i == self.cursor and 8 or 0) p:pen(COLOR_GREY + highlight) p:string(c.id .. ': ') p:pen((c.enabled and COLOR_GREEN or COLOR_RED) + highlight) p:string(c.enabled and 'Enabled' or 'Disabled') p:newline() end end function Opts:onInput(keys) local conf = self.data[self.cursor] if keys.LEAVESCREEN then self:dismiss() elseif keys.SELECT then confirm.set_conf_state(conf.id, not conf.enabled) self:refresh() elseif keys.SEC_SELECT then for _, c in pairs(self.data) do confirm.set_conf_state(c.id, not conf.enabled) end self:refresh() elseif keys.STANDARDSCROLL_UP or keys.STANDARDSCROLL_DOWN then self.cursor = self.cursor + (keys.STANDARDSCROLL_UP and -1 or 1) if self.cursor < 1 then self.cursor = #self.data elseif self.cursor > #self.data then self.cursor = 1 end end end Opts():show()
mit
TheAnswer/FirstTest
bin/scripts/slashcommands/admin/remote.lua
1
2421
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version --which carries forward this exception. --true = 1, false = 0 RemoteSlashCommand = { name = "remote", alternativeNames = "", animation = "", invalidStateMask = 2097152, --glowingJedi, invalidPostures = "", target = 2, targeType = 0, disabled = 0, maxRangeToTarget = 0, --adminLevel = 0, addToCombatQueue = 0, } AddRemoteSlashCommand(RemoteSlashCommand)
lgpl-3.0
technomancy/ss-calandria
mods/mesecons/mesecons_extrawires/corner.lua
2
2194
local corner_nodebox = { type = "fixed", fixed = {{ -16/32-0.001, -17/32, -3/32, 0, -13/32, 3/32 }, { -3/32, -17/32, -16/32+0.001, 3/32, -13/32, 3/32}} } local corner_selectionbox = { type = "fixed", fixed = { -16/32-0.001, -18/32, -16/32, 5/32, -12/32, 5/32 }, } local corner_get_rules = function (node) local rules = {{x = 1, y = 0, z = 0}, {x = 0, y = 0, z = -1}} for i = 0, node.param2 do rules = mesecon.rotate_rules_left(rules) end return rules end minetest.register_node("mesecons_extrawires:corner_on", { drawtype = "nodebox", tiles = { "jeija_insulated_wire_curved_tb_on.png", "jeija_insulated_wire_curved_tb_on.png^[transformR270", "jeija_insulated_wire_sides_on.png", "jeija_insulated_wire_ends_on.png", "jeija_insulated_wire_sides_on.png", "jeija_insulated_wire_ends_on.png" }, paramtype = "light", paramtype2 = "facedir", walkable = false, sunlight_propagates = true, selection_box = corner_selectionbox, node_box = corner_nodebox, groups = {dig_immediate = 3, not_in_creative_inventory = 1}, drop = "mesecons_extrawires:corner_off", mesecons = {conductor = { state = mesecon.state.on, rules = corner_get_rules, offstate = "mesecons_extrawires:corner_off" }} }) minetest.register_node("mesecons_extrawires:corner_off", { drawtype = "nodebox", description = "Mesecon Corner", tiles = { "jeija_insulated_wire_curved_tb_off.png", "jeija_insulated_wire_curved_tb_off.png^[transformR270", "jeija_insulated_wire_sides_off.png", "jeija_insulated_wire_ends_off.png", "jeija_insulated_wire_sides_off.png", "jeija_insulated_wire_ends_off.png" }, paramtype = "light", paramtype2 = "facedir", walkable = false, sunlight_propagates = true, selection_box = corner_selectionbox, node_box = corner_nodebox, groups = {dig_immediate = 3}, mesecons = {conductor = { state = mesecon.state.off, rules = corner_get_rules, onstate = "mesecons_extrawires:corner_on" }} }) minetest.register_craft({ output = "mesecons_extrawires:corner_off 3", recipe = { {"", "", ""}, {"mesecons_insulated:insulated_off", "mesecons_insulated:insulated_off", ""}, {"", "mesecons_insulated:insulated_off", ""}, } })
gpl-3.0
chrisdugne/ludum-dare-36
CBE/cbe_core/misc/vs-t.lua
7
4108
-------------------------------------------------------------------------------- --[[ CBE Component: VS-T The VS-T data structure. This implementation is adapted for CBE. VS-T originally stood for something cool, but I can't remember what it is now. Too bad. Bummer. --]] -------------------------------------------------------------------------------- local lib_vst = {} -------------------------------------------------------------------------------- -- Localize -------------------------------------------------------------------------------- local error = error local table_insert = table.insert local table_remove = table.remove local table_indexOf = table.indexOf local table_sort = table.sort local threshold = 10 -- Threshold between using table.remove and nil-out based removal -------------------------------------------------------------------------------- -- Create VS-T Structure -------------------------------------------------------------------------------- function lib_vst.new(storeAs) local storeAs = storeAs or "vstStoredIndex" local vst = {} local stored = {} local markedIndices = {} local remove = {} local removeIndex = 0 vst._stored = stored ------------------------------------------------------------------------------ -- Count Stored Items ------------------------------------------------------------------------------ function vst.count() return #stored end ------------------------------------------------------------------------------ -- Add an Item ------------------------------------------------------------------------------ function vst.add(p) if p._cbe_reserved[storeAs] and stored[p._cbe_reserved[storeAs] ] then return false end table_insert(stored, p) p._cbe_reserved[storeAs] = #stored --table_indexOf(stored, p) return true end ------------------------------------------------------------------------------ -- Get an Item ------------------------------------------------------------------------------ function vst.get(n) return stored[n] end ------------------------------------------------------------------------------ -- Mark an Item for Removal ------------------------------------------------------------------------------ function vst.markForRemoval(n) if markedIndices[n] then return false end removeIndex = removeIndex + 1 remove[removeIndex] = n markedIndices[n] = removeIndex end ------------------------------------------------------------------------------ -- Remove Items Marked for Removal ------------------------------------------------------------------------------ function vst.removeMarked() if removeIndex == 0 then return false end if removeIndex <= threshold then if removeIndex > 1 then table_sort(remove) end local offset = 0 for i = 1, #remove do local r = remove[i] table_remove(stored, r - offset) table_remove(markedIndices, r - offset) if i < removeIndex then local incr = -(offset + 1) for p = r - offset, remove[i + 1] - offset - 1 do stored[p]._cbe_reserved[storeAs] = stored[p]._cbe_reserved[storeAs] + incr end else local incr = -offset - 1 for p = r - offset, #stored do stored[p]._cbe_reserved[storeAs] = stored[p]._cbe_reserved[storeAs] + incr end end offset = offset + 1 end else local numStored = #stored for i = 1, removeIndex do stored[remove[i] ] = nil end local newStored = {} for i = 1, numStored do if stored[i] ~= nil then table_insert(newStored, stored[i]) newStored[#newStored]._cbe_reserved[storeAs] = #newStored end end stored = newStored end markedIndices = {} removeIndex = 0 remove = {} end ------------------------------------------------------------------------------ -- Item Iterator ------------------------------------------------------------------------------ function vst.items() local iterator = 0 return function() iterator = iterator + 1 if iterator <= #stored then return stored[iterator], iterator else return nil end end end return vst end return lib_vst
bsd-3-clause
gabrielPeart/keys
Build/VSCOKeys.lrplugin/halfway_server/socket/smtp.lua
142
7961
----------------------------------------------------------------------------- -- SMTP client support for the Lua language. -- LuaSocket toolkit. -- Author: Diego Nehab -- RCS ID: $Id: smtp.lua,v 1.46 2007/03/12 04:08:40 diego Exp $ ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- -- Declare module and import dependencies ----------------------------------------------------------------------------- local base = _G local coroutine = require("coroutine") local string = require("string") local math = require("math") local os = require("os") local socket = require("socket") local tp = require("socket.tp") local ltn12 = require("ltn12") local mime = require("mime") module("socket.smtp") ----------------------------------------------------------------------------- -- Program constants ----------------------------------------------------------------------------- -- timeout for connection TIMEOUT = 60 -- default server used to send e-mails SERVER = "localhost" -- default port PORT = 25 -- domain used in HELO command and default sendmail -- If we are under a CGI, try to get from environment DOMAIN = os.getenv("SERVER_NAME") or "localhost" -- default time zone (means we don't know) ZONE = "-0000" --------------------------------------------------------------------------- -- Low level SMTP API ----------------------------------------------------------------------------- local metat = { __index = {} } function metat.__index:greet(domain) self.try(self.tp:check("2..")) self.try(self.tp:command("EHLO", domain or DOMAIN)) return socket.skip(1, self.try(self.tp:check("2.."))) end function metat.__index:mail(from) self.try(self.tp:command("MAIL", "FROM:" .. from)) return self.try(self.tp:check("2..")) end function metat.__index:rcpt(to) self.try(self.tp:command("RCPT", "TO:" .. to)) return self.try(self.tp:check("2..")) end function metat.__index:data(src, step) self.try(self.tp:command("DATA")) self.try(self.tp:check("3..")) self.try(self.tp:source(src, step)) self.try(self.tp:send("\r\n.\r\n")) return self.try(self.tp:check("2..")) end function metat.__index:quit() self.try(self.tp:command("QUIT")) return self.try(self.tp:check("2..")) end function metat.__index:close() return self.tp:close() end function metat.__index:login(user, password) self.try(self.tp:command("AUTH", "LOGIN")) self.try(self.tp:check("3..")) self.try(self.tp:command(mime.b64(user))) self.try(self.tp:check("3..")) self.try(self.tp:command(mime.b64(password))) return self.try(self.tp:check("2..")) end function metat.__index:plain(user, password) local auth = "PLAIN " .. mime.b64("\0" .. user .. "\0" .. password) self.try(self.tp:command("AUTH", auth)) return self.try(self.tp:check("2..")) end function metat.__index:auth(user, password, ext) if not user or not password then return 1 end if string.find(ext, "AUTH[^\n]+LOGIN") then return self:login(user, password) elseif string.find(ext, "AUTH[^\n]+PLAIN") then return self:plain(user, password) else self.try(nil, "authentication not supported") end end -- send message or throw an exception function metat.__index:send(mailt) self:mail(mailt.from) if base.type(mailt.rcpt) == "table" then for i,v in base.ipairs(mailt.rcpt) do self:rcpt(v) end else self:rcpt(mailt.rcpt) end self:data(ltn12.source.chain(mailt.source, mime.stuff()), mailt.step) end function open(server, port, create) local tp = socket.try(tp.connect(server or SERVER, port or PORT, TIMEOUT, create)) local s = base.setmetatable({tp = tp}, metat) -- make sure tp is closed if we get an exception s.try = socket.newtry(function() s:close() end) return s end -- convert headers to lowercase local function lower_headers(headers) local lower = {} for i,v in base.pairs(headers or lower) do lower[string.lower(i)] = v end return lower end --------------------------------------------------------------------------- -- Multipart message source ----------------------------------------------------------------------------- -- returns a hopefully unique mime boundary local seqno = 0 local function newboundary() seqno = seqno + 1 return string.format('%s%05d==%05u', os.date('%d%m%Y%H%M%S'), math.random(0, 99999), seqno) end -- send_message forward declaration local send_message -- yield the headers all at once, it's faster local function send_headers(headers) local h = "\r\n" for i,v in base.pairs(headers) do h = i .. ': ' .. v .. "\r\n" .. h end coroutine.yield(h) end -- yield multipart message body from a multipart message table local function send_multipart(mesgt) -- make sure we have our boundary and send headers local bd = newboundary() local headers = lower_headers(mesgt.headers or {}) headers['content-type'] = headers['content-type'] or 'multipart/mixed' headers['content-type'] = headers['content-type'] .. '; boundary="' .. bd .. '"' send_headers(headers) -- send preamble if mesgt.body.preamble then coroutine.yield(mesgt.body.preamble) coroutine.yield("\r\n") end -- send each part separated by a boundary for i, m in base.ipairs(mesgt.body) do coroutine.yield("\r\n--" .. bd .. "\r\n") send_message(m) end -- send last boundary coroutine.yield("\r\n--" .. bd .. "--\r\n\r\n") -- send epilogue if mesgt.body.epilogue then coroutine.yield(mesgt.body.epilogue) coroutine.yield("\r\n") end end -- yield message body from a source local function send_source(mesgt) -- make sure we have a content-type local headers = lower_headers(mesgt.headers or {}) headers['content-type'] = headers['content-type'] or 'text/plain; charset="iso-8859-1"' send_headers(headers) -- send body from source while true do local chunk, err = mesgt.body() if err then coroutine.yield(nil, err) elseif chunk then coroutine.yield(chunk) else break end end end -- yield message body from a string local function send_string(mesgt) -- make sure we have a content-type local headers = lower_headers(mesgt.headers or {}) headers['content-type'] = headers['content-type'] or 'text/plain; charset="iso-8859-1"' send_headers(headers) -- send body from string coroutine.yield(mesgt.body) end -- message source function send_message(mesgt) if base.type(mesgt.body) == "table" then send_multipart(mesgt) elseif base.type(mesgt.body) == "function" then send_source(mesgt) else send_string(mesgt) end end -- set defaul headers local function adjust_headers(mesgt) local lower = lower_headers(mesgt.headers) lower["date"] = lower["date"] or os.date("!%a, %d %b %Y %H:%M:%S ") .. (mesgt.zone or ZONE) lower["x-mailer"] = lower["x-mailer"] or socket._VERSION -- this can't be overriden lower["mime-version"] = "1.0" return lower end function message(mesgt) mesgt.headers = adjust_headers(mesgt) -- create and return message source local co = coroutine.create(function() send_message(mesgt) end) return function() local ret, a, b = coroutine.resume(co) if ret then return a, b else return nil, a end end end --------------------------------------------------------------------------- -- High level SMTP API ----------------------------------------------------------------------------- send = socket.protect(function(mailt) local s = open(mailt.server, mailt.port, mailt.create) local ext = s:greet(mailt.domain) s:auth(mailt.user, mailt.password, ext) s:send(mailt) s:quit() return s:close() end)
gpl-2.0
TheAnswer/FirstTest
bin/scripts/object/tangible/loot/misc/objects.lua
1
93651
--Copyright (C) 2009 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version --which carries forward this exception. object_tangible_loot_misc_shared_artifact_rare_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/thm_prp_ancient_artifact_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:artifact_rare_s01", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:artifact_rare_s01", noBuildRadius = 0, objectName = "@item_n:artifact_rare_s01", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_artifact_rare_s01, 865298765) object_tangible_loot_misc_shared_basket_expensive_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/edb_con_tato_basket_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:basket_expensive_s01", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:basket_expensive_s01", noBuildRadius = 0, objectName = "@item_n:basket_expensive_s01", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_basket_expensive_s01, 4077046979) object_tangible_loot_misc_shared_bowl_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/edb_con_tato_bowl_empty_s03.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:bowl_s01", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:bowl_s01", noBuildRadius = 0, objectName = "@item_n:bowl_s01", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_bowl_s01, 2848209064) object_tangible_loot_misc_shared_briefcase_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/thm_prp_briefcase.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:briefcase_s01", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:briefcase_s01", noBuildRadius = 0, objectName = "@item_n:briefcase_s01", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_briefcase_s01, 1815409445) object_tangible_loot_misc_shared_brown_rug = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/frn_all_rug_rectangle_sm_s04.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@collectible_loot_items_d:brown_rug", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:brown_rug", noBuildRadius = 0, objectName = "@collectible_loot_items_n:brown_rug", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_brown_rug, 3249408869) object_tangible_loot_misc_shared_cage_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/thm_endr_cage_bamboo.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:cage_s01", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:cage_s01", noBuildRadius = 0, objectName = "@item_n:cage_s01", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_cage_s01, 842587466) object_tangible_loot_misc_shared_camera_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/thm_prp_camera.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:camera_s01", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:camera_s01", noBuildRadius = 0, objectName = "@item_n:camera_s01", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_camera_s01, 327865364) object_tangible_loot_misc_shared_casserole_binna_jode = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/edb_con_dish_casserole_full.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:casserole_binna_jode", gameObjectType = 8202, locationReservationRadius = 0, lookAtText = "@food_lookat:meat_kabob", noBuildRadius = 0, objectName = "@item_n:casserole_binna_jode", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_casserole_binna_jode, 3603005332) object_tangible_loot_misc_shared_casual_rug = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/frn_all_rug_rectangle_sm_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@collectible_loot_items_d:casual_rug", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:casual_rug", noBuildRadius = 0, objectName = "@collectible_loot_items_n:casual_rug", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_casual_rug, 759121721) object_tangible_loot_misc_shared_corsec_id_badge = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/eqp_ticket.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:corsec_id_badge", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:corsec_id_badge", noBuildRadius = 0, objectName = "@item_n:corsec_id_badge", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_corsec_id_badge, 3380245587) object_tangible_loot_misc_shared_damaged_datapad = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/eqp_datapad_s2.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:damaged_datapad", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:damaged_datapad", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_damaged_datapad, 2077895809) object_tangible_loot_misc_shared_datadisk_corrupt = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/eqp_data_disk.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:datadisk_corrupt", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:datadisk_corrupt", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_datadisk_corrupt, 1598786934) object_tangible_loot_misc_shared_decryptor_broken_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/thm_prp_decryptor_imperial.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:decryptor_broken_s01", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:decryptor_broken_s01", noBuildRadius = 0, objectName = "@item_n:decryptor_broken_s01", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_decryptor_broken_s01, 4256936356) object_tangible_loot_misc_shared_dermal_analyxer = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/eqp_tool_worklight.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:dermal_analyzer", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:dermal_analyzer", noBuildRadius = 0, objectName = "@item_n:dermal_analyzer", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_dermal_analyxer, 1425405589) object_tangible_loot_misc_shared_firework_dud_s1 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/eqp_firework_s1.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:firework_dud", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:firework_dud", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_firework_dud_s1, 706975394) object_tangible_loot_misc_shared_firework_dud_s2 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/eqp_firework.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:firework_dud", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:firework_dud", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_firework_dud_s2, 4046732853) object_tangible_loot_misc_shared_force_crystal = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/force_amplification_crystal.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:force_crystal", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:force_crystal", noBuildRadius = 0, objectName = "@item_n:force_crystal", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_force_crystal, 2901988249) object_tangible_loot_misc_shared_glass_heirloom_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/edb_con_glass_s1_empty.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:glass_heirloom_s01", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:glass_heirloom_s01", noBuildRadius = 0, objectName = "@item_n:glass_heirloom_s01", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_glass_heirloom_s01, 3730613962) object_tangible_loot_misc_shared_green_rug = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/frn_all_rug_rectangle_m_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@collectible_loot_items_d:green_rug", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:green_rug", noBuildRadius = 0, objectName = "@collectible_loot_items_n:green_rug", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_green_rug, 2290214914) object_tangible_loot_misc_shared_gungan_lance = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/wp_mle_lance_electric_polearm.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:gungan_lance", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:gungan_lance", noBuildRadius = 0, objectName = "@item_n:gungan_lance", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_gungan_lance, 2604517877) object_tangible_loot_misc_shared_gungan_signet = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/earring_s14_m.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:gungan_signet", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:gungan_signet", noBuildRadius = 0, objectName = "@item_n:gungan_signet", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_gungan_signet, 374420297) object_tangible_loot_misc_shared_holocron_splinters_sith_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/thm_prp_holocron_splinters.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:holocron_splinters_sith_s01", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:holocron_splinters_sith_s01", noBuildRadius = 0, objectName = "@item_n:holocron_splinters_sith_s01", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_holocron_splinters_sith_s01, 1021999255) object_tangible_loot_misc_shared_hyperdrive_part_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/thm_prp_engine_component.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:hyperdrive_part_s01", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:hyperdrive_part_s01", noBuildRadius = 0, objectName = "@item_n:hyperdrive_part_s01", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_hyperdrive_part_s01, 1159518109) object_tangible_loot_misc_shared_inkpen_engraved_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/eqp_writing_utensils.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:inkpen_engraved_s01", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:inkpen_engraved_s01", noBuildRadius = 0, objectName = "@item_n:inkpen_engraved_s01", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_inkpen_engraved_s01, 239625063) object_tangible_loot_misc_shared_insects_rare_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/edb_con_tato_jar_bugs_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:insects_rare_s01", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:insects_rare_s01", noBuildRadius = 0, objectName = "@item_n:insects_rare_s01", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_insects_rare_s01, 1419164698) object_tangible_loot_misc_shared_jawa_beads = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/necklace_s02_m.sat", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:jawa_beads", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:jawa_beads", noBuildRadius = 0, objectName = "@item_n:jawa_beads", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_jawa_beads, 1637830141) object_tangible_loot_misc_shared_keepsakes = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/eqp_tool_vehicle_toolkit.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:keepsakes", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:keepsakes", noBuildRadius = 0, objectName = "@item_n:keepsakes", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_keepsakes, 634814302) object_tangible_loot_misc_shared_key_electronic_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/thm_prp_key_electronic.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:key_electronic_s01", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:key_electronic_s01", noBuildRadius = 0, objectName = "@item_n:key_electronic_s01", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_key_electronic_s01, 1312940379) object_tangible_loot_misc_shared_ledger_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/thm_prp_ledger.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:ledger_s01", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:ledger_s01", noBuildRadius = 0, objectName = "@item_n:ledger_s01", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_ledger_s01, 1032597494) object_tangible_loot_misc_shared_loot_krayt_arm1 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/poi_tato_skel_krayt_arm_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:large_bones", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:decryptor_broken_s01", noBuildRadius = 0, objectName = "@item_n:large_bones", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_loot_krayt_arm1, 3424112691) object_tangible_loot_misc_shared_loot_krayt_arm2 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/poi_tato_skel_krayt_arm_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:large_bones", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:decryptor_broken_s01", noBuildRadius = 0, objectName = "@item_n:large_bones", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_loot_krayt_arm2, 385906852) object_tangible_loot_misc_shared_loot_krayt_foot = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/poi_tato_skel_krayt_foot.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:claw_bones", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:decryptor_broken_s01", noBuildRadius = 0, objectName = "@item_n:claw_bones", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_loot_krayt_foot, 4031807386) object_tangible_loot_misc_shared_loot_krayt_leg1 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/poi_tato_skel_krayt_leg_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:large_bones", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:decryptor_broken_s01", noBuildRadius = 0, objectName = "@item_n:large_bones", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_loot_krayt_leg1, 3363519588) object_tangible_loot_misc_shared_loot_krayt_leg2 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/poi_tato_skel_krayt_leg_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:large_bones", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:decryptor_broken_s01", noBuildRadius = 0, objectName = "@item_n:large_bones", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_loot_krayt_leg2, 325883123) object_tangible_loot_misc_shared_loot_krayt_spine1 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/poi_tato_skel_grtr_krayt_spine_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:large_bones", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:decryptor_broken_s01", noBuildRadius = 0, objectName = "@item_n:large_bones", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_loot_krayt_spine1, 3374450491) object_tangible_loot_misc_shared_loot_krayt_spine2 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/poi_tato_skel_grtr_krayt_spine_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:large_bones", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:decryptor_broken_s01", noBuildRadius = 0, objectName = "@item_n:large_bones", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_loot_krayt_spine2, 305508268) object_tangible_loot_misc_shared_loot_krayt_spine3 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/poi_tato_skel_grtr_krayt_spine_s03.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:large_bones", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:decryptor_broken_s01", noBuildRadius = 0, objectName = "@item_n:large_bones", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_loot_krayt_spine3, 1530447905) object_tangible_loot_misc_shared_loot_skull_bith = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/poi_all_skeleton_bith_head.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:bith_skull", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:decryptor_broken_s01", noBuildRadius = 0, objectName = "@item_n:bith_skull", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_loot_skull_bith, 707837564) object_tangible_loot_misc_shared_loot_skull_bol = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/thm_dant_bol_skull.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:bol_skull", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:decryptor_broken_s01", noBuildRadius = 0, objectName = "@item_n:bol_skull", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_loot_skull_bol, 2725183958) object_tangible_loot_misc_shared_loot_skull_human = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/poi_all_skeleton_human_head.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:human_skull", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:decryptor_broken_s01", noBuildRadius = 0, objectName = "@item_n:human_skull", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_loot_skull_human, 632440114) object_tangible_loot_misc_shared_loot_skull_ithorian = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/poi_all_skeleton_ithorian_head.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:ithorian_skull", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:decryptor_broken_s01", noBuildRadius = 0, objectName = "@item_n:ithorian_skull", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_loot_skull_ithorian, 128900324) object_tangible_loot_misc_shared_loot_skull_krayt1 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/poi_tato_skel_krayt_head_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:krayt_skull", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:decryptor_broken_s01", noBuildRadius = 0, objectName = "@item_n:krayt_skull", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_loot_skull_krayt1, 3855703718) object_tangible_loot_misc_shared_loot_skull_krayt2 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/poi_tato_skel_krayt_head_s02.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:krayt_skull", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:decryptor_broken_s01", noBuildRadius = 0, objectName = "@item_n:krayt_skull", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_loot_skull_krayt2, 1053226545) object_tangible_loot_misc_shared_loot_skull_thune = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/thm_dant_thune_skull.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:thune_skull", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:decryptor_broken_s01", noBuildRadius = 0, objectName = "@item_n:thune_skull", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_loot_skull_thune, 2842325032) object_tangible_loot_misc_shared_loot_skull_voritor = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/thm_dant_lizard_skull.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:voritor_skull", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:decryptor_broken_s01", noBuildRadius = 0, objectName = "@item_n:voritor_skull", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_loot_skull_voritor, 3032461432) object_tangible_loot_misc_shared_majestic_rug = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/frn_all_rug_rectangle_sm_s03.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@collectible_loot_items_d:majestic_rug", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:majestic_rug", noBuildRadius = 0, objectName = "@collectible_loot_items_n:majestic_rug", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_majestic_rug, 317779620) object_tangible_loot_misc_shared_medallion_black_sun_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/thm_prp_medallion_black_sun.apt", arrangementDescriptorFilename = "abstract/slot/arrangement/wearables/neck.iff", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:medallion_black_sun_s01", gameObjectType = 2097155, locationReservationRadius = 0, lookAtText = "@trophy_lookat:medallion_black_sun_s01", noBuildRadius = 0, objectName = "@item_n:medallion_black_sun_s01", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_medallion_black_sun_s01, 706045997) object_tangible_loot_misc_shared_medallion_dark_jedi_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/atf_jedi_dark_side_amulet.apt", arrangementDescriptorFilename = "abstract/slot/arrangement/wearables/neck.iff", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:medallion_dark_jedi_s01", gameObjectType = 2097155, locationReservationRadius = 0, lookAtText = "@trophy_lookat:medallion_dark_jedi_s01", noBuildRadius = 0, objectName = "@item_n:medallion_dark_jedi_s01", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_medallion_dark_jedi_s01, 689527148) object_tangible_loot_misc_shared_mt_casserole = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/edb_con_dish_casserole_full.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:mt_casserole", gameObjectType = 8202, locationReservationRadius = 0, lookAtText = "@food_lookat:meat_kabob", noBuildRadius = 0, objectName = "@item_n:mt_casserole", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_mt_casserole, 4152880530) object_tangible_loot_misc_shared_mt_flatbread = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/edb_food_bread_loaf_full_s1.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:mt_flatbread", gameObjectType = 8202, locationReservationRadius = 0, lookAtText = "@food_lookat:meat_kabob", noBuildRadius = 0, objectName = "@item_n:mt_flatbread", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_mt_flatbread, 2434258915) object_tangible_loot_misc_shared_mt_pie = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/edb_food_pie_full_s1.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@iten_d:mt_pie", gameObjectType = 8202, locationReservationRadius = 0, lookAtText = "@food_lookat:meat_kabob", noBuildRadius = 0, objectName = "@item_n:mt_pie", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_mt_pie, 468840680) object_tangible_loot_misc_shared_mt_soup = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/edb_con_tato_bowl_full_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:mt_soup", gameObjectType = 8202, locationReservationRadius = 0, lookAtText = "@food_lookat:meat_kabob", noBuildRadius = 0, objectName = "@item_n:mt_soup", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_mt_soup, 3702520473) object_tangible_loot_misc_shared_mystical_orb = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/force_amplification_crystal.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:mystical_orb", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:speaker_s01", noBuildRadius = 0, objectName = "@item_n:mystical_orb", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_mystical_orb, 3480466055) object_tangible_loot_misc_shared_mystical_powered_orb = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/force_amplification_crystal.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "clientdata/item/client_shared_mystical_powered_orb.cdf", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:mystical_powered_orb", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:speaker_s01", noBuildRadius = 0, objectName = "@item_n:mystical_powered_orb", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_mystical_powered_orb, 1931809434) object_tangible_loot_misc_shared_ornamental_sconce = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/eqp_weapon_auto_laser_trap.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:ornamental_sconce", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:ornamental_sconce", noBuildRadius = 0, objectName = "@item_n:ornamental_sconce", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_ornamental_sconce, 3678039981) object_tangible_loot_misc_shared_palm_frond = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/eqp_palm_frond.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:palm_frond", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:palm_frond", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_palm_frond, 1764965839) object_tangible_loot_misc_shared_personal_effects = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/eqp_tool_vehicle_toolkit.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:personal_effects", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:personal_effects", noBuildRadius = 0, objectName = "@item_n:personal_effects", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_personal_effects, 2137101597) object_tangible_loot_misc_shared_petrified_avian_egg = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/force_amplification_crystal.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:petrified_egg", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:petrified_egg", noBuildRadius = 0, objectName = "@item_n:petrified_egg", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_petrified_avian_egg, 3152449908) object_tangible_loot_misc_shared_picture_handheld_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/eqp_tool_handheld_viewscreen_s1.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:picture_handheld_s01", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:picture_handheld_s01", noBuildRadius = 0, objectName = "@item_n:picture_handheld_s01", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_picture_handheld_s01, 1021103631) object_tangible_loot_misc_shared_picture_handheld_s02 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/eqp_tool_handheld_viewscreen_s2.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:picture_handheld_s02", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:picture_handheld_s02", noBuildRadius = 0, objectName = "@item_n:picture_handheld_s02", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_picture_handheld_s02, 3888866968) object_tangible_loot_misc_shared_proclamation_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/thm_prp_document_s01.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:proclamation_s01", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:proclamation_s01", noBuildRadius = 0, objectName = "@item_n:proclamation_s01", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_proclamation_s01, 720417432) object_tangible_loot_misc_shared_recording_rod_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/eqp_tool_recording_rod.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:recording_rod_s01", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:recording_rod_s01", noBuildRadius = 0, objectName = "@item_n:recording_rod_s01", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_recording_rod_s01, 3573709036) object_tangible_loot_misc_shared_shisa_decorative_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/eqp_shisha.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:shisa_decorative_s01", gameObjectType = 8203, locationReservationRadius = 0, lookAtText = "@trophy_lookat:shisa_decorative_s01", noBuildRadius = 0, objectName = "@item_n:shisa_decorative_s01", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "abstract/slot/descriptor/tangible.iff", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_shisa_decorative_s01, 1359996863) object_tangible_loot_misc_shared_slave_collar = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/eqp_acc_slaving_collar.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:slave_collar", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:slave_collar", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_slave_collar, 3986073325) object_tangible_loot_misc_shared_speaker_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/eqp_speaker.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:speaker_s01", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:speaker_s01", noBuildRadius = 0, objectName = "@item_n:speaker_s01", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_speaker_s01, 141936959) object_tangible_loot_misc_shared_spectrum_recorder = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/eqp_tool_worklight.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:spectrum_recorder", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:spectrum_recorder", noBuildRadius = 0, objectName = "@item_n:spectrum_recorder", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_spectrum_recorder, 2986929439) object_tangible_loot_misc_shared_sports_award_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/msc_toy_ball_sm.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:sports_award_s01", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:sports_award_s01", noBuildRadius = 0, objectName = "@item_n:sports_award_s01", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_sports_award_s01, 3850821437) object_tangible_loot_misc_shared_ticket_collectors_item_s01 = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/eqp_ticket.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:ticket_collectors_item_s01", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:ticket_collectors_item_s01", noBuildRadius = 0, objectName = "@item_n:ticket_collectors_item_s01", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_ticket_collectors_item_s01, 1896550802) object_tangible_loot_misc_shared_ticket_expired = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/eqp_ticket_inventory.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:ticket_expired", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@item_n:ticket_expired", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_ticket_expired, 2280007490) object_tangible_loot_misc_shared_toxic_rations = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/eqp_tool_vehicle_toolkit.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:toxic_rations", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:toxic_rations", noBuildRadius = 0, objectName = "@item_n:toxic_rations", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_toxic_rations, 381474584) object_tangible_loot_misc_shared_worklight = SharedTangibleObjectTemplate:new { appearanceFilename = "appearance/eqp_tool_worklight.apt", arrangementDescriptorFilename = "", certificationsRequired = {}, clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 0, collisionActionFlags = 51, collisionActionPassFlags = 1, collisionMaterialBlockFlags = 0, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 1, customizationVariableMapping = {}, detailedDescription = "@item_d:work_light", gameObjectType = 8211, locationReservationRadius = 0, lookAtText = "@trophy_lookat:work_light", noBuildRadius = 0, objectName = "@item_n:work_light", onlyVisibleInTools = 0, paletteColorCustomizationVariables = {}, portalLayoutFilename = "", rangedIntCustomizationVariables = {}, scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 1, socketDestinations = {}, structureFootprintFileName = "", surfaceType = 0, targetable = 1, useStructureFootprintOutline = 0 } ObjectTemplates:addTemplate(object_tangible_loot_misc_shared_worklight, 667280512)
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/crafting/objects/draftschematics/artisan/domesticArtsIiSimpleTailoring/plainShortRobe.lua
1
3848
--Copyright (C) 2009 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version --which carries forward this exception. plainShortRobe = Object:new { objectName = "Plain Short Robe", stfName = "dress_s12", stfFile = "wearables_name", objectCRC = 1679862896, groupName = "craftArtisanDomesticGroupB", -- Group schematic is awarded in (See skills table) craftingToolTab = 8, -- (See DraftSchemticImplementation.h) complexity = 8, size = 3, xpType = "crafting_general", xp = 40, assemblySkill = "general_assembly", experimentingSkill = "general_experimentation", ingredientTemplateNames = "craft_clothing_ingredients_n, craft_clothing_ingredients_n, craft_clothing_ingredients_n", ingredientTitleNames = "body, trim_and_binding, binding_and_hardware", ingredientSlotType = "0, 0, 2", resourceTypes = "fiberplast, hide, object/tangible/component/clothing/shared_metal_fasteners.iff", resourceQuantities = "15, 5, 1", combineTypes = "0, 0, 1", contribution = "100, 100, 100", numberExperimentalProperties = "1, 1, 1", experimentalProperties = "XX, XX, XX", experimentalWeights = "1, 1, 1", experimentalGroupTitles = "null, null, null", experimentalSubGroupTitles = "null, null, hitpoints", experimentalMin = "0, 0, 1000", experimentalMax = "0, 0, 1000", experimentalPrecision = "0, 0, 0", tanoAttributes = "objecttype=16777223:objectcrc=2370142331:stfFile=wearables_name:stfName=dress_s12:stfDetail=:itemmask=62974::", blueFrogAttributes = "", blueFrogEnabled = False, customizationOptions = "/private/index_color_1, /private/index_color_2", customizationDefaults = "90, 83", customizationSkill = "clothing_customization" } DraftSchematics:addDraftSchematic(plainShortRobe, 1679862896)--- Add to global DraftSchematics table
lgpl-3.0
Andrettin/Wyrmsun
scripts/civilizations/teuton/upgrade.lua
1
11497
-- _________ __ __ -- / _____// |_____________ _/ |______ ____ __ __ ______ -- \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ -- / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ -- /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > -- \/ \/ \//_____/ \/ -- ______________________ ______________________ -- T H E W A R B E G I N S -- Stratagus - A free fantasy real time strategy game engine -- -- (c) Copyright 2014-2022 by Andrettin -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 2 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program; if not, write to the Free Software -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -- DefineUpgrade("upgrade-teuton-spatha", { Name = "Spatha", Parent = "upgrade-long-sword", Icon = "icon-teuton-spatha", Civilization = "teuton", RequirementsString = "Broad Sword and Ironworking", Description = "With the development of iron working, the forging of longer swords became a practical possibility.\n\nEffect: +2 Damage for swordwielders. Allows Spathas to be sold at the Market.", Background = "During the Migration Period, Germanic peoples - including West Germanics - used longswords such as these in combat.", Item = "unit-spatha" }) DefineUpgrade("upgrade-teuton-pike", { Parent = "upgrade-pike", Civilization = "teuton", RequirementsString = "Long Spear and Ironworking", Description = "Much longer than previous spears, pikes can be deadly when used by disciplined groups of soldiers.\n\nEffect: +2 Damage for Spearmen. Allows Pikes to be sold at the Market.", Item = "unit-pike" }) DefineUpgrade("upgrade-teuton-iron-shield", { Parent = "upgrade-iron-shield", Icon = "saxon_iron_shield", Civilization = "teuton", RequirementsString = "Bronze Shield and Ironworking", Description = "The development of iron working makes the crafting of sturdier shields possible.\n\nEffect: +2 Armor for melee infantry and cavalry. Allows Iron Shields to be sold at the Market.", Item = "unit-iron-shield" }) DefineUpgrade("upgrade-teuton-bodkin-arrow", { Name = "Bodkin Arrow", Parent = "upgrade-ranged-projectile-2", Icon = "icon-bodkin-arrow", Civilization = "teuton", RequirementsString = "Barbed Arrow and Ironworking", Description = "Bodkin arrows focus pressure on a single point, greatly enhancing their piercing capability.\n\nEffect: +2 Damage for Archers, Strongholds and Guard Towers. Allows Bodkin Arrows to be sold at the Market.", Arrows = true, Item = "unit-bodkin-arrows" }) DefineUpgrade("upgrade-teuton-catapult-projectile-1", { Parent = "upgrade-catapult-granite-projectile", Civilization = "teuton", RequirementsString = "Carpenter's Shop/Lumber Mill and Engineering", Description = "As siegecrafting techniques develop, catapult rocks made out of sandstone are replaced by ones made of granite, increasing the damage catapults can cause.\n\nEffect: +12 Damage for Catapults, +5 Damage for Longships and Catapult Towers." }) DefineUpgrade("upgrade-teuton-catapult-projectile-2", { Parent = "upgrade-catapult-metal-projectile", Civilization = "teuton", RequirementsString = "Carpenter's Shop/Lumber Mill, Catapult Granite Projectile and Ironworking", Description = "Advances in metalworking make it possible to use metal balls as catapult projectiles, greatly magnifying the destructive power of those siege weapons.\n\nEffect: +12 Damage for Catapults, +5 Damage for Longships and Catapult Towers." }) DefineUpgrade("upgrade-teuton-alchemy", { Parent = "upgrade-alchemy", Civilization = "teuton", Description = "Once writing had been developed, observations on the basic substances that form the world could be noted down and more easily passed on. This led to the appearance of the discipline of alchemy, mixing esoteric, scientific and philosophical postulations about the elements from which the material world is composed.\n\nEffect: +1 Fire Damage for Archers, Strongholds and Guard Towers, +4 Fire Damage for Catapults, Longships and Catapult Towers. Allows new magic affixes for items sold at the Market. Allows potions and elixirs to be sold at the Market." }) DefineModifier("upgrade-teuton-spatha", {"BasicDamage", 2}, {"Points", 10}, {"apply-to", "unit-teuton-swordsman"}, {"apply-to", "unit-teuton-veteran-swordsman"}, {"apply-to", "unit-teuton-heroic-swordsman"}, {"apply-to", "unit_suebi_swordsman"}, {"apply-to", "unit_suebi_veteran_swordsman"}, {"apply-to", "unit_suebi_chieftain"}, {"apply-to", "unit-norse-swordsman"}, {"apply-to", "unit-norse-veteran-swordsman"}, {"apply-to", "unit-norse-heroic-swordsman"}, {"apply-to", "unit-teuton-ritter"}, {"apply-to", "unit-teuton-knight-lord"}, {"apply-to", "unit-gothic-horse-rider"}, {"apply-to", "unit-gothic-horse-lord"}, {"apply-to", "unit_gaulish_swordsman"}, {"apply-to", "unit_gaulish_veteran_swordsman"}, {"apply-to", "unit_gaulish_chieftain"}, {"apply-to", "unit-latin-legionary"}, {"apply-to", "unit-latin-veteran-legionary"}, {"apply-to", "unit-latin-centurion"}, {"apply-to", "unit-slavic-swordsman"} ) DefineModifier("upgrade-teuton-pike", {"BasicDamage", 2}, {"Points", 10}, {"apply-to", "unit-teuton-spearman"}, {"apply-to", "unit-frank-spearman"} ) DefineModifier("upgrade-teuton-iron-shield", {"Armor", 2}, {"Points", 10}, {"apply-to", "unit-teuton-swordsman"}, {"apply-to", "unit-teuton-veteran-swordsman"}, {"apply-to", "unit-teuton-heroic-swordsman"}, {"apply-to", "unit_suebi_swordsman"}, {"apply-to", "unit_suebi_veteran_swordsman"}, {"apply-to", "unit_suebi_chieftain"}, {"apply-to", "unit-frank-swordsman"}, {"apply-to", "unit-frank-veteran-swordsman"}, {"apply-to", "unit-frank-heroic-swordsman"}, {"apply-to", "unit-norse-swordsman"}, {"apply-to", "unit-norse-veteran-swordsman"}, {"apply-to", "unit-norse-heroic-swordsman"}, {"apply-to", "unit-teuton-spearman"}, {"apply-to", "unit-frank-spearman"}, {"apply-to", "unit-teuton-ritter"}, {"apply-to", "unit-teuton-knight-lord"}, {"apply-to", "unit-frank-horseman"}, {"apply-to", "unit-frank-knight-lord"}, {"apply-to", "unit_gaulish_swordsman"}, {"apply-to", "unit_gaulish_veteran_swordsman"}, {"apply-to", "unit_gaulish_chieftain"}, {"apply-to", "unit-gothic-horse-rider"}, {"apply-to", "unit-gothic-horse-lord"}, {"apply-to", "unit-latin-legionary"}, {"apply-to", "unit-latin-veteran-legionary"}, {"apply-to", "unit-latin-centurion"}, {"apply-to", "unit-slavic-swordsman"} ) DefineModifier("upgrade-teuton-bodkin-arrow", {"BasicDamage", 2}, {"Points", 10}, {"apply-to", "unit-teuton-archer"}, {"apply-to", "unit-teuton-stronghold"}, {"apply-to", "unit-teuton-guard-tower"} ) DefineModifier("upgrade-teuton-catapult-projectile-1", {"BasicDamage", 12}, {"Points", 10}, {"apply-to", "unit-teuton-catapult"} ) DefineModifier("upgrade-teuton-catapult-projectile-1", {"BasicDamage", 5}, {"Points", 10}, {"apply-to", "unit-norse-longship"}, {"apply-to", "unit-teuton-catapult-tower"} ) DefineModifier("upgrade-teuton-catapult-projectile-2", {"BasicDamage", 12}, {"Points", 10}, {"apply-to", "unit-teuton-catapult"} ) DefineModifier("upgrade-teuton-catapult-projectile-2", {"BasicDamage", 5}, {"Points", 10}, {"apply-to", "unit-norse-longship"}, {"apply-to", "unit-teuton-catapult-tower"} ) DefineModifier("upgrade-teuton-coinage", {"improve-production", "copper", 10}, {"improve-production", "silver", 10}, {"improve-production", "gold", 10}, {"apply-to", "unit_teutonic_smithy"}, {"apply-to", "unit-latin-smithy"}, {"apply-to", "unit-norse-smithy"} ) DefineModifier("upgrade-teuton-coinage", {"TradeCost", -5}, {"apply-to", "unit-teuton-market"}, {"apply-to", "unit-norse-market"} ) DefineModifier("upgrade-teuton-alchemy", {"FireDamage", 1}, {"Points", 10}, {"apply-to", "unit-teuton-archer"}, {"apply-to", "unit-teuton-stronghold"}, {"apply-to", "unit-teuton-guard-tower"}, {"apply-to", "unit-latin-javelineer"} ) DefineModifier("upgrade-teuton-alchemy", {"FireDamage", 4}, {"Points", 5}, {"apply-to", "unit-teuton-catapult"}, {"apply-to", "unit-norse-longship"}, {"apply-to", "unit-teuton-catapult-tower"} ) DefineModifier("upgrade_teutonic_civilization", {"apply-to", "unit-germanic-town-hall"}, {"convert-to", "unit-teuton-town-hall"} ) DefineModifier("upgrade_teutonic_civilization", {"apply-to", "unit-germanic-farm"}, {"convert-to", "unit-teuton-farm"} ) DefineModifier("upgrade_teutonic_civilization", {"apply-to", "unit-germanic-barracks"}, {"convert-to", "unit-teuton-barracks"} ) DefineModifier("upgrade_teutonic_civilization", {"apply-to", "unit-germanic-carpenters-shop"}, {"convert-to", "unit-teuton-lumber-mill"} ) DefineModifier("upgrade_teutonic_civilization", {"apply-to", "unit_germanic_smithy"}, {"convert-to", "unit_teutonic_smithy"} ) DefineModifier("upgrade_teutonic_civilization", {"apply-to", "unit-germanic-temple"}, {"convert-to", "unit-teuton-temple"} ) DefineModifier("upgrade_teutonic_civilization", {"apply-to", "unit-germanic-market"}, {"convert-to", "unit-teuton-market"} ) DefineModifier("upgrade_teutonic_civilization", {"apply-to", "unit_germanic_dock"}, {"convert-to", "unit_teuton_dock"} ) DefineModifier("upgrade_teutonic_civilization", {"apply-to", "unit_germanic_worker"}, {"convert-to", "unit_teuton_worker"} ) DefineModifier("upgrade_teutonic_civilization", {"apply-to", "unit-germanic-warrior"}, {"convert-to", "unit-teuton-swordsman"} ) DefineModifier("upgrade_teutonic_civilization", {"apply-to", "unit_suebi_swordsman"}, {"convert-to", "unit-teuton-swordsman"} ) DefineModifier("upgrade_teutonic_civilization", {"apply-to", "unit-germanic-veteran-warrior"}, {"convert-to", "unit-teuton-veteran-swordsman"} ) DefineModifier("upgrade_teutonic_civilization", {"apply-to", "unit_suebi_veteran_swordsman"}, {"convert-to", "unit-teuton-veteran-swordsman"} ) DefineModifier("upgrade_teutonic_civilization", {"apply-to", "unit-germanic-chieftain"}, {"convert-to", "unit-teuton-heroic-swordsman"} ) DefineModifier("upgrade_teutonic_civilization", {"apply-to", "unit_suebi_chieftain"}, {"convert-to", "unit-teuton-heroic-swordsman"} ) DefineModifier("upgrade_teutonic_civilization", {"apply-to", "unit-germanic-spearman"}, {"convert-to", "unit-teuton-spearman"} ) DefineModifier("upgrade_teutonic_civilization", {"apply-to", "unit-germanic-archer"}, {"convert-to", "unit-teuton-archer"} ) DefineModifier("upgrade_teutonic_civilization", {"apply-to", "unit-germanic-priest"}, {"convert-to", "unit-teuton-priest"} ) DefineModifier("upgrade_teutonic_civilization", {"apply-to", "unit-germanic-transport-ship"}, {"convert-to", "unit-teuton-kogge"} ) DefineModifier("upgrade_teutonic_civilization", {"remove-upgrade", "upgrade-deity-heimdall"}, {"remove-upgrade", "upgrade-deity-frey"}, {"remove-upgrade", "upgrade-deity-freyja"} )
gpl-2.0
praveenjha527/Algorithm-Implementations
Best_First_Search/Lua/Yonaba/handlers/linear_handler.lua
182
1721
-- A linear boundless 1D space map handler -- This handler is devised for 1-directional continuous space, where -- nodes are represented with consecutive integer values: 0, 1, 2, etc. -- Similar to a range (interval) with no bounds. -- i.e., the path from 5 to 0 would be 5, 4, 3, 2, 1, 0. local PATH = (...):gsub('handlers.linear_handler$','') local Node = require (PATH .. '.utils.node') -- Implements Node class (from node.lua) function Node:initialize(value) self.value = value end function Node:toString() return ('Node: %d'):format(self.value) end function Node:isEqualTo(n) return self.value == n.value end -- Finds a specific node in an array local function array_find(array, value) for i, v in ipairs(array) do if v.value == value then return v end end end -- Internal cache for all nodes local nodes = {} local limits = {} -- Handler implementation local handler = {} -- Inits the search space with bounds function handler.init(from, to) limits.low, limits.high = from, to for i = from, to do table.insert(nodes, Node(i)) end end -- Creates and returns a Node function handler.getNode(value) return array_find(nodes, value) end -- Returns an array of all nodes in the graph function handler.getAllNodes() return nodes end -- Returns the distance between node a and node b function handler.distance(a, b) return math.abs(a.value - b.value) end -- Returns an array of neighbors of node n function handler.getNeighbors(n) local neighbors = {} if n.value - 1 >= limits.low then table.insert(neighbors, handler.getNode(n.value - 1)) end if n.value + 1 <= limits.high then table.insert(neighbors, handler.getNode(n.value + 1)) end return neighbors end return handler
mit
TheAnswer/FirstTest
bin/scripts/creatures/objects/lok/npcs/misc/kole.lua
1
4489
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version --which carries forward this exception. kole = Creature:new { objectName = "kole", -- Lua Object Name creatureType = "NPC", faction = "Nym", gender = "", speciesName = "kole", stfName = "mob/creature_names", objectCRC = 3181883060, socialGroup = "Nym", level = 22, combatFlags = ATTACKABLE_FLAG + ENEMY_FLAG, healthMax = 6100, healthMin = 5000, strength = 0, constitution = 0, actionMax = 6100, actionMin = 5000, quickness = 0, stamina = 0, mindMax = 6100, mindMin = 5000, focus = 0, willpower = 0, height = 1, -- Size of creature armor = 0, -- 0 = None; 1 = Light; 2 = Medium; 3 = Heavy kinetic = 25, energy = 25, electricity = -1, stun = -1, blast = 40, heat = -1, cold = 0, acid = 0, lightsaber = 0, accuracy = 0, healer = 0, pack = 0, herd = 0, stalker = 0, killer = 0, ferocity = 0, aggressive = 0, invincible = 0, attackCreatureOnSight = "", -- Enter socialGroups weapon = "object/weapon/creature/shared_creature_default_weapon.iff", -- File path to weapon -> object\xxx\xxx\xx weaponName = "Creature Defualt", -- Name ex. 'a Vibrolance' weaponTemp = "creature_default_weapon", -- Weapon Template ex. 'lance_vibrolance' weaponClass = "UnarmedMeleeWeapon", -- Weapon Class ex. 'PolearmMeleeWeapon' weaponEquipped = 0, weaponMinDamage = 0, weaponMaxDamage = 0, weaponAttackSpeed = 2, weaponDamageType = "KINETIC", -- ELECTRICITY, KINETIC, etc weaponArmorPiercing = "NONE", -- LIGHT, NONE, MEDIUM, HEAVY alternateWeapon = "", -- File path to weapon -> object\xxx\xxx\xx alternateWeaponName = "", -- Name ex. 'a Vibrolance' alternateWeaponTemp = "", -- Weapon Template ex. 'lance_vibrolance' alternateWeaponClass = "", -- Weapon Class ex. 'PolearmMeleeWeapon' alternateWeaponEquipped = 0, alternateWeaponMinDamage = 0, alternateWeaponMaxDamage = 0, alternateWeaponAttackSpeed = 0, alternateWeaponDamageType = "", -- ELECTRICITY, KINETIC, etc alternateWeaponArmorPiercing = "", -- LIGHT, NONE, MEDIUM, HEAVY internalNPCDamageModifier = 0.3, -- Damage Modifier to other NPC's lootGroup = "0", -- Group it belongs to for loot tame = 0, datapadItemCRC = 0, mountCRC = 0, mountSpeed = 0, mountAcceleration = 0, milk = 0, boneType = "", boneMax = 0, hideType = "", hideMax = 0, meatType = "", meatMax = 0, skills = { "miscAttack1" }, respawnTimer = 180, behaviorScript = "", -- Link to the behavior script for this object } Creatures:addCreature(kole, 3181883060) -- Add to Global Table
lgpl-3.0
B1GAPTEAM/B1GAPBOT
plugins/lock_eng.lua
14
3154
local function run(msg, matches) if msg.to.type == 'chat' then if is_momod(msg) then return end local data = load_data(_config.moderation.data) if data[tostring(msg.to.id)] then if data[tostring(msg.to.id)]['settings'] then if data[tostring(msg.to.id)]['settings']['lock_eng'] then lock_eng = data[tostring(msg.to.id)]['settings']['lock_eng'] end end end local chat = get_receiver(msg) local user = "user#id"..msg.from.id if lock_eng == "yes" then send_large_msg(chat, 'English Is not Allow Here !') chat_del_user(chat, user, ok_cb, true) end end end return { usage ={ "lock adds: If User Send A Link Then Removed From Bot.", "unlock adds: Adds Is Enabled.", }, patterns = { "(a)", "(b)", "(c)", "(d)", "(e)", "(f)", "(g)", "(h)", "(i)", "(j)", "(k)", "(l)", "(m)", "(n)", "(o)", "(p)", "(q)", "(r)", "(s)", "(t)", "(u)", "(v)", "(w)", "(x)", "(y)", "(z)", }, run = run } -- -_-_-_-_-_-_-_-_-_- ||-_-_-_-_-_ || ||-_-_-_-_-_ -- || || || || -- || || || || -- || || || || -- || ||-_-_-_-_-_ || ||-_-_-_-_-_ -- || || || || -- || || || || -- || || || || -- || ||-_-_-_-_-_ ||-_-_-_-_-_ ||-_-_-_-_-_ -- -- -- /\ /\ /-_-_-_-_-_ ||-_-_-_-_-_ ||-_-_-_-_-_ -- ||\\ //|| //\\ || //|| //\\ // || || // -- || \\ // || // \\ || // || // \\ // || || // -- || \\ // || // \\ || // || // \\ || || || // -- || \\ // || //______\\ || // || //______\\ || -_-_-_- ||-_-_-_-_-_ || // -- || \\ // || // \\ || // || // \\ || || || || \\ -- || \\ // || // \\ || // || // \\ \\ || || || \\ -- || \\// || // \\ ||// || // \\ \\-_-_-_-_-|| ||-_-_-_-_-_ || \\ -- -- -- ||-_-_-_- || || || //-_-_-_-_-_- -- || || || || || // -- ||_-_-_|| || || || // -- || || || || \\ -- || || \\ // \\ -- || || \\ // // -- || ||-_-_-_-_ \\-_-_-_-// -_-_-_-_-_-// -- --By @ali_ghoghnoos --@telemanager_ch
gpl-2.0
TheAnswer/FirstTest
bin/scripts/object/static/particle/objects.lua
1
242126
--Copyright (C) 2009 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version --which carries forward this exception. object_static_particle_shared_particle_bactatank_bubbles = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_bacta_tank_lg_bubbles.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_bactatank_bubbles, 1473993018) object_static_particle_shared_particle_campfire_style_1 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_campfire_s01.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_campfire_style_1, 2524188092) object_static_particle_shared_particle_distant_ships = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_distant_ships.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_distant_ships, 2407390404) object_static_particle_shared_particle_distant_ships_dogfight_t_vs_x = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_sky_battle_tie_vs_xwing.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_distant_ships_dogfight_t_vs_x, 169978190) object_static_particle_shared_particle_distant_ships_dogfight_t_vs_x_2 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_sky_battle_tie_vs_xwing_2.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_distant_ships_dogfight_t_vs_x_2, 4214314868) object_static_particle_shared_particle_distant_ships_dogfight_t_vs_x_3 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_sky_battle_tie_vs_xwing_3.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_distant_ships_dogfight_t_vs_x_3, 2990289145) object_static_particle_shared_particle_distant_ships_dogfight_tb_vs_bw = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_sky_battle_tie_bomber_vs_bwing.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_distant_ships_dogfight_tb_vs_bw, 4182775907) object_static_particle_shared_particle_distant_ships_dogfight_tb_vs_bw_2 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_sky_battle_tie_bomber_vs_bwing_2.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_distant_ships_dogfight_tb_vs_bw_2, 800723222) object_static_particle_shared_particle_distant_ships_dogfight_tb_vs_bw_3 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_sky_battle_tie_bomber_vs_bwing_3.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_distant_ships_dogfight_tb_vs_bw_3, 1723299483) object_static_particle_shared_particle_distant_ships_dogfight_ti_vs_aw = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_sky_battle_tie_interceptor_vs_awing.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_distant_ships_dogfight_ti_vs_aw, 155186459) object_static_particle_shared_particle_distant_ships_dogfight_ti_vs_aw_2 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_sky_battle_tie_interceptor_vs_awing_2.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_distant_ships_dogfight_ti_vs_aw_2, 2769318877) object_static_particle_shared_particle_distant_ships_dogfight_ti_vs_aw_3 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_sky_battle_tie_interceptor_vs_awing_3.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_distant_ships_dogfight_ti_vs_aw_3, 3961328720) object_static_particle_shared_particle_distant_ships_imperial = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_distant_ships_imperial.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_distant_ships_imperial, 3417625546) object_static_particle_shared_particle_distant_ships_rebel = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_distant_ships_rebel.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_distant_ships_rebel, 3663577642) object_static_particle_shared_particle_geyser_01_l0 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_geyser_01_l0.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_geyser_01_l0, 1932156871) object_static_particle_shared_particle_geyser_01_l1 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_geyser_01_l1.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_geyser_01_l1, 975648842) object_static_particle_shared_particle_geyser_01_l2 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_geyser_01_l2.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_geyser_01_l2, 3778056413) object_static_particle_shared_particle_geyser_01_l3 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_geyser_01_l3.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_geyser_01_l3, 2822633296) object_static_particle_shared_particle_geyser_center = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_geyser_center.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_geyser_center, 1698821405) object_static_particle_shared_particle_lg_explosion = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_lg_explosion.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_lg_explosion, 3840511804) object_static_particle_shared_particle_magic_sparks = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_magic_sparks.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_magic_sparks, 736770694) object_static_particle_shared_particle_md_explosion = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_md_explosion.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_md_explosion, 2827947559) object_static_particle_shared_particle_mine_explosion = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_mine_explosion.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_mine_explosion, 84116728) object_static_particle_shared_particle_mine_warning = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_mine_warning.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_mine_warning, 1732966696) object_static_particle_shared_particle_newbie_airport_sign = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_newbie_airport_sign.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_newbie_airport_sign, 2597597224) object_static_particle_shared_particle_newbie_arrow = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_newbie_arrow.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_newbie_arrow, 2059002681) object_static_particle_shared_particle_newbie_bomb_debris = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_newbie_bombed_spot.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_newbie_bomb_debris, 247210913) object_static_particle_shared_particle_newbie_bombed_spot = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_newbie_bombed_spot.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_newbie_bombed_spot, 1187500001) object_static_particle_shared_particle_newbie_hanging_smoke = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_newbie_hanging_smoke.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_newbie_hanging_smoke, 1643854677) object_static_particle_shared_particle_newbie_refrigerator_steam = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_newbie_refrigerator_steam.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_newbie_refrigerator_steam, 1272311156) object_static_particle_shared_particle_newbie_siren = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_newbie_siren.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_newbie_siren, 1940697475) object_static_particle_shared_particle_newbie_spotlight = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_newbie_spotlight.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_newbie_spotlight, 4173485801) object_static_particle_shared_particle_newbie_steam = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_newbie_steam.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_newbie_steam, 2193561176) object_static_particle_shared_particle_newbie_wall_mech_lights_blue = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_newbie_wall_mech_lights_blue.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_newbie_wall_mech_lights_blue, 2655971520) object_static_particle_shared_particle_newbie_wall_mech_lights_red = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_newbie_wall_mech_lights_red.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_newbie_wall_mech_lights_red, 726419148) object_static_particle_shared_particle_newbie_wall_mech_lights_yellow = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_newbie_wall_mech_lights_yellow.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_newbie_wall_mech_lights_yellow, 2545325419) object_static_particle_shared_particle_seagulls_flock = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_birds_flock.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_seagulls_flock, 2141382138) object_static_particle_shared_particle_sm_explosion = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_sm_explosion.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_sm_explosion, 3981248322) object_static_particle_shared_particle_smoke = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_smoke.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_smoke, 3175786729) object_static_particle_shared_particle_test_1 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/unshaded_geyser_test.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_1, 1641393609) object_static_particle_shared_particle_test_10 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_10.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_10, 3432501582) object_static_particle_shared_particle_test_100 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_100.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_100, 1309247123) object_static_particle_shared_particle_test_11 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_11.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_11, 2241509059) object_static_particle_shared_particle_test_12 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_12.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_12, 1586306644) object_static_particle_shared_particle_test_13 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_13.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_13, 394295769) object_static_particle_shared_particle_test_14 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_14.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_14, 3965932237) object_static_particle_shared_particle_test_15 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_15.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_15, 2775463232) object_static_particle_shared_particle_test_16 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_16.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_16, 2121899479) object_static_particle_shared_particle_test_17 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_17.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_17, 930413146) object_static_particle_shared_particle_test_18 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_18.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_18, 2373899848) object_static_particle_shared_particle_test_19 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_19.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_19, 3295916485) object_static_particle_shared_particle_test_2 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_2.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "sample/amb_waterfall_large_lp.sam", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_2, 3133277534) object_static_particle_shared_particle_test_20 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_20.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_20, 3790587590) object_static_particle_shared_particle_test_21 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_21.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_21, 2833424715) object_static_particle_shared_particle_test_22 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_22.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_22, 1945438684) object_static_particle_shared_particle_test_23 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_23.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_23, 989359697) object_static_particle_shared_particle_test_24 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_24.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_24, 3239789893) object_static_particle_shared_particle_test_25 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_25.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_25, 2283152072) object_static_particle_shared_particle_test_26 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_26.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_26, 1392609887) object_static_particle_shared_particle_test_27 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_27.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_27, 437054930) object_static_particle_shared_particle_test_28 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_28.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_28, 2684797376) object_static_particle_shared_particle_test_29 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_29.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_29, 3909854797) object_static_particle_shared_particle_test_3 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_invisible_particle.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_3, 4090454739) object_static_particle_shared_particle_test_30 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_30.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_30, 4207397822) object_static_particle_shared_particle_test_31 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_31.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_31, 3016404019) object_static_particle_shared_particle_test_32 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_32.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_32, 1759315108) object_static_particle_shared_particle_test_33 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_33.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_33, 567305001) object_static_particle_shared_particle_test_34 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_34.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_34, 3660793917) object_static_particle_shared_particle_test_35 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_35.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_35, 2470326192) object_static_particle_shared_particle_test_36 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_36.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_36, 1210681127) object_static_particle_shared_particle_test_37 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_37.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_37, 19194026) object_static_particle_shared_particle_test_38 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_38.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_38, 3140406456) object_static_particle_shared_particle_test_39 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_39.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_39, 4062423861) object_static_particle_shared_particle_test_4 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_invisible_particle.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_4, 137120199) object_static_particle_shared_particle_test_40 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_40.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_40, 3139430870) object_static_particle_shared_particle_test_41 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_41.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_41, 4061302363) object_static_particle_shared_particle_test_42 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_42.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_42, 688203468) object_static_particle_shared_particle_test_43 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_43.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_43, 1611153729) object_static_particle_shared_particle_test_44 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_44.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_44, 2615896661) object_static_particle_shared_particle_test_45 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_45.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_45, 3538292184) object_static_particle_shared_particle_test_46 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_46.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_46, 166831439) object_static_particle_shared_particle_test_47 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_47.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_47, 1090306754) object_static_particle_shared_particle_test_48 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_48.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_48, 4210486992) object_static_particle_shared_particle_test_49 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_49.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_49, 3019606365) object_static_particle_shared_particle_test_5 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_invisible_particle.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_5, 1092693578) object_static_particle_shared_particle_test_50 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_50.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_50, 2688017582) object_static_particle_shared_particle_test_51 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_51.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_51, 3912925987) object_static_particle_shared_particle_test_52 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_52.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_52, 841821108) object_static_particle_shared_particle_test_53 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_53.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_53, 2065714233) object_static_particle_shared_particle_test_54 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_54.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_54, 2160289581) object_static_particle_shared_particle_test_55 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_55.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_55, 3385720992) object_static_particle_shared_particle_test_56 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_56.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_56, 316254263) object_static_particle_shared_particle_test_57 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_57.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_57, 1540673466) object_static_particle_shared_particle_test_58 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_58.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_58, 3789480872) object_static_particle_shared_particle_test_59 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_59.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_59, 2832434213) object_static_particle_shared_particle_test_6 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_6.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_6, 2587264733) object_static_particle_shared_particle_test_60 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_60.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_60, 2370827046) object_static_particle_shared_particle_test_61 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_61.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_61, 3292697771) object_static_particle_shared_particle_test_62 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_62.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_62, 525679676) object_static_particle_shared_particle_test_63 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_63.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_63, 1448631217) object_static_particle_shared_particle_test_64 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_64.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_64, 2914742437) object_static_particle_shared_particle_test_65 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_65.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_65, 3837138728) object_static_particle_shared_particle_test_66 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_66.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_66, 1067564991) object_static_particle_shared_particle_test_67 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_67.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_67, 1991039026) object_static_particle_shared_particle_test_68 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_68.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_68, 3433493536) object_static_particle_shared_particle_test_69 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_69.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_69, 2242614189) object_static_particle_shared_particle_test_7 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_7.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_7, 3543916880) object_static_particle_shared_particle_test_70 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_70.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_70, 2523397726) object_static_particle_shared_particle_test_71 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_71.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_71, 3748305363) object_static_particle_shared_particle_test_72 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_72.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_72, 75313476) object_static_particle_shared_particle_test_73 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_73.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_73, 1299207881) object_static_particle_shared_particle_test_74 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_74.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_74, 3063119325) object_static_particle_shared_particle_test_75 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_75.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_75, 4288551504) object_static_particle_shared_particle_test_76 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_76.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_76, 613003975) object_static_particle_shared_particle_test_77 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_77.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_77, 1837421898) object_static_particle_shared_particle_test_78 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_78.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_78, 3616471384) object_static_particle_shared_particle_test_79 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_79.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_79, 2659426005) object_static_particle_shared_particle_test_8 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_8.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_8, 1764871490) object_static_particle_shared_particle_test_80 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_80.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_80, 251639798) object_static_particle_shared_particle_test_81 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_81.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_81, 1207095419) object_static_particle_shared_particle_test_82 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_82.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_82, 2632284396) object_static_particle_shared_particle_test_83 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_83.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_83, 3588759393) object_static_particle_shared_particle_test_84 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_84.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_84, 772486261) object_static_particle_shared_particle_test_85 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_85.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_85, 1728467960) object_static_particle_shared_particle_test_86 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_86.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_86, 3155295087) object_static_particle_shared_particle_test_87 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_87.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_87, 4112293090) object_static_particle_shared_particle_test_88 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_88.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_88, 1326887152) object_static_particle_shared_particle_test_89 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_89.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_89, 102487933) object_static_particle_shared_particle_test_9 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_9.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_9, 540846799) object_static_particle_shared_particle_test_90 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_90.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_90, 366459534) object_static_particle_shared_particle_test_91 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_91.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_91, 1557847299) object_static_particle_shared_particle_test_92 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_92.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_92, 2278389140) object_static_particle_shared_particle_test_93 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_93.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_93, 3468694041) object_static_particle_shared_particle_test_94 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_94.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_94, 891500813) object_static_particle_shared_particle_test_95 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_95.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_95, 2083413632) object_static_particle_shared_particle_test_96 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_96.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_96, 2805593623) object_static_particle_shared_particle_test_97 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_97.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_97, 3996422554) object_static_particle_shared_particle_test_98 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_98.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_98, 1413397896) object_static_particle_shared_particle_test_99 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/particle_test_99.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_test_99, 489937413) object_static_particle_shared_particle_volcano_glow_1 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_lok_lava_bubblingareaprt.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "clientdata/client_shared_volcano_glow_on.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "@string_table:Gravestone", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 1 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_volcano_glow_1, 1841523220) object_static_particle_shared_particle_waterfall_whitewater_s02_l0 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_waterfall_whitewater_s02_l0.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "clientdata/client_shared_waterfall_naboo_theed.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_waterfall_whitewater_s02_l0, 2270635651) object_static_particle_shared_particle_waterfall_whitewater_s02_l1 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_waterfall_whitewater_s02_l1.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "clientdata/client_shared_waterfall_naboo_theed.cdf", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_particle_waterfall_whitewater_s02_l1, 3462021390) object_static_particle_shared_pt_airport_race_light = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_airport_race_light.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_airport_race_light, 2832359220) object_static_particle_shared_pt_airport_race_light_group = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_airport_race_light_group.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_airport_race_light_group, 1749781363) object_static_particle_shared_pt_birds_flock = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_birds_flock.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_birds_flock, 574961375) object_static_particle_shared_pt_birds_flock_02 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_birds_flock_02.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_birds_flock_02, 468934100) object_static_particle_shared_pt_bunker_allum_mine_car_01 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_bunker_allum_mine_car_01.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_bunker_allum_mine_car_01, 3451183105) object_static_particle_shared_pt_bunker_allum_mine_hallway_vent_steam = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_bunker_allum_mine_hallway_vent_steam.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_bunker_allum_mine_hallway_vent_steam, 3389820098) object_static_particle_shared_pt_bunker_allum_mine_large_steam_gravity = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_bunker_allum_mine_large_steam_gravity.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_bunker_allum_mine_large_steam_gravity, 3610533575) object_static_particle_shared_pt_bunker_allum_mine_lift_01 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_bunker_allum_mine_lift_01.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_bunker_allum_mine_lift_01, 1733362585) object_static_particle_shared_pt_burning_smokeandembers_large = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_burning_smokeandembers_large.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_burning_smokeandembers_large, 4112463342) object_static_particle_shared_pt_burning_smokeandembers_md = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_burning_smokeandembers_md.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_burning_smokeandembers_md, 3309131413) object_static_particle_shared_pt_buzzing_insects_large = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_buzzing_insects_large.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_buzzing_insects_large, 1507296935) object_static_particle_shared_pt_buzzing_insects_small = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_buzzing_insects_small.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_buzzing_insects_small, 1842090638) object_static_particle_shared_pt_campfire_s01 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_campfire_s01.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_campfire_s01, 655646750) object_static_particle_shared_pt_detector = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_detector.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_detector, 4138320669) object_static_particle_shared_pt_falling_dirt = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_falling_dirt.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_falling_dirt, 3567175317) object_static_particle_shared_pt_falling_dirt_all = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_falling_dirt_all.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_falling_dirt_all, 3490534350) object_static_particle_shared_pt_falling_dirt_all_loop = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_falling_dirt_all_loop.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_falling_dirt_all_loop, 4246067951) object_static_particle_shared_pt_falling_dirt_loop = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_falling_dirt_loop.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_falling_dirt_loop, 2998306057) object_static_particle_shared_pt_falling_dust = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_falling_dust.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_falling_dust, 1667365428) object_static_particle_shared_pt_falling_dust_loop = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_falling_dust_loop.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_falling_dust_loop, 337159855) object_static_particle_shared_pt_falling_rock = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_falling_rock.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_falling_rock, 2545958613) object_static_particle_shared_pt_falling_rock_loop = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_falling_rock_loop.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_falling_rock_loop, 2198363460) object_static_particle_shared_pt_flocking_bees = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_flocking_bees.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_flocking_bees, 1060739444) object_static_particle_shared_pt_flocking_bluefish = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_flocking_bluefish.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_flocking_bluefish, 333751823) object_static_particle_shared_pt_flocking_butterflies = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_flocking_butterflies.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_flocking_butterflies, 360344089) object_static_particle_shared_pt_flocking_butterflies_s1 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_flocking_butterflies_s1.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_flocking_butterflies_s1, 409161218) object_static_particle_shared_pt_flocking_centipede = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_flocking_centipede.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_flocking_centipede, 2000292545) object_static_particle_shared_pt_flocking_cricket = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_flocking_cricket.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_flocking_cricket, 3738808713) object_static_particle_shared_pt_flocking_frog = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_flocking_frog.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_flocking_frog, 392100184) object_static_particle_shared_pt_flocking_frog_s1 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_flocking_frog_s1.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_flocking_frog_s1, 386604484) object_static_particle_shared_pt_flocking_glowzees = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_flocking_glowzees.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_flocking_glowzees, 1644547623) object_static_particle_shared_pt_frn_all_glowing_light_s3 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_frn_all_glowing_light_s3.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_frn_all_glowing_light_s3, 3478976599) object_static_particle_shared_pt_geonosian_aquarium_fish = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_flocking_fish_2x4cage.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_geonosian_aquarium_fish, 951222437) object_static_particle_shared_pt_green_gunk_spurt = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_green_gunk_spurt.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_green_gunk_spurt, 1329694676) object_static_particle_shared_pt_green_hanging_smoke = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_green_hanging_smoke.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_green_hanging_smoke, 4118588253) object_static_particle_shared_pt_green_refrigerator_steam = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_green_refrigerator_steam.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_green_refrigerator_steam, 613903763) object_static_particle_shared_pt_green_steam = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_green_steam.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_green_steam, 1797841273) object_static_particle_shared_pt_lair_evil_fire_large_green = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_lair_evil_fire_large_green.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_lair_evil_fire_large_green, 2919624693) object_static_particle_shared_pt_lair_evil_fire_large_red = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_lair_evil_fire_large_red.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_lair_evil_fire_large_red, 1476527814) object_static_particle_shared_pt_lair_evil_fire_small = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_lair_evil_fire_small.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_lair_evil_fire_small, 153148481) object_static_particle_shared_pt_lair_med_burn = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_lair_med_burn.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_lair_med_burn, 669295657) object_static_particle_shared_pt_lair_med_damage = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_lair_med_damage.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_lair_med_damage, 1342131178) object_static_particle_shared_pt_light_blink_blue = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_light_blink_blue.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_light_blink_blue, 1787409199) object_static_particle_shared_pt_light_blink_green = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_light_blink_green.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_light_blink_green, 3099575799) object_static_particle_shared_pt_light_blink_orange = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_light_blink_orange.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_light_blink_orange, 1680016354) object_static_particle_shared_pt_light_constant_blue = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_light_constant_blue.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_light_constant_blue, 3049235018) object_static_particle_shared_pt_light_streetlamp_blue = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_light_streetlamp_blue.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_light_streetlamp_blue, 927898294) object_static_particle_shared_pt_light_streetlamp_gold = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_light_streetlamp_gold.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_light_streetlamp_gold, 3933494226) object_static_particle_shared_pt_light_streetlamp_green = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_light_streetlamp_green.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_light_streetlamp_green, 919367971) object_static_particle_shared_pt_light_streetlamp_red = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_light_streetlamp_red.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_light_streetlamp_red, 3254920808) object_static_particle_shared_pt_lok_lava_bubblingareaprt = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_lok_lava_bubblingareaprt.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_lok_lava_bubblingareaprt, 3373071606) object_static_particle_shared_pt_lok_lava_drop = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_lok_lava_drop.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_lok_lava_drop, 198238654) object_static_particle_shared_pt_lok_lava_spirt = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_lok_lava_spirt.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_lok_lava_spirt, 2234486758) object_static_particle_shared_pt_lok_volcano = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_lok_volcano.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_lok_volcano, 893154540) object_static_particle_shared_pt_lok_volcano_smoke = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_lok_volcano_smoke.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_lok_volcano_smoke, 693978317) object_static_particle_shared_pt_lok_volcano_smoke_sm = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_lok_volcano_smoke_sm.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_lok_volcano_smoke_sm, 3030325207) object_static_particle_shared_pt_magic_sparks = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_magic_sparks.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_magic_sparks, 4190362861) object_static_particle_shared_pt_miasma_of_fog_gray = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_miasma_of_fog_gray.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_miasma_of_fog_gray, 4103176691) object_static_particle_shared_pt_miasma_of_fog_greenish = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_miasma_of_fog_greenish.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_miasma_of_fog_greenish, 2098974720) object_static_particle_shared_pt_miasma_of_fog_mustard = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_miasma_of_fog_mustard.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_miasma_of_fog_mustard, 495620993) object_static_particle_shared_pt_miasma_of_fog_orange = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_miasma_of_fog_orange.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_miasma_of_fog_orange, 2453321375) object_static_particle_shared_pt_miasma_of_fog_red = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_miasma_of_fog_red.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_miasma_of_fog_red, 2493012147) object_static_particle_shared_pt_poi_broken_electronics = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_poi_broken_electronics.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_poi_broken_electronics, 2630854860) object_static_particle_shared_pt_poi_droid_weld_sparks = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_poi_droid_weld_sparks.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_poi_droid_weld_sparks, 718197252) object_static_particle_shared_pt_poi_electricity_2x2 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_poi_electricity_2x2.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_poi_electricity_2x2, 927712692) object_static_particle_shared_pt_sm_explosion = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_sm_explosion.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_sm_explosion, 1063575849) object_static_particle_shared_pt_smoke = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_smoke.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_smoke, 1921352658) object_static_particle_shared_pt_smoke_large = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_smoke_large.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_smoke_large, 3471324085) object_static_particle_shared_pt_smoke_small = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_smoke_small.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_smoke_small, 4210272156) object_static_particle_shared_pt_smoke_tr = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_smoke_tr.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_smoke_tr, 2928460713) object_static_particle_shared_pt_sonic_pulse = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_sonic_pulse.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_sonic_pulse, 3328660965) object_static_particle_shared_pt_sound_location = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_sound_location.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_sound_location, 1232478276) object_static_particle_shared_pt_sparking_blast_md = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_sparking_blast_md.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_sparking_blast_md, 2573168569) object_static_particle_shared_pt_sparks_large = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_sparks_large.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_sparks_large, 952907796) object_static_particle_shared_pt_sparks_small = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_sparks_small.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_sparks_small, 215460925) object_static_particle_shared_pt_steam = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_steam.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_steam, 320796703) object_static_particle_shared_pt_steam_rise = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_steam_rise.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_steam_rise, 2327575207) object_static_particle_shared_pt_steam_rise_2x2 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_steam_rise_2x2.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_steam_rise_2x2, 3748858537) object_static_particle_shared_pt_stunned_player = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_stunned_player.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_stunned_player, 3872867406) object_static_particle_shared_pt_survey = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_survey.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_survey, 4008828338) object_static_particle_shared_pt_survey_gas_sample = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_survey_gas_sample.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_survey_gas_sample, 2454176685) object_static_particle_shared_pt_survey_liquid_sample = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_survey_liquid_sample.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_survey_liquid_sample, 2673530585) object_static_particle_shared_pt_survey_lumber_sample = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_survey_lumber_sample.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_survey_lumber_sample, 3827726832) object_static_particle_shared_pt_survey_mineral_sample = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_survey_mineral_sample.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_survey_mineral_sample, 1570673166) object_static_particle_shared_pt_survey_moisture_sample = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_survey_moisture_sample.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_survey_moisture_sample, 1547554683) object_static_particle_shared_pt_survey_tool_liquid = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_survey_tool_liquid.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_survey_tool_liquid, 2160449826) object_static_particle_shared_pt_survey_tool_lumber = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_survey_tool_lumber.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_survey_tool_lumber, 1247458392) object_static_particle_shared_pt_survey_tool_mineral = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_survey_tool_mineral.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_survey_tool_mineral, 3745960007) object_static_particle_shared_pt_survey_tool_moisture = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_survey_tool_moisture.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_survey_tool_moisture, 2864462260) object_static_particle_shared_pt_trailing_falling_dust = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_trailing_falling_dust.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_trailing_falling_dust, 1930955215) object_static_particle_shared_pt_trailing_falling_dust_2 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_trailing_falling_dust_2.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_trailing_falling_dust_2, 2226030876) object_static_particle_shared_pt_waterfall_crest = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_waterfall_crest.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_waterfall_crest, 3586703298) object_static_particle_shared_pt_waterfall_mist = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_waterfall_mist.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_waterfall_mist, 3820269470) object_static_particle_shared_pt_waterfall_mist_med = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_waterfall_mist_med.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_waterfall_mist_med, 1019797263) object_static_particle_shared_pt_waterfall_mist_small = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_waterfall_mist_small.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_waterfall_mist_small, 730945332) object_static_particle_shared_pt_waterfall_spray = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_waterfall_spray.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_waterfall_spray, 3705199688) object_static_particle_shared_pt_waterfall_spray_small = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_waterfall_spray_small.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_waterfall_spray_small, 637915981) object_static_particle_shared_pt_waterfall_whitewater_s02_l0 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_waterfall_whitewater_s02_l0.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_waterfall_whitewater_s02_l0, 3219447959) object_static_particle_shared_pt_waterfall_whitewater_s02_l1 = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_waterfall_whitewater_s02_l1.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_waterfall_whitewater_s02_l1, 4142499610) object_static_particle_shared_pt_waterfalling_200m = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_waterfalling_200m.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_waterfalling_200m, 2168193478) object_static_particle_shared_pt_waterfalling_slow = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_waterfalling_slow.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_waterfalling_slow, 4066371395) object_static_particle_shared_pt_webber = SharedStaticObjectTemplate:new { appearanceFilename = "appearance/pt_webber.prt", arrangementDescriptorFilename = "", clearFloraRadius = 0, clientDataFile = "", collisionActionBlockFlags = 255, collisionActionFlags = 1, collisionActionPassFlags = 0, collisionMaterialBlockFlags = 1, collisionMaterialFlags = 1, collisionMaterialPassFlags = 0, containerType = 0, containerVolumeLimit = 0, detailedDescription = "string_id_table", gameObjectType = 5, locationReservationRadius = 0, lookAtText = "string_id_table", noBuildRadius = 0, objectName = "@obj_n:unknown_object", onlyVisibleInTools = 0, portalLayoutFilename = "", scale = 1, scaleThresholdBeforeExtentTest = 0.5, sendToClient = 1, slotDescriptorFilename = "", snapToTerrain = 0, surfaceType = 0 } ObjectTemplates:addTemplate(object_static_particle_shared_pt_webber, 364658424)
lgpl-3.0