repo_name
stringlengths
6
69
path
stringlengths
6
178
copies
stringclasses
278 values
size
stringlengths
4
7
content
stringlengths
671
917k
license
stringclasses
15 values
jyggen/lua-parser
tests/Fixtures/87/8c/40/72fbc0f6ae905393bea780f151704d06ad9ab02b8d3ca11c4e91042d6e.lua
1
79552
GrailDatabase = { ["silent"] = true, ["delayEvents"] = true, ["NewQuests"] = { [36690] = { "K1002 A:78323", -- [1] "74/16/15/0", -- [2] 20574, -- [3] ["enUS"] = "Assault on Lost Veil Anzu", }, [35389] = { "T:81216", -- [1] "74/16/15/0", -- [2] 20574, -- [3] ["enUS"] = "N...
mit
newbots/botfire
plugins/ingroup.lua
50
48862
do -- Check Member local function check_member_autorealm(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local msg = cb_extra.msg for k,v in pairs(result.members) do local member_id = v.id if member_id ~= our_id then -- Group configuration data[tostr...
gpl-2.0
openwayne/chaos_theory
mods/animalmaterials/mob_environments/general_env_sets.lua
3
1202
------------------------------------------------------------------------------- -- Mob Framework Mod by Sapier -- -- You may copy, use, modify or do nearly anything except removing this -- copyright notice. -- And of course you are NOT allow to pretend you have written it. -- --! @file flight_1.lua --! @brief a environ...
lgpl-2.1
openwayne/chaos_theory
mods/nssm/mobs/octopus.lua
1
2290
mobs:register_mob("nssm:octopus", { type = "monster", hp_max = 32, hp_min = 25, collisionbox = {-0.9, -0.5, -0.9, 0.9, 0.92, 0.9}, visual = "mesh", mesh = "octopus.x", textures = {{"octopus.png"}}, visual_size = {x=4, y=4}, view_range = 25, fly = true, fly_in = "default:water_source", fall_speed = -20, wal...
lgpl-2.1
shingenko/darkstar
scripts/zones/Bastok_Mines/npcs/Titus.lua
56
1742
----------------------------------- -- Area: Bastok Mines -- NPC: Titus -- Alchemy Synthesis Image Support ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("scripts/globals/crafting"); require...
gpl-3.0
shingenko/darkstar
scripts/globals/items/sandfish.lua
18
1318
----------------------------------------- -- ID: 4291 -- Item: sandfish -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 3 -- Mind -5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemChec...
gpl-3.0
TheAncientGoat/GodheadLips
data/godhead/scripts/content/enemies.lua
1
13049
require "content/feats" require "content/species" Species{ name = "brigand", base = "aer", categories = {"enemy"}, difficulty = 0.5, factions = {"evil"}, eye_style = "random", hair_style = "random", inventory_items = {"iron sword", "leather top", "leather pants", "leather leggings"}, loot_categories = {"armor...
gpl-3.0
shingenko/darkstar
scripts/zones/PsoXja/npcs/_09e.lua
17
1614
----------------------------------- -- Area: Pso'Xja -- NPC: _09e (Stone Gate) -- Notes: Spawns Gargoyle when triggered -- @pos -330.000 14.074 -261.600 9 ----------------------------------- package.loaded["scripts/zones/PsoXja/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Pso...
gpl-3.0
shingenko/darkstar
scripts/zones/Upper_Jeuno/npcs/Rhea_Myuliah.lua
19
1892
----------------------------------- -- Area: Upper Jeuno -- NPC: Rhea Myuliah -- Type: Standard NPC -- @zone: 244 -- @pos -56.220 -1 101.805 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; ---------------...
gpl-3.0
wagonrepairer/Zero-K
effects/blood_explode.lua
25
1823
-- blood_explode return { ["blood_explode"] = { pop = { air = true, class = [[CSimpleParticleSystem]], ground = true, count = 5, properties = { airdrag = .97, colormap = [[0.5 0.4 0.4 0.3 0 0...
gpl-2.0
shingenko/darkstar
scripts/zones/Oldton_Movalpolos/npcs/Twinkbrix.lua
19
2019
----------------------------------- -- Area: Oldton Movalpolos -- NPC: Twinkbrix -- Type: Warp NPC -- @pos -292.779 6.999 -263.153 11 ----------------------------------- package.loaded["scripts/zones/Oldton_Movalpolos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); requir...
gpl-3.0
bgrozev/jitsi-meet
resources/prosody-plugins/ext_events.lib.lua
3
1885
-- invite will perform the trigger for external call invites. -- This trigger is left unimplemented. The implementation is expected -- to be specific to the deployment. local function invite(stanza, url, call_id) module:log( "warn", "A module has been configured that triggers external events." )...
apache-2.0
Illarion-eV/Illarion-Content
content/salaveshDungeon.lua
1
2600
--[[ Illarion Server 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 Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it wi...
agpl-3.0
obsy/luci
applications/luci-app-radvd/luasrc/model/cbi/radvd/route.lua
61
2294
-- Copyright 2010 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local sid = arg[1] local utl = require "luci.util" m = Map("radvd", translatef("Radvd - Route"), translate("Radvd is a router advertisement daemon for IPv6. " .. "It listens to router solicitations and sends...
apache-2.0
ckjong/gentrify
Gentrify Lua/libraries/loveframes/libraries/debug.lua
19
3540
--[[------------------------------------------------ -- Love Frames - A GUI library for LOVE -- -- Copyright (c) 2012-2014 Kenny Shields -- --]]------------------------------------------------ -- get the current require path local path = string.sub(..., 1, string.len(...) - string.len(".debug")) local loveframes = r...
gpl-3.0
sujeet14108/luci
modules/luci-base/luasrc/model/network.lua
30
33786
-- Copyright 2009-2015 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local type, next, pairs, ipairs, loadfile, table = type, next, pairs, ipairs, loadfile, table local tonumber, tostring, math = tonumber, tostring, math local require = require local nxo = require "nixio...
apache-2.0
MNKgod/darkstar
scripts/globals/items/dried_date_+1.lua
35
1357
----------------------------------------- -- ID: 5574 -- Item: dried_date_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 12 -- Magic 22 -- Agility -1 -- Intelligence 4 ----------------------------------------- require("scripts/globals/status"); -------------------...
gpl-3.0
MNKgod/darkstar
scripts/globals/spells/bluemagic/sprout_smack.lua
18
1894
----------------------------------------- -- Spell: Sprout Smack -- Additional effect: Slow. Duration of effect varies with TP -- Spell cost: 6 MP -- Monster Type: Plantoids -- Spell Type: Physical (Blunt) -- Blue Magic Points: 2 -- Stat Bonus: MND+1 -- Level: 4 -- Casting Time: 0.5 seconds -- Recast Time: 7....
gpl-3.0
MNKgod/darkstar
scripts/zones/Windurst_Woods/npcs/Orlaine.lua
28
2049
----------------------------------- -- Area: Windurst Woods -- NPC: Orlaine -- Chocobo Vendor ----------------------------------- require("scripts/globals/chocobo"); require("scripts/globals/keyitems"); require("scripts/globals/settings"); require("scripts/globals/status"); --------------------------------...
gpl-3.0
MNKgod/darkstar
scripts/commands/delcurrency.lua
26
1367
--------------------------------------------------------------------------------------------------- -- func: @delcurrency <currency type> <amount> <target player> -- desc: Removes the specified currency from the player --------------------------------------------------------------------------------------------------...
gpl-3.0
syj2010syj/project_index_v2.0_editor
Lua/H001.lua
1
22070
HeroName[1] = "神裂火织" HeroMain[1] = "敏捷" HeroType[1] = |Ekee| RDHeroType[1] = |h011| IllHeroType[1] = |E035| HeroTypePic[1] = "ReplaceableTextures\\CommandButtons\\BTNSLHZ.blp" HeroSize[1] = 1.1 LearnSkillId = {|A13T|, |A13U|, |A13V|, |A13W|} --圣能 local Point = function(...
apache-2.0
MNKgod/darkstar
scripts/zones/Riverne-Site_B01/npcs/Unstable_Displacement.lua
35
1068
----------------------------------- -- Area: Riverne Site #B01 -- NPC: Unstable Displacement -- ENM Battlefield ----------------------------------- package.loaded["scripts/zones/Riverne-Site_B01/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/R...
gpl-3.0
ejoncas/kong
kong/dao/cassandra/query_builder.lua
20
7449
local _M = {} local function trim(s) return (s:gsub("^%s*(.-)%s*$", "%1")) end local function select_fragment(column_family, select_columns) if select_columns then assert(type(select_columns) == "table", "select_columns must be a table") select_columns = table.concat(select_columns, ", ") else selec...
apache-2.0
obsy/openwrt-packages
lang/luaexpat/files/compat-5.1r5/compat-5.1.lua
251
6391
-- -- Compat-5.1 -- Copyright Kepler Project 2004-2006 (http://www.keplerproject.org/compat) -- According to Lua 5.1 -- $Id: compat-5.1.lua,v 1.22 2006/02/20 21:12:47 carregal Exp $ -- _COMPAT51 = "Compat-5.1 R5" local LUA_DIRSEP = '/' local LUA_OFSEP = '_' local OLD_LUA_OFSEP = '' local POF = 'luaopen_' local LUA_PA...
gpl-2.0
MNKgod/darkstar
scripts/zones/Gusgen_Mines/npcs/Clay.lua
34
1250
----------------------------------- -- Area: Gusgen Mines -- NPC: Clay -- Involved in Quest: A Potter's Preference -- @pos 117 -21 432 196 ----------------------------------- package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); re...
gpl-3.0
cornernote/minetest-modulator_game
mods/tools/toolsizes/init.lua
1
15271
--[[ ToolSizes mod by GloopMaster ver. 0.1 licensing: GPLv3(code) WTFPL(textures) code referenced: default mod, workbench mod dependancies: default mod, workbench mod, OPTIONAL: moreores mod, gloopores mod description: Adds sized tools, various blocks, and a lot of crafts for the workbench mod. --]] dofile(minetest.ge...
gpl-3.0
MNKgod/darkstar
scripts/zones/Chamber_of_Oracles/npcs/Shimmering_Circle.lua
17
1745
----------------------------------- -- Area: Chamber of Oracles -- NPC: Shimmering Circle -- @pos -220 0 12 168 ------------------------------------- package.loaded["scripts/zones/Chamber_of_Oracles/TextIDs"] = nil; ------------------------------------- require("scripts/globals/bcnm"); require("scripts/globa...
gpl-3.0
mynameiscraziu/negative
plugins/channels.lua
356
1732
-- Checks if bot was disabled on specific chat local function is_channel_disabled( receiver ) if not _config.disabled_channels then return false end if _config.disabled_channels[receiver] == nil then return false end return _config.disabled_channels[receiver] end local function enable_channel(receiver) if...
gpl-2.0
obsy/openwrt-packages
net/acme/files/acme-cbi.lua
27
2719
--[[ LuCI - Lua Configuration Interface Copyright 2016 Toke Høiland-Jørgensen <toke@toke.dk> # This program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software # Foundation; either version 3 of the License, or (at your option...
gpl-2.0
MNKgod/darkstar
scripts/zones/Sea_Serpent_Grotto/npcs/Treasure_Coffer.lua
17
4320
----------------------------------- -- Area: Sea Serpent Grotto -- NPC: Treasure Coffer -- @zone 176 -- @pos 184 18 -107 ----------------------------------- package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scr...
gpl-3.0
goldshied/GOLD-SHIED
plugins/time.lua
17
3068
-- Implement a command !time [area] which uses -- 2 Google APIs to get the desired result: -- 1. Geocoding to get from area to a lat/long pair -- 2. Timezone to get the local time in that lat/long location -- Globals -- If you have a google api key for the geocoding/timezone api api_key = nil base_api = "https://m...
gpl-2.0
MNKgod/darkstar
scripts/globals/abilities/divine_waltz_ii.lua
28
2395
----------------------------------- -- Ability: Divine Waltz II -- Restores the HP of all party members within a small radius. -- Obtained: Dancer Level 78 -- TP Required: 80% -- Recast Time: 00:20 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); ---...
gpl-3.0
DhavalKapil/elasticsearch-lua
src/elasticsearch/endpoints/CountPercolate.lua
2
2247
------------------------------------------------------------------------------- -- Importing modules ------------------------------------------------------------------------------- local Endpoint = require "elasticsearch.endpoints.Endpoint" ------------------------------------------------------------------------------...
mit
glenn-edgar/lua_frame_work
user_libraries/random/random/test.lua
1
1242
-- test random library require"random" print(random.version) print"" function test(w,r) print(w,r(),r(),r()) end r=random.new(12345) test("new",r) test("more",r) test("reset",r:seed(12345)) test("seed",r:seed(56789)) test("seed",r:seed(3063121584)) test("seed",r:seed(2428144928)) s=r:seed():clone() test("seed",r) ...
mit
hassonydev/BRIMEZ_TEAM
plugins/id.lua
20
5688
local function usernameinfo (user) if user.username then return '@'..user.username end if user.print_name then return user.print_name end local text = '' if user.first_name then text = user.last_name..' ' end if user.lastname then text = text..user.last_name end return text end loca...
gpl-3.0
DhavalKapil/elasticsearch-lua
src/elasticsearch/endpoints/Indices/Refresh.lua
2
1900
------------------------------------------------------------------------------- -- Importing modules ------------------------------------------------------------------------------- local IndicesEndpoint = require "elasticsearch.endpoints.Indices.IndicesEndpoint" --------------------------------------------------------...
mit
CGenie/mattermost-openresty
src/mattermost/bitbucket.lua
1
3652
-- curl -i -X POST -d 'payload={"text": "Hello, this is some text.\nThis is more text."}' http://yourmattermost.com/hooks/xxx-generatedkey-xxx local cjson = require "cjson" local template = require "resty.template" local tools = require "tools" local mattermost_url = tools.get_env_variable_with_arg('BITBUCKET_MATTERM...
gpl-3.0
Polkm/underdone
gamemode/core/sharedfiles/database/items/sh_items_armor_belt.lua
1
5488
local function AddModel(tblAddTable, strModel, vecPostion, angAngle, clrColor, strMaterial, vecScale) tblAddTable.Model = tblAddTable.Model or {} if type(tblAddTable.Model) ~= "table" then tblAddTable.Model = {} end table.insert(tblAddTable.Model, {Model = strModel, Position = vecPostion, Angle = angAngle, Color ...
mit
MNKgod/darkstar
scripts/globals/abilities/fight.lua
18
1033
----------------------------------- -- Ability: Fight -- Commands your pet to attack the target. -- Obtained: Beastmaster Level 1 -- Recast Time: 10 seconds -- Duration: N/A ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); ---------------------------...
gpl-3.0
cornernote/minetest-modulator_game
mods/nature/poisonivy/init.lua
1
5541
-- Poison Ivy mod by VanessaE (using ironzorg's flowers mod as a basis) math.randomseed(os.time()) local DEBUG = 1 local MAX_RATIO = 2000 local GROWING_DELAY = 1200 -- use values of around 50 and 30 for rapid growth local VERTICALS = { "default:dirt", "default:dirt_with_grass", "default:stone", "default:cobble"...
gpl-3.0
jlegendary/Dato-Core
src/unity/python/graphlab/lua/pl/Map.lua
26
2783
--- A Map class. -- -- > Map = require 'pl.Map' -- > m = Map{one=1,two=2} -- > m:update {three=3,four=4,two=20} -- > = m == M{one=1,two=20,three=3,four=4} -- true -- -- Dependencies: `pl.utils`, `pl.class`, `pl.tablex`, `pl.pretty` -- @classmod pl.Map local tablex = require 'pl.tablex' local utils = req...
agpl-3.0
MNKgod/darkstar
scripts/zones/Toraimarai_Canal/npcs/Transporter.lua
19
1263
----------------------------------- -- Area: Toraimarai Canal -- NPC: Transporter -- Involved In Windurst Mission 7-1 -- @zone 169 -- @pos 182 11 -60 169 ----------------------------------- package.loaded["scripts/zones/Toraimarai_Canal/TextIDs"] = nil; require("scripts/zones/Toraimarai_Canal/TextIDs"); --------------...
gpl-3.0
MNKgod/darkstar
scripts/globals/weaponskills/blade_teki.lua
30
1242
----------------------------------- -- Blade Teki -- Katana weapon skill -- Skill Level: 70 -- Decription: Deals water elemental damage. Damage varies with TP. -- Aligned with the Aqua Gorget. -- Aligned with the Aqua Belt. -- Element: Water -- Modifiers: STR:20% ; INT:20% -- 100%TP 200%TP 300%TP -- 0.5...
gpl-3.0
MNKgod/darkstar
scripts/zones/Port_San_dOria/npcs/Rugiette.lua
31
2409
----------------------------------- -- Area: Port San d'Oria -- NPC: Rugiette -- Involved in Quests: Riding on the Clouds, Lure of the Wildcat (San d'Oria) -- @pos 71 -9 -73 232 ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- requir...
gpl-3.0
MNKgod/darkstar
scripts/globals/abilities/charm.lua
28
1164
----------------------------------- -- Ability: Charm a monster -- Tames a monster to fight by your side. -- Obtained: Beastmaster Level 1 -- Recast Time: 0:15 -- Duration: Varies -- Check |Duration -- ---------------- |-------------- -- Too Weak |30 Minutes -- Easy Prey |20 Minutes ...
gpl-3.0
teleblue/telebrownnew
bot/beyondbot.lua
1
11034
package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua' ..';.luarocks/share/lua/5.2/?/init.lua' package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so' require("./bot/utils") VERSION = '2' -- This function is called when tg receive a msg function on_msg_receive (msg) if not started then return...
gpl-2.0
MNKgod/darkstar
scripts/globals/weaponskills/raging_axe.lua
30
1469
----------------------------------- -- Raging Axe -- Axe weapon skill -- Skill level: 5 -- Delivers a two-hit attack. Damage varies with TP. -- Will stack with Sneak Attack. -- When stacked with Sneak Attack, both hits have a 100% chance of landing, though it is unclear if they both params.crit. -- Aligned with ...
gpl-3.0
MNKgod/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Animated_Hammer.lua
16
1475
----------------------------------- -- Area: Dynamis Xarcabard -- NPC: Animated Hammer ----------------------------------- require("scripts/globals/status"); require("scripts/zones/Dynamis-Xarcabard/TextIDs"); ----------------------------------- -- onMobEngaged ----------------------------------- functi...
gpl-3.0
MNKgod/darkstar
scripts/zones/Temple_of_Uggalepih/npcs/Treasure_Coffer.lua
17
3952
----------------------------------- -- Area: Temple of Uggalepih -- NPC: Treasure Coffer -- @zone 159 -- @pos -219 0 32 ----------------------------------- package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scr...
gpl-3.0
christdi/mud
dist/main.lua
1
5486
actions = require('dist/actions') game = { state = {}, system = {}, component = {}, archetype = {}, event = {}, narrator = {}, entity = {}, config = {} } function main() lunac.api.log.info("Demo MUD initialising") game.state.login = lunac.state.new(require('dist/state/login_state'...
mit
MNKgod/darkstar
scripts/zones/Apollyon/mobs/Cornu.lua
16
1139
----------------------------------- -- Area: Apollyon NE -- NPC: Sirins ----------------------------------- package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Apollyon/TextIDs"); ----------------------------...
gpl-3.0
MNKgod/darkstar
scripts/zones/Horlais_Peak/bcnms/double_dragonian.lua
17
1772
----------------------------------- -- Area: Horlias peak -- Name: double_dragonian -- KSNM30 ----------------------------------- package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/quests"); require("scripts/zones/...
gpl-3.0
sujeet14108/luci
applications/luci-app-diag-devinfo/luasrc/controller/luci_diag/smap_common.lua
61
3184
-- Copyright 2009 Daniel Dickinson -- Licensed to the public under the Apache License 2.0. module("luci.controller.luci_diag.smap_common", package.seeall) require("luci.i18n") require("luci.util") require("luci.sys") require("luci.cbi") require("luci.model.uci") local translate = luci.i18n.translate local DummyValue...
apache-2.0
Zenfone2-Dev/kali-nethunter
nethunter-installer/update/system/bin/scripts/test_t55x7_psk.lua
5
3827
local cmds = require('commands') local getopt = require('getopt') local bin = require('bin') local utils = require('utils') example =[[ 1. script run test_t55x7_psk 2. script run test_t55x7_psk -o ]] author = "Iceman" usage = "script run test_t55x7_psk" desc =[[ This script will program a T55x7 TAG with the config...
gpl-2.0
MNKgod/darkstar
scripts/zones/Port_Bastok/npcs/Evelyn.lua
36
1516
----------------------------------- -- Area: Port Bastok -- NPC: Evelyn -- Only sells when Bastok controlls Gustaberg Region -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest"); package.loaded["scripts/zones/Port_Bastok/...
gpl-3.0
MNKgod/darkstar
scripts/globals/items/serving_of_bavarois.lua
35
1213
----------------------------------------- -- ID: 5729 -- Item: serving_of_bavarois -- Food Effect: 3Hrs, All Races ----------------------------------------- -- HP 20 -- Intelligence 3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- ...
gpl-3.0
hossein101/self2
plugins/fun.lua
1
13797
do --Begin Fun.lua By @BeyondTeam --Special Thx To @To0fan -------------------------------- local function run_bash(str) local cmd = io.popen(str) local result = cmd:read('*all') return result end -------------------------------- local api_key = nil local base_api = "https://maps.googleapis.com/maps/api" -...
gpl-3.0
MNKgod/darkstar
scripts/zones/Port_San_dOria/npcs/Nazar.lua
19
1269
----------------------------------- -- Area: Port San d'Oria -- NPC: Nazar -- Type: Standard NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; require("scripts/zones/Port_San_dOria/TextIDs"); ----------------------------------- -- onTrade Action ---------------...
gpl-3.0
zactelegram12/IRAN
plugins/channels.lua
300
1680
-- Checks if bot was disabled on specific chat local function is_channel_disabled( receiver ) if not _config.disabled_channels then return false end if _config.disabled_channels[receiver] == nil then return false end return _config.disabled_channels[receiver] end local function enable_channel(receiver) if...
gpl-2.0
MNKgod/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Kolin-Olin.lua
38
1047
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Kolin-Olin -- Type: Standard NPC -- @zone: 94 -- @pos 9.981 -2.478 33.786 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; --...
gpl-3.0
shagu/pfUI
skins/blizzard/readycheck.lua
1
1976
pfUI:RegisterSkin("Readycheck", "vanilla:tbc", function () HookAddonOrVariable("Blizzard_RaidUI", function() -- Compatibility local update_func if ReadyCheckFrame_OnUpdate then -- tbc update_func = "ReadyCheckFrame_OnUpdate" else -- vanilla update_func = "ReadyCheck_OnUpdate" end ...
mit
MNKgod/darkstar
scripts/globals/items/bowl_of_ulbuconut_milk_+1.lua
36
1168
----------------------------------------- -- ID: 5977 -- Item: Bowl of Ulbuconut Milk +1 -- Food Effect: 3Min, All Races ----------------------------------------- -- Charisma +4 -- Vitality -1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnI...
gpl-3.0
DhavalKapil/elasticsearch-lua
src/elasticsearch/endpoints/Indices/IndicesEndpoint.lua
2
2372
------------------------------------------------------------------------------- -- Importing modules ------------------------------------------------------------------------------- local Endpoint = require "elasticsearch.endpoints.Endpoint" ------------------------------------------------------------------------------...
mit
tessel/t1-runtime
deps/luabitop-1.0/md5test.lua
17
7409
-- MD5 test and benchmark. Public domain. local bit = require("bit") local tobit, tohex, bnot = bit.tobit or bit.cast, bit.tohex, bit.bnot local bor, band, bxor = bit.bor, bit.band, bit.bxor local lshift, rshift, rol, bswap = bit.lshift, bit.rshift, bit.rol, bit.bswap local byte, char, sub, rep = string.byte, string.c...
apache-2.0
ejoncas/kong
kong/plugins/oauth2/api.lua
11
1655
local crud = require "kong.api.crud_helpers" return { ["/oauth2/"] = { GET = function(self, dao_factory, helpers) crud.paginated_set(self, dao_factory.oauth2_credentials) end }, ["/consumers/:username_or_id/oauth2/"] = { before = function(self, dao_factory, helpers) crud.find_consumer_by...
apache-2.0
DhavalKapil/elasticsearch-lua
tests/connectionpool/StaticConnectionPoolTest.lua
2
2884
-- Importing modules local StaticConnectionPool = require "elasticsearch.connectionpool.StaticConnectionPool" local RoundRobinSelector = require "elasticsearch.selector.RoundRobinSelector" local Connection = require "elasticsearch.connection.Connection" local Logger = require "elasticsearch.Logger" local getmetatable =...
mit
MNKgod/darkstar
scripts/globals/spells/cura.lua
35
4128
----------------------------------------- -- Spell: Cura -- Restores hp in area of effect. Self target only -- From what I understand, Cura's base potency is the same as Cure's. -- With Afflatus Misery Bonus, it can be as potent as a Curaga II -- Modeled after our Cure.lua, which was modeled after the below reference -...
gpl-3.0
MNKgod/darkstar
scripts/globals/items/jar_of_marinara_sauce.lua
36
1162
----------------------------------------- -- ID: 5747 -- Item: Jar of Marinara Sauce -- Food Effect: 5Min, All Races ----------------------------------------- -- Mind 2 -- Intelligence 1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemChe...
gpl-3.0
MNKgod/darkstar
scripts/zones/Northern_San_dOria/npcs/Boncort.lua
5
2035
----------------------------------- -- Area: Northern San d'Oria -- NPC: Boncort -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/shop...
gpl-3.0
Zenfone2-Dev/kali-nethunter
nethunter-installer/update/system/bin/lualibs/read14a.lua
7
4197
--[[ This is a library to read 14443a tags. It can be used something like this local reader = require('read14a') result, err = reader.read1443a() if not result then print(err) return end print(result.name) --]] -- Loads the commands-library local cmds = require('commands') local TIMEOUT = 2000 -- Shouldn't ...
gpl-2.0
MNKgod/darkstar
scripts/zones/Northern_San_dOria/npcs/_6fc.lua
19
1896
----------------------------------- -- Area: Northern San d'Oria -- NPC: Papal Chambers -- Finish Mission: The Davoi Report -- @pos 131 -11 122 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; package.loaded["scripts/globals/missions"] = nil; ---------------...
gpl-3.0
MNKgod/darkstar
scripts/globals/items/serving_of_herb_crawler_eggs.lua
35
1535
----------------------------------------- -- ID: 4552 -- Item: serving_of_herb_crawler_eggs -- Food Effect: 180Min, All Races ----------------------------------------- -- Health % 6 -- Health Cap 80 -- Magic 10 -- Agility 3 -- Vitality -1 -- Evasion 8 ----------------------------------------- require("scr...
gpl-3.0
MNKgod/darkstar
scripts/zones/Bastok_Mines/npcs/Wobke.lua
38
1040
----------------------------------- -- Area: Bastok Mines -- NPC: Wobke -- Type: Quest NPC -- @zone: 234 -- @pos 29.028 -0.126 -111.626 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; require("scripts/zon...
gpl-3.0
kidaa/FFXIWindower
addons/shortcuts/shortcuts.lua
1
17598
--Copyright (c) 2014, Byrthnoth --All rights reserved. --Redistribution and use in source and binary forms, with or without --modification, are permitted provided that the following conditions are met: -- * Redistributions of source code must retain the above copyright -- notice, this list of conditions and t...
mit
glenn-edgar/lua_frame_work
user_libraries/luaPatString/luaScripts/patBuffer.lua
1
1236
--- --- --- lua pattern / lua string buffer higher functionality --- --- --- function patStr.createArray( number_of_pat_buffers ) local returnValue, temp returnValue = {} for i = 1, number_of_pat_buffers do temp = patStr.createObject( 0 ) -- no attached storage table.insert( returnValue,temp); end ...
mit
sshling/ABTestingGateway
admin/policygroup.lua
4
7857
--- -- @classmod abtesting.adapter.policy -- @release 0.0.1 local modulename = "abtestingAdminPolicyGroup" local _M = { _VERSION = "0.0.1" } local mt = { __index = _M } local ERRORINFO = require('abtesting.error.errcode').info local runtimeModule = require('abtesting.adapter.runtime') local policyModule = require('...
mit
LuaDist2/luarepl
repl/init.lua
3
10843
-- Copyright (c) 2011-2015 Rob Hoelz <rob@hoelz.ro> -- -- 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,...
mit
Cavitt/otclient_mapgen
modules/game_healthinfo/healthinfo.lua
8
8184
Icons = {} Icons[PlayerStates.Poison] = { tooltip = tr('You are poisoned'), path = '/images/game/states/poisoned', id = 'condition_poisoned' } Icons[PlayerStates.Burn] = { tooltip = tr('You are burning'), path = '/images/game/states/burning', id = 'condition_burning' } Icons[PlayerStates.Energy] = { tooltip = tr('You a...
mit
MNKgod/darkstar
scripts/zones/Lower_Jeuno/npcs/Yin_Pocanakhu.lua
17
1370
----------------------------------- -- Area: Lower Jeuno -- NPC: Yin Pocanakhu -- Involved in Quest: Borghertz's Hands (1st quest only) -- @zone 245 -- @pos 35 4 -43 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("sc...
gpl-3.0
MNKgod/darkstar
scripts/globals/items/plate_of_fin_sushi.lua
35
1483
----------------------------------------- -- ID: 5665 -- Item: plate_of_fin_sushi -- Food Effect: 30Min, All Races ----------------------------------------- -- Intelligence 5 -- Accuracy % 16 -- Ranged Accuracy % 16 ----------------------------------------- require("scripts/globals/status"); -------------...
gpl-3.0
MNKgod/darkstar
scripts/globals/items/bowl_of_turtle_soup.lua
35
1552
----------------------------------------- -- ID: 4418 -- Item: Turtle Soup -- Food Effect: 3hours, All Races ----------------------------------------- -- HP + 10% (200 Cap) -- Dexterity +4 -- Vitality +6 -- Mind -3 -- HP Recovered While Healing +5 ----------------------------------------- require("scripts/...
gpl-3.0
DhavalKapil/elasticsearch-lua
src/elasticsearch/endpoints/Nodes/HotThreads.lua
2
1889
------------------------------------------------------------------------------- -- Importing modules ------------------------------------------------------------------------------- local NodesEndpoint = require "elasticsearch.endpoints.Nodes.NodesEndpoint" --------------------------------------------------------------...
mit
frankyifei/koreader-base
ffi/einkfb_h.lua
3
1057
local ffi = require("ffi") ffi.cdef[[ enum fx_type { fx_mask = 11, fx_buf_is_mask = 14, fx_none = -1, fx_flash = 20, fx_invert = 21, fx_update_partial = 0, fx_update_full = 1, }; struct update_area_t { int x1; int y1; int x2; int y2; enum fx_type which_fx; unsigned char *buffer; }; enum orien...
agpl-3.0
MNKgod/darkstar
scripts/globals/besieged.lua
52
10827
----------------------------------------------------------------- -- Variable for getNationTeleport and getRegionPoint ----------------------------------------------------------------- IS = 3; ZENI = 10; AHTURHGAN = 3; LEUJAOAM_ASSAULT_POINT = 0; MAMOOL_ASSAULT_POINT = 1; LEBROS_ASSAULT_POINT = 2; PERIQIA_ASSAULT_PO...
gpl-3.0
MNKgod/darkstar
scripts/globals/items/galkan_sausage_+2.lua
35
1364
----------------------------------------- -- ID: 5860 -- Item: galkan_sausage_+2 -- Food Effect: 30Min, All Races ----------------------------------------- -- Strength 5 -- Intelligence -6 -- Attack 11 -- Ranged Attack 11 ----------------------------------------- require("scripts/globals/status"); ------...
gpl-3.0
MNKgod/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Arzizah.lua
34
1032
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Arzizah -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); ----------...
gpl-3.0
MNKgod/darkstar
scripts/globals/abilities/reward.lua
18
6423
----------------------------------- -- Ability: Reward -- Feeds pet to restore its HP. -- Obtained: Beastmaster Level 12 -- Recast Time: 1:30 -- Duration: Instant ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/pets"); ----...
gpl-3.0
MNKgod/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Komalata.lua
37
1496
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Komalata -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; require("scripts/zones/Tavnazian_Safehold/TextIDs"); --------------...
gpl-3.0
paidi/oxnn
nn_modif/LookupTableGPU.lua
3
1031
-- Modifies some methods of nn.LookupTableGPU from fbcunn. if nn.LookupTableGPU then -- from fbcunn local LookupTableGPU, parent = nn.LookupTableGPU, nn.Module function LookupTableGPU:zeroGradParameters() if not self.accUpdate then self.gradWeight:zero() end self.inputs = {} self.nBackward = 0 end...
bsd-3-clause
Polkm/underdone
gamemode/core/sharedfiles/sh_util.lua
1
13750
--This code is a mess but its basicly a dump for useful functions we cant live with out. local Entity = FindMetaTable("Entity") local Player = FindMetaTable("Player") function toExp(intLevel) local intExp = tonumber(intLevel) or 0 if intExp <= 1 then intExp = 0 end intExp = intExp * 6 intExp = math.pow(intExp,...
mit
brunominervino/forgottenserver
data/actions/scripts/other/potions.lua
3
4893
local berserk = Condition(CONDITION_ATTRIBUTES) berserk:setParameter(CONDITION_PARAM_SUBID, 7) berserk:setParameter(CONDITION_PARAM_TICKS, 10 * 60 * 1000) berserk:setParameter(CONDITION_PARAM_SKILL_MELEE, 5) berserk:setParameter(CONDITION_PARAM_SKILL_SHIELD, -10) berserk:setParameter(CONDITION_PARAM_BUFF_SPELL, true) ...
gpl-2.0
shagu/pfUI
skins/blizzard/battlefield.lua
1
3979
pfUI:RegisterSkin("Battlefield", "vanilla:tbc", function () local rawborder, border = GetBorderSize() local bpad = rawborder > 1 and border - GetPerfectPixel() or GetPerfectPixel() StripTextures(BattlefieldFrame) CreateBackdrop(BattlefieldFrame, nil, nil, .75) CreateBackdropShadow(BattlefieldFrame) Battle...
mit
DBarney/lever
lib/reply.lua
1
1473
-- -*- mode: lua tab-width: 2 indent-tabs-mode: 1 st-rulers: [70] -*- -- vim: ts=4 sw=4 ft=lua noet --------------------------------------------------------------------- -- @author Daniel Barney <daniel@pagodabox.com> -- @copyright 2014, Pagoda Box, Inc. -- @doc -- -- @end -- Created : 21 Nov 2014 by Daniel Barney <d...
mit
MNKgod/darkstar
scripts/zones/Abyssea-Konschtat/npcs/Conflux_Surveyor.lua
32
3671
----------------------------------- -- Zone: Abyssea - Konschtat -- NPC: Conflux Surveyor -- Type: -- @pos 133.000 -72.738 -824.000 15 ----------------------------------- package.loaded["scripts/zones/Abyssea-Konschtat/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings");...
gpl-3.0
sujeet14108/luci
contrib/luasrcdiet/lua/llex.lua
122
12449
--[[-------------------------------------------------------------------- llex.lua: Lua 5.1 lexical analyzer in Lua This file is part of LuaSrcDiet, based on Yueliang material. Copyright (c) 2008 Kein-Hong Man <khman@users.sf.net> The COPYRIGHT file describes the conditions under which this software may be d...
apache-2.0
MNKgod/darkstar
scripts/zones/Rabao/npcs/Nomad_Moogle.lua
37
1063
----------------------------------- -- -- Nomad Moogle -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Rabao/TextIDs"] = nil; require("scripts/zones/Rabao/TextIDs"); ----------------------------------- -- onTrade Action ---------------------------...
gpl-3.0
MNKgod/darkstar
scripts/globals/items/fish_chiefkabob.lua
35
1539
----------------------------------------- -- ID: 4575 -- Item: fish_chiefkabob -- Food Effect: 60Min, All Races ----------------------------------------- -- Dexterity 1 -- Vitality 2 -- Mind 1 -- Charisma 1 -- defense % 26 -- defense Cap 95 ----------------------------------------- require("scripts/global...
gpl-3.0
Team-Permadeath/geomancer
Battlemode/BattleMovePlanner.lua
1
1115
Class = require "Lib.hump.class" BattleMovePlanner = Class{ init = function (self, map, player) self.map = map self.player = player end, enter = function (self) self.x = self.player.x self.y = self.player.y end, drawMove = function (self) local pos = self.map:getPosition(self) love.graphics.setCol...
gpl-3.0
TeamHG-Memex/autologin
autologin/directives/login.lua
1
2271
json = require('json') function main(splash) local full_render = splash.args.full_render local first_request = true splash:on_request(function(request) if first_request then request:set_timeout(60) first_request = false end end) splash:init_cookies(splash.ar...
apache-2.0
Exupery/pvpaudit
ArenaTooltip.lua
1
2573
local eventFrame = nil local arenaDb = nil local notesDb = nil local BRACKETS = { "2v2", "3v3" } -- adds W/L data to tooltip if DB has data for `name` local function addToTooltip(tooltip, name) if not name then return end if PvPAuditConfig["showHistory"] then for _, bracket in pairs(BRACKETS) do local ...
mit