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 |
|---|---|---|---|---|---|
waytim/darkstar | scripts/zones/The_Shrouded_Maw/npcs/MementoCircle.lua | 13 | 1441 | -----------------------------------
-- Area: The_Shrouded_Maw
-- NPC: MementoCircle
-----------------------------------
package.loaded["scripts/zones/The_Shrouded_Maw/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/quests");
require("scripts/globals/missi... | gpl-3.0 |
thisishmed/butler | plugins/getplug.lua | 13 | 2392 | local function run(msg, matches)
if matches[1] == "getplug" then
local file = matches[2]
if is_sudo(msg) then --sudo only !
local receiver = get_receiver(msg)
send_document(receiver, "./plugins/"..file..".lua", ok_cb, false)
else
return nil
end
end
end
return {
patterns = {... | gpl-2.0 |
waytim/darkstar | scripts/zones/Northern_San_dOria/npcs/Excenmille.lua | 13 | 1072 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Excenmille
-- Type: Ballista Pursuivant
-- @zone: 231
-- @pos -229.344 6.999 22.976
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"]... | gpl-3.0 |
waytim/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Gennoue.lua | 30 | 1060 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Gennoue
-- Type: Weather Reporter
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Tavnazian_S... | gpl-3.0 |
MinFu/luci | applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/iwinfo.lua | 31 | 1569 | -- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.statistics.rrdtool.definitions.iwinfo", package.seeall)
function rrdargs( graph, plugin, plugin_instance )
--
-- signal/noise diagram
--
local snr = {
title = "%H: Signal and noise on %pi",
... | apache-2.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c6666675.lua | 2 | 2144 | --Nyx, Shaderune of the Night
function c6666675.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsAttribute,ATTRIBUTE_DARK),6,3)
c:EnableReviveLimit()
--shuffle
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TODECK)
e1:SetDescription(aux.Stringid(6666675,1))
e1:SetType(... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c59821046.lua | 1 | 7888 | --CXyz Idol Master of Alegri Constellation Aoi Kiriya
function c59821046.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,5,3)
c:EnableReviveLimit()
--pendulum summon
aux.EnablePendulumAttribute(c)
--atk up
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetRange(LOCATION_PZONE)
e1:Se... | gpl-3.0 |
waytim/darkstar | scripts/zones/AlTaieu/npcs/_0x0.lua | 15 | 2200 | -----------------------------------
-- Area: Al'Taieu
-- NPC: Crystalline Field
-- @pos .1 -10 -464 33
-----------------------------------
package.loaded["scripts/zones/AlTaieu/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/AlTaieu/TextIDs");
require("scripts/globals/missions");
-----... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Windurst_Waters/npcs/Gantineux.lua | 4 | 2371 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Gantineux
-- Starts Quest: Acting in Good Faith
-- @zone 238
-- @pos -83 -9 3
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");... | gpl-3.0 |
Timendainum/Wintermute | opt/lib/txt.lua | 1 | 1955 | --- opt/lib/txt
-- Created by Timendainum
---------------------------------------------------
--Text tools to help making writing to monitors
--easier.
---------------------------------------------------
--centerWrite
function centerWrite(o, t)
--Get Term size
local x,y = o.getSize()
local halfX = math.ceil(x/2)
p... | mit |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Newton_Movalpolos/TextIDs.lua | 4 | 1343 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6375; -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6378; -- Obtained: <item>
GIL_OBTAINED = 6379; -- Obtained <number> gil
KEYITEM_OBTAINED = 6381; -- Obtain... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c20912290.lua | 2 | 1743 | --Sword Art Champion Hrist
function c20912290.initial_effect(c)
c:EnableReviveLimit()
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(20912290,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetRange(LOCATION_HAND)
e1:SetCode(EVENT_SUM... | gpl-3.0 |
waytim/darkstar | scripts/zones/Abyssea-Konschtat/npcs/Atma_Fabricant.lua | 33 | 1061 | -----------------------------------
-- Zone: Abyssea - Konschtat
-- NPC: Atma Fabricant
--
-----------------------------------
package.loaded["scripts/zones/Abyssea-Konschtat/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/abyssea");
require("scripts/... | gpl-3.0 |
waytim/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Pradiulot.lua | 13 | 2380 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Pradiulot
-- Involved in Quest: Unforgiven
-- @zone 26
-- @pos -20.814 -22 8.399
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Tavnaz... | gpl-3.0 |
siktirmirza/uzz | plugins/get.lua | 613 | 1067 | local function get_variables_hash(msg)
if msg.to.type == 'chat' then
return 'chat:'..msg.to.id..':variables'
end
if msg.to.type == 'user' then
return 'user:'..msg.from.id..':variables'
end
end
local function list_variables(msg)
local hash = get_variables_hash(msg)
if hash then
local names =... | gpl-2.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/items/witch_kabob.lua | 3 | 1269 | -----------------------------------------
-- ID: 4343
-- Item: witch_kabob
-- Food Effect: 1hour, All Races
-----------------------------------------
-- Magic Points 15
-- Mind 4
-- Enmity -1
-- MP Recovered While Healing 3
-----------------------------------------
require("scripts/globals/status");
-----------------... | gpl-3.0 |
waytim/darkstar | scripts/globals/items/serving_of_bavarois.lua | 18 | 1192 | -----------------------------------------
-- ID: 5729
-- Item: serving_of_bavarois
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- HP 20
-- Intelligence 3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/RuLude_Gardens/npcs/Albiona.lua | 2 | 1219 | -----------------------------------
-- Area: Ru'Lud Gardens
-- NPC: Albiona
-- Standard Info NPC
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(play... | gpl-3.0 |
waytim/darkstar | scripts/zones/Monastic_Cavern/Zone.lua | 17 | 1771 | -----------------------------------
--
-- Zone: Monastic_Cavern (150)
--
-----------------------------------
package.loaded["scripts/zones/Monastic_Cavern/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Monastic_Cavern/TextIDs");
-----------------------... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/weaponskills/evisceration.lua | 4 | 1342 | -----------------------------------
-- Evisceration
-- Dagger weapon skill
-- Skill level: 230
-- In order to obtain Evisceration, the quest Cloak and Dagger must be completed.
-- Delivers a fivefold attack. Chance of params.critical hit varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Shadow... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c999918.lua | 2 | 1623 | --Red Dragon Imposter
function c999918.initial_effect(c)
--copy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(999918,0))
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetTarget(c999918.copytg)
e1:SetOperation(c999918.copy... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/items/wizard_cookie.lua | 3 | 1233 | -----------------------------------------
-- ID: 4576
-- Item: wizard_cookie
-- Food Effect: 5Min, All Races
-----------------------------------------
-- MP Recovered While Healing 7
-- Plantoid Killer 7
-- Slow Resist 7
-----------------------------------------
require("scripts/globals/status");
--------------------... | gpl-3.0 |
waytim/darkstar | scripts/zones/Den_of_Rancor/TextIDs.lua | 15 | 1121 | -- 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 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c77790021.lua | 2 | 1951 | --Little Fat Cat, Corazon
function c77790021.initial_effect(c)
--pendulum summon
aux.EnablePendulumAttribute(c)
--counter
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_QUICK_O)
e2:SetCode(EVENT_FREE_CHAIN)
e2:SetRange(LOCATION_PZONE)
e2:SetCountLimit(1,77790021+EFFECT_COUNT_CODE_DUEL)
e2:SetTarget(c77... | gpl-3.0 |
m2q1n9/flappycoco | src/Atlas.lua | 1 | 2456 | -- Atlas.lua, created by mzq. -*- mode: lua -*-
Atlas = Atlas or {}
function Atlas.createSprite(rect)
return cc.Sprite:createWithTexture(atlas, rect)
end
function Atlas.createAnimation(rects)
local frames = {}
for i, rect in ipairs(rects) do
table.insert(frames, cc.SpriteFrame:createWithTexture(a... | mit |
TheOnePharaoh/YGOPro-Custom-Cards | script/c99980980.lua | 1 | 4510 | --HN - MAGES.
function c99980980.initial_effect(c)
aux.EnablePendulumAttribute(c)
--Destroy Replace
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_DESTROY_REPLACE)
e1:SetRange(LOCATION_PZONE)
e1:SetTarget(c99980980.reptg)
e1:SetValue(c99980980.repv... | gpl-3.0 |
TienHP/Aquaria | files/scripts/entities/_unused/cc_lostincave.lua | 5 | 3902 | -- 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 |
ld-test/lua-resty-validation | lib/resty/validation/ngx.lua | 1 | 2089 | local validation = require "resty.validation"
local escapeuri = ngx.escape_uri
local unescapeuri = ngx.unescape_uri
local base64enc = ngx.encode_base64
local base64dec = ngx.decode_base64
local crc32short = ngx.crc32_short
local crc32long = ngx.crc32_long
local match = ngx.re.match
local validat... | bsd-2-clause |
TheOnePharaoh/YGOPro-Custom-Cards | script/c103950036.lua | 2 | 2550 | --Knowledge Mirror
function c103950036.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(103950036,0))
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCondition(c103950036.activatecon)
e1:SetCost(c103950036.activatecost)
e1:SetOperation(c103950036.... | gpl-3.0 |
sofianugraha/neural-style | loadcaffe_wrapper.lua | 58 | 2411 | local ffi = require 'ffi'
require 'loadcaffe'
local C = loadcaffe.C
--[[
Most of this function is copied from
https://github.com/szagoruyko/loadcaffe/blob/master/loadcaffe.lua
with some horrible horrible hacks added by Justin Johnson to
make it possible to load VGG-19 without any CUDA dependency.
--]]
local fu... | mit |
TienHP/Aquaria | files/scripts/entities/cc_father.lua | 6 | 1655 | -- 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 |
lusiankaitz/koreader-master | frontend/device/kindle/device.lua | 1 | 9141 | local Generic = require("device/generic/device")
local DEBUG = require("dbg")
local function yes() return true end
local Kindle = Generic:new{
model = "Kindle",
isKindle = yes,
}
local Kindle2 = Kindle:new{
model = "Kindle2",
hasKeyboard = yes,
hasKeys = yes,
}
local KindleDXG = Kindle:new{
... | agpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/La_Theine_Plateau/npcs/Telepoint.lua | 2 | 1564 | -----------------------------------
-- Area: La Theine Plateau
-- NPC: Telepoint
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/La_Theine_Plateau/TextIDs");
----------... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c6666677.lua | 2 | 2604 | --Shila, Shaderune Scout
function c6666677.initial_effect(c)
c:EnableUnsummonable()
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(6666677,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_REMOVE)
e1:SetCondition(c6... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Southern_San_dOria_[S]/npcs/Rholont.lua | 4 | 2217 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Rholont
-- @zone 80
-- @pos -168 -2 56
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
require("scripts/globals/quests");
-------... | gpl-3.0 |
pedrohenriquerls/cocos2d_ruby_binding | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/Armature.lua | 10 | 5702 |
--------------------------------
-- @module Armature
-- @extend Node,BlendProtocol
-- @parent_module ccs
--------------------------------
-- Get a bone with the specified name<br>
-- param name The bone's name you want to get
-- @function [parent=#Armature] getBone
-- @param self
-- @param #string name
-- @return Bo... | mit |
X-Raym/REAPER-ReaScripts | Track Properties/X-Raym_Unselect tracks with certain words in their SWS notes.lua | 1 | 2026 | --[[
* ReaScript Name: Unselect tracks with certain words in their SWS notes
* Author: X-Raym
* Author URI: https://www.extremraym.com
* Repository: https://github.com/X-Raym/REAPER-Scripts
* Licence: GPL v3
* REAPER: 5.0
* Version: 1.0.2
--]]
--[[
* Changelog:
* v1.0.1 (2022-01-28)
# Micro optimization
* ... | gpl-3.0 |
waytim/darkstar | scripts/zones/Valley_of_Sorrows/mobs/Adamantoise.lua | 5 | 1529 | -----------------------------------
-- Area: Valley of Sorrows
-- HNM: Adamantoise
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/titles");
require("scripts/globals/status");
-----------------------------------
-- onMobInitialize
-----------------------------------
... | gpl-3.0 |
CaptainPRICE/wire | lua/wire/client/text_editor/modes/e2.lua | 1 | 16764 | local table_concat = table.concat
local string_sub = string.sub
local string_gmatch = string.gmatch
local string_gsub = string.gsub
local EDITOR = {}
local function istype(tp)
return wire_expression_types[tp:upper()] or tp == "number"
end
-- keywords[name][nextchar!="("]
local keywords = {
-- keywords that can b... | apache-2.0 |
waytim/darkstar | scripts/zones/Southern_San_dOria/npcs/Varchet.lua | 13 | 2813 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Varchet
-- Type: NPC
-- @pos 116.484 -1 91.554 230
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c11478419.lua | 2 | 2675 | --Divine Alternation
function c11478419.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(11478419,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOGRAVE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1... | gpl-3.0 |
SEEDTEAM/TeleSeed | bot/utils.lua | 473 | 24167 | 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/... | agpl-3.0 |
nlyan/pdns | pdns/powerdns-example-script.lua | 2 | 3685 | pdnslog("pdns-recursor Lua script starting!", pdns.loglevels.Warning)
blockset = newDS()
blockset:add{"powerdns.org", "xxx"}
dropset = newDS();
dropset:add("123.cn")
malwareset = newDS()
malwareset:add("nl")
magic2 = newDN("www.magic2.com")
magicMetric = getMetric("magic")
-- shows the various ways of blocking, ... | gpl-2.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Southern_San_dOria_[S]/npcs/Geltpix.lua | 19 | 1124 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Geltpix
-- @zone 80
-- @pos 154 -2 103
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
-----------------------------------
-- on... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/RuAun_Gardens/npcs/qm4.lua | 4 | 1394 | -----------------------------------
-- Area: Ru'Aun Gardens
-- NPC: ??? (Suzaku's Spawn)
-- Allows players to spawn the HNM Suzaku with a Gem of the South and a Summerstone.
-- @pos -514 -70 -264 130
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
----------------------... | gpl-3.0 |
waytim/darkstar | scripts/globals/abilities/pets/heavenly_strike.lua | 28 | 1332 | ---------------------------------------------------
-- Geocrush
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/globals/magic");
---------------------------------------------------
... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/items/hellsteak_+1.lua | 3 | 1601 | -----------------------------------------
-- ID: 5610
-- Item: hellsteak_+1
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Health 20
-- Strength 6
-- Intelligence -2
-- Health Regen While Healing 2
-- Attack % 19
-- Ranged ATT % 19
-- Dragon Killer 5
-- Demon Killer 5
-------------------... | gpl-3.0 |
shaunlebron/blinky | game/lua-scripts/lenses/cube.lua | 2 | 2041 | cols = 4
rows = 3
lens_width = cols
lens_height = rows
max_fov = 360
max_vfov = 180
onload = "f_contain"
function col(x)
local nx = x+cols/2
local i,f = math.modf(nx)
if nx < 0 then
return i-1, f+1
end
return i,f
end
function row(y)
local ny = -y+rows/2
local i,f = math.modf(ny)
if ny... | mit |
TheOnePharaoh/YGOPro-Custom-Cards | script/c99971020.lua | 1 | 2736 | --DAL - Spirit Summon
function c99971020.initial_effect(c)
--Special Summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(99971020,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCoun... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c20912225.lua | 1 | 3767 | --The Ancient Sword Osafune Katana
function c20912225.initial_effect(c)
c:SetUniqueOnField(1,0,20912225)
aux.AddEquipProcedure(c,0,aux.FilterBoolFunction(Card.IsRace,RACE_WARRIOR))
--Atk up
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_EQUIP)
e2:SetCode(EFFECT_UPDATE_ATTACK)
e2:SetValue(500)
c:Register... | gpl-3.0 |
waytim/darkstar | scripts/zones/Eastern_Altepa_Desert/npcs/Laimeve_RK.lua | 13 | 3340 | -----------------------------------
-- Area: Eastern Altepa Desert
-- NPC: Laimeve, R.K.
-- Border Conquest Guards
-- @pos 226.493 -12.231 260.194 114
-----------------------------------
package.loaded["scripts/zones/Eastern_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/c... | gpl-3.0 |
waytim/darkstar | scripts/zones/Cloister_of_Storms/mobs/Ramuh_Prime.lua | 23 | 2201 | -----------------------------------
-- Area: Cloister of Storms
-- MOB: Ramuh Prime
-- Involved in Quest: Trial by Lightning
-- Involved in Mission: ASA-4 Sugar Coated Directive
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/status... | gpl-3.0 |
adminerror/66666666 | plugins/ingroup.lua | 202 | 31524 | do
local function check_member(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[tostring(msg.to.id)] = {
... | gpl-2.0 |
CaptainPRICE/wire | lua/wire/stools/eyepod.lua | 9 | 6494 | WireToolSetup.setCategory( "Vehicle Control" )
WireToolSetup.open( "eyepod", "Eye Pod", "gmod_wire_eyepod", nil, "Eye Pods" )
if ( CLIENT ) then
//tool hud lang
language.Add( "Tool.wire_eyepod.name", "Eye Pod Tool (Wire)" )
language.Add( "Tool.wire_eyepod.desc", "Spawns an Eye Pod Mouse Controller." )
lan... | apache-2.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c99950021.lua | 2 | 7084 | --MSMM - Kaname Madoka
function c99950021.initial_effect(c)
c:EnableReviveLimit()
--Spell Zone
local e1=Effect.CreateEffect(c)
e1:SetCode(EFFECT_SEND_REPLACE)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE+EFFECT_FLAG_UNCOPYABLE)
e1:SetRange(LOCATION_MZONE)
... | gpl-3.0 |
TienHP/Aquaria | files/scripts/entities/turtlenoshell.lua | 6 | 1153 | -- 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/Rabao/npcs/Leodarion.lua | 4 | 3302 | -----------------------------------
-- Area: Rabao
-- NPC: Leodarion
-- Involved in Quest: 20 in Pirate Years, I'll Take the Big Box, True Will
-- @pos -50 8 40 247
-----------------------------------
package.loaded["scripts/zones/Rabao/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/set... | gpl-3.0 |
MinFu/luci | applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua | 17 | 19842 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
require("luci.ip")
require("luci.model.uci")
local knownParams = {
--
-- Widget Name Default(s) Description Option(s)
--
{ "Service", {
-- initialisation and daemon options
{ List... | apache-2.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c66666620.lua | 2 | 3810 | --Aetherial Girl Tanashi
function c66666620.initial_effect(c)
--pendulum summon
aux.EnablePendulumAttribute(c)
--toHand
local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_TOHAND)
e2:SetProperty(EFFECT_FLAG_CARD_TARGET)
e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetRange(LOCATION_PZONE)
e2:SetCountLimit(1,6... | gpl-3.0 |
waytim/darkstar | scripts/globals/items/coeurl_sub.lua | 18 | 1832 | -----------------------------------------
-- ID: 5166
-- Item: coeurl_sub
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Magic 10
-- Strength 5
-- Agility 1
-- Intelligence -2
-- Health Regen While Healing 1
-- Attack % 20
-- Attack Cap 75
-- Ranged ATT % 20
-- Ranged ATT Cap 75
---------... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c160006319.lua | 2 | 2586 | --BlackMail Golem
function c160006319.initial_effect(c)
--Negate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(160006319,0))
e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_CHAINING)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_... | gpl-3.0 |
internetisalie/lua-for-idea | include/mobdebug/mobdebug.lua | 1 | 76630 | -- MobDebug -- Lua remote debugger
-- Copyright 2011-15 Paul Kulchenko
-- Based on RemDebug 1.0 Copyright Kepler Project 2005
--[[ MobDebug License -----------------------------------------------------
Copyright (C) 2011-2014 Paul Kulchenko
Permission is hereby granted, free of charge, to any person obtaining a copy
... | apache-2.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/mobskills/Binary_Tap.lua | 10 | 1710 | ---------------------------------------------------
-- Binary Tap
-- Attempts to absorb two buffs from a single target, or otherwise steals HP.
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores Shadows
-- Range: Melee
-- Notes: Can be any (positive) buff, including food. Will drain about 100HP if it can't take any buf... | gpl-3.0 |
waytim/darkstar | scripts/zones/East_Ronfaure_[S]/npcs/qm5.lua | 29 | 1559 | -----------------------------------
-- Area: East Ronfaure [S]
-- NPC: qm5 "???"
-- Involved in Quests: Steamed Rams
-- @pos 380.015 -26.5 -22.525
-----------------------------------
package.loaded["scripts/zones/East_Ronfaure_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems"... | gpl-3.0 |
Shayan123456/botttttt | plugins/img_google.lua | 660 | 3196 | do
local mime = require("mime")
local google_config = load_from_file('data/google.lua')
local cache = {}
--[[
local function send_request(url)
local t = {}
local options = {
url = url,
sink = ltn12.sink.table(t),
method = "GET"
}
local a, code, headers, status = http.request(options)
return tabl... | gpl-2.0 |
behnam98/SmartRobot | plugins/img_google.lua | 660 | 3196 | do
local mime = require("mime")
local google_config = load_from_file('data/google.lua')
local cache = {}
--[[
local function send_request(url)
local t = {}
local options = {
url = url,
sink = ltn12.sink.table(t),
method = "GET"
}
local a, code, headers, status = http.request(options)
return tabl... | gpl-2.0 |
mohammad9731/s_e_c_u_r_i_t_y | plugins/img_google.lua | 660 | 3196 | do
local mime = require("mime")
local google_config = load_from_file('data/google.lua')
local cache = {}
--[[
local function send_request(url)
local t = {}
local options = {
url = url,
sink = ltn12.sink.table(t),
method = "GET"
}
local a, code, headers, status = http.request(options)
return tabl... | gpl-2.0 |
siktirmirza/uzz | plugins/img_google.lua | 660 | 3196 | do
local mime = require("mime")
local google_config = load_from_file('data/google.lua')
local cache = {}
--[[
local function send_request(url)
local t = {}
local options = {
url = url,
sink = ltn12.sink.table(t),
method = "GET"
}
local a, code, headers, status = http.request(options)
return tabl... | gpl-2.0 |
amitshaked/resmatch | src/networks/mc-models/resmatch/hybrid.lua | 1 | 2735 | local network = require 'networks/network'
require 'networks/mc-models/resmatch/acrt'
require('networks/criterions/Margin2')
require('networks/scores/DotProduct2')
require('networks/modules/Normalize2')
local ResmatchHybrid, parent = torch.class('ResmatchHybrid','ResmatchAcrt')
function ResmatchHybrid:__init(self, op... | bsd-2-clause |
TheOnePharaoh/YGOPro-Custom-Cards | script/c80106550.lua | 2 | 3977 | --The Fourth Panticle of Wrath
function c80106550.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_BE_BATTLE_TARGET)
e1:SetCondition(c80106550.descon)
e1:SetTarget(c80106550.destg)
e1:SetOperation(c80106550.desop)
c:... | gpl-3.0 |
mehrpouya81/gamerspm | plugins/domaintools.lua | 359 | 1494 | 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 check(name)
local api = "https://domainsearch.p.mashape.com/index.php?"... | gpl-2.0 |
wanmaple/MWFrameworkForCocosLua | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/PhysicsContactPreSolve.lua | 10 | 1438 |
--------------------------------
-- @module PhysicsContactPreSolve
-- @parent_module cc
--------------------------------
-- get friction between two bodies
-- @function [parent=#PhysicsContactPreSolve] getFriction
-- @param self
-- @return float#float ret (return value: float)
-----------------------------... | apache-2.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/weaponskills/torcleaver.lua | 4 | 1383 | -----------------------------------
-- 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... | gpl-3.0 |
TienHP/Aquaria | files/scripts/entities/icechunksmall.lua | 6 | 1251 | -- 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 |
waytim/darkstar | scripts/zones/Temenos/mobs/Fire_Elemental.lua | 28 | 1740 | -----------------------------------
-- Area: Temenos E T
-- NPC: Fire_Elemental
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
------------------------------... | gpl-3.0 |
waytim/darkstar | scripts/zones/Sacrarium/Zone.lua | 19 | 3611 | -----------------------------------
--
-- Zone: Sacrarium (28)
--
-----------------------------------
package.loaded["scripts/zones/Sacrarium/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/settings");
require("scripts/zones/Sacrarium/TextIDs");
-------... | gpl-3.0 |
waytim/darkstar | scripts/zones/Lower_Delkfutts_Tower/npcs/Grounds_Tome.lua | 30 | 1107 | -----------------------------------
-- Area: Lower Delkfutt's Tower
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(play... | gpl-3.0 |
steven-jackson/PersonalLoot | libs/AceComm-3.0/AceComm-3.0.lua | 10 | 11192 | --- **AceComm-3.0** allows you to send messages of unlimited length over the addon comm channels.
-- It'll automatically split the messages into multiple parts and rebuild them on the receiving end.\\
-- **ChatThrottleLib** is of course being used to avoid being disconnected by the server.
--
-- **AceComm-3.0** can... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Southern_San_dOria/npcs/Paunelie.lua | 6 | 1146 | -----------------------------------
-- Area: Port Bastok
-- NPC: Ilita
-- Linkshell merchant
-- @pos -142 -1 -25 236
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/zones/Sout... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Dynamis-San_dOria/npcs/qm1.lua | 2 | 1209 | -----------------------------------
-- Area: Dynamis San d'Oria
-- NPC: ??? (Spawn when mega is defeated)
-----------------------------------
package.loaded["scripts/zones/Dynamis-San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/Dynamis-San_dOr... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Rabao/npcs/Generoit.lua | 6 | 1305 | -----------------------------------
-- Area: Rabao
-- NPC: Generoit
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Rabao/TextIDs"] = nil;
require("scripts/zones/Rabao/TextIDs");
-----------------------------------
-- onTrade Action
---------... | gpl-3.0 |
CaptainPRICE/wire | lua/entities/gmod_wire_fx_emitter.lua | 10 | 3723 | AddCSLuaFile()
DEFINE_BASECLASS( "base_wire_entity" )
ENT.PrintName = "Wire FX Emitter"
ENT.WireDebugName = "FX Emitter"
function ENT:SetupDataTables()
self:NetworkVar( "Bool", 0, "On" )
self:NetworkVar( "Int", 0, "Effect" )
self:NetworkVar( "Float", 0, "Delay" )
self:NetworkVar( "Vector", 0, "FXDir" )
end
... | apache-2.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Newton_Movalpolos/npcs/Sleakachiq.lua | 4 | 1057 | -----------------------------------
-- Area: Newton Movalpolos
-- NPC: Sleakachiq
-- Type: Adventurer's Assistant
-- @zone: 12
-- @pos: 162.504 14.999 136.901
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Newton_Movalpolos/TextIDs"]... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Upper_Jeuno/npcs/Sibila-Mobla.lua | 2 | 1289 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Sibila-Mobla
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
require("scripts/zones/Upper_Jeuno/TextIDs");
require("scripts/globals/quests");
-----------------------------------
-- onTr... | gpl-3.0 |
pedrohenriquerls/cocos2d_ruby_binding | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/ParticleBatchNode.lua | 10 | 3427 |
--------------------------------
-- @module ParticleBatchNode
-- @extend Node,TextureProtocol
-- @parent_module cc
--------------------------------
--
-- @function [parent=#ParticleBatchNode] setTexture
-- @param self
-- @param #cc.Texture2D texture
--------------------------------
-- disables a particle ... | mit |
waytim/darkstar | scripts/zones/Windurst_Waters/npcs/Ohbiru-Dohbiru.lua | 28 | 12066 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Ohbiru-Dohbiru
-- Involved in quest: Food For Thought, Say It with Flowers
-- Starts and finishes quest: Toraimarai Turmoil
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
require("scripts/globa... | gpl-3.0 |
guillec/bluag | generators/newblog.lua | 1 | 6183 | function file_exists(name)
local f=io.open(name,"w")
if f~=nil then io.close(f) return true else return false end
end
function directory_exists(path)
end
function mkdir(dirname)
if not directory_exists(dirname) then
os.execute("mkdir " .. dirname)
end
end
function create_index_page(filename)
if file_ex... | mit |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Windurst_Waters/npcs/Chyuk-Kochak.lua | 4 | 1049 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Chyuk-Kochak
-- Type: Standard NPC
-- @zone: 238
-- @pos: -252.162 -6.319 -307.011
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/items/loaf_of_steel_bread.lua | 3 | 1089 | -----------------------------------------
-- ID: 4573
-- Item: loaf_of_steel_bread
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health 6
-- Vitality 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
... | gpl-3.0 |
pedrohenriquerls/cocos2d_ruby_binding | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/TMXLayer.lua | 2 | 5485 |
--------------------------------
-- @module TMXLayer
-- @extend SpriteBatchNode
-- @parent_module cc
--------------------------------
-- returns the position in points of a given tile coordinate
-- @function [parent=#TMXLayer] getPositionAt
-- @param self
-- @param #vec2_table tileCoordinate
-- @return vec2_table#... | mit |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/mobskills/Wind_Shear_ZNM.lua | 4 | 1090 | ---------------------------------------------
-- Wind Shear
--
-- Description: Deals damage to enemies within an area of effect. Additional effect: Knockback
-- Type: Physical
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: 10' radial
-- Notes: The knockback is rather severe. Vulpangue uses an enhanced version th... | gpl-3.0 |
djdduty/OnionRing | TestGame/main.lua | 2 | 1355 | print("Hello from Lua Global!")
frameCount = 0
frameTimer = 0
function onion.load()
print("This lua file contains every bound input function!")
onion.window.settitle("Lua, woohoo!")
end
function onion.update(deltatime)
frameTimer = frameTimer + deltatime
frameCount = frameCount + 1
--print ("upda... | mit |
TheOnePharaoh/YGOPro-Custom-Cards | script/c77777793.lua | 2 | 4503 | --Witchcrafter Combinatorial Relic
function c77777793.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:SetTarget(c77777793.sptg)
e1:SetOperation(c77777793.spop)
c:RegisterEffect(e1)
end
function... | gpl-3.0 |
waytim/darkstar | scripts/zones/Al_Zahbi/npcs/Hadibal.lua | 13 | 1037 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Hadibal
-- Type: Standard NPC
-- @zone: 48
-- @pos -34.345 -1 -38.842
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
---------------------------... | gpl-3.0 |
delram/hw | plugins/stats.lua | 866 | 4001 | do
-- Returns a table with `name` and `msgs`
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_prin... | gpl-2.0 |
waytim/darkstar | scripts/zones/Boneyard_Gully/mobs/Race_Runner.lua | 13 | 1477 | -----------------------------------
-- Area: Boneyard_Gully
-- Name: Race Runner
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
local path = {
-539, 0, -481,
-556, 0, -478,
-581, 0, -475,
-579, -3, -460,
-572, 2, -433,
-545, 1, -440,
... | gpl-3.0 |
MinFu/luci | applications/luci-app-statistics/luasrc/statistics/i18n.lua | 29 | 2184 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.statistics.i18n", package.seeall)
require("luci.util")
require("luci.i18n")
Instance = luci.util.class()
function Instance.__init__( self, graph )
self.i18n = luci.i18n
se... | apache-2.0 |
zorfmorf/loveprojects | drip/src/libraries/hump/vector.lua | 28 | 5323 | --[[
Copyright (c) 2010-2013 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, dis... | apache-2.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/spells/exuviation.lua | 4 | 1201 | -----------------------------------------
-- Spell: Exuviation
-- Restores HP and removes one detrimental magic effect.
-- Can be used with Diffusion.
-- Shamelessly stolen from http://members.shaw.ca/pizza_steve/cure/Cure_Calculator.html
-----------------------------------------
require("scripts/globals/settings");
r... | gpl-3.0 |
erfan1292/sezar2 | plugins/fantasty_writter.lua | 3 | 28777 | local function run(msg, matches)
if #matches < 2 then
return "بعد از این دستور، با قید یک فاصله کلمه یا جمله ی مورد نظر را جهت زیبا نویسی وارد کنید"
end
if string.len(matches[2]) > 20 then
return "حداکثر حروف مجاز 20 کاراکتر انگلیسی و عدد است"
end
local font_base = "A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.