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 |
|---|---|---|---|---|---|
n0xus/darkstar | scripts/globals/items/pipira.lua | 18 | 1400 | -----------------------------------------
-- ID: 5787
-- Item: pipira
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-- Attack % 14.5
-----------------------------------------
require("scripts/globals/status");
----------------------------------------... | gpl-3.0 |
Python1320/wire | lua/entities/sent_deployableballoons.lua | 8 | 6928 | AddCSLuaFile()
DEFINE_BASECLASS( "base_wire_entity" )
ENT.PrintName = "Wire Balloon Deployer"
ENT.Author = "LuaPinapple"
ENT.Contact = "evilpineapple@cox.net"
ENT.Purpose = "It Deploys Balloons."
ENT.Instructions = "Use wire."
ENT.Category = "Wiremod"
ENT.Spawnable = true... | apache-2.0 |
davymai/CN-QulightUI | Interface/AddOns/DBM-Party-Cataclysm/GrimBatol/Erudax.lua | 1 | 1823 | local mod = DBM:NewMod(134, "DBM-Party-Cataclysm", 3, 71)
local L = mod:GetLocalizedStrings()
mod:SetRevision(("$Revision: 79 $"):sub(12, -3))
mod:SetCreatureID(40484)
mod:SetZone()
mod:RegisterCombat("combat")
mod:RegisterEventsInCombat(
"SPELL_AURA_APPLIED",
"SPELL_AURA_REMOVED",
"SPELL_CAST_START"
)
local wa... | gpl-2.0 |
behradhg/tagbot | libs/fakeredis.lua | 650 | 40405 | local unpack = table.unpack or unpack
--- Bit operations
local ok,bit
if _VERSION == "Lua 5.3" then
bit = (load [[ return {
band = function(x, y) return x & y end,
bor = function(x, y) return x | y end,
bxor = function(x, y) return x ~ y end,
bnot = function(x) return ~x end,
rshift = function(x... | gpl-3.0 |
xxlxx20/DEVKEEPER | libs/fakeredis.lua | 650 | 40405 | local unpack = table.unpack or unpack
--- Bit operations
local ok,bit
if _VERSION == "Lua 5.3" then
bit = (load [[ return {
band = function(x, y) return x & y end,
bor = function(x, y) return x | y end,
bxor = function(x, y) return x ~ y end,
bnot = function(x) return ~x end,
rshift = function(x... | gpl-2.0 |
n0xus/darkstar | scripts/zones/RuLude_Gardens/npcs/Goggehn.lua | 17 | 3000 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Goggehn
-- Involved in Mission: Bastok 3-3, 4-1
-- @zone 243
-- @pos 3 9 -76
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
package.loaded["scripts/globals/missions"] = nil;
----------------... | gpl-3.0 |
davymai/CN-QulightUI | Interface/AddOns/DBM-Party-BC/TK_Mechanar/Capacitus.lua | 1 | 1155 | local mod = DBM:NewMod(563, "DBM-Party-BC", 13, 258)
local L = mod:GetLocalizedStrings()
mod:SetRevision(("$Revision: 526 $"):sub(12, -3))
mod:SetCreatureID(19219)
mod:RegisterCombat("combat")
mod:RegisterEventsInCombat(
"SPELL_AURA_APPLIED",
"SPELL_CAST_START"
)
local warnPolarity = mod:NewCastAnnounce(... | gpl-2.0 |
n0xus/darkstar | scripts/globals/spells/bluemagic/wild_oats.lua | 18 | 1960 | -----------------------------------------
-- Spell: Wild Oats
-- Additional effect: Vitality Down. Duration of effect varies on TP
-- Spell cost: 9 MP
-- Monster Type: Plantoids
-- Spell Type: Physical (Piercing)
-- Blue Magic Points: 3
-- Stat Bonus: CHR+1, HP+10
-- Level: 4
-- Casting Time: 0.5 seconds
-- R... | gpl-3.0 |
GhoulofGSG9/BadgesPlus | lua/Badges+_ConsoleCommands.lua | 1 | 1701 | -- temp cache of often used function
local StringFormat = string.format
local function OnConsoleBadges()
local function RequestCallback(sClientBadges)
Print( "--Available Badges--" )
for i, sBadgeRows in pairs( sClientBadges ) do
Print( StringFormat( "Badge-Row %s:", i ))
for _, sBadge in ipairs( sBadgeRows... | mit |
davymai/CN-QulightUI | Interface/AddOns/Skada/lib/AceAddon-3.0/AceAddon-3.0.lua | 66 | 25788 | --- **AceAddon-3.0** provides a template for creating addon objects.
-- It'll provide you with a set of callback functions that allow you to simplify the loading
-- process of your addon.\\
-- Callbacks provided are:\\
-- * **OnInitialize**, which is called directly after the addon is fully loaded.
-- * **OnEnable** wh... | gpl-2.0 |
Arashbrsh/lifeiran | plugins/wiki.lua | 735 | 4364 | -- http://git.io/vUA4M
local socket = require "socket"
local JSON = require "cjson"
local wikiusage = {
"!wiki [text]: Read extract from default Wikipedia (EN)",
"!wiki(lang) [text]: Read extract from 'lang' Wikipedia. Example: !wikies hola",
"!wiki search [text]: Search articles on default Wikipedia (EN)",
"!... | gpl-2.0 |
alirezanile/Ldcxvx | plugins/wiki.lua | 735 | 4364 | -- http://git.io/vUA4M
local socket = require "socket"
local JSON = require "cjson"
local wikiusage = {
"!wiki [text]: Read extract from default Wikipedia (EN)",
"!wiki(lang) [text]: Read extract from 'lang' Wikipedia. Example: !wikies hola",
"!wiki search [text]: Search articles on default Wikipedia (EN)",
"!... | gpl-2.0 |
shayanchabok007/antispamfox | plugins/wiki.lua | 735 | 4364 | -- http://git.io/vUA4M
local socket = require "socket"
local JSON = require "cjson"
local wikiusage = {
"!wiki [text]: Read extract from default Wikipedia (EN)",
"!wiki(lang) [text]: Read extract from 'lang' Wikipedia. Example: !wikies hola",
"!wiki search [text]: Search articles on default Wikipedia (EN)",
"!... | gpl-2.0 |
CameronHynes/OpenRA | mods/cnc/maps/nod02a/nod02a.lua | 15 | 7806 | NodUnits = { "bggy", "e1", "e1", "e1", "e1", "e1", "bggy", "e1", "e1", "e1", "bggy" }
NodBaseBuildings = { "hand", "fact", "nuke" }
DfndActorTriggerActivator = { Refinery, Barracks, Powerplant, Yard }
Atk3ActorTriggerActivator = { Guard1, Guard2, Guard3, Guard4, Guard5, Guard6, Guard7 }
Atk1CellTriggerActivator = { C... | gpl-3.0 |
TRex22/xenia | tools/build/scripts/test_suite.lua | 10 | 2547 | include("build_paths.lua")
include("util.lua")
newoption({
trigger = "test-suite-mode",
description = "Whether to merge all tests in a test_suite into a single project",
value = "MODE",
allowed = {
{ "individual", "One binary per test." },
{ "combined", "One binary per test suite (default)." },
},
})... | bsd-3-clause |
Python1320/wire | lua/wire/stools/output.lua | 9 | 1068 | WireToolSetup.setCategory( "Input, Output/Keyboard Interaction" )
WireToolSetup.open( "output", "Numpad Output", "gmod_wire_output", nil, "Numpad Outputs" )
if CLIENT then
language.Add( "Tool.wire_output.name", "Output Tool (Wire)" )
language.Add( "Tool.wire_output.desc", "Spawns an output for use with the wire syst... | apache-2.0 |
davymai/CN-QulightUI | Interface/AddOns/DBM-Party-Cataclysm/HallsOfOrigination/Anraphet.lua | 1 | 2719 | local mod = DBM:NewMod(126, "DBM-Party-Cataclysm", 4, 70)
local L = mod:GetLocalizedStrings()
mod:SetRevision(("$Revision: 79 $"):sub(12, -3))
mod:SetCreatureID(39788)
mod:SetZone()
mod:RegisterCombat("combat")
mod:RegisterEvents(
"CHAT_MSG_MONSTER_SAY"
)
mod:RegisterEventsInCombat(
"SPELL_AURA_APPLIED",
"SPELL... | gpl-2.0 |
xubigshu/skynet | 3rd/lpeg/re.lua | 160 | 6286 | -- $Id: re.lua,v 1.44 2013/03/26 20:11:40 roberto Exp $
-- imported functions and modules
local tonumber, type, print, error = tonumber, type, print, error
local setmetatable = setmetatable
local m = require"lpeg"
-- 'm' will be used to parse expressions, and 'mm' will be used to
-- create expressions; that is, 're' ... | mit |
shayanchabok007/antispamfox | plugins/media.lua | 297 | 1590 | do
local function run(msg, matches)
local receiver = get_receiver(msg)
local url = matches[1]
local ext = matches[2]
local file = download_to_file(url)
local cb_extra = {file_path=file}
local mime_type = mimetype.get_content_type_no_sub(ext)
if ext == 'gif' then
print('send_file')
send_docum... | gpl-2.0 |
misterdustinface/gamelib-common-polyglot | src/param-adjuster/style.lua | 1 | 3041 | local palette = require 'palette'
return {
highlighted = palette.vibrant_sunset_orange,
selected = palette.vibrant_sky_blue,
pressed = palette.pastel_green,
background = palette.very_dark_gray,
background_alt = palette.true_black,
background_separator = palette.dark_gray,
element = palette.medium_gray,
... | gpl-2.0 |
n0xus/darkstar | scripts/globals/abilities/pets/somnolence.lua | 12 | 1384 | ---------------------------------------------------
-- Somnolence
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/globals/magic");
---------------------------------------------------... | gpl-3.0 |
ozhanf/ozhanf--bot | libs/JSON.lua | 3765 | 34843 | -- -*- coding: utf-8 -*-
--
-- Simple JSON encoding and decoding in pure Lua.
--
-- Copyright 2010-2014 Jeffrey Friedl
-- http://regex.info/blog/
--
-- Latest version: http://regex.info/blog/lua/json
--
-- This code is released under a Creative Commons CC-BY "Attribution" License:
-- http://creativecommons.org/licenses... | gpl-2.0 |
MHPG/MHP | libs/JSON.lua | 3765 | 34843 | -- -*- coding: utf-8 -*-
--
-- Simple JSON encoding and decoding in pure Lua.
--
-- Copyright 2010-2014 Jeffrey Friedl
-- http://regex.info/blog/
--
-- Latest version: http://regex.info/blog/lua/json
--
-- This code is released under a Creative Commons CC-BY "Attribution" License:
-- http://creativecommons.org/licenses... | gpl-2.0 |
feiying1460/witi-openwrt | package/ramips/ui/luci-mtk/src/applications/luci-statistics/luasrc/model/cbi/luci_statistics/netlink.lua | 78 | 2765 | --[[
Luci configuration model for statistics - collectd netlink plugin configuration
(c) 2008 Freifunk Leipzig / 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 Licen... | gpl-2.0 |
erfan01311/supergroups | plugins/weather.lua | 274 | 1531 | do
local BASE_URL = "http://api.openweathermap.org/data/2.5/weather"
local function get_weather(location)
print("Finding weather in ", location)
location = string.gsub(location," ","+")
local url = BASE_URL
url = url..'?q='..location
url = url..'&units=metric'
url = url..'&appid=bd82977b86bf27fb59a04b61b6... | gpl-2.0 |
davymai/CN-QulightUI | Interface/AddOns/DBM-BWL/localization.ru.lua | 1 | 4436 | if GetLocale() ~= "ruRU" then return end
local L
-----------------
-- Razorgore --
-----------------
L = DBM:GetModLocalization("Razorgore")
L:SetGeneralLocalization{
name = "Бритвосмерт Неукротимый"
}
L:SetTimerLocalization{
TimerAddsSpawn = "Появление аддов"
}
L:SetOptionLocalization{
TimerAddsSpawn = "Показ... | gpl-2.0 |
RezaShomare1/xy | plugins/ingroup.lua | 527 | 44020 | 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 |
rekotc/game-engine-demo | Source/GCC4/3rdParty/luaplus51-all/Src/Modules/luaexpat/tests/test.lua | 3 | 6859 | #!/usr/local/bin/lua5.1
-- See Copyright Notice in license.html
-- $Id: test.lua,v 1.6 2006/06/08 20:34:52 tomas Exp $
require"lxp"
print (lxp._VERSION)
-- basic test with no preamble
local p = lxp.new{}
p:setencoding("ISO-8859-1")
assert(p:parse[[<tag cap="5">hi</tag>]])
p:close()
preamble = [[
<?xml version="1.0"... | lgpl-3.0 |
xxlxx20/DEVKEEPER | libs/redis.lua | 566 | 1214 | local Redis = require 'redis'
local FakeRedis = require 'fakeredis'
local params = {
host = os.getenv('REDIS_HOST') or '127.0.0.1',
port = tonumber(os.getenv('REDIS_PORT') or 6379)
}
local database = os.getenv('REDIS_DB')
local password = os.getenv('REDIS_PASSWORD')
-- Overwrite HGETALL
Redis.commands.hgetall = ... | gpl-2.0 |
mpeterv/busted | busted/languages/ua.lua | 15 | 1123 | local s = require('say')
s:set_namespace('ua')
-- 'Pending: test.lua @ 12 \n description
s:set('output.pending', 'Очікує')
s:set('output.failure', 'Зламався')
s:set('output.success', 'Пройшов')
s:set('output.pending_plural', 'очікують')
s:set('output.failure_plural', 'зламались')
s:set('output.success_plural', 'прой... | mit |
n0xus/darkstar | scripts/zones/PsoXja/npcs/_09c.lua | 17 | 1614 | -----------------------------------
-- Area: Pso'Xja
-- NPC: _09c (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 |
DemonSinusa/SiemanC | LibsUser/luajit2/build/sg/lib/klass.lua | 4 | 5868 | -- $FILE klass.lua
-- $VERSION 0.0.5
-- $AUTHOR Ketmar
-- $DESCRIPTION
-- another simple prototype-based class engine with finalizers and support for 'inherited' calls
--
-- $LICENSE
-- WTFPL
--
-- $DEPENDS
-- kmodule
--
-- $USAGE
-- local newclass = class(nil, "baseclass")
-- function newclass:Method (...) p... | gpl-3.0 |
rekotc/game-engine-demo | Source/GCC4/3rdParty/luaplus51-all/Src/Modules/wxLua/samples/mdi.wx.lua | 4 | 3114 | -----------------------------------------------------------------------------
-- Name: mdi.wx.lua
-- Purpose: wxMdi wxLua sample
-- Author: J Winwood
-- Modified by:
-- Created: 16/11/2001
-- RCS-ID: $Id: mdi.wx.lua,v 1.15 2008/01/22 04:45:39 jrl1 Exp $
-- Copyright: (c) 2001 Lomtick Software... | lgpl-3.0 |
davymai/CN-QulightUI | Interface/AddOns/DBM-Party-WotLK/HallsofReflection/LichKingEvent.lua | 1 | 1499 | local mod = DBM:NewMod(603, "DBM-Party-WotLK", 16, 276)
local L = mod:GetLocalizedStrings()
mod:SetRevision(("$Revision: 155 $"):sub(12, -3))
--mod:SetEncounterID(843, 844)
mod:RegisterEvents(
"SPELL_AURA_REMOVED",
"CHAT_MSG_MONSTER_YELL"
)
local WarnWave = mod:NewAnnounce("WarnWave", 2)
local timerEscape = mod:... | gpl-2.0 |
glycerine/goq | vendor/git.apache.org/thrift.git/lib/lua/TTransport.lua | 115 | 2800 | --
-- Licensed to the Apache Software Foundation (ASF) under one
-- or more contributor license agreements. See the NOTICE file
-- distributed with this work for additional information
-- regarding copyright ownership. The ASF licenses this file
-- to you under the Apache License, Version 2.0 (the
-- "License"); you ma... | bsd-2-clause |
n0xus/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Mulnith.lua | 34 | 1299 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Mulnith
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
require(... | gpl-3.0 |
n0xus/darkstar | scripts/globals/bcnm.lua | 15 | 41974 | require("scripts/globals/status");
require("scripts/globals/keyitems");
require("scripts/globals/missions");
require("scripts/globals/quests");
-- NEW SYSTEM BCNM NOTES
-- The "core" functions TradeBCNM EventUpdateBCNM EventTriggerBCNM EventFinishBCNM all return TRUE if the action performed is covered by the function.... | gpl-3.0 |
n0xus/darkstar | scripts/globals/weaponskills/blade_jin.lua | 30 | 1426 | -----------------------------------
-- Blade Jin
-- Katana weapon skill
-- Skill Level: 200
-- Delivers a three-hit attack. Chance of params.critical varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Breeze Gorget & Thunder Gorget.
-- Aligned with the Breeze Belt & Thunder Belt.
-- Element: W... | gpl-3.0 |
n0xus/darkstar | scripts/zones/The_Shrouded_Maw/bcnms/darkness_named.lua | 17 | 2518 | -----------------------------------
-- Area: The_Shrouded_Maw
-- Name: darkness_named
-----------------------------------
package.loaded["scripts/zones/The_Shrouded_Maw/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems");
require("scripts/zones/Th... | gpl-3.0 |
n0xus/darkstar | scripts/globals/abilities/pets/zantetsuken.lua | 21 | 1387 | ---------------------------------------------------
-- Zantetsuken
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/globals/magic");
-----------------------------------------... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Dynamis-Beaucedine/mobs/Goblin_Statue.lua | 12 | 3366 | -----------------------------------
-- Area: Dynamis Beaucedine
-- NPC: Goblin Statue
-- Map Position: http://images1.wikia.nocookie.net/__cb20090312005233/ffxi/images/thumb/b/b6/Bea.jpg/375px-Bea.jpg
-----------------------------------
package.loaded["scripts/zones/Dynamis-Beaucedine/TextIDs"] = nil;
----------... | gpl-3.0 |
feiying1460/witi-openwrt | package/ramips/ui/luci-mtk/src/modules/base/luasrc/sgi/cgi.lua | 87 | 2260 | --[[
LuCI - SGI-Module for CGI
Description:
Server Gateway Interface for CGI
FileId:
$Id$
License:
Copyright 2008 Steven Barth <steven@midlink.org>
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... | gpl-2.0 |
n0xus/darkstar | scripts/zones/Dynamis-Beaucedine/mobs/Angra_Mainyu.lua | 11 | 2401 | -----------------------------------
-- Area: Dynamis Beaucedine
-- NPC: Angra Mainyu
-- Mega Boss
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems");
require("scripts/globals/status");
-----------------------------------
-- onMobInitialize Action
--... | gpl-3.0 |
CodedNil/Azure | lua/azure/sv_azure.lua | 1 | 1220 | include("sh_util.lua")
AddCSLuaFile("sh_util.lua")
util.AddNetworkString("azure_AdminChat")
hook.Add("PlayerSay", "azure_PlayerSay", function(Client, Text)
if (string.StartWith(Text, azure.CmdStart)) then
Text = Text:sub(#azure.CmdStart + 1)
local Command = Text:match("([_%w]+)")
if (Command) then
Comma... | gpl-3.0 |
davymai/CN-QulightUI | Interface/AddOns/Broker_Garrison/Libs/AceGUI-3.0-SharedMediaWidgets/Libs/AceGUI-3.0/widgets/AceGUIWidget-Slider.lua | 42 | 8139 | --[[-----------------------------------------------------------------------------
Slider Widget
Graphical Slider, like, for Range values.
-------------------------------------------------------------------------------]]
local Type, Version = "Slider", 21
local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
if not Ace... | gpl-2.0 |
n0xus/darkstar | scripts/zones/Port_Jeuno/npcs/Rinzei.lua | 34 | 1369 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Rinzei
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Port_Jeuno/TextIDs");
require("scripts/globals/quests");
-----... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Windurst_Waters/npcs/Clais.lua | 36 | 1715 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Clais
-- Involved In Quest: Hat in Hand
-- @zone = 238
-- @pos = -31 -3 11
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/ques... | gpl-3.0 |
rmobis/Raphael-Library | src/Events.lua | 1 | 5765 | --[[
* Handles talking to a NPC. Takes care of all waiting times and checks if NPCs
* channel is open. By default, it uses a waiting method that waits until it
* sees the the message was actually sent. Optionally, you can opt for the
* original waitping() solution, passing `normalWait` as true.
*
* @since 0.1... | mit |
n0xus/darkstar | scripts/zones/Dragons_Aery/npcs/relic.lua | 38 | 1837 | -----------------------------------
-- Area: Dragon's Aery
-- NPC: <this space intentionally left blank>
-- @pos -20 -2 61 154
-----------------------------------
package.loaded["scripts/zones/Dragons_Aery/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Dragons_Aery/TextIDs");
-----------... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Fort_Ghelsba/npcs/Treasure_Chest.lua | 19 | 2565 | -----------------------------------
-- Area: Fort Ghelsba
-- NPC: Treasure Chest
-- @zone 141
-----------------------------------
package.loaded["scripts/zones/Fort_Ghelsba/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/treasure");
require("scripts/z... | gpl-3.0 |
RockySeven3161/Unknown.. | bot/utils.lua | 356 | 14963 | 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 |
n0xus/darkstar | scripts/globals/items/beluga.lua | 41 | 1064 | -----------------------------------------
-- ID: Beluga
-- Beluga
-- Additional Effect: Ice Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-----------------------------------
functi... | gpl-3.0 |
xopxe/LuPA | lib/environment_bobot.lua | 1 | 5740 | #!/usr/bin/lua
--[[
Copyright 2008 MINA Group, Facultad de Ingenieria, Universidad de la
Republica, Uruguay.
This file is part of the RAN System.
The RAN System 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... | gpl-3.0 |
ozhanf/ozhanf--bot | plugins/vote.lua | 615 | 2128 | do
local _file_votes = './data/votes.lua'
function read_file_votes ()
local f = io.open(_file_votes, "r+")
if f == nil then
print ('Created voting file '.._file_votes)
serialize_to_file({}, _file_votes)
else
print ('Values loaded: '.._file_votes)
f:close()
end
return loadfile (_file_votes)()... | gpl-2.0 |
QVaucher/Gwynt-Lua | assets/gameboard2.lua | 1 | 40933 | return {
version = "1.1",
luaversion = "5.1",
tiledversion = "1.0.2",
orientation = "orthogonal",
renderorder = "left-up",
width = 66,
height = 40,
tilewidth = 50,
tileheight = 50,
nextobjectid = 148,
properties = {},
tilesets = {
{
name = "i2yHbmQ",
firstgid = 1,
tilewidth... | mit |
davymai/CN-QulightUI | Interface/AddOns/DBM-Party-WoD/Skyreach/SkyreachTrash.lua | 1 | 2005 | local mod = DBM:NewMod("SkyreachTrash", "DBM-Party-WoD", 7)
local L = mod:GetLocalizedStrings()
mod:SetRevision(("$Revision: 12088 $"):sub(12, -3))
--mod:SetModelID(47785)
mod:SetZone()
mod.isTrashMod = true
mod:RegisterEvents(
"SPELL_AURA_APPLIED 160303 160288",
"SPELL_AURA_REMOVED 160303 160288"
)
local specWa... | gpl-2.0 |
karamage/waifu2x | train.lua | 33 | 5163 | require './lib/portable'
require 'optim'
require 'xlua'
require 'pl'
local settings = require './lib/settings'
local minibatch_adam = require './lib/minibatch_adam'
local iproc = require './lib/iproc'
local reconstruct = require './lib/reconstruct'
local pairwise_transform = require './lib/pairwise_transform'
local im... | mit |
n0xus/darkstar | scripts/zones/Dynamis-Valkurm/mobs/Cirrate_Christelle.lua | 16 | 4114 | -----------------------------------
-- Area: Dynamis Valkurm
-- NPC: Cirrate_Christelle
-----------------------------------
package.loaded["scripts/zones/Dynamis-Valkurm/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Valkurm/TextIDs");
... | gpl-3.0 |
VincentGong/chess | cocos2d-x/tests/lua-tests/src/mainMenu.lua | 2 | 11419 | require "Cocos2d"
require "Cocos2dConstants"
require "Opengl"
require "OpenglConstants"
require "StudioConstants"
require "GuiConstants"
require "src/helper"
require "src/testResource"
require "src/VisibleRect"
require "src/AccelerometerTest/AccelerometerTest"
require "src/ActionManagerTest/ActionManagerTest"
require ... | mit |
Keithenneu/Dota2-FullOverwrite | itemPurchase/enigma.lua | 2 | 1340 | -------------------------------------------------------------------------------
--- AUTHOR: Keithen
--- GITHUB REPO: https://github.com/Nostrademous/Dota2-FullOverwrite
-------------------------------------------------------------------------------
BotsInit = require( "game/botsinit" )
local thisBot = BotsInit.CreateG... | gpl-3.0 |
LiberatorUSA/GUCEF | projects/premake5/targets/GUCEF_exe_MyGUI.ImageSetViewer/premake5.lua | 1 | 1778 | --------------------------------------------------------------------
-- This file was automatically generated by ProjectGenerator
-- which is tooling part the build system designed for GUCEF
-- (Galaxy Unlimited Framework)
-- For the latest info, see http://www.VanvelzenSoftware.com/
--
-- The contents of this file... | apache-2.0 |
jshackley/darkstar | scripts/globals/mobskills/Gregale_Wing.lua | 18 | 1239 | ---------------------------------------------
-- Gregale Wing
--
-- Description: An icy wind deals Ice damage to enemies within a very wide area of effect. Additional effect: Paralyze
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: 30' radial.
-- Notes: Used only by Jormungand and Isgebi... | gpl-3.0 |
kubernetes/ingress-nginx | rootfs/etc/nginx/lua/util/nodemap.lua | 4 | 3832 | local math_random = require("math").random
local util_tablelength = require("util").tablelength
local ngx = ngx
local pairs = pairs
local string = string
local setmetatable = setmetatable
local _M = {}
--- create_map generates the node hash table
-- @tparam {[string]=number} nodes A table with the node as a key and i... | apache-2.0 |
jshackley/darkstar | scripts/globals/abilities/water_maneuver.lua | 35 | 1609 | -----------------------------------
-- Ability: Water Maneuver
-- Enhances the effect of water attachments. Must have animator equipped.
-- Obtained: Puppetmaster level 1
-- Recast Time: 10 seconds (shared with all maneuvers)
-- Duration: 1 minute
-----------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Apollyon/mobs/Inhumer.lua | 1 | 1166 | -----------------------------------
-- Area: Apollyon SE
-- NPC: Inhumer
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
----------------------------... | gpl-3.0 |
jshackley/darkstar | scripts/globals/mobskills/Pinning_Shot.lua | 25 | 1052 | ---------------------------------------------
-- Pinning Shot
--
-- Description: Delivers a threefold ranged attack to targets in an area of effect. Additional effect: Bind
-- Type: Physical
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: Unknown
-- Notes: Used only by Medusa.
----------------------------... | gpl-3.0 |
shagu/pfQuest | database.lua | 1 | 52296 | -- multi api compat
local compat = pfQuestCompat
pfDatabase = {}
local loc = GetLocale()
local dbs = { "items", "quests", "quests-itemreq", "objects", "units", "zones", "professions", "areatrigger", "refloot" }
local noloc = { "items", "quests", "objects", "units" }
pfDB.locales = {
["enUS"] = "English",
["koKR"... | mit |
DipColor/mehrabon3 | plugins/lyrics.lua | 695 | 2113 | do
local BASE_LNM_URL = 'http://api.lyricsnmusic.com/songs'
local LNM_APIKEY = '1f5ea5cf652d9b2ba5a5118a11dba5'
local BASE_LYRICS_URL = 'http://api.chartlyrics.com/apiv1.asmx/SearchLyricDirect'
local function getInfo(query)
print('Getting info of ' .. query)
local url = BASE_LNM_URL..'?api_key='..LNM_APIKEY
... | gpl-2.0 |
LiberatorUSA/GUCEF | dependencies/tolua/src/bin/lua/compat.lua | 7 | 4170 | -------------------------------------------------------------------
-- Real globals
-- _ALERT
-- _ERRORMESSAGE
-- _VERSION
-- _G
-- assert
-- error
-- metatable
-- next
-- print
-- require
-- tonumber
-- tostring
-- type
-------------------------------------------------------------------
-- collectgarbage
-- gcinfo
-... | apache-2.0 |
jshackley/darkstar | scripts/zones/Lower_Jeuno/npcs/_l00.lua | 36 | 1563 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Streetlamp
-- Involved in Quests: Community Service
-- @zone 245
-- @pos -109.065 0 -158.032
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/gl... | gpl-3.0 |
SpRoXx/GTW-RPG | [misc]/modshop/client.lua | 3 | 8332 | -- NOTE:
-- You may change the upgrade prices or names but DO NOT change anything else
-- if you still do, the script may get bugged and breaks!
-- Modshop resource by Dennis aka UniOn
-- Some global variables you can change to whatever you want
shopName = "Transfender"
colorPickerName = "Modshop Color Picker"
-- A ... | bsd-2-clause |
jshackley/darkstar | scripts/zones/Port_San_dOria/TextIDs.lua | 14 | 4857 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED_1 = 6422; -- You cannot obtain the <<<Possible Special Code: 01>>><<<Possible Special Code: 05>>>#<<<BAD CHAR: 8280>>><<<BAD CHAR: 80>>><<<BAD CHAR: 80>>>.<<<Prompt>>>
ITEM_CANNOT_BE_OBTAINED_2 = 6423; -- You cannot obtain the <<<Possib... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/HomePoint#1.lua | 17 | 1265 | -----------------------------------
-- Area: Windurst_Waters_[S]
-- NPC: HomePoint#1
-- @pos -32 -5 131 94
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Windurst_Waters_[S]/TextIDs");
requir... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Gevarg.lua | 38 | 1052 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Gevarg
-- Type: Past Event Watcher
-- @zone: 94
-- @pos -46.448 -6.312 212.384
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = ni... | gpl-3.0 |
SpRoXx/GTW-RPG | [maps]/GTWjailmap/jail_map.lua | 2 | 29830 | --[[
********************************************************************************
Project owner: RageQuit community
Project name: GTW-RPG
Developers: Mr_Moose
Source code: https://github.com/GTWCode/GTW-RPG/
Bugtracker: http://forum.404rq.com/bug-reports/
Suggestions: http://forum.404rq.com/mta-se... | bsd-2-clause |
tridge/ardupilot | libraries/AP_Scripting/examples/set-target-velocity.lua | 18 | 3704 | -- command a Copter to takeoff to 10m and fly a square pattern
--
-- CAUTION: This script only works for Copter
-- this script waits for the vehicle to be armed and RC6 input > 1800 and then:
-- a) switches to Guided mode
-- b) takeoff to 10m
-- c) flies a 20m x 20m square pattern using the velocity controller... | gpl-3.0 |
jshackley/darkstar | scripts/zones/RuLude_Gardens/npcs/Trail_Markings.lua | 17 | 2742 | -----------------------------------
-- Area: Rulude Gardens
-- NPC: Trail Markings
-- Dynamis-Jeuno Enter
-- @pos 35 9 -51 243
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("s... | gpl-3.0 |
albertbori/LootRaffle | Events.lua | 1 | 13857 | local _, LootRaffle_Local=...
-- Slash commands
SLASH_LootRaffle1 = '/raffle';
function SlashCmdList.LootRaffle(msg, editbox)
if msg == "show" then
-- LootRaffle_Frame:Show();
elseif msg == "hide" then
-- LootRaffle_Frame:Hide();
elseif string.find(msg, "^data") then
local itemLink ... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Windurst_Woods/npcs/Panoquieur_TK.lua | 30 | 4701 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Panoquieur, T.K.
-- @pos -60 0 -31 241
-- X Grant Signet
-- X Recharge Emperor Band, Empress Band, or Chariot Band
-- X Accepts traded Crystals to fill up the Rank bar to open new Missions.
-- X Sells items in exchange for Conquest Points
-- X Start S... | gpl-3.0 |
Victek/wrt1900ac-aa | veriksystems/luci-0.11/libs/core/luasrc/fs.lua | 13 | 8711 | --[[
LuCI - Filesystem tools
Description:
A module offering often needed filesystem manipulation functions
FileId:
$Id: fs.lua 5134 2009-07-24 17:34:40Z Cyrus $
License:
Copyright 2008 Steven Barth <steven@midlink.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except ... | gpl-2.0 |
josetaas/YokiRaidCursor | Libs/Ace3/AceDB-3.0/AceDB-3.0.lua | 7 | 25463 | --- **AceDB-3.0** manages the SavedVariables of your addon.
-- It offers profile management, smart defaults and namespaces for modules.\\
-- Data can be saved in different data-types, depending on its intended usage.
-- The most common data-type is the `profile` type, which allows the user to choose
-- the active p... | mit |
Victek/wrt1900ac-aa | veriksystems/luci-0.11/applications/luci-openvpn/luasrc/model/cbi/openvpn.lua | 7 | 3361 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
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: openvpn.l... | gpl-2.0 |
jshackley/darkstar | scripts/zones/Port_Bastok/npcs/Corann.lua | 36 | 2068 | -----------------------------------
-- Area: Port Bastok
-- NPC: Corann
-- Start & Finishes Quest: The Quadav's Curse
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/s... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Selbina/npcs/Lombaria.lua | 32 | 1031 | -----------------------------------
-- Area: Selbina
-- NPC: Lombaria
-- Map Seller NPC
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
require("scripts/globals/magic_maps");
------------... | gpl-3.0 |
jshackley/darkstar | scripts/globals/spells/bluemagic/yawn.lua | 17 | 1611 | -----------------------------------------
-- Spell: Yawn
-- Puts all enemies within range to sleep
-- Spell cost: 55 MP
-- Monster Type: Birds
-- Spell Type: Magical (Light)
-- Blue Magic Points: 3
-- Stat Bonus: CHR+1, HP+5
-- Level: 64
-- Casting Time: 3 seconds
-- Recast Time: 60 seconds
-- Duration: 90 s... | gpl-3.0 |
Keithenneu/Dota2-FullOverwrite | debugging.lua | 1 | 4162 | --------------------------------------------------------------------------------------------
--- AUTHOR: Keithen
--- GITHUB REPO: https://github.com/Nostrademous/Dota2-FullOverwrite
--------------------------------------------------------------------------------------------
_G._savedEnv = getfenv()
module( "debugging"... | gpl-3.0 |
Victek/wrt1900ac-aa | veriksystems/luci-0.11/libs/web/luasrc/template.lua | 6 | 3106 | --[[
LuCI - Template Parser
Description:
A template parser supporting includes, translations, Lua code blocks
and more. It can be used either as a compiler or as an interpreter.
FileId: $Id: template.lua 9558 2012-12-18 13:58:22Z jow $
License:
Copyright 2008 Steven Barth <steven@midlink.org>
Licensed under the Apa... | gpl-2.0 |
jshackley/darkstar | scripts/zones/Garlaige_Citadel/TextIDs.lua | 22 | 1860 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6538; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6543; -- Obtained: <item>.
GIL_OBTAINED = 6544; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6546; -- Obtained... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Bastok_Markets_[S]/npcs/Weldon.lua | 34 | 1109 | ----------------------------------
-- Area: Bastok Markets [S]
-- NPC: Weldon
-- Type: Item Deliverer
-- @pos -191.575 -8 36.688 87
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Bastok_Marke... | gpl-3.0 |
LiberatorUSA/GUCEF | plugins/VFS/vfspluginAWSS3/premake5.lua | 1 | 5868 | --------------------------------------------------------------------
-- This file was automatically generated by ProjectGenerator
-- which is tooling part the build system designed for GUCEF
-- (Galaxy Unlimited Framework)
-- For the latest info, see http://www.VanvelzenSoftware.com/
--
-- The contents of this file... | apache-2.0 |
kubernetes/ingress-nginx | rootfs/etc/nginx/lua/plugins.lua | 1 | 1682 | local require = require
local ngx = ngx
local ipairs = ipairs
local string_format = string.format
local ngx_log = ngx.log
local INFO = ngx.INFO
local ERR = ngx.ERR
local pcall = pcall
local _M = {}
local MAX_NUMBER_OF_PLUGINS = 20
local plugins = {}
local function load_plugin(name)
local path = string_format("plugi... | apache-2.0 |
jshackley/darkstar | scripts/zones/Port_San_dOria/npcs/Avandale.lua | 38 | 1039 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Avandale
-- Type: Standard NPC
-- @zone: 232
-- @pos -105.524 -9 -125.274
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
----------... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Upper_Jeuno/npcs/Zekobi-Morokobi.lua | 38 | 1038 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Zekobi-Morokobi
-- Type: Standard NPC
-- @zone: 244
-- @pos 41.258 -5.999 -74.105
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
-----------... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Dangruf_Wadi/npcs/Grounds_Tome.lua | 34 | 1133 | -----------------------------------
-- Area: Dangruf Wadi
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(pl... | gpl-3.0 |
MeGaTG/amirdb | plugins/tr.lua | 7 | 1365 | do
function translate(source_lang, target_lang, text)
local path = "http://translate.google.com/translate_a/single"
-- URL query parameters
local params = {
client = "gtx",
ie = "UTF-8",
oe = "UTF-8",
hl = "en",
dt = "t",
tl = target_lang or "en",
sl = source_lang or "auto",
q = U... | gpl-2.0 |
jshackley/darkstar | scripts/globals/spells/bluemagic/mp_drainkiss.lua | 18 | 1946 | -----------------------------------------
-- Spell: MP Drainkiss
-- Steals an enemy's MP. Ineffective against undead
-- Spell cost: 20 MP
-- Monster Type: Amorphs
-- Spell Type: Magical (Dark)
-- Blue Magic Points: 4
-- Stat Bonus: MP+5
-- Level: 42
-- Casting Time: 4 seconds
-- Recast Time: 90 seconds
-- Ma... | gpl-3.0 |
jshackley/darkstar | scripts/globals/items/bowl_of_quadav_stew.lua | 35 | 1392 | -----------------------------------------
-- ID: 4569
-- Item: Bowl of Quadav Stew
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Agility -4
-- Vitality 2
-- Defense % 17
-- Defense Cap 60
-----------------------------------------
require("scripts/globals/status");
-------... | gpl-3.0 |
10sa/Advanced-Nutscript | nutscript/plugins/improveddoors/sh_plugin.lua | 1 | 1802 | PLUGIN.name = "개선된 도어 시스템 (Improved Door System)"
PLUGIN.author = "Tensa / Chessnut"
PLUGIN.desc = "기존 도어 플러그인을 개선한 도어 플러그인입니다."
PLUGIN.base = true;
nut.config.doorCost = 50
nut.config.doorSellAmount = 25
function PLUGIN:IsDoor(entity)
local class = string.lower(entity:GetClass() or "");
if (class and (class == ... | mit |
bsmr-games/OpenRA | mods/d2k/maps/atreides-01b/atreides01b.lua | 18 | 4872 |
HarkonnenReinforcements = { }
HarkonnenReinforcements["Easy"] =
{
{ "light_inf", "light_inf" }
}
HarkonnenReinforcements["Normal"] =
{
{ "light_inf", "light_inf" },
{ "light_inf", "light_inf", "light_inf" },
{ "light_inf", "trike" },
}
HarkonnenReinforcements["Hard"] =
{
{ "light_inf", "light_inf" },
{ "trike"... | gpl-3.0 |
jshackley/darkstar | scripts/globals/items/anchovy_pizza.lua | 35 | 1225 | -----------------------------------------
-- ID: 5699
-- Item: anchovy_pizza
-- Food Effect: 3hours, All Races
-----------------------------------------
-- Dexterity 1
-- Attack 20%
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- On... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.