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 |
|---|---|---|---|---|---|
Scavenge/darkstar | scripts/zones/Giddeus/TextIDs.lua | 7 | 1529 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6385; -- Obtained: <item>.
GIL_OBTAINED = 6386; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6388; -- Obtained... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Batallia_Downs_[S]/mobs/Chaneque.lua | 20 | 1276 | -----------------------------------
-- Area: Batallia Downs (S)
-- NM: Chaneque
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onMobInitialize Action
-----------------------------------
function onMobInitialize(mob)
mob:setMobMod(MOBMOD_ADD_EFFECT,... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/spells/diaga_iii.lua | 26 | 1934 | -----------------------------------------
-- Spell: Diaga III
-- Lowers an enemy's defense and gradually deals light elemental damage.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Tavnazian_Safehold/npcs/HomePoint#2.lua | 9 | 1279 | -----------------------------------
-- Area: Tavnazian_Safehold
-- NPC: HomePoint#2
-- @pos 14 -9.96 -5 26
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Tavnazian_Safehold/TextIDs");
require("scripts/g... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/abilities/aspir_samba_ii.lua | 26 | 1430 | -----------------------------------
-- Ability: Aspir Samba II
-- Inflicts the next target you strike with Aspir daze, allowing all those engaged in battle with it to drain its MP.
-- Obtained: Dancer Level 60
-- Recast Time: 1:00
-- TP Cost: 25%
-- Duration: 1:30
-----------------------------------
require("scripts/g... | gpl-3.0 |
jdgwartney/truesightpulse-plugin-docker | modules/framework.lua | 10 | 54575 | -- Copyright 2015 Boundary, Inc.
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to i... | apache-2.0 |
PredatorMF/Urho3D | bin/Data/LuaScripts/26_ConsoleInput.lua | 25 | 7721 | -- Console input example.
-- This sample demonstrates:
-- - Implementing a crude text adventure game, which accepts input both through the engine console,
-- and standard input.
-- - Disabling default execution of console commands as immediate mode Lua script.
-- - Adding autocomplete options to the e... | mit |
shayanchabok007/antispam_fox | plugins/isX.lua | 605 | 2031 | local https = require "ssl.https"
local ltn12 = require "ltn12"
local function request(imageUrl)
-- Edit data/mashape.lua with your Mashape API key
-- http://docs.mashape.com/api-keys
local mashape = load_from_file('data/mashape.lua', {
api_key = ''
})
local api_key = mashape.api_key
if ... | gpl-2.0 |
PredatorMF/Urho3D | bin/Data/LuaScripts/50_Urho2DPlatformer.lua | 2 | 15866 | -- 2D platformer example.
-- This sample demonstrates:
-- - Creating an orthogonal 2D scene from tile map file
-- - Displaying the scene using the Renderer subsystem
-- - Handling keyboard to move a character and zoom 2D camera
-- - Generating physics shapes from the tmx file's objects
-- - Mixing physic... | mit |
Zero-K-Experiments/Zero-K-Experiments | effects/janus.lua | 25 | 4668 | -- janusmuzzle
-- janusback
return {
["janusmuzzle"] = {
fire = {
air = true,
class = [[CSimpleParticleSystem]],
count = 10,
ground = true,
water = true,
properties = {
airdrag = 0.6,
... | gpl-2.0 |
kirubz/Penlight | lua/pl/data.lua | 8 | 20502 | --- 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... | mit |
Scavenge/darkstar | scripts/zones/RuAun_Gardens/mobs/Byakko.lua | 19 | 1554 | -----------------------------------
-- Area: Ru'Aun Gardens
-- NM: Byakko
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/RuAun_Gardens/TextIDs");
require("scripts/globals/status");
---------------------------... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | LuaRules/Configs/StartBoxes/Harbinger 2.lua | 9 | 14336 | return {
[0] = {
nameLong = "North",
nameShort = "N",
startpoints = {{5070, 2760}},
boxes = {
{
{4778, 2045},
{4792, 2075},
{4803, 2103},
{4808, 2128},
{4809, 2155},
{4799, 2187},
{4789, 2224},
{4777, 2271},
{4740, 2351},
{4726, 2393},
{4715, 2410},
{4699, 242... | gpl-2.0 |
Scavenge/darkstar | scripts/commands/giveitem.lua | 23 | 1587 | ---------------------------------------------------------------------------------------------------
-- func: giveitem <player> <itemId> <amount> <aug1> <v1> <aug2> <v2> <aug3> <v3> <aug4> <v4>
-- desc: Gives an item to the target player.
----------------------------------------------------------------------------------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5fm.lua | 14 | 2658 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: East Plate
-- @pos 210 -32 25 195
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
-----------------------------------
-- ... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Bastok_Mines/npcs/Hemewmew.lua | 11 | 2879 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Hemewmew
-- Type: Guildworker's Union Representative
-- @zone 234
-- @pos 117.970 1.017 -10.438
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
require("scripts/globals/keyitems");
require("scripts/glo... | gpl-3.0 |
fengshao0907/ABTestingGateway | lib/resty/lock.lua | 26 | 4451 | -- Copyright (C) Yichun Zhang (agentzh)
local ffi = require "ffi"
local ffi_new = ffi.new
local shared = ngx.shared
local sleep = ngx.sleep
local shdict_mt
local debug = ngx.config.debug
local setmetatable = setmetatable
local getmetatable = getmetatable
local tonumber = tonumber
local _M = { _VERSION = '0.04' }
lo... | mit |
TomBebbington/eccles | IntervalSystem.lua | 3 | 1587 | local System = require('eccles.System')
local sleep
if love ~= nil then
sleep = love.timer.sleep
else
local time = os.time
sleep = function(s)
local start = time()
while (time() - start) < s do
local _ = nil
end
end
end
local IntervalSystem
do
local _parent_0 = System
local _base_0 = {
... | mit |
Scavenge/darkstar | scripts/zones/Bastok_Markets/npcs/Degenhard.lua | 25 | 2118 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Degenhard
-- Starts & Ends Quest: The Bare Bones
-- Involved in Quests: Beat Around the Bushin
-- @zone 235
-- @pos -175 2 -135
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-------------------------... | gpl-3.0 |
taxler/radish | packaging/extensions/platform_win32/lua/exports/mswindows/filesystem.lua | 1 | 8954 |
local bit = require 'bit'
local ffi = require 'ffi'
require 'exports.typedef.bool32'
require 'exports.mswindows'
local winstr = require 'exports.mswindows.strings'
local handles = require 'exports.mswindows.handles'
ffi.cdef [[
static const int MAX_PATH = 260;
bool32 CopyFileW(const wchar_t* from_path, const wcha... | mit |
sil3ntboyy/TGuard1.0.0 | plugins/warn.lua | 3 | 7685 | local function warn_by_username(extra, success, result) -- /warn <@username>
if success == 1 then
local msg = result
local target = extra.target
local receiver = extra.receiver
local hash = 'warn:'..target
local value = redis:hget(hash, msg.id)
local text = ''
local name = ''
if msg.first_name then... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Moogle.lua | 14 | 1190 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Moogle
-- @zone 80
-- @pos <many>
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
require("scripts/globals/moghouse")
-----------... | gpl-3.0 |
Grade-A-Software/Comcast-DASH-VLC | share/lua/playlist/cue.lua | 12 | 4419 | --[[
Parse CUE files
$Id$
Copyright (C) 2009 Laurent Aimar
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This pro... | gpl-2.0 |
omidtarh/wezard | plugins/xkcd.lua | 628 | 1374 | do
function get_last_id()
local res,code = https.request("http://xkcd.com/info.0.json")
if code ~= 200 then return "HTTP ERROR" end
local data = json:decode(res)
return data.num
end
function get_xkcd(id)
local res,code = http.request("http://xkcd.com/"..id.."/info.0.json")
if code ~= 200 then return "HT... | gpl-2.0 |
Zero-K-Experiments/Zero-K-Experiments | units/armdeva.lua | 3 | 4966 | unitDef = {
unitname = [[armdeva]],
name = [[Stardust]],
description = [[Anti-Swarm Turret]],
activateWhenBuilt = true,
buildCostEnergy = 220,
buildCostMetal = 220,
builder = fals... | gpl-2.0 |
Scavenge/darkstar | scripts/globals/pets.lua | 20 | 35107 | -----------------------------------
--
-- PETS ID
--
-----------------------------------
-----------------------------------
-- PETTYPE
-----------------------------------
PETTYPE_AVATAR = 0;
PETTYPE_WYVERN = 1;
PETTYPE_JUGPET = 2;
PETTYPE_CHARMED_MOB = 3;
PETTYPE_AUTOMATON ... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Northern_San_dOria/npcs/Narcheral.lua | 14 | 4137 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Narcheral
-- Starts and Finishes Quest: Messenger from Beyond, Prelude of Black and White (Finish), Pieuje's Decision (Finish)
-- @zone 231
-- @pos 129 -11 126
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/T... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | units/chickenbroodqueen.lua | 3 | 6635 | unitDef = {
unitname = [[chickenbroodqueen]],
name = [[Chicken Brood Queen]],
description = [[Tends the Nest]],
acceleration = 0.2,
autoHeal = 10,
brakeRate = 0.205,
buildCostEnergy = 0,
buildCostMetal = 0,
buildDistance = 24... | gpl-2.0 |
Scavenge/darkstar | scripts/globals/spells/katon_san.lua | 21 | 1275 | -----------------------------------------
-- Spell: Katon: San
-- Deals fire damage to an enemy and lowers its resistance against water.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-------------... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/porter_moogle_util.lua | 22 | 27592 | -----------------------------------
-- Porter Moogle Utilities
-- desc: Common functionality for Porter Moogles.
-----------------------------------
require("scripts/globals/common");
-- Item IDs for all of the slips.
local slipIds = { 29312, 29313, 29314, 29315, 29316, 29317, 29318, 29319, 29320, 29321, 29322, 29323,... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/items/bowl_of_stamina_soup.lua | 12 | 1558 | -----------------------------------------
-- ID: 4337
-- Item: bowl_of_stamina_soup
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- HP +12% (cap 200)
-- Dexterity 4
-- Vitality 6
-- Mind -3
-- HP Recovered While Healing 10
-----------------------------------------
require("scripts/globals/... | gpl-3.0 |
PredatorMF/Urho3D | Source/ThirdParty/toluapp/src/bin/lua/operator.lua | 42 | 6043 | -- tolua: operator class
-- Written by Waldemar Celes
-- TeCGraf/PUC-Rio
-- Jul 1998
-- $Id: $
-- This code is free software; you can redistribute it and/or modify it.
-- The software provided hereunder is on an "as is" basis, and
-- the author has no obligation to provide maintenance, support, updates,
-- enhancement... | mit |
nmacs/lm3s-uclinux | lib/liblua/luasocket-2.0.2/etc/lp.lua | 59 | 11566 | -----------------------------------------------------------------------------
-- LPD support for the Lua language
-- LuaSocket toolkit.
-- Author: David Burgess
-- Modified by Diego Nehab, but David is in charge
-- RCS ID: $Id: lp.lua,v 1.14 2005/11/21 07:04:44 diego Exp $
----------------------------------------------... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Western_Altepa_Desert/npcs/_3h0.lua | 14 | 1194 | -----------------------------------
-- Area: Western Altepa Desert
-- NPC: _3h0 (Altepa Gate)
-- @pos -19 12 131 125
-----------------------------------
package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Western_Altepa_Desert/TextIDs");
---... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Valkurm_Dunes/npcs/Cavernous_Maw.lua | 58 | 1887 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: Cavernous Maw
-- @pos 368.980, -0.443, -119.874 103
-- Teleports Players to Abyssea Misareaux
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require("scripts/globals... | gpl-3.0 |
omid1212/spam | bot/utils.lua | 31 | 14800 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
JSON = (loadfile "./libs/... | gpl-2.0 |
Zero-K-Experiments/Zero-K-Experiments | units/puppy.lua | 1 | 4431 | unitDef = {
unitname = [[puppy]],
name = [[Puppy]],
description = [[Walking Missile]],
acceleration = 0.24,
activateWhenBuilt = true,
brakeRate = 0.72,
buildCostEnergy = 50,
buildCostMetal = 50,
builder ... | gpl-2.0 |
Scavenge/darkstar | scripts/globals/items/bretzel.lua | 12 | 1292 | -----------------------------------------
-- ID: 4391
-- Item: Bretzel
-- Food Effect: 3Min, All Races
-----------------------------------------
-- Magic % 8
-- Magic Cap 55
-- Vitality 2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCh... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/The_Garden_of_RuHmet/npcs/qm2.lua | 7 | 2923 | -----------------------------------
-- Area: The_Garden_of_RuHmet
-- NPC: ??? (Ix'aern (Dark Knight) Spawn)
-- Allows players to spawn the Ix'aern (Dark Knight) by checking ??? only after killing the required mobs in the same room as the ???.
-- @pos -240 5.00 440 35
-- @pos -280 5.00 240 35
-- @pos -560 5.00 239 35
-... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | units/cormak.lua | 1 | 6503 | unitDef = {
unitname = [[cormak]],
name = [[Outlaw]],
description = [[Riot Bot]],
acceleration = 0.25,
activateWhenBuilt = true,
brakeRate = 0.75,
buildCostEnergy = 250,
buildCostMetal = 250,
buildPic =... | gpl-2.0 |
Scavenge/darkstar | scripts/globals/spells/bluemagic/terror_touch.lua | 26 | 1998 | -----------------------------------------
-- Spell: Terror Touch
-- Additional effect: Weakens attacks. Accuracy varies with TP
-- Spell cost: 62 MP
-- Monster Type: Undead
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 3
-- Stat Bonus: HP-5 MP+10
-- Level: 40
-- Casting Time: 3.25 seconds
-- Recast Time: 21 sec... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Labyrinth_of_Onzozo/mobs/Goblin_Bandit.lua | 14 | 1208 | -----------------------------------
-- Area: Labyrinth of Onzozo
-- MOB: Goblin Bandit
-- Note: Place holder Soulstealer Skullnix
-----------------------------------
require("scripts/globals/groundsofvalor");
require("scripts/zones/Labyrinth_of_Onzozo/MobIDs");
-----------------------------------
-- onMobDeath
-----... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Abyssea-Tahrongi/npcs/qm14.lua | 14 | 1904 | -----------------------------------
-- Zone: Abyssea-Tahrongi
-- NPC: ???
-- Spawns Glavoid
-- @pos ? ? ? 45
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/status");
-----------------------------------
-- onTrigger Action
-----------------------------------
function... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Selbina/npcs/Oswald.lua | 14 | 5044 | -----------------------------------
-- Area: Selbina
-- NPC: Oswald
-- Starts and Finishes Quest: Under the sea (finish), The gift, The real gift
-- @pos 48 -15 9 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Se... | gpl-3.0 |
jchuang1977/openwrt | package/lean/luci-app-vsftpd/luasrc/model/cbi/vsftpd/general.lua | 4 | 4265 | --[[
LuCI - Lua Configuration Interface
Copyright 2016 Weijie Gao <hackpascal@gmail.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
m =... | gpl-2.0 |
PredatorMF/Urho3D | bin/Data/LuaScripts/24_Urho2DSprite.lua | 24 | 8431 | -- Urho2D sprite example.
-- This sample demonstrates:
-- - Creating a 2D scene with sprite
-- - Displaying the scene using the Renderer subsystem
-- - Handling keyboard to move and zoom 2D camera
-- - Usage of Lua Closure to update scene
require "LuaScripts/Utilities/Sample"
function Start()... | mit |
1yvT0s/luvit | examples/stream/test.lua | 8 | 1541 | local fs = require('file')
local fiber = require('wait')
local input = module.path
local output = module.path .. ".out"
local output2 = module.path .. ".out2"
-- Create a normal continuable using callbacks
local normal = function (callback)
fs.open(input, "r")(function (err, fd)
if err then return callback(err)... | apache-2.0 |
Scavenge/darkstar | scripts/zones/Bibiki_Bay/npcs/Warmachine.lua | 14 | 2054 | -----------------------------------
-- Area: Bibiki Bay
-- NPC: Warmachine
-- @zone 4
-- @pos -345.236 -3.188 -976.563 4
-----------------------------------
package.loaded["scripts/zones/Bibiki_Bay/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/Bibiki_... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/items/galkan_sausage_+1.lua | 12 | 1357 | -----------------------------------------
-- ID: 5859
-- Item: galkan_sausage_+1
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Strength 4
-- Intelligence -5
-- Attack 10
-- Ranged Attack 10
-----------------------------------------
require("scripts/globals/status");
-------------------... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/abilities/pets/lightning_breath.lua | 29 | 1347 | ---------------------------------------------------
-- Lightning Breath
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/globals/ability");
-------------------------------------------... | gpl-3.0 |
Kyklas/luci-proto-hso | modules/base/luasrc/sys/zoneinfo/tzdata.lua | 10 | 17374 | --[[
LuCI - Autogenerated Zoneinfo Module
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
]]--
module "luci.sys.zoneinfo.tzdata"
TZ = {
{ 'Africa/Abi... | apache-2.0 |
Scavenge/darkstar | scripts/zones/Abyssea-Konschtat/npcs/Conflux_Surveyor.lua | 30 | 3568 | -----------------------------------
-- 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");
require(... | gpl-3.0 |
smanolache/kong | kong/plugins/oauth2/access.lua | 1 | 18570 | local singletons = require "kong.singletons"
local stringy = require "stringy"
local utils = require "kong.tools.utils"
local cache = require "kong.tools.database_cache"
local responses = require "kong.tools.responses"
local constants = require "kong.constants"
local timestamp = require "kong.tools.timestamp"
local url... | apache-2.0 |
Scavenge/darkstar | scripts/zones/Northern_San_dOria/npcs/Maurinne.lua | 14 | 1039 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Maurinne
-- Type: Standard Dialogue NPC
-- @zone 231
-- @pos -127.185 0.000 179.193
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/TextIDs");
... | gpl-3.0 |
kankaristo/premake-core | tests/actions/vstudio/vc200x/test_linker_block.lua | 9 | 5235 | --
-- tests/actions/vstudio/vc200x/test_linker_block.lua
-- Validate generation of VCLinkerTool blocks in Visual Studio 200x C/C++ projects.
-- Copyright (c) 2009-2013 Jason Perkins and the Premake project
--
local suite = test.declare("vs200x_linker_block")
local vc200x = premake.vstudio.vc200x
--
-- S... | bsd-3-clause |
Scavenge/darkstar | scripts/zones/West_Sarutabaruta/npcs/Roshina-Kuleshuna_WW.lua | 14 | 3358 | -----------------------------------
-- Area: West Sarutabaruta
-- NPC: Roshina-Kuleshuna, W.W.
-- Type: Outpost Conquest Guards
-- @pos -11.322 -13.459 317.696 115
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
1yvT0s/luvit | examples/fs-basic.lua | 17 | 1530 | local fs = require('fs');
fs.open("license.txt", 'r', "0644", function (err, fd)
p("on_open", {err=err,fd=fd})
if (err) then return end
fs.read(fd, 0, 4096, function (err, chunk)
p("on_read", {err=err,chunk=chunk,length=#chunk})
if (err) then return end
fs.close(fd, function (err)
p("on_close",... | apache-2.0 |
smanolache/kong | spec/integration/01-dao/03-crud_spec.lua | 1 | 19567 | local function raw_table(state, arguments)
local tbl = arguments[1]
if not pcall(assert.falsy, getmetatable(tbl)) then
return false
end
for _, v in ipairs({"ROWS", "VOID"}) do
if tbl.type == v then
return false
end
end
if tbl.meta ~= nil then
return false
end
return true
end
local... | apache-2.0 |
Scavenge/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Dilgeur.lua | 14 | 1110 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Dilgeur -- Misnamed NPC, name is Crochepallade when it should be Dilgeur, swap pos with the NPC at -46 2 -8
-- @zone 80
-- @pos 22 2 3
-----------------------------------
package.loaded["scripts/zones/Southern... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/San_dOria-Jeuno_Airship/TextIDs.lua | 7 | 1088 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6385; -- Obtained: <item>
GIL_OBTAINED = 6386; -- Obtained <number> gil
KEYITEM_OBTAINED = 6388; -- Obtain... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | LuaRules/Gadgets/mex_spot_finder.lua | 2 | 13859 |
function gadget:GetInfo()
return {
name = "Metalspot Finder Gadget",
desc = "Finds metal spots",
author = "Niobium, modified by Google Frog",
version = "v1.1",
date = "November 2010",
license = "GNU GPL, v2 or later",
layer = -math.huge + 5,
enabled = true
}
end
---------... | gpl-2.0 |
Kyklas/luci-proto-hso | applications/luci-olsr/luasrc/model/cbi/olsr/olsrdhna6.lua | 38 | 1176 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2011 Manuel Munz <freifunk at somakoma dot de>
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 |
Scavenge/darkstar | scripts/zones/Xarcabard/npcs/qm2.lua | 7 | 1620 | -----------------------------------
-- Area: Xarcabard
-- NPC: qm2 (???)
-- Involved in Quests: Atop the Highest Mountains (for Boreal Tiger)
-- @pos 341 -29 370 112
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/global... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Monarch_Linn/Zone.lua | 17 | 1569 | -----------------------------------
--
-- Zone: Monarch_Linn
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Monarch_Linn/TextIDs"] = nil;
require("scripts/zones/Monarch_Linn/TextIDs");
-----------------------------------
-- onInitialize
-------------------... | gpl-3.0 |
Arashbrsh/lifemaic | plugins/yoda.lua | 642 | 1199 | local ltn12 = require "ltn12"
local https = require "ssl.https"
-- Edit data/mashape.lua with your Mashape API key
-- http://docs.mashape.com/api-keys
local mashape = load_from_file('data/mashape.lua', {
api_key = ''
})
local function request(text)
local api = "https://yoda.p.mashape.com/yoda?"
text = ... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Northern_San_dOria/npcs/Ulycille.lua | 53 | 1947 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Ulycille
-- Type: Woodworking Adv. Synthesis Image Support
-- @pos -183.320 9.999 269.651 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scri... | gpl-3.0 |
phi-gamma/lualibs | lualibs-util-tpl.lua | 1 | 7100 | if not modules then modules = { } end modules ['util-tpl'] = {
version = 1.001,
comment = "companion to luat-lib.mkiv",
author = "Hans Hagen, PRAGMA-ADE, Hasselt NL",
copyright = "PRAGMA ADE / ConTeXt Development Team",
license = "see context related readme files"
}
-- This is experimental... | gpl-2.0 |
Zero-K-Experiments/Zero-K-Experiments | LuaUI/Configs/integral_menu_commands.lua | 2 | 16548 | VFS.Include("LuaRules/Configs/customcmds.h.lua")
--FIXME: use this table until state tooltip detection is fixed
--SIDENOTE: using this table is preferable than editing command description directly because this maintain tooltip's compatibility with other build menu too.(eg: color text is not supported by stock gui)
loc... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Yuhtunga_Jungle/npcs/Mahol_IM.lua | 14 | 3324 | -----------------------------------
-- Area: Yuhtunga Jungle
-- NPC: Mahol, I.M.
-- Outpost Conquest Guards
-- @pos -242.487 -1 -402.772 123
-----------------------------------
package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
requi... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/LaLoff_Amphitheater/npcs/qm0_5.lua | 17 | 1168 | -----------------------------------
-- Area: LaLoff_Amphitheater
-- NPC: qm0 (warp player outside after they win fight)
-------------------------------------
package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/LaLoff_Amphitheater/TextIDs");
-... | gpl-3.0 |
xebecnan/UniLua | Assets/StreamingAssets/LuaRoot/test/vararg.lua | 9 | 2659 | print('testing vararg')
_G.arg = nil
function f(a, ...)
local arg = {n = select('#', ...), ...}
for i=1,arg.n do assert(a[i]==arg[i]) end
return arg.n
end
function c12 (...)
assert(arg == nil)
local x = {...}; x.n = #x
local res = (x.n==2 and x[1] == 1 and x[2] == 2)
if res then res = 55 end
return r... | mit |
OpenPrograms/mpmxyz-Programs | usr/lib/mpm/quidgets.lua | 3 | 3149 | -----------------------------------------------------
--name : lib/quidgets.lua
--description: quidgets - adds commonly used widgets to qui
--author : mpmxyz
--github page: https://github.com/mpmxyz/ocprograms
--forum page : http://oc.cil.li/index.php?/topic/
--------------------------------------------------... | mit |
devwawi/VIP-TEAM_Wawi8 | plugins/writer.lua | 15 | 15445 | local function mohammed(msg, matches)
if #matches < 2 then
return "اكتب الامر /write ثم ضع فاصلة واكتب الجملة وستظهر لك نتائج الزخرفة " end
if string.len(matches[2]) > 20 then
return "متاح لك 20 حرف انكليزي فقط لايمكنك وضع حروف اكثر ❤️😐 @"..msg.from.username..'\n'
end--@TH3BOSS
local font_base = "A,B,C,D,E,F,... | agpl-3.0 |
Dyaxler/SpartanUI | Modules/Artwork/Themes/Classic/Global-Framework.lua | 1 | 12604 | local _G, SUI = _G, SUI
local Artwork_Core = SUI:GetModule('Artwork_Core')
local module = SUI:NewModule('Style_Classic')
local UnregisterStateDriver = _G.UnregisterStateDriver
----------------------------------------------------------------------------------------------------
local anchor, frame = SUI_AnchorFrame,... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | LuaUI/Widgets/chili/Headers/links.lua | 35 | 3350 | --//=============================================================================
--// SHORT INFO WHY WE DO THIS:
--// Cause of the reference based system in lua we can't
--// destroy objects yourself, instead we have to tell
--// the GarbageCollector somehow that an object isn't
--// in use anymore.
--// Now we hav... | gpl-2.0 |
MyBagofTricks/FFXI-Gearswap-Lua-Files | Rezzy_SMN.lua | 1 | 33474 | -------------------------------------------------------------------------------------------------------------------
-- Setup functions for this job. Generally should not be modified.
-------------------------------------------------------------------------------------------------------------------
-- Also, you'll... | unlicense |
stravant/LuaMinify | tests/test_parser.lua | 2 | 16668 | -- Adapted from Yueliang
local source = [=[
; -- FAIL
local -- FAIL
local; -- FAIL
local = -- FAIL
local end -- FAIL
local a
local a;
local a, b, c
loca... | mit |
Zomis/FactorioMods | what-is-missing_1.1.2/control.lua | 1 | 30731 | --control.lua
-- Panel to the left, visible for each player from the start
-- Possible to customize for each player
-- Use the player's force
-- When game is loaded/on startup, scan for all machines
--- mining drills
--- furnaces
--- assembling machines
--- labs
--- rocket silo
-- /c game.player.print(#game.player.fo... | mit |
Scavenge/darkstar | scripts/zones/Ship_bound_for_Selbina/npcs/Bhagirath.lua | 27 | 2092 | -----------------------------------
-- Area: Ship_bound_for_Selbina
-- NPC: Bhagirath
-- Notes: Tells ship ETA time
-- @pos 0.278 -14.707 -1.411 220
-----------------------------------
package.loaded["scripts/zones/Ship_bound_for_Selbina/TextIDs"] = nil;
require("scripts/zones/Ship_bound_for_Selbina/TextIDs");
--... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/weaponskills/torcleaver.lua | 26 | 1602 | -----------------------------------
-- Torcleaver
-- Skill Level: N/A
-- Description: Deals triple damage. Damage varies with TP. Caladbolg: Aftermath.
-- Available only when equipped with Caladbolg (85)/(90)/(95) or Espafut +1/+2/+3.
-- Aligned with the Light Gorget, Aqua Gorget & Snow Gorget.
-- Aligned with the Ligh... | gpl-3.0 |
Grade-A-Software/Comcast-DASH-VLC | share/lua/playlist/break.lua | 113 | 1995 | --[[
$Id$
Copyright © 2007 the VideoLAN team
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distribut... | gpl-2.0 |
Kyklas/luci-proto-hso | libs/nixio/docsrc/README.lua | 95 | 4751 | --- General Information.
module "README"
--- General error handling information.
-- <ul>
-- <li> Most of the functions available in this library may fail. If any error
-- occurs the function returns <strong>nil or false</strong>, an error code
-- (usually errno) and an additional error message text (if avaialable).</l... | apache-2.0 |
wkitty42/snort3 | piglet/tests/interface/common.lua | 1 | 1733 | run_all = function(tests)
local failed = false
for name, fn in pairs(tests) do
ok, msg = pcall(fn)
if not ok then
print("--", name, msg)
failed = true
end
end
if failed then
return false
end
return true
end
assert_table_eq = function(na... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Labyrinth_of_Onzozo/Zone.lua | 11 | 1733 | -----------------------------------
--
-- Zone: Labyrinth_of_Onzozo (213)
--
-----------------------------------
package.loaded["scripts/zones/Labyrinth_of_Onzozo/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/Labyrinth_... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | scripts/nebula.lua | 9 | 3874 | include "constants.lua"
--include 'letsNotFailAtTrig.lua'
--------------------------------------------------------------------------------
--pieces
local hull, facframe = piece ("hull", "facframe")
local engines = {}
local pads = {}
local docked = {}
-- 1, 2, 3, 4 = rear top, rear bottom, left nose, right nose turrets... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Bastok_Mines/npcs/_6i8.lua | 14 | 1290 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Door
-- Involved in Quest: A Thief in Norg!?
-- @pos 70 7 2 234
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zone... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | LuaRules/Gadgets/unit_rezz_hp.lua | 12 | 3171 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
if not gadgetHandler:IsSyncedCode() then
return
end
--------------------------------------------------------------------------------
------------------------... | gpl-2.0 |
smanolache/kong | kong/plugins/statsd/handler.lua | 1 | 2592 | local BasePlugin = require "kong.plugins.base_plugin"
local basic_serializer = require "kong.plugins.log-serializers.basic"
local statsd_logger = require "kong.plugins.statsd.statsd_logger"
local StatsdHandler = BasePlugin:extend()
StatsdHandler.PRIORITY = 1
local ngx_log = ngx.log
local ngx_timer_at = ngx.timer.at
... | apache-2.0 |
PicoleDeLimao/Ninpou2 | game/dota_addons/ninpou2/scripts/vscripts/heroes/orochimaru/edo_hashirama_adamantine_punch.lua | 1 | 1877 | --[[
Author: PicoleDeLimao
Date: 10.25.2016
Implement Edo Hashirama Adamantine Punch ability
]]
function SpellStart(event)
local caster = event.caster
local ability = event.ability
local target = event.target
local damage = ability:GetLevelSpecialValueFor("damage", ability:GetLevel() - 1)
Units:Pause(caster... | apache-2.0 |
Tele-Fox/self | bot/bot.lua | 1 | 7191 | 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")
require("./bot/permissions")
local f = assert(io.popen('/usr/bin/git describe --tags', 'r'))
VERSION = assert(f:read('*a'))
f:... | gpl-2.0 |
mahdib9/mahdi4 | bot/seedbot.lua | 1 | 10068 | 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 = '1.0'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
retu... | gpl-2.0 |
LuaDist2/lustache | spec/render_spec.lua | 4 | 5944 | local lustache = require "lustache"
describe("rendering", function()
local template, data, partials, expectation
before_each(function()
template = ""
data = {}
partials = {}
expectation = ""
end)
it("RenderNothingTest", function()
assert.equal(expectation, lustache:render(template, data,... | mit |
PicoleDeLimao/Ninpou2 | game/dota_addons/ninpou2/scripts/vscripts/events.lua | 1 | 13728 | -- This file contains all barebones-registered events and has already set up the passed-in parameters for your use.
-- Cleanup a player when they leave
function GameMode:OnDisconnect(keys)
DebugPrint('[BAREBONES] Player Disconnected ' .. tostring(keys.userid))
DebugPrintTable(keys)
local name = keys.name
loca... | apache-2.0 |
Scavenge/darkstar | scripts/zones/Caedarva_Mire/npcs/HomePoint#1.lua | 27 | 1269 | -----------------------------------
-- Area: Caedarva Mire
-- NPC: HomePoint#1
-- @pos -449 13.399 -497 79
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Caedarva_Mire/TextIDs");
require("scripts/globals/ho... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/abilities/rapture.lua | 27 | 1094 | -----------------------------------
-- Ability: Rapture
-- Enhances the potency of your next white magic spell.
-- Obtained: Scholar Level 55
-- Recast Time: Stratagem Charge
-- Duration: 1 white magic spell or 60 seconds, whichever occurs first
--
-- Level |Charges |Recharge Time per Charge
-- ----- -------- -----... | gpl-3.0 |
smanolache/kong | kong/plugins/galileo/alf.lua | 1 | 8302 | -- ALF implementation for ngx_lua/Kong
-- ALF version: 1.1.0
-- @version 2.0.0
-- @see https://github.com/Mashape/galileo-agent-spec
--
-- Incompatibilities with ALF 1.1 and important notes
-- ==================================================
-- * The following fields cannot be retrieved as of ngx_lua 0.10.2:
-- *... | apache-2.0 |
Scavenge/darkstar | scripts/globals/mobskills/Snatch_Morsel.lua | 56 | 1530 | ---------------------------------------------------
-- Snatch Morsel
-- Steals food effect
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------------
functio... | gpl-3.0 |
ihcfan/NautiPlot | hmi-cocos2d-x/external/lua/luajit/src/src/jit/dis_mips.lua | 99 | 13222 | ----------------------------------------------------------------------------
-- LuaJIT MIPS disassembler module.
--
-- Copyright (C) 2005-2013 Mike Pall. All rights reserved.
-- Released under the MIT/X license. See Copyright Notice in luajit.h
---------------------------------------------------------------------------... | gpl-2.0 |
OpenPrograms/mpmxyz-Programs | home/lib/parser/main.lua | 1 | 42750 | -----------------------------------------------------
--name : lib/parser/main.lua
--description: parsing library featuring a regex based lexer and an EBNF configured LR parser
--author : mpmxyz
--github page: https://github.com/mpmxyz/ocprograms
--forum page : none
-------------------------------------------... | mit |
Scavenge/darkstar | scripts/globals/items/woozyshroom.lua | 12 | 1178 | -----------------------------------------
-- ID: 4373
-- Item: woozyshroom
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Strength -4
-- Mind 2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
----------... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.