repo_name
stringlengths
6
78
path
stringlengths
4
206
copies
stringclasses
281 values
size
stringlengths
4
7
content
stringlengths
625
1.05M
license
stringclasses
15 values
A-N-bot/super10
plugins/invite.lua
393
1225
do local function callbackres(extra, success, result) -- Callback for res_user in line 27 local user = 'user#id'..result.id local chat = 'chat#id'..extra.chatid if is_banned(result.id, extra.chatid) then -- Ignore bans send_large_msg(chat, 'User is banned.') elseif is_gbanned(result.id) then -- I...
gpl-2.0
kianooshnoori/teleexitbot
plugins/invite.lua
393
1225
do local function callbackres(extra, success, result) -- Callback for res_user in line 27 local user = 'user#id'..result.id local chat = 'chat#id'..extra.chatid if is_banned(result.id, extra.chatid) then -- Ignore bans send_large_msg(chat, 'User is banned.') elseif is_gbanned(result.id) then -- I...
gpl-2.0
robertbrook/Penlight
tests/test-list.lua
8
1658
local List = require 'pl.List' local class = require 'pl.class' local test = require 'pl.test' local asserteq, T = test.asserteq, test.tuple -- note that a _plain table_ is made directly into a list local t = {10,20,30} local ls = List(t) asserteq(t,ls) -- you may derive classes from pl.List, and the result...
mit
MalRD/darkstar
scripts/zones/PsoXja/Zone.lua
9
3707
----------------------------------- -- -- Zone: PsoXja (9) -- ----------------------------------- local ID = require("scripts/zones/PsoXja/IDs"); require("scripts/globals/conquest"); require("scripts/globals/missions"); require("scripts/globals/settings"); require("scripts/globals/treasure") require("scripts/globals/st...
gpl-3.0
cshore-firmware/openwrt-luci
libs/luci-lib-nixio/docsrc/nixio.fs.lua
156
7907
--- Low-level and high-level filesystem manipulation library. module "nixio.fs" --- Check user's permission on a file. -- @class function -- @name nixio.fs.access -- @param path Path -- @param mode1 First Mode to check ["f", "r", "w", "x"] -- @param ... More Modes to check [-"-] -- @return true --- Strip the dire...
apache-2.0
Lsty/ygopro-scripts
c47929865.lua
9
1333
--マジドッグ function c47929865.initial_effect(c) --draw local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(47929865,0)) e1:SetCategory(CATEGORY_TOHAND) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_BE_MATERIAL) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DELAY) e1:SetCondi...
gpl-2.0
Lsty/ygopro-scripts
c47297616.lua
3
3659
--光と闇の竜 function c47297616.initial_effect(c) --cannot special summon 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(aux.FALSE) c:RegisterEffect(e1) --Attribute Dark local e2=Effec...
gpl-2.0
Lsty/ygopro-scripts
c1003028.lua
5
1087
--トラブル・ダイバー function c1003028.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetRange(LOCATION_HAND) e1:SetCountLimit(1,1003028) e1:SetCondition(c1003028.spcon) c:RegisterEffect(e1) --x...
gpl-2.0
Lsty/ygopro-scripts
c19357125.lua
3
1736
--ダーク・アサシン function c19357125.initial_effect(c) --destroy local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_UPDATE_ATTACK) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e1:SetRange(LOCATION_MZONE) e1:SetValue(c19357125.atkval) c:RegisterEffect(e1) --destroy local e2=Effect.CreateEffe...
gpl-2.0
Lsty/ygopro-scripts
c39507162.lua
9
1315
--ブレイドナイト function c39507162.initial_effect(c) --atk up local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e1:SetRange(LOCATION_MZONE) e1:SetCode(EFFECT_UPDATE_ATTACK) e1:SetValue(400) e1:SetCondition(c39507162.atkcon) c:RegisterEffect(e1) --disable local ...
gpl-2.0
MalRD/darkstar
scripts/zones/Cloister_of_Frost/bcnms/trial_by_ice.lua
9
1498
----------------------------------- -- Area: Cloister of Frost -- BCNM: Trial by Ice ----------------------------------- local ID = require("scripts/zones/Cloister_of_Frost/IDs") require("scripts/globals/battlefield") require("scripts/globals/keyitems") require("scripts/globals/quests") require("scripts/globals/titles"...
gpl-3.0
qaheri/AASv2
bot/utils.lua
6
32498
URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" serpent = (loadfile "./libs/serpent.lua")() feedparser = (loadfile "./libs/feedparser.lua")() json = (loadfile "./libs/JSON.lua")() mimetype = (loadfile "./libs/mimetype.lua")() redis = (loadfile "./libs/redis.l...
gpl-2.0
MalRD/darkstar
scripts/mixins/families/maat.lua
9
4425
require("scripts/globals/mixins") require("scripts/globals/status") g_mixins = g_mixins or {} g_mixins.maat = function(mob) mob:addListener("SPAWN", "JOB_SPECIAL_SPAWN", function(mob) if (mob:getMainJob() == dsp.job.NIN) then mob:setLocalVar("specialThreshold", 40) elseif (mob:getMai...
gpl-3.0
usi-systems/p4paxos
scripts/paxos.lua
1
1669
-- create paxos protocol and its fields p_paxos = Proto ("paxos","Paxos Protocol") local f_msgtype = ProtoField.uint16("paxos.msgtype", "MsgType", base.HEX) local f_instance = ProtoField.uint32("paxos.instance", "Instance", base.HEX) local f_round = ProtoField.uint16("paxos.round", "Round", base.HEX) local f_vround = P...
apache-2.0
Lsty/ygopro-scripts
c27762803.lua
3
1024
--ナチュル・ビートル function c27762803.initial_effect(c) --ad change local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e1:SetRange(LOCATION_MZONE) e1:SetCode(EVENT_CHAIN_SOLVED) e1:SetOperation(c27762803.adop) c:RegisterEffect(e1) local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYP...
gpl-2.0
Lsty/ygopro-scripts
c56105047.lua
3
1462
--ゴゴゴゴースト function c56105047.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(56105047,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_...
gpl-2.0
Lsty/ygopro-scripts
c40529384.lua
9
1212
--エクスプロード・ウィング・ドラゴン function c40529384.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,nil,aux.NonTuner(Card.IsRace,RACE_DRAGON),1) c:EnableReviveLimit() --destroy local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(40529384,0)) e1:SetCategory(CATEGORY_DESTROY+CATEGORY_DAMAGE) e1:SetType...
gpl-2.0
Lsty/ygopro-scripts
c65026212.lua
3
3423
--コアキメイル・マキシマム function c65026212.initial_effect(c) c:EnableReviveLimit() --cost local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE+EFFECT_FLAG_CANNOT_DISABLE) e1:SetCode(EVENT_PHASE+PHASE_END) e1:SetCountLimit(1) e1:SetRange(LOCATION_MZONE...
gpl-2.0
Lsty/ygopro-scripts
c17490535.lua
3
1436
--エーリアン・ブレイン function c17490535.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_CONTROL) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_BATTLE_DESTROYED) e1:SetCondition(c17490535.condition) e1:SetTarget(c17490535.target) e1:SetOperation(c17490535.activate) c:RegisterEff...
gpl-2.0
todotodoo/skia
tools/lua/scrape_dashing_full.lua
159
4610
local canvas -- holds the current canvas (from startcanvas()) --[[ startcanvas() is called at the start of each picture file, passing the canvas that we will be drawing into, and the name of the file. Following this call, there will be some number of calls to accumulate(t) where t is a tabl...
bsd-3-clause
cshore-firmware/openwrt-luci
applications/luci-app-ocserv/luasrc/model/cbi/ocserv/users.lua
40
2110
-- Copyright 2014 Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com> -- Licensed to the public under the Apache License 2.0. local dsp = require "luci.dispatcher" local nixio = require "nixio" m = Map("ocserv", translate("OpenConnect VPN")) if m.uci:get("ocserv", "config", "auth") == "plain" then --[[Users]]-...
apache-2.0
MalRD/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Ratihb.lua
9
1796
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Ratihb -- Standard Info NPC -- !pos 75.225 -6.000 -137.203 50 ----------------------------------- require("scripts/globals/keyitems") require("scripts/globals/npc_util") require("scripts/globals/settings") require("scripts/globals/quests") -----...
gpl-3.0
Lsty/ygopro-scripts
c57784563.lua
5
2689
--闇魔界の戦士長 ダークソード function c57784563.initial_effect(c) --equip local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(57784563,0)) e1:SetCategory(CATEGORY_EQUIP) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1) e1:SetCondition(c5778...
gpl-2.0
Lsty/ygopro-scripts
c86532744.lua
3
2079
--SNo.39 希望皇ホープONE function c86532744.initial_effect(c) --xyz summon c:EnableReviveLimit() aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsAttribute,ATTRIBUTE_LIGHT),4,3,c86532744.ovfilter,aux.Stringid(86532744,1)) --destroy local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY+CATEGORY_DAMAGE) e1:...
gpl-2.0
MalRD/darkstar
scripts/globals/items/cobalt_jellyfish.lua
11
1053
----------------------------------------- -- ID: 4443 -- Item: cobalt_jellyfish -- Food Effect: 5 Min, Mithra only ----------------------------------------- -- Dexterity 1 -- Mind -3 ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") ------------------------------...
gpl-3.0
MalRD/darkstar
scripts/zones/Chateau_dOraguille/npcs/Rahal.lua
9
5767
----------------------------------- -- Area: Chateau d'Oraguille -- NPC: Rahal -- Involved in Quests: The Holy Crest, Lure of the Wildcat (San d'Oria) -- !pos -28 0.1 -6 233 ----------------------------------- require("scripts/globals/status"); require("scripts/globals/keyitems"); require("scripts/globals/quests"); lo...
gpl-3.0
gallenmu/MoonGen
interface/threads/count.lua
4
2174
local memory = require "memory" local mg = require "moongen" local timer = require "timer" local stats = require "stats" local Flow = require "flow" local thread = { flows = {} } function thread.prepare(flows, devices) for _,flow in ipairs(flows) do for _,rx in ipairs(flow:property "rx") do table.ins...
mit
Lsty/ygopro-scripts
c82386016.lua
9
1757
--烏合の行進 function c82386016.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DRAW) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCost(c82386016.cost) e1:SetTarget(c82386016.target) e1:SetOperation(c82386016.activ...
gpl-2.0
kevinlowrie/wrk
deps/luajit/src/jit/dis_mips.lua
88
13222
---------------------------------------------------------------------------- -- LuaJIT MIPS disassembler module. -- -- Copyright (C) 2005-2015 Mike Pall. All rights reserved. -- Released under the MIT/X license. See Copyright Notice in luajit.h ---------------------------------------------------------------------------...
apache-2.0
minimumcut/UnnamedEngine
UnnamedEngine/Vendor/bullet/test/SharedMemory/premake4.lua
2
12540
project ("Test_SharedMemoryPhysicsClient") language "C++" kind "ConsoleApp" includedirs {"../../src", "../../examples"} links { "BulletFileLoader", "Bullet3Common", "LinearMath" } defines {"PHYSICS_SHARED_MEMORY"} files { "test.c", "../../examples/SharedMemory/PhysicsClient.cpp", ...
mit
MalRD/darkstar
scripts/zones/Monarch_Linn/mobs/Mammet-19_Epsilon.lua
9
2256
----------------------------------- -- Area: Monarch Linn -- Mob: Mammet-19 Epsilon ----------------------------------- require("scripts/globals/status"); ----------------------------------- function onMobSpawn(mob) mob:SetMagicCastingEnabled(false); end; function onMobFight(mob,target) local form = mob:Anim...
gpl-3.0
Lsty/ygopro-scripts
c9047460.lua
5
3471
--BF-隠れ蓑のスチーム function c9047460.initial_effect(c) --token local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(9047460,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOKEN) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetCode(EVENT_LEAVE_FIELD) e1:SetCondition(c9047460.tkcon) e1:SetTar...
gpl-2.0
Lsty/ygopro-scripts
c95204084.lua
3
1377
--コアキメイル・トルネード function c95204084.initial_effect(c) --destroy local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(95204084,0)) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCost(c95204084.cost) e1:SetTarget(c95204084.target) e1:SetOperation(c9520...
gpl-2.0
Frenzie/koreader
spec/unit/uimanager_spec.lua
1
16982
describe("UIManager spec", function() local time, UIManager local now, wait_until local noop = function() end setup(function() require("commonrequire") time = require("ui/time") UIManager = require("ui/uimanager") end) it("should consume due tasks", function() n...
agpl-3.0
Lsty/ygopro-scripts
c17655904.lua
3
1700
--滅びの爆裂疾風弾 function c17655904.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCondition(c17655904.condition) e1:SetCost(c17655904.cost) e1:SetTarget(c17655904.target) e1:SetOperation(c17655904.acti...
gpl-2.0
Lsty/ygopro-scripts
c37955049.lua
5
1576
--軍神ガープ function c37955049.initial_effect(c) --Pos Change local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SET_POSITION) e1:SetProperty(EFFECT_FLAG_SET_AVAILABLE) e1:SetRange(LOCATION_MZONE) e1:SetTargetRange(LOCATION_MZONE,LOCATION_MZONE) e1:SetValue(POS_FACEUP_ATTACK+NO_FLIP_EFF...
gpl-2.0
Tetpay/cjdns
contrib/lua/cjdns/udp.lua
52
2682
-- Cjdns admin module for Lua -- Written by Philip Horger common = require 'cjdns/common' UDPInterface = {} UDPInterface.__index = UDPInterface common.UDPInterface = UDPInterface function UDPInterface.new(ai, config, ptype) properties = { ai = ai, config = config or ai.config, ptype ...
gpl-3.0
cshore-firmware/openwrt-luci
applications/luci-app-samba/luasrc/model/cbi/samba.lua
56
2389
-- 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. m = Map("samba", translate("Network Shares")) s = m:section(TypedSection, "samba", "Samba") s.anonymous = true s:tab("general", translate("General Settings"...
apache-2.0
MalRD/darkstar
scripts/globals/mobskills/benthic_typhoon.lua
11
1097
--------------------------------------------- -- Benthic Typhoon -- -- Description: Delivers an area attack that lowers target's defense and magic defense. Damage varies with TP. -- Type: Physical (Piercing) -- -- --------------------------------------------- require("scripts/globals/settings") require("scripts/glob...
gpl-3.0
MalRD/darkstar
scripts/zones/Castle_Oztroja_[S]/Zone.lua
11
1789
----------------------------------- -- -- Zone: Castle_Oztroja_[S] (99) -- ----------------------------------- local ID = require("scripts/zones/Castle_Oztroja_[S]/IDs") ----------------------------------- function onInitialize(zone) UpdateNMSpawnPoint(ID.mob.DUU_MASA_THE_ONECUT) GetMobByID(ID.mob.DUU_MASA_THE...
gpl-3.0
Lsty/ygopro-scripts
c76067258.lua
3
2708
--No.66 覇鍵甲虫マスター・キー・ビートル function c76067258.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsAttribute,ATTRIBUTE_DARK),4,2) c:EnableReviveLimit() --target local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(76067258,0)) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetT...
gpl-2.0
MalRD/darkstar
scripts/globals/mobskills/bloody_claw.lua
11
1255
--------------------------------------------- -- Bloody Claw -- Family: Gargouille -- Description: Steals an enemy's HP. Additional effect: Reduces a random stat. -- Type: Physical -- Utsusemi/Blink absorb: Ignores shadows -- Range: Melee -- Notes: Despite the attack ignoring Utsusemi, it is physical, and therefore cap...
gpl-3.0
adan830/luacheck
spec/utils_spec.lua
4
6263
local utils = require "luacheck.utils" describe("utils", function() describe("read_file", function() it("returns contents of a file", function() assert.equal("contents\n", utils.read_file("spec/folder/foo")) end) it("removes UTF-8 BOM", function() assert.equal("foo\nbar\n", util...
mit
Lsty/ygopro-scripts
c98434877.lua
3
1130
--水魔神-スーガ function c98434877.initial_effect(c) --atkdown local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(98434877,0)) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_QUICK_O) e1:SetRange(LOCATION_MZONE) e1:SetCode(EVENT_PRE_DAMAGE_CALCULATE) e1:SetProperty(EFFECT_FLAG_...
gpl-2.0
davisdude/vim-love-docs
src/syntax/love-conf/main.lua
1
1456
-- Generate syntax matching for love.conf -- TODO: -- - Allow support for variant love.conf = function() -- (may not work because lua function overrides?) local api = require 'love-api.love_api' local originalconfstr = 'syntax match loveconf "' local confstr = originalconfstr local function extractData( tab, in...
mit
mikhail-angelov/vlc
share/lua/sd/fmc.lua
122
2554
--[[ $Id$ Copyright © 2010 VideoLAN and AUTHORS Authors: Fabio Ritrovato <sephiroth87 at videolan dot org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or ...
gpl-2.0
Lsty/ygopro-scripts
c72278479.lua
9
1363
--ブラック・リターン function c72278479.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_RECOVER) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetCondition(c72278479.condition) e1:SetTarget(c72278479.tar...
gpl-2.0
MalRD/darkstar
scripts/zones/Leujaoam_Sanctum/IDs.lua
12
5637
----------------------------------- -- Area: Leujaoam_Sanctum ----------------------------------- require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.LEUJAOAM_SANCTUM] = { text = { ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item>. Come b...
gpl-3.0
Lsty/ygopro-scripts
c19578592.lua
7
2411
--愚鈍の斧 function c19578592.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_EQUIP) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetTarget(c19578592.target) e1:SetOperation(c19578592.operation) c:RegisterEffect(e1) -...
gpl-2.0
ThingMesh/openwrt-luci
protocols/ppp/luasrc/model/cbi/admin_network/proto_pppoa.lua
58
4064
--[[ LuCI - Lua Configuration Interface Copyright 2011 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 ]]-- local ma...
apache-2.0
MalRD/darkstar
scripts/zones/Mhaura/npcs/Orlando.lua
9
3126
----------------------------------- -- Area: Mhaura -- NPC: Orlando -- Type: Standard NPC -- !pos -37.268 -9 58.047 249 ----------------------------------- local ID = require("scripts/zones/Mhaura/IDs"); require("scripts/globals/keyitems"); require("scripts/globals/settings"); require("scripts/globals/quests"); ------...
gpl-3.0
mikhail-angelov/vlc
share/lua/playlist/googlevideo.lua
113
2746
--[[ $Id$ Copyright © 2007 the VideoLAN team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distribut...
gpl-2.0
MalRD/darkstar
scripts/globals/mobskills/pandemic_nip.lua
11
1066
--------------------------------------------- -- Pandemic Nip -- -- Description: Single target damage and transfers up to five current enfeebles to target player. -- Type: Physical? -- Utsusemi/Blink absorb: 1 shadow? -- Range: Melee -- Notes: Transfers debuffs to the target player (maximum 5). Includes Dancer's ...
gpl-3.0
MalRD/darkstar
scripts/zones/Maze_of_Shakhrami/npcs/Fossil_Rock.lua
9
2197
----------------------------------- -- Area: Maze of Shakhrami -- NPC: Fossil Rock -- Used in Mission: Windurst Mission 2-1 -- !pos 17 18 184 198 + <many pos> ----------------------------------- local ID = require("scripts/zones/Maze_of_Shakhrami/IDs") require("scripts/globals/keyitems") require("scripts/globals/missi...
gpl-3.0
Lsty/ygopro-scripts
c43751755.lua
6
1479
--C・パンテール function c43751755.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(43751755,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCondition(c43751755.spcon) e1:SetCost(c43751755.spcost) e1:SetTarget(c...
gpl-2.0
Lsty/ygopro-scripts
c85852291.lua
7
1033
--打ち出の小槌 function c85852291.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TODECK+CATEGORY_DRAW) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c85852291.target) e1:SetOperation(c85852291.activate) c:Reg...
gpl-2.0
sagarwaghmare69/nn
VolumetricDilatedConvolution.lua
9
3018
local THNN = require 'nn.THNN' local VolumetricDilatedConvolution, parent = torch.class('nn.VolumetricDilatedConvolution', 'nn.VolumetricConvolution') function VolumetricDilatedConvolution:__init(nInputPlane, nOutputPlane, kT, kW, kH, dT, dW, dH, padT, padW, padH, dilationT, dilationW, dilationH) parent.__init(self...
bsd-3-clause
MalRD/darkstar
scripts/globals/items/serving_of_shallops_tropicale.lua
11
1262
----------------------------------------- -- ID: 4554 -- Item: serving_of_shallops_tropicale -- Food Effect: 180Min, All Races ----------------------------------------- -- Magic 20 -- Dexterity 1 -- Vitality 4 -- Intelligence 1 -- Defense % 25 -- Defense Cap 100 ----------------------------------------- require("script...
gpl-3.0
MalRD/darkstar
scripts/globals/spells/dokumori_ni.lua
12
1439
----------------------------------------- -- Spell: Dokumori: Ni ----------------------------------------- require("scripts/globals/status") require("scripts/globals/magic") require("scripts/globals/msg") ----------------------------------------- function onMagicCastingCheck(caster,target,spell) return 0 end func...
gpl-3.0
Lsty/ygopro-scripts
c12216615.lua
3
1093
--コアキメイルの障壁 function c12216615.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_ATTACK_ANNOUNCE) e1:SetCondition(c12216615.condition) e1:SetTarget(c12216615.target) e1:SetOperation(c12216615.activate) c:RegisterEffec...
gpl-2.0
Lsty/ygopro-scripts
c48370501.lua
9
1439
--ヴァイロン・シグマ function c48370501.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsAttribute,ATTRIBUTE_LIGHT),aux.NonTuner(Card.IsAttribute,ATTRIBUTE_LIGHT),1) c:EnableReviveLimit() --equip local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(48370501,0)) e1:SetCa...
gpl-2.0
MalRD/darkstar
scripts/globals/abilities/pets/attachments/tactical_processor.lua
11
1089
----------------------------------- -- Attachment: Tactical Processor -- Not enough information to accurately recreate! -- Also, not implemented, increased tendency to overload prior to 2015! ----------------------------------- require("scripts/globals/status") ----------------------------------- function onEquip(pet)...
gpl-3.0
Frenzie/koreader
frontend/ui/widget/bboxwidget.lua
4
13028
--[[-- BBoxWidget shows a bbox for page cropping. ]] local InputContainer = require("ui/widget/container/inputcontainer") local Device = require("device") local Event = require("ui/event") local Geom = require("ui/geometry") local GestureRange = require("ui/gesturerange") local Math = require("optmath") local Screen =...
agpl-3.0
MalRD/darkstar
scripts/zones/Balgas_Dais/bcnms/wild_wild_whiskers.lua
9
1065
----------------------------------- -- Wild Wild Whiskers -- Balga's Dais BCNM60, Moon Orb -- !additem 1130 ----------------------------------- require("scripts/globals/battlefield") ----------------------------------- function onBattlefieldInitialise(battlefield) battlefield:setLocalVar("loot", 1) end function o...
gpl-3.0
gallenmu/MoonGen
libmoon/lua/lib/turbo/turbo/log.lua
11
12119
--- Turbo.lua Log module -- A simple log writer implementation with different levels and standard -- formatting. Messages written is appended to level and timestamp. You -- can turn off unwanted categories by modifiying the table at log.categories. -- -- For messages shorter than 4096 bytes a static buffer is used to -...
mit
Lsty/ygopro-scripts
c62835876.lua
3
1461
--善悪の彼岸 function c62835876.initial_effect(c) aux.AddRitualProcGreater(c,aux.FilterBoolFunction(Card.IsCode,35330871)) --search local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_GRAVE) e1:SetCountLimit(1,62835876) e1:SetCondition...
gpl-2.0
tryroach/vlc
share/lua/sd/librivox.lua
108
3015
--[[ $Id$ Copyright © 2010 VideoLAN and AUTHORS Authors: Rémi Duraffort <ivoire at videolan dot org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at ...
gpl-2.0
Distrotech/vlc
share/lua/sd/librivox.lua
108
3015
--[[ $Id$ Copyright © 2010 VideoLAN and AUTHORS Authors: Rémi Duraffort <ivoire at videolan dot org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at ...
gpl-2.0
Distrotech/vlc
share/lua/intf/luac.lua
116
2333
--[==========================================================================[ luac.lua: lua compilation module for VLC (duplicates luac) --[==========================================================================[ Copyright (C) 2010 Antoine Cellerier $Id$ Authors: Antoine Cellerier <dionoea at videolan dot org>...
gpl-2.0
mati865/vlc
share/lua/intf/luac.lua
116
2333
--[==========================================================================[ luac.lua: lua compilation module for VLC (duplicates luac) --[==========================================================================[ Copyright (C) 2010 Antoine Cellerier $Id$ Authors: Antoine Cellerier <dionoea at videolan dot org>...
gpl-2.0
Lsty/ygopro-scripts
c88753985.lua
3
1446
--きつね火 function c88753985.initial_effect(c) --register local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) e1:SetCode(EVENT_BATTLE_DESTROYED) e1:SetOperation(c88753985.regop) c:RegisterEffect(e1) local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_SINGLE) e2:SetProperty(EFF...
gpl-2.0
Lsty/ygopro-scripts
c13478040.lua
3
1626
--ドングリス function c13478040.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e1:SetRange(LOCATION_MZONE) e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetOperation(c13478040.ctop) c:RegisterEffect(e1) --destroy local e2=Effect.CreateEffect(c) e2:SetDescr...
gpl-2.0
MalRD/darkstar
scripts/zones/Abyssea-Attohwa/IDs.lua
12
5676
----------------------------------- -- Area: Abyssea-Attohwa ----------------------------------- require("scripts/globals/keyitems") require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.ABYSSEA_ATTOHWA] = { text = { ITEM_CANNOT_BE_OBTAINED = 6382, -- Y...
gpl-3.0
MalRD/darkstar
scripts/globals/mobskills/dark_mist.lua
11
1146
--------------------------------------------- -- Dark Mist -- Family: Gargouille -- Description: Deals dark damage to an enemy. Additional effect: Weight -- Type: Magical (dark) -- Utsusemi/Blink absorb: Ignores shadows -- Range: Radial -- Notes: Only used when flying --------------------------------------------...
gpl-3.0
mohammad25253/new43
plugins/anti_spam.lua
923
3750
--An empty table for solving multiple kicking problem(thanks to @topkecleon ) kicktable = {} do local TIME_CHECK = 2 -- seconds local data = load_data(_config.moderation.data) -- Save stats, ban user local function pre_process(msg) -- Ignore service msg if msg.service then return msg end if msg.from.id =...
gpl-2.0
MalRD/darkstar
scripts/zones/La_Theine_Plateau/npcs/Laurisse.lua
9
1260
----------------------------------- -- Area: La Theine Plateau -- NPC: Laurisse -- Involved in Mission: The Rescue Drill -- !pos -292 28 143 102 ----------------------------------- require("scripts/globals/missions"); local ID = require("scripts/zones/La_Theine_Plateau/IDs"); ----------------------------------- funct...
gpl-3.0
MalRD/darkstar
scripts/globals/effects/dark_arts.lua
24
1812
----------------------------------- -- -- -- ----------------------------------- function onEffectGain(target,effect) target:recalculateAbilitiesTable() local bonus = effect:getPower() local helix = effect:getSubPower() target:addMod(dsp.mod.BLACK_MAGIC_COST, -bonus) target:addMod(dsp.mod.BLACK_MA...
gpl-3.0
Frenzie/koreader
frontend/ui/data/keyboardlayouts/bg_keyboard.lua
6
4404
return { min_layer = 1, max_layer = 8, shiftmode_keys = {[""] = true, ["1/2"] = true, ["2/2"] = true}, symbolmode_keys = {["123"] = true, ["АБВ"] = true}, utf8mode_keys = {["🌐"] = true}, umlautmode_keys = {["БДС"] = true}, -- switch between phonetic and BDS, default is phonetic keys = { ...
agpl-3.0
maxrio/luci981213
modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/system.lua
47
5384
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local sys = require "luci.sys" local zones = require "luci.sys.zoneinfo" local fs = require "nixio.fs" local conf = require "luci.config" local m, s, o ...
apache-2.0
ThingMesh/openwrt-luci
modules/niu/luasrc/model/cbi/niu/wireless/brdevice.lua
51
1132
--[[ LuCI - Lua Configuration Interface Copyright 2009 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- loca...
apache-2.0
MalRD/darkstar
scripts/globals/items/cathedral_salad.lua
11
1260
----------------------------------------- -- ID: 5679 -- Item: cathedral_salad -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- MP 15% Cap 90 -- Agility 7 -- Mind 7 -- Strength -5 -- Vitality -5 -- Ranged Accuracy +17 ----------------------------------------- require("scripts/globals/status...
gpl-3.0
MalRD/darkstar
scripts/zones/Mamook/mobs/Chamrosh.lua
9
2161
----------------------------------- -- Area: Mamook -- ZNM: Chamrosh (Tier-1 ZNM) -- Does not use normal colibri mimic mechanics, changes form every -- 2.5 mins. st form mimics all spells 2nd form cast spells from list only ----------------------------------- mixins = {require("scripts/mixins/rage")} require("scripts/...
gpl-3.0
MalRD/darkstar
scripts/zones/Outer_Horutoto_Ruins/npcs/_5e5.lua
9
1421
----------------------------------- -- Area: Outer Horutoto Ruins -- NPC: Cracked Wall -- Involved In Mission: The Jester Who'd Be King -- !pos -424.255 -1.909 619.995 ----------------------------------- local ID = require("scripts/zones/Outer_Horutoto_Ruins/IDs") require("scripts/globals/keyitems") require("scripts/g...
gpl-3.0
Lsty/ygopro-scripts
c18631392.lua
3
3204
--マアト function c18631392.initial_effect(c) c:EnableReviveLimit() --cannot special summon 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(aux.FALSE) c:RegisterEffect(e1) --special s...
gpl-2.0
Lsty/ygopro-scripts
c85562745.lua
5
1171
--悪夢の拷問部屋 function c85562745.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --damage local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(85562745,0)) e2:SetCategory(CATEGORY_DAMAGE) e2:SetType(EFFECT_TY...
gpl-2.0
Lsty/ygopro-scripts
c69846323.lua
5
1132
--カンツウツボ function c69846323.initial_effect(c) --atkup local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(69846323,0)) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1) e1:SetCost(c69846323.cost) e1:SetOperation(c69846323.operation) ...
gpl-2.0
Frenzie/koreader
frontend/ui/wikipedia.lua
4
60839
local JSON = require("json") local RenderImage = require("ui/renderimage") local Screen = require("device").screen local ffiutil = require("ffi/util") local lfs = require("libs/libkoreader-lfs") local logger = require("logger") local util = require("util") local _ = require("gettext") local T = ffiutil.template --[[ -...
agpl-3.0
gallenmu/MoonGen
libmoon/lua/lib/syscall/linux/syscalls.lua
2
33306
-- This is the actual system calls for Linux local require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string = require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string local abi = requ...
mit
MalRD/darkstar
scripts/zones/Apollyon/bcnms/sw_apollyon.lua
9
1308
----------------------------------- -- Area: Appolyon -- Name: SW Apollyon ----------------------------------- require("scripts/globals/limbus"); require("scripts/globals/battlefield") require("scripts/globals/keyitems"); -- After registering the BCNM via bcnmRegister(bcnmid) function onBattlefieldTick(battlefield, ti...
gpl-3.0
savonix/chimailmadmin
nx_apps_dnu/chimailmadmin/scripts/lua/acl_add.lua
1
1310
#!/usr/bin/lua --[[ <!-- Program: ChiMailMadmin.com Component: acl_add.lua Copyright: Savonix Corporation Author: Albert L. Lash, IV License: Gnu Affero Public License version 3 http://www.gnu.org/licenses This program is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General...
agpl-3.0
Lsty/ygopro-scripts
c23401839.lua
9
1039
--センジュ・ゴッド function c23401839.initial_effect(c) --effect local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(23401839,0)) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_SINGLE) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetTarget(c23401839.tg) e1:SetOperation(c2...
gpl-2.0
gallenmu/MoonGen
libmoon/lua/lib/syscall/types.lua
15
19735
-- choose correct types for OS -- these are either simple ffi types or ffi metatypes for the kernel types -- plus some Lua metatables for types that cannot be sensibly done as Lua types eg arrays, integers -- note that some types will be overridden, eg default fd type will have metamethods added local require, error...
mit
HexCodeCC/DynaCode
LuaSrcDiet.lua
7
161203
#!/usr/bin/env lua --[[-------------------------------------------------------------------- LuaSrcDiet Compresses Lua source code by removing unnecessary characters. For Lua 5.1.x source code. Copyright (c) 2008,2011,2012 Kein-Hong Man <keinhong@gmail.com> The COPYRIGHT file describes the conditions under...
mit
MalRD/darkstar
scripts/zones/Rabao/npcs/Brave_Ox.lua
12
1085
----------------------------------- -- Area: Rabao -- NPC: Brave Ox -- Standard Merchant NPC ----------------------------------- local ID = require("scripts/zones/Rabao/IDs") require("scripts/globals/shop") function onTrade(player,npc,trade) end function onTrigger(player,npc) local stock = { 4654, 7...
gpl-3.0
Lsty/ygopro-scripts
c18013090.lua
3
2759
--ニトロ・ウォリアー function c18013090.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,c18013090.tfilter,aux.NonTuner(nil),1) c:EnableReviveLimit() --atkup local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e1:SetCode(EVENT_CHAINING) e1:SetRange(LOCATION_MZONE) e1:SetOper...
gpl-2.0
Xeio/Outbid
libs/GeminiHook/GeminiHook-1.0.lua
26
13290
--- **GeminiHook-1.0** offers safe Hooking/Unhooking of functions, methods and frame scripts. -- Using GeminiHook-1.0 is recommended when you need to unhook your hooks again, so the hook chain isn't broken -- when you manually restore the original function. -- -- **GeminiHook-1.0** can be embeded into your addon, eithe...
bsd-2-clause
Lsty/ygopro-scripts
c96553688.lua
9
1294
--フェニキシアン・シード function c96553688.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(96553688,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCost(c96553688.cost) e1:SetTarget(c96553688.target) e1:SetOp...
gpl-2.0
MalRD/darkstar
scripts/zones/Windurst_Waters/npcs/Lumomo.lua
9
2644
----------------------------------- -- Area: Windurst Waters -- NPC: Lumomo -- Type: Standard NPC -- !pos -55.770 -5.499 18.914 238 -- 638 818 820 822 823 -- Auto-Script: Requires Verification (Verfied By Brawndo) ----------------------------------- local ID = require("scripts/zones/Windurst_Waters/IDs"); requir...
gpl-3.0
ThingMesh/openwrt-luci
applications/luci-asterisk/luasrc/model/cbi/asterisk/dialplans.lua
80
2807
--[[ LuCI - Lua Configuration Interface Copyright 2008 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- l...
apache-2.0
Lsty/ygopro-scripts
c25880422.lua
3
1056
--『攻撃』封じ function c25880422.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_POSITION) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c25880422.target) e1:SetOperation(c25880422.activate) c:RegisterEffect(e1...
gpl-2.0