repo_name stringlengths 6 78 | path stringlengths 4 206 | copies stringclasses 281 values | size stringlengths 4 7 | content stringlengths 625 1.05M | license stringclasses 15 values |
|---|---|---|---|---|---|
eraffxi/darkstar | scripts/globals/weaponskills/primal_rend.lua | 2 | 1516 | -----------------------------------
-- Primal Rend
-- Axe weapon skill
-- Skill Level: N/A
-- Deals light elemental damage. Damage varies with TP. Aymur: Aftermath effect varies with TP.
-- Available only after completing the Unlocking a Myth (Beastmaster) quest.
-- Aligned with the Shadow Gorget, Soil Gorget & Aqua Gorget.
-- Aligned with the Shadow Belt, Soil Belt & Aqua Belt.
-- Element: Light
-- Modifiers: CHR:60% DEX:30%
-- 100%TP 200%TP 300%TP
-- 3.0625 5.8398 7.5625
-----------------------------------
require("scripts/globals/magic");
require("scripts/globals/status");
require("scripts/globals/settings");
require("scripts/globals/weaponskills");
-----------------------------------
function onUseWeaponSkill(player, target, wsID, tp, primary, action, taChar)
local params = {};
params.ftp100 = 4; params.ftp200 = 4.25; params.ftp300 = 4.75;
params.str_wsc = 0.0; params.dex_wsc = 0.0; params.vit_wsc = 0.0; params.agi_wsc = 0.0; params.int_wsc = 0.0;
params.mnd_wsc = 0.0; params.chr_wsc = 0.3;
params.ele = dsp.magic.ele.LIGHT;
params.skill = dsp.skill.AXE;
params.includemab = true;
if (USE_ADOULIN_WEAPON_SKILL_CHANGES == true) then
params.ftp100 = 3.0625; params.ftp200 = 5.8398; params.ftp300 = 7.5625;
params.dex_wsc = 0.3; params.chr_wsc = 0.6;
end
local damage, criticalHit, tpHits, extraHits = doMagicWeaponskill(player, target, wsID, tp, primary, action, params);
return tpHits, extraHits, criticalHit, damage;
end
| gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/static/space/debris/tradefed_hulk_debris_s03.lua | 3 | 2264 | --Copyright (C) 2010 <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
object_static_space_debris_tradefed_hulk_debris_s03 = object_static_space_debris_shared_tradefed_hulk_debris_s03:new {
}
ObjectTemplates:addTemplate(object_static_space_debris_tradefed_hulk_debris_s03, "object/static/space/debris/tradefed_hulk_debris_s03.iff")
| lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/component/structure/heavy_harvesting_mechanism.lua | 3 | 2760 | --Copyright (C) 2010 <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
object_tangible_component_structure_heavy_harvesting_mechanism = object_tangible_component_structure_shared_heavy_harvesting_mechanism:new {
numberExperimentalProperties = {1, 1, 1, 3},
experimentalProperties = {"XX", "XX", "XX", "HR", "SR", "UT"},
experimentalWeights = {1, 1, 1, 1, 1, 2},
experimentalGroupTitles = {"null", "null", "null", "expEffeciency"},
experimentalSubGroupTitles = {"null", "null", "hitpoints", "extractrate"},
experimentalMin = {0, 0, 1000, 2},
experimentalMax = {0, 0, 5000, 7},
experimentalPrecision = {0, 0, 0, 0},
experimentalCombineType = {0, 0, 4, 1},
}
ObjectTemplates:addTemplate(object_tangible_component_structure_heavy_harvesting_mechanism, "object/tangible/component/structure/heavy_harvesting_mechanism.iff")
| lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/screenplays/tasks/mat_rags.lua | 1 | 2562 | mat_rags_missions =
{
{
missionType = "confiscate",
silentTarget = "yes",
primarySpawns =
{
{ npcTemplate = "mat_rags_desert_squill", planetName = "tatooine", npcName = "desert squill" }
},
secondarySpawns = {},
itemSpawns =
{
{ itemTemplate = "object/tangible/mission/quest_item/mat_rags_q1_needed.iff", itemName = "" }
},
rewards =
{
{ rewardType = "credits", amount = 2000 },
}
},
{
missionType = "confiscate",
silentTarget = "yes",
primarySpawns =
{
{ npcTemplate = "mat_rags_greater_desert_womp_rat", planetName = "tatooine", npcName = "a greater desert womp rat" }
},
secondarySpawns = {},
itemSpawns =
{
{ itemTemplate = "object/tangible/mission/quest_item/mat_rags_q2_needed.iff", itemName = "" }
},
rewards =
{
{ rewardType = "credits", amount = 4000 },
}
},
{
missionType = "confiscate",
silentTarget = "yes",
primarySpawns =
{
{ npcTemplate = "mat_rags_bantha_matriarch", planetName = "tatooine", npcName = "a bantha matriarch" }
},
secondarySpawns = {},
itemSpawns =
{
{ itemTemplate = "object/tangible/mission/quest_item/mat_rags_q3_needed.iff", itemName = "" }
},
rewards =
{
{ rewardType = "credits", amount = 6000 },
}
},
{
missionType = "confiscate",
silentTarget = "yes",
primarySpawns =
{
{ npcTemplate = "mat_rags_grizzled_dewback", planetName = "tatooine", npcName = "a grizzled dewback" }
},
secondarySpawns = {},
itemSpawns =
{
{ itemTemplate = "object/tangible/mission/quest_item/mat_rags_q4_needed.iff", itemName = "" }
},
rewards =
{
{ rewardType = "loot", lootGroup = "task_reward_mat_rags" },
{ rewardType = "credits", amount = 6000 },
}
}
}
npcMapMatRags =
{
{
spawnData = { planetName = "tatooine", npcTemplate = "mat_rags", x = -2977, z = 5, y = 2458, direction = -65, cellID = 0, position = STAND },
npcNumber = 1,
stfFile = "@static_npc/tatooine/mat_rags",
hasWaypointNames = "no",
missions = mat_rags_missions
},
}
MatRags = ThemeParkLogic:new {
numberOfActs = 1,
npcMap = npcMapMatRags,
permissionMap = {},
className = "MatRags",
screenPlayState = "mat_rags_quest",
distance = 1000,
missionDescriptionStf = "",
missionCompletionMessageStf = "@theme_park/messages:static_completion_message"
}
registerScreenPlay("MatRags", true)
mat_rags_mission_giver_conv_handler = mission_giver_conv_handler:new {
themePark = MatRags
}
mat_rags_mission_target_conv_handler = mission_target_conv_handler:new {
themePark = MatRags
}
| lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/component/droid/armor_module_6.lua | 1 | 2915 | --Copyright (C) 2010 <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
object_tangible_component_droid_armor_module_6 = object_tangible_component_droid_shared_armor_module_6:new {
numberExperimentalProperties = {1, 1, 2, 1, 2, 2, 2},
experimentalProperties = {"XX", "XX", "CD", "OQ", "XX", "CD", "OQ", "CD", "OQ", "CD", "OQ"},
experimentalWeights = {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
experimentalGroupTitles = {"null", "null", "exp_durability", "null", "exp_effectiveness", "exp_effectiveness", "exp_effectiveness"},
experimentalSubGroupTitles = {"null", "null", "decayrate", "hitpoints", "mechanism_quality", "armor_toughness", "armor_module"},
experimentalMin = {0, 0, 5, 1000, -10, 600, 11},
experimentalMax = {0, 0, 15, 1000, 15, 1500, 13},
experimentalPrecision = {0, 0, 0, 0, 0, 0, 0},
experimentalCombineType = {0, 0, 1, 4, 1, 1, 1},
}
ObjectTemplates:addTemplate(object_tangible_component_droid_armor_module_6, "object/tangible/component/droid/armor_module_6.iff")
| lgpl-3.0 |
eraffxi/darkstar | scripts/globals/spells/bluemagic/blitzstrahl.lua | 2 | 2008 | -----------------------------------------
-- Spell: Blitzstrahl
-- Deals lightning damage to an enemy. Additional effect: "Stun"
-- Spell cost: 70 MP
-- Monster Type: Arcana
-- Spell Type: Magical (Lightning)
-- Blue Magic Points: 4
-- Stat Bonus: DEX+3
-- Level: 44
-- Casting Time: 4.5 seconds
-- Recast Time: 29.25 seconds
-- Magic Bursts on: Impaction, Fragmentation, Light
-- Combos: None
-----------------------------------------
require("scripts/globals/bluemagic");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnMagicCastingCheck
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)
return 0;
end;
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onSpellCast(caster,target,spell)
local params = {};
-- This data should match information on http://wiki.ffxiclopedia.org/wiki/Calculating_Blue_Magic_Damage
params.multiplier = 1.5625;
params.tMultiplier = 1.0;
params.duppercap = 61;
params.str_wsc = 0.0;
params.dex_wsc = 0.0;
params.vit_wsc = 0.0;
params.agi_wsc = 0.0;
params.int_wsc = 0.3;
params.mnd_wsc = 0.1;
params.chr_wsc = 0.0;
local damage = BlueMagicalSpell(caster, target, spell, params, INT_BASED);
damage = BlueFinalAdjustments(caster, target, spell, damage, params);
local params = {};
params.diff = caster:getStat(dsp.mod.INT) - target:getStat(dsp.mod.INT);
params.attribute = dsp.mod.INT;
params.skillType = dsp.skill.BLUE_MAGIC;
params.bonus = 1.0;
local resist = applyResistance(caster, target, spell, params);
if (damage > 0 and resist > 0.0625) then
local typeEffect = dsp.effect.STUN;
target:delStatusEffect(typeEffect); -- Wiki says it can overwrite itself or other binds
target:addStatusEffect(typeEffect,1,0,getBlueEffectDuration(caster,resist,typeEffect));
end
return damage;
end; | gpl-3.0 |
jvburnes/node9 | fs/os/lib/pl/OrderedMap.lua | 8 | 4507 | --- OrderedMap, a map which preserves ordering.
--
-- Derived from `pl.Map`.
--
-- Dependencies: `pl.utils`, `pl.tablex`, `pl.List`
-- @classmod pl.OrderedMap
local tablex = require 'pl.tablex'
local utils = require 'pl.utils'
local List = require 'pl.List'
local index_by,tsort,concat = tablex.index_by,table.sort,table.concat
local class = require 'pl.class'
local Map = require 'pl.Map'
local OrderedMap = class(Map)
OrderedMap._name = 'OrderedMap'
local rawset = rawset
--- construct an OrderedMap.
-- Will throw an error if the argument is bad.
-- @param t optional initialization table, same as for @{OrderedMap:update}
function OrderedMap:_init (t)
rawset(self,'_keys',List())
if t then
local map,err = self:update(t)
if not map then error(err,2) end
end
end
local assert_arg,raise = utils.assert_arg,utils.raise
--- update an OrderedMap using a table.
-- If the table is itself an OrderedMap, then its entries will be appended. <br>
-- if it s a table of the form <code>{{key1=val1},{key2=val2},...}</code> these will be appended. <br>
-- Otherwise, it is assumed to be a map-like table, and order of extra entries is arbitrary.
-- @param t a table.
-- @return the map, or nil in case of error
-- @return the error message
function OrderedMap:update (t)
assert_arg(1,t,'table')
if OrderedMap:class_of(t) then
for k,v in t:iter() do
self:set(k,v)
end
elseif #t > 0 then -- an array must contain {key=val} tables
if type(t[1]) == 'table' then
for _,pair in ipairs(t) do
local key,value = next(pair)
if not key then return raise 'empty pair initialization table' end
self:set(key,value)
end
else
return raise 'cannot use an array to initialize an OrderedMap'
end
else
for k,v in pairs(t) do
self:set(k,v)
end
end
return self
end
--- set the key's value. This key will be appended at the end of the map.
--
-- If the value is nil, then the key is removed.
-- @param key the key
-- @param val the value
-- @return the map
function OrderedMap:set (key,val)
if self[key] == nil and val ~= nil then -- new key
self._keys:append(key) -- we keep in order
rawset(self,key,val) -- don't want to provoke __newindex!
else -- existing key-value pair
if val == nil then
self._keys:remove_value(key)
rawset(self,key,nil)
else
self[key] = val
end
end
return self
end
OrderedMap.__newindex = OrderedMap.set
--- insert a key/value pair before a given position.
-- Note: if the map already contains the key, then this effectively
-- moves the item to the new position by first removing at the old position.
-- Has no effect if the key does not exist and val is nil
-- @param pos a position starting at 1
-- @param key the key
-- @param val the value; if nil use the old value
function OrderedMap:insert (pos,key,val)
local oldval = self[key]
val = val or oldval
if oldval then
self._keys:remove_value(key)
end
if val then
self._keys:insert(pos,key)
rawset(self,key,val)
end
return self
end
--- return the keys in order.
-- (Not a copy!)
-- @return List
function OrderedMap:keys ()
return self._keys
end
--- return the values in order.
-- this is relatively expensive.
-- @return List
function OrderedMap:values ()
return List(index_by(self,self._keys))
end
--- sort the keys.
-- @param cmp a comparison function as for @{table.sort}
-- @return the map
function OrderedMap:sort (cmp)
tsort(self._keys,cmp)
return self
end
--- iterate over key-value pairs in order.
function OrderedMap:iter ()
local i = 0
local keys = self._keys
local n,idx = #keys
return function()
i = i + 1
if i > #keys then return nil end
idx = keys[i]
return idx,self[idx]
end
end
--- iterate over an ordered map (5.2).
-- @within metamethods
-- @function OrderedMap:__pairs
OrderedMap.__pairs = OrderedMap.iter
--- string representation of an ordered map.
-- @within metamethods
function OrderedMap:__tostring ()
local res = {}
for i,v in ipairs(self._keys) do
local val = self[v]
local vs = tostring(val)
if type(val) ~= 'number' then
vs = '"'..vs..'"'
end
res[i] = tostring(v)..'='..vs
end
return '{'..concat(res,',')..'}'
end
return OrderedMap
| mit |
kidaa/Awakening-Core3 | bin/scripts/object/draft_schematic/chemistry/objects.lua | 3 | 281432 | --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_draft_schematic_chemistry_shared_antidote_sm_s1 = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_antidote_sm_s1.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3265117703,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_antidote_sm_s1, "object/draft_schematic/chemistry/shared_antidote_sm_s1.iff")
object_draft_schematic_chemistry_shared_dye_kit_clothing = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_dye_kit_clothing.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 362148804,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_dye_kit_clothing, "object/draft_schematic/chemistry/shared_dye_kit_clothing.iff")
object_draft_schematic_chemistry_shared_dye_kit_hair = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_dye_kit_hair.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 291639705,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_dye_kit_hair, "object/draft_schematic/chemistry/shared_dye_kit_hair.iff")
object_draft_schematic_chemistry_shared_med_fire_blanket = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_med_fire_blanket.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3675038200,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_med_fire_blanket, "object/draft_schematic/chemistry/shared_med_fire_blanket.iff")
object_draft_schematic_chemistry_shared_med_stimpack_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_med_stimpack_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3757704336,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_med_stimpack_a, "object/draft_schematic/chemistry/shared_med_stimpack_a.iff")
object_draft_schematic_chemistry_shared_med_stimpack_area_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_med_stimpack_area_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2814723846,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_med_stimpack_area_a, "object/draft_schematic/chemistry/shared_med_stimpack_area_a.iff")
object_draft_schematic_chemistry_shared_med_stimpack_area_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_med_stimpack_area_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2094198673,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_med_stimpack_area_b, "object/draft_schematic/chemistry/shared_med_stimpack_area_b.iff")
object_draft_schematic_chemistry_shared_med_stimpack_area_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_med_stimpack_area_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 903841820,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_med_stimpack_area_c, "object/draft_schematic/chemistry/shared_med_stimpack_area_c.iff")
object_draft_schematic_chemistry_shared_med_stimpack_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_med_stimpack_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 82684935,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_med_stimpack_b, "object/draft_schematic/chemistry/shared_med_stimpack_b.iff")
object_draft_schematic_chemistry_shared_med_stimpack_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_med_stimpack_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1306577802,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_med_stimpack_c, "object/draft_schematic/chemistry/shared_med_stimpack_c.iff")
object_draft_schematic_chemistry_shared_med_stimpack_d = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_med_stimpack_d.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3053707422,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_med_stimpack_d, "object/draft_schematic/chemistry/shared_med_stimpack_d.iff")
object_draft_schematic_chemistry_shared_med_stimpack_e = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_med_stimpack_e.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 4279142163,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_med_stimpack_e, "object/draft_schematic/chemistry/shared_med_stimpack_e.iff")
object_draft_schematic_chemistry_shared_med_stimpack_range_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_med_stimpack_range_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2387638158,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_med_stimpack_range_a, "object/draft_schematic/chemistry/shared_med_stimpack_range_a.iff")
object_draft_schematic_chemistry_shared_med_stimpack_range_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_med_stimpack_range_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1430773529,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_med_stimpack_range_b, "object/draft_schematic/chemistry/shared_med_stimpack_range_b.iff")
object_draft_schematic_chemistry_shared_med_stimpack_range_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_med_stimpack_range_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 474658964,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_med_stimpack_range_c, "object/draft_schematic/chemistry/shared_med_stimpack_range_c.iff")
object_draft_schematic_chemistry_shared_med_stimpack_range_d = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_med_stimpack_range_d.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3886650240,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_med_stimpack_range_d, "object/draft_schematic/chemistry/shared_med_stimpack_range_d.iff")
object_draft_schematic_chemistry_shared_med_stimpack_range_e = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_med_stimpack_range_e.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2930045965,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_med_stimpack_range_e, "object/draft_schematic/chemistry/shared_med_stimpack_range_e.iff")
object_draft_schematic_chemistry_shared_med_stimpack_state_blinded_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_med_stimpack_state_blinded_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1364124168,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_med_stimpack_state_blinded_a, "object/draft_schematic/chemistry/shared_med_stimpack_state_blinded_a.iff")
object_draft_schematic_chemistry_shared_med_stimpack_state_blinded_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_med_stimpack_state_blinded_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2321107615,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_med_stimpack_state_blinded_b, "object/draft_schematic/chemistry/shared_med_stimpack_state_blinded_b.iff")
object_draft_schematic_chemistry_shared_med_stimpack_state_dizzy_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_med_stimpack_state_dizzy_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1036204741,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_med_stimpack_state_dizzy_a, "object/draft_schematic/chemistry/shared_med_stimpack_state_dizzy_a.iff")
object_draft_schematic_chemistry_shared_med_stimpack_state_dizzy_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_med_stimpack_state_dizzy_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3872690770,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_med_stimpack_state_dizzy_b, "object/draft_schematic/chemistry/shared_med_stimpack_state_dizzy_b.iff")
object_draft_schematic_chemistry_shared_med_stimpack_state_intimidated_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_med_stimpack_state_intimidated_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1965538987,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_med_stimpack_state_intimidated_a, "object/draft_schematic/chemistry/shared_med_stimpack_state_intimidated_a.iff")
object_draft_schematic_chemistry_shared_med_stimpack_state_intimidated_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_med_stimpack_state_intimidated_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2922387004,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_med_stimpack_state_intimidated_b, "object/draft_schematic/chemistry/shared_med_stimpack_state_intimidated_b.iff")
object_draft_schematic_chemistry_shared_med_stimpack_state_stunned_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_med_stimpack_state_stunned_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3140453120,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_med_stimpack_state_stunned_a, "object/draft_schematic/chemistry/shared_med_stimpack_state_stunned_a.iff")
object_draft_schematic_chemistry_shared_med_stimpack_state_stunned_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_med_stimpack_state_stunned_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1614293911,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_med_stimpack_state_stunned_b, "object/draft_schematic/chemistry/shared_med_stimpack_state_stunned_b.iff")
object_draft_schematic_chemistry_shared_medic_damage = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medic_damage.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1775360187,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medic_damage, "object/draft_schematic/chemistry/shared_medic_damage.iff")
object_draft_schematic_chemistry_shared_medikit_advanced = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medikit_advanced.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1941410275,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medikit_advanced, "object/draft_schematic/chemistry/shared_medikit_advanced.iff")
object_draft_schematic_chemistry_shared_medikit_basic = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medikit_basic.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2213021622,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medikit_basic, "object/draft_schematic/chemistry/shared_medikit_basic.iff")
object_draft_schematic_chemistry_shared_medpack_cure_disease_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_cure_disease_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 124288552,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_cure_disease_a, "object/draft_schematic/chemistry/shared_medpack_cure_disease_a.iff")
object_draft_schematic_chemistry_shared_medpack_cure_disease_area_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_cure_disease_area_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3871211792,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_cure_disease_area_a, "object/draft_schematic/chemistry/shared_medpack_cure_disease_area_a.iff")
object_draft_schematic_chemistry_shared_medpack_cure_disease_area_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_cure_disease_area_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1034529159,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_cure_disease_area_b, "object/draft_schematic/chemistry/shared_medpack_cure_disease_area_b.iff")
object_draft_schematic_chemistry_shared_medpack_cure_disease_area_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_cure_disease_area_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1956957706,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_cure_disease_area_c, "object/draft_schematic/chemistry/shared_medpack_cure_disease_area_c.iff")
object_draft_schematic_chemistry_shared_medpack_cure_disease_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_cure_disease_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3699365567,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_cure_disease_b, "object/draft_schematic/chemistry/shared_medpack_cure_disease_b.iff")
object_draft_schematic_chemistry_shared_medpack_cure_disease_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_cure_disease_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2507321650,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_cure_disease_c, "object/draft_schematic/chemistry/shared_medpack_cure_disease_c.iff")
object_draft_schematic_chemistry_shared_medpack_cure_poison_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_cure_poison_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 351667608,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_cure_poison_a, "object/draft_schematic/chemistry/shared_medpack_cure_poison_a.iff")
object_draft_schematic_chemistry_shared_medpack_cure_poison_area_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_cure_poison_area_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 954914479,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_cure_poison_area_a, "object/draft_schematic/chemistry/shared_medpack_cure_poison_area_a.iff")
object_draft_schematic_chemistry_shared_medpack_cure_poison_area_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_cure_poison_area_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3825040952,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_cure_poison_area_b, "object/draft_schematic/chemistry/shared_medpack_cure_poison_area_b.iff")
object_draft_schematic_chemistry_shared_medpack_cure_poison_area_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_cure_poison_area_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2867861941,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_cure_poison_area_c, "object/draft_schematic/chemistry/shared_medpack_cure_poison_area_c.iff")
object_draft_schematic_chemistry_shared_medpack_cure_poison_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_cure_poison_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3487673615,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_cure_poison_b, "object/draft_schematic/chemistry/shared_medpack_cure_poison_b.iff")
object_draft_schematic_chemistry_shared_medpack_cure_poison_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_cure_poison_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2263665282,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_cure_poison_c, "object/draft_schematic/chemistry/shared_medpack_cure_poison_c.iff")
object_draft_schematic_chemistry_shared_medpack_damage = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_damage.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3405539555,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_damage, "object/draft_schematic/chemistry/shared_medpack_damage.iff")
object_draft_schematic_chemistry_shared_medpack_disease_action_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_action_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 694015561,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_action_a, "object/draft_schematic/chemistry/shared_medpack_disease_action_a.iff")
object_draft_schematic_chemistry_shared_medpack_disease_action_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_action_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 4064968414,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_action_b, "object/draft_schematic/chemistry/shared_medpack_disease_action_b.iff")
object_draft_schematic_chemistry_shared_medpack_disease_action_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_action_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3141998931,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_action_c, "object/draft_schematic/chemistry/shared_medpack_disease_action_c.iff")
object_draft_schematic_chemistry_shared_medpack_disease_area_action_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_area_action_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3808059942,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_area_action_a, "object/draft_schematic/chemistry/shared_medpack_disease_area_action_a.iff")
object_draft_schematic_chemistry_shared_medpack_disease_area_action_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_area_action_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 971885233,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_area_action_b, "object/draft_schematic/chemistry/shared_medpack_disease_area_action_b.iff")
object_draft_schematic_chemistry_shared_medpack_disease_area_action_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_area_action_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1893772604,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_area_action_c, "object/draft_schematic/chemistry/shared_medpack_disease_area_action_c.iff")
object_draft_schematic_chemistry_shared_medpack_disease_area_constitution_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_area_constitution_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2084105908,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_area_constitution_a, "object/draft_schematic/chemistry/shared_medpack_disease_area_constitution_a.iff")
object_draft_schematic_chemistry_shared_medpack_disease_area_constitution_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_area_constitution_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2804893219,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_area_constitution_b, "object/draft_schematic/chemistry/shared_medpack_disease_area_constitution_b.iff")
object_draft_schematic_chemistry_shared_medpack_disease_area_constitution_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_area_constitution_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3995214254,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_area_constitution_c, "object/draft_schematic/chemistry/shared_medpack_disease_area_constitution_c.iff")
object_draft_schematic_chemistry_shared_medpack_disease_area_focus_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_area_focus_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1596796775,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_area_focus_a, "object/draft_schematic/chemistry/shared_medpack_disease_area_focus_a.iff")
object_draft_schematic_chemistry_shared_medpack_disease_area_focus_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_area_focus_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2218428400,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_area_focus_b, "object/draft_schematic/chemistry/shared_medpack_disease_area_focus_b.iff")
object_draft_schematic_chemistry_shared_medpack_disease_area_focus_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_area_focus_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3442991229,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_area_focus_c, "object/draft_schematic/chemistry/shared_medpack_disease_area_focus_c.iff")
object_draft_schematic_chemistry_shared_medpack_disease_area_health_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_area_health_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1732580378,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_area_health_a, "object/draft_schematic/chemistry/shared_medpack_disease_area_health_a.iff")
object_draft_schematic_chemistry_shared_medpack_disease_area_health_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_area_health_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3159538829,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_area_health_b, "object/draft_schematic/chemistry/shared_medpack_disease_area_health_b.iff")
object_draft_schematic_chemistry_shared_medpack_disease_area_health_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_area_health_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 4116699904,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_area_health_c, "object/draft_schematic/chemistry/shared_medpack_disease_area_health_c.iff")
object_draft_schematic_chemistry_shared_medpack_disease_area_mind_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_area_mind_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1596047843,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_area_mind_a, "object/draft_schematic/chemistry/shared_medpack_disease_area_mind_a.iff")
object_draft_schematic_chemistry_shared_medpack_disease_area_mind_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_area_mind_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2218158452,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_area_mind_b, "object/draft_schematic/chemistry/shared_medpack_disease_area_mind_b.iff")
object_draft_schematic_chemistry_shared_medpack_disease_area_mind_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_area_mind_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3443199737,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_area_mind_c, "object/draft_schematic/chemistry/shared_medpack_disease_area_mind_c.iff")
object_draft_schematic_chemistry_shared_medpack_disease_area_quickness_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_area_quickness_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3559575404,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_area_quickness_a, "object/draft_schematic/chemistry/shared_medpack_disease_area_quickness_a.iff")
object_draft_schematic_chemistry_shared_medpack_disease_area_quickness_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_area_quickness_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 255682555,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_area_quickness_b, "object/draft_schematic/chemistry/shared_medpack_disease_area_quickness_b.iff")
object_draft_schematic_chemistry_shared_medpack_disease_area_quickness_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_area_quickness_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1177550966,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_area_quickness_c, "object/draft_schematic/chemistry/shared_medpack_disease_area_quickness_c.iff")
object_draft_schematic_chemistry_shared_medpack_disease_area_stamina_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_area_stamina_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2040229827,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_area_stamina_a, "object/draft_schematic/chemistry/shared_medpack_disease_area_stamina_a.iff")
object_draft_schematic_chemistry_shared_medpack_disease_area_stamina_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_area_stamina_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2727135060,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_area_stamina_b, "object/draft_schematic/chemistry/shared_medpack_disease_area_stamina_b.iff")
object_draft_schematic_chemistry_shared_medpack_disease_area_stamina_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_area_stamina_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3951141081,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_area_stamina_c, "object/draft_schematic/chemistry/shared_medpack_disease_area_stamina_c.iff")
object_draft_schematic_chemistry_shared_medpack_disease_area_strength_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_area_strength_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1967260026,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_area_strength_a, "object/draft_schematic/chemistry/shared_medpack_disease_area_strength_a.iff")
object_draft_schematic_chemistry_shared_medpack_disease_area_strength_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_area_strength_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2924849645,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_area_strength_b, "object/draft_schematic/chemistry/shared_medpack_disease_area_strength_b.iff")
object_draft_schematic_chemistry_shared_medpack_disease_area_strength_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_area_strength_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3881356896,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_area_strength_c, "object/draft_schematic/chemistry/shared_medpack_disease_area_strength_c.iff")
object_draft_schematic_chemistry_shared_medpack_disease_area_willpower_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_area_willpower_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 98306144,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_area_willpower_a, "object/draft_schematic/chemistry/shared_medpack_disease_area_willpower_a.iff")
object_draft_schematic_chemistry_shared_medpack_disease_area_willpower_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_area_willpower_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3737886967,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_area_willpower_b, "object/draft_schematic/chemistry/shared_medpack_disease_area_willpower_b.iff")
object_draft_schematic_chemistry_shared_medpack_disease_area_willpower_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_area_willpower_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2546386810,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_area_willpower_c, "object/draft_schematic/chemistry/shared_medpack_disease_area_willpower_c.iff")
object_draft_schematic_chemistry_shared_medpack_disease_constitution_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_constitution_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2302811997,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_constitution_a, "object/draft_schematic/chemistry/shared_medpack_disease_constitution_a.iff")
object_draft_schematic_chemistry_shared_medpack_disease_constitution_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_constitution_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1381349322,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_constitution_b, "object/draft_schematic/chemistry/shared_medpack_disease_constitution_b.iff")
object_draft_schematic_chemistry_shared_medpack_disease_constitution_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_constitution_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 458805319,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_constitution_c, "object/draft_schematic/chemistry/shared_medpack_disease_constitution_c.iff")
object_draft_schematic_chemistry_shared_medpack_disease_focus_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_focus_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 4097633358,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_focus_a, "object/draft_schematic/chemistry/shared_medpack_disease_focus_a.iff")
object_draft_schematic_chemistry_shared_medpack_disease_focus_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_focus_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 791364825,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_focus_b, "object/draft_schematic/chemistry/shared_medpack_disease_focus_b.iff")
object_draft_schematic_chemistry_shared_medpack_disease_focus_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_focus_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1713775444,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_focus_c, "object/draft_schematic/chemistry/shared_medpack_disease_focus_c.iff")
object_draft_schematic_chemistry_shared_medpack_disease_health_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_health_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2900533365,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_health_a, "object/draft_schematic/chemistry/shared_medpack_disease_health_a.iff")
object_draft_schematic_chemistry_shared_medpack_disease_health_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_health_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2012547298,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_health_b, "object/draft_schematic/chemistry/shared_medpack_disease_health_b.iff")
object_draft_schematic_chemistry_shared_medpack_disease_health_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_health_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1056468847,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_health_c, "object/draft_schematic/chemistry/shared_medpack_disease_health_c.iff")
object_draft_schematic_chemistry_shared_medpack_disease_mind_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_mind_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3467316230,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_mind_a, "object/draft_schematic/chemistry/shared_medpack_disease_mind_a.iff")
object_draft_schematic_chemistry_shared_medpack_disease_mind_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_mind_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 364684433,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_mind_b, "object/draft_schematic/chemistry/shared_medpack_disease_mind_b.iff")
object_draft_schematic_chemistry_shared_medpack_disease_mind_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_mind_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1555153692,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_mind_c, "object/draft_schematic/chemistry/shared_medpack_disease_mind_c.iff")
object_draft_schematic_chemistry_shared_medpack_disease_quickness_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_quickness_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 371283963,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_quickness_a, "object/draft_schematic/chemistry/shared_medpack_disease_quickness_a.iff")
object_draft_schematic_chemistry_shared_medpack_disease_quickness_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_quickness_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3442933612,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_quickness_b, "object/draft_schematic/chemistry/shared_medpack_disease_quickness_b.iff")
object_draft_schematic_chemistry_shared_medpack_disease_quickness_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_quickness_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2218498273,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_quickness_c, "object/draft_schematic/chemistry/shared_medpack_disease_quickness_c.iff")
object_draft_schematic_chemistry_shared_medpack_disease_stamina_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_stamina_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2834193211,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_stamina_a, "object/draft_schematic/chemistry/shared_medpack_disease_stamina_a.iff")
object_draft_schematic_chemistry_shared_medpack_disease_stamina_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_stamina_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1945760684,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_stamina_b, "object/draft_schematic/chemistry/shared_medpack_disease_stamina_b.iff")
object_draft_schematic_chemistry_shared_medpack_disease_stamina_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_stamina_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 989107233,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_stamina_c, "object/draft_schematic/chemistry/shared_medpack_disease_stamina_c.iff")
object_draft_schematic_chemistry_shared_medpack_disease_strength_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_strength_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 355249956,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_strength_a, "object/draft_schematic/chemistry/shared_medpack_disease_strength_a.iff")
object_draft_schematic_chemistry_shared_medpack_disease_strength_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_strength_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3459975091,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_strength_b, "object/draft_schematic/chemistry/shared_medpack_disease_strength_b.iff")
object_draft_schematic_chemistry_shared_medpack_disease_strength_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_strength_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2268487742,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_strength_c, "object/draft_schematic/chemistry/shared_medpack_disease_strength_c.iff")
object_draft_schematic_chemistry_shared_medpack_disease_willpower_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_willpower_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3352793335,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_willpower_a, "object/draft_schematic/chemistry/shared_medpack_disease_willpower_a.iff")
object_draft_schematic_chemistry_shared_medpack_disease_willpower_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_willpower_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 482359392,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_willpower_b, "object/draft_schematic/chemistry/shared_medpack_disease_willpower_b.iff")
object_draft_schematic_chemistry_shared_medpack_disease_willpower_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_disease_willpower_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1439522797,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_disease_willpower_c, "object/draft_schematic/chemistry/shared_medpack_disease_willpower_c.iff")
object_draft_schematic_chemistry_shared_medpack_enhance_action_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_enhance_action_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2369668578,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_enhance_action_a, "object/draft_schematic/chemistry/shared_medpack_enhance_action_a.iff")
object_draft_schematic_chemistry_shared_medpack_enhance_action_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_enhance_action_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1445588341,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_enhance_action_b, "object/draft_schematic/chemistry/shared_medpack_enhance_action_b.iff")
object_draft_schematic_chemistry_shared_medpack_enhance_action_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_enhance_action_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 522488568,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_enhance_action_c, "object/draft_schematic/chemistry/shared_medpack_enhance_action_c.iff")
object_draft_schematic_chemistry_shared_medpack_enhance_action_d = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_enhance_action_d.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3838288364,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_enhance_action_d, "object/draft_schematic/chemistry/shared_medpack_enhance_action_d.iff")
object_draft_schematic_chemistry_shared_medpack_enhance_constitution_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_enhance_constitution_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 481940432,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_enhance_constitution_a, "object/draft_schematic/chemistry/shared_medpack_enhance_constitution_a.iff")
object_draft_schematic_chemistry_shared_medpack_enhance_constitution_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_enhance_constitution_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3350100807,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_enhance_constitution_b, "object/draft_schematic/chemistry/shared_medpack_enhance_constitution_b.iff")
object_draft_schematic_chemistry_shared_medpack_enhance_constitution_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_enhance_constitution_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2393054410,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_enhance_constitution_c, "object/draft_schematic/chemistry/shared_medpack_enhance_constitution_c.iff")
object_draft_schematic_chemistry_shared_medpack_enhance_constitution_d = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_enhance_constitution_d.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1967142878,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_enhance_constitution_d, "object/draft_schematic/chemistry/shared_medpack_enhance_constitution_d.iff")
object_draft_schematic_chemistry_shared_medpack_enhance_disease_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_enhance_disease_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3898940476,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_enhance_disease_a, "object/draft_schematic/chemistry/shared_medpack_enhance_disease_a.iff")
object_draft_schematic_chemistry_shared_medpack_enhance_disease_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_enhance_disease_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 863155371,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_enhance_disease_b, "object/draft_schematic/chemistry/shared_medpack_enhance_disease_b.iff")
object_draft_schematic_chemistry_shared_medpack_enhance_disease_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_enhance_disease_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2055197478,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_enhance_disease_c, "object/draft_schematic/chemistry/shared_medpack_enhance_disease_c.iff")
object_draft_schematic_chemistry_shared_medpack_enhance_health_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_enhance_health_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 142685150,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_enhance_health_a, "object/draft_schematic/chemistry/shared_medpack_enhance_health_a.iff")
object_draft_schematic_chemistry_shared_medpack_enhance_health_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_enhance_health_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3549862729,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_enhance_health_b, "object/draft_schematic/chemistry/shared_medpack_enhance_health_b.iff")
object_draft_schematic_chemistry_shared_medpack_enhance_health_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_enhance_health_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2593914052,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_enhance_health_c, "object/draft_schematic/chemistry/shared_medpack_enhance_health_c.iff")
object_draft_schematic_chemistry_shared_medpack_enhance_health_d = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_enhance_health_d.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1635309520,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_enhance_health_d, "object/draft_schematic/chemistry/shared_medpack_enhance_health_d.iff")
object_draft_schematic_chemistry_shared_medpack_enhance_poison_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_enhance_poison_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 140514746,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_enhance_poison_a, "object/draft_schematic/chemistry/shared_medpack_enhance_poison_a.iff")
object_draft_schematic_chemistry_shared_medpack_enhance_poison_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_enhance_poison_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3547839789,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_enhance_poison_b, "object/draft_schematic/chemistry/shared_medpack_enhance_poison_b.iff")
object_draft_schematic_chemistry_shared_medpack_enhance_poison_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_enhance_poison_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2591742624,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_enhance_poison_c, "object/draft_schematic/chemistry/shared_medpack_enhance_poison_c.iff")
object_draft_schematic_chemistry_shared_medpack_enhance_quickness_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_enhance_quickness_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1448095353,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_enhance_quickness_a, "object/draft_schematic/chemistry/shared_medpack_enhance_quickness_a.iff")
object_draft_schematic_chemistry_shared_medpack_enhance_quickness_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_enhance_quickness_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2370275054,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_enhance_quickness_b, "object/draft_schematic/chemistry/shared_medpack_enhance_quickness_b.iff")
object_draft_schematic_chemistry_shared_medpack_enhance_quickness_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_enhance_quickness_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3293241699,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_enhance_quickness_c, "object/draft_schematic/chemistry/shared_medpack_enhance_quickness_c.iff")
object_draft_schematic_chemistry_shared_medpack_enhance_quickness_d = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_enhance_quickness_d.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1068092023,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_enhance_quickness_d, "object/draft_schematic/chemistry/shared_medpack_enhance_quickness_d.iff")
object_draft_schematic_chemistry_shared_medpack_enhance_stamina_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_enhance_stamina_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 693555433,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_enhance_stamina_a, "object/draft_schematic/chemistry/shared_medpack_enhance_stamina_a.iff")
object_draft_schematic_chemistry_shared_medpack_enhance_stamina_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_enhance_stamina_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 4064376958,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_enhance_stamina_b, "object/draft_schematic/chemistry/shared_medpack_enhance_stamina_b.iff")
object_draft_schematic_chemistry_shared_medpack_enhance_stamina_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_enhance_stamina_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3142328307,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_enhance_stamina_c, "object/draft_schematic/chemistry/shared_medpack_enhance_stamina_c.iff")
object_draft_schematic_chemistry_shared_medpack_enhance_stamina_d = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_enhance_stamina_d.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1085224167,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_enhance_stamina_d, "object/draft_schematic/chemistry/shared_medpack_enhance_stamina_d.iff")
object_draft_schematic_chemistry_shared_medpack_enhance_strength_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_enhance_strength_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3228205181,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_enhance_strength_a, "object/draft_schematic/chemistry/shared_medpack_enhance_strength_a.iff")
object_draft_schematic_chemistry_shared_medpack_enhance_strength_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_enhance_strength_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 461187306,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_enhance_strength_b, "object/draft_schematic/chemistry/shared_medpack_enhance_strength_b.iff")
object_draft_schematic_chemistry_shared_medpack_enhance_strength_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_enhance_strength_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1383092071,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_enhance_strength_c, "object/draft_schematic/chemistry/shared_medpack_enhance_strength_c.iff")
object_draft_schematic_chemistry_shared_medpack_enhance_strength_d = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_enhance_strength_d.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2845009011,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_enhance_strength_d, "object/draft_schematic/chemistry/shared_medpack_enhance_strength_d.iff")
object_draft_schematic_chemistry_shared_medpack_poison_action_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_poison_action_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2893232021,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_poison_action_a, "object/draft_schematic/chemistry/shared_medpack_poison_action_a.iff")
object_draft_schematic_chemistry_shared_medpack_poison_action_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_poison_action_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2003083010,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_poison_action_b, "object/draft_schematic/chemistry/shared_medpack_poison_action_b.iff")
object_draft_schematic_chemistry_shared_medpack_poison_action_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_poison_action_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1047132303,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_poison_action_c, "object/draft_schematic/chemistry/shared_medpack_poison_action_c.iff")
object_draft_schematic_chemistry_shared_medpack_poison_area_action_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_poison_area_action_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3913034152,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_poison_area_action_a, "object/draft_schematic/chemistry/shared_medpack_poison_area_action_a.iff")
object_draft_schematic_chemistry_shared_medpack_poison_area_action_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_poison_area_action_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 841711935,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_poison_area_action_b, "object/draft_schematic/chemistry/shared_medpack_poison_area_action_b.iff")
object_draft_schematic_chemistry_shared_medpack_poison_area_action_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_poison_area_action_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2066146994,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_poison_area_action_c, "object/draft_schematic/chemistry/shared_medpack_poison_area_action_c.iff")
object_draft_schematic_chemistry_shared_medpack_poison_area_health_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_poison_area_health_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1820549012,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_poison_area_health_a, "object/draft_schematic/chemistry/shared_medpack_poison_area_health_a.iff")
object_draft_schematic_chemistry_shared_medpack_poison_area_health_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_poison_area_health_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3079993091,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_poison_area_health_b, "object/draft_schematic/chemistry/shared_medpack_poison_area_health_b.iff")
object_draft_schematic_chemistry_shared_medpack_poison_area_health_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_poison_area_health_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 4271476878,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_poison_area_health_c, "object/draft_schematic/chemistry/shared_medpack_poison_area_health_c.iff")
object_draft_schematic_chemistry_shared_medpack_poison_area_mind_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_poison_area_mind_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3885526500,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_poison_area_mind_a, "object/draft_schematic/chemistry/shared_medpack_poison_area_mind_a.iff")
object_draft_schematic_chemistry_shared_medpack_poison_area_mind_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_poison_area_mind_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1016055155,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_poison_area_mind_b, "object/draft_schematic/chemistry/shared_medpack_poison_area_mind_b.iff")
object_draft_schematic_chemistry_shared_medpack_poison_area_mind_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_poison_area_mind_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1971495678,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_poison_area_mind_c, "object/draft_schematic/chemistry/shared_medpack_poison_area_mind_c.iff")
object_draft_schematic_chemistry_shared_medpack_poison_health_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_poison_health_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 701252009,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_poison_health_a, "object/draft_schematic/chemistry/shared_medpack_poison_health_a.iff")
object_draft_schematic_chemistry_shared_medpack_poison_health_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_poison_health_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 4074498366,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_poison_health_b, "object/draft_schematic/chemistry/shared_medpack_poison_health_b.iff")
object_draft_schematic_chemistry_shared_medpack_poison_health_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_poison_health_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3151400627,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_poison_health_c, "object/draft_schematic/chemistry/shared_medpack_poison_health_c.iff")
object_draft_schematic_chemistry_shared_medpack_poison_mind_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_poison_mind_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2919448554,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_poison_mind_a, "object/draft_schematic/chemistry/shared_medpack_poison_mind_a.iff")
object_draft_schematic_chemistry_shared_medpack_poison_mind_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_poison_mind_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1964283773,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_poison_mind_b, "object/draft_schematic/chemistry/shared_medpack_poison_mind_b.iff")
object_draft_schematic_chemistry_shared_medpack_poison_mind_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_poison_mind_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1008333040,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_poison_mind_c, "object/draft_schematic/chemistry/shared_medpack_poison_mind_c.iff")
object_draft_schematic_chemistry_shared_medpack_revive = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_revive.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1702447331,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_revive, "object/draft_schematic/chemistry/shared_medpack_revive.iff")
object_draft_schematic_chemistry_shared_medpack_sm_s1 = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_sm_s1.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 751951570,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_sm_s1, "object/draft_schematic/chemistry/shared_medpack_sm_s1.iff")
object_draft_schematic_chemistry_shared_medpack_wound = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_wound.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2399715807,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_wound, "object/draft_schematic/chemistry/shared_medpack_wound.iff")
object_draft_schematic_chemistry_shared_medpack_wound_action = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_wound_action.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2149892394,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_wound_action, "object/draft_schematic/chemistry/shared_medpack_wound_action.iff")
object_draft_schematic_chemistry_shared_medpack_wound_action_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_wound_action_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1923718175,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_wound_action_a, "object/draft_schematic/chemistry/shared_medpack_wound_action_a.iff")
object_draft_schematic_chemistry_shared_medpack_wound_action_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_wound_action_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2847814792,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_wound_action_b, "object/draft_schematic/chemistry/shared_medpack_wound_action_b.iff")
object_draft_schematic_chemistry_shared_medpack_wound_action_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_wound_action_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3769848581,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_wound_action_c, "object/draft_schematic/chemistry/shared_medpack_wound_action_c.iff")
object_draft_schematic_chemistry_shared_medpack_wound_action_d = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_wound_action_d.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 458258449,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_wound_action_d, "object/draft_schematic/chemistry/shared_medpack_wound_action_d.iff")
object_draft_schematic_chemistry_shared_medpack_wound_action_e = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_wound_action_e.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1381834652,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_wound_action_e, "object/draft_schematic/chemistry/shared_medpack_wound_action_e.iff")
object_draft_schematic_chemistry_shared_medpack_wound_constitution = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_wound_constitution.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1820732441,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_wound_constitution, "object/draft_schematic/chemistry/shared_medpack_wound_constitution.iff")
object_draft_schematic_chemistry_shared_medpack_wound_constitution_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_wound_constitution_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1261572470,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_wound_constitution_a, "object/draft_schematic/chemistry/shared_medpack_wound_constitution_a.iff")
object_draft_schematic_chemistry_shared_medpack_wound_constitution_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_wound_constitution_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2418391521,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_wound_constitution_b, "object/draft_schematic/chemistry/shared_medpack_wound_constitution_b.iff")
object_draft_schematic_chemistry_shared_medpack_wound_constitution_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_wound_constitution_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3643334252,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_wound_constitution_c, "object/draft_schematic/chemistry/shared_medpack_wound_constitution_c.iff")
object_draft_schematic_chemistry_shared_medpack_wound_constitution_d = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_wound_constitution_d.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 583791992,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_wound_constitution_d, "object/draft_schematic/chemistry/shared_medpack_wound_constitution_d.iff")
object_draft_schematic_chemistry_shared_medpack_wound_constitution_e = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_wound_constitution_e.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1808175861,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_wound_constitution_e, "object/draft_schematic/chemistry/shared_medpack_wound_constitution_e.iff")
object_draft_schematic_chemistry_shared_medpack_wound_health = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_wound_health.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 685238281,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_wound_health, "object/draft_schematic/chemistry/shared_medpack_wound_health.iff")
object_draft_schematic_chemistry_shared_medpack_wound_health_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_wound_health_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 4145474083,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_wound_health_a, "object/draft_schematic/chemistry/shared_medpack_wound_health_a.iff")
object_draft_schematic_chemistry_shared_medpack_wound_health_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_wound_health_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 738280116,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_wound_health_b, "object/draft_schematic/chemistry/shared_medpack_wound_health_b.iff")
object_draft_schematic_chemistry_shared_medpack_wound_health_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_wound_health_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1695294777,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_wound_health_c, "object/draft_schematic/chemistry/shared_medpack_wound_health_c.iff")
object_draft_schematic_chemistry_shared_medpack_wound_health_d = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_wound_health_d.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2666466861,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_wound_health_d, "object/draft_schematic/chemistry/shared_medpack_wound_health_d.iff")
object_draft_schematic_chemistry_shared_medpack_wound_health_e = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_wound_health_e.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3621939616,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_wound_health_e, "object/draft_schematic/chemistry/shared_medpack_wound_health_e.iff")
object_draft_schematic_chemistry_shared_medpack_wound_quickness = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_wound_quickness.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 45293723,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_wound_quickness, "object/draft_schematic/chemistry/shared_medpack_wound_quickness.iff")
object_draft_schematic_chemistry_shared_medpack_wound_quickness_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_wound_quickness_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2319233299,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_wound_quickness_a, "object/draft_schematic/chemistry/shared_medpack_wound_quickness_a.iff")
object_draft_schematic_chemistry_shared_medpack_wound_quickness_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_wound_quickness_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1361779076,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_wound_quickness_b, "object/draft_schematic/chemistry/shared_medpack_wound_quickness_b.iff")
object_draft_schematic_chemistry_shared_medpack_wound_quickness_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_wound_quickness_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 405175817,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_wound_quickness_c, "object/draft_schematic/chemistry/shared_medpack_wound_quickness_c.iff")
object_draft_schematic_chemistry_shared_medpack_wound_quickness_d = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_wound_quickness_d.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3821360413,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_wound_quickness_d, "object/draft_schematic/chemistry/shared_medpack_wound_quickness_d.iff")
object_draft_schematic_chemistry_shared_medpack_wound_quickness_e = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_wound_quickness_e.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2865246864,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_wound_quickness_e, "object/draft_schematic/chemistry/shared_medpack_wound_quickness_e.iff")
object_draft_schematic_chemistry_shared_medpack_wound_stamina = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_wound_stamina.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 643507193,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_wound_stamina, "object/draft_schematic/chemistry/shared_medpack_wound_stamina.iff")
object_draft_schematic_chemistry_shared_medpack_wound_stamina_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_wound_stamina_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 259550557,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_wound_stamina_a, "object/draft_schematic/chemistry/shared_medpack_wound_stamina_a.iff")
object_draft_schematic_chemistry_shared_medpack_wound_stamina_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_wound_stamina_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3564094922,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_wound_stamina_b, "object/draft_schematic/chemistry/shared_medpack_wound_stamina_b.iff")
object_draft_schematic_chemistry_shared_medpack_wound_stamina_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_wound_stamina_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2640486983,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_wound_stamina_c, "object/draft_schematic/chemistry/shared_medpack_wound_stamina_c.iff")
object_draft_schematic_chemistry_shared_medpack_wound_stamina_d = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_wound_stamina_d.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1719765331,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_wound_stamina_d, "object/draft_schematic/chemistry/shared_medpack_wound_stamina_d.iff")
object_draft_schematic_chemistry_shared_medpack_wound_stamina_e = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_wound_stamina_e.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 797765342,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_wound_stamina_e, "object/draft_schematic/chemistry/shared_medpack_wound_stamina_e.iff")
object_draft_schematic_chemistry_shared_medpack_wound_strength = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_wound_strength.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 4078580754,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_wound_strength, "object/draft_schematic/chemistry/shared_medpack_wound_strength.iff")
object_draft_schematic_chemistry_shared_medpack_wound_strength_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_wound_strength_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1819463471,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_wound_strength_a, "object/draft_schematic/chemistry/shared_medpack_wound_strength_a.iff")
object_draft_schematic_chemistry_shared_medpack_wound_strength_b = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_wound_strength_b.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 3076876216,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_wound_strength_b, "object/draft_schematic/chemistry/shared_medpack_wound_strength_b.iff")
object_draft_schematic_chemistry_shared_medpack_wound_strength_c = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_wound_strength_c.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 4268228661,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_wound_strength_c, "object/draft_schematic/chemistry/shared_medpack_wound_strength_c.iff")
object_draft_schematic_chemistry_shared_medpack_wound_strength_d = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_wound_strength_d.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 93006625,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_wound_strength_d, "object/draft_schematic/chemistry/shared_medpack_wound_strength_d.iff")
object_draft_schematic_chemistry_shared_medpack_wound_strength_e = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_medpack_wound_strength_e.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 1283869868,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_medpack_wound_strength_e, "object/draft_schematic/chemistry/shared_medpack_wound_strength_e.iff")
object_draft_schematic_chemistry_shared_quest_stimpack_a = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_quest_stimpack_a.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 773676321,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_quest_stimpack_a, "object/draft_schematic/chemistry/shared_quest_stimpack_a.iff")
object_draft_schematic_chemistry_shared_stimpack_sm_s1 = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/chemistry/shared_stimpack_sm_s1.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "",
arrangementDescriptorFilename = "abstract/slot/arrangement/arrangement_datapad.iff",
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 2049,
collisionActionBlockFlags = 0,
collisionActionFlags = 0,
collisionActionPassFlags = 0,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 0,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 0,
detailedDescription = "string_id_table",
gameObjectType = 2049,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "string_id_table",
onlyVisibleInTools = 0,
portalLayoutFilename = "",
scale = 0,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 0,
surfaceType = 0,
totalCellNumber = 0,
clientObjectCRC = 2382882754,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/intangible/base/shared_base_intangible.iff", "object/draft_schematic/base/shared_base_draft_schematic.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_draft_schematic_chemistry_shared_stimpack_sm_s1, "object/draft_schematic/chemistry/shared_stimpack_sm_s1.iff")
| lgpl-3.0 |
nashory/gans-collection.torch | __5_ebgan/models/dis.lua | 1 | 4270 | -- Generator network structure for ALI.
local nn = require 'nn'
require 'cudnn'
local Generator = {}
local SBatchNorm = cudnn.SpatialBatchNormalization
local SConv = cudnn.SpatialConvolution
local SFullConv = cudnn.SpatialFullConvolution
function Generator.weights_init(m)
local name = torch.type(m)
if name:find('Convolution') then
m.weight:normal(0.0, 0.02)
m.bias:fill(0)
elseif name:find('BarchNormalization') then
if m.weight then m.weight:normal(1.0, 0.02) end
if m.bais then m.bais:fill(0) end
end
end
-- Generator input context to noise
function Generator.create_model(type, opt)
assert(type==64 or type==128, 'erorr. type argument must \'64\' or \'128\'.')
local nc = opt.nc
local nz = opt.nh
local ngf = opt.ngf
local nef = opt.ngf
local model = nn.Sequential()
if type == 128 then
-- encoder.
-- state size : (3) x 128 x 128
local enc = nn.Sequential()
enc:add(SConv(3, nef, 4, 4, 2, 2, 1, 1))
enc:add(nn.ReLU(true))
-- state size : (nef) x 64 x 64
enc:add(SConv(nef, nef, 4, 4, 2, 2, 1, 1))
enc:add(SBatchNorm(nef)):add(nn.ReLU(true))
-- state size : (nef) x 32 x 32
enc:add(SConv(nef, 2*nef, 4, 4, 2, 2, 1, 1))
enc:add(SBatchNorm(2*nef)):add(nn.ReLU(true))
-- state size : (2*nef) x 16 x 16
enc:add(SConv(2*nef, 4*nef, 4, 4, 2, 2, 1, 1))
enc:add(SBatchNorm(4*nef)):add(nn.ReLU(true))
-- state size : (4*nef) x 8 x 8
enc:add(SConv(4*nef, 8*nef, 4, 4, 2, 2, 1, 1))
enc:add(SBatchNorm(8*nef)):add(nn.ReLU(true))
-- state size : (8*nef) x 4 x 4
enc:add(SConv(8*nef, nz, 4, 4))
-- state size : (nz) x 1 x 1
-- decoder.
-- state size : (nBottleneck) x 1 x 1
local dec = nn.Sequential()
dec:add(SFullConv(nz, 8*ngf, 4, 4):noBias())
dec:add(SBatchNorm(8*ngf)):add(nn.ReLU(true))
-- state size : (8*ngf) x 4 x 4
dec:add(SFullConv(8*ngf, 4*ngf, 4, 4, 2, 2, 1, 1):noBias())
dec:add(SBatchNorm(4*ngf)):add(nn.ReLU(true))
-- state size : (4*ngf) x 8 x 8
dec:add(SFullConv(4*ngf, 2*ngf, 4, 4, 2, 2, 1, 1):noBias())
dec:add(SBatchNorm(2*ngf)):add(nn.ReLU(true))
-- state size : (2*ngf) x 16 x 16
dec:add(SFullConv(2*ngf, ngf, 4, 4, 2, 2, 1, 1):noBias())
dec:add(SBatchNorm(ngf)):add(nn.ReLU(true))
-- state size : (ngf) x 32 x 32
dec:add(SFullConv(ngf, ngf, 4, 4, 2, 2, 1, 1):noBias())
dec:add(SBatchNorm(ngf)):add(nn.ReLU(true))
-- state size : (ngf) x 64 x 64
dec:add(SFullConv(ngf, nc, 4, 4, 2, 2, 1, 1))
--dec:add(nn.Sigmoid())
-- state size : (nc) x 128 x 128
model:add(enc):add(dec)
elseif type == 64 then
-- encoder.
-- state size : (3) x 64 x 64
local enc = nn.Sequential()
enc:add(SConv(3, nef, 4, 4, 2, 2, 1, 1))
enc:add(nn.ReLU(true))
-- state size : (nef) x 32 x 32
enc:add(SConv(nef, 2*nef, 4, 4, 2, 2, 1, 1))
enc:add(SBatchNorm(2*nef)):add(nn.ReLU(true))
-- state size : (2*nef) x 16 x 16
enc:add(SConv(2*nef, 4*nef, 4, 4, 2, 2, 1, 1))
enc:add(SBatchNorm(4*nef)):add(nn.ReLU(true))
-- state size : (4*nef) x 8 x 8
enc:add(SConv(4*nef, 8*nef, 4, 4, 2, 2, 1, 1))
enc:add(SBatchNorm(8*nef)):add(nn.ReLU(true))
-- state size : (8*nef) x 4 x 4
enc:add(SConv(8*nef, nz, 4, 4))
-- state size : (nz) x 1 x 1
-- decoder.
-- state size : (nBottleneck) x 1 x 1
local dec = nn.Sequential()
dec:add(SFullConv(nz, 8*ngf, 4, 4):noBias())
dec:add(SBatchNorm(8*ngf)):add(nn.ReLU(true))
-- state size : (8*ngf) x 4 x 4
dec:add(SFullConv(8*ngf, 4*ngf, 4, 4, 2, 2, 1, 1):noBias())
dec:add(SBatchNorm(4*ngf)):add(nn.ReLU(true))
-- state size : (4*ngf) x 8 x 8
dec:add(SFullConv(4*ngf, 2*ngf, 4, 4, 2, 2, 1, 1):noBias())
dec:add(SBatchNorm(2*ngf)):add(nn.ReLU(true))
-- state size : (2*ngf) x 16 x 16
dec:add(SFullConv(2*ngf, ngf, 4, 4, 2, 2, 1, 1):noBias())
dec:add(SBatchNorm(ngf)):add(nn.ReLU(true))
-- state size : (ngf) x 32 x 32
dec:add(SFullConv(ngf, nc, 4, 4, 2, 2, 1, 1))
--dec:add(nn.Sigmoid())
-- state size : (nc) x 64 x 64
model:add(enc):add(dec)
end
return model
end
return Generator
| mit |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/dressed_dathomir_sing_mt_clan_slave.lua | 3 | 2256 | --Copyright (C) 2010 <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
object_mobile_dressed_dathomir_sing_mt_clan_slave = object_mobile_shared_dressed_dathomir_sing_mt_clan_slave:new {
}
ObjectTemplates:addTemplate(object_mobile_dressed_dathomir_sing_mt_clan_slave, "object/mobile/dressed_dathomir_sing_mt_clan_slave.iff")
| lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/food/crafted/dessert_pastebread.lua | 3 | 3295 | --Copyright (C) 2010 <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
object_tangible_food_crafted_dessert_pastebread = object_tangible_food_crafted_shared_dessert_pastebread:new {
templateType = CONSUMABLE,
duration = 45,
filling = 10,
nutrition = 10,
effectType = 1,
fillingMin = 23,
fillingMax = 20, -- 18 on http://swgemu.wikia.com/wiki/Category:Chef
flavorMin = 1800,
flavorMax = 3600,
nutritionMin = 675,
nutritionMax = 1250,
quantityMin = 2,
quantityMax = 5,
speciesRestriction = "pets",
modifiers = { "action", 0 },
buffName = "food.dessert_chandad",
buffCRC = 0,
numberExperimentalProperties = {1, 1, 1, 2, 2, 2, 2},
experimentalProperties = {"XX", "XX", "XX", "OQ", "PE", "FL", "OQ", "DR", "PE", "DR", "OQ"},
experimentalWeights = {1, 1, 1, 1, 2, 2, 1, 1, 3, 3, 1},
experimentalGroupTitles = {"null", "null", "null", "exp_nutrition", "exp_flavor", "exp_quantity", "exp_filling"},
experimentalSubGroupTitles = {"null", "null", "hitpoints", "nutrition", "flavor", "quantity", "filling"},
experimentalMin = {0, 0, 1000, 75, 60, 60, 80},
experimentalMax = {0, 0, 1000, 120, 120, 100, 120},
experimentalPrecision = {0, 0, 0, 10, 10, 10, 10},
experimentalCombineType = {0, 0, 4, 1, 1, 1, 1},
}
ObjectTemplates:addTemplate(object_tangible_food_crafted_dessert_pastebread, "object/tangible/food/crafted/dessert_pastebread.iff")
| lgpl-3.0 |
eraffxi/darkstar | scripts/zones/Gustav_Tunnel/Zone.lua | 2 | 1069 | -----------------------------------
--
-- Zone: Gustav Tunnel (212)
--
-----------------------------------
package.loaded["scripts/zones/Gustav_Tunnel/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Gustav_Tunnel/TextIDs");
require("scripts/zones/Gustav_Tunnel/MobIDs");
require("scripts/globals/conquest");
-----------------------------------
function onInitialize(zone)
UpdateNMSpawnPoint(BUNE);
GetMobByID(BUNE):setRespawnTime(math.random(900, 10800));
end;
function onConquestUpdate(zone, updatetype)
local players = zone:getPlayers();
for name, player in pairs(players) do
conquestUpdate(zone, player, updatetype, CONQUEST_BASE);
end
end;
function onZoneIn(player,prevZone)
local cs = -1;
if (player:getXPos() == 0 and player:getYPos() == 0 and player:getZPos() == 0) then
player:setPos(-260.013,-21.802,-276.352,205);
end
return cs;
end;
function onRegionEnter(player,region)
end;
function onEventUpdate(player,csid,option)
end;
function onEventFinish(player,csid,option)
end;
| gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/loot/items/wearables/ithorian/ith_necklace_s12.lua | 4 | 1300 | ith_necklace_s12 = {
-- Ithorian Elegant Gemstone Necklace
minimumLevel = 0,
maximumLevel = -1,
customObjectName = "",
directObjectTemplate = "object/tangible/wearables/ithorian/ith_necklace_s12.iff",
craftingValues = {},
skillMods = {},
customizationStringNames = {"/private/index_color_1","/private/index_color_2"},
customizationValues = {
{0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119},
{0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119}
},
junkDealerTypeNeeded = JUNKCLOTHESANDJEWELLERY,
junkMinValue = 45,
junkMaxValue = 90
}
addLootItemTemplate("ith_necklace_s12", ith_necklace_s12) | lgpl-3.0 |
jvburnes/node9 | fs/os/lib/pl/data.lua | 8 | 19947 | --- Reading and querying simple tabular data.
--
-- data.read 'test.txt'
-- ==> {{10,20},{2,5},{40,50},fieldnames={'x','y'},delim=','}
--
-- Provides a way of creating basic SQL-like queries.
--
-- require 'pl'
-- local d = data.read('xyz.txt')
-- local q = d:select('x,y,z where x > 3 and z < 2 sort by y')
-- for x,y,z in q do
-- print(x,y,z)
-- end
--
-- See @{06-data.md.Reading_Columnar_Data|the Guide}
--
-- Dependencies: `pl.utils`, `pl.array2d` (fallback methods)
-- @module pl.data
local utils = require 'pl.utils'
local _DEBUG = rawget(_G,'_DEBUG')
local patterns,function_arg,usplit,array_tostring = utils.patterns,utils.function_arg,utils.split,utils.array_tostring
local append,concat = table.insert,table.concat
local gsub = string.gsub
local io = io
local _G,print,type,tonumber,ipairs,setmetatable,pcall,error = _G,print,type,tonumber,ipairs,setmetatable,pcall,error
local data = {}
local parse_select
local function count(s,chr)
chr = utils.escape(chr)
local _,cnt = s:gsub(chr,' ')
return cnt
end
local function rstrip(s)
return (s:gsub('%s+$',''))
end
local function strip (s)
return (rstrip(s):gsub('^%s*',''))
end
-- this gives `l` the standard List metatable, so that if you
-- do choose to pull in pl.List, you can use its methods on such lists.
local function make_list(l)
return setmetatable(l,utils.stdmt.List)
end
local function map(fun,t)
local res = {}
for i = 1,#t do
res[i] = fun(t[i])
end
return res
end
local function split(line,delim,csv,n)
local massage
-- CSV fields may be double-quoted and may contain commas!
if csv and line:match '"' then
line = line:gsub('"([^"]+)"',function(str)
local s,cnt = str:gsub(',','\001')
if cnt > 0 then massage = true end
return s
end)
if massage then
massage = function(s) return (s:gsub('\001',',')) end
end
end
local res = (usplit(line,delim,false,n))
if csv then
-- restore CSV commas-in-fields
if massage then res = map(massage,res) end
-- in CSV mode trailiing commas are significant!
if line:match ',$' then append(res,'') end
end
return make_list(res)
end
local function find(t,v)
for i = 1,#t do
if v == t[i] then return i end
end
end
local DataMT = {
column_by_name = function(self,name)
if type(name) == 'number' then
name = '$'..name
end
local arr = {}
for res in data.query(self,name) do
append(arr,res)
end
return make_list(arr)
end,
copy_select = function(self,condn)
condn = parse_select(condn,self)
local iter = data.query(self,condn)
local res = {}
local row = make_list{iter()}
while #row > 0 do
append(res,row)
row = make_list{iter()}
end
res.delim = self.delim
return data.new(res,split(condn.fields,','))
end,
column_names = function(self)
return self.fieldnames
end,
}
local array2d
DataMT.__index = function(self,name)
local f = DataMT[name]
if f then return f end
if not array2d then
array2d = require 'pl.array2d'
end
return array2d[name]
end
--- return a particular column as a list of values (method).
-- @param name either name of column, or numerical index.
-- @function Data.column_by_name
--- return a query iterator on this data (method).
-- @param condn the query expression
-- @function Data.select
-- @see data.query
--- return a row iterator on this data (method).
-- @param condn the query expression
-- @function Data.select_row
--- return a new data object based on this query (method).
-- @param condn the query expression
-- @function Data.copy_select
--- return the field names of this data object (method).
-- @function Data.column_names
--- write out a row (method).
-- @param f file-like object
-- @function Data.write_row
--- write data out to file (method).
-- @param f file-like object
-- @function Data.write
-- [guessing delimiter] We check for comma, tab and spaces in that order.
-- [issue] any other delimiters to be checked?
local delims = {',','\t',' ',';'}
local function guess_delim (line)
if line=='' then return ' ' end
for _,delim in ipairs(delims) do
if count(line,delim) > 0 then
return delim == ' ' and '%s+' or delim
end
end
return ' '
end
-- [file parameter] If it's a string, we try open as a filename. If nil, then
-- either stdin or stdout depending on the mode. Otherwise, check if this is
-- a file-like object (implements read or write depending)
local function open_file (f,mode)
local opened, err
local reading = mode == 'r'
if type(f) == 'string' then
if f == 'stdin' then
f = io.stdin
elseif f == 'stdout' then
f = io.stdout
else
f,err = io.open(f,mode)
if not f then return nil,err end
opened = true
end
end
if f and ((reading and not f.read) or (not reading and not f.write)) then
return nil, "not a file-like object"
end
return f,nil,opened
end
local function all_n ()
end
--- read a delimited file in a Lua table.
-- By default, attempts to treat first line as separated list of fieldnames.
-- @param file a filename or a file-like object (default stdin)
-- @param cnfg options table: can override `delim` (a string pattern), `fieldnames` (a list),
-- specify `no_convert` (default is to conversion), `numfields` (indices of columns known
-- to be numbers) and `thousands_dot` (thousands separator in Excel CSV is '.').
-- If `csv` is set then fields may be double-quoted and contain commas;
-- @return `data` object, or `nil`
-- @return error message. May be a file error, 'not a file-like object'
-- or a conversion error
function data.read(file,cnfg)
local err,opened,count,line,csv
local D = {}
if not cnfg then cnfg = {} end
local f,err,opened = open_file(file,'r')
if not f then return nil, err end
local thousands_dot = cnfg.thousands_dot
-- note that using dot as the thousands separator (@thousands_dot)
-- requires a special conversion function!
local tonumber = tonumber
local function try_number(x)
if thousands_dot then x = x:gsub('%.(...)','%1') end
local v = tonumber(x)
if v == nil then return nil,"not a number" end
return v
end
csv = cnfg.csv
if csv then cnfg.delim = ',' end
count = 1
line = f:read()
if not line then return nil, "empty file" end
-- first question: what is the delimiter?
D.delim = cnfg.delim and cnfg.delim or guess_delim(line)
local delim = D.delim
local conversion
local numfields = {}
local function append_conversion (idx,conv)
conversion = conversion or {}
append(numfields,idx)
append(conversion,conv)
end
if cnfg.numfields then
for _,n in ipairs(cnfg.numfields) do append_conversion(n,try_number) end
end
-- some space-delimited data starts with a space. This should not be a column,
-- although it certainly would be for comma-separated, etc.
local stripper
if delim == '%s+' and line:find(delim) == 1 then
stripper = function(s) return s:gsub('^%s+','') end
line = stripper(line)
end
-- first line will usually be field names. Unless fieldnames are specified,
-- we check if it contains purely numerical values for the case of reading
-- plain data files.
if not cnfg.fieldnames then
local fields,nums
fields = split(line,delim,csv)
if not cnfg.convert then
nums = map(tonumber,fields)
if #nums == #fields then -- they're ALL numbers!
append(D,nums) -- add the first converted row
-- and specify conversions for subsequent rows
for i = 1,#nums do append_conversion(i,try_number) end
else -- we'll try to check numbers just now..
nums = nil
end
else -- [explicit column conversions] (any deduced number conversions will be added)
for idx,conv in pairs(cnfg.convert) do append_conversion(idx,conv) end
end
if nums == nil then
cnfg.fieldnames = fields
end
line = f:read()
count = count + 1
if stripper then line = stripper(line) end
elseif type(cnfg.fieldnames) == 'string' then
cnfg.fieldnames = split(cnfg.fieldnames,delim,csv)
end
local nfields
-- at this point, the column headers have been read in. If the first
-- row consisted of numbers, it has already been added to the dataset.
if cnfg.fieldnames then
D.fieldnames = cnfg.fieldnames
-- [collecting end field] If @last_field_collect then we'll
-- only split as many fields as there are fieldnames
if cnfg.last_field_collect then
nfields = #D.fieldnames
end
-- [implicit column conversion] unless @no_convert, we need the numerical field indices
-- of the first data row. These can also be specified explicitly by @numfields.
if not cnfg.no_convert then
local fields = split(line,D.delim,csv,nfields)
for i = 1,#fields do
if not find(numfields,i) and tonumber(fields[i]) then
append_conversion(i,try_number)
end
end
end
end
-- keep going until finished
while line do
if not line:find ('^%s*$') then -- [blank lines] ignore them!
if stripper then line = stripper(line) end
local fields = split(line,delim,csv,nfields)
if conversion then -- there were field conversions...
for k = 1,#numfields do
local i,conv = numfields[k],conversion[k]
local val,err = conv(fields[i])
if val == nil then
return nil, err..": "..fields[i].." at line "..count
else
fields[i] = val
end
end
end
append(D,fields)
end
line = f:read()
count = count + 1
end
if opened then f:close() end
if delim == '%s+' then D.delim = ' ' end
if not D.fieldnames then D.fieldnames = {} end
return data.new(D)
end
local function write_row (data,f,row,delim)
data.temp = array_tostring(row,data.temp)
f:write(concat(data.temp,delim),'\n')
end
function DataMT:write_row(f,row)
write_row(self,f,row,self.delim)
end
--- write 2D data to a file.
-- Does not assume that the data has actually been
-- generated with `new` or `read`.
-- @param data 2D array
-- @param file filename or file-like object
-- @param fieldnames list of fields (optional)
-- @param delim delimiter (default tab)
function data.write (data,file,fieldnames,delim)
local f,err,opened = open_file(file,'w')
if not f then return nil, err end
if fieldnames and #fieldnames > 0 then
f:write(concat(data.fieldnames,delim),'\n')
end
delim = delim or '\t'
for i = 1,#data do
write_row(data,f,data[i],delim)
end
if opened then f:close() end
end
function DataMT:write(file)
data.write(self,file,self.fieldnames,self.delim)
end
local function massage_fieldnames (fields,copy)
-- fieldnames must be valid Lua identifiers; ignore any surrounding padding
-- but keep the original fieldnames...
for i = 1,#fields do
local f = strip(fields[i])
copy[i] = f
fields[i] = f:gsub('%W','_')
end
end
--- create a new dataset from a table of rows.
-- Can specify the fieldnames, else the table must have a field called
-- 'fieldnames', which is either a string of delimiter-separated names,
-- or a table of names. <br>
-- If the table does not have a field called 'delim', then an attempt will be
-- made to guess it from the fieldnames string, defaults otherwise to tab.
-- @param d the table.
-- @param fieldnames optional fieldnames
-- @return the table.
function data.new (d,fieldnames)
d.fieldnames = d.fieldnames or fieldnames or ''
if not d.delim and type(d.fieldnames) == 'string' then
d.delim = guess_delim(d.fieldnames)
d.fieldnames = split(d.fieldnames,d.delim)
end
d.fieldnames = make_list(d.fieldnames)
d.original_fieldnames = {}
massage_fieldnames(d.fieldnames,d.original_fieldnames)
setmetatable(d,DataMT)
-- a query with just the fieldname will return a sequence
-- of values, which seq.copy turns into a table.
return d
end
local sorted_query = [[
return function (t)
local i = 0
local v
local ls = {}
for i,v in ipairs(t) do
if CONDITION then
ls[#ls+1] = v
end
end
table.sort(ls,function(v1,v2)
return SORT_EXPR
end)
local n = #ls
return function()
i = i + 1
v = ls[i]
if i > n then return end
return FIELDLIST
end
end
]]
-- question: is this optimized case actually worth the extra code?
local simple_query = [[
return function (t)
local n = #t
local i = 0
local v
return function()
repeat
i = i + 1
v = t[i]
until i > n or CONDITION
if i > n then return end
return FIELDLIST
end
end
]]
local function is_string (s)
return type(s) == 'string'
end
local field_error
local function fieldnames_as_string (data)
return concat(data.fieldnames,',')
end
local function massage_fields(data,f)
local idx
if f:find '^%d+$' then
idx = tonumber(f)
else
idx = find(data.fieldnames,f)
end
if idx then
return 'v['..idx..']'
else
field_error = f..' not found in '..fieldnames_as_string(data)
return f
end
end
local function process_select (data,parms)
--- preparing fields ----
local res,ret
field_error = nil
local fields = parms.fields
local numfields = fields:find '%$' or #data.fieldnames == 0
if fields:find '^%s*%*%s*' then
if not numfields then
fields = fieldnames_as_string(data)
else
local ncol = #data[1]
fields = {}
for i = 1,ncol do append(fields,'$'..i) end
fields = concat(fields,',')
end
end
local idpat = patterns.IDEN
if numfields then
idpat = '%$(%d+)'
else
-- massage field names to replace non-identifier chars
fields = rstrip(fields):gsub('[^,%w]','_')
end
local massage_fields = utils.bind1(massage_fields,data)
ret = gsub(fields,idpat,massage_fields)
if field_error then return nil,field_error end
parms.fields = fields
parms.proc_fields = ret
parms.where = parms.where or 'true'
if is_string(parms.where) then
parms.where = gsub(parms.where,idpat,massage_fields)
field_error = nil
end
return true
end
parse_select = function(s,data)
local endp
local parms = {}
local w1,w2 = s:find('where ')
local s1,s2 = s:find('sort by ')
if w1 then -- where clause!
endp = (s1 or 0)-1
parms.where = s:sub(w2+1,endp)
end
if s1 then -- sort by clause (must be last!)
parms.sort_by = s:sub(s2+1)
end
endp = (w1 or s1 or 0)-1
parms.fields = s:sub(1,endp)
local status,err = process_select(data,parms)
if not status then return nil,err
else return parms end
end
--- create a query iterator from a select string.
-- Select string has this format: <br>
-- FIELDLIST [ where LUA-CONDN [ sort by FIELD] ]<br>
-- FIELDLIST is a comma-separated list of valid fields, or '*'. <br> <br>
-- The condition can also be a table, with fields 'fields' (comma-sep string or
-- table), 'sort_by' (string) and 'where' (Lua expression string or function)
-- @param data table produced by read
-- @param condn select string or table
-- @param context a list of tables to be searched when resolving functions
-- @param return_row if true, wrap the results in a row table
-- @return an iterator over the specified fields, or nil
-- @return an error message
function data.query(data,condn,context,return_row)
local err
if is_string(condn) then
condn,err = parse_select(condn,data)
if not condn then return nil,err end
elseif type(condn) == 'table' then
if type(condn.fields) == 'table' then
condn.fields = concat(condn.fields,',')
end
if not condn.proc_fields then
local status,err = process_select(data,condn)
if not status then return nil,err end
end
else
return nil, "condition must be a string or a table"
end
local query, k
if condn.sort_by then -- use sorted_query
query = sorted_query
else
query = simple_query
end
local fields = condn.proc_fields or condn.fields
if return_row then
fields = '{'..fields..'}'
end
query,k = query:gsub('FIELDLIST',fields)
if is_string(condn.where) then
query = query:gsub('CONDITION',condn.where)
condn.where = nil
else
query = query:gsub('CONDITION','_condn(v)')
condn.where = function_arg(0,condn.where,'condition.where must be callable')
end
if condn.sort_by then
local expr,sort_var,sort_dir
local sort_by = condn.sort_by
local i1,i2 = sort_by:find('%s+')
if i1 then
sort_var,sort_dir = sort_by:sub(1,i1-1),sort_by:sub(i2+1)
else
sort_var = sort_by
sort_dir = 'asc'
end
if sort_var:match '^%$' then sort_var = sort_var:sub(2) end
sort_var = massage_fields(data,sort_var)
if field_error then return nil,field_error end
if sort_dir == 'asc' then
sort_dir = '<'
else
sort_dir = '>'
end
expr = ('%s %s %s'):format(sort_var:gsub('v','v1'),sort_dir,sort_var:gsub('v','v2'))
query = query:gsub('SORT_EXPR',expr)
end
if condn.where then
query = 'return function(_condn) '..query..' end'
end
if _DEBUG then print(query) end
local fn,err = utils.load(query,'tmp')
if not fn then return nil,err end
fn = fn() -- get the function
if condn.where then
fn = fn(condn.where)
end
local qfun = fn(data)
if context then
-- [specifying context for condition] @context is a list of tables which are
-- 'injected'into the condition's custom context
append(context,_G)
local lookup = {}
utils.setfenv(qfun,lookup)
setmetatable(lookup,{
__index = function(tbl,key)
-- _G.print(tbl,key)
for k,t in ipairs(context) do
if t[key] then return t[key] end
end
end
})
end
return qfun
end
DataMT.select = data.query
DataMT.select_row = function(d,condn,context)
return data.query(d,condn,context,true)
end
--- Filter input using a query.
-- @param Q a query string
-- @param infile filename or file-like object
-- @param outfile filename or file-like object
-- @param dont_fail true if you want to return an error, not just fail
function data.filter (Q,infile,outfile,dont_fail)
local err
local d = data.read(infile or 'stdin')
local out = open_file(outfile or 'stdout')
local iter,err = d:select(Q)
local delim = d.delim
if not iter then
err = 'error: '..err
if dont_fail then
return nil,err
else
utils.quit(1,err)
end
end
while true do
local res = {iter()}
if #res == 0 then break end
out:write(concat(res,delim),'\n')
end
end
return data
| mit |
eraffxi/darkstar | scripts/zones/The_Ashu_Talif/instances/the_black_coffin.lua | 2 | 2086 | -----------------------------------
--
-- TOAU-15: The Black Coffin
--
-----------------------------------
require("scripts/globals/instance")
require("scripts/globals/keyitems");
local TheAshuTalif = require("scripts/zones/The_Ashu_Talif/IDs");
-----------------------------------
function afterInstanceRegister(player)
local instance = player:getInstance();
player:messageSpecial(TheAshuTalif.text.FADES_INTO_NOTHINGNESS, dsp.ki.EPHRAMADIAN_GOLD_COIN);
player:delKeyItem(dsp.ki.EPHRAMADIAN_GOLD_COIN);
player:messageSpecial(TheAshuTalif.text.TIME_TO_COMPLETE, instance:getTimeLimit());
end;
function onInstanceCreated(instance)
SpawnMob(TheAshuTalif.mobs.GESSHO, instance);
for i,v in pairs(TheAshuTalif.mobs[1]) do
SpawnMob(v, instance);
end
end;
function onInstanceTimeUpdate(instance, elapsed)
updateInstanceTime(instance, elapsed, TheAshuTalif.text)
end;
function onInstanceFailure(instance)
local chars = instance:getChars();
for i,v in pairs(chars) do
v:messageSpecial(TheAshuTalif.text.MISSION_FAILED,10,10);
v:startEvent(102);
end
end;
function onInstanceProgressUpdate(instance, progress)
if (progress == 5) then
for i,v in pairs(TheAshuTalif.mobs[2]) do
SpawnMob(v, instance);
end
elseif (progress >= 10 and instance:completed() == false) then
local v = GetMobByID(TheAshuTalif.mobs.GESSHO, instance);
if(v:isAlive()) then
v:setLocalVar("ready",2);
end
local chars = instance:getChars();
for i,v in pairs(chars) do
v:startEvent(102);
end
instance:complete();
end
end;
function onInstanceComplete(instance)
local chars = instance:getChars();
for i,v in pairs(chars) do
if (v:getCurrentMission(TOAU) == THE_BLACK_COFFIN and v:getVar("AhtUrganStatus") == 1) then
v:setVar("AhtUrganStatus", 2);
v:startEvent(101);
end
end
end;
function onEventUpdate(player,csid,option)
end
function onEventFinish(player,csid,option)
end | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/static/structure/naboo/elevated_walkway_s01.lua | 3 | 2260 | --Copyright (C) 2010 <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
object_static_structure_naboo_elevated_walkway_s01 = object_static_structure_naboo_shared_elevated_walkway_s01:new {
}
ObjectTemplates:addTemplate(object_static_structure_naboo_elevated_walkway_s01, "object/static/structure/naboo/elevated_walkway_s01.iff")
| lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/building/player/city/hospital_tatooine.lua | 2 | 4325 | --Copyright (C) 2010 <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
object_building_player_city_hospital_tatooine = object_building_player_city_shared_hospital_tatooine:new {
skillMods = {
{"private_medical_rating", 100}
},
lotSize = 3,
baseMaintenanceRate = 50,
allowedZones = {"dantooine", "lok", "tatooine"},
length = 5,
width = 5,
planetMapCategory = "medicalcenter",
cityRankRequired = 3,
abilityRequired = "place_hospital",
zoneComponent = "StructureZoneComponent",
childObjects = {
{templateFile = "object/tangible/sign/player/house_address_tatooine.iff", x = 9.4, z = 2, y = 10.32, ox = 0, oy = 0.707107, oz = 0, ow = -0.707107, cellid = -1, containmentType = -1},
{templateFile = "object/tangible/terminal/terminal_player_structure.iff", x = 7.48, z = 0.188325, y = 1.5, ox = 0, oy = 0.707107, oz = 0, ow = -0.707107, cellid = 3, containmentType = -1}
},
shopSigns = {
{templateFile = "object/tangible/sign/player/house_address_tatooine.iff", x = 9.4, z = 2, y = 10.32, ox = 0, oy = 0.707107, oz = 0, ow = -0.707107, cellid = -1, containmentType = -1, requiredSkill = "", suiItem = "@player_structure:house_address"},
{templateFile = "object/tangible/sign/player/shop_sign_s01.iff", x = 11.00, z = 1.0, y = 10.50, ox = 0, oy = 0.707107, oz = 0, ow = 0.707107, cellid = -1, containmentType = -1, requiredSkill = "crafting_merchant_management_01", suiItem = "@player_structure:shop_sign1"},
{templateFile = "object/tangible/sign/player/shop_sign_s02.iff", x = 11.00, z = 1.0, y = 10.50, ox = 0, oy = 0.707107, oz = 0, ow = 0.707107, cellid = -1, containmentType = -1, requiredSkill = "crafting_merchant_management_02", suiItem = "@player_structure:shop_sign2"},
{templateFile = "object/tangible/sign/player/shop_sign_s03.iff", x = 11.00, z = 1.0, y = 10.50, ox = 0, oy = 0.707107, oz = 0, ow = 0.707107, cellid = -1, containmentType = -1, requiredSkill = "crafting_merchant_management_03", suiItem = "@player_structure:shop_sign3"},
{templateFile = "object/tangible/sign/player/shop_sign_s04.iff", x = 11.00, z = 1.0, y = 10.50, ox = 0, oy = 0.707107, oz = 0, ow = 0.707107, cellid = -1, containmentType = -1, requiredSkill = "crafting_merchant_management_04", suiItem = "@player_structure:shop_sign4"},
},
}
ObjectTemplates:addTemplate(object_building_player_city_hospital_tatooine, "object/building/player/city/hospital_tatooine.iff")
| lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/emperor_royal_guard.lua | 3 | 2192 | --Copyright (C) 2010 <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
object_mobile_emperor_royal_guard = object_mobile_shared_emperor_royal_guard:new {
}
ObjectTemplates:addTemplate(object_mobile_emperor_royal_guard, "object/mobile/emperor_royal_guard.iff")
| lgpl-3.0 |
eraffxi/darkstar | scripts/globals/spells/huton_san.lua | 2 | 1461 | -----------------------------------------
-- Spell: Huton: San
-- Deals wind damage to an enemy and lowers its resistance against ice.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)
return 0;
end;
function onSpellCast(caster,target,spell)
--doNinjutsuNuke(V,M,caster,spell,target,hasMultipleTargetReduction,resistBonus)
local duration = 15 + caster:getMerit(dsp.merit.HUTON_EFFECT) -- T1 bonus debuff duration
local bonusAcc = 0;
local bonusMab = caster:getMerit(dsp.merit.HUTON_EFFECT); -- T1 mag atk
if(caster:getMerit(dsp.merit.HUTON_SAN) ~= 0) then -- T2 mag atk/mag acc, don't want to give a penalty to entities that can cast this without merits
bonusMab = bonusMab + caster:getMerit(dsp.merit.HUTON_SAN) - 5; -- merit gives 5 power but no bonus with one invest, thus subtract 5
bonusAcc = bonusAcc + caster:getMerit(dsp.merit.HUTON_SAN) - 5;
end
local params = {};
params.dmg = 134;
params.multiplier = 1.5;
params.hasMultipleTargetReduction = false;
params.resistBonus = bonusAcc;
params.mabBonus = bonusMab;
dmg = doNinjutsuNuke(caster, target, spell, params);
handleNinjutsuDebuff(caster,target,spell,30,duration,dsp.mod.ICERES);
return dmg;
end; | gpl-3.0 |
eraffxi/darkstar | scripts/globals/items/galkan_sausage_+1.lua | 2 | 1042 | -----------------------------------------
-- ID: 5859
-- Item: galkan_sausage_+1
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Strength 4
-- Intelligence -5
-- Attack 10
-- Ranged Attack 10
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
function onItemCheck(target)
local result = 0;
if (target:hasStatusEffect(dsp.effect.FOOD) == true or target:hasStatusEffect(dsp.effect.FIELD_SUPPORT_FOOD) == true) then
result = 246;
end
return result;
end;
function onItemUse(target)
target:addStatusEffect(dsp.effect.FOOD,0,0,1800,5859);
end;
function onEffectGain(target, effect)
target:addMod(dsp.mod.STR, 4);
target:addMod(dsp.mod.INT, -5);
target:addMod(dsp.mod.ATT, 10);
target:addMod(dsp.mod.RATT, 10);
end;
function onEffectLose(target, effect)
target:delMod(dsp.mod.STR, 4);
target:delMod(dsp.mod.INT, -5);
target:delMod(dsp.mod.ATT, 10);
target:delMod(dsp.mod.RATT, 10);
end;
| gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/component/vehicle/base/base_veh_hull_hvy.lua | 3 | 2284 | --Copyright (C) 2010 <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
object_tangible_component_vehicle_base_base_veh_hull_hvy = object_tangible_component_vehicle_base_shared_base_veh_hull_hvy:new {
}
ObjectTemplates:addTemplate(object_tangible_component_vehicle_base_base_veh_hull_hvy, "object/tangible/component/vehicle/base/base_veh_hull_hvy.iff")
| lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/component/weapon/weapon_mount_light.lua | 3 | 2264 | --Copyright (C) 2010 <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
object_tangible_component_weapon_weapon_mount_light = object_tangible_component_weapon_shared_weapon_mount_light:new {
}
ObjectTemplates:addTemplate(object_tangible_component_weapon_weapon_mount_light, "object/tangible/component/weapon/weapon_mount_light.iff")
| lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/medicine/medpack_cure_disease.lua | 1 | 2394 | --Copyright (C) 2010 <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
object_tangible_medicine_medpack_cure_disease = object_tangible_medicine_shared_medpack_cure_disease:new {
gameObjectType = 8239,
templateType = CUREPACK,
medicineUse = 5,
effectiveness = 100,
state = DISEASED,
commandToExecute = "/curedisease",
area = 0
}
ObjectTemplates:addTemplate(object_tangible_medicine_medpack_cure_disease, "object/tangible/medicine/medpack_cure_disease.iff")
| lgpl-3.0 |
eraffxi/darkstar | scripts/zones/Jugner_Forest/npcs/Takamoto_IM.lua | 2 | 2924 | -----------------------------------
-- Area: Jugner Forest
-- NPC: Takamoto, I.M.
-- Outpost Conquest Guards
-- !pos 60.087 -0.602 -11.847 104
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
require("scripts/zones/Jugner_Forest/TextIDs");
local guardnation = dsp.nation.BASTOK; -- SANDORIA, BASTOK, WINDURST, 4 = jeuno
local guardtype = 3; -- 1: city, 2: foreign, 3: outpost, 4: border
local region = dsp.region.NORVALLEN;
local csid = 0x7ff9;
function onTrade(player,npc,trade)
tradeConquestGuard(player,npc,trade,guardnation,guardtype);
end;
function onTrigger(player,npc)
if (player:hasKeyItem(getSupplyKey(region)) and player:getNation() == guardnation) then
if (supplyRunFresh(player) == 1) then
player:startEvent(csid,16,0,0,0,1,0,0,255); -- you have brought us supplies !
else
player:showText(npc, CONQUEST - 1); -- "Hmm... These supplies you have brought us are too old to be of any use."
player:delKeyItem(getSupplyKey(region));
player:messageSpecial(KEYITEM_OBTAINED + 1, getSupplyKey(region));
player:setVar("supplyQuest_region",0);
end
else
local arg1 = getArg1(guardnation, player) - 1;
if (arg1 >= 1792) then -- foreign, non-allied
player:startEvent(csid,1808,0,0,0,0,player:getRank(),0,0);
else -- citizen or allied
player:startEvent(csid,arg1,0,0x3F0000,0,0,getArg6(player),0,0);
end
end
end;
function onEventUpdate(player,csid,option)
-- printf("OPTION: %u",option);
end;
function onEventFinish(player,csid,option)
-- printf("OPTION: %u",option);
if (option == 1) then
local duration = (player:getRank() + getNationRank(player:getNation()) + 3) * 3600;
player:delStatusEffect(dsp.effect.SIGIL);
player:delStatusEffect(dsp.effect.SANCTION);
player:delStatusEffect(dsp.effect.SIGNET);
player:addStatusEffect(dsp.effect.SIGNET,0,0,duration); -- Grant Signet
elseif (option == 2) then
player:delKeyItem(getSupplyKey(region));
player:addCP(supplyReward[region + 1])
player:messageSpecial(CONQUEST); -- "You've earned conquest points!"
if (hasOutpost(player, region+5) == 0) then
local supply_quests = 2^(region+5);
player:addNationTeleport(guardnation,supply_quests);
player:setVar("supplyQuest_region",0);
end
elseif (option == 4) then
if (player:delGil(giltosetHP(guardnation,player))) then
player:setHomePoint();
player:messageSpecial(CONQUEST + 94); -- "Your home point has been set."
else
player:messageSpecial(CONQUEST + 95); -- "You do not have enough gil to set your home point here."
end
end
end; | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/ship/z95_tier3.lua | 3 | 2144 | --Copyright (C) 2010 <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
object_ship_z95_tier3 = object_ship_shared_z95_tier3:new {
}
ObjectTemplates:addTemplate(object_ship_z95_tier3, "object/ship/z95_tier3.iff")
| lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/static/structure/corellia/corl_imprv_bridge_insert_s02.lua | 3 | 2304 | --Copyright (C) 2010 <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
object_static_structure_corellia_corl_imprv_bridge_insert_s02 = object_static_structure_corellia_shared_corl_imprv_bridge_insert_s02:new {
}
ObjectTemplates:addTemplate(object_static_structure_corellia_corl_imprv_bridge_insert_s02, "object/static/structure/corellia/corl_imprv_bridge_insert_s02.iff")
| lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/building/faction_perk/hq/hq_s02_imp_pvp.lua | 2 | 10244 | --Copyright (C) 2010 <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
object_building_faction_perk_hq_hq_s02_imp_pvp = object_building_faction_perk_hq_shared_hq_s02_imp_pvp:new {
lotSize = 0,
containerComponent = "GCWBaseContainerComponent",
zoneComponent = "StructureZoneComponent",
maintenanceCost = 0,
baseMaintenanceRate = 0,
faction = "imperial",
pvpFaction = "imperial",
pvpStatusBitmask = OVERT,
dataObjectComponent = "DestructibleBuildingDataComponent",
allowedZones = {"dantooine", "naboo", "rori","tatooine", "corellia", "lok", "talus"},
constructionMarker = "object/building/player/construction/construction_player_house_generic_medium_style_01.iff",
length = 7,
width = 6,
planetMapCategory = "imperial_hq",
alwaysPublic = 1,
factionBaseType = 1,
skillMods = {
{"private_medical_rating", 100},
{"private_med_wound_health", 100},
{"private_med_wound_action", 100},
},
childObjects = {
{templateFile = "object/static/structure/military/military_wall_med_imperial_style_01.iff", x=7, z=0, y=23.7, ox=0, oy=.37824, oz=0, ow=.9257, cellid=-1, containmentType=-1}, -- Front right
{templateFile = "object/static/structure/military/military_wall_med_imperial_style_01.iff", x=-7, z=0, y=23.7, ox=0, oy=-.37824, oz=0, ow=.9257, cellid=-1, containmentType=-1},
-- wall 2
{templateFile = "object/static/structure/military/military_wall_med_imperial_style_01.iff", x=-10, z=0, y=17, ox=0, oy=-.7, oz=0, ow=.7, cellid=-1, containmentType=-1}, -- left wall 2
{templateFile = "object/static/structure/military/military_wall_med_imperial_style_01.iff", x=10, z=0, y=17, ox=0, oy=-.7, oz=0, ow=.7, cellid=-1, containmentType=-1},
-- wall 3
{templateFile = "object/static/structure/military/military_wall_med_imperial_style_01.iff", x=-14, z=0, y=13, ox=0, oy=-0, oz=0, ow=1, cellid=-1, containmentType=-1}, -- left wall 3
{templateFile = "object/static/structure/military/military_wall_med_imperial_style_01.iff", x=14, z=0, y=13, ox=0, oy=-0, oz=0, ow=1, cellid=-1, containmentType=-1}, -- right wall 3
-- wall 4
{templateFile = "object/static/structure/military/military_wall_med_imperial_style_01.iff", x=-18, z=0, y=9, ox=0, oy=-.7, oz=0, ow=.7, cellid=-1, containmentType=-1}, -- left wall 2
{templateFile = "object/static/structure/military/military_wall_med_imperial_style_01.iff", x=18, z=0, y=9, ox=0, oy=-.7, oz=0, ow=.7, cellid=-1, containmentType=-1},
--wall 5
{templateFile = "object/static/structure/military/military_wall_med_imperial_style_01.iff", x=-18, z=0, y=1, ox=0, oy=-.7, oz=0, ow=.7, cellid=-1, containmentType=-1}, -- left wall 2
{templateFile = "object/static/structure/military/military_wall_med_imperial_style_01.iff", x=18, z=0, y=1, ox=0, oy=-.7, oz=0, ow=.7, cellid=-1, containmentType=-1},
-- wall 6
{templateFile = "object/static/structure/military/military_wall_med_imperial_style_01.iff", x=-18, z=0, y=-7, ox=0, oy=-.7, oz=0, ow=.7, cellid=-1, containmentType=-1}, -- left wall 2
{templateFile = "object/static/structure/military/military_wall_med_imperial_style_01.iff", x=18, z=0, y=-7, ox=0, oy=-.7, oz=0, ow=.7, cellid=-1, containmentType=-1},
-- wall 7 45degree
{templateFile = "object/static/structure/military/military_wall_med_imperial_style_01.iff", x=-15.2, z=0, y=-13.8, ox=0, oy=.4, oz=0, ow=.9, cellid=-1, containmentType=-1}, -- left wall 4
{templateFile = "object/static/structure/military/military_wall_med_imperial_style_01.iff", x=15.2, z=0, y=-13.8, oy=-.4, oz=0, ow=.9, cellid=-1, containmentType=-1},
-- back walls
{templateFile = "object/static/structure/military/military_wall_med_imperial_style_01.iff", x=-8.4, z=0, y=-16.6, ox=0, oy=-0, oz=0, ow=1, cellid=-1, containmentType=-1},
{templateFile = "object/static/structure/military/military_wall_med_imperial_style_01.iff", x=-0, z=0, y=-16.6, ox=0, oy=-0, oz=0, ow=1, cellid=-1, containmentType=-1},
{templateFile = "object/static/structure/military/military_wall_med_imperial_style_01.iff", x=8.4, z=0, y=-16.6, ox=0, oy=-0, oz=0, ow=1, cellid=-1, containmentType=-1},
-- turret
{templateFile = "object/installation/faction_perk/turret/tower_lg.iff", x=-14.5, z=0, y=16, ox=0, oy=-0, oz=0, ow=1, cellid=-1, containmentType=-1}, -- left turret front
{templateFile = "object/installation/faction_perk/turret/tower_lg.iff", x=14.5, z=0, y=16, ox=0, oy=0, oz=0, ow=1, cellid=-1, containmentType=-1},
{templateFile = "object/installation/faction_perk/minefield/field_1x1.iff", x=0, z=0, y=20, ox=0, oy=.7, oz=0, ow=.7, cellid=-1, containmentType=-1},
{templateFile = "object/tangible/terminal/terminal_hq_turret_control.iff", x=-4.75, z=.25, y=1, ow=.7, ox=0, oz=0, oy=.7, cellid=2, containmentType=-1},
{templateFile = "object/tangible/terminal/terminal_hq_turret_control.iff", x=-4.75, z=.25, y=-.5, ow=.7, ox=0, oz=0, oy=.7, cellid=2, containmentType=-1},
{templateFile="object/tangible/terminal/terminal_mission_imperial.iff", x=5, z=.25, y=-3, ow=-.7, ox=0, oz=0, oy=.7, cellid=3, containmentType=-1},
{templateFile="object/tangible/terminal/terminal_mission.iff", x=5, z=.25, y=-4.75, ow=-.7, ox=0, oz=0, oy=.7, cellid=3, containmentType=-1},
{templateFile="object/tangible/terminal/terminal_bank.iff", x=-9, z=-6.66, y=-7, ow=.7, ox=0, oz=0, oy=.7, cellid=5, containmentType=-1},
{templateFile = "object/tangible/terminal/terminal_hq_imperial.iff", x = .38, z = .25, y = 1.75, ox = 0, oy = 0, oz = 0, ow = 1, cellid = 2, containmentType = -1 },
{templateFile = "object/tangible/hq_destructible/uplink_terminal.iff", x =.375, z = -6.75, y =-8, ow = 1, ox =0, oz = 0, oy = .7, cellid = 5, containmentType = -1},
{templateFile = "object/tangible/hq_destructible/security_terminal.iff", x =8, z =-6.75, y =-17.75, ox = 0, oy = 0, oz = 0, ow =1, cellid = 6, containmentType = -1 },
{templateFile = "object/tangible/hq_destructible/override_terminal.iff", x =2.75, z =-6.75, y=.25, ox = 0, oy=1, oz =0, ow =0, cellid = 7, containmentType = -1 },
{templateFile = "object/tangible/hq_destructible/power_regulator.iff", x =-6.5, z =-13.75, y =-17, ox = 0, oy =0, oz = 0, ow =1, cellid =9, containmentType = -1 },
},
childCreatureObjects = {
{ mobile="imperial_trooper", x=2.6, z=0, y=-4.1, cellid=3, respawn=300, containmentType=-1, heading=0},
{ mobile="dark_trooper", x=-6.7, z=-6.75, y=-0.8, cellid=5, respawn=300, containmentType=-1, heading=0},
{ mobile="dark_trooper", x=-0.1, z=-6.75, y=-6.3, cellid=5, respawn=300, containmentType=-1, heading=0},
{ mobile="stormtrooper_medic", x=9.3, z=-6.75, y=-15.0, cellid=6, respawn=300, containmentType=-1, heading=0},
{ mobile="stormtrooper", x=2.5, z=-6.75, y=-16.5, cellid=6, respawn=300, containmentType=-1, heading=0},
{ mobile="stormtrooper", x=7.9, z=-6.75, y=-16.9, cellid=6, respawn=300, containmentType=-1, heading=0},
{ mobile="dark_trooper", x=8, z=-6.75, y=-6, cellid=7, respawn=300, containmentType=-1, heading=0},
{ mobile="dark_trooper", x=3.6, z=-6.75, y=-8.8, cellid=7, respawn=300, containmentType=-1, heading=0},
{ mobile="dark_trooper", x=3.6, z=-6.75, y=-.25, cellid=7, respawn=300, containmentType=-1, heading=0},
{ mobile="stormtrooper", x=-5.5, z=-13.75, y=-3, cellid=9, respawn=300, containmentType=-1, heading=0},
{ mobile="dark_trooper", x=.5, z=-13.75, y=-3, cellid=9, respawn=300, containmentType=-1, heading=0},
{ mobile="stormtrooper_medic", x=.5, z=-13.75, y=-6.6, cellid=9, respawn=300, containmentType=-1, heading=0},
{ mobile="stormtrooper_medic", x=-5.5, z=-13.75, y=-6.6, cellid=9, respawn=300, containmentType=-1, heading=0},
{ mobile="imperial_medic", x=1.8, z=-13.75, y=-12.6, cellid=9, respawn=300, containmentType=-1, heading=0},
{ mobile="imperial_medic", x=-7.6, z=-13.75, y=-12.6, cellid=9, respawn=300, containmentType=-1, heading=0},
{ mobile="imperial_captain", x=-2.5, z=-13.75, y=-14.9, cellid=9, respawn=300, containmentType=-1, heading=0},
{ mobile="imperial_recruiter", x=0, z=-13.75, y=-17, cellid=9, containmentType=-1, respawn=60, heading=0},
},
}
ObjectTemplates:addTemplate(object_building_faction_perk_hq_hq_s02_imp_pvp, "object/building/faction_perk/hq/hq_s02_imp_pvp.iff")
| lgpl-3.0 |
eraffxi/darkstar | scripts/globals/items/walnut_cookie.lua | 2 | 1190 | -----------------------------------------
-- ID: 5922
-- Item: Walnut Cookie
-- Food Effect: 3 Min, All Races
-----------------------------------------
-- HP Healing 3
-- MP Healing 6
-- Bird Killer 10
-- Resist Paralyze 10
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
function onItemCheck(target)
local result = 0;
if (target:hasStatusEffect(dsp.effect.FOOD) == true or target:hasStatusEffect(dsp.effect.FIELD_SUPPORT_FOOD) == true) then
result = 246;
end
return result;
end;
function onItemUse(target)
target:addStatusEffect(dsp.effect.FOOD,0,0,180,5922);
end;
-----------------------------------------
-- onEffectGain Action
-----------------------------------------
function onEffectGain(target,effect)
target:addMod(dsp.mod.HPHEAL, 3);
target:addMod(dsp.mod.MPHEAL, 6);
target:addMod(dsp.mod.BIRD_KILLER, 10);
target:addMod(dsp.mod.PARALYZERES, 10);
end;
function onEffectLose(target, effect)
target:delMod(dsp.mod.HPHEAL, 3);
target:delMod(dsp.mod.MPHEAL, 6);
target:delMod(dsp.mod.BIRD_KILLER, 10);
target:delMod(dsp.mod.PARALYZERES, 10);
end;
| gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/creature/npc/droid/crafted/3po_droid.lua | 3 | 2232 | --Copyright (C) 2010 <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
object_creature_npc_droid_crafted_3po_droid = object_creature_npc_droid_crafted_shared_3po_droid:new {
}
ObjectTemplates:addTemplate(object_creature_npc_droid_crafted_3po_droid, "object/creature/npc/droid/crafted/3po_droid.iff")
| lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/static/structure/base/static_structure_base.lua | 3 | 2260 | --Copyright (C) 2010 <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
object_static_structure_base_static_structure_base = object_static_structure_base_shared_static_structure_base:new {
}
ObjectTemplates:addTemplate(object_static_structure_base_static_structure_base, "object/static/structure/base/static_structure_base.iff")
| lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/installation/turret/base/serverobjects.lua | 3 | 2104 | --Copyright (C) 2010 <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
--Children folder includes
-- Server Objects
includeFile("installation/turret/base/turret_base.lua")
| lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/loot/quest/hvy_disruptor_cannon_broken.lua | 3 | 2276 | --Copyright (C) 2010 <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
object_tangible_loot_quest_hvy_disruptor_cannon_broken = object_tangible_loot_quest_shared_hvy_disruptor_cannon_broken:new {
}
ObjectTemplates:addTemplate(object_tangible_loot_quest_hvy_disruptor_cannon_broken, "object/tangible/loot/quest/hvy_disruptor_cannon_broken.iff")
| lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/static/structure/general/skeleton_ancient_s01.lua | 3 | 2268 | --Copyright (C) 2010 <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
object_static_structure_general_skeleton_ancient_s01 = object_static_structure_general_shared_skeleton_ancient_s01:new {
}
ObjectTemplates:addTemplate(object_static_structure_general_skeleton_ancient_s01, "object/static/structure/general/skeleton_ancient_s01.iff")
| lgpl-3.0 |
eraffxi/darkstar | scripts/zones/Windurst_Woods/npcs/Nanaa_Mihgo.lua | 2 | 9117 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Nanaa Mihgo
-- Starts and Finishes Quest: Mihgo's Amigo (R), The Tenshodo Showdown (start), Rock Racketeer (start)
-- Involved In Quest: Crying Over Onions
-- Involved in Mission 2-1
-- !pos 62 -4 240 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil
-----------------------------------
require("scripts/zones/Windurst_Woods/TextIDs")
require("scripts/globals/keyitems")
require("scripts/globals/missions")
require("scripts/globals/npc_util")
require("scripts/globals/settings")
require("scripts/globals/quests")
require("scripts/globals/status")
require("scripts/globals/titles")
-----------------------------------
function onTrade(player,npc,trade)
if npcUtil.tradeHas(trade, {{498,4}}) then -- Yagudo Necklace x4
local mihgosAmigo = player:getQuestStatus(WINDURST,MIHGO_S_AMIGO)
if (mihgosAmigo == QUEST_ACCEPTED) then
player:startEvent(88, GIL_RATE*200)
elseif (mihgosAmigo == QUEST_COMPLETED) then
player:startEvent(494, GIL_RATE*200)
end
end
end
function onTrigger(player,npc)
local missionStatus = player:getVar("MissionStatus")
local wildcatWindurst = player:getVar("WildcatWindurst")
local mihgosAmigo = player:getQuestStatus(WINDURST,MIHGO_S_AMIGO)
local tenshodoShowdown = player:getQuestStatus(WINDURST,THE_TENSHODO_SHOWDOWN)
local tenshodoShowdownCS = player:getVar("theTenshodoShowdownCS")
local rockRacketeer = player:getQuestStatus(WINDURST,ROCK_RACKETEER)
local rockRacketeerCS = player:getVar("rockracketeer_sold")
local thickAsThieves = player:getQuestStatus(WINDURST,AS_THICK_AS_THIEVES)
local thickAsThievesCS = player:getVar("thickAsThievesCS")
local thickAsThievesGrapplingCS = player:getVar("thickAsThievesGrapplingCS")
local thickAsThievesGamblingCS = player:getVar("thickAsThievesGamblingCS")
local hittingTheMarquisate = player:getQuestStatus(WINDURST,HITTING_THE_MARQUISATE)
local hittingTheMarquisateYatnielCS = player:getVar("hittingTheMarquisateYatnielCS")
local hittingTheMarquisateHagainCS = player:getVar("hittingTheMarquisateHagainCS")
local hittingTheMarquisateNanaaCS = player:getVar("hittingTheMarquisateNanaaCS")
local job = player:getMainJob()
local lvl = player:getMainLvl()
-- WINDURST 2-1: LOST FOR WORDS
if player:getCurrentMission(WINDURST) == LOST_FOR_WORDS and missionStatus > 0 and missionStatus < 5 then
if missionStatus == 1 then
player:startEvent(165, 0, dsp.ki.LAPIS_CORAL, dsp.ki.LAPIS_MONOCLE)
elseif missionStatus == 2 then
player:startEvent(166, 0, dsp.ki.LAPIS_CORAL, dsp.ki.LAPIS_MONOCLE)
elseif missionStatus == 3 then
player:startEvent(169)
else
player:startEvent(170)
end
-- LURE OF THE WILDCAT (WINDURST)
elseif player:getQuestStatus(WINDURST, LURE_OF_THE_WILDCAT_WINDURST) == QUEST_ACCEPTED and not player:getMaskBit(wildcatWindurst,4) then
player:startEvent(732)
-- CRYING OVER ONIONS
elseif player:getVar("CryingOverOnions") == 1 then
player:startEvent(598)
-- THE TENSHODO SHOWDOWN
elseif job == dsp.job.THF and lvl >= AF1_QUEST_LEVEL and tenshodoShowdown == QUEST_AVAILABLE then
player:startEvent(496) -- start quest
elseif tenshodoShowdownCS == 1 then
player:startEvent(497) -- before cs at tensho HQ
elseif tenshodoShowdownCS >= 2 then
player:startEvent(498) -- after cs at tensho HQ
elseif job == dsp.job.THF and lvl < AF2_QUEST_LEVEL and tenshodoShowdown == QUEST_COMPLETED then
player:startEvent(503) -- standard dialog after
-- THICK AS THIEVES
elseif job == dsp.job.THF and lvl >= AF2_QUEST_LEVEL and thickAsThieves == QUEST_AVAILABLE and tenshodoShowdown == QUEST_COMPLETED then
player:startEvent(504) -- start quest
elseif thickAsThievesCS >= 1 and thickAsThievesCS <= 4 and thickAsThievesGamblingCS <= 7 and thickAsThievesGrapplingCS <= 7 then
player:startEvent(505, 0, dsp.ki.GANG_WHEREABOUTS_NOTE) -- before completing grappling and gambling sidequests
elseif thickAsThievesGamblingCS == 8 and thickAsThievesGrapplingCS == 8 then
player:startEvent(508) -- complete quest
-- HITTING THE MARQUISATE
elseif job == dsp.job.THF and lvl >= AF3_QUEST_LEVEL and thickAsThieves == QUEST_COMPLETED and hittingTheMarquisate == QUEST_AVAILABLE then
player:startEvent(512) -- start quest
elseif hittingTheMarquisateYatnielCS == 3 and hittingTheMarquisateHagainCS == 9 then
player:startEvent(516) -- finish first part
elseif hittingTheMarquisateNanaaCS == 1 then
player:startEvent(517) -- second part
-- ROCK RACKETEER
elseif mihgosAmigo == QUEST_COMPLETED and rockRacketeer == QUEST_AVAILABLE and player:getFameLevel(WINDURST) >= 3 then
if player:needToZone() then
player:startEvent(89) -- complete
else
player:startEvent(93) -- quest start
end
elseif rockRacketeer == QUEST_ACCEPTED and rockRacketeerCS == 1 then
player:startEvent(98) -- advance quest talk to Varun
elseif rockRacketeer == QUEST_ACCEPTED and rockRacketeerCS == 2 then
player:startEvent(95) -- not sold reminder
elseif rockRacketeer == QUEST_ACCEPTED then
player:startEvent(94) -- quest reminder
-- MIHGO'S AMIGO
elseif mihgosAmigo == QUEST_AVAILABLE then
if player:getQuestStatus(WINDURST, CRYING_OVER_ONIONS) == QUEST_AVAILABLE then
player:startEvent(81) -- Start Quest "Mihgo's Amigo" with quest "Crying Over Onions" Activated
else
player:startEvent(80) -- Start Quest "Mihgo's Amigo"
end
elseif mihgosAmigo == QUEST_ACCEPTED then
player:startEvent(82)
-- STANDARD DIALOG
elseif rockRacketeer == QUEST_COMPLETED then
player:startEvent(99) -- new dialog after Rock Racketeer
elseif mihgosAmigo == QUEST_COMPLETED then
player:startEvent(89) -- new dialog after Mihgo's Amigos
else
player:startEvent(76) -- standard dialog
end
end
function onEventUpdate(player,csid,option)
end
function onEventFinish(player,csid,option)
-- WINDURST 2-1: LOST FOR WORDS
if csid == 165 and option == 1 then
npcUtil.giveKeyItem(player, dsp.ki.LAPIS_MONOCLE)
player:setVar("MissionStatus", 2)
elseif csid == 169 then
player:setVar("MissionStatus", 4)
player:setVar("MissionStatus_randfoss", 0)
player:delKeyItem(dsp.ki.LAPIS_MONOCLE)
player:delKeyItem(dsp.ki.LAPIS_CORAL)
npcUtil.giveKeyItem(player, dsp.ki.HIDEOUT_KEY)
-- LURE OF THE WILDCAT (WINDURST)
elseif csid == 732 then
player:setMaskBit(player:getVar("WildcatWindurst"),"WildcatWindurst",4,true)
-- THE TENSHODO SHOWDOWN
elseif (csid == 496) then
player:addQuest(WINDURST,THE_TENSHODO_SHOWDOWN)
player:setVar("theTenshodoShowdownCS",1)
npcUtil.giveKeyItem(player, dsp.ki.LETTER_FROM_THE_TENSHODO)
-- THICK AS THIEVES
elseif (csid == 504 and option == 1) then -- start quest "as thick as thieves"
player:addQuest(WINDURST,AS_THICK_AS_THIEVES)
player:setVar("thickAsThievesCS",1)
npcUtil.giveKeyItem(player, {dsp.ki.GANG_WHEREABOUTS_NOTE, dsp.ki.FIRST_FORGED_ENVELOPE, dsp.ki.SECOND_FORGED_ENVELOPE})
elseif (csid == 508 and npcUtil.completeQuest(player, WINDURST, AS_THICK_AS_THIEVES, {item=12514, var={"thickAsThievesCS", "thickAsThievesGrapplingCS", "thickAsThievesGamblingCS"}})) then
player:delKeyItem(dsp.ki.GANG_WHEREABOUTS_NOTE)
player:delKeyItem(dsp.ki.FIRST_SIGNED_FORGED_ENVELOPE)
player:delKeyItem(dsp.ki.SECOND_SIGNED_FORGED_ENVELOPE)
-- HITTING THE MARQUISATE
elseif csid == 512 then
player:addQuest(WINDURST, HITTING_THE_MARQUISATE)
player:setVar("hittingTheMarquisateYatnielCS", 1)
player:setVar("hittingTheMarquisateHagainCS", 1)
npcUtil.giveKeyItem(player, dsp.ki.CAT_BURGLARS_NOTE)
elseif csid == 516 then
player:setVar("hittingTheMarquisateNanaaCS", 1)
player:setVar("hittingTheMarquisateYatnielCS", 0)
player:setVar("hittingTheMarquisateHagainCS", 0)
-- ROCK RACKETEER
elseif csid == 93 then
player:addQuest(WINDURST, ROCK_RACKETEER)
npcUtil.giveKeyItem(player, dsp.ki.SHARP_GRAY_STONE)
elseif csid == 98 then
player:delGil(10*GIL_RATE)
player:setVar("rockracketeer_sold", 3)
-- MIHGO'S AMIGO
elseif csid == 80 or csid == 81 then
player:addQuest(WINDURST, MIHGO_S_AMIGO)
elseif csid == 88 and npcUtil.completeQuest(player, WINDURST, MIHGO_S_AMIGO, {gil=200, title=dsp.title.CAT_BURGLAR_GROUPIE, fameArea=NORG, fame=60}) then
player:confirmTrade()
player:needToZone(true)
elseif csid == 494 then
player:confirmTrade()
player:addTitle(dsp.title.CAT_BURGLAR_GROUPIE)
player:addGil(GIL_RATE*200)
player:addFame(NORG, 30)
end
end | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/mobile/quest/chadra_fan_thief.lua | 1 | 1108 | chadra_fan_thief = Creature:new {
objectName = "@mob/creature_names:chadra_fan_thief",
socialGroup = "chadra_fan",
pvpFaction = "",
faction = "",
level = 8,
chanceHit = 0.27,
damageMin = 70,
damageMax = 75,
baseXp = 187,
baseHAM = 405,
baseHAMmax = 495,
armor = 0,
resists = {0,0,0,0,0,0,0,-1,-1},
meatType = "",
meatAmount = 0,
hideType = "",
hideAmount = 0,
boneType = "",
boneAmount = 0,
milk = 0,
tamingChance = 0,
ferocity = 0,
pvpBitmask = ATTACKABLE,
creatureBitmask = STALKER,
optionsBitmask = 128,
diet = HERBIVORE,
templates = {
"object/mobile/chadra_fan_female.iff",
"object/mobile/dressed_chadra_fan_f_01.iff",
"object/mobile/dressed_chadra_fan_f_02.iff",
"object/mobile/dressed_chadra_fan_f_03.iff",
"object/mobile/chadra_fan_male.iff",
"object/mobile/dressed_chadra_fan_m_01.iff",
"object/mobile/dressed_chadra_fan_m_02.iff",
"object/mobile/dressed_chadra_fan_m_03.iff"},
lootGroups = {},
weapons = {"pirate_weapons_medium"},
conversationTemplate = "",
attacks = {
}
}
CreatureTemplates:addCreatureTemplate(chadra_fan_thief, "chadra_fan_thief") | lgpl-3.0 |
eraffxi/darkstar | scripts/globals/items/tonosama_rice_ball.lua | 2 | 1136 | -----------------------------------------
-- ID: 4277
-- Item: Tonosama Rice Ball
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP +15
-- Dex +3
-- Vit +3
-- Chr +3
-- Effect with enhancing equipment (Note: these are latents on gear with the effect)
-- Atk +50
-- Def +30
-- Double Attack +1%
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
function onItemCheck(target)
local result = 0;
if (target:hasStatusEffect(dsp.effect.FOOD) == true or target:hasStatusEffect(dsp.effect.FIELD_SUPPORT_FOOD) == true) then
result = 246;
end
return result;
end;
function onItemUse(target)
target:addStatusEffect(dsp.effect.FOOD,0,0,1800,4277);
end;
function onEffectGain(target, effect)
target:addMod(dsp.mod.HP, 15);
target:addMod(dsp.mod.DEX, 3);
target:addMod(dsp.mod.VIT, 3);
target:addMod(dsp.mod.CHR, 3);
end;
function onEffectLose(target, effect)
target:delMod(dsp.mod.HP, 15);
target:delMod(dsp.mod.DEX, 3);
target:delMod(dsp.mod.VIT, 3);
target:delMod(dsp.mod.CHR, 3);
end; | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/static/space/debris/death_star_debris_g.lua | 3 | 2244 | --Copyright (C) 2010 <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
object_static_space_debris_death_star_debris_g = object_static_space_debris_shared_death_star_debris_g:new {
}
ObjectTemplates:addTemplate(object_static_space_debris_death_star_debris_g, "object/static/space/debris/death_star_debris_g.iff")
| lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/static/item/item_items_container_lg.lua | 3 | 2228 | --Copyright (C) 2010 <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
object_static_item_item_items_container_lg = object_static_item_shared_item_items_container_lg:new {
}
ObjectTemplates:addTemplate(object_static_item_item_items_container_lg, "object/static/item/item_items_container_lg.iff")
| lgpl-3.0 |
houqp/koreader | frontend/ui/data/keyboardlayouts/pl_keyboard.lua | 4 | 5145 | return {
shiftmode_keys = {["Shift"] = true},
symbolmode_keys = {["Sym"] = true, ["ABC"] = true},
utf8mode_keys = {["IM"] = true},
umlautmode_keys = {["Äéß"] = true},
keys = {
-- first row
{ -- 1 2 3 4 5 6 7 8 9 10 11 12
{ "Q", "q", "„", "0", "Q", "q", "„", "0", "Ä", "ä", "1", "ª", },
{ "W", "w", "!", "1", "W", "w", "!", "1", "Ö", "ö", "2", "º", },
{ "E", "e", "@", "2", "Ę", "ę", "@", "2", "Ü", "ü", "3", "¡", },
{ "R", "r", "#", "3", "R", "r", "#", "3", "ß", "ß", "4", "¿", },
{ "T", "t", "+", "=", "T", "t", "+", "=", "À", "à", "5", "¼", },
{ "Y", "y", "€", "(", "Y", "y", "€", "(", "Â", "â", "6", "½", },
{ "U", "u", "‰", ")", "U", "u", "‰", ")", "Æ", "æ", "7", "¾", },
{ "I", "i", "|", "\\", "I", "i", "|", "\\", "Ç", "ç", "8", "©", },
{ "O", "o", "?", "/", "Ó", "ó", "?", "/", "È", "è", "9", "®", },
{ "P", "p", "~", "`", "P", "p", "~", "`", "É", "é", "0", "™", },
},
-- second row
{ -- 1 2 3 4 5 6 7 8 9 10 11 12
{ "A", "a", "…", "@", "Ą", "ą", "…", "@", "Ê", "ê", "Ş", "ş", },
{ "S", "s", "$", "4", "Ś", "ś", "$", "4", "Ë", "ë", "İ", "ı", },
{ "D", "d", "%", "5", "D", "d", "%", "5", "Î", "î", "Ğ", "ğ", },
{ "F", "f", "^", "6", "F", "f", "^", "6", "Ï", "ï", "Ć", "ć", },
{ "G", "g", ":", ";", "G", "g", ":", ";", "Ô", "ô", "Č", "č", },
{ "H", "h", "\"", "'", "H", "h", "\"", "'", "Œ", "œ", "Đ", "đ", },
{ "J", "j", "{", "[", "J", "j", "{", "[", "Ù", "ù", "Š", "š", },
{ "K", "k", "}", "]", "K", "k", "}", "]", "Û", "û", "Ž", "ž", },
{ "L", "l", "_", "-", "Ł", "ł", "_", "-", "Ÿ", "ÿ", "Ő", "ő", },
},
-- third row
{ -- 1 2 3 4 5 6 7 8 9 10 11 12
{ label = "Shift",
icon = "resources/icons/appbar.arrow.shift.png",
width = 1.5
},
{ "Z", "z", "&", "7", "Ż", "ż", "&", "7", "Á", "á", "Ű", "ű", },
{ "X", "x", "*", "8", "Ź", "ź", "*", "8", "É", "é", "Ø", "ø", },
{ "C", "c", "£", "9", "Ć", "ć", "£", "9", "Í", "í", "Þ", "þ", },
{ "V", "v", "<", "‚", "V", "v", "<", ",", "Ñ", "ñ", "Ý", "ý", },
{ "B", "b", ">", ".", "B", "b", ">", ".", "Ó", "ó", "†", "‡", },
{ "N", "n", "‘", "↑", "Ń", "ń", "‘", "“", "Ú", "ú", "–", "—", },
{ "M", "m", "’", "↓", "M", "m", "’", "”", "Ç", "ç", "…", "¨", },
{ label = "Backspace",
icon = "resources/icons/appbar.clear.reflect.horizontal.png",
width = 1.5
},
},
-- fourth row
{
{ "Sym", "Sym", "ABC", "ABC", "Sym", "Sym", "ABC", "ABC", "Sym", "Sym", "ABC", "ABC",
width = 1.5},
{ label = "IM",
icon = "resources/icons/appbar.globe.wire.png",
},
{ "Äéß", "Äéß", "Äéß", "Äéß", "Äéß", "Äéß", "Äéß", "Äéß", "Äéß", "Äéß", "Äéß", "Äéß", },
{ label = "space",
" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ",
width = 3.0},
{ ",", ",", "“", "←", ",", ",", ".pl", ".pl", ",", ",", ",", ",", },
{ ",", ".", "”", "→", ",", ".", ".PL", ".PL", ",", ".", ",", ".", },
{ label = "Enter",
"\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n",
icon = "resources/icons/appbar.arrow.enter.png",
width = 1.5,
},
},
},
}
| agpl-3.0 |
eraffxi/darkstar | scripts/zones/Sauromugue_Champaign/npcs/qm3.lua | 7 | 1678 | -----------------------------------
-- Area: Sauromugue Champaign
-- NPC: qm3 (???) (Tower 3)
-- Involved in Quest: THF AF "As Thick As Thieves"
-- !pos 417.121 15.598 -137.466 120
-----------------------------------
package.loaded["scripts/zones/Sauromugue_Champaign/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Sauromugue_Champaign/TextIDs");
require("scripts/zones/Sauromugue_Champaign/MobIDs");
require("scripts/globals/quests");
function onTrade(player,npc,trade)
local grapplingCS = player:getVar("thickAsThievesGrapplingCS");
if (grapplingCS >= 2 and grapplingCS <= 7 and trade:hasItemQty(17474,1) and trade:getItemCount() == 1) then -- Trade grapel
player:messageSpecial(THF_AF_WALL_OFFSET+3,0,17474); -- You cannot get a decent grip on the wall using the [Grapnel].
end
end;
function onTrigger(player,npc)
local thickAsThieves = player:getQuestStatus(WINDURST,AS_THICK_AS_THIEVES);
local grapplingCS = player:getVar("thickAsThievesGrapplingCS");
if (thickAsThieves == QUEST_ACCEPTED) then
if (grapplingCS == 3) then
local gob = GetMobByID(CLIMBPIX_HIGHRISE);
if (not gob:isSpawned()) then
player:messageSpecial(THF_AF_MOB);
gob:setSpawn(414,16,-131);
SpawnMob(CLIMBPIX_HIGHRISE):updateClaim(player);
end
elseif (grapplingCS >= 0 or grapplingCS <= 7) then
player:messageSpecial(THF_AF_WALL_OFFSET);
end
else
player:messageSpecial(NOTHING_OUT_OF_ORDINARY);
end
end;
function onEventUpdate(player,csid,option)
end;
function onEventFinish(player,csid,option)
end;
| gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/ship/components/booster/bst_kde_br12.lua | 3 | 2268 | --Copyright (C) 2010 <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
object_tangible_ship_components_booster_bst_kde_br12 = object_tangible_ship_components_booster_shared_bst_kde_br12:new {
}
ObjectTemplates:addTemplate(object_tangible_ship_components_booster_bst_kde_br12, "object/tangible/ship/components/booster/bst_kde_br12.iff")
| lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/screenplays/racetracks/nashal.lua | 1 | 4365 | local ObjectManager = require("managers.object.object_manager")
RaceTrack = require("screenplays.racetracks.racetrackengine")
nashal_racetrack_screenplay = RaceTrack:new {
trackConfig={
debugMode=1, -- 0 = off, 1 = print debug messages
planetName = "talus", -- The planet the Track is on
badgeToAward=BDG_RACING_NASHAL_RIVER, -- Badge to be awarded for best daily time
trackName="NASHALRT", -- Internal trackname , should be unique to the track
className="nashal_racetrack_screenplay", -- Class name of this class
trackCheckpoint="@theme_park/racing/racing:nashal_waypoint_name_checkpoint", --Waypoint names
trackLaptime="@theme_park/racing/racing:nashal_laptime_checkpoint", -- System message sent at each waypoint
timeResolution=2, -- number of decimal places to use for the laptimes 0 = none, 1 = well 1 etc
expiryTime = (1*3600), --Amount of time in seconds that a player will be expired from the track (stops silly times over this limit)
resetTime = (22*3600)+(10*60), --Time of day in seconds that track resets High Scores
waypointRadius=10, -- size of the waypoint observer
raceCoordinator = {x=4199,y=5286,z=2}, -- Location of the race coordinator. Note the Z coord is VERY important or conversations break
waypoints = { {x = 3787, y = 4764}, -- The coords of the waypoints
{x = 3485, y = 4556},
{x = 3042, y = 4565},
{x = 2248, y = 5169},
{x = 1839, y = 4966},
{x = 1583, y = 5062},
{x = 1499, y = 4802},
{x = 1485, y = 4366},
{x = 2248, y = 3905},
{x = 1886, y = 3211},
{x = 2448, y = 2457},
{x = 2841, y = 2923},
{x = 3670, y = 3475},
{x = 4129, y = 3652},
{x = 4511, y = 4054},
{x = 4529, y = 4831},
{x = 4199, y = 5286}
}
}
}
registerScreenPlay("nashal_racetrack_screenplay", true)
--------------------------------------
-- Initialize screenplay -
--------------------------------------
function nashal_racetrack_screenplay:start()
if (isZoneEnabled(self.trackConfig.planetName)) then
self:spawnMobiles()
self:createRaceTrack()
end
end
function nashal_racetrack_screenplay:spawnMobiles()
local pCoord = spawnMobile(self.trackConfig.planetName, "nashal_race_coordinator", 1, self.trackConfig.raceCoordinator.x, self.trackConfig.raceCoordinator.z, self.trackConfig.raceCoordinator.y, 35, 0)
end
function nashal_racetrack_screenplay:enteredWaypoint(pActiveArea, pObject)
self:processWaypoint(pActiveArea, pObject)
end
nashal_racetrack_convo_handler = Object:new {}
function nashal_racetrack_convo_handler:getNextConversationScreen(conversationTemplate, conversingPlayer, selectedOption)
return ObjectManager.withCreatureObject(conversingPlayer, function(creatureObject)
local convosession = creatureObject:getConversationSession()
local lastConversationScreen = nil
local conversation = LuaConversationTemplate(conversationTemplate)
local nextConversationScreen
if ( conversation ~= nil ) then
-- checking to see if we have a next screen
if ( convosession ~= nil ) then
local session = LuaConversationSession(convosession)
if ( session ~= nil ) then
lastConversationScreen = session:getLastConversationScreen()
else
print("session was not good in getNextScreen")
end
end
if ( lastConversationScreen == nil ) then
nextConversationScreen = conversation:getInitialScreen()
else
local luaLastConversationScreen = LuaConversationScreen(lastConversationScreen)
local optionLink = luaLastConversationScreen:getOptionLink(selectedOption)
nextConversationScreen = conversation:getScreen(optionLink)
end
end
return nextConversationScreen
end)
end
function nashal_racetrack_convo_handler:runScreenHandlers(conversationTemplate, conversingPlayer, conversingNPC, selectedOption, conversationScreen)
local screen = LuaConversationScreen(conversationScreen)
local screenID = screen:getScreenID()
if ( screenID == "cs_jsPlumb_1_116" ) then
nashal_racetrack_screenplay:startRacing(conversingPlayer)
elseif ( screenID == "cs_jsPlumb_1_181" ) then -- Personal Best
nashal_racetrack_screenplay:displayPersonalBestTime(conversingPlayer)
elseif ( screenID == "cs_jsPlumb_1_207" ) then -- Track Best
nashal_racetrack_screenplay:displayTrackBestTime(conversingPlayer)
end
return conversationScreen
end
| lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/draft_schematic/bio_engineer/creature/creature_tybis.lua | 1 | 3337 | --Copyright (C) 2010 <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
object_draft_schematic_bio_engineer_creature_creature_tybis = object_draft_schematic_bio_engineer_creature_shared_creature_tybis:new {
templateType = DRAFTSCHEMATIC,
customObjectName = "Tybis",
craftingToolTab = 256, -- (See DraftSchemticImplementation.h)
complexity = 18,
size = 1,
xpType = "crafting_bio_engineer_creature",
xp = 150,
assemblySkill = "bio_engineer_assembly",
experimentingSkill = "bio_engineer_experimentation",
customizationSkill = "bio_engineer_experimentation",
customizationOptions = {},
customizationStringNames = {},
customizationDefaults = {},
ingredientTemplateNames = {"craft_creature_ingredients_n", "craft_creature_ingredients_n", "craft_creature_ingredients_n"},
ingredientTitleNames = {"dna_template", "protein_base", "organic_nutrition_materials"},
ingredientSlotType = {1, 0, 0},
resourceTypes = {"object/tangible/component/dna/shared_dna_template_generic.iff", "creature_food", "flora_food"},
resourceQuantities = {1, 40, 40},
contribution = {100, 100, 100},
targetTemplate = "object/tangible/deed/pet_deed/tybis_deed.iff",
additionalTemplates = {
}
}
ObjectTemplates:addTemplate(object_draft_schematic_bio_engineer_creature_creature_tybis, "object/draft_schematic/bio_engineer/creature/creature_tybis.iff")
| lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/mission/quest_item/sigrix_slix_q1_needed.lua | 3 | 2284 | --Copyright (C) 2010 <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
object_tangible_mission_quest_item_sigrix_slix_q1_needed = object_tangible_mission_quest_item_shared_sigrix_slix_q1_needed:new {
}
ObjectTemplates:addTemplate(object_tangible_mission_quest_item_sigrix_slix_q1_needed, "object/tangible/mission/quest_item/sigrix_slix_q1_needed.iff")
| lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/building/poi/tatooine_evil_hermit_small2.lua | 1 | 2248 | --Copyright (C) 2010 <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
object_building_poi_tatooine_evil_hermit_small2 = object_building_poi_shared_tatooine_evil_hermit_small2:new {
}
ObjectTemplates:addTemplate(object_building_poi_tatooine_evil_hermit_small2, "object/building/poi/tatooine_evil_hermit_small2.iff")
| lgpl-3.0 |
eraffxi/darkstar | scripts/zones/West_Sarutabaruta/TextIDs.lua | 2 | 3258 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6381; -- You cannot obtain the item <item> come back again after sorting your inventory.
ITEM_OBTAINED = 6387; -- Obtained: <item>.
GIL_OBTAINED = 6388; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6390; -- Obtained key item: <keyitem>.
FISHING_MESSAGE_OFFSET = 7048; -- You can't fish here.
-- Fields of Valor Texts
REGIME_ACCEPTED = 10185; -- New training regime registered!
DONT_SWAP_JOBS = 10186; -- your job will result in the cancellation of your current training regime.
REGIME_CANCELED = 10187; -- Training regime canceled.
-- Conquest
CONQUEST = 7453; -- You've earned conquest points!
-- Harvesting
HARVESTING_IS_POSSIBLE_HERE = 7437; -- Harvesting is possible here if you have
-- NPC Dialog
PAORE_KUORE_DIALOG = 7387; -- Welcome to Windurst! Proceed through this gateway to entaru Port Windurst.
KOLAPO_OILAPO_DIALOG = 7388; -- Hi-diddly-diddly! This is the gateway to Windurst! The grasslands you're on now are known as West Sarutabaruta.
MAATA_ULAATA = 7389; -- Hello-wello! This is the central tower of the Horutoto Ruins. It's one of the several ancient-wancient magic towers which dot these grasslands.
IPUPU_DIALOG = 7392; -- I decided to take a little strolly-wolly, but before I realized it, I found myself way out here! Now I am sorta stuck... Woe is me!
-- Quest Dialog
FROST_DEPOSIT_TWINKLES = 7399; -- A frost deposit at the base of the tree twinkles in the starlight.
MELT_BARE_HANDS = 7401; -- It looks like it would melt if you touched it with your bare hands...
-- Other Dialog
NOTHING_HAPPENS = 7307; -- Nothing happens...
NOTHING_OUT_OF_ORDINARY = 11304; -- There is nothing out of the ordinary here.
-- Signs
SIGN_1 = 7377; -- Northeast: Central Tower, Horutoto Ruins Northwest: Giddeus South: Port Windurst
SIGN_3 = 7378; -- East: East Sarutabaruta West: Giddeus
SIGN_5 = 7379; -- Northeast: Central Tower, Horutoto Ruins East: East Sarutabaruta West: Giddeus
SIGN_7 = 7380; -- South: Windurst East: East Sarutabaruta
SIGN_9 = 7381; -- West: Giddeus North: East Sarutabaruta South: Windurst
SIGN_11 = 7382; -- North: East Sarutabaruta Southeast: Windurst
SIGN_13 = 7383; -- East: Port Windurst West: West Tower, Horutoto Ruins
SIGN_15 = 7384; -- East: East Sarutabaruta West: Giddeus Southeast: Windurst
SIGN_17 = 7385; -- Northwest: Northwest Tower, Horutoto RuinsEast: Outpost Southwest: Giddeus
-- conquest Base
CONQUEST_BASE = 7148; -- Tallying conquest results...
-- chocobo digging
DIG_THROW_AWAY = 7061; -- You dig up ?Possible Special Code: 01??Possible Special Code: 01??Possible Special Code: 01? ?Possible Special Code: 01??Possible Special Code: 05?$?BAD CHAR: 8280??BAD CHAR: 80??BAD CHAR: 80?, but your inventory is full.
FIND_NOTHING = 7063; -- You dig and you dig, but find nothing.
| gpl-3.0 |
eraffxi/darkstar | scripts/globals/weaponskills/rudras_storm.lua | 2 | 1749 | -----------------------------------
-- Rudra's Storm
-- Dagger weapon skill
-- Skill level: N/A
-- Deals triple damage and weighs target down (duration: 60s). Damage varies with TP.
-- Aligned with the Aqua Gorget, Snow Gorget & Shadow Gorget.
-- Aligned with the Aqua Belt, Snow Belt & Shadow Belt.
-- Element: None
-- Modifiers: DEX:80%
-- 100%TP 200%TP 300%TP
-- 6 15 19.5
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/settings");
require("scripts/globals/weaponskills");
-----------------------------------
function onUseWeaponSkill(player, target, wsID, tp, primary, action, taChar)
local params = {};
params.numHits = 1;
params.ftp100 = 3.25; params.ftp200 = 4.25; params.ftp300 = 5.25;
params.str_wsc = 0.0; params.dex_wsc = 0.6; params.vit_wsc = 0.0; params.agi_wsc = 0.0; params.int_wsc = 0.0; params.mnd_wsc = 0.0; params.chr_wsc = 0.0;
params.crit100 = 0.0; params.crit200 = 0.0; params.crit300 = 0.0;
params.canCrit = false;
params.acc100 = 0.0; params.acc200= 0.0; params.acc300= 0.0;
params.atkmulti = 1;
if (USE_ADOULIN_WEAPON_SKILL_CHANGES == true) then
params.ftp100 = 5; params.ftp200 = 10.19; params.ftp300 = 13;
params.dex_wsc = 0.8;
end
local damage, criticalHit, tpHits, extraHits = doPhysicalWeaponskill(player, target, wsID, tp, primary, action, taChar, params);
-- dsp.effect.WEIGHT power value is equal to lead breath as per bg-wiki: http://www.bg-wiki.com/bg/Rudra%27s_Storm
if (damage > 0 and target:hasStatusEffect(dsp.effect.WEIGHT) == false) then
target:addStatusEffect(dsp.effect.WEIGHT, 50, 0, 60);
end
return tpHits, extraHits, criticalHit, damage;
end | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/mobile/rori/gundark_desperado.lua | 1 | 1159 | gundark_desperado = Creature:new {
objectName = "@mob/creature_names:gundark_desperado",
socialGroup = "gundark_gang",
pvpFaction = "thug",
faction = "thug",
level = 8,
chanceHit = 0.270000,
damageMin = 70,
damageMax = 75,
baseXp = 187,
baseHAM = 405,
baseHAMmax = 495,
armor = 0,
resists = {0,0,0,0,0,0,0,-1,-1},
meatType = "",
meatAmount = 0,
hideType = "",
hideAmount = 0,
boneType = "",
boneAmount = 0,
milk = 0,
tamingChance = 0.000000,
ferocity = 0,
pvpBitmask = ATTACKABLE,
creatureBitmask = STALKER,
diet = HERBIVORE,
templates = {
"object/mobile/dressed_desperado_bith_female_01.iff",
"object/mobile/dressed_desperado_bith_male_01.iff"},
lootGroups = {
{
groups = {
{group = "junk", chance = 2000000},
{group = "wearables_common", chance = 2000000},
{group = "pistols", chance = 2000000},
{group = "tailor_components", chance = 2000000},
{group = "loot_kit_parts", chance = 2000000}
},
lootChance = 3200000
}
},
weapons = {"pirate_weapons_light"},
attacks = merge(brawlernovice,marksmannovice)
}
CreatureTemplates:addCreatureTemplate(gundark_desperado, "gundark_desperado") | lgpl-3.0 |
gunchleoc/wesnoth | data/ai/micro_ais/cas/ca_assassin_move.lua | 3 | 6274 | local H = wesnoth.require "lua/helper.lua"
local AH = wesnoth.require "ai/lua/ai_helper.lua"
local LS = wesnoth.require "lua/location_set.lua"
local function get_units_target(cfg)
local units = AH.get_units_with_moves {
side = wesnoth.current.side,
{ "and", H.get_child(cfg, "filter") }
}
local target = wesnoth.get_units {
{ "filter_side", { { "enemy_of", { side = wesnoth.current.side } } } },
{ "and", H.get_child(cfg, "filter_second") }
}[1]
return units, target
end
local function custom_cost(x, y, unit, enemy_rating_map, prefer_map)
-- Custom cost function for assassin path finding consisting of:
-- 1. The standard movecost of the units
-- 2. A penalty for hexes that can be attacked or are blocked by enemies (stored in rating map)
-- 3. A penalty for non-preferred hexes (prefer_map). This has to be a penalty for
-- non-preferred hexes rather than a bonus for preferred hexes as the cost function
-- must return values >=1 for the a* search to work.
local terrain = wesnoth.get_terrain(x, y)
local move_cost = wesnoth.unit_movement_cost(unit, terrain)
move_cost = move_cost + (enemy_rating_map:get(x, y) or 0)
if prefer_map then
if (not prefer_map:get(x, y)) then
move_cost = move_cost + 5
end
end
return move_cost
end
local ca_assassin_move = {}
function ca_assassin_move:evaluation(cfg)
local units, target = get_units_target(cfg)
if (not units[1]) then return 0 end
if (not target) then return 0 end
return cfg.ca_score
end
function ca_assassin_move:execution(cfg)
-- We simply move the assassins one at a time
local units, target = get_units_target(cfg)
local unit = units[1]
local enemies = AH.get_visible_units(wesnoth.current.side, {
{ "filter_side", { { "enemy_of", { side = wesnoth.current.side } } } },
{ "not", H.get_child(cfg, "filter_second") }
})
-- Maximum damage the enemies can theoretically do for all hexes they can attack
-- Note: petrified enemies need to be included for the blocked hexes rating below,
-- but need to be excluded from the damage rating
local enemy_damage_map = LS.create()
for _,enemy in ipairs(enemies) do
if (not enemy.status.petrified) then
-- Need to "move" enemy next to unit for attack calculation
-- Do this with a unit copy, so that no actual unit has to be moved
local enemy_copy = wesnoth.copy_unit(enemy)
-- First get the reach of the enemy with full moves though
enemy_copy.moves = enemy_copy.max_moves
local reach = wesnoth.find_reach(enemy_copy, { ignore_units = true })
enemy_copy.x = unit.x
enemy_copy.y = unit.y + 1 -- this even works at map border
local _, _, att_weapon, _ = wesnoth.simulate_combat(enemy_copy, unit)
local max_damage = att_weapon.damage * att_weapon.num_blows
local unit_damage_map = LS.create()
for _,loc in ipairs(reach) do
unit_damage_map:insert(loc[1], loc[2], max_damage)
for xa,ya in H.adjacent_tiles(loc[1], loc[2]) do
unit_damage_map:insert(xa, ya, max_damage)
end
end
enemy_damage_map:union_merge(unit_damage_map, function(x, y, v1, v2)
return (v1 or 0) + v2
end)
end
end
-- Penalties for damage by enemies
local enemy_rating_map = LS.create()
enemy_damage_map:iter(function(x, y, enemy_damage)
local hit_chance = (wesnoth.unit_defense(unit, wesnoth.get_terrain(x, y))) / 100.
local rating = hit_chance * enemy_damage
rating = rating / unit.max_hitpoints
rating = rating * 5
enemy_rating_map:insert(x, y, rating)
end)
-- Penalties for blocked hexes and ZOC
local is_skirmisher = wesnoth.unit_ability(unit, "skirmisher")
for _,enemy in ipairs(enemies) do
-- Hexes an enemy is on get a very large penalty
enemy_rating_map:insert(enemy.x, enemy.y, (enemy_rating_map:get(enemy.x, enemy.y) or 0) + 100)
-- Hexes adjacent to enemies get max_moves penalty
-- except if AI unit is skirmisher or enemy is level 0 or is petrified
local zoc_active = (not is_skirmisher)
if zoc_active then
if (enemy.level == 0) or enemy.status.petrified then zoc_active = false end
end
if zoc_active then
for xa,ya in H.adjacent_tiles(enemy.x, enemy.y) do
enemy_rating_map:insert(xa, ya, (enemy_rating_map:get(xa, ya) or 0) + unit.max_moves)
end
end
end
-- Preferred hexes (do this here once for all hexes, so that it does not need
-- to get done for every step of the a* search.
-- We only need to know whether a hex is preferred or not, there's no additional rating.
local prefer_slf = H.get_child(cfg, "prefer")
local prefer_map -- want this to be nil, not empty LS if [prefer] tag not given
if prefer_slf then
local preferred_hexes = wesnoth.get_locations(prefer_slf)
prefer_map = LS.create()
for _,hex in ipairs(preferred_hexes) do
prefer_map:insert(hex[1], hex[2], true)
end
end
local path, cost = wesnoth.find_path(unit, target.x, target.y,
function(x, y, current_cost)
return custom_cost(x, y, unit, enemy_rating_map, prefer_map)
end
)
local path_map = LS.of_pairs(path)
-- We need to pick the farthest reachable hex along that path
local farthest_hex = path[1]
for i = 2,#path do
local sub_path, sub_cost = AH.find_path_with_shroud(unit, path[i][1], path[i][2])
if sub_cost <= unit.moves then
local unit_in_way = wesnoth.get_unit(path[i][1], path[i][2])
if (not AH.is_visible_unit(wesnoth.current.side, unit_in_way)) then
farthest_hex = path[i]
end
else
break
end
end
if farthest_hex then
AH.checked_move_full(ai, unit, farthest_hex[1], farthest_hex[2])
else
AH.checked_stopunit_moves(ai, unit)
end
end
return ca_assassin_move
| gpl-2.0 |
JulianSchutsch/FuPower | fufusion/prototypes/recipe.lua | 1 | 4558 | require "config"
local function createFusionRecipe()
data:extend(
{
{
type = "recipe-category",
name = "fusion-fusion"
},
{
type = "recipe",
name = "fusion-heat-fluid-production",
category = "chemistry",
subgroup = "fusion-resources",
enabled = false,
energy_required = 0.1,
ingredients = {{type="fluid", name="water", amount=100}},
results = {{type="fluid", name="fusion-heat-fluid", amount=300}},
icon="__fupower__/graphics/icons/fusion-heat-fluid.png",
},
{
type = "recipe",
name = "fusion-water",
category = "chemistry",
subgroup = "fusion-resources",
enabled = false,
energy_required = 0.1,
ingredients = {},
results = {{type="fluid", name="water", amount=300}},
icon="__fupower__/graphics/icons/fusion-heat-fluid.png",
},
{
type = "recipe",
name = "fusion-deuterium-extraction",
category = "chemistry",
subgroup = "fusion-resources",
enabled = false,
energy_required = 5,
ingredients = {{type="fluid", name="water", amount=100}},
results= {{type="fluid", name="deuterium", amount=100}},
icon="__fupower__/graphics/icons/fusion-deuterium.png"
},
{
type = "recipe",
name = "fusion-reaction",
category = "fusion-fusion",
subgroup = "fusion-resources",
enabled = false,
energy_required = 12,
ingredients = {{type="fluid", name="deuterium", amount=1}},
results= {{name="fusion-solar-fuel", amount=1}},
icon="__fupower__/graphics/icons/fusion-sun.png",
},
{
type = "recipe",
name = "fusion-boiler",
subgroup = "fusion-buildings",
enabled = "false",
energy_required = 5,
ingredients = {{"steel-plate", 1000}, {"processing-unit", 100}, {"iron-plate", 500}},
result = "fusion-boiler"
},
{
type = "recipe",
name = "fusion-steam-engine",
subgroup = "fusion-buildings",
enabled = "false",
energy_required = 5,
ingredients = {{"steel-plate", 200}, {"processing-unit", 50}, {"speed-module-3", 10}},
result = "fusion-steam-engine"
},
{
type = "recipe",
name = "fusion-reactor",
subgroup = "fusion-buildings",
enabled = "false",
energy_required = 5,
ingredients = {{"processing-unit", 100}, {"effectivity-module-3", 50}, {"steel-plate", 200}},
result = "fusion-reactor"
},
})
end
local function createAdvancedFusionRecipe()
data:extend(
{
{
type = "recipe",
name = "fusion-advanced-heat-fluid-production",
category = "chemistry",
subgroup = "fusion-resources",
enabled = false,
energy_required = 0.1,
ingredients = {{type="fluid", name="water", amount=100}},
results = {{type="fluid", name="fusion-advanced-heat-fluid", amount=300}},
icon="__fupower__/graphics/icons/fusion-advanced-heat-fluid.png",
},
{
type = "recipe",
name = "fusion-advanced-boiler",
subgroup = "fusion-buildings",
enabled = "false",
energy_required = 5,
ingredients = {{"steel-plate", 1000}, {"processing-unit", 1000}, {"fusion-boiler", 10}},
result = "fusion-advanced-boiler"
},
{
type = "recipe",
name = "fusion-advanced-steam-engine",
subgroup = "fusion-buildings",
enabled = "false",
energy_required = 5,
ingredients = {{"fusion-steam-engine", 5}, {"processing-unit", 200}, {"productivity-module-3", 20}},
result = "fusion-advanced-steam-engine"
},
{
type = "recipe",
name = "fusion-advanced-reactor",
subgroup = "fusion-buildings",
enabled = "false",
energy_required = 5,
ingredients = {{"fusion-reactor", 5}, {"processing-unit", 1000}, {"speed-module-3", 100}, {"steel-plate", 200}},
result = "fusion-advanced-reactor"
},
})
end
local function createDeepWaterRecipe()
data:extend(
{
{
type = "recipe",
name = "fusion-deep-water",
category = "chemistry",
subgroup = "fusion-resources",
enabled = false,
energy_required = 0.1,
ingredients = {},
results = {{type="fluid", name="water", amount=300}},
icon="__base__/graphics/icons/fluid/water.png",
},
});
end
if config.fufusion.deepWater==true then
createDeepWaterRecipe()
end
if config.fufusion.fusion==true then
createFusionRecipe()
if config.fufusion.advancedFusion==true then
createAdvancedFusionRecipe()
end
end | mit |
kidaa/Awakening-Core3 | bin/scripts/object/weapon/melee/unarmed/unarmed_default_player.lua | 1 | 5265 | --Copyright (C) 2010 <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
object_weapon_melee_unarmed_unarmed_default_player = object_weapon_melee_unarmed_shared_unarmed_default_player:new {
playerRaces = { "object/creature/player/bothan_male.iff",
"object/creature/player/bothan_female.iff",
"object/creature/player/human_male.iff",
"object/creature/player/human_female.iff",
"object/creature/player/ithorian_male.iff",
"object/creature/player/ithorian_female.iff",
"object/creature/player/moncal_male.iff",
"object/creature/player/moncal_female.iff",
"object/creature/player/rodian_male.iff",
"object/creature/player/rodian_female.iff",
"object/creature/player/sullustan_male.iff",
"object/creature/player/sullustan_female.iff",
"object/creature/player/trandoshan_male.iff",
"object/creature/player/trandoshan_female.iff",
"object/creature/player/twilek_male.iff",
"object/creature/player/twilek_female.iff",
"object/creature/player/wookiee_male.iff",
"object/creature/player/wookiee_female.iff",
"object/creature/player/zabrak_male.iff",
"object/creature/player/zabrak_female.iff" },
-- RANGEDATTACK, MELEEATTACK, FORCEATTACK, TRAPATTACK, GRENADEATTACK, HEAVYACIDBEAMATTACK,
-- HEAVYLIGHTNINGBEAMATTACK, HEAVYPARTICLEBEAMATTACK, HEAVYROCKETLAUNCHERATTACK, HEAVYLAUNCHERATTACK
attackType = MELEEATTACK,
-- ENERGY, KINETIC, ELECTRICITY, STUN, BLAST, HEAT, COLD, ACID, FORCE, LIGHTSABER
damageType = KINETIC,
-- NONE, LIGHT, MEDIUM, HEAVY
armorPiercing = NONE,
-- combat_rangedspecialize_bactarifle, combat_rangedspecialize_rifle, combat_rangedspecialize_pistol, combat_rangedspecialize_heavy, combat_rangedspecialize_carbine
-- combat_meleespecialize_unarmed, combat_meleespecialize_twohand, combat_meleespecialize_polearm, combat_meleespecialize_onehand, combat_general,
-- combat_meleespecialize_twohandlightsaber, combat_meleespecialize_polearmlightsaber, combat_meleespecialize_onehandlightsaber
xpType = "combat_meleespecialize_unarmed",
-- See http://www.ocdsoft.com/files/certifications.xls
certificationsRequired = { },
-- See http://www.ocdsoft.com/files/accuracy.xls
creatureAccuracyModifiers = { "unarmed_accuracy" },
-- See http://www.ocdsoft.com/files/defense.xls
defenderDefenseModifiers = { "melee_defense" },
-- can be dodge, counterattack, or block or a combination
-- Secondary defense when equipped
defenderSecondaryDefenseModifiers = { "unarmed_passive_defense" },
defenderToughnessModifiers = { "unarmed_toughness" },
-- See http://www.ocdsoft.com/files/speed.xls
speedModifiers = { "unarmed_speed" },
-- carbine_damage, onehandmelee_damage, pistol_damage, rifle_damage, twohandmelee_damage, unarmed_damage
damageModifiers = { "unarmed_damage" },
-- The values below are the default values. To be used for blue frog objects primarily
healthAttackCost = 10,
actionAttackCost = 10,
mindAttackCost = 10,
forceCost = 0,
pointBlankAccuracy = 0,
pointBlankRange = 15,
idealRange = 5,
idealAccuracy = 3,
maxRange = 5,
maxRangeAccuracy = 5,
minDamage = 10,
maxDamage = 50,
attackSpeed = 2,
woundsRatio = 5
}
ObjectTemplates:addTemplate(object_weapon_melee_unarmed_unarmed_default_player, "object/weapon/melee/unarmed/unarmed_default_player.iff")
| lgpl-3.0 |
eraffxi/darkstar | scripts/zones/Xarcabard/npcs/Pelogrant.lua | 2 | 1452 | -----------------------------------
-- Area: Xarcabard
-- NPC: Pelogrant
-- Type: Outpost Vendor
-- !pos 210 -22 -201 112
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
require("scripts/zones/Xarcabard/TextIDs");
local region = dsp.region.VALDEAUNIA;
local csid = 0x7ff4;
function onTrade(player,npc,trade)
end;
function onTrigger(player,npc)
local owner = GetRegionOwner(region);
local arg1 = getArg1(owner,player);
if (owner == player:getNation()) then
nation = 1;
elseif (arg1 < 1792) then
nation = 2;
else
nation = 0;
end
player:startEvent(csid,nation,OP_TeleFee(player,region),0,OP_TeleFee(player,region),player:getCP(),0,0,0);
end;
function onEventUpdate(player,csid,option)
-- printf("OPTION: %u",option);
player:updateEvent(player:getGil(),OP_TeleFee(player,region),0,OP_TeleFee(player,region),player:getCP());
end;
function onEventFinish(player,csid,option)
-- printf("OPTION: %u",option);
if (option == 1) then
dsp.shop.outpost(player);
elseif (option == 2) then
if (player:delGil(OP_TeleFee(player,region))) then
toHomeNation(player);
end
elseif (option == 6) then
player:delCP(OP_TeleFee(player,region));
toHomeNation(player);
end
end; | gpl-3.0 |
eraffxi/darkstar | scripts/globals/items/dish_of_spaghetti_peperoncino_+1.lua | 2 | 1183 | -----------------------------------------
-- ID: 5197
-- Item: dish_of_spaghetti_peperoncino_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health % 30
-- Health Cap 75
-- Vitality 2
-- Store TP 6
-- Resist virus +12
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
function onItemCheck(target)
local result = 0;
if (target:hasStatusEffect(dsp.effect.FOOD) == true or target:hasStatusEffect(dsp.effect.FIELD_SUPPORT_FOOD) == true) then
result = 246;
end
return result;
end;
function onItemUse(target)
target:addStatusEffect(dsp.effect.FOOD,0,0,3600,5197);
end;
function onEffectGain(target, effect)
target:addMod(dsp.mod.FOOD_HPP, 30);
target:addMod(dsp.mod.FOOD_HP_CAP, 75);
target:addMod(dsp.mod.VIT, 2);
target:addMod(dsp.mod.STORETP, 6);
target:addMod(dsp.mod.VIRUSRES, 12);
end;
function onEffectLose(target, effect)
target:delMod(dsp.mod.FOOD_HPP, 30);
target:delMod(dsp.mod.FOOD_HP_CAP, 75);
target:delMod(dsp.mod.VIT, 2);
target:delMod(dsp.mod.STORETP, 6);
target:delMod(dsp.mod.VIRUSRES, 12);
end;
| gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/gem/clothing.lua | 3 | 2172 | --Copyright (C) 2010 <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
object_tangible_gem_clothing = object_tangible_gem_shared_clothing:new {
}
ObjectTemplates:addTemplate(object_tangible_gem_clothing, "object/tangible/gem/clothing.iff")
| lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/draft_schematic/food/drink_blue_milk.lua | 2 | 3314 | --Copyright (C) 2010 <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
object_draft_schematic_food_drink_blue_milk = object_draft_schematic_food_shared_drink_blue_milk:new {
templateType = DRAFTSCHEMATIC,
customObjectName = "Blue Milk",
craftingToolTab = 4, -- (See DraftSchemticImplementation.h)
complexity = 12,
size = 1,
xpType = "crafting_food_general",
xp = 80,
assemblySkill = "food_assembly",
experimentingSkill = "food_experimentation",
customizationSkill = "food_customization",
customizationOptions = {},
customizationStringNames = {},
customizationDefaults = {},
ingredientTemplateNames = {"craft_food_ingredients_n", "craft_food_ingredients_n", "craft_food_ingredients_n", "craft_food_ingredients_n"},
ingredientTitleNames = {"milk", "protein_fortifier", "glass", "additive"},
ingredientSlotType = {0, 0, 2, 3},
resourceTypes = {"milk", "meat", "object/tangible/component/food/base/shared_drink_container_base.iff", "object/tangible/food/crafted/additive/shared_additive_light.iff"},
resourceQuantities = {10, 5, 1, 1},
contribution = {100, 100, 100, 100},
targetTemplate = "object/tangible/food/crafted/drink_blue_milk.iff",
additionalTemplates = {
}
}
ObjectTemplates:addTemplate(object_draft_schematic_food_drink_blue_milk, "object/draft_schematic/food/drink_blue_milk.iff")
| lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/component/armor/armor_segment_advanced.lua | 3 | 2276 | --Copyright (C) 2010 <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
object_tangible_component_armor_armor_segment_advanced = object_tangible_component_armor_shared_armor_segment_advanced:new {
}
ObjectTemplates:addTemplate(object_tangible_component_armor_armor_segment_advanced, "object/tangible/component/armor/armor_segment_advanced.iff")
| lgpl-3.0 |
danronco/nodemcu-firmware | lua_modules/bmp085/bmp085.lua | 69 | 5037 | --------------------------------------------------------------------------------
-- BMP085 I2C module for NODEMCU
-- NODEMCU TEAM
-- LICENCE: http://opensource.org/licenses/MIT
-- Christee <Christee@nodemcu.com>
--------------------------------------------------------------------------------
local moduleName = ...
local M = {}
_G[moduleName] = M
--default value for i2c communication
local id=0
--default oversampling setting
local oss = 0
--CO: calibration coefficients table.
local CO = {}
-- read reg for 1 byte
local function read_reg(dev_addr, reg_addr)
i2c.start(id)
i2c.address(id, dev_addr ,i2c.TRANSMITTER)
i2c.write(id,reg_addr)
i2c.stop(id)
i2c.start(id)
i2c.address(id, dev_addr,i2c.RECEIVER)
local c=i2c.read(id,1)
i2c.stop(id)
return c
end
--write reg for 1 byte
local function write_reg(dev_addr, reg_addr, reg_val)
i2c.start(id)
i2c.address(id, dev_addr, i2c.TRANSMITTER)
i2c.write(id, reg_addr)
i2c.write(id, reg_val)
i2c.stop(id)
end
--get signed or unsigned 16
--parameters:
--reg_addr: start address of short
--signed: if true, return signed16
local function getShort(reg_addr, signed)
local tH = string.byte(read_reg(0x77, reg_addr))
local tL = string.byte(read_reg(0x77, (reg_addr + 1)))
local temp = tH*256 + tL
if (temp > 32767) and (signed == true) then
temp = temp - 65536
end
return temp
end
-- initialize i2c
--parameters:
--d: sda
--l: scl
function M.init(d, l)
if (d ~= nil) and (l ~= nil) and (d >= 0) and (d <= 11) and (l >= 0) and ( l <= 11) and (d ~= l) then
sda = d
scl = l
else
print("iic config failed!") return nil
end
print("init done")
i2c.setup(id, sda, scl, i2c.SLOW)
--get calibration coefficients.
CO.AC1 = getShort(0xAA, true)
CO.AC2 = getShort(0xAC, true)
CO.AC3 = getShort(0xAE, true)
CO.AC4 = getShort(0xB0)
CO.AC5 = getShort(0xB2)
CO.AC6 = getShort(0xB4)
CO.B1 = getShort(0xB6, true)
CO.B2 = getShort(0xB8, true)
CO.MB = getShort(0xBA, true)
CO.MC = getShort(0xBC, true)
CO.MD = getShort(0xBE, true)
end
--get temperature from bmp085
--parameters:
--num_10x: bool value, if true, return number of 0.1 centi-degree
-- default value is false, which return a string , eg: 16.7
function M.getUT(num_10x)
write_reg(0x77, 0xF4, 0x2E);
tmr.delay(10000);
local temp = getShort(0xF6)
local X1 = (temp - CO.AC6) * CO.AC5 / 32768
local X2 = CO.MC * 2048/(X1 + CO.MD)
local r = (X2 + X1 + 8)/16
if(num_10x == true) then
return r
else
return ((r/10).."."..(r%10))
end
end
--get raw data of pressure from bmp085
--parameters:
--oss: over sampling setting, which is 0,1,2,3. Default value is 0
function M.getUP_raw(oss)
local os = 0
if ((oss == 0) or (oss == 1) or (oss == 2) or (oss == 3)) and (oss ~= nil) then
os = oss
end
local ov = os * 64
write_reg(0x77, 0xF4, (0x34 + ov));
tmr.delay(30000);
--delay 30ms, according to bmp085 document, wait time are:
-- 4.5ms 7.5ms 13.5ms 25.5ms respectively according to oss 0,1,2,3
local MSB = string.byte(read_reg(0x77, 0xF6))
local LSB = string.byte(read_reg(0x77, 0xF7))
local XLSB = string.byte(read_reg(0x77, 0xF8))
local up_raw = (MSB*65536 + LSB *256 + XLSB)/2^(8 - os)
return up_raw
end
--get calibrated data of pressure from bmp085
--parameters:
--oss: over sampling setting, which is 0,1,2,3. Default value is 0
function M.getUP(oss)
local os = 0
if ((oss == 0) or (oss == 1) or (oss == 2) or (oss == 3)) and (oss ~= nil) then
os = oss
end
local raw = M.getUP_raw(os)
local B5 = M.getUT(true) * 16 - 8;
local B6 = B5 - 4000
local X1 = CO.B2 * (B6 * B6 /4096)/2048
local X2 = CO.AC2 * B6 / 2048
local X3 = X1 + X2
local B3 = ((CO.AC1*4 + X3)*2^os + 2)/4
X1 = CO.AC3 * B6 /8192
X2 = (CO.B1 * (B6 * B6 / 4096))/65536
X3 = (X1 + X2 + 2)/4
local B4 = CO.AC4 * (X3 + 32768) / 32768
local B7 = (raw -B3) * (50000/2^os)
local p = B7/B4 * 2
X1 = (p/256)^2
X1 = (X1 *3038)/65536
X2 = (-7357 *p)/65536
p = p +(X1 + X2 + 3791)/16
return p
end
--get estimated data of altitude from bmp085
--parameters:
--oss: over sampling setting, which is 0,1,2,3. Default value is 0
function M.getAL(oss)
--Altitudi can be calculated by pressure refer to sea level pressure, which is 101325
--pressure changes 100pa corresponds to 8.43m at sea level
return (M.getUP(oss) - 101325)*843/10000
end
return M | mit |
kidaa/Awakening-Core3 | bin/scripts/object/draft_schematic/droid/component/diagnostic_circuit.lua | 2 | 3183 | --Copyright (C) 2010 <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
object_draft_schematic_droid_component_diagnostic_circuit = object_draft_schematic_droid_component_shared_diagnostic_circuit:new {
templateType = DRAFTSCHEMATIC,
customObjectName = "Diagnostic Circuit",
craftingToolTab = 32, -- (See DraftSchemticImplementation.h)
complexity = 10,
size = 1,
xpType = "crafting_droid_general",
xp = 50,
assemblySkill = "droid_assembly",
experimentingSkill = "droid_experimentation",
customizationSkill = "droid_customization",
customizationOptions = {},
customizationStringNames = {},
customizationDefaults = {},
ingredientTemplateNames = {"craft_droid_ingredients_n", "craft_droid_ingredients_n"},
ingredientTitleNames = {"insulated_board_material", "integrated_circuit"},
ingredientSlotType = {0, 0},
resourceTypes = {"ore", "metal"},
resourceQuantities = {10, 5},
contribution = {100, 100},
targetTemplate = "object/tangible/component/droid/repair/diagnostic_circuit.iff",
additionalTemplates = {
}
}
ObjectTemplates:addTemplate(object_draft_schematic_droid_component_diagnostic_circuit, "object/draft_schematic/droid/component/diagnostic_circuit.iff")
| lgpl-3.0 |
eraffxi/darkstar | scripts/globals/weaponskills/fast_blade.lua | 25 | 1373 | -----------------------------------
-- Fast Blade
-- Sword weapon skill
-- Skill Level: 5
-- Delivers a two-hit attack. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Soil Gorget.
-- Aligned with the Soil Belt.
-- Element: None
-- Modifiers: STR:20% ; DEX:20%
-- 100%TP 200%TP 300%TP
-- 1.00 1.50 2.00
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/settings");
require("scripts/globals/weaponskills");
-----------------------------------
function onUseWeaponSkill(player, target, wsID, tp, primary, action, taChar)
local params = {};
params.numHits = 2;
params.ftp100 = 1; params.ftp200 = 1.5; params.ftp300 = 2;
params.str_wsc = 0.2; params.dex_wsc = 0.2; params.vit_wsc = 0.0; params.agi_wsc = 0.0; params.int_wsc = 0.0; params.mnd_wsc = 0.0; params.chr_wsc = 0.0;
params.crit100 = 0.0; params.crit200 = 0.0; params.crit300 = 0.0;
params.canCrit = false;
params.acc100 = 0.0; params.acc200= 0.0; params.acc300= 0.0;
params.atkmulti = 1;
if (USE_ADOULIN_WEAPON_SKILL_CHANGES == true) then
params.str_wsc = 0.4; params.dex_wsc = 0.4;
end
local damage, criticalHit, tpHits, extraHits = doPhysicalWeaponskill(player, target, wsID, tp, primary, action, taChar, params);
return tpHits, extraHits, criticalHit, damage;
end
| gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/ship/attachment/weapon/xwing_weapon_neg_s01_0.lua | 3 | 2304 | --Copyright (C) 2010 <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
object_tangible_ship_attachment_weapon_xwing_weapon_neg_s01_0 = object_tangible_ship_attachment_weapon_shared_xwing_weapon_neg_s01_0:new {
}
ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_xwing_weapon_neg_s01_0, "object/tangible/ship/attachment/weapon/xwing_weapon_neg_s01_0.iff")
| lgpl-3.0 |
widelands/widelands | data/tribes/buildings/productionsites/barbarians/goldmine/init.lua | 1 | 2177 | push_textdomain("tribes")
dirname = path.dirname(__file__)
wl.Descriptions():new_productionsite_type {
name = "barbarians_goldmine",
-- TRANSLATORS: This is a building name used in lists of buildings
descname = pgettext("barbarians_building", "Gold Mine"),
icon = dirname .. "menu.png",
size = "mine",
buildcost = {
log = 4,
granite = 2
},
return_on_dismantle = {
log = 2,
granite = 1
},
enhancement = {
name = "barbarians_goldmine_deep",
enhancement_cost = {
log = 4,
granite = 2
},
enhancement_return_on_dismantle = {
log = 2,
granite = 1
}
},
animation_directory = dirname,
animations = {
idle = {
hotspot = { 21, 36 },
},
empty = {
hotspot = { 21, 36 },
},
},
spritesheets = {
build = {
frames = 4,
rows = 2,
columns = 2,
hotspot = { 21, 36 }
},
working = {
frames = 4,
rows = 2,
columns = 2,
hotspot = { 21, 36 }
},
},
aihints = {
prohibited_till = 1200
},
working_positions = {
barbarians_miner = 1
},
inputs = {
{ name = "ration", amount = 6 }
},
programs = {
main = {
-- TRANSLATORS: Completed/Skipped/Did not start mining gold because ...
descname = _("mining gold"),
actions = {
"return=skipped unless economy needs gold_ore",
"consume=ration",
"sleep=duration:45s",
"animate=working duration:20s",
"mine=resource_gold radius:2 yield:33.33% when_empty:5% experience_on_fail:17%",
"produce=gold_ore"
}
},
},
out_of_resource_notification = {
-- Translators: Short for "Out of ..." for a resource
title = _("No Gold"),
heading = _("Main Gold Vein Exhausted"),
message =
pgettext("barbarians_building", "This gold mine’s main vein is exhausted. Expect strongly diminished returns on investment. You should consider enhancing, dismantling or destroying it."),
},
}
pop_textdomain()
| gpl-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/medicine/crafted/medpack_disease_strength_b.lua | 1 | 3305 | --Copyright (C) 2010 <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
object_tangible_medicine_crafted_medpack_disease_strength_b = object_tangible_medicine_crafted_shared_medpack_disease_strength_b:new {
gameObjectType = 8240,
templateType = DOTPACK,
useCount = 10,
medicineUse = 5,
effectiveness = 100,
duration = 300,
range = 15,
rangeMod = 0.6,
pool = 1,
dotType = DISEASED,
potency = 250,
commandToExecute = "/applydisease",
area = 0,
numberExperimentalProperties = {1, 1, 2, 2, 2, 2, 2, 2, 1},
experimentalProperties = {"XX", "XX", "OQ", "PE", "OQ", "UT", "CD", "OQ", "OQ", "PE", "OQ", "PE", "DR", "OQ", "XX"},
experimentalWeights = {1, 1, 2, 1, 2, 1, 1, 2, 2, 1, 2, 1, 1, 1, 1},
experimentalGroupTitles = {"null", "null", "exp_effectiveness", "exp_charges", "exp_charges", "expEaseOfUse", "expEaseOfUse", "exp_effectiveness", "null"},
experimentalSubGroupTitles = {"null", "null", "power", "charges", "range", "skillmodmin", "potency", "duration", "hitpoints"},
experimentalMin = {0, 0, 10, 10, 15, 50, 25, 120, 1000},
experimentalMax = {0, 0, 40, 25, 30, 30, 100, 800, 1000},
experimentalPrecision = {0, 0, 0, 0, 0, 0, 0, 0, 0},
experimentalCombineType = {0, 0, 1, 1, 1, 1, 1, 1, 4},
}
ObjectTemplates:addTemplate(object_tangible_medicine_crafted_medpack_disease_strength_b, "object/tangible/medicine/crafted/medpack_disease_strength_b.iff")
| lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/lair/base/poi_all_lair_rock_shelter_small_evil_fire_green.lua | 2 | 2404 | --Copyright (C) 2010 <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
object_tangible_lair_base_poi_all_lair_rock_shelter_small_evil_fire_green = object_tangible_lair_base_shared_poi_all_lair_rock_shelter_small_evil_fire_green:new {
objectMenuComponent = {"cpp", "LairMenuComponent"},
}
ObjectTemplates:addTemplate(object_tangible_lair_base_poi_all_lair_rock_shelter_small_evil_fire_green, "object/tangible/lair/base/poi_all_lair_rock_shelter_small_evil_fire_green.iff")
| lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/dressed_garyn_lieutenant_zabrak_male_01.lua | 3 | 2272 | --Copyright (C) 2010 <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
object_mobile_dressed_garyn_lieutenant_zabrak_male_01 = object_mobile_shared_dressed_garyn_lieutenant_zabrak_male_01:new {
}
ObjectTemplates:addTemplate(object_mobile_dressed_garyn_lieutenant_zabrak_male_01, "object/mobile/dressed_garyn_lieutenant_zabrak_male_01.iff")
| lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/hair/trandoshan/base/hair_trandoshan_male_base.lua | 3 | 2308 | --Copyright (C) 2010 <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
object_tangible_hair_trandoshan_base_hair_trandoshan_male_base = object_tangible_hair_trandoshan_base_shared_hair_trandoshan_male_base:new {
}
ObjectTemplates:addTemplate(object_tangible_hair_trandoshan_base_hair_trandoshan_male_base, "object/tangible/hair/trandoshan/base/hair_trandoshan_male_base.iff")
| lgpl-3.0 |
Fighter19/cuberite | Server/Plugins/APIDump/Hooks/OnPlayerLeftClick.lua | 28 | 2480 | return
{
HOOK_PLAYER_LEFT_CLICK =
{
CalledWhen = "A left-click packet is received from the client. Plugin may override / refuse.",
DefaultFnName = "OnPlayerLeftClick", -- also used as pagename
Desc = [[
This hook is called when Cuberite receives a left-click packet from the {{cClientHandle|client}}. It
is called before any processing whatsoever is performed on the packet, meaning that hacked /
malicious clients may be trigerring this event very often and with unchecked parameters. Therefore
plugin authors are advised to use extreme caution with this callback.</p>
<p>
Plugins may refuse the default processing for the packet, causing Cuberite to behave as if the
packet has never arrived. This may, however, create inconsistencies in the client - the client may
think that they broke a block, while the server didn't process the breaking, etc. For this reason,
if a plugin refuses the processing, Cuberite sends the block specified in the packet back to the
client (as if placed anew), if the status code specified a block-break action. For other actions,
plugins must rectify the situation on their own.</p>
<p>
The client sends the left-click packet for several other occasions, such as dropping the held item
(Q keypress) or shooting an arrow. This is reflected in the Status code. Consult the
<a href="http://wiki.vg/Protocol#0x0E">protocol documentation</a> for details on the actions.
]],
Params =
{
{ Name = "Player", Type = "{{cPlayer}}", Notes = "The player whose client sent the packet" },
{ Name = "BlockX", Type = "number", Notes = "X-coord of the block" },
{ Name = "BlockY", Type = "number", Notes = "Y-coord of the block" },
{ Name = "BlockZ", Type = "number", Notes = "Z-coord of the block" },
{ Name = "BlockFace", Type = "number", Notes = "Face of the block upon which the player interacted. One of the BLOCK_FACE_ constants" },
{ Name = "Action", Type = "number", Notes = "Action to be performed on the block (\"status\" in the protocol docs)" },
},
Returns = [[
If the function returns false or no value, Cuberite calls other plugins' callbacks and finally sends
the packet for further processing.</p>
<p>
If the function returns true, no other plugins are called, processing is halted. If the action was a
block dig, Cuberite sends the block specified in the coords back to the client. The packet is
dropped.
]],
}, -- HOOK_PLAYER_LEFT_CLICK
}
| apache-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/mission/quest_item/senni_tonnika_q1_needed.lua | 3 | 2292 | --Copyright (C) 2010 <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
object_tangible_mission_quest_item_senni_tonnika_q1_needed = object_tangible_mission_quest_item_shared_senni_tonnika_q1_needed:new {
}
ObjectTemplates:addTemplate(object_tangible_mission_quest_item_senni_tonnika_q1_needed, "object/tangible/mission/quest_item/senni_tonnika_q1_needed.iff")
| lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/static/structure/tatooine/debris_tatt_crate_metal_1.lua | 3 | 2292 | --Copyright (C) 2010 <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
object_static_structure_tatooine_debris_tatt_crate_metal_1 = object_static_structure_tatooine_shared_debris_tatt_crate_metal_1:new {
}
ObjectTemplates:addTemplate(object_static_structure_tatooine_debris_tatt_crate_metal_1, "object/static/structure/tatooine/debris_tatt_crate_metal_1.iff")
| lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/building/military/military_outpost_guard_house_rebel.lua | 3 | 2300 | --Copyright (C) 2010 <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
object_building_military_military_outpost_guard_house_rebel = object_building_military_shared_military_outpost_guard_house_rebel:new {
}
ObjectTemplates:addTemplate(object_building_military_military_outpost_guard_house_rebel, "object/building/military/military_outpost_guard_house_rebel.iff")
| lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/static/structure/naboo/poi_nboo_tent_small.lua | 3 | 2256 | --Copyright (C) 2010 <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
object_static_structure_naboo_poi_nboo_tent_small = object_static_structure_naboo_shared_poi_nboo_tent_small:new {
}
ObjectTemplates:addTemplate(object_static_structure_naboo_poi_nboo_tent_small, "object/static/structure/naboo/poi_nboo_tent_small.iff")
| lgpl-3.0 |
eraffxi/darkstar | scripts/commands/addallmaps.lua | 22 | 1774 | ---------------------------------------------------------------------------------------------------
-- func: addallmaps
-- desc: Adds all maps to the given player.
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission = 1,
parameters = "s"
};
function error(player, msg)
player:PrintToPlayer(msg);
player:PrintToPlayer("!addallmaps {player}");
end;
function onTrigger(player, target)
local keyIds =
{
383, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402,
403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421,
422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440,
441, 442, 443, 444, 445, 446, 447, 1856, 1857, 1858, 1859, 1860, 1861, 1862, 1863, 1864, 1865,
1866, 1867, 1868, 1869, 1870, 1871, 1872, 1873, 1874, 1875, 1876, 1877, 1878, 1879, 1880, 1881,
1882, 1883, 1884, 1885, 1886, 1887, 1888, 1889, 1890, 1891, 1892, 1893, 1894, 1895, 1896, 1897,
1898, 1899, 1900, 1901, 1902, 1903, 1904, 1905, 1906, 1907, 1908, 1909, 1910, 1911, 1912, 1913,
1914, 1915, 1916, 1917, 1918, 2302, 2303, 2304, 2305, 2307, 2308, 2309
};
-- validate target
local targ;
if (target == nil) then
targ = player;
else
targ = GetPlayerByName(target);
if (targ == nil) then
error(player, string.format("Player named '%s' not found!", target));
return;
end
end
-- add maps
for _, v in ipairs( keyIds ) do
targ:addKeyItem( v );
end
player:PrintToPlayer(string.format("%s now has all maps.",targ:getName()));
end | gpl-3.0 |
eraffxi/darkstar | scripts/zones/Talacca_Cove/npcs/_1l0.lua | 2 | 1601 | -----------------------------------
-- Area: Talacca_Cove
-- NPC: rock slab (corsair job flag quest)
-- !pos -99 -7 -91 57
-----------------------------------
package.loaded["scripts/zones/Talacca_Cove/TextIDs"] = nil;
package.loaded["scripts/globals/bcnm"] = nil;
-----------------------------------
require("scripts/zones/Talacca_Cove/TextIDs");
require("scripts/globals/keyitems");
require("scripts/globals/quests");
require("scripts/globals/status");
require("scripts/globals/bcnm");
function onTrade(player,npc,trade)
end;
function onTrigger(player,npc)
LuckOfTheDraw = player:getVar("LuckOfTheDraw");
if (LuckOfTheDraw ==4) then
player:startEvent(3);
elseif (EventTriggerBCNM(player,npc)) then
return;
end
end;
function onEventUpdate(player,csid,option)
if (EventUpdateBCNM(player,csid,option)) then
return;
end
end;
function onEventFinish(player,csid,option)
if (csid == 3) then -- complete corsair job flag quest
if (player:getFreeSlotsCount() == 0) then
player:messageSpecial(ITEM_CANNOT_BE_OBTAINED,5493);
else
player:setVar("LuckOfTheDraw",5); -- var will remain for af quests
player:addItem(5493);
player:messageSpecial(ITEM_OBTAINED,5493);
player:delKeyItem(dsp.ki.FORGOTTEN_HEXAGUN);
player:unlockJob(dsp.job.COR);
player:messageSpecial(YOU_CAN_NOW_BECOME_A_CORSAIR);
player:completeQuest(AHT_URHGAN,LUCK_OF_THE_DRAW);
end
elseif (EventFinishBCNM(player,csid,option)) then
return;
end
end;
| gpl-3.0 |
TheWorst1/1 | plugins/wiki.lua | 2 | 4376 | -- http://git.io/vUA4M
local socket = require "socket"
local JSON = require "cjson"
local wikiusage = {
"ویکی [text]: Read extract from default Wikipedia (EN)",
"ویکی(lang) [text]: Read extract from 'lang' Wikipedia. Example: !wikies hola",
"ویکی search [text]: Search articles on default Wikipedia (EN)",
"ویکی(lang) search [text]: Search articles on 'lang' Wikipedia. Example: !wikies search hola",
}
local Wikipedia = {
-- http://meta.wikimedia.org/wiki/List_of_Wikipedias
wiki_server = "https://%s.wikipedia.org",
wiki_path = "/w/api.php",
wiki_load_params = {
action = "query",
prop = "extracts",
format = "json",
exchars = 300,
exsectionformat = "plain",
explaintext = "",
redirects = ""
},
wiki_search_params = {
action = "query",
list = "search",
srlimit = 20,
format = "json",
},
default_lang = "en",
}
function Wikipedia:getWikiServer(lang)
return string.format(self.wiki_server, lang or self.default_lang)
end
--[[
-- return decoded JSON table from Wikipedia
--]]
function Wikipedia:loadPage(text, lang, intro, plain, is_search)
local request, sink = {}, {}
local query = ""
local parsed
if is_search then
for k,v in pairs(self.wiki_search_params) do
query = query .. k .. '=' .. v .. '&'
end
parsed = URL.parse(self:getWikiServer(lang))
parsed.path = self.wiki_path
parsed.query = query .. "srsearch=" .. URL.escape(text)
else
self.wiki_load_params.explaintext = plain and "" or nil
for k,v in pairs(self.wiki_load_params) do
query = query .. k .. '=' .. v .. '&'
end
parsed = URL.parse(self:getWikiServer(lang))
parsed.path = self.wiki_path
parsed.query = query .. "titles=" .. URL.escape(text)
end
-- HTTP request
request['url'] = URL.build(parsed)
print(request['url'])
request['method'] = 'GET'
request['sink'] = ltn12.sink.table(sink)
local httpRequest = parsed.scheme == 'http' and http.request or https.request
local code, headers, status = socket.skip(1, httpRequest(request))
if not headers or not sink then
return nil
end
local content = table.concat(sink)
if content ~= "" then
local ok, result = pcall(JSON.decode, content)
if ok and result then
return result
else
return nil
end
else
return nil
end
end
-- extract intro passage in wiki page
function Wikipedia:wikintro(text, lang)
local result = self:loadPage(text, lang, true, true)
if result and result.query then
local query = result.query
if query and query.normalized then
text = query.normalized[1].to or text
end
local page = query.pages[next(query.pages)]
if page and page.extract then
return text..": "..page.extract
else
local text = "Extract not found for "..text
text = text..'\n'..table.concat(wikiusage, '\n')
return text
end
else
return "Sorry an error happened"
end
end
-- search for term in wiki
function Wikipedia:wikisearch(text, lang)
local result = self:loadPage(text, lang, true, true, true)
if result and result.query then
local titles = ""
for i,item in pairs(result.query.search) do
titles = titles .. "\n" .. item["title"]
end
titles = titles ~= "" and titles or "No results found"
return titles
else
return "Sorry, an error occurred"
end
end
local function run(msg, matches)
-- TODO: Remember language (i18 on future version)
-- TODO: Support for non Wikipedias but Mediawikis
local search, term, lang
if matches[1] == "search" then
search = true
term = matches[2]
lang = nil
elseif matches[2] == "search" then
search = true
term = matches[3]
lang = matches[1]
else
term = matches[2]
lang = matches[1]
end
if not term then
term = lang
lang = nil
end
if term == "" then
local text = "Usage:\n"
text = text..table.concat(wikiusage, '\n')
return text
end
local result
if search then
result = Wikipedia:wikisearch(term, lang)
else
-- TODO: Show the link
result = Wikipedia:wikintro(term, lang)
end
return result
end
return {
description = "Searches Wikipedia and send results",
usage = wikiusage,
patterns = {
"^ویکی(%w+) (search) (.+)$",
"^ویکی (search) ?(.*)$",
"^ویکی(%w+) (.+)$",
"^ویکی ?(.*)$"
},
run = run
}
| gpl-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/building/general/bunker_rebel_deep_chasm.lua | 3 | 2248 | --Copyright (C) 2010 <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
object_building_general_bunker_rebel_deep_chasm = object_building_general_shared_bunker_rebel_deep_chasm:new {
}
ObjectTemplates:addTemplate(object_building_general_bunker_rebel_deep_chasm, "object/building/general/bunker_rebel_deep_chasm.iff")
| lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/mobile/faction/imperial/imperial_brigadier_general.lua | 1 | 1491 | imperial_brigadier_general = Creature:new {
objectName = "@mob/creature_names:imperial_brigadier_general",
socialGroup = "imperial",
pvpFaction = "imperial",
faction = "imperial",
level = 25,
chanceHit = 0.36,
damageMin = 240,
damageMax = 250,
baseXp = 2637,
baseHAM = 7200,
baseHAMmax = 8800,
armor = 0,
resists = {20,20,40,0,0,-1,0,-1,-1},
meatType = "",
meatAmount = 0,
hideType = "",
hideAmount = 0,
boneType = "",
boneAmount = 0,
milk = 0,
tamingChance = 0,
ferocity = 0,
pvpBitmask = ATTACKABLE,
creatureBitmask = PACK + KILLER,
optionsBitmask = 136,
diet = HERBIVORE,
templates = {"object/mobile/dressed_imperial_general_m.iff"},
lootGroups = {
{
groups = {
{group = "color_crystals", chance = 100000},
{group = "junk", chance = 6200000},
{group = "rifles", chance = 550000},
{group = "pistols", chance = 550000},
{group = "melee_weapons", chance = 550000},
{group = "carbines", chance = 550000},
{group = "clothing_attachments", chance = 25000},
{group = "armor_attachments", chance = 25000},
{group = "imperial_officer_common", chance = 450000},
{group = "wearables_common", chance = 1000000}
},
lootChance = 2800000
}
},
weapons = {"imperial_weapons_heavy"},
conversationTemplate = "imperial_recruiter_convotemplate",
attacks = merge(riflemanmaster,carbineermaster)
}
CreatureTemplates:addCreatureTemplate(imperial_brigadier_general, "imperial_brigadier_general")
| lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/building/base/base_building.lua | 2 | 3403 | --Copyright (C) 2010 <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
object_building_base_base_building = object_building_base_shared_base_building:new {
containerComponent = {"cpp", "StructureContainerComponent"},
lotSize = 0,
baseMaintenanceRate = 0,
--What zones can this building be built by a player on.
--Default is corellia, dantooine, lok, naboo, rori, talus, tatooine
allowedZones = {"corellia", "dantooine", "lok", "naboo", "rori", "talus", "tatooine"},
--The minimum rank of a player city required for this structure to be placed.
cityRankRequired = 0,
--Skills required to place this structure object. String value of the particular skill box.
skillRequired = "",
--Abilities required to place this structure object. String value of the ability.
abilityRequired = "",
--Sign is a childObject for the default sign of this structure.
sign = {templateFile = "", x = 0, z = 0, y = 0, ox = 0, oy = 0, oz = 0, ow = 0, cellid = -1, containmentType = 0},
--Should the structure be public by default?
publicStructure = 1,
--Can the structure ever be private?
alwaysPublic = 0,
--The object that is placed during the construction phase.
constructionMarker = "",
--Elevator Terminals format is template_path, cell#, x, z, y, qx, qy, qz, qw, dz - where dz is the delta z.
elevatorTerminals = {},
length = 1,
width = 1
}
ObjectTemplates:addTemplate(object_building_base_base_building, "object/building/base/base_building.iff")
| lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/building/military/military_base_gate_house_imperial.lua | 3 | 2292 | --Copyright (C) 2010 <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
object_building_military_military_base_gate_house_imperial = object_building_military_shared_military_base_gate_house_imperial:new {
}
ObjectTemplates:addTemplate(object_building_military_military_base_gate_house_imperial, "object/building/military/military_base_gate_house_imperial.iff")
| lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/ship/crafted/chassis/ywing_deed.lua | 3 | 2404 | --Copyright (C) 2010 <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
object_tangible_ship_crafted_chassis_ywing_deed = object_tangible_ship_crafted_chassis_shared_ywing_deed:new {
templateType = SHIPDEED,
shipControlObject = "object/intangible/ship/ywing_pcd.iff",
generatedObjectTemplate = "object/ship/player/player_ywing.iff",
}
ObjectTemplates:addTemplate(object_tangible_ship_crafted_chassis_ywing_deed, "object/tangible/ship/crafted/chassis/ywing_deed.iff")
| lgpl-3.0 |
widelands/widelands | test/maps/lua_testsuite.wmf/scripting/cfield.lua | 1 | 14388 | -- =======================================================================
-- Field test
-- =======================================================================
field_tests = lunit.TestCase("Field access")
function field_tests:test_access()
c = map:get_field(25,32)
assert_equal(c.x, 25)
assert_equal(c.y, 32)
end
function field_tests:test_access_xistoobig()
assert_error("x should be too big", function()
map:get_field(64, 23)
end)
end
function field_tests:test_access_yistoobig()
assert_error("y should be too big", function()
map:get_field(25, 80)
end)
end
function field_tests:test_access_yismissing()
assert_error("y is missing", function()
map:get_field(64)
end)
end
function field_tests:test_access_xisnegative()
assert_error("x is negativ", function() map:get_field(-12, 23) end)
end
function field_tests:test_access_yisnegative()
assert_error("y is negativ", function() map:get_field(25, -12) end)
end
function field_tests:test_direct_change_impossible()
assert_error("c.x should be read only", function() c.x = 12 end)
assert_error("c.y should be read only", function() c.y = 12 end)
end
function field_tests:test_hash()
assert_equal(1638440, map:get_field(25,40).__hash)
end
function field_tests:test_coordinates()
local field = map:get_field(25,40);
assert_equal(25, field.x)
assert_equal(40, field.y)
end
function field_tests:test_r_neighbour()
c = map:get_field(25,40)
assert_equal(map:get_field(26,40), c.rn)
c = map:get_field(63,40)
assert_equal(map:get_field(0,40), c.rn)
end
function field_tests:test_l_neighbour()
c = map:get_field(25,40)
assert_equal(map:get_field(24,40), c.ln)
c = map:get_field(0,40)
assert_equal(map:get_field(63,40), c.ln)
end
function field_tests:test_trn_neighbour()
c = map:get_field(25,40)
assert_equal(map:get_field(25,39), c.trn)
assert_equal(map:get_field(26,38), c.trn.trn)
assert_equal(map:get_field(26,37), c.trn.trn.trn)
c = map:get_field(0,0)
assert_equal(map:get_field(0,79), c.trn)
assert_equal(map:get_field(1,78), c.trn.trn)
assert_equal(map:get_field(1,77), c.trn.trn.trn)
end
function field_tests:test_tln_neighbour()
c = map:get_field(25,40)
assert_equal(map:get_field(24,39), c.tln)
assert_equal(map:get_field(24,38), c.tln.tln)
assert_equal(map:get_field(23,37), c.tln.tln.tln)
c = map:get_field(1,1)
assert_equal(map:get_field(1,0), c.tln)
assert_equal(map:get_field(0,79), c.tln.tln)
assert_equal(map:get_field(0,78), c.tln.tln.tln)
end
function field_tests:test_bln_neighbour()
c = map:get_field(26,37)
assert_equal(map:get_field(26,38), c.bln)
assert_equal(map:get_field(25,39), c.bln.bln)
assert_equal(map:get_field(25,40), c.bln.bln.bln)
c = map:get_field(1,77)
assert_equal(map:get_field(1,78), c.bln)
assert_equal(map:get_field(0,79), c.bln.bln)
assert_equal(map:get_field(0,0), c.bln.bln.bln)
end
function field_tests:test_brn_neighbour()
c = map:get_field(35,22)
assert_equal(map:get_field(35,23), c.brn)
assert_equal(map:get_field(36,24), c.brn.brn)
assert_equal(map:get_field(36,25), c.brn.brn.brn)
c = map:get_field(63,79)
assert_equal(map:get_field(0,0), c.brn)
assert_equal(map:get_field(0,1), c.brn.brn)
assert_equal(map:get_field(1,2), c.brn.brn.brn)
end
function field_tests:test_equality()
c = map:get_field(32,33)
c1 = map:get_field(32,33)
assert_equal(c,c1)
end
function field_tests:test_inequality()
c = map:get_field(32,33)
c1 = map:get_field(33,32)
assert_not_equal(c,c1)
end
function field_tests:test_getting_height()
assert_equal(10, map:get_field(32,33).height)
end
function field_tests:test_setting_height()
f = map:get_field(32,33)
f.height = 12
assert_equal(12, map:get_field(32,33).height)
f.height = 10
end
function field_tests:test_setting_illegal_negativ_height()
assert_error("height must be positive", function()
map:get_field(50,40).height = -12
end)
end
function field_tests:test_setting_illegal_too_big_height()
assert_error("height must be <= 60", function()
map:get_field(50,40).height = 61
end)
end
function field_tests:test_getting_terr()
assert_equal("summer_steppe", map:get_field(50,40).terr)
end
function field_tests:test_getting_terd()
assert_equal("summer_steppe", map:get_field(50,40).terd)
end
function field_tests:test_setting_terr()
f = map:get_field(50,40)
f.terr = "summer_water"
assert_equal("summer_water", f.terr)
f.terr = "summer_steppe"
end
function field_tests:test_setting_terd()
f = map:get_field(50,40)
f.terd = "summer_water"
assert_equal("summer_water", f.terd)
f.terd = "summer_steppe"
end
function field_tests:test_region_radius_zero()
f = map:get_field(50,40)
list = f:region(0)
assert_equal(1, #list)
assert_equal(f, list[1])
end
function field_tests:test_region_radius_one()
f = map:get_field(50,40)
list = f:region(1)
assert_equal(7, #list)
end
function field_tests:test_hollow_region_radius_one()
f = map:get_field(50,40)
list = f:region(2,1)
assert_equal(13, #list)
end
-- ==========
-- Resources
-- ==========
field_resources_tests = lunit.TestCase("Field resources test")
function field_resources_tests:setup()
self.f = map:get_field(60,40)
self._res = self.f.resource
self._amount = self.f.resource_amount
self._terr = self.f.terr
self._terd = self.f.terd
end
function field_resources_tests:teardown()
self.f.terr = self._terr
self.f.terd = self._terd
self.f.resource = self._res
self.f.resource_amount = self._amount
end
function field_resources_tests:test_set_resource_amount()
self.f.resource = "resource_water"
self.f.resource_amount = 25
assert_equal("resource_water", self.f.resource)
assert_equal(25, self.f.resource_amount)
end
function field_resources_tests:test_set_resource_amount_negative()
assert_error("negative forbidden!",
function() self.f.resource_amount = -100 end)
end
function field_resources_tests:test_set_resource_amount_too_much()
assert_error("too big!", function () self.f.resource_amount = 1000 end)
end
function field_resources_tests:test_set_resource_type()
self.f.resource = "resource_coal"
assert_equal("resource_coal", self.f.resource)
assert_equal(self._amount, self.f.resource_amount)
end
function field_resources_tests:test_set_resource_type_illegal_resource()
assert_error("Illegal name!", function() self.f.resource = "ksjdjhsdf" end)
end
-- ==========
-- Fieldcaps
-- ==========
field_caps_tests = lunit.TestCase("Field caps tests")
function field_caps_tests:test_big_field_on_land()
local f = map:get_field(0,46)
assert_equal(true, f:has_caps("small"))
assert_equal(true, f:has_caps("medium"))
assert_equal(true, f:has_caps("big"))
assert_equal(true, f:has_caps("flag"))
assert_equal(false, f:has_caps("mine"))
assert_equal(false, f:has_caps("swimmable"))
assert_equal(true, f:has_caps("walkable"))
assert_equal(false, f:has_caps("port"))
assert_equal(true, f:has_max_caps("small"))
assert_equal(true, f:has_max_caps("medium"))
assert_equal(true, f:has_max_caps("big"))
assert_equal(true, f:has_max_caps("flag"))
assert_equal(false, f:has_max_caps("mine"))
assert_equal(false, f:has_max_caps("swimmable"))
assert_equal(true, f:has_max_caps("walkable"))
assert_equal(false, f:has_max_caps("port"))
end
function field_caps_tests:test_flag_field_on_land()
local f = map:get_field(1,53)
assert_equal(false, f:has_caps("small"))
assert_equal(false, f:has_caps("medium"))
assert_equal(false, f:has_caps("big"))
assert_equal(true, f:has_caps("flag"))
assert_equal(false, f:has_caps("mine"))
assert_equal(false, f:has_caps("swimmable"))
assert_equal(true, f:has_caps("walkable"))
assert_equal(false, f:has_caps("port"))
assert_equal(false, f:has_max_caps("small"))
assert_equal(false, f:has_max_caps("medium"))
assert_equal(false, f:has_max_caps("big"))
assert_equal(true, f:has_max_caps("flag"))
assert_equal(false, f:has_max_caps("mine"))
assert_equal(false, f:has_max_caps("swimmable"))
assert_equal(true, f:has_max_caps("walkable"))
assert_equal(false, f:has_max_caps("port"))
end
function field_caps_tests:test_mine_field()
local f = map:get_field(63,54)
assert_equal(false, f:has_caps("small"))
assert_equal(false, f:has_caps("medium"))
assert_equal(false, f:has_caps("big"))
assert_equal(true, f:has_caps("flag"))
assert_equal(true, f:has_caps("mine"))
assert_equal(false, f:has_caps("swimmable"))
assert_equal(true, f:has_caps("walkable"))
assert_equal(false, f:has_caps("port"))
assert_equal(false, f:has_max_caps("small"))
assert_equal(false, f:has_max_caps("medium"))
assert_equal(false, f:has_max_caps("big"))
assert_equal(true, f:has_max_caps("flag"))
assert_equal(true, f:has_max_caps("mine"))
assert_equal(false, f:has_max_caps("swimmable"))
assert_equal(true, f:has_max_caps("walkable"))
assert_equal(false, f:has_max_caps("port"))
end
function field_caps_tests:test_field_on_water()
local f = map:get_field(7,58)
assert_equal(false, f:has_caps("small"))
assert_equal(false, f:has_caps("medium"))
assert_equal(false, f:has_caps("big"))
assert_equal(false, f:has_caps("flag"))
assert_equal(false, f:has_caps("mine"))
assert_equal(true, f:has_caps("swimmable"))
assert_equal(false, f:has_caps("walkable"))
assert_equal(false, f:has_caps("port"))
assert_equal(false, f:has_max_caps("small"))
assert_equal(false, f:has_max_caps("medium"))
assert_equal(false, f:has_max_caps("big"))
assert_equal(false, f:has_max_caps("flag"))
assert_equal(false, f:has_max_caps("mine"))
assert_equal(true, f:has_max_caps("swimmable"))
assert_equal(false, f:has_max_caps("walkable"))
assert_equal(false, f:has_max_caps("port"))
end
function field_caps_tests:test_port_field()
local f = map:get_field(9,56)
assert_equal(true, f:has_caps("small"))
assert_equal(true, f:has_caps("medium"))
assert_equal(true, f:has_caps("big"))
assert_equal(true, f:has_caps("flag"))
assert_equal(false, f:has_caps("mine"))
assert_equal(false, f:has_caps("swimmable"))
assert_equal(true, f:has_caps("walkable"))
assert_equal(true, f:has_caps("port"))
assert_equal(true, f:has_max_caps("small"))
assert_equal(true, f:has_max_caps("medium"))
assert_equal(true, f:has_max_caps("big"))
assert_equal(true, f:has_max_caps("flag"))
assert_equal(false, f:has_max_caps("mine"))
assert_equal(false, f:has_max_caps("swimmable"))
assert_equal(true, f:has_max_caps("walkable"))
assert_equal(true, f:has_max_caps("port"))
end
function field_caps_tests:test_field_with_immovable()
local field = map:get_field(1,53)
assert_equal(true, field:has_caps("flag"))
assert_equal(true, field:has_max_caps("flag"))
local flag = player1:place_flag(field, true)
assert_equal(false, field:has_caps("flag"))
assert_equal(true, field:has_max_caps("flag"))
flag:remove()
assert_equal(true, field:has_caps("flag"))
assert_equal(true, field:has_max_caps("flag"))
end
function field_caps_tests:test_wrong_call()
assert_error("Unknown caps", function()
map:get_field(7,58):has_caps("blahfasel")
end)
end
function field_caps_tests:test_conquerable_fields_does_not_crash()
assert_equal(5028, map:count_conquerable_fields())
local owned_fields = map:count_owned_valuable_fields()
-- TODO(GunChleoc): Editor does not conquer properly, so we don't require equals
assert_true(owned_fields[1] > 200, "Some owned fields should have been counted")
end
function field_caps_tests:test_terrestrial_fields_does_not_crash()
assert_equal(5028, map:count_terrestrial_fields())
local owned_fields = map:count_owned_valuable_fields("tree")
assert_equal(nil, owned_fields[1])
end
-- ===============
-- owner/claimers
-- ===============
field_owner_tests = lunit.TestCase("Field ownage tests")
function field_owner_tests:setup()
self.pis = {}
end
function field_owner_tests:teardown()
for idx, b in ipairs(self.pis) do
pcall(function() b:remove() end)
end
end
function field_owner_tests:test_no_claimers()
local o = map:get_field(15,35).claimers
assert_equal(0, #o)
end
function field_owner_tests:test_no_owner()
assert_equal(nil, map:get_field(15,35).owner)
end
function field_owner_tests:_owner_ship_helper_func(p1, p2)
local f = map:get_field(10,10)
local s1 = p1:place_building("barbarians_sentry", f, false, true)
s1:set_soldiers({0,0,0,0}, 1)
self.pis[#self.pis + 1] = f.brn.immovable
local o = map:get_field(10,10).claimers
assert_equal(1, #o)
assert_equal(p1, o[1])
assert_equal(p1, map:get_field(10,10).owner)
local f = map:get_field(14, 10)
local s2 = p2:place_building("empire_sentry", f, false, true)
s2:set_soldiers({0,0,0,0}, 1)
self.pis[#self.pis + 1] = f.brn.immovable
-- Still owned by first player, second player has same military influence
local o = map:get_field(10,10).claimers
assert_equal(2, #o)
assert_equal(p1, o[1])
assert_equal(p2, o[2])
assert_equal(p1, map:get_field(10,10).owner)
-- player 2 has now more influence, but player 1 still owns it
local f = map:get_field(14, 12)
local s3 = p2:place_building("empire_sentry", f, false, true)
s3:set_soldiers({0,0,0,0}, 1)
self.pis[#self.pis + 1] = f.brn.immovable
local o = map:get_field(10,10).claimers
assert_equal(2, #o)
assert_equal(p2, o[1])
assert_equal(p1, o[2])
assert_equal(p1, map:get_field(10,10).owner)
end
function field_owner_tests:test_blue_first()
self:_owner_ship_helper_func(player1, player2)
end
function field_owner_tests:test_red_first()
self:_owner_ship_helper_func(player2, player1)
end
function field_owner_tests:test_no_military_influence()
local f = map:get_field(10,10)
local s1 = player2:place_building("empire_sentry", f, false, true)
s1:set_soldiers({0,0,0,0}, 1)
f.brn.immovable:remove()
assert_equal(0, #map:get_field(10,10).claimers)
assert_equal(player2, map:get_field(10,10).owner)
end
function field_owner_tests:test_just_one_flag()
local f = map:get_field(15,37)
player1:place_flag(f, true):remove()
assert_equal(0, #f.claimers)
assert_equal(player1, map:get_field(15,37).owner)
end
| gpl-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/ship/attachment/weapon/kse_firespray_weapon1_s02.lua | 3 | 2316 | --Copyright (C) 2010 <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
object_tangible_ship_attachment_weapon_kse_firespray_weapon1_s02 = object_tangible_ship_attachment_weapon_shared_kse_firespray_weapon1_s02:new {
}
ObjectTemplates:addTemplate(object_tangible_ship_attachment_weapon_kse_firespray_weapon1_s02, "object/tangible/ship/attachment/weapon/kse_firespray_weapon1_s02.iff")
| lgpl-3.0 |
kevinmel2000/sl4a | lua/luasocket/etc/dict.lua | 59 | 4652 | -----------------------------------------------------------------------------
-- Little program to download DICT word definitions
-- LuaSocket sample files
-- Author: Diego Nehab
-- RCS ID: $Id: dict.lua,v 1.22 2005/11/22 08:33:29 diego Exp $
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
-- Load required modules
-----------------------------------------------------------------------------
local base = _G
local string = require("string")
local table = require("table")
local socket = require("socket")
local url = require("socket.url")
local tp = require("socket.tp")
module("socket.dict")
-----------------------------------------------------------------------------
-- Globals
-----------------------------------------------------------------------------
HOST = "dict.org"
PORT = 2628
TIMEOUT = 10
-----------------------------------------------------------------------------
-- Low-level dict API
-----------------------------------------------------------------------------
local metat = { __index = {} }
function open(host, port)
local tp = socket.try(tp.connect(host or HOST, port or PORT, TIMEOUT))
return base.setmetatable({tp = tp}, metat)
end
function metat.__index:greet()
return socket.try(self.tp:check(220))
end
function metat.__index:check(ok)
local code, status = socket.try(self.tp:check(ok))
return code,
base.tonumber(socket.skip(2, string.find(status, "^%d%d%d (%d*)")))
end
function metat.__index:getdef()
local line = socket.try(self.tp:receive())
local def = {}
while line ~= "." do
table.insert(def, line)
line = socket.try(self.tp:receive())
end
return table.concat(def, "\n")
end
function metat.__index:define(database, word)
database = database or "!"
socket.try(self.tp:command("DEFINE", database .. " " .. word))
local code, count = self:check(150)
local defs = {}
for i = 1, count do
self:check(151)
table.insert(defs, self:getdef())
end
self:check(250)
return defs
end
function metat.__index:match(database, strat, word)
database = database or "!"
strat = strat or "."
socket.try(self.tp:command("MATCH", database .." ".. strat .." ".. word))
self:check(152)
local mat = {}
local line = socket.try(self.tp:receive())
while line ~= '.' do
database, word = socket.skip(2, string.find(line, "(%S+) (.*)"))
if not mat[database] then mat[database] = {} end
table.insert(mat[database], word)
line = socket.try(self.tp:receive())
end
self:check(250)
return mat
end
function metat.__index:quit()
self.tp:command("QUIT")
return self:check(221)
end
function metat.__index:close()
return self.tp:close()
end
-----------------------------------------------------------------------------
-- High-level dict API
-----------------------------------------------------------------------------
local default = {
scheme = "dict",
host = "dict.org"
}
local function there(f)
if f == "" then return nil
else return f end
end
local function parse(u)
local t = socket.try(url.parse(u, default))
socket.try(t.scheme == "dict", "invalid scheme '" .. t.scheme .. "'")
socket.try(t.path, "invalid path in url")
local cmd, arg = socket.skip(2, string.find(t.path, "^/(.)(.*)$"))
socket.try(cmd == "d" or cmd == "m", "<command> should be 'm' or 'd'")
socket.try(arg and arg ~= "", "need at least <word> in URL")
t.command, t.argument = cmd, arg
arg = string.gsub(arg, "^:([^:]+)", function(f) t.word = f end)
socket.try(t.word, "need at least <word> in URL")
arg = string.gsub(arg, "^:([^:]*)", function(f) t.database = there(f) end)
if cmd == "m" then
arg = string.gsub(arg, "^:([^:]*)", function(f) t.strat = there(f) end)
end
string.gsub(arg, ":([^:]*)$", function(f) t.n = base.tonumber(f) end)
return t
end
local function tget(gett)
local con = open(gett.host, gett.port)
con:greet()
if gett.command == "d" then
local def = con:define(gett.database, gett.word)
con:quit()
con:close()
if gett.n then return def[gett.n]
else return def end
elseif gett.command == "m" then
local mat = con:match(gett.database, gett.strat, gett.word)
con:quit()
con:close()
return mat
else return nil, "invalid command" end
end
local function sget(u)
local gett = parse(u)
return tget(gett)
end
get = socket.protect(function(gett)
if base.type(gett) == "string" then return sget(gett)
else return tget(gett) end
end)
| apache-2.0 |
eraffxi/darkstar | scripts/zones/The_Garden_of_RuHmet/npcs/_iz2.lua | 2 | 1513 | -----------------------------------
-- Area: The Garden of RuHmet
-- NPC: _iz2 (Ebon_Panel)
-- !pos 422.351 -5.180 -100.000 35 | Hume Tower
-----------------------------------
package.loaded["scripts/zones/The_Garden_of_RuHmet/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Garden_of_RuHmet/TextIDs");
require("scripts/globals/missions");
require("scripts/globals/titles");
require("scripts/globals/keyitems");
-----------------------------------
function onTrade(player,npc,trade)
end;
function onTrigger(player,npc)
local Race = player:getRace();
if (player:getCurrentMission(COP) == WHEN_ANGELS_FALL and player:getVar("PromathiaStatus") == 1) then
player:startEvent(202);
elseif (player:getCurrentMission(COP) == WHEN_ANGELS_FALL and player:getVar("PromathiaStatus") == 2) then
if ( Race==2 or Race==1) then
player:startEvent(120);
else
player:messageSpecial(NO_NEED_INVESTIGATE);
end
else
player:messageSpecial(NO_NEED_INVESTIGATE);
end
end;
function onEventUpdate(player,csid,option)
end;
function onEventFinish(player,csid,option)
if (csid == 202) then
player:setVar("PromathiaStatus",2);
elseif (120 and option ~=0) then -- Hume
player:addTitle(dsp.title.WARRIOR_OF_THE_CRYSTAL);
player:setVar("PromathiaStatus",3);
player:addKeyItem(dsp.ki.LIGHT_OF_VAHZL);
player:messageSpecial(KEYITEM_OBTAINED,dsp.ki.LIGHT_OF_VAHZL);
end
end; | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/dressed_sith_shadow_nikto_m_03.lua | 3 | 2236 | --Copyright (C) 2010 <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
object_mobile_dressed_sith_shadow_nikto_m_03 = object_mobile_shared_dressed_sith_shadow_nikto_m_03:new {
}
ObjectTemplates:addTemplate(object_mobile_dressed_sith_shadow_nikto_m_03, "object/mobile/dressed_sith_shadow_nikto_m_03.iff")
| lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/mission/quest_item/wilhalm_skrim_q2_needed.lua | 3 | 2292 | --Copyright (C) 2010 <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
object_tangible_mission_quest_item_wilhalm_skrim_q2_needed = object_tangible_mission_quest_item_shared_wilhalm_skrim_q2_needed:new {
}
ObjectTemplates:addTemplate(object_tangible_mission_quest_item_wilhalm_skrim_q2_needed, "object/tangible/mission/quest_item/wilhalm_skrim_q2_needed.iff")
| lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/component/droid/defensive_module_base.lua | 3 | 2272 | --Copyright (C) 2010 <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
object_tangible_component_droid_defensive_module_base = object_tangible_component_droid_shared_defensive_module_base:new {
}
ObjectTemplates:addTemplate(object_tangible_component_droid_defensive_module_base, "object/tangible/component/droid/defensive_module_base.iff")
| lgpl-3.0 |
eraffxi/darkstar | scripts/zones/Southern_San_dOria/npcs/Vaquelage.lua | 2 | 1070 | -----------------------------------
-- Area: Southern San dOria
-- NPC: Vaquelage
-- Type: Item Deliverer NPC
-- !pos 17.396 1.699 -29.357 230
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Southern_San_dOria/TextIDs");
require("scripts/globals/settings");
require("scripts/globals/quests");
-----------------------------------
function onTrade(player,npc,trade)
-- "Flyers for Regine" conditional script
local FlyerForRegine = player:getQuestStatus(SANDORIA,FLYERS_FOR_REGINE);
if (FlyerForRegine == 1) then
local count = trade:getItemCount();
local MagicFlyer = trade:hasItemQty(532,1);
if (MagicFlyer == true and count == 1) then
player:messageSpecial(FLYER_REFUSED);
end
end
end;
function onTrigger(player,npc)
player:showText(npc, ITEM_DELIVERY_DIALOG);
player:openSendBox();
end;
function onEventUpdate(player,csid,option)
end;
function onEventFinish(player,csid,option)
end;
| gpl-3.0 |
eraffxi/darkstar | scripts/zones/Port_San_dOria/npcs/Thierride.lua | 2 | 2142 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Thierride
-- Type: Quest Giver
-- @zone 232
-- !pos -67 -5 -28
--
-- Starts and Finishes Quest: A Taste For Meat
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
require("scripts/globals/titles");
require("scripts/zones/Port_San_dOria/TextIDs");
-----------------------------------
function onTrade(player,npc,trade)
local count = trade:getItemCount();
if (trade:hasItemQty(4358, 5) and count == 5) then
if (player:getQuestStatus(SANDORIA, A_TASTE_FOR_MEAT) == QUEST_ACCEPTED) then
player:startEvent(528);
else
player:startEvent(526);
end
elseif (player:getQuestStatus(SANDORIA,THE_BRUGAIRE_CONSORTIUM) == QUEST_ACCEPTED and trade:hasItemQty(595,1) == true and count == 1) then
player:tradeComplete();
player:startEvent(539);
player:setVar("TheBrugaireConsortium-Parcels", 31);
else
player:startEvent(529);
end
end;
function onTrigger(player,npc)
aTasteForMeat = player:getQuestStatus(SANDORIA, A_TASTE_FOR_MEAT);
if (aTasteForMeat == QUEST_AVAILABLE and player:getVar("aTasteForMeat") == 1 or aTasteForMeat == QUEST_ACCEPTED) then
player:startEvent(526);
else
player:startEvent(524);
end;
end;
function onEventUpdate(player,csid,option)
end;
function onEventFinish(player,csid,option)
if (csid == 526) then
if (player:getQuestStatus(SANDORIA, A_TASTE_FOR_MEAT) == QUEST_AVAILABLE) then
player:setVar("aTasteForMeat", 0);
player:addQuest(SANDORIA, A_TASTE_FOR_MEAT);
end;
elseif (csid == 528) then
player:tradeComplete();
player:setVar("aTasteForMeat", 1);
player:addFame(SANDORIA, 30);
player:addGil(GIL_RATE*150);
player:messageSpecial(GIL_OBTAINED, GIL_RATE*150);
player:completeQuest(SANDORIA, A_TASTE_FOR_MEAT);
player:addTitle(dsp.title.RABBITER);
end;
end;
| gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/loot/dungeon/serverobjects.lua | 3 | 2272 | --Copyright (C) 2010 <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
--Children folder includes
includeFile("tangible/loot/dungeon/corellian_corvette/serverobjects.lua")
includeFile("tangible/loot/dungeon/death_watch_bunker/serverobjects.lua")
includeFile("tangible/loot/dungeon/geonosian_mad_bunker/serverobjects.lua")
-- Server Objects
| lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/static/particle/pt_geonosian_aquarium_fish.lua | 3 | 2256 | --Copyright (C) 2010 <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
object_static_particle_pt_geonosian_aquarium_fish = object_static_particle_shared_pt_geonosian_aquarium_fish:new {
}
ObjectTemplates:addTemplate(object_static_particle_pt_geonosian_aquarium_fish, "object/static/particle/pt_geonosian_aquarium_fish.iff")
| lgpl-3.0 |
houqp/koreader | frontend/ui/otamanager.lua | 1 | 18024 | local ConfirmBox = require("ui/widget/confirmbox")
local DataStorage = require("datastorage")
local Device = require("device")
local InfoMessage = require("ui/widget/infomessage")
local MultiConfirmBox = require("ui/widget/multiconfirmbox")
local NetworkMgr = require("ui/network/manager")
local UIManager = require("ui/uimanager")
local Version = require("version")
local lfs = require("libs/libkoreader-lfs")
local logger = require("logger")
local _ = require("gettext")
local T = require("ffi/util").template
local ota_dir = DataStorage:getDataDir() .. "/ota/"
local OTAManager = {
ota_servers = {
"http://ota.koreader.rocks:80/",
"http://vislab.bjmu.edu.cn:80/apps/koreader/ota/",
--[[
-- NOTE: Because we can't have nice things,
-- the HTTP frontend of these OpenStack storage containers doesn't actually properly support
-- HTTP/1.1 Range requests when multiple byte ranges are requested: they return bogus data when doing so,
-- which confuses zsync, causing it to retry indefinitely instead of aborting...
-- c.f., https://github.com/koreader/koreader-base/pull/699
"http://koreader-fr.ak-team.com:80/",
"http://koreader-pl.ak-team.com:80/",
"http://koreader-na.ak-team.com:80/",
--]]
"http://koreader.ak-team.com:80/",
},
ota_channels = {
"stable",
"nightly",
},
link_template = "koreader-%s-latest-%s",
zsync_template = "koreader-%s-latest-%s.zsync",
installed_package = ota_dir .. "koreader.installed.tar",
package_indexfile = "ota/package.index",
updated_package = ota_dir .. "koreader.updated.tar",
can_pretty_print = lfs.attributes("./fbink", "mode") == "file" and true or false,
}
local ota_channels = {
stable = _("Stable"),
nightly = _("Development"),
}
-- Try to detect WARIO+ Kindle boards (i.MX6 & i.MX7)
function OTAManager:_isKindleWarioOrMore()
local cpu_hw = nil
-- Parse cpuinfo line by line, until we find the Hardware description
for line in io.lines("/proc/cpuinfo") do
if line:find("^Hardware") then
cpu_hw = line:match("^Hardware%s*:%s([%g%s]*)$")
end
end
-- NOTE: I couldn't dig up a cpuinfo dump from an Oasis 2 to check the CPU part value,
-- but for Wario (Cortex A9), matching that to 0xc09 would work, too.
-- On the other hand, I'm already using the Hardware match in MRPI, so, that sealed the deal ;).
-- If we've got a Hardware string, check if it mentions an i.MX 6 or 7...
if cpu_hw then
if cpu_hw:find("i.MX%s?[6-7]") then
return true
else
return false
end
else
return false
end
end
-- "x86", "x64", "arm", "arm64", "ppc", "mips" or "mips64".
local arch = jit.arch
function OTAManager:getOTAModel()
if Device:isAndroid() then
if arch == "x86" then
return "android-x86"
end
return "android"
elseif Device:isSDL() then
return "appimage"
elseif Device:isCervantes() then
return "cervantes"
elseif Device:isKindle() then
if Device:isTouchDevice() or Device.model == "Kindle4" then
if self:_isKindleWarioOrMore() then
return "kindlepw2"
else
return "kindle"
end
else
return "kindle-legacy"
end
elseif Device:isKobo() then
return "kobo"
elseif Device:isPocketBook() then
return "pocketbook"
elseif Device:isSonyPRSTUX() then
return "sony-prstux"
else
return ""
end
end
function OTAManager:getOTAType()
local ota_model = self:getOTAModel()
if ota_model == "" then return end
if ota_model:find("android") or ota_model:find("appimage") then
return "link"
end
return "ota"
end
function OTAManager:getOTAServer()
return G_reader_settings:readSetting("ota_server") or self.ota_servers[1]
end
function OTAManager:setOTAServer(server)
logger.dbg("Set OTA server:", server)
G_reader_settings:saveSetting("ota_server", server)
end
function OTAManager:getOTAChannel()
return G_reader_settings:readSetting("ota_channel") or self.ota_channels[1]
end
function OTAManager:setOTAChannel(channel)
logger.dbg("Set OTA channel:", channel)
G_reader_settings:saveSetting("ota_channel", channel)
end
function OTAManager:getLinkFilename()
return self.link_template:format(self:getOTAModel(), self:getOTAChannel())
end
function OTAManager:getZsyncFilename()
return self.zsync_template:format(self:getOTAModel(), self:getOTAChannel())
end
function OTAManager:checkUpdate()
local http = require("socket.http")
local ltn12 = require("ltn12")
local update_file = (self:getOTAType() == "link") and self:getLinkFilename() or self:getZsyncFilename()
local ota_update_file = self:getOTAServer() .. update_file
local local_update_file = ota_dir .. update_file
-- download zsync file from OTA server
logger.dbg("downloading update file", ota_update_file)
local _, c, _ = http.request{
url = ota_update_file,
sink = ltn12.sink.file(io.open(local_update_file, "w"))}
if c ~= 200 then
logger.warn("cannot find update file", c)
return
end
-- parse OTA package version
local link, ota_package
local update_info = io.open(local_update_file, "r")
if update_info then
if OTAManager:getOTAType() == "link" then
local i = 0
for line in update_info:lines() do
i = i + 1
if i == 1 then
ota_package = line
link = self:getOTAServer() .. ota_package
end
end
else
for line in update_info:lines() do
ota_package = line:match("^Filename:%s*(.-)%s*$")
if ota_package then break end
end
end
update_info:close()
end
local local_ok, local_version = pcall(function()
local rev = Version:getCurrentRevision()
if rev then return Version:getNormalizedVersion(rev) end
end)
local ota_ok, ota_version = pcall(function()
return Version:getNormalizedVersion(ota_package)
end)
-- return ota package version if package on OTA server has version
-- larger than the local package version
if local_ok and ota_ok and ota_version and local_version and
ota_version ~= local_version then
return ota_version, local_version, link, ota_package
elseif ota_version and ota_version == local_version then
return 0
end
end
function OTAManager:fetchAndProcessUpdate()
local ota_version, local_version, link, ota_package = OTAManager:checkUpdate()
if ota_version == 0 then
UIManager:show(InfoMessage:new{
text = _("KOReader is up to date."),
})
elseif ota_version == nil then
local channel = ota_channels[OTAManager:getOTAChannel()]
UIManager:show(InfoMessage:new{
text = T(_("Update information not available on %1 channel."), channel),
})
elseif ota_version then
local update_message = T(_("Do you want to update?\nInstalled version: %1\nAvailable version: %2"),
local_version,
ota_version)
local update_ok_text = _("Update")
if ota_version < local_version then
update_message = T(_("The currently installed version is newer than the available version.\nWould you still like to continue and downgrade?\nInstalled version: %1\nAvailable version: %2"),
local_version,
ota_version)
update_ok_text = _("Downgrade")
end
if OTAManager:getOTAType() == "link" then
UIManager:show(ConfirmBox:new{
text = update_message,
ok_text = update_ok_text,
ok_callback = function()
local isAndroid, android = pcall(require, "android")
if isAndroid then
-- download the package if not present.
if android.download(link, ota_package) then
android.notification(T(_("The file %1 already exists."), ota_package))
else
android.notification(T(_("Downloading %1"), ota_package))
end
elseif Device:isSDL() then
Device:openLink(link)
end
end
})
else
UIManager:show(ConfirmBox:new{
text = update_message,
ok_text = update_ok_text,
ok_callback = function()
UIManager:show(InfoMessage:new{
text = _("Downloading may take several minutes…"),
timeout = 3,
})
UIManager:scheduleIn(1, function()
if OTAManager:zsync() == 0 then
UIManager:show(InfoMessage:new{
text = _("KOReader will be updated on next restart."),
})
-- Make it clear that zsync is done
if self.can_pretty_print then
os.execute("./fbink -q -y -7 -pm ' ' ' '")
end
else
-- Make it clear that zsync is done
if self.can_pretty_print then
os.execute("./fbink -q -y -7 -pm ' ' ' '")
end
UIManager:show(MultiConfirmBox:new{
text = _("Failed to update KOReader.\n\nYou can:\nCancel, keeping temporary files.\nRetry the update process with a full download.\nAbort and cleanup all temporary files."),
choice1_text = _("Retry"),
choice1_callback = function()
UIManager:show(InfoMessage:new{
text = _("Downloading may take several minutes…"),
timeout = 3,
})
-- Clear the installed package, as well as the complete/incomplete update download
os.execute("rm " .. self.installed_package)
os.execute("rm " .. self.updated_package .. "*")
-- And then relaunch zsync in full download mode...
UIManager:scheduleIn(1, function()
if OTAManager:zsync(true) == 0 then
UIManager:show(InfoMessage:new{
text = _("KOReader will be updated on next restart."),
})
-- Make it clear that zsync is done
if self.can_pretty_print then
os.execute("./fbink -q -y -7 -pm ' ' ' '")
end
else
-- Make it clear that zsync is done
if self.can_pretty_print then
os.execute("./fbink -q -y -7 -pm ' ' ' '")
end
UIManager:show(ConfirmBox:new{
text = _("Error updating KOReader. Would you like to delete temporary files?"),
ok_callback = function()
os.execute("rm " .. ota_dir .. "ko*")
end,
})
end
end)
end,
choice2_text = _("Abort"),
choice2_callback = function()
os.execute("rm " .. ota_dir .. "ko*")
end,
})
end
end)
end
})
end
end
end
function OTAManager:_buildLocalPackage()
-- TODO: validate the installed package?
local installed_package = self.installed_package
if lfs.attributes(installed_package, "mode") == "file" then
return 0
end
if lfs.attributes(self.package_indexfile, "mode") ~= "file" then
logger.err("Missing ota metadata:", self.package_indexfile)
return nil
end
-- With visual feedback if supported...
if self.can_pretty_print then
os.execute("./fbink -q -y -7 -pmh 'Preparing local OTA package'")
-- We need a vague idea of how much space the tarball we're creating will take to compute a proper percentage...
-- Get the size from the latest zsync package, which'll be a closer match than anything else we might come up with.
local update_file = self:getZsyncFilename()
local local_update_file = ota_dir .. update_file
local tarball_size = nil
local zsync = io.open(local_update_file, "r")
if zsync then
for line in zsync:lines() do
tarball_size = line:match("^Length: (%d*)$")
if tarball_size then break end
end
zsync:close()
end
-- Next, we need to compute the amount of tar blocks that'll take, knowing that tar's default blocksize is 20 * 512 bytes.
-- c.f., https://superuser.com/questions/168749 & http://www.noah.org/wiki/tar_notes
-- Defaults to a sane-ish value as-of now, in case shit happens...
local blocks = 6405
if tarball_size then
blocks = tarball_size / (512 * 20)
end
-- And since we want a percentage, devise the exact value we need for tar to spit out exactly 100 checkpoints ;).
local cpoints = blocks / 100
return os.execute(string.format(
"./tar --no-recursion -cf %s -C .. -T %s --checkpoint=%d --checkpoint-action=exec='./fbink -q -y -6 -P $(($TAR_CHECKPOINT/%d))'",
self.installed_package, self.package_indexfile, cpoints, cpoints))
else
return os.execute(string.format(
"./tar --no-recursion -cf %s -C .. -T %s",
self.installed_package, self.package_indexfile))
end
end
function OTAManager:zsync(full_dl)
if full_dl or self:_buildLocalPackage() == 0 then
local zsync_wrapper = "zsync"
-- With visual feedback if supported...
if self.can_pretty_print then
zsync_wrapper = "spinning_zsync"
end
-- If that's a full-download fallback, drop the input tarball
if full_dl then
return os.execute(
("./%s -o '%s' -u '%s' '%s%s'"):format(
zsync_wrapper,
self.updated_package,
self:getOTAServer(),
ota_dir,
self:getZsyncFilename())
)
else
return os.execute(
("./%s -i '%s' -o '%s' -u '%s' '%s%s'"):format(
zsync_wrapper,
self.installed_package,
self.updated_package,
self:getOTAServer(),
ota_dir,
self:getZsyncFilename())
)
end
end
end
function OTAManager:genServerList()
local servers = {}
for _, server in ipairs(self.ota_servers) do
local server_item = {
text = server,
checked_func = function() return self:getOTAServer() == server end,
callback = function() self:setOTAServer(server) end
}
table.insert(servers, server_item)
end
return servers
end
function OTAManager:genChannelList()
local channels = {}
for _, channel in ipairs(self.ota_channels) do
local channel_item = {
text = ota_channels[channel],
checked_func = function() return self:getOTAChannel() == channel end,
callback = function() self:setOTAChannel(channel) end
}
table.insert(channels, channel_item)
end
return channels
end
function OTAManager:getOTAMenuTable()
return {
text = _("Update"),
hold_callback = function()
if not NetworkMgr:isOnline() then
NetworkMgr:promptWifiOn()
else
OTAManager:fetchAndProcessUpdate()
end
end,
sub_item_table = {
{
text = _("Check for update"),
callback = function()
if not NetworkMgr:isOnline() then
NetworkMgr:promptWifiOn()
else
OTAManager:fetchAndProcessUpdate()
end
end
},
{
text = _("Settings"),
sub_item_table = {
{
text = _("Update server"),
sub_item_table = self:genServerList()
},
{
text = _("Update channel"),
sub_item_table = self:genChannelList()
},
}
},
}
}
end
return OTAManager
| agpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/ship/components/armor/arm_mission_reward_rebel_incom_ultralight.lua | 3 | 2376 | --Copyright (C) 2010 <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
object_tangible_ship_components_armor_arm_mission_reward_rebel_incom_ultralight = object_tangible_ship_components_armor_shared_arm_mission_reward_rebel_incom_ultralight:new {
}
ObjectTemplates:addTemplate(object_tangible_ship_components_armor_arm_mission_reward_rebel_incom_ultralight, "object/tangible/ship/components/armor/arm_mission_reward_rebel_incom_ultralight.iff")
| lgpl-3.0 |
AwfulRanger/TF2Weapons | lua/weapons/tf_weapon_fists.lua | 1 | 2245 | AddCSLuaFile()
SWEP.Slot = 2
SWEP.SlotPos = 0
SWEP.CrosshairType = TF2Weapons.Crosshair.CIRCLE
SWEP.KillIconX = 192
SWEP.KillIconY = 416
SWEP.KillIconW = 64
SWEP.IconOverride = "backpack/weapons/v_models/v_fist_heavy_large"
if CLIENT then SWEP.WepSelectIcon = surface.GetTextureID( SWEP.IconOverride ) end
SWEP.PrintName = "#TF_Weapon_Fists"
SWEP.Author = "AwfulRanger"
SWEP.Category = "Team Fortress 2 - Heavy"
SWEP.Level = 1
SWEP.Type = "#TF_Weapon_Fists"
SWEP.Base = "tf2weapons_base_melee"
SWEP.Classes = { [ TF2Weapons.Class.HEAVY ] = true }
SWEP.Quality = TF2Weapons.Quality.NORMAL
SWEP.Spawnable = true
SWEP.AdminOnly = false
SWEP.ViewModel = Model( "models/weapons/c_models/c_heavy_arms.mdl" )
SWEP.WorldModel = ""
SWEP.HandModel = Model( "models/weapons/c_models/c_heavy_arms.mdl" )
SWEP.HoldType = "fist"
function SWEP:GetAnimations()
return {
idle = "f_idle",
draw = "f_draw",
left = "f_swing_left",
right = "f_swing_right",
crit = "f_swing_crit",
}
end
function SWEP:GetInspect()
return ""
end
SWEP.Attributes = {}
SWEP.Primary.HitDelay = 0.25
SWEP.Primary.Damage = 65
SWEP.Primary.Delay = 0.8
function SWEP:SetVariables()
self.SwingSound = Sound( "weapons/cbar_miss1.wav" )
self.SwingSoundCrit = Sound( "weapons/fist_swing_crit.wav" )
self.HitWorldSound = { Sound( "weapons/fist_hit_world1.wav" ), Sound( "weapons/fist_hit_world2.wav" ) }
self.HitFleshSound = { Sound( "weapons/cbar_hitbod1.wav" ), Sound( "weapons/cbar_hitbod2.wav" ), Sound( "weapons/cbar_hitbod3.wav" ) }
end
SWEP.Secondary.Automatic = true
function SWEP:PrimaryAttack()
if self:CanPrimaryAttack() == false then return end
if game.SinglePlayer() == true then self:CallOnClient( "PrimaryAttack" ) end
local anim = "left"
if self:DoCrit() == true then anim = "crit" end
self:DoPrimaryAttack( anim )
self:SetNextPrimaryFire( CurTime() + self.Primary.Delay )
end
function SWEP:SecondaryAttack()
if self:CanPrimaryAttack() == false then return end
if game.SinglePlayer() == true then self:CallOnClient( "SecondaryAttack" ) end
local anim = "right"
if self:DoCrit() == true then anim = "crit" end
self:DoPrimaryAttack( anim )
self:SetNextPrimaryFire( CurTime() + self.Primary.Delay )
end | mit |
kidaa/Awakening-Core3 | bin/scripts/commands/reconnectToTransferServer.lua | 4 | 2168 | --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
ReconnectToTransferServerCommand = {
name = "reconnecttotransferserver",
}
AddCommand(ReconnectToTransferServerCommand)
| lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/r4_crafted.lua | 3 | 2156 | --Copyright (C) 2010 <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
object_mobile_r4_crafted = object_mobile_shared_r4_crafted:new {
}
ObjectTemplates:addTemplate(object_mobile_r4_crafted, "object/mobile/r4_crafted.iff")
| lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/building/corellia/capitol_corellia.lua | 3 | 2277 | --Copyright (C) 2010 <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
object_building_corellia_capitol_corellia = object_building_corellia_shared_capitol_corellia:new {
gameObjectType = 522,
planetMapCategory = "capitol"
}
ObjectTemplates:addTemplate(object_building_corellia_capitol_corellia, "object/building/corellia/capitol_corellia.iff")
| lgpl-3.0 |
eraffxi/darkstar | scripts/zones/AlTaieu/mobs/Aweuvhi.lua | 2 | 1364 | -----------------------------------
-- Area: AlTaieu
-- MOB: Aw_euvhi
-----------------------------------
package.loaded["scripts/zones/AlTaieu/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/AlTaieu/TextIDs");
require("scripts/zones/AlTaieu/MobIDs");
require("scripts/globals/keyitems");
-----------------------------------
function onMobSpawn(mob)
end;
function onMobEngaged(mob,target)
end;
function onMobDeath(mob, player, isKiller)
local mobID = mob:getID();
if (mobID == EUVHIS_WHITE+0 or mobID == EUVHIS_WHITE+2 or mobID == EUVHIS_WHITE+4) then
if (not player:hasKeyItem(dsp.ki.WHITE_CARD)) then
player:addKeyItem(dsp.ki.WHITE_CARD);
player:messageSpecial(KEYITEM_OBTAINED,dsp.ki.WHITE_CARD);
end
elseif (mobID == EUVHIS_RED+0 or mobID == EUVHIS_RED+2 or mobID == EUVHIS_RED+4) then
if (not player:hasKeyItem(dsp.ki.RED_CARD)) then
player:addKeyItem(dsp.ki.RED_CARD);
player:messageSpecial(KEYITEM_OBTAINED,dsp.ki.RED_CARD);
end
elseif (mobID == EUVHIS_BLACK+0 or mobID == EUVHIS_BLACK+2 or mobID == EUVHIS_BLACK+4) then
if (not player:hasKeyItem(dsp.ki.BLACK_CARD)) then
player:addKeyItem(dsp.ki.BLACK_CARD);
player:messageSpecial(KEYITEM_OBTAINED,dsp.ki.BLACK_CARD);
end
end
end; | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/lair/kaitok/serverobjects.lua | 3 | 2223 | --Copyright (C) 2010 <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
--Children folder includes
-- Server Objects
includeFile("tangible/lair/kaitok/lair_kaitok.lua")
includeFile("tangible/lair/kaitok/lair_kaitok_mountain.lua")
includeFile("tangible/lair/kaitok/lair_kaitok_wasteland.lua")
| lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/building/general/talus_binyare_bunker.lua | 3 | 2240 | --Copyright (C) 2010 <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
object_building_general_talus_binyare_bunker = object_building_general_shared_talus_binyare_bunker:new {
}
ObjectTemplates:addTemplate(object_building_general_talus_binyare_bunker, "object/building/general/talus_binyare_bunker.iff")
| lgpl-3.0 |
houqp/koreader | frontend/apps/cloudstorage/dropbox.lua | 2 | 4734 | local DropBoxApi = require("apps/cloudstorage/dropboxapi")
local ConfirmBox = require("ui/widget/confirmbox")
local InfoMessage = require("ui/widget/infomessage")
local MultiInputDialog = require("ui/widget/multiinputdialog")
local UIManager = require("ui/uimanager")
local ReaderUI = require("apps/reader/readerui")
local Screen = require("device").screen
local T = require("ffi/util").template
local _ = require("gettext")
local DropBox = {}
function DropBox:run(url, password)
return DropBoxApi:listFolder(url, password)
end
function DropBox:downloadFile(item, password, path, close)
local code_response = DropBoxApi:downloadFile(item.url, password, path)
if code_response == 200 then
UIManager:show(ConfirmBox:new{
text = T(_("File saved to:\n %1\nWould you like to read the downloaded book now?"),
path),
ok_callback = function()
close()
ReaderUI:showReader(path)
end
})
else
UIManager:show(InfoMessage:new{
text = T(_("Could not save file to:\n%1"), path),
timeout = 3,
})
end
end
function DropBox:config(item, callback)
local text_info = "How to generate Access Token:\n"..
"1. Open the following URL in your Browser, and log in using your account: https://www.dropbox.com/developers/apps.\n"..
"2. Click on >>Create App<<, then select >>Dropbox API app<<.\n"..
"3. Now go on with the configuration, choosing the app permissions and access restrictions to your DropBox folder.\n"..
"4. Enter the >>App Name<< that you prefer (e.g. KOReader).\n"..
"5. Now, click on the >>Create App<< button.\n" ..
"6. When your new App is successfully created, please click on the Generate button.\n"..
"7. Under the 'Generated access token' section, then enter code in Dropbox token field."
local hint_top = _("Your Dropbox name")
local text_top = ""
local hint_bottom = _("Dropbox token\n\n\n\n ")
local text_bottom = ""
local title
local text_button_right = _("Add")
if item then
title = _("Edit Dropbox account")
text_button_right = _("Apply")
text_top = item.text
text_bottom = item.password
else
title = _("Add Dropbox account")
end
self.settings_dialog = MultiInputDialog:new {
title = title,
fields = {
{
text = text_top,
hint = hint_top ,
},
{
text = text_bottom,
hint = hint_bottom,
scroll = false,
},
},
buttons = {
{
{
text = _("Cancel"),
callback = function()
self.settings_dialog:onClose()
UIManager:close(self.settings_dialog)
end
},
{
text = _("Info"),
callback = function()
UIManager:show(InfoMessage:new{ text = text_info })
end
},
{
text = text_button_right,
callback = function()
local fields = MultiInputDialog:getFields()
if fields[1] ~= "" and fields[2] ~= "" then
if item then
--edit
callback(item, fields)
else
-- add new
callback(fields)
end
self.settings_dialog:onClose()
UIManager:close(self.settings_dialog)
else
UIManager:show(InfoMessage:new{
text = _("Please fill in all fields.")
})
end
end
},
},
},
width = Screen:getWidth() * 0.95,
height = Screen:getHeight() * 0.2,
input_type = "text",
}
UIManager:show(self.settings_dialog)
self.settings_dialog:onShowKeyboard()
end
function DropBox:info(token)
local info = DropBoxApi:fetchInfo(token)
local info_text
if info and info.name then
info_text = T(_"Type: %1\nName: %2\nEmail: %3\nCounty: %4",
"Dropbox",info.name.display_name, info.email, info.country)
else
info_text = _("No information available")
end
UIManager:show(InfoMessage:new{text = info_text})
end
return DropBox
| agpl-3.0 |
NezzKryptic/Wire | lua/entities/gmod_wire_dynamic_button.lua | 5 | 4370 | AddCSLuaFile()
DEFINE_BASECLASS( "base_wire_entity" )
ENT.PrintName = "Wire Dynamic Button"
ENT.WireDebugName = "Dynamic Button"
function ENT:SetupDataTables()
self:NetworkVar( "Bool", 0, "On" )
end
if CLIENT then
local halo_ent, halo_blur
function ENT:Draw()
self:DoNormalDraw(true,false)
if LocalPlayer():GetEyeTrace().Entity == self and EyePos():Distance( self:GetPos() ) < 512 then
if self:GetOn() then
halo_ent = self
halo_blur = 4 + math.sin(CurTime()*20)*2
else
self:DrawEntityOutline()
end
end
Wire_Render(self)
end
hook.Add("PreDrawHalos", "Wiremod_dynbutton_overlay_halos", function()
if halo_ent then
halo.Add({halo_ent}, Color(255,100,100), halo_blur, halo_blur, 1, true, true)
halo_ent = nil
end
end)
return -- No more client
end
ENT.OutputEntID = false
ENT.EntToOutput = NULL
function ENT:Initialize()
self:PhysicsInit( SOLID_VPHYSICS )
self:SetMoveType( MOVETYPE_VPHYSICS )
self:SetSolid( SOLID_VPHYSICS )
self:SetUseType( SIMPLE_USE )
self.Outputs = Wire_CreateOutputs(self, { "Out" })
self.Inputs = Wire_CreateInputs(self, { "Set" })
end
function ENT:TriggerInput(iname, value)
if iname == "Set" then
if (self.toggle) then
self:Switch(value ~= 0)
self.PrevUser = nil
self.podpress = nil
end
end
end
function ENT:Use(ply, caller)
if (not ply:IsPlayer()) then return end
if (self.PrevUser) and (self.PrevUser:IsValid()) then return end
if self.OutputEntID then
self.EntToOutput = ply
end
if (self:GetOn()) then
if (self.toggle) then self:Switch(false) end
return
end
if IsValid(caller) and caller:GetClass() == "gmod_wire_pod" then
self.podpress = true
end
self:Switch(true)
self.PrevUser = ply
end
function ENT:Think()
BaseClass.Think(self)
if self:GetOn() then
if (not self.PrevUser)
or (not self.PrevUser:IsValid())
or (not self.podpress and not self.PrevUser:KeyDown(IN_USE))
or (self.podpress and not self.PrevUser:KeyDown( IN_ATTACK )) then
if (not self.toggle) then
self:Switch(false)
end
self.PrevUser = nil
self.podpress = nil
end
self:NextThink(CurTime()+0.05)
return true
end
end
function ENT:Setup(toggle, value_on, value_off, description, entityout, material_on, material_off, on_r, on_g, on_b, off_r, off_g, off_b )
self.toggle = toggle
self.value_off = value_off
self.value_on = value_on
self.Value = value_off
self.entityout = entityout
self.material_on = material_on
self.material_off = material_off
self:SetOn( false )
self.on_r = on_r
self.on_g = on_g
self.on_b = on_b
self.off_r = off_r
self.off_g = off_g
self.off_b = off_b
self:ShowOutput(self.value_off)
Wire_TriggerOutput(self, "Out", self.value_off)
self:SetMaterial(self.material_off)
self:SetColor(Color(self.off_r, self.off_g, self.off_b, 255))
if entityout then
WireLib.AdjustSpecialOutputs(self, { "Out", "EntID" , "Entity" }, { "NORMAL", "NORMAL" , "ENTITY" })
Wire_TriggerOutput(self, "EntID", 0)
Wire_TriggerOutput(self, "Entity", nil)
self.OutputEntID=true
else
Wire_AdjustOutputs(self, { "Out" })
self.OutputEntID=false
end
if toggle then
Wire_AdjustInputs(self, { "Set" })
else
Wire_AdjustInputs(self, {})
end
end
function ENT:Switch(on)
if (not self:IsValid()) then return end
self:SetOn( on )
if (on) then
self:ShowOutput(self.value_on)
self.Value = self.value_on
if self.material_on ~= "" then self:SetMaterial(self.material_on) end
self:SetColor(Color(self.on_r, self.on_g, self.on_b, 255))
else
self:ShowOutput(self.value_off)
self.Value = self.value_off
if self.material_off ~= "" then self:SetMaterial(self.material_off) end
self:SetColor(Color(self.off_r, self.off_g, self.off_b, 255))
if self.OutputEntID then self.EntToOutput = NULL end
end
Wire_TriggerOutput(self, "Out", self.Value)
if self.OutputEntID then
Wire_TriggerOutput(self, "EntID", self.EntToOutput:EntIndex())
Wire_TriggerOutput(self, "Entity", self.EntToOutput)
end
return true
end
function ENT:ShowOutput(value)
self:SetOverlayText( "(" .. self.value_off .. " - " .. self.value_on .. ") = " .. value )
end
duplicator.RegisterEntityClass("gmod_wire_dynamic_button", WireLib.MakeWireEnt, "Data", "toggle", "value_on", "value_off", "description", "entityout", "material_on", "material_off", "on_r", "on_g", "on_b", "off_r", "off_g", "off_b" )
| apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.