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 |
|---|---|---|---|---|---|
TheOnePharaoh/YGOPro-Custom-Cards | script/c405109.lua | 2 | 4004 | --Galaxy-Eyes Tachyon Binary Pulsar Dragon
function c405109.initial_effect(c)
--Synchro summon
aux.AddSynchroProcedure(c,aux.FilterBoolFunction(c405109.mfilter),aux.NonTuner(c405109.mfilter2),1)
c:EnableReviveLimit()
--Atk
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(405109,0))
e1:SetCategory(C... | gpl-3.0 |
zorfmorf/loveprojects | bfrpg/src/lib/quickie/utf8.lua | 15 | 4556 | -- utf8.lua - Basic (and unsafe) utf8 string support in plain Lua - public domain
--
-- Written in 2013 by Matthias Richter (vrld@vrld.org)
--
-- This software is in the public domain. Where that dedication is not
-- recognized, you are granted a perpetual, irrevokable license to copy and
-- modify this file as you see... | apache-2.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c77777751.lua | 2 | 1910 | --Necromantic Summoning
function c77777751.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:SetCountLimit(1,77777751)
e1:SetTarget(c77777751.target)
e1:SetOperation(c77777751.activate)
c:Registe... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c77777853.lua | 2 | 3254 | --Mystic Fauna Vinoceros
function c77777853.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(Card.IsSetCard,0x40a),1)
c:EnableReviveLimit()
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(77777853,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFE... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c101010383.lua | 2 | 4690 | --created & coded by Lyris
--Blade Flight
function c101010383.initial_effect(c)
--"Blademaster" and "Bladewing" monsters you control cannot be targeted by your opponent's card effects. Once per turn, when a Spell, Trap, or Spell/Trap effect targets a "Blademaster" or "Bladewing" monster you control: You can return 1 of... | gpl-3.0 |
gfgtdf/wesnoth-old | data/campaigns/The_Hammer_of_Thursagan/lua/spawns.lua | 4 | 1562 | -- Used for the bandit spawns in scenario 5
local helper = wesnoth.require "helper"
local utils = wesnoth.require "wml-utils"
local wml_actions = wesnoth.wml_actions
local T = wml.tag
function wml_actions.spawn_units(cfg)
local x = cfg.x or wml.error("[spawn_units] missing required x= attribute.")
local y = cfg.y o... | gpl-2.0 |
amostalong/SSFS | Assets/LuaFramework/ToLua/Lua/protobuf/protobuf.lua | 8 | 36644 | --
--------------------------------------------------------------------------------
-- FILE: protobuf.lua
-- DESCRIPTION: protoc-gen-lua
-- Google's Protocol Buffers project, ported to lua.
-- https://code.google.com/p/protoc-gen-lua/
--
-- Copyright (c) 2010 , 林卓毅 (Zhuoyi Lin) netsnail@gmail.com
-- ... | mit |
waytim/darkstar | scripts/globals/spells/bluemagic/eyes_on_me.lua | 31 | 1587 | -----------------------------------------
-- Spell: Eyes On Me
-- Deals dark damage to an enemy
-- Spell cost: 112 MP
-- Monster Type: Demons
-- Spell Type: Magical (Dark)
-- Blue Magic Points: 4
-- Stat Bonus: HP-5, MP+15
-- Level: 61
-- Casting Time: 4.5 seconds
-- Recast Time: 29.25 seconds
-- Magic Bursts on: Compr... | gpl-3.0 |
erfan1292/sezar2 | libs/lua-redis.lua | 580 | 35599 | local redis = {
_VERSION = 'redis-lua 2.0.4',
_DESCRIPTION = 'A Lua client library for the redis key value storage system.',
_COPYRIGHT = 'Copyright (C) 2009-2012 Daniele Alessandri',
}
-- The following line is used for backwards compatibility in order to keep the `Redis`
-- global module name. Using... | gpl-2.0 |
TienHP/Aquaria | files/scripts/entities/seaturtlesmall.lua | 6 | 1143 | -- 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 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c56540009.lua | 2 | 1782 | --Loli Mamourou
function c56540009.initial_effect(c)
c:SetSPSummonOnce(56540009)
aux.AddSynchroProcedure2(c,nil,aux.NonTuner(nil))
c:EnableReviveLimit()
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(56540009,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CON... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c38709246.lua | 2 | 1152 | --Singing Passion of Vocaloids
function c38709246.initial_effect(c)
c:SetUniqueOnField(1,0,38709246)
--activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--extra summon
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:Set... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c20912271.lua | 2 | 2162 | --Rank-Up-Magic The Emperor's Force
function c20912271.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:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCountLimit(1,20912271)
e1:SetTarget(c20912271.ta... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c99970541.lua | 2 | 3271 | --DAL - Diva
function c99970541.initial_effect(c)
--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(c99970541.splimit)
c:RegisterEffect(e1)
--To Hand
... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c1392004.lua | 2 | 2044 | --Shadowbrave - Conroe
function c1392004.initial_effect(c)
--Special Summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(1392004,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_BATTLE_DESTROYED)
e1:SetRange(LOCATION_HAND+LOCATION_... | gpl-3.0 |
MAXrobotTelegram/teleseed | plugins/filter.lua | 6 | 3623 | local function save_filter(msg, name, value)
local hash = nil
if msg.to.type == 'channel' then
hash = 'chat:'..msg.to.id..':filters'
end
if msg.to.type == 'user' then
return 'SUPERGROUPS only'
end
if hash then
redis:hset(hash, name, value)
return "Successfull!"
end
end
local function get_filter_hash(msg... | gpl-2.0 |
X-Raym/REAPER-ReaScripts | Regions/X-Raym_Create markers at selected items snap offset.lua | 1 | 2176 | --[[
* ReaScript Name: Create markers at selected items snap offset
* Author: X-Raym
* Author URI: https://www.extremraym.com
* Repository: GitHub > X-Raym > REAPER-ReaScripts
* Repository URI: https://github.com/X-Raym/REAPER-ReaScripts
* Licence: GPL v3
* REAPER: 5.0 pre 15
* Extensions: SWS/S&M 2.7.1
* Vers... | gpl-3.0 |
chrox/koreader | frontend/dbg.lua | 5 | 1043 | local dump = require("dump")
local isAndroid, android = pcall(require, "android")
local Dbg = {
is_on = false,
ev_log = nil,
}
local Dbg_mt = {}
local function LvDEBUG(lv, ...)
local line = ""
for i,v in ipairs({...}) do
if type(v) == "table" then
line = line .. " " .. dump(v, lv)... | agpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Lower_Jeuno/npcs/Gurdern.lua | 2 | 1251 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Gurdern
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
require("scripts/zones/Lower_Jeuno/TextIDs");
-----------------------------------
-- onTrade Action
-----------------------------... | gpl-3.0 |
waytim/darkstar | scripts/zones/Port_Windurst/npcs/Hohbiba-Mubiba.lua | 17 | 1689 | -----------------------------------
-- Area: Port Windurst
-- NPC: Hohbiba-Mubiba
-- 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/Bastok_Mines/npcs/Leonie.lua | 13 | 1060 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Leonie
-- Type: Room Renters
-- @zone: 234
-- @pos 118.871 -0.004 -83.916
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
require("script... | gpl-3.0 |
waytim/darkstar | scripts/zones/Bastok_Markets_[S]/npcs/Heumila.lua | 13 | 1045 | -----------------------------------
-- Area: Bastok Markets (S)
-- NPC: Heumila
-- Type: Past Event Watcher
-- @zone: 87
-- @pos
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-------------------... | gpl-3.0 |
dicene/Mudlet | src/mudlet-lua/lua/TableUtils.lua | 2 | 9481 | ----------------------------------------------------------------------------------
--- Mudlet Table Utils
----------------------------------------------------------------------------------
--- Tests if a table is empty: this is useful in situations where you find
--- yourself wanting to do 'if my_table == {}' and suc... | gpl-2.0 |
wireshark/wireshark | test/lua/pinfo.lua | 4 | 11056 | -- test script for Pinfo and Address functions
-- use with dhcp.pcap in test/captures directory
local major, minor, micro = get_version():match("(%d+)%.(%d+)%.(%d+)")
if major then
major = tonumber(major)
minor = tonumber(minor)
micro = tonumber(micro)
else
major = 99
minor = 99
micro = 99
end
... | gpl-2.0 |
waytim/darkstar | scripts/globals/items/mihgo_mithkabob.lua | 18 | 1439 | -----------------------------------------
-- ID: 5708
-- Item: Mihgo Mithkabob
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- Dexterity 5
-- Vitality 2
-- Mind -2
-- Defense % 25
-- Defense Cap 65
-----------------------------------------
require("scripts/globals/status");
-------------... | gpl-3.0 |
waytim/darkstar | scripts/globals/items/pumpkin_pie_+1.lua | 18 | 1357 | -----------------------------------------
-- ID: 4447
-- Item: pumpkin_pie_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Magic 45
-- Intelligence 4
-- Charisma -1
-- MP Recovered While Healing 1
-----------------------------------------
require("scripts/globals/status");
-----------... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/spells/curaga_iv.lua | 2 | 1148 | -----------------------------------------
-- Spell: Curaga IV
-- Restores HP of all party members within area of effect.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSp... | gpl-3.0 |
db260179/openwrt-bpi-r1-luci | modules/luci-mod-admin-full/luasrc/model/cbi/admin_status/processes.lua | 75 | 1236 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
f = SimpleForm("processes", translate("Processes"), translate("This list gives an overview over currently running system processes and their status."))
f.reset... | apache-2.0 |
waytim/darkstar | scripts/globals/weaponskills/infernal_scythe.lua | 10 | 1515 | -----------------------------------
-- Infernal Scythe
-- Scythe weapon skill
-- Skill Level: 300
-- Deals darkness elemental damage and lowers target's attack. Duration of effect varies with TP.
-- Attack Down effect is -25% attack.
-- Aligned with the Shadow Gorget & Aqua Gorget.
-- Aligned with the Shadow Belt & Aqu... | gpl-3.0 |
Contatta/prosody-modules | mod_auth_external/mod_auth_external.lua | 31 | 4708 | --
-- Prosody IM
-- Copyright (C) 2010 Waqas Hussain
-- Copyright (C) 2010 Jeff Mitchell
-- Copyright (C) 2013 Mikael Nordfeldth
-- Copyright (C) 2013 Matthew Wild, finally came to fix it all
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--
local lpt... | mit |
waytim/darkstar | scripts/globals/items/dish_of_spaghetti_vongole_rosso_+1.lua | 18 | 1650 | -----------------------------------------
-- ID: 5198
-- Item: Dish of Spaghetti Vongole Rosso +1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health % 20
-- Health Cap 95
-- Vitality 2
-- Mind -1
-- Defense % 25
-- Defense Cap 35
-- Store TP 6
-----------------------------------------
... | gpl-3.0 |
X-Raym/REAPER-ReaScripts | Items Properties/X-Raym_Paste clipboard content into selected items notes.lua | 1 | 1046 | --[[
* ReaScript Name: Paste clipboard content into selected items notes
* Author: X-Raym
* Author URI: https://extremraym.com
* Repository: GitHub > X-Raym > REAPER-ReaScripts
* Repository URI: https://github.com/X-Raym/REAPER-ReaScripts
* Licence: GPL v3
* Forum Thread: Scripts: Items Properties (various)
* F... | gpl-3.0 |
thisishmed/butler | plugins/stats.lua | 12 | 6289 | -- Saves the number of messages from a user
-- Can check the number of messages with !stats
do
local NUM_MSG_MAX = 5
local TIME_CHECK = 4 -- seconds
local function user_print_name(user)
if user.print_name then
return user.print_name
end
local text = ''
if user.first_name then
text = user.last_name.... | gpl-2.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/effects/addendum_white.lua | 4 | 1901 | -----------------------------------
--
--
--
-----------------------------------
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
target:recalculateAbilitiesTable();
local bonus = effect:getPower();
local regen = effect:getSubPower(... | gpl-3.0 |
waytim/darkstar | scripts/zones/Northern_San_dOria/npcs/Doggomehr.lua | 13 | 1208 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Doggomehr
-- Guild Merchant NPC: Blacksmithing Guild
-- @pos -193.920 3.999 162.027 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("script... | gpl-3.0 |
waytim/darkstar | scripts/zones/Crawlers_Nest/npcs/_5h1.lua | 13 | 2974 | -----------------------------------
-- Area: Crawlers' Nest
-- NPC: Strange Apparatus
-- @pos: 214 0 -339 197
-----------------------------------
package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil;
require("scripts/zones/Crawlers_Nest/TextIDs");
require("scripts/globals/strangeapparatus");
-----------------... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Horlais_Peak/bcnms/contaminated_colosseum.lua | 4 | 1775 | -----------------------------------
-- Area: Horlias peak
-- Name: contaminated_colosseum
-- KSNM30
-----------------------------------
package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/quests");
require("scripts/... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Sacrarium/mobs/Keremet.lua | 2 | 1333 | -----------------------------------
-- Area: sacrarium
-- NPC: Keremet
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions");
-----------------------------------
-- onMobSpawn
-----------------------------------
function OnMobSpawn(mob)
end;
------------------... | gpl-3.0 |
waytim/darkstar | scripts/globals/items/bowl_of_riverfin_soup.lua | 18 | 1891 | -----------------------------------------
-- ID: 6069
-- Item: Bowl of Riverfin Soup
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- Accuracy % 14 Cap 90
-- Ranged Accuracy % 14 Cap 90
-- Attack % 18 Cap 80
-- Ranged Attack % 18 Cap 80
-- Amorph Killer 5
-----------------------------------... | gpl-3.0 |
waytim/darkstar | scripts/globals/mobskills/glittering_ruby.lua | 27 | 1144 | ---------------------------------------------------
-- Glittering Ruby
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------------
function onMobSkillCheck(ta... | gpl-3.0 |
waytim/darkstar | scripts/zones/Abyssea-Tahrongi/npcs/Cavernous_Maw.lua | 29 | 1190 | -----------------------------------
-- Area: Abyssea - Tahrongi
-- NPC: Cavernous Maw
-- @pos -31.000, 47.000, -681.000 45
-- Teleports Players to Tahrongi Canyon
-----------------------------------
package.loaded["scripts/zones/Abyssea-Tahrongi/TextIDs"] = nil;
-----------------------------------
require("scripts/gl... | gpl-3.0 |
tenvick/hugular_cstolua | Client/tools/netProtocal/NetProtocalParserCode.lua | 8 | 3668 | ------------------- NetProtocalPaser---------------
local NetAPIList = NetAPIList
NetProtocalPaser = {}
function NetProtocalPaser:parsestring(msg, key, parentTable)
parentTable[key] = msg:ReadString()
end
function NetProtocalPaser:parseinteger(msg, key, parentTable)
parentTable[key] = msg:ReadInt()
e... | mit |
TheOnePharaoh/YGOPro-Custom-Cards | script/c99950341.lua | 2 | 3212 | --MSMM - Kyubey
function c99950341.initial_effect(c)
--Special Summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(99950341,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_HAND)
e1:SetCost(c99950341.spcost)
e1:SetTarget(c99950341.sptg)
... | gpl-3.0 |
waytim/darkstar | scripts/globals/weaponskills/hard_slash.lua | 11 | 1603 | -----------------------------------
-- Hard Slash
-- Great Sword weapon skill
-- Skill level: 5
-- Delivers a single-hit attack. Damage varies with TP.
-- Modifiers: STR:30%
-- 100%TP 200%TP 300%TP
-- 1.5 1.75 2.0
-----------------------------------
require("scripts/globals/settings");
require("s... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Bhaflau_Thickets/npcs/qm1.lua | 15 | 1188 | -----------------------------------
-- Area: Bhaflau Thickets
-- NPC: ??? (Spawn Lividroot Amooshah(ZNM T2))
-- @pos 334 -10 184 52
-----------------------------------
package.loaded["scripts/zones/Bhaflau_Thickets/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Bhaflau_Thickets/TextIDs");... | gpl-3.0 |
waytim/darkstar | scripts/globals/abilities/pets/gust_breath.lua | 29 | 1334 | ---------------------------------------------------
-- Gust Breath
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/globals/ability");
------------------------------------------------... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c101020022.lua | 1 | 2388 | --created by LionHeartKIng, coded by Lyris
--S・VINEのコースト・プリースト
function c101020022.initial_effect(c)
local e4=Effect.CreateEffect(c)
e4:SetCategory(CATEGORY_SPECIAL_SUMMON)
e4:SetType(EFFECT_TYPE_IGNITION)
e4:SetRange(LOCATION_MZONE)
e4:SetCountLimit(1)
e4:SetCondition(c101020022.spcon)
e4:SetTarget(c101020022.s... | gpl-3.0 |
MinFu/luci | applications/luci-app-wshaper/luasrc/model/cbi/wshaper.lua | 56 | 1848 | -- Copyright 2011 Manuel Munz <freifunk at somakoma dot de>
-- Licensed to the public under the Apache License 2.0.
require("luci.tools.webadmin")
m = Map("wshaper", translate("Wondershaper"),
translate("Wondershaper shapes traffic to ensure low latencies for interactive traffic even when your " ..
"internet connec... | apache-2.0 |
waytim/darkstar | scripts/zones/Apollyon/mobs/Proto-Omega.lua | 4 | 3213 | -----------------------------------
-- Area: Apollyon (Central)
-- MOB: Proto-Omega
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
require("scripts/globals/titl... | gpl-3.0 |
waytim/darkstar | scripts/globals/items/prime_beef_stewpot.lua | 18 | 1971 | -----------------------------------------
-- ID: 5548
-- Item: Prime Beef Stewpot
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP +10% Cap 75
-- MP +15
-- Strength +2
-- Agility +1
-- Mind +1
-- HP Recovered while healing +7
-- MP Recovered while healing +2
-- Atta... | gpl-3.0 |
jixianliang/DBProxy | examples/tutorial-keepalive.lua | 4 | 8032 | --[[ $%BEGINLICENSE%$
Copyright (c) 2007, 2009, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; version 2 of the
License.
This program is dis... | gpl-2.0 |
forcecore/OpenRA | mods/ra/maps/soviet-06a/soviet06a.lua | 7 | 6355 | --[[
Copyright 2007-2017 The OpenRA Developers (see AUTHORS)
This file is part of OpenRA, which is free software. It is made
available to you under the terms of the GNU General Public License
as published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later vers... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c99960040.lua | 1 | 5694 | --BRS - Black Gold Saw
function c99960040.initial_effect(c)
--Xyz Summon
aux.AddXyzProcedure(c,nil,4,2)
c:EnableReviveLimit()
--Attach
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_SPSUMMON_S... | gpl-3.0 |
waytim/darkstar | scripts/zones/Balgas_Dais/bcnms/rank_2_mission.lua | 26 | 1908 | -----------------------------------
-- Area: Horlais Peak
-- Name: Mission Rank 2
-- @pos 299 -123 345 146
-----------------------------------
package.loaded["scripts/zones/Balgas_Dais/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/Balgas_Dais/TextIDs... | gpl-3.0 |
peterfillmore/proxmark3-14a-TagFuzz | client/lualibs/read14a.lua | 9 | 4126 | --[[
This is a library to read 14443a tags. It can be used something like this
local reader = require('read14a')
result, err = reader.read1443a()
if not result then
print(err)
return
end
print(result.name)
--]]
-- Loads the commands-library
local cmds = require('commands')
local TIMEOUT = 2000 -- Shouldn't ... | gpl-2.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Quicksand_Caves/npcs/_5sa.lua | 4 | 1222 | -----------------------------------
-- Area: Quicksand Caves
-- NPC: Ornate Door
-- Door blocked by Weight system
-- @pos -418 0 790 208
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Quicksand_Caves/TextIDs... | gpl-3.0 |
waytim/darkstar | scripts/zones/The_Garden_of_RuHmet/mobs/Kf_ghrah_whm.lua | 23 | 1894 | -----------------------------------
-- Area: Grand Palace of Hu'Xzoi
-- MOB: Kf'ghrah WHM
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/magic"); -- no spells are currently set due to lack of info
-----------------------------------
-- onMobSpawn
-- Set core Skin and m... | gpl-3.0 |
waytim/darkstar | scripts/globals/items/elshimo_coconut.lua | 18 | 1196 | -----------------------------------------
-- ID: 5187
-- Item: elshimo_coconut
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility -1
-- Intelligence -1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemChec... | gpl-3.0 |
johnbelamaric/themis | vendor/github.com/apache/thrift/lib/lua/TServer.lua | 30 | 3992 | --
-- 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... | apache-2.0 |
waytim/darkstar | scripts/globals/items/persikos.lua | 18 | 1174 | -----------------------------------------
-- ID: 4274
-- Item: persikos
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility -7
-- Intelligence 5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
------... | gpl-3.0 |
waytim/darkstar | scripts/zones/Chamber_of_Oracles/npcs/Pedestal_of_Ice.lua | 13 | 2373 | -----------------------------------
-- Area: Chamber of Oracles
-- NPC: Pedestal of Ice
-- Involved in Zilart Mission 7
-- @pos 199 -2 36 168
-------------------------------------
package.loaded["scripts/zones/Chamber_of_Oracles/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/titles");... | gpl-3.0 |
tomyun/Gearsystem | platforms/ios/dependencies/SDL-2.0.4-9174/premake/projects/testsprite2.lua | 7 | 1046 | -- Copyright (C) 1997-2014 Sam Lantinga <slouken@libsdl.org>
--
-- This software is provided 'as-is', without any express or implied
-- warranty. In no event will the authors be held liable for any damages
-- arising from the use of this software.
--
-- Permission is granted to anyone to use this software for an... | gpl-3.0 |
X-Raym/REAPER-ReaScripts | Theme/X-Raym_Theme auto-refresher (background).lua | 1 | 3006 | --[[
* ReaScript Name: Theme auto-refresher (background)
* Screenshot: https://i.imgur.com/yJnbHLQ.gif
* Author: X-Raym
* Author URI: https://www.extremraym.com
* Repository: GitHub > X-Raym > REAPER-ReaScripts
* Repository URI: https://github.com/X-Raym/REAPER-ReaScripts
* Forum Thread: Script: Theme auto-refre... | gpl-3.0 |
focusworld/fcss | plugins/ingroup.lua | 24 | 53144 | 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 |
gfgtdf/wesnoth-old | data/lua/wml/set_variable.lua | 2 | 4731 | local helper = wesnoth.require "helper"
function wesnoth.wml_actions.set_variable(cfg, variables)
local name = cfg.name or wml.error "trying to set a variable with an empty name"
if variables == nil then variables = wml.variables end
if cfg.value ~= nil then -- check for nil because user may try to set a variable ... | gpl-2.0 |
TienHP/Aquaria | files/scripts/entities/trillious.lua | 6 | 3458 | -- 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/globals/abilities/pets/thunder_ii.lua | 4 | 1130 | ---------------------------------------------------
-- Aero 2
---------------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
require("/scripts/globals/monstertpmoves");
require("/scripts/globals/magic");
---------------------------------------------------... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c59925840.lua | 2 | 1194 | --Vocaloid Oliver
function c59925840.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(59925840,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP)
e1:SetRange(LOCATION_HAND)
e1:Se... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Arrapago_Reef/npcs/qm10.lua | 4 | 2891 | -----------------------------------
-- Area: Arrapago Reef
-- NPC: ???
-- Starts: Corsair Af1 ,AF2 ,AF3
-- @pos 457.128 -8.249 60.795 54
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/quests");
require("scripts/globals/titles");
require("scripts/zones/Arrapago_Reef/Tex... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c11111131.lua | 2 | 4073 | --Vocaloid Kaai Yuki Mdl - Gl104
function c11111131.initial_effect(c)
c:EnableReviveLimit()
--pendulum summon
aux.EnablePendulumAttribute(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--cannot direct attack
local e2=Effect.Crea... | gpl-3.0 |
waytim/darkstar | scripts/zones/Heavens_Tower/npcs/Rakano-Marukano.lua | 13 | 2303 | -----------------------------------
-- Area: Heavens Tower
-- NPC: Rakano-Marukano
-- Type: Immigration NPC
-- @pos 6.174 -1 32.285 242
-----------------------------------
package.loaded["scripts/zones/Heavens_Tower/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
-----------... | gpl-3.0 |
chrox/koreader | frontend/ui/widget/pathchooser.lua | 6 | 1614 | local ButtonDialog = require("ui/widget/buttondialog")
local FileChooser = require("ui/widget/filechooser")
local UIManager = require("ui/uimanager")
local util = require("ffi/util")
local DEBUG = require("dbg")
local _ = require("gettext")
local PathChooser = FileChooser:extend{
title = _("Choose Path"),
no_t... | agpl-3.0 |
vovkasm/liteide | liteidex/src/memleak_update.lua | 3 | 1533 | local tmp = "/tmp"
local sep = "/"
local upper = ".."
require"lfs"
print (lfs._VERSION)
local memcheck = [[
//lite_memory_check_begin
#if defined(WIN32) && defined(_MSC_VER) && defined(_DEBUG)
#define _CRTDBG_MAP_ALLOC
#include <stdlib.h>
#include <crtdbg.h>
#define DEBUG_NEW new( _NORMAL_BLOCK, ... | lgpl-2.1 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/weaponskills/shadow_of_death.lua | 4 | 1194 | -----------------------------------
-- Shadow Of Death
-- Scythe weapon skill
-- Skill Level: 70
-- Delivers a dark elemental attack. Damage varies with TP.
-- Aligned with the Snow Gorget & Aqua Gorget.
-- Aligned with the Snow Belt & Aqua Belt.
-- Element: Dark
-- Modifiers: STR:30% ; INT:30%
-- 100%TP 20... | gpl-3.0 |
waytim/darkstar | scripts/zones/Quicksand_Caves/npcs/qm5.lua | 12 | 2198 | -----------------------------------
-- Area: Quicksand Caves
-- NPC: ??? (qm5)
-- Involved in Quest: The Missing Piece
-- @pos
--1:770 0 -419
--2:657 0 -537
--3:749 0 -573
--4:451 -16 -739
--5:787 -16 -819
--spawn in npc_list is 770 0 -419
-----------------------------------
package.loaded["scripts/zones/Quicksand_Cav... | gpl-3.0 |
ZACTELEGRAM1/EMAM-ALI | plugins/search_youtube.lua | 674 | 1270 | do
local google_config = load_from_file('data/google.lua')
local function httpsRequest(url)
print(url)
local res,code = https.request(url)
if code ~= 200 then return nil end
return json:decode(res)
end
local function searchYoutubeVideos(text)
local url = 'https://www.googleapis.com/youtube/v3/search?'
u... | gpl-2.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/weaponskills/numbing_shot.lua | 4 | 1626 | -----------------------------------
-- Numbing Shot
-- Marksmanship weapon skill
-- Skill level: 290
-- Main of sub must be Ranger or Corsair
-- Aligned with the Thunder & Breeze Gorget.
-- Aligned with the Thunder Belt & Breeze Belt.
-- Element: Ice
-- Modifiers: STR 30% MND 25%
-- 100%TP 200%TP 300%TP ... | gpl-3.0 |
saeqe/nod | plugins/tophoto.lua | 24 | 1059 | local function tosticker(msg, success, result)
local receiver = get_receiver(msg)
if success then
local file = 'data/stickers/'..msg.from.id..'.jpg'
print('File downloaded to:', result)
os.rename(result, file)
print('File moved to:', file)
send_photo(get_receiver(msg), file, ok_cb, false)
re... | gpl-2.0 |
steven-jackson/PersonalLoot | libs/AceGUI-3.0/widgets/AceGUIWidget-DropDown.lua | 9 | 19445 | --[[ $Id: AceGUIWidget-DropDown.lua 1116 2014-10-12 08:15:46Z nevcairiel $ ]]--
local AceGUI = LibStub("AceGUI-3.0")
-- Lua APIs
local min, max, floor = math.min, math.max, math.floor
local select, pairs, ipairs, type = select, pairs, ipairs, type
local tsort = table.sort
-- WoW APIs
local PlaySound = PlaySo... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c44559824.lua | 1 | 7307 | --Qilin, Thunder King of the Sky Nirvana
function c44559824.initial_effect(c)
c:SetUniqueOnField(1,0,44559824)
--fusion material
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetCode(EFFECT_FUSION_MATERIAL)
e1:SetCondition(c445... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c20161999.lua | 2 | 4483 | --Lizardfolk Swamp
function c20161999.initial_effect(c)
c:SetUniqueOnField(1,0,20161999)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_POSITION)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMING_END_PHASE)
e1:SetTarget(c20161999.target)
e1:SetOperation... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c59821050.lua | 2 | 5978 | --The Idol Master of Time and Space Sumire Hikami
function c59821050.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0xa1a2),aux.NonTuner(Card.IsSetCard,0xa1a2),1)
c:EnableReviveLimit()
--pendulum summon
aux.EnablePendulumAttribute(c)
--cannot special summon
loc... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c494476155.lua | 2 | 2643 | function c494476155.initial_effect(c)
--synchro
aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x0600),aux.NonTuner(nil),1)
c:EnableReviveLimit()
--gain atk
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetRange(LOCATION_MZONE)
e1:SetTargetRange(LOCATION_MZONE,... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/items/quus.lua | 2 | 1131 | -----------------------------------------
-- ID: 5793
-- Item: quus
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
--------------... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/abilities/steal.lua | 2 | 2731 | -----------------------------------
-- Ability: Steal
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-- these are the quadavs that the thf af1 item can be stolen from
-- bronze quadav groupid = 7949
-- garnet quadav groupid = 7960
-- silver quadav groupi... | gpl-3.0 |
waytim/darkstar | scripts/globals/weaponskills/rampage.lua | 11 | 1472 | -----------------------------------
-- Rampage
-- Axe weapon skill
-- Skill level: 175
-- Delivers a five-hit attack. Chance of params.critical varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Soil Gorget.
-- Aligned with the Soil Belt.
-- Element: None
-- Modifiers: STR:50%
-- 100%TP 200%TP 3... | gpl-3.0 |
dmccuskey/dmc-sockets | examples/dmc-sockets-basic/dmc_corona/lib/dmc_lua/json.lua | 49 | 2030 | --====================================================================--
-- dmc_lua/json.lua
--
-- consistent method which which to load json on various systems
--
-- Documentation: http://docs.davidmccuskey.com/
--====================================================================--
--[[
The MIT License (MIT)
Cop... | mit |
dmccuskey/dmc-performance | dmc_corona/dmc_performance.lua | 1 | 7616 | --====================================================================--
-- dmc_corona/dmc_performance.lua
--
-- Documentation: http://docs.davidmccuskey.com/
--====================================================================--
--[[
The MIT License (MIT)
Copyright (c) 2011-2015 David McCuskey
Permission is her... | mit |
TheOnePharaoh/YGOPro-Custom-Cards | script/c87002901.lua | 2 | 2465 | --May-Raias King
function c87002901.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)
c:RegisterEffect(e1)
--spsummon proc
local e... | gpl-3.0 |
waytim/darkstar | scripts/globals/items/dhalmel_steak.lua | 18 | 1376 | -----------------------------------------
-- ID: 4438
-- Item: dhalmel_steak
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Strength 4
-- Intelligence -1
-- Attack % 25
-- Attack Cap 45
-----------------------------------------
require("scripts/globals/status");
-----------------------... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Heavens_Tower/npcs/_6q2.lua | 2 | 2698 | -----------------------------------
-- Area: Heaven's Tower
-- NPC: Vestal Chamber (chamber of the Star Sibyl)
-- @pos 0 -49 37 242
-----------------------------------
package.loaded["scripts/zones/Heavens_Tower/TextIDs"] = nil;
package.loaded["scripts/globals/missions"] = nil;
-----------------------------------
req... | gpl-3.0 |
waytim/darkstar | scripts/globals/items/holy_maul_+1.lua | 41 | 1077 | -----------------------------------------
-- ID: 17114
-- Item: Holy Maul +1
-- Additional Effect: Light Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
------------------------------... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/North_Gustaberg/npcs/Hunting_Bear.lua | 4 | 2294 | -----------------------------------
-- Area: North Gustaberg
-- NPC: Hunting Bear
-- Type: NPC Quest
-- Involved in Quest: The Gustaberg Tour
-- @zone: 106
-- @pos: -232.415 40.465 426.495
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/... | gpl-3.0 |
waytim/darkstar | scripts/zones/Abyssea-Tahrongi/npcs/qm20.lua | 17 | 1888 | -----------------------------------
-- Zone: Abyssea-Tahrongi
-- NPC: ???
-- Spawns: Glavoid
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/keyitems");
-----------------------------------
-- onTrigger Action
-----------------------------------
function onTrigger(play... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Sacrarium/npcs/qm2.lua | 2 | 1356 | -----------------------------------
-- ???
-- Area: Sacrarium
-----------------------------------
package.loaded["scripts/zones/Sacrarium/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Sacrarium/TextIDs");
require("scripts/globals/keyitems");
-----------------------------------
-- onTrigge... | gpl-3.0 |
TienHP/Aquaria | files/scripts/entities/sporechildflower.lua | 6 | 1138 | -- 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/Windurst_Waters_[S]/npcs/Miah_Riyuh.lua | 2 | 1045 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Miah Riyuh
-- Type: Standard NPC
-- @zone: 94
-- @pos: 5.323 -2 37.462
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
----... | gpl-3.0 |
waytim/darkstar | scripts/zones/Konschtat_Highlands/npcs/qm2.lua | 13 | 1465 | -----------------------------------
-- Area: Konschtat Highlands
-- NPC: qm2 (???)
-- Involved in Quest: Forge Your Destiny
-- @pos -709 2 102 108
-----------------------------------
package.loaded["scripts/zones/Konschtat_Highlands/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests"... | gpl-3.0 |
niegenug/wesnoth | data/campaigns/tutorial/lua/character_selection.lua | 22 | 2203 | -- #textdomain wesnoth-tutorial
-- Allows the player to choose whether they want to play Konrad or Li’sar
-- for the tutorial
local helper = wesnoth.require "lua/helper.lua"
local T = helper.set_wml_tag_metatable {}
local wml_actions = wesnoth.wml_actions
local _ = wesnoth.textdomain "wesnoth-tutorial"
function wml_... | gpl-2.0 |
waytim/darkstar | scripts/globals/spells/paralyga.lua | 21 | 1694 | -----------------------------------------
-- Spell: Paralyze
-- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and MND.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpell... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.