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
kidaa/Awakening-Core3
bin/scripts/object/tangible/food/crafted/dish_fried_endwa.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 versio...
lgpl-3.0
FerdinandoLM/telegram-bot
plugins/youtube.lua
4
1040
do local BASE_URL = 'http://gdata.youtube.com/feeds/api/' function get_yt_data (yt_code) local url = BASE_URL..'/videos/'..yt_code..'?v=2&alt=jsonc' local res,code = http.request(url) if code ~= 200 then return "HTTP ERROR" end local data = json:decode(res).data return data end function send_youtube_data(...
gpl-2.0
kidaa/Awakening-Core3
bin/scripts/object/tangible/loot/quest/hero_of_tatooine/serverobjects.lua
3
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 versio...
lgpl-3.0
Richard857/BadRotations
System/Libs/LibRangeCheck-2.0/LibRangeCheck-2.0.lua
6
32636
--[[ Name: LibRangeCheck-2.0 Revision: $Revision: 168 $ Author(s): mitch0 Website: http://www.wowace.com/projects/librangecheck-2-0/ Description: A range checking library based on interact distances and spell ranges Dependencies: LibStub License: Public Domain ]] --- LibRangeCheck-2.0 provides an easy way to check for...
gpl-3.0
kidaa/Awakening-Core3
bin/scripts/mobile/corellia/corsec_captain.lua
1
1170
corsec_captain = Creature:new { objectName = "@mob/creature_names:corsec_captain", socialGroup = "corsec", pvpFaction = "corsec", faction = "corsec", level = 22, chanceHit = 0.35, damageMin = 210, damageMax = 220, baseXp = 2219, baseHAM = 5900, baseHAMmax = 7200, armor = 0, resists = {10,10,10,10,10,10,10,...
lgpl-3.0
digicoop/kaiwa-server
modules/mod_turncredentials.lua
36
1415
-- XEP-0215 implementation for time-limited turn credentials -- Copyright (C) 2012-2013 Philipp Hancke -- This file is MIT/X11 licensed. local st = require "util.stanza"; local hmac_sha1 = require "util.hashes".hmac_sha1; local base64 = require "util.encodings".base64; local os_time = os.time; local secret = module:ge...
mit
kidaa/Awakening-Core3
bin/scripts/object/tangible/wearables/shoes/shoes_s02.lua
3
4404
--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 versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/mobile/townsperson/businessman.lua
1
2639
businessman = Creature:new { objectName = "@mob/creature_names:businessman", generateRandomName =true, socialGroup = "townsperson", pvpFaction = "townsperson", faction = "townsperson", level = 4, chanceHit = 0.24, damageMin = 40, damageMax = 45, baseXp = 62, baseHAM = 113, baseHAMmax = 138, armor = 0, res...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/weapon/ranged/pistol/pistol_dx2.lua
2
6173
--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 versio...
lgpl-3.0
eraffxi/darkstar
scripts/globals/mobskills/colossal_blow.lua
2
1053
--------------------------------------------------- -- Colossal_Blow -- Deals damage to a single target. -- --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); -------------------------------------------...
gpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/tangible/ship/components/booster/bst_mandal_jbj_mk5.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 versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/tangible/hair/rodian/hair_rodian_female_s16.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 versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/building/general/parking_garage_general.lua
2
2273
--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 versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/screenplays/tasks/ajuva_vanasterin.lua
1
1753
ajuva_vanasterin_missions = { { missionType = "deliver", primarySpawns = { { npcTemplate = "jinderliss_prason", planetName = "rori", npcName = "Jinderliss Prason" } }, secondarySpawns = { }, itemSpawns = { { itemTemplate = "object/tangible/mission/quest_item/ajuva_vamasterin_q1_needed.iff",...
lgpl-3.0
upsoft/avbot
extension/luascript/libs/luascript/rss.lua
3
2534
require("curl") --require("LuaXML") --require("bit") --require("lanes") sites={} sites["mydrivers"]="http://rss.mydrivers.com/rss.aspx?Tid=1" sites["solidot"]="http://feeds.feedburner.com/solidot" function rss(msg,msg_time,buddy_name,buddy_num,qun_name,qun_num) if string.match(msg,"^%.rss")==nil then return end co...
agpl-3.0
eraffxi/darkstar
scripts/zones/Cloister_of_Gales/bcnms/trial-size_trial_by_wind.lua
7
2123
----------------------------------- -- Area: Cloister of Gales -- BCNM: Trial-size Trial by Wind -- @zone -361 1 -381 201 ----------------------------------- package.loaded["scripts/zones/Cloister_of_Gales/TextIDs"] = nil; ------------------------------------- require("scripts/globals/shop"); require("scripts/globals/...
gpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/creature/npc/base/ithorian_base_male.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 versio...
lgpl-3.0
eraffxi/darkstar
scripts/zones/Temenos/mobs/Thunder_Elemental.lua
2
1782
----------------------------------- -- Area: Temenos E T -- NPC: Thunder_Elemental ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); -------------------------------...
gpl-3.0
kidaa/Awakening-Core3
bin/scripts/mobile/corellia/meatlump_stooge.lua
1
1905
meatlump_stooge = Creature:new { objectName = "@mob/creature_names:meatlump_stooge", socialGroup = "meatlump", pvpFaction = "meatlump", faction = "meatlump", level = 7, chanceHit = 0.260000, damageMin = 55, damageMax = 65, baseXp = 187, baseHAM = 270, baseHAMmax = 330, armor = 0, resists = {0,0,0,0,0,0,0,-...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/mobile/dressed_noble_human_male_01.lua
3
2224
--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 versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/building/poi/tatooine_jawa_tradesmen_camp_medium1.lua
1
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 versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/mobile/dressed_bth_spynet_pilot_m_02.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 versio...
lgpl-3.0
eraffxi/darkstar
scripts/globals/spells/aspir.lua
2
1696
----------------------------------------- -- Spell: Aspir -- Drain functions only on skill level!! ----------------------------------------- require("scripts/globals/magic"); require("scripts/globals/status"); require("scripts/globals/msg"); ----------------------------------------- function onMagicCastingCheck(caster...
gpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/tangible/wearables/robe/robe_jedi_dark_s04.lua
1
3561
--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 versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/tangible/medicine/crafted/medpack_poison_area_action_c.lua
1
3377
--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 versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/static/structure/tatooine/objects.lua
3
116041
--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. ...
lgpl-3.0
eraffxi/darkstar
scripts/globals/weaponskills/last_stand.lua
2
1864
----------------------------------- -- Last Stand -- Skill Level: 357 -- Description: Attacks once or twice, depending on remaining ammunition. Damage dealt varies with TP. -- If the first shot of the weapon skill does enough damage to defeat the target, the second shot will not be used. -- To obtain Last Stand, the qu...
gpl-3.0
russakkyo/GitHub
src/scripts/lua/Lua/0Misc/0LCF_Includes/LCF_Gameobject.lua
18
2928
--[[ * ArcEmu MMORPG Server * Copyright (C) 2005-2007 Ascent Team <http://www.ascentemu.com/> * Copyright (C) 2008-2010 <http://www.ArcEmu.org/> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Softwa...
agpl-3.0
kidaa/Awakening-Core3
bin/scripts/mobile/rori/rorgungan_boss.lua
1
1124
rorgungan_boss = Creature:new { objectName = "@mob/creature_names:rorgungan_boss", socialGroup = "rorgungan", pvpFaction = "rorgungan", faction = "rorgungan", level = 22, chanceHit = 0.330000, damageMin = 190, damageMax = 200, baseXp = 2006, baseHAM = 5000, baseHAMmax = 6100, armor = 0, resists = {25,25,0,...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/ship/player/player_blacksun_light_s01.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 versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/tangible/lair/laa/serverobjects.lua
3
2151
--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 versio...
lgpl-3.0
eraffxi/darkstar
scripts/zones/Port_San_dOria/npcs/Answald.lua
2
1169
----------------------------------- -- Area: Port San d'Oria -- NPC: Answald -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Northern_San_dOria/TextIDs"); require("scripts/globals/quest...
gpl-3.0
Whit3Tig3R/telegrambot2
plugins/qr.lua
637
1730
--[[ * qr plugin uses: * - http://goqr.me/api/doc/create-qr-code/ * psykomantis ]] local function get_hex(str) local colors = { red = "f00", blue = "00f", green = "0f0", yellow = "ff0", purple = "f0f", white = "fff", black = "000", gray = "ccc" } for color, value in pairs(colors)...
gpl-2.0
kidaa/Awakening-Core3
bin/scripts/object/draft_schematic/item/component/serverobjects.lua
3
2528
--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 versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/tangible/space/special_loot/objects.lua
3
19412
--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. ...
lgpl-3.0
isdom/kong
kong/plugins/hmac-auth/api.lua
5
1529
local crud = require "kong.api.crud_helpers" return{ ["/consumers/:username_or_id/hmac-auth/"] = { before = function(self, dao_factory, helpers) crud.find_consumer_by_username_or_id(self, dao_factory, helpers) self.params.consumer_id = self.consumer.id end, GET = function(self, dao_factory, ...
apache-2.0
kidaa/Awakening-Core3
bin/scripts/object/soundobject/soundobject_cantina_small.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 versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/mobile/dressed_spice_collective_miner_human_female_01.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 versio...
lgpl-3.0
NezzKryptic/Wire
lua/wire/gates/string.lua
5
9975
--[[ String gates ! :P ]] local MAX_LEN = 1024*1024 -- max string length of 1MB GateActions("String") GateActions["string_ceq"] = { name = "Equal", inputs = { "A" , "B" }, inputtypes = { "STRING" , "STRING" }, output = function(gate, A, B) if A == B then return 1 else return 0 end end, label = function(Ou...
apache-2.0
eraffxi/darkstar
scripts/zones/Port_Bastok/npcs/Ensetsu.lua
2
2876
----------------------------------- -- Area: Port Bastok -- NPC: Ensetsu -- Finish Quest: Ayame and Kaede -- Involved in Quest: 20 in Pirate Years, I'll Take the Big Box -- !pos 33 -6 67 236 ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ---------------------------------...
gpl-3.0
kidaa/Awakening-Core3
bin/scripts/commands/healthShot2.lua
1
2678
--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. ...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/mobile/pigmy_pugoriss.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 versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/screenplays/caves/talus_giant_fynock_cave.lua
1
9173
TalusGiantFynockCaveScreenPlay = ScreenPlay:new { numberOfActs = 1, screenplayName = "TalusGiantFynockCaveScreenPlay", lootContainers = { 7955671, 7955670, 7955663, 7955708, 7955728, 7955686 }, lootLevel = 25, lootGroups = { { ...
lgpl-3.0
eraffxi/darkstar
scripts/globals/items/caestus.lua
2
2073
----------------------------------------- -- ID: 18263 -- Item: Caestus ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/msg"); require("scripts/globals/weaponskills"); require("scripts/globals/weaponskillids"); ----------------------------------- local NAME_WEAPONS...
gpl-3.0
kidaa/Awakening-Core3
bin/scripts/commands/insertItemIntoShipComponentSlot.lua
4
2186
--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. ...
lgpl-3.0
eraffxi/darkstar
scripts/globals/weaponskills/blade_to.lua
2
1288
----------------------------------- -- Blade To -- Katana weapon skill -- Skill Level: 100 -- Deals ice elemental damage. Damage varies with TP. -- Aligned with the Snow Gorget & Breeze Gorget. -- Aligned with the Snow Belt & Breeze Belt. -- Element: Ice -- Modifiers: STR:30% ; INT:30% -- 100%TP 200%TP 300%TP -- ...
gpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/tangible/wearables/ithorian/ith_pants_s08.lua
3
3451
--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 versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/screenplays/caves/tatooine_hutt_hideout.lua
3
6260
HuttHideoutScreenPlay = ScreenPlay:new { numberOfActs = 1, screenplayName = "HuttHideoutScreenPlay", lootContainers = { 134411, 8496263, 8496262, 8496261, 8496260 }, lootLevel = 26, lootGroups = { { groups = { {group = "color_crystals", chance = 200000}, {group = "junk", chance = 76...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/tangible/ship/components/booster/bst_corellian_promotional_standard_thrust_enhancer.lua
3
2420
--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 versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/mobile/faction/rebel/crackdown_rebel_guard_captain.lua
1
1615
crackdown_rebel_guard_captain = Creature:new { objectName = "@mob/creature_names:crackdown_rebel_guard_captain", socialGroup = "rebel", pvpFaction = "rebel", faction = "rebel", level = 1, chanceHit = 0.36, damageMin = 240, damageMax = 250, baseXp = 45, baseHAM = 7200, baseHAMmax = 8800, armor = 0, resists ...
lgpl-3.0
airstruck/luigi
luigi/multiline.lua
3
1586
local Multiline = {} function Multiline.wrap (font, text, limit) local lines = {{ width = 0 }} local advance = 0 local lastSpaceAdvance = 0 local function append (word, space) local wordAdvance = font:getAdvance(word) local spaceAdvance = font:getAdvance(space) local words = li...
mit
kidaa/Awakening-Core3
bin/scripts/object/tangible/lair/snorbal_hill/serverobjects.lua
3
2112
--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 versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/tangible/mission/quest_item/nurla_slinthiss_q3_needed.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 versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/building/poi/lok_imperial_large5.lua
1
2216
--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 versio...
lgpl-3.0
JulianSchutsch/FuPower
fuconstruction/prototype/item.lua
1
1261
require "config" local function createAlienConstructionRobotItem() data:extend( { { type = "item", name = "fusion-construction-robot", icon = "__fupower__/graphics/icons/fusion-construction-robot.png", flags = {"goes-to-quickbar"}, subgroup = "fusion-robots", place_result = ...
mit
kidaa/Awakening-Core3
bin/scripts/object/tangible/loot/bestine/bestine_painting_schematic_golden_flower_01.lua
1
2348
--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 versio...
lgpl-3.0
eraffxi/darkstar
scripts/globals/weaponskills/one_inch_punch.lua
25
1590
----------------------------------- -- One Inch Punch -- Hand-to-Hand weapon skill -- Skill level: 75 -- Delivers an attack that ignores target's defense. Amount ignored varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Shadow Gorget. -- Aligned with the Shadow Belt. -- Element: None -- Modifiers: VI...
gpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/mobile/dressed_tatooine_valarian_thug.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 versio...
lgpl-3.0
houqp/koreader
frontend/ui/elements/refresh_menu_table.lua
1
2743
local UIManager = require("ui/uimanager") local util = require("ffi/util") local _ = require("gettext") local function custom_1() return G_reader_settings:readSetting("refresh_rate_1") or 12 end local function custom_2() return G_reader_settings:readSetting("refresh_rate_2") or 22 end local function custom_3() retur...
agpl-3.0
iosengineer/spidermod
lua/autorun/sm_client.lua
1
5906
--SpiderMod Addon clientside code --Author: ancientevil --Contact: facepunch.com --Date: 16th May 2009 --Purpose: The clientside magic of Spidermod. --the server runs this file (in shared) just to send it out to everyone if SERVER then AddCSLuaFile("sm_client.lua") return end --hooks --draw the jump charge in...
mit
kidaa/Awakening-Core3
bin/scripts/object/mobile/dressed_carbine_trainer_02.lua
2
2274
--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 versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/mobile/ikopi_hue.lua
3
2152
--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 versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/tangible/loot/collectible/collectible_parts/orange_rug_thread_02.lua
3
2344
--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 versio...
lgpl-3.0
eraffxi/darkstar
scripts/zones/Dynamis-Qufim/mobs/Antaeus.lua
2
1855
----------------------------------- -- Area: Dynamis Qufim -- MOB: Antaeus ----------------------------------- package.loaded["scripts/zones/Dynamis-Qufim/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Dynamis-Qufim/TextIDs"); require("scripts/globals/keyitems"); require("scripts/globals/d...
gpl-3.0
palmettos/cnLuCI
modules/admin-mini/luasrc/controller/mini/index.lua
79
1429
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at h...
apache-2.0
Creedsteam/SuperCreed
plugins/info_rank.lua
2
8222
do local MKH = 239350998--put your id here(BOT OWNER ID) local function setrank(msg, name, value) -- setrank function local hash = nil if msg.to.type == 'channel' then hash = 'rank:variables' end if hash then redis:hset(hash, name, value) return send_msg('channel#id'..msg.to.id, 'User rank ('..name.....
agpl-3.0
eraffxi/darkstar
scripts/zones/Windurst_Woods/npcs/Peshi_Yohnts.lua
2
1720
----------------------------------- -- Area: Windurst Woods -- NPC: Peshi Yohnts -- Type: Bonecraft Guild Master -- !pos -6.175 -6.249 -144.667 241 ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Windurst_Woods...
gpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/tangible/ship/crafted/engine/engine_limiter_mk1.lua
1
2762
--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 versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/mobile/corellia/lord_nyax.lua
1
1175
lord_nyax = Creature:new { objectName = "@mob/creature_names:lord_nyax", socialGroup = "followers_of_lord_nyax", pvpFaction = "followers_of_lord_nyax", faction = "followers_of_lord_nyax", level = 129, chanceHit = 4.9, damageMin = 775, damageMax = 1260, baseXp = 12235, baseHAM = 51000, baseHAMmax = 62000, ar...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/tangible/dungeon/corellian_corvette/corvette_search_rebel_destroy_01.lua
3
2360
--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 versio...
lgpl-3.0
elihugarret/Curso-AI
AV/agent_termites.lua
1
1993
local field2D = require "field2D" local draw2D = require "draw2D" math.randomseed(os.time()) local dimx = 200 local dimy = dimx * 3/4 local chips = field2D(dimx, dimy) -- try running this at 1000: local iterations = 1 -- about 50-100 works well: local numtermites = 1 -- initialize woodchips: chips:set(function() i...
mit
eraffxi/darkstar
scripts/zones/Qulun_Dome/npcs/Magicite.lua
2
1195
----------------------------------- -- Area: Qulun Dome -- NPC: Magicite -- Involved in Mission: Magicite -- !pos 11 25 -81 148 ----------------------------------- package.loaded["scripts/zones/Qulun_Dome/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/zones/Q...
gpl-3.0
LuaDist2/lrexlib-oniguruma
test/common_sets.lua
9
14050
-- See Copyright Notice in the file LICENSE -- This file should contain only test sets that behave identically -- when being run with pcre or posix regex libraries. local luatest = require "luatest" local N = luatest.NT local unpack = unpack or table.unpack local function norm(a) return a==nil and N or a end local ...
mit
isdom/kong
spec/plugins/rate-limiting/schema_spec.lua
10
1279
local schemas = require "kong.dao.schemas_validation" local validate_entity = schemas.validate_entity local plugin_schema = require "kong.plugins.rate-limiting.schema" describe("Rate Limiting schema", function() it("should be invalid when no config is being set", function() local config = {} local valid, _...
apache-2.0
kidaa/Awakening-Core3
bin/scripts/object/draft_schematic/clothing/clothing_ith_jacket_field_07.lua
2
3473
--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 versio...
lgpl-3.0
Nevon/Hamurabi
lib/AnAL.lua
3
5879
--[[ Copyright (c) 2009-2010 Bart Bes Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute,...
mit
NezzKryptic/Wire
lua/wire/stools/vthruster.lua
3
8481
WireToolSetup.setCategory( "Physics/Force" ) WireToolSetup.open( "vthruster", "Vector Thruster", "gmod_wire_vectorthruster", nil, "Vector Thrusters" ) if ( CLIENT ) then language.Add( "Tool.wire_vthruster.name", "Vector Thruster Tool (Wire)" ) language.Add( "Tool.wire_vthruster.desc", "Spawns a vector thruster for u...
apache-2.0
eraffxi/darkstar
scripts/zones/Windurst_Waters/npcs/Churano-Shurano.lua
2
1024
----------------------------------- -- Area: Windurst Waters -- NPC: Churano-Shurano -- Working 100% ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); ----------------------------------- function onTrade(player,npc,trade) end; function onTrigger(player,npc)...
gpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/tangible/wearables/armor/kashyyykian_ceremonial/armor_kashyyykian_ceremonial_leggings.lua
1
4092
--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 versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/mobile/faction/imperial/imperial_first_lieutenant.lua
1
1457
imperial_first_lieutenant = Creature:new { objectName = "@mob/creature_names:imperial_first_lieutenant", socialGroup = "imperial", pvpFaction = "imperial", faction = "imperial", level = 20, chanceHit = 0.33, damageMin = 190, damageMax = 200, baseXp = 1803, baseHAM = 5000, baseHAMmax = 6100, armor = 0, resi...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/tangible/deed/event_perk/universe_flags_theater.lua
1
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 versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/static/item/wp_mle_sword_lightsaber_andael.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 versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/tangible/deed/pet_deed/deed_surgical_advanced_basic.lua
1
4107
--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 versio...
lgpl-3.0
widelands/widelands
data/tribes/workers/atlanteans/forester/init.lua
1
1680
push_textdomain("tribes") dirname = path.dirname(__file__) wl.Descriptions():new_worker_type { name = "atlanteans_forester", -- TRANSLATORS: This is a worker name used in lists of workers descname = pgettext("atlanteans_worker", "Forester"), animation_directory = dirname, icon = dirname .. "menu.png", ...
gpl-2.0
AwfulRanger/TF2Weapons
lua/weapons/tf2weapons_base.lua
1
65285
AddCSLuaFile() if CLIENT then include( "tf2weapons/mount.lua" ) end game.AddParticles( "particles/muzzle_flash.pcf" ) SWEP.TF2Weapon = true SWEP.ClassBases = {} SWEP.Weight = 5 SWEP.AutoSwitchTo = true SWEP.AutoSwitchFrom = true SWEP.Slot = 0 SWEP.SlotPos = 0 SWEP.BobScale = 1 SWEP.SwayScale = 0 SWEP.BounceWeap...
mit
eraffxi/darkstar
scripts/zones/LaLoff_Amphitheater/bcnms/ark_angels_2.lua
2
3206
----------------------------------- -- Area: LaLoff Amphitheater -- Name: Ark Angels 2 (Tarutaru) ----------------------------------- package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil; ----------------------------------- require("scripts/zones/LaLoff_Amphitheater/TextIDs"); require("scripts/globals/miss...
gpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/weapon/melee/sword/crafted_saber/sword_lightsaber_one_handed_s5_gen2.lua
1
6196
--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 versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/tangible/component/food/secrets/secret_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 versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/draft_schematic/community_crafting/component/objects.lua
3
23189
--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. ...
lgpl-3.0
meshr-net/meshr_tomato-RT-N
usr/lib/lua/luci/i18n.lua
2
3223
--[[ LuCI - Internationalisation Description: A very minimalistic but yet effective internationalisation module FileId: $Id: i18n.lua 9520 2012-12-02 13:30:46Z jow $ License: Copyright 2008 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file ex...
apache-2.0
kidaa/Awakening-Core3
bin/scripts/loot/items/wearables/bandolier/bandolier_s08.lua
4
1172
bandolier_s08 = { -- Dark Sash minimumLevel = 0, maximumLevel = -1, customObjectName = "", directObjectTemplate = "object/tangible/wearables/bandolier/bandolier_s08.iff", craftingValues = {}, skillMods = {}, customizationStringNames = {"/private/index_color_1","/private/index_color_2"}, ...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/static/structure/naboo/streetlamp_naboo_theed_style_1.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 versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/intangible/ship/blacksun_light_s04_pcd.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 versio...
lgpl-3.0
widelands/widelands
data/tribes/initialization/frisians/units.lua
1
114487
descriptions = wl.Descriptions() -- TODO(matthiakl): only for savegame compatibility with 1.0, do not use. image_dirname = path.dirname(__file__) .. "images/" push_textdomain("tribes_encyclopedia") -- For formatting time strings include "tribes/scripting/help/time_strings.lua" wl.Descriptions():new_tribe { name ...
gpl-2.0
kidaa/Awakening-Core3
bin/scripts/mobile/dantooine/janta_primalist.lua
1
1076
janta_primalist = Creature:new { objectName = "@mob/creature_names:janta_primalist", socialGroup = "janta_tribe", pvpFaction = "janta_tribe", faction = "janta_tribe", level = 42, chanceHit = 0.47, damageMin = 405, damageMax = 520, baseXp = 4097, baseHAM = 9700, baseHAMmax = 11900, armor = 1, resists = {-1,...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/draft_schematic/bio_engineer/bio_component/bio_component_clothing_casual_taming.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 versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/tangible/painting/painting_smoking_ad.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 versio...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/object/tangible/lair/torton/lair_torton_grassland.lua
2
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 versio...
lgpl-3.0
NezzKryptic/Wire
lua/wire/timedpairs.lua
17
3271
-- Timedpairs by Grocel. (Rewrite by Divran) -- It allows you to go through long tables, but without game freezing. -- Its like a for-pairs loop. -- -- How to use: -- WireLib.Timedpairs(string unique name, table, number ticks done at once, function tickcallback[, function endcallback, ...]) -- -- tickcallback is called...
apache-2.0
kidaa/Awakening-Core3
bin/scripts/mobile/faction/imperial/crackdown_stormtrooper_sniper.lua
1
1411
crackdown_stormtrooper_sniper = Creature:new { objectName = "@mob/creature_names:crackdown_stormtrooper_sniper", socialGroup = "imperial", pvpFaction = "imperial", faction = "imperial", level = 1, chanceHit = 0.36, damageMin = 250, damageMax = 260, baseXp = 45, baseHAM = 6800, baseHAMmax = 8300, armor = 0, ...
lgpl-3.0