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 |
|---|---|---|---|---|---|
gfgtdf/wesnoth-old | data/ai/micro_ais/mai-defs/animals.lua | 4 | 6717 | local AH = wesnoth.require "ai/lua/ai_helper.lua"
local MAIH = wesnoth.require("ai/micro_ais/micro_ai_helper.lua")
function wesnoth.micro_ais.big_animals(cfg)
local required_keys = { "[filter]"}
local optional_keys = { "[avoid_unit]", "[filter_location]", "[filter_location_wander]" }
local CA_parms = {
... | gpl-2.0 |
waytim/darkstar | scripts/zones/Arrapago_Reef/TextIDs.lua | 6 | 1141 | -- 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 = 6384; -- Obtained: <item>
GIL_OBTAINED = 6385; -- Obtained <number> gil
KEYITEM_OBTAINED = 6387; -- Obtain... | gpl-3.0 |
drxspace/cronoconky | cronograph_blk/scripts/clock_rings.lua | 1 | 10950 | --[[
Clock Rings by londonali1010 (2009)
This script draws percentage meters as rings, and also draws clock hands if you want!
It is fully customisable; all options are described in the script. This script is
based off a combination of my clock.lua script and my rings.lua script.
IMPORTANT: if you are using the 'cpu'... | gpl-2.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c121200111.lua | 2 | 5095 | --Guardian of the Flora - Colwrath
-- Idea: Aslan
-- Script: Shad3
--[[
This card is treated as a Normal Monster while face-up on the field or in the Graveyard or Extra Deck. While this card is a Normal Monster on the field, you can Normal Summon it to have it become an Effect Monster with these effects.
● Once per t... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Metalworks/npcs/Chantain.lua | 5 | 1050 | -----------------------------------
-- Area: Metalworks
-- NPC: Chantain
-- Type: Consulate Representative
-- @zone: 237
-- @pos: 21.729 -17 -30.888
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
require(... | gpl-3.0 |
waytim/darkstar | scripts/globals/items/plate_of_squid_sushi_+1.lua | 17 | 1540 | -----------------------------------------
-- ID: 5162
-- Item: plate_of_squid_sushi_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health 30
-- Dexterity 6
-- Agility 5
-- Accuracy % 16
-- Ranged ACC % 16
-- Sleep Resist 5
-----------------------------------------
require("scripts/glo... | gpl-3.0 |
waytim/darkstar | scripts/globals/effects/afflatus_misery.lua | 33 | 1221 | -----------------------------------
--
-- EFFECT_AFFLATUS_MISERY
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
target:setMod(MOD_AFFLATUS_MISERY,0);
... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c66666607.lua | 2 | 2868 | --Aetherius
function c66666607.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--atkup
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_UPDATE_ATTACK)
e2:SetRange(LOCATION_FZONE)
e2:... | gpl-3.0 |
waytim/darkstar | scripts/globals/items/bowl_of_oceanfin_soup.lua | 18 | 1891 | -----------------------------------------
-- ID: 6070
-- Item: Bowl of Oceanfin Soup
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- Accuracy % 15 Cap 95
-- Ranged Accuracy % 15 Cap 95
-- Attack % 19 Cap 85
-- Ranged Attack % 19 Cap 85
-- Amorph Killer 6
-----------------------------------... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Labyrinth_of_Onzozo/MobIDs.lua | 31 | 2026 | -----------------------------------
-- Area: Labyrinth of Onzozo (213)
-- Comments: -- posX, posY, posZ
--(Taken from 'mob_spawn_points' table)
-----------------------------------
-- Mysticmaker Profblix
Mysticmaker_Profblix=17649693;
-- Lord of Onzozo
Lord_of_Onzozo=17649731;
Lord_of_Onzozo_PH={
[17649730] = '1',... | gpl-3.0 |
mehrpouya81/gamerspm | plugins/face.lua | 641 | 3073 | local https = require("ssl.https")
local ltn12 = require "ltn12"
-- 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(imageUrl)
local api_key = mashape.api_key
if api_key:isempt... | gpl-2.0 |
DevPGSV/telegram-bot | plugins/face.lua | 641 | 3073 | local https = require("ssl.https")
local ltn12 = require "ltn12"
-- 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(imageUrl)
local api_key = mashape.api_key
if api_key:isempt... | gpl-2.0 |
siktirmirza/uzz | plugins/face.lua | 641 | 3073 | local https = require("ssl.https")
local ltn12 = require "ltn12"
-- 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(imageUrl)
local api_key = mashape.api_key
if api_key:isempt... | gpl-2.0 |
RockySeven3161/PRO | plugins/groupmanager.lua | 14 | 16269 | -- data saved to data/moderation.json
do
local function gpadd(msg)
-- because sudo are always has privilege
if not is_sudo(msg) then
return nil
end
local data = load_data(_config.moderation.data)
if data[tostring(msg.to.id)] then
return 'Group is already added.'
end
-- create data array in mode... | gpl-2.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c1143227.lua | 2 | 3939 | --ANTI-MATTER Dark Being, Rokkr
function c1143227.initial_effect(c)
c:SetUniqueOnField(1,0,1143227)
--self destruct
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetOperation(c1143227.effop)
c:RegisterEffect(e1)
local e2=e1:Clone()
e2:... | gpl-3.0 |
waytim/darkstar | scripts/zones/Windurst_Waters/npcs/Qhum_Knaidjn.lua | 13 | 2728 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Qhum_Knaidjn
-- Type: Guildworker's Union Representative
-- @zone: 238
-- @pos -112.561 -2 55.205
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
require("scripts/globals/keyitems");
require("sc... | gpl-3.0 |
waytim/darkstar | scripts/zones/Bastok_Markets/npcs/Gwill.lua | 26 | 2969 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Gwill
-- Starts & Ends Quest: The Return of the Adventurer
-- Involved in Quests: The Cold Light of Day, Riding on the Clouds
-- @zone 235
-- @pos 0 0 0
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
... | gpl-3.0 |
waytim/darkstar | scripts/zones/Upper_Jeuno/npcs/Deadly_Minnow.lua | 13 | 1826 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Deadly Minnow
-- Standard Merchant NPC
-- Involved in Quest: Borghertz's Hands (1st quest only)
-- @zone 244
-- @pos -5 1 48
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
-----------------------------------... | gpl-3.0 |
db260179/openwrt-bpi-r1-luci | applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrd6.lua | 68 | 16296 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2010 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
require("luci.tools.webadmin")
local fs = require "nixio.fs"
local util = require "luci.util"
local ip = require "luci.ip"
local has_ipip = fs.glob("/etc/mo... | apache-2.0 |
waytim/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/YrvaulairSCousseraux1.lua | 19 | 1186 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Yrvaulair S Cousseraux
-- @zone 80
-- @pos 0 1 -78
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
-----------------------------... | gpl-3.0 |
tenvick/hugular_cstolua | Client/Assets/Lua/begin.lua | 1 | 1286 | ------------------------------------------------
-- Copyright © 2013-2014 Hugula: Arpg game Engine
--
-- author pu
------------------------------------------------
require("const.importClass")
require("net.netMsgHelper")
require("net.netAPIList")
require("net.netProtocalPaser")
require("net.proxy")
require("cons... | mit |
MinFu/luci | protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_6rd.lua | 72 | 2039 | -- Copyright 2011-2012 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local map, section, net = ...
local ipaddr, peeraddr, ip6addr, tunnelid, username, password
local defaultroute, metric, ttl, mtu
ipaddr = s:taboption("general", Value, "ipaddr",
translate("Local IPv4 ad... | apache-2.0 |
TienHP/Aquaria | files/scripts/maps/_unused/node_naija_minimap.lua | 6 | 1097 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | gpl-2.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/East_Ronfaure/npcs/Croteillard.lua | 4 | 1081 | -----------------------------------
-- Area: East Ronfaure
-- NPC: Croteillard
-- Type: Gate Guard
-- @zone: 101
-- @pos: 87.426 -62.999 266.709
--
-- Auto-Script: Requires Verification
-----------------------------------
package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil;
--------------------------------... | gpl-3.0 |
waytim/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Porter_Moogle.lua | 41 | 1547 | -----------------------------------
-- Area: Tavnazian_Safehold
-- NPC: Porter Moogle
-- Type: Storage Moogle
-- @zone 26
-- @pos TODO
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Tavnazian_S... | gpl-3.0 |
waytim/darkstar | scripts/zones/Batallia_Downs/npcs/qm1.lua | 15 | 1500 | -----------------------------------
-- Area: Batallia Downs
-- NPC: qm1 (???)
-- @pos -407.526 -23.507 412.544 105
-- Notes: Spawns Vegnix Greenthumb for ACP mission "Gatherer of Light (I)"
-----------------------------------
package.loaded["scripts/zones/Batallia_Downs/TextIDs"] = nil;
------------------------------... | gpl-3.0 |
Em30-tm-lua/Emc | .luarocks/lib/luarocks/rocks/luasocket/3.0rc1-2/test/ftptest.lua | 26 | 3156 | local socket = require("socket")
local ftp = require("socket.ftp")
local url = require("socket.url")
local ltn12 = require("ltn12")
-- override protection to make sure we see all errors
--socket.protect = function(s) return s end
dofile("testsupport.lua")
local host, port, index_file, index, back, err, ret
local t ... | gpl-2.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c9821000.lua | 2 | 1827 | --Soleil - Song of the Ascending Raven
function c9821000.initial_effect(c)
--Negate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_CHAINING)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DAMAGE_CAL)
e1:SetCondition(c9821000.... | gpl-3.0 |
GregSatre/nn | SparseJacobian.lua | 61 | 8618 | nn.SparseJacobian = {}
function nn.SparseJacobian.backward (module, input, param, dparam)
local doparam = 0
if param then
doparam = 1
end
-- output deriv
module:forward(input)
local dout = module.output.new():resizeAs(module.output)
-- 1D view
local sdout = module.output.new(dout:stor... | bsd-3-clause |
TheOnePharaoh/YGOPro-Custom-Cards | script/c44646223.lua | 2 | 1187 | --Vocaloid Luo Tianyi/Modified
function c44646223.initial_effect(c)
c:EnableReviveLimit()
--Cannot special summon
local e1=Effect.CreateEffect(c)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SPSUMMON_CONDITION)
e1:SetValue(aux.FALSE)
c:Regist... | gpl-3.0 |
waytim/darkstar | scripts/zones/AlTaieu/Zone.lua | 32 | 2324 | -----------------------------------
--
-- Zone: AlTaieu (33)
--
-----------------------------------
package.loaded["scripts/zones/AlTaieu/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/AlTaieu/TextIDs");
require("scripts/globals/titles");
require("scrip... | gpl-3.0 |
db260179/openwrt-bpi-r1-luci | libs/luci-lib-nixio/docsrc/nixio.bit.lua | 171 | 2044 | --- Bitfield operators and mainpulation functions.
-- Can be used as a drop-in replacement for bitlib.
module "nixio.bit"
--- Bitwise OR several numbers.
-- @class function
-- @name bor
-- @param oper1 First Operand
-- @param oper2 Second Operand
-- @param ... More Operands
-- @return number
--- Invert given number.
... | apache-2.0 |
PotcFdk/nBAM | server/packages/nbamTimer.lua | 1 | 2393 | --[[
Copyright 2014 - The nBAM Team
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 agree... | apache-2.0 |
Contatta/prosody-modules | mod_turncredentials/mod_turncredentials.lua | 36 | 1415 | -- XEP-0215 implementation for time-limited turn credentials
-- Copyright (C) 2012-2013 Philipp Hancke
-- This file is MIT/X11 licensed.
local st = require "util.stanza";
local hmac_sha1 = require "util.hashes".hmac_sha1;
local base64 = require "util.encodings".base64;
local os_time = os.time;
local secret = module:ge... | mit |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Upper_Jeuno/npcs/Ilumida.lua | 2 | 4850 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Ilumida
-- Starts and Finishes Quest: A Candlelight Vigil
-- @zone : 244
-- @pos : -75 -1 58
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/setti... | gpl-3.0 |
sevanteri/shootaround | main.lua | 1 | 1173 | require 'bullet'
require 'movable'
require 'gun'
function love.load()
Bullets = {}
gun = Gun:new()
love.graphics.setBackgroundColor(0,0,0)
end
function love.draw(dt)
gun:draw(dt)
for _, db in ipairs(Bullets) do
db:draw(dt)
end
love.graphics.print("Bullets: " .. #Bullets, 10, 10)... | mit |
Em30-tm-lua/Emc | .luarocks/share/lua/5.2/luarocks/upload/multipart.lua | 4 | 2794 |
local multipart = {}
local File = {}
local unpack = unpack or table.unpack
math.randomseed(os.time())
-- socket.url.escape(s) from LuaSocket 3.0rc1
function multipart.url_escape(s)
return (string.gsub(s, "([^A-Za-z0-9_])", function(c)
return string.format("%%%02x", string.byte(c))
end))
end
function F... | gpl-2.0 |
wanmaple/MWFrameworkForCocosLua | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/UserDefault.lua | 10 | 3039 |
--------------------------------
-- @module UserDefault
-- @parent_module cc
--------------------------------
-- brief Set integer value by key.<br>
-- js NA
-- @function [parent=#UserDefault] setIntegerForKey
-- @param self
-- @param #char pKey
-- @param #int value
--------------------------------
-- @over... | apache-2.0 |
waytim/darkstar | scripts/zones/Riverne-Site_A01/npcs/_0u2.lua | 13 | 1348 | -----------------------------------
-- Area: Riverne Site #A01
-- NPC: Unstable Displacement
-----------------------------------
package.loaded["scripts/zones/Riverne-Site_A01/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Riverne-Site_A01/TextIDs");
... | gpl-3.0 |
waytim/darkstar | scripts/globals/abilities/eagle_eye_shot.lua | 26 | 2067 | -----------------------------------
-- Ability: Eagle Eye Shot
-- Delivers a powerful and accurate ranged attack.
-- Obtained: Ranger Level 1
-- Recast Time: 1:00:00
-- Duration: Instant
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Jugner_Forest/npcs/Chaplion_RK.lua | 2 | 2891 | -----------------------------------
-- Area: Jugner Forest
-- NPC: Chaplion, R.K.
-- Outpost Conquest Guards
-- @pos 54 0 -11 104
-------------------------------------
package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/conquest");
require("scrip... | gpl-3.0 |
pvvx/EspLua | lua_examples/yet-another-ds18b20.lua | 79 | 1924 | ------------------------------------------------------------------------------
-- DS18B20 query module
--
-- LICENCE: http://opensource.org/licenses/MIT
-- Vladimir Dronnikov <dronnikov@gmail.com>
--
-- Example:
-- dofile("ds18b20.lua").read(4, function(r) for k, v in pairs(r) do print(k, v) end end)
------------------... | mit |
TheOnePharaoh/YGOPro-Custom-Cards | script/c78219337.lua | 1 | 3786 | --Colossal Warrior - Red Armor
function c78219337.initial_effect(c)
--pendulum summon
aux.EnablePendulumAttribute(c)
--splimit
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetRange(LOCATION_PZONE)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_C... | gpl-3.0 |
niegenug/wesnoth | join.lua | 27 | 3343 | -- join.lua --
-- Try to join a game called "Test"
local function plugin()
local function log(text)
std_print("join: " .. text)
end
local counter = 0
local events, context, info
local helper = wesnoth.require("lua/helper.lua")
local function find_test_game(info)
local g = info.game_list()
... | gpl-2.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c20162005.lua | 2 | 3726 | --Lizardfolk Resting Place
function c20162005.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCost(c20162005.cost)
e1:SetTarget(c20162005.target)
e1:SetOperation(c20162005.operation)
c:Regis... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c100000894.lua | 2 | 4821 | --Created and coded by Rising Phoenix
function c100000894.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetDescription(aux.Stringid(100000894,1))
e1:SetTarget(c100000894.target)
e1:SetOperati... | gpl-3.0 |
X-Raym/REAPER-ReaScripts | Items Editing/X-Raym_Stutter edit selected media items.lua | 1 | 3640 | --[[
* ReaScript Name: Stutter edit selected media items
* About: Divide selected items length and duplicate
* Instructions: Select items. Run.
* Screenshot: https://youtu.be/Uz09ifB7atg
* Author: X-Raym
* Author URI: https://www.extremraym.com
* Repository: GitHub > X-Raym > REAPER-ReaScripts
* Repository URI:... | gpl-3.0 |
mehrpouya81/gamerspm | plugins/bugzilla.lua | 611 | 3983 | do
local BASE_URL = "https://bugzilla.mozilla.org/rest/"
local function bugzilla_login()
local url = BASE_URL.."login?login=" .. _config.bugzilla.username .. "&password=" .. _config.bugzilla.password
print("accessing " .. url)
local res,code = https.request( url )
local data = json:decode(res)
return data
... | gpl-2.0 |
MinFu/luci | modules/luci-base/luasrc/http/protocol.lua | 34 | 15539 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
-- This class contains several functions useful for http message- and content
-- decoding and to retrive form data from raw http messages.
module("luci.http.protocol", package.seeall)
local l... | apache-2.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c77777881.lua | 2 | 3707 | --Lady of the Glade
function c77777881.initial_effect(c)
function aux.AddXyzProcedure(c,f,lv,ct,alterf,desc,maxct,op)
local code=c:GetOriginalCode()
local mt=_G["c" .. code]
if f then
mt.xyz_filter=function(mc) return mc and f(mc) end
else
mt.xyz_filter=function(mc) return true end
end
mt.minxyzct=c... | gpl-3.0 |
waytim/darkstar | scripts/globals/mobskills/Typhoon.lua | 34 | 1116 | ---------------------------------------------
-- Typhoon
--
-- Description: Spins around dealing damage to targets in an area of effect.
-- Type: Physical
-- Utsusemi/Blink absorb: 2-4 shadows
-- Range: 10' radial
-- Notes:
---------------------------------------------
require("scripts/globals/settings");
require... | gpl-3.0 |
behnam98/SmartRobot | plugins/qr.lua | 637 | 1730 | --[[
* qr plugin uses:
* - http://goqr.me/api/doc/create-qr-code/
* psykomantis
]]
local function get_hex(str)
local colors = {
red = "f00",
blue = "00f",
green = "0f0",
yellow = "ff0",
purple = "f0f",
white = "fff",
black = "000",
gray = "ccc"
}
for color, value in pairs(colors)... | gpl-2.0 |
waytim/darkstar | scripts/zones/Dangruf_Wadi/npcs/Grounds_Tome.lua | 30 | 1091 | -----------------------------------
-- Area: Dangruf Wadi
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,tra... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/weaponskills/blade_yu.lua | 4 | 1416 | -----------------------------------
-- Blade Yu
-- Katana weapon skill
-- Skill Level: 290
-- Delivers a water elemental attack. Additional effect Poison. Durration varies with TP.
-- Aligned with the Aqua Gorget & Soil Gorget.
-- Aligned with the Aqua Belt & Soil Belt.
-- Element: Water
-- Modifiers: DEX:50% ; I... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c494476157.lua | 2 | 2384 | function c494476157.initial_effect(c)
--end battle phase
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(494476157,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_ATTACK_ANNOUNCE)
e1:SetRange(LOCATION_HAND)
e1:SetCondition(... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/weaponskills/ground_strike.lua | 4 | 1448 | -----------------------------------
-- Ground Strike
-- Great Sword weapon skill
-- Skill level: 250 QUESTED
-- Delivers a single-hit attack. Damage varies with TP.
-- Modifiers: STR:50% INT:50%
-- 100%TP 200%TP 300%TP
-- 1.5 1.75 3.0
-----------------------------------
require("/scripts/globals/settings");
req... | gpl-3.0 |
amostalong/SSFS | Assets/LuaFramework/ToLua/Lua/socket/url.lua | 16 | 11058 | -----------------------------------------------------------------------------
-- URI parsing, composition and relative URL resolution
-- LuaSocket toolkit.
-- Author: Diego Nehab
-----------------------------------------------------------------------------
--------------------------------------------------------------... | mit |
X-Raym/REAPER-ReaScripts | Text Items and Item Notes/Formatting/X-Raym_Delete musical notes from selected items notes.lua | 1 | 1803 | --[[
* ReaScript Name: Delete musical notes from selected items notes
* About: Delete musical notes from selected items notes
* Instructions: Here is how to use it. (optional)
* Author: X-Raym
* Author URI: https://www.extremraym.com
* Repository: GitHub > X-Raym > REAPER-ReaScripts
* Repository URI: https://git... | gpl-3.0 |
waytim/darkstar | scripts/zones/Chocobo_Circuit/Zone.lua | 17 | 1068 | -----------------------------------
--
-- Zone: Chocobo_Circuit
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Chocobo_Circuit/TextIDs"] = nil;
require("scripts/zones/Chocobo_Circuit/TextIDs");
-----------------------------------
-- onInitialize
----------... | gpl-3.0 |
waytim/darkstar | scripts/zones/Port_Windurst/npcs/Kucha_Malkobhi.lua | 17 | 1473 | -----------------------------------
-- Area: Port Windurst
-- NPC: Kucha Malkobhi
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
require("scripts/zones/Port_Windurst/TextIDs"... | gpl-3.0 |
waytim/darkstar | scripts/zones/Northern_San_dOria/npcs/Aivedoir.lua | 13 | 1041 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Aivedoir
-- Type: Standard Dialogue NPC
-- @zone: 231
-- @pos -123.119 7.999 134.490
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/TextIDs")... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Lower_Jeuno/npcs/_l10.lua | 6 | 1495 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Streetlamp
-- Involved in Quests: Community Service
-- @zone 245
-- @pos -19 0 -4.625
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");... | gpl-3.0 |
waytim/darkstar | scripts/zones/Eastern_Altepa_Desert/npcs/qm.lua | 13 | 1620 | -----------------------------------
-- Area: Eastern Altepa Desert
-- NPC: ???
-- Involved In Quest: A Craftsman's Work
-- @pos 113 -7.972 -72 114
-----------------------------------
package.loaded["scripts/zones/Eastern_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/setti... | gpl-3.0 |
Em30-tm-lua/Emc | .luarocks/share/lua/5.2/luarocks/build/builtin.lua | 3 | 10879 |
--- A builtin build system: back-end to provide a portable way of building C-based Lua modules.
--module("luarocks.build.builtin", package.seeall)
local builtin = {}
local unpack = unpack or table.unpack
local fs = require("luarocks.fs")
local path = require("luarocks.path")
local util = require("luarocks.util")
loc... | gpl-2.0 |
MinFu/luci | protocols/luci-proto-3g/luasrc/model/cbi/admin_network/proto_3g.lua | 52 | 4346 | -- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local map, section, net = ...
local device, apn, service, pincode, username, password, dialnumber
local ipv6, maxwait, defaultroute, metric, peerdns, dns,
keepalive_failure, keepalive_interval, demand
d... | apache-2.0 |
waytim/darkstar | scripts/zones/Western_Adoulin/npcs/Porter_Moogle.lua | 41 | 1534 | -----------------------------------
-- Area: Western Adoulin
-- NPC: Porter Moogle
-- Type: Storage Moogle
-- @zone 256
-- @pos TODO
-----------------------------------
package.loaded["scripts/zones/Western_Adoulin/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Western_Adoulin/... | gpl-3.0 |
waytim/darkstar | scripts/globals/items/flask_of_panacea.lua | 70 | 1742 | -----------------------------------------
-- ID: 4163
-- Item: Panacea
-- Item Effect: Removes any number of status effects
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----------------------------------------
function onItemCh... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Lower_Jeuno/npcs/Muckvix.lua | 23 | 1436 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Muckvix
-- Involved in Mission: Magicite
-- @zone 245
-- @pos -26.824 3.601 -137.082
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c494476182.lua | 2 | 1926 | function c494476182.initial_effect(c)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--must attack
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_MUST_ATTACK)
e2:SetRange(LOCATION_SZONE)
e2:SetTarg... | gpl-3.0 |
waytim/darkstar | scripts/globals/abilities/aspir_samba.lua | 25 | 1430 | -----------------------------------
-- Ability: Aspir Samba
-- Inflicts the next target you strike with Aspir daze, allowing all those engaged in battle with it to drain its MP.
-- Obtained: Dancer Level 25
-- TP Required: 10%
-- Recast Time: 1:00
-- Duration: 2:00
-----------------------------------
require("scripts/... | gpl-3.0 |
thisishmed/butler | libs/JSON.lua | 13 | 36868 | -- -*- 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 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c99970180.lua | 1 | 3074 | --DAL - Metatron-Angel of Extinction
function c99970180.initial_effect(c)
--Return To Hand
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(99970180,0))
e1:SetCategory(CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,99970180+EFFECT_COUNT_CODE... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Lower_Delkfutts_Tower/npcs/_545.lua | 2 | 1534 | -----------------------------------
-- Area: Lower Delkfutt's Tower
-- NPC: Cermet Door
-- Spawns a mob in CoP. Never opens.
-----------------------------------
package.loaded["scripts/zones/Lower_Delkfutts_Tower/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scrip... | gpl-3.0 |
CaptainPRICE/wire | lua/entities/gmod_wire_egp_hud/huddraw.lua | 7 | 4647 | hook.Add("Initialize","EGP_HUD_Initialize",function()
if (CLIENT) then
local EGP_HUD_FirstPrint = true
local tbl = {}
--------------------------------------------------------
-- Toggle
--------------------------------------------------------
local function EGP_Use( um )
local ent = um:ReadEntity()
i... | apache-2.0 |
fernsehmuell/reaper_scripts | Mediacomposer_like_functions/fernsehmuell_Reverse_Play_Shuttle_(J).lua | 1 | 1461 | -- @version 1.1
-- @author Udo Sauer
-- @changelog
-- better way to get commandID of backgroundscript
function is_playing_reverse()
retval,value=reaper.GetProjExtState(0, "Fernsehmuell", "Reverse_Play_Shuttle") --check if reverse playing
if not tonumber(value) then value="0" end
if value=="1" then retur... | mit |
waytim/darkstar | scripts/zones/RuLude_Gardens/npcs/Neraf-Najiruf.lua | 13 | 2032 | -----------------------------------
-- Area: Ru'Lud Gardens
-- NPC: Neraf-Najiruf
-- Involved in Quests: Save my Sister
-- @zone 243
-- @pos -36 2 60
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings"... | gpl-3.0 |
waytim/darkstar | scripts/globals/items/carp_sushi.lua | 18 | 1386 | -----------------------------------------
-- ID: 4407
-- Item: carp_sushi
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Dexterity 1
-- Accuracy % 10
-- HP Recovered While Healing 2
-----------------------------------------
require("scripts/globals/status");
----------------------------... | gpl-3.0 |
waytim/darkstar | scripts/zones/Nashmau/npcs/Pipiroon.lua | 13 | 1206 | -----------------------------------
-- Area: Nashmau
-- NPC: Pipiroon
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs");
require("scripts/globals/shop");
---------------------... | gpl-3.0 |
zorfmorf/loveprojects | colonycontrol/src/lib/quickie/core.lua | 15 | 3418 | --[[
Copyright (c) 2012 Matthias Richter
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribu... | apache-2.0 |
waytim/darkstar | scripts/zones/Rolanberry_Fields/npcs/Cavernous_Maw.lua | 27 | 2925 | -----------------------------------
-- Area: Rolanberry Fields
-- NPC: Cavernous Maw
-- @pos -198 8 361 110
-- Teleports Players to Rolanberry Fields [S]
-----------------------------------
package.loaded["scripts/zones/Rolanberry_Fields/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/se... | gpl-3.0 |
X-Raym/REAPER-ReaScripts | Items Editing/X-Raym_Quantize selected items to next marker position.lua | 1 | 3819 | --[[
* ReaScript Name: Quantize selected items to next marker position
* About: A template script for REAPER ReaScript.
* Instructions: Have Regions. Select items. Run.
* Author: X-Raym
* Author URI: https://www.extremraym.com
* Repository: GitHub > X-Raym > REAPER-ReaScripts
* Repository URI: https://github.com... | gpl-3.0 |
wanmaple/MWFrameworkForCocosLua | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/ProgressTimer.lua | 10 | 4320 |
--------------------------------
-- @module ProgressTimer
-- @extend Node
-- @parent_module cc
--------------------------------
--
-- @function [parent=#ProgressTimer] isReverseDirection
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- This allows the bar typ... | apache-2.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Kazham/npcs/Mumupp.lua | 2 | 1782 | -----------------------------------
-- Area: Kazham
-- NPC: Mumupp
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
path = {
94.732452, -15.000000, -114.034622,
94.210846, -15.000000, -114.989388,
93.508865, -15.000... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Oldton_Movalpolos/npcs/Bartabaq.lua | 2 | 1048 | -----------------------------------
-- Area: Oldton Movalpolos
-- NPC: Bartabaq
-- Type: Outpost Vendor
-- @zone: 11
-- @pos: -261.930 6.999 -49.145
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Oldton_Movalpolos/TextIDs"] = nil;
-... | gpl-3.0 |
farbod1423/farbod3 | plugins/inrealm.lua | 850 | 25085 | -- data saved to moderation.json
-- check moderation plugin
do
local function create_group(msg)
-- superuser and admins only (because sudo are always has privilege)
if is_sudo(msg) or is_realm(msg) and is_admin(msg) then
local group_creator = msg.from.print_name
create_g... | gpl-2.0 |
SEEDTEAM/TeleSeed | plugins/inrealm.lua | 850 | 25085 | -- data saved to moderation.json
-- check moderation plugin
do
local function create_group(msg)
-- superuser and admins only (because sudo are always has privilege)
if is_sudo(msg) or is_realm(msg) and is_admin(msg) then
local group_creator = msg.from.print_name
create_g... | agpl-3.0 |
waytim/darkstar | scripts/globals/items/plate_of_tuna_sushi.lua | 17 | 1537 | -----------------------------------------
-- ID: 5150
-- Item: plate_of_tuna_sushi
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 20
-- Dexterity 3
-- Charisma 5
-- Accuracy % 15
-- Ranged ACC % 15
-- Sleep Resist 5
-----------------------------------------
require("scripts/global... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/items/plate_of_dorado_sushi.lua | 2 | 1494 | -----------------------------------------
-- ID: 5178
-- Item: plate_of_dorado_sushi
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Dexterity 5
-- Accuracy % 15
-- Accuracy Cap 75
-- Ranged ACC % 15
-- Ranged ACC Cap 75
-- Sleep Resist 5
-----------------------------------------
require(... | gpl-3.0 |
waytim/darkstar | scripts/zones/The_Eldieme_Necropolis/TextIDs.lua | 22 | 2300 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6538; -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6543; -- Obtained: <item>
GIL_OBTAINED = 6544; -- Obtained <number> gil
KEYITEM_OBTAINED = 6546; -- Obtain... | gpl-3.0 |
EShamaev/ardupilot | libraries/AP_Scripting/examples/rangefinder_test.lua | 24 | 1193 | -- This script checks RangeFinder
local rotation_downward = 25
local rotation_forward = 0
function update()
local sensor_count = rangefinder:num_sensors()
gcs:send_text(0, string.format("%d rangefinder sensors found.", sensor_count))
for i = 0, rangefinder:num_sensors() do
if rangefinder:has_data_orient(ro... | gpl-3.0 |
waytim/darkstar | scripts/zones/Dynamis-Tavnazia/Zone.lua | 13 | 2401 | -----------------------------------
--
-- Zone: Dynamis-Tavnazia
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Dynamis-Tavnazia/TextIDs"] = nil;
require("scripts/zones/Dynamis-Tavnazia/TextIDs");
-----------------------------------
-- onInitialize
-------... | gpl-3.0 |
niegenug/wesnoth | data/lua/location_set.lua | 28 | 3736 | local location_set = {}
local function index(x, y)
-- the 2000 bias ensure that the correct x is recovered for negative y
return x * 16384 + y + 2000
end
local invscale = 1 / 16384
local function revindex(p)
local x = math.floor(p * invscale)
return x, p - x * 16384 - 2000
end
local methods = {}
local locset_met... | gpl-2.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Beaucedine_Glacier/npcs/Ryunchi-Pauchi_WW.lua | 4 | 2917 | -----------------------------------
-- Area: Beaucedine Glacier
-- NPC: Ryunchi-Pauchi, W.W.
-- Outpost Conquest Guards
-- @pos -24.351 -60.421 -114.215 111
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier/TextIDs"] = nil;
-----------------------------------
require("scripts/global... | gpl-3.0 |
waytim/darkstar | scripts/zones/Southern_San_dOria/npcs/Raimbroy.lua | 11 | 3551 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Raimbroy
-- Starts and Finishes Quest: The Sweetest Things
-- @zone 230
-- @pos
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c11478413.lua | 2 | 4818 | --War God of the Bound Creator
function c11478413.initial_effect(c)
c:EnableReviveLimit()
--spsummon condition
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetCode(EFFECT_SPSUMMON_CONDITION)
e1:SetValue(c11478413.splimit)
c:R... | gpl-3.0 |
waytim/darkstar | scripts/zones/Al_Zahbi/npcs/Chayaya.lua | 13 | 1644 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Chayaya
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/zones/Al_Zahbi/TextIDs");
-------------------... | gpl-3.0 |
lusiankaitz/koreader-master | frontend/ui/networkmgr.lua | 1 | 4504 | local InfoMessage = require("ui/widget/infomessage")
local ConfirmBox = require("ui/widget/confirmbox")
local UIManager = require("ui/uimanager")
local Device = require("device")
local DEBUG = require("dbg")
local T = require("ffi/util").template
local _ = require("gettext")
local NetworkMgr = {}
local function kindle... | agpl-3.0 |
kdakers80/HeaterMeter | openwrt/package/linkmeter/targets/bcm2708/usr/lib/lua/luci/model/cbi/admin_system/rpi.lua | 4 | 1530 | require "nixio"
require "nixio.util"
local function OPT_SPLIT(o) return o:match("(%w+)\.(.+)") end
local conf = {}
local f = nixio.open("/boot/config.txt", "r")
if f then
for line in f:linesource() do
line = line:match("%s*(.+)")
-- Make sure the line isn't a comment
if line and line:sub(1, 1) ~= "#" an... | mit |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/East_Ronfaure/npcs/Cavernous_Maw.lua | 4 | 1362 | -----------------------------------
-- Cavernous Maw
-- Teleports Players to East Ronfaure [S]
-- @pos 322 -59 503 101
-----------------------------------
package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyit... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c14981498.lua | 2 | 2645 | function c14981498.initial_effect(c)
c:SetUniqueOnField(1,0,14981498)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--special summon
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(14981498,0))
e2:SetCategory(CATEGO... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.