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
Distrotech/vlc
share/lua/sd/magnatune.lua
110
1935
--[[ $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
MalRD/darkstar
scripts/zones/Riverne-Site_A01/globals.lua
12
1440
-- Zone: Riverne - Site #A01 (30) -- Desc: this file contains functions that are shared by multiple luas in this zone's directory ----------------------------------- local ID = require("scripts/zones/Riverne-Site_A01/IDs"); require("scripts/globals/npc_util"); require("scripts/globals/settings"); require("scripts/globa...
gpl-3.0
Silencer2K/wow-action-bar-profiles
GUI.lua
1
7898
local addonName, addon = ... local L = LibStub("AceLocale-3.0"):GetLocale(addonName) local frame = PaperDollActionBarProfilesPane local ACTION_BAR_PROFILE_BUTTON_HEIGHT = 44 function frame:OnInitialize() self.scrollBar.doNotHide = 1 self:SetFrameLevel(CharacterFrameInsetRight:GetFrameLevel() + 1) self...
mit
MalRD/darkstar
scripts/globals/items/plate_of_ikra_gunkan_+1.lua
11
1461
----------------------------------------- -- ID: 5220 -- Item: plate_of_ikra_gunkan_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 30 -- Magic 12 -- Dexterity 3 -- Mind -1 -- Accuracy % 18 -- Accuracy Cap 30 -- Ranged ACC % 18 -- Ranged ACC Cap 30 -------------------------------...
gpl-3.0
MalRD/darkstar
scripts/globals/items/plate_of_dulcet_panettones.lua
11
1084
----------------------------------------- -- ID: 5979 -- Item: Plate of Dulcet Panettones -- Food Effect: 240 Min, All Races ----------------------------------------- -- MP % 6 Cap 105 -- Intelligence +8 -- MP Healing +4 ----------------------------------------- require("scripts/globals/status") require("scripts/global...
gpl-3.0
Lsty/ygopro-scripts
c29417188.lua
3
1278
--サイキック・ブロッカー function c29417188.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(29417188,0)) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1) e1:SetTarget(c29417188.target) e1:SetOperation(c29417188.operation) c:RegisterEffect(e1) end...
gpl-2.0
Lsty/ygopro-scripts
c85103922.lua
3
2222
--アーティファクト-モラルタ function c85103922.initial_effect(c) --set local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_MONSTER_SSET) e1:SetValue(TYPE_SPELL) c:RegisterEffect(e1) --spsummon local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(85103922,0)) e2:SetCategory(CATEGORY_...
gpl-2.0
MalRD/darkstar
scripts/zones/Sacrificial_Chamber/bcnms/amphibian_assault.lua
9
1064
----------------------------------- -- Amphibian Assault -- Balga's Dais BCNM60, Moon Orb -- !additem 1130 ----------------------------------- require("scripts/globals/battlefield") ----------------------------------- function onBattlefieldInitialise(battlefield) battlefield:setLocalVar("loot", 1) end function on...
gpl-3.0
Lsty/ygopro-scripts
c33245030.lua
3
1122
--クリボール function c33245030.initial_effect(c) --pos local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_POSITION) e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetCode(EVENT_ATTACK_ANNOUNCE) e1:SetRange(LOCATION_HAND) e1:SetCondition(c33245030.condition) e1:SetCost(c33245030.cost) e1:SetTarget(c33245030.target) e1:Se...
gpl-2.0
robertbrook/Penlight
tests/test-class.lua
5
1635
require 'pl' asserteq = test.asserteq T = test.tuple A = class() function A:_init () self.a = 1 end -- calling base class' ctor automatically A1 = class(A) asserteq(A1(),{a=1}) -- explicitly calling base ctor with super B = class(A) function B:_init () self:super() self.b = 2 end function B:foo () ...
mit
Lsty/ygopro-scripts
c598988.lua
5
3260
--Sin レインボー・ドラゴン function c598988.initial_effect(c) c:EnableReviveLimit() --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:SetCondition(c598988.spcon) e1:SetOperation(c598988.spop...
gpl-2.0
MalRD/darkstar
scripts/zones/Windurst_Woods/npcs/Tapoh_Lihzeh.lua
9
3137
----------------------------------- -- Area: Windurst Woods -- NPC: Tapoh Lihzeh -- Starts & Finishes Repeatable Quest: Paying Lip Service ----------------------------------- local ID = require("scripts/zones/Windurst_Woods/IDs") require("scripts/globals/npc_util") require("scripts/globals/settings") require("scripts/...
gpl-3.0
CommandPost/CommandPost-App
extensions/mjomatic/mjomatic.lua
6
4687
--- === hs.mjomatic === --- --- tmuxomatic-like window management local mjomatic = {} local alert = require 'hs.alert' local application = require 'hs.application' local screen = require 'hs.screen' local gridh local gridw local function resizetogrid(window, coords) -- alert.show(string.format('move window %q t...
mit
MalRD/darkstar
scripts/globals/abilities/haste_samba.lua
12
1328
----------------------------------- -- Ability: Haste Samba -- Inflicts the next target you strike with Haste daze, increasing the attack speed of all those engaged in battle with it. -- Obtained: Dancer Level 45 -- TP Cost: 35% -- Recast Time: 1:00 -- Duration: 1:30 ----------------------------------- require("scripts...
gpl-3.0
MalRD/darkstar
scripts/zones/Cloister_of_Tremors/IDs.lua
12
1195
----------------------------------- -- Area: Cloister_of_Tremors ----------------------------------- require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.CLOISTER_OF_TREMORS] = { text = { ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain th...
gpl-3.0
WarGamingKO/WarGamingKO
Build/GameServer/Quests/14410_Chef.lua
3
1636
local UserClass; local QuestNum; local Ret = 0; local NPC = 14410; if EVENT == 190 then QuestNum = SearchQuest(UID, NPC); if QuestNum == 0 then SelectMsg(UID, 2, -1, 3000, NPC, 10, 193); Ret = 1; elseif QuestNum > 1 and QuestNum < 100 then NpcMsg(UID, 192, NPC) else EVENT = QuestN...
gpl-2.0
mikhail-angelov/vlc
share/lua/playlist/youtube_homepage.lua
113
1897
--[[ Parse YouTube homepage and browse pages. Next step is to recode firefox in VLC ... using Lua of course ;) $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 F...
gpl-2.0
nmabhi/Webface
batch-represent/opts.lua
13
1175
local M = { } -- http://stackoverflow.com/questions/6380820/get-containing-path-of-lua-file function script_path() local str = debug.getinfo(2, "S").source:sub(2) return str:match("(.*/)") end function M.parse(arg) local cmd = torch.CmdLine() cmd:text() cmd:text('OpenFace') cmd:text() cmd:text('O...
apache-2.0
lukkadd/pong-LOVE2D
push.lua
1
7676
-- push.lua v0.2 -- Copyright (c) 2017 Ulysse Ramage -- 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, pu...
mit
Lsty/ygopro-scripts
c58990631.lua
3
2281
--オートマチック・レーザー function c58990631.initial_effect(c) --Activate(summon) local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetCost(c58990631.cost) e1:SetTarget(c58990631.target) e1:SetOperation(c58990631.activate) c:RegisterEffec...
gpl-2.0
Lsty/ygopro-scripts
c71829750.lua
3
1133
--ナーガ function c71829750.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(71829750,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetProperty(EFFECT_FLAG_NAGA) e1:SetCode(EVENT_TO_DECK) e1:SetCondition(c7182975...
gpl-2.0
Nuthen/ludum-dare-39
libs/signal.lua
8
2755
--[[ Copyright (c) 2012-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...
mit
gallenmu/MoonGen
libmoon/lua/lib/pf/quickcheck.lua
26
3922
module(...,package.seeall) local utils = require('pf.utils') local program_name = 'pflua-quickcheck' local seed, iterations, prop_name, prop_args, prop, prop_info -- Due to limitations of Lua 5.1, finding if a command failed is convoluted. local function find_gitrev() local fd = io.popen('git rev-parse HEAD 2>/d...
mit
Lsty/ygopro-scripts
c51549976.lua
3
1737
--ファイナル・インゼクション function c51549976.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCost(c51549976.cost) e1:SetTarget(c51549976.target) e1:SetOperation(c51549976.activate) c:RegisterEffect(e1) end f...
gpl-2.0
Lsty/ygopro-scripts
c30757396.lua
7
1976
--ブラッド・メフィスト function c30757396.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1) c:EnableReviveLimit() --damage local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(30757396,0)) e1:SetCategory(CATEGORY_DAMAGE) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e1...
gpl-2.0
T-L-N/Dev_TLN
plugins/inrealm.lua
1
36695
-- data saved to moderation.json -- check moderation plugin do local function create_group(msg) -- superuser and admins only (because sudo are always has privilege) if is_sudo(msg) or is_realm(msg) and is_admin1(msg) then local group_creator = msg.from.print_name create_group_chat (group_creator, group_na...
gpl-2.0
MalRD/darkstar
scripts/globals/items/chunk_of_homemade_cheese.lua
11
1600
----------------------------------------- -- ID: 5225 -- Item: chunk_of_homemade_cheese -- Food Effect: 30Min, All Races ----------------------------------------- -- Health 10 -- Accuracy +12% (cap 80) -- Attack +10% (cap 40) -- Ranged Accuracy +12% (cap 80) -- Ranged Attack +10% (cap 40) ------------------------------...
gpl-3.0
Lsty/ygopro-scripts
c55008284.lua
3
1675
--同姓同名同盟 function c55008284.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c55008284.target) e1:SetOperation(c55008284.activate) c:RegisterEff...
gpl-2.0
mamadkiller2/anti-spam
plugins/banhammer.lua
24
36800
local function pre_process(msg) chat = msg.chat_id_ user = msg.sender_user_id_ local function check_newmember(arg, data) test = load_data(_config.moderation.data) lock_bots = test[arg.chat_id]['settings']['lock_bots'] local hash = "gp_lang:"..arg.chat_id local lang = redis:get(hash) if data.type_.ID == "UserTy...
gpl-3.0
Lsty/ygopro-scripts
c74875003.lua
3
2198
--ラーの使徒 function c74875003.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(74875003,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetTa...
gpl-2.0
Lsty/ygopro-scripts
c37198732.lua
3
1804
--レベル・マイスター function c37198732.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCost(c37198732.cost) e1:SetTarget(c37198732.target) e1:SetOperation(c37198732.activate) c:RegisterEffect(e1) en...
gpl-2.0
neverlose1/sickmind
bot/utils.lua
54
15973
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")() http.TIMEOUT = 10 funct...
gpl-2.0
Lsty/ygopro-scripts
c61127349.lua
7
1800
--ビッグバン・シュート function c61127349.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(c61127349.target) e1:SetOperation(c61127349.operation) c:RegisterEffect(...
gpl-2.0
jmattsson/nodemcu-firmware
lua_examples/u8glib/u8g_rotation.lua
19
2694
-- *************************************************************************** -- Rotation Test -- -- This script executes the rotation features of u8glib to test their Lua -- integration. -- -- Note: It is prepared for SSD1306-based displays. Select your connectivity -- type by calling either init_i2c_display() ...
mit
Lsty/ygopro-scripts
c80204957.lua
3
1587
--借カラクリ蔵 function c80204957.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH+CATEGORY_POSITION) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c80204957.target) e1:SetOperation(c8020495...
gpl-2.0
jadarve/lluvia
lluvia/nodes/lluvia/opticalflow/flowfilter/FlowPredict.lua
1
3562
local builder = ll.class(ll.ContainerNodeBuilder) builder.name = 'lluvia/opticalflow/flowfilter/FlowPredict' builder.doc = [[ Computes a forward prediction of an optical flow field. The prediction is computed as a series of X and Y predictions using the FlowPredictX and FlowPredictY compute nodes. Based on the value...
apache-2.0
Lsty/ygopro-scripts
c54702678.lua
3
2251
--極戦機王ヴァルバロイド function c54702678.initial_effect(c) --fusion material c:EnableReviveLimit() aux.AddFusionProcFunRep(c,c54702678.ffilter,5,true) --extra attack local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_EXTRA_ATTACK) e1:SetValue(1) c:RegisterEffect(e1) --disable local e2=E...
gpl-2.0
alorgill/iiBot
modules/bj/JSON.lua
2
21218
-- -*- coding: utf-8 -*- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses/by/3.0/deed.en_US local VERSION = 20141223.14 -- versi...
gpl-2.0
Lsty/ygopro-scripts
c99590524.lua
3
1168
--狡猾な落とし穴 function c99590524.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,0x1e0) e1:SetCondition(c99590524.condition) e1:SetTarget(c99590524....
gpl-2.0
Lsty/ygopro-scripts
c38331564.lua
3
3103
--光天使セプター function c38331564.initial_effect(c) --search local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(38331564,0)) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_SINGLE) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP) e1:Set...
gpl-2.0
cshore-firmware/openwrt-luci
protocols/luci-proto-wireguard/luasrc/model/cbi/admin_network/proto_wireguard.lua
3
4039
-- Copyright 2016-2017 Dan Luedtke <mail@danrl.com> -- Licensed to the public under the Apache License 2.0. local map, section, net = ... local ifname = net:get_interface():name() local private_key, listen_port local metric, mtu, preshared_key local peers, public_key, allowed_ips, endpoint, persistent_keepalive -- ...
apache-2.0
Lsty/ygopro-scripts
c98585345.lua
3
1871
--ハネクリボー LV10 function c98585345.initial_effect(c) c:EnableReviveLimit() --cannot special summon local e1=Effect.CreateEffect(c) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_SPSUMMON_CONDITION) e1:SetValue(aux.FALSE) c:RegisterEffect(e1) --d...
gpl-2.0
Mike325/.vim
lua/plugins/snippets/all.lua
1
2150
local load_module = require('utils.helpers').load_module local ls = load_module 'luasnip' if not ls then return false end local s = ls.snippet -- local sn = ls.snippet_node -- local t = ls.text_node -- local isn = ls.indent_snippet_node -- local i = ls.insert_node -- local f = ls.function_node -- local c = ls.choi...
mit
Lsty/ygopro-scripts
c88482761.lua
3
4070
--ダイスロール・バトル function c88482761.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_ATTACK_ANNOUNCE) e1:SetCondition(c88482761.condition) e1:SetTarget(c88482761.target) e1:...
gpl-2.0
RamiLego4Game/PlatformerWorld
Engine/Tiles/Castle.lua
1
2412
--Author : Ramilego4Game - This File Is Part Of Platformer World-- --Type : Class/Tile-- Tile = class:new() function Tile:init() self.name = "Castle" self.category = "Ground" self.thumbnail = nil self.hover = "castle" self.snap = 70 end function Tile:create(marker,map) self.object = B2Object:newTile(marker.x,...
gpl-2.0
Lsty/ygopro-scripts
c64382839.lua
5
1891
--ゼータ・レティキュラント function c64382839.initial_effect(c) --token local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(64382839,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOKEN) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F) e1:SetRange(LOCATION_GRAVE) e1:SetCode(EVENT_REMOVE) e1:SetCondition(...
gpl-2.0
maxrio/luci981213
applications/luci-app-minidlna/luasrc/controller/minidlna.lua
72
1242
-- Copyright 2012 Gabor Juhos <juhosg@openwrt.org> -- Licensed to the public under the Apache License 2.0. module("luci.controller.minidlna", package.seeall) function index() if not nixio.fs.access("/etc/config/minidlna") then return end local page page = entry({"admin", "services", "minidlna"}, cbi("minidlna...
apache-2.0
cshore-firmware/openwrt-luci
applications/luci-app-minidlna/luasrc/controller/minidlna.lua
72
1242
-- Copyright 2012 Gabor Juhos <juhosg@openwrt.org> -- Licensed to the public under the Apache License 2.0. module("luci.controller.minidlna", package.seeall) function index() if not nixio.fs.access("/etc/config/minidlna") then return end local page page = entry({"admin", "services", "minidlna"}, cbi("minidlna...
apache-2.0
CommandPost/CommandPost-App
extensions/osascript/test_javascript.lua
6
2465
hs.osascript = require("hs.osascript") function testJavaScriptParseError() local js = "2 +" local status, object, descriptor = hs.osascript.javascript(js) assertFalse(status) assertIsEqual(descriptor.OSAScriptErrorBriefMessageKey, "Error on line 1: SyntaxError: Unexpected end of script") return success() end...
mit
robertbrook/Penlight
lua/pl/test.lua
26
4519
--- Useful test utilities. -- -- test.asserteq({1,2},{1,2}) -- can compare tables -- test.asserteq(1.2,1.19,0.02) -- compare FP numbers within precision -- T = test.tuple -- used for comparing multiple results -- test.asserteq(T(string.find(" me","me")),T(2,3)) -- -- Dependencies: `pl.utils`, `pl.tablex`, `...
mit
MalRD/darkstar
scripts/zones/Metalworks/npcs/Savae_E_Paleade.lua
9
2487
----------------------------------- -- Area: Metalworks -- NPC: Savae E Paleade -- Involved In Mission: Journey Abroad -- !pos 23.724 -17.39 -43.360 237 ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); local ID = require("scripts/zones/Metalworks/IDs"); ----...
gpl-3.0
MalRD/darkstar
scripts/zones/Caedarva_Mire/npcs/Runic_Portal.lua
9
1799
----------------------------------- -- Area: Caedarva Mire -- NPC: Runic Portal -- Caedarva Mire Teleporter Back to Aht Urhgan Whitegate -- !pos -264 -6 -28 79 (Dvucca) -- !pos 524 -28 -503 79 (Azouph) ----------------------------------- local ID = require("scripts/zones/Caedarva_Mire/IDs") ---------------------------...
gpl-3.0
Lsty/ygopro-scripts
c30328508.lua
3
2105
--シャドール・リザード function c30328508.initial_effect(c) --flip local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(30328508,0)) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_FLIP+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DELAY) e1:SetCountLimit(1,...
gpl-2.0
MalRD/darkstar
scripts/globals/items/maringna.lua
11
1035
----------------------------------------- -- ID: 5888 -- Item: maringna -- Food Effect: 30Min, All Races ----------------------------------------- -- HP +9% (cap 160) -- Increases rate of combat skill gains by 80% ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg")...
gpl-3.0
Lsty/ygopro-scripts
c50896944.lua
3
1061
--暗黒ブラキ function c50896944.initial_effect(c) --pos local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(50896944,0)) e1:SetCategory(CATEGORY_POSITION) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetTarget(c50896944.po...
gpl-2.0
Lsty/ygopro-scripts
c20056760.lua
3
3127
--グレイドル・スライム function c20056760.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY+CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_HAND+LOCATION_GRAVE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCountLimit(1,20056760) e1:SetTarget(c2005...
gpl-2.0
Lsty/ygopro-scripts
c60181553.lua
5
1059
--巨星のミラ function c60181553.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,nil,1,3) c:EnableReviveLimit() --destroy replace local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e1:SetCode(EFFECT_DESTROY_REPLACE) e1:SetRange(LOCATION...
gpl-2.0
MalRD/darkstar
scripts/globals/spells/wind_carol.lua
10
1545
----------------------------------------- -- Spell: Wind Carol -- Increases wind resistance for party members within the area of effect. ----------------------------------------- require("scripts/globals/status") require("scripts/globals/magic") require("scripts/globals/msg") ----------------------------------------- ...
gpl-3.0
MalRD/darkstar
scripts/globals/weaponskills/blade_retsu.lua
10
2076
----------------------------------- -- Blade Retsu -- Katana weapon skill -- Skill Level: 30 -- Delivers a two-hit attack. Paralyzes enemy. Duration of paralysis varies with TP. -- Proc rate of Paralyze seems to be based on your level in comparison to the targets level. The higher level you are compared to your target,...
gpl-3.0
MalRD/darkstar
scripts/globals/weaponskills/catastrophe.lua
10
2003
----------------------------------- -- Catastrophe -- Scythe weapon skill -- Skill Level: N/A -- Drain target's HP. Bec de Faucon/Apocalypse: Additional effect: Haste -- This weapon skill is available with the stage 5 relic Scythe Apocalypse or within Dynamis with the stage 4 Bec de Faucon. -- Also available without Af...
gpl-3.0
MalRD/darkstar
scripts/globals/items/bunch_of_wild_pamamas.lua
11
1095
----------------------------------------- -- ID: 4596 -- Item: Bunch of Wild Pamamas -- Food Effect: 30Min, All Races ----------------------------------------- -- Strength -3 -- Intelligence 1 -- Additional Effect with Opo-Opo Crown -- HP 50 -- MP 50 -- CHR 14 -- Additional Effect with Kinkobo or -- Primate Staff -- DE...
gpl-3.0
Lsty/ygopro-scripts
c464362.lua
3
2973
--デストーイ・シザー・タイガー function c464362.initial_effect(c) c:SetUniqueOnField(1,0,464362) --fusion material c:EnableReviveLimit() 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(c464362.f...
gpl-2.0
Lsty/ygopro-scripts
c72621670.lua
3
2011
--ダブルマジックアームバインド function c72621670.initial_effect(c) --activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_CONTROL) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCost(c72621670.cost) e1:SetTarget(c72621670.target) e1:SetOperation(c7262...
gpl-2.0
Lsty/ygopro-scripts
c15595052.lua
3
1615
--封魔の伝承者 function c15595052.initial_effect(c) --to defence local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(15595052,0)) e1:SetType(EFFECT_TYPE_TRIGGER_F+EFFECT_TYPE_SINGLE) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetOperation(c15595052.ancop) c:RegisterEffect(e1) local e2=e1:Clone() e2:SetCode(EVENT...
gpl-2.0
maxrio/luci981213
applications/luci-app-radvd/luasrc/model/cbi/radvd/route.lua
61
2294
-- Copyright 2010 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local sid = arg[1] local utl = require "luci.util" m = Map("radvd", translatef("Radvd - Route"), translate("Radvd is a router advertisement daemon for IPv6. " .. "It listens to router solicitations and sends...
apache-2.0
MalRD/darkstar
scripts/zones/Misareaux_Coast/npcs/_0p8.lua
9
1328
----------------------------------- -- Area: Misareaux Coast -- NPC: Iron Gate -- Entrance to Sacrarium ----------------------------------- require("scripts/globals/missions"); local ID = require("scripts/zones/Misareaux_Coast/IDs"); ----------------------------------- function onTrade(player,npc,trade) end; functi...
gpl-3.0
sarahgerweck/Ace3
tests/ChatThrottleLib-upgrade-20-current.lua
1
3499
dofile("wow_api.lua") local ORIG_SendChatMessage = _G.SendChatMessage ------------------------------------------------------------------------ -- Pull in v20 dofile("ChatThrottleLibs/ChatThrottleLib-v20.lua") local AfterV20_SendChatMessage = _G.SendChatMessage assert(AfterV20_SendChatMessage ~= ORIG_SendChatMessa...
bsd-3-clause
bn7/darkstar
scripts/zones/Northern_San_dOria/npcs/Icoua.lua
14
1051
----------------------------------- -- Area: Northern San d'Oria -- NPC: Icoua -- Type: Standard NPC -- @zone 231 -- @pos 87.719 -1 9.256 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; -------------...
gpl-3.0
bn7/darkstar
scripts/zones/Sauromugue_Champaign/npcs/qm6.lua
14
2470
----------------------------------- -- Area: Sauromugue Champaign -- NPC: qm6 (???) (Tower 6) -- Involved in Quest: THF AF "As Thick As Thieves" -- @pos 363.481 23.600 6.335 120 ----------------------------------- package.loaded["scripts/zones/Sauromugue_Champaign/TextIDs"] = nil; ----------------------------------...
gpl-3.0
XJMLN/MTA-PSZ
resources/[PSZMTA]/psz-reputacja/reputacja.lua
1
6303
--[[ reputacja: Zdobywanie respektu, zagubieni turysci @author Jakub 'XJMLN' Starzak <jack@pszmta.pl @package PSZMTA.psz-reputacja @copyright Jakub 'XJMLN' Starzak <jack@pszmta.pl> Nie mozesz uzywac tego skryptu bez mojej zgody. Napisz - byc moze sie zgodze na uzycie. ]]-- -- Za co możemy zdobyć respekt: -- * Wyko...
mit
bn7/darkstar
scripts/zones/Gusgen_Mines/npcs/Degga.lua
14
1163
----------------------------------- -- Area: Gusgen Mines -- NPC: Degga -- Type: Standard Info NPC -- @pos 40 -68 -259 ----------------------------------- package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/quests"...
gpl-3.0
HuangYuNan/thcsvr
expansions/script/c17060882.lua
1
3769
--ドモヴォーイ function c17060882.initial_effect(c) --link summon aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsType,TYPE_EFFECT),2) c:EnableReviveLimit() --destroy replace local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(17060882,0)) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e1:SetC...
gpl-2.0
HuangYuNan/thcsvr
expansions/script/c10067.lua
1
1282
--决斗胜负! function c10067.initial_effect(c) -- local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCondition(c10067.con1) e1:SetTarget(c10067.tg1) e1:SetOperation(c10067.op1) c:RegisterEffect(e1) -- end -- function c10067.con1...
gpl-2.0
Dysoch/DyWorld
DyWorld-Dynamics/script/gui/story-gui.lua
1
12531
function Refresh_Story_GUI(player, id) if global.dyworld.players[id].smn_gui then Close_Story_GUI(player, id) Story_GUI(player, id) if player.gui.top.DyDs_Story_GUI then player.gui.top.DyDs_Story_GUI.selected_tab_index = global.dyworld.players[id].story_gui_index end end end function Close_Story_GUI(play...
gpl-3.0
bn7/darkstar
scripts/zones/RuLude_Gardens/TextIDs.lua
6
2942
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6519; -- You cannot obtain the item <item>. Come back after sorting your inventory. FULL_INVENTORY_AFTER_TRADE = 6523; -- You cannot obtain the <item>. Try trading again after sorting your inventory. ITEM_OBTAINED = 6525; ...
gpl-3.0
bn7/darkstar
scripts/zones/Port_Windurst/npcs/Kuroido-Moido.lua
28
4137
----------------------------------- -- Area: Port Windurst -- NPC: Kuriodo-Moido -- Involved In Quest: Making Amends, Wonder Wands -- Starts and Finishes: Making Amens! -- Working 100% ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ---------------------------------...
gpl-3.0
bn7/darkstar
scripts/zones/Inner_Horutoto_Ruins/npcs/_5ch.lua
14
1072
----------------------------------- -- Area: Inner Horutoto Ruins -- NPC: _5ch (Gate of Thunder) -- @pos -331 0 139 192 ----------------------------------- package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Inner_Horutoto_Ruins/TextIDs"); --...
gpl-3.0
krichter722/vlc
share/lua/playlist/katsomo.lua
97
2906
--[[ Translate www.katsomo.fi video webpages URLs to the corresponding movie URL $Id$ Copyright © 2009 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 o...
lgpl-2.1
yinjun322/quick-ng
quick/framework/filter.lua
20
3489
--- create some filters to build a FilteredSprite -- @author zrong(zengrong.net) -- Creation 2014-03-31 -------------------------------- -- @module filter --[[-- 滤镜功能 ]] local filter = {} local FILTERS = { -- colors GRAY = {cc.GrayFilter}, -- {r 0.299, g 0.587, b 0.114, a 0.0} or no parameters RGB = {cc...
mit
yinjun322/quick-ng
cocos/scripting/lua-bindings/auto/api/EaseOut.lua
7
1073
-------------------------------- -- @module EaseOut -- @extend EaseRateAction -- @parent_module cc -------------------------------- -- brief Create the action with the inner action and the rate parameter.<br> -- param action The pointer of the inner action.<br> -- param rate The value of the rate parameter.<br> -- re...
mit
bn7/darkstar
scripts/zones/Cape_Teriggan/npcs/Bright_Moon.lua
14
1912
----------------------------------- -- Area: Cape Teriggan -- NPC: Bright Moon -- Type: Outpost Vendor -- @pos -185 7 -63 113 ----------------------------------- package.loaded["scripts/zones/Cape_Teriggan/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/c...
gpl-3.0
bn7/darkstar
scripts/zones/Hall_of_the_Gods/Zone.lua
30
1883
----------------------------------- -- -- Zone: Hall_of_the_Gods (251) -- ----------------------------------- package.loaded["scripts/zones/Hall_of_the_Gods/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Hall_of_the_Gods/TextIDs"); --------------------...
gpl-3.0
HuangYuNan/thcsvr
expansions/script/c20119.lua
1
1479
--大合葬「灵车大协奏曲改」 function c20119.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TOGRAVE) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c20119.target) e1:SetOperation(c20119.operation) c:RegisterEffect(e1) if not c20119.global_check then c2011...
gpl-2.0
bn7/darkstar
scripts/zones/Xarcabard/npcs/Trail_Markings.lua
7
2752
----------------------------------- -- Area: Xarcabard -- NPC: Trail Markings -- Dynamis-Xarcabard Enter -- @pos 570 0 -272 112 ----------------------------------- package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals...
gpl-3.0
bn7/darkstar
scripts/zones/Southern_San_dOria/npcs/Well.lua
14
1415
----------------------------------- -- Area: Southern San d'Oria -- NPC: Well -- Involved in Quest: Grave Concerns -- @zone 230 -- @pos -129 -6 92 ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settin...
gpl-3.0
XJMLN/MTA-PSZ
resources/[PSZMTA]/psz-core/server_stats.lua
1
1417
--[[ Core - statystyki serwera: ilość graczy oraz spis graczy @author Jakub 'XJMLN' Starzak <jack@pszmta.pl @package PSZMTA.psz-core @copyright Jakub 'XJMLN' Starzak <jack@pszmta.pl> Nie mozesz uzywac tego skryptu bez mojej zgody. Napisz - byc moze sie zgodze na uzycie. ]]-- ---setTimer(function() -- local ilos...
mit
BLOXREPORT/rbxpacky
packy_plugin/Modules/__github.lua
1
2441
--[[ java_data = { 1; { 'asds/asd/asd'; }; }; java_path = { Name = ''; Class = ''; Disabled = true; Source = ''; }; --]] local __self = script; local __modules = __self.Parent; local __main = __modules.Parent; local __assets = __main:FindFirstChild'Assets'; local __recursive = __main:WaitForChil...
apache-2.0
lagerstrom/urpuppet
modules/awesome/files/awesome_config_old/themes/zhongguo/zhongguo.lua
1
6123
---------------------------------- -- "Zhongguo" awesome theme -- -- By Tony @ git-pull -- -- based on Zenburn by anrxc -- -- License: GNU GPL v2 -- ---------------------------------- -- {{{ Main theme = {} theme.themedir = awful.util.getdir("config") theme.themedir = theme.themed...
apache-2.0
WalkWifi/Openwrt
package/ramips/ui/luci-mtk/src/modules/admin-full/luasrc/model/cbi/admin_network/routes.lua
86
2540
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- req...
gpl-2.0
shizhai/wprobe
build_dir/target-mips_r2_uClibc-0.9.33.2/lua-5.1.5/test/sort.lua
889
1494
-- two implementations of a sort function -- this is an example only. Lua has now a built-in function "sort" -- extracted from Programming Pearls, page 110 function qsort(x,l,u,f) if l<u then local m=math.random(u-(l-1))+l-1 -- choose a random pivot in range l..u x[l],x[m]=x[m],x[l] -- swap pivot to first posit...
gpl-2.0
li-wl/kong
spec/02-integration/05-proxy/06-upstream_timeouts_spec.lua
3
2604
local helpers = require "spec.helpers" local Factory = require "kong.dao.factory" local dao_helpers = require "spec.02-integration.02-dao.helpers" local factory local function insert_apis(arr) if type(arr) ~= "table" then return error("expected arg #1 to be a table", 2) end factory:truncate_tables() f...
apache-2.0
bright-things/ionic-packages
net/mwan3-luci/files/usr/lib/lua/luci/model/cbi/mwan/ruleconfig.lua
82
4185
-- ------ extra functions ------ -- function ruleCheck() -- determine if rule needs a protocol specified local sourcePort = ut.trim(sys.exec("uci -p /var/state get mwan3." .. arg[1] .. ".src_port")) local destPort = ut.trim(sys.exec("uci -p /var/state get mwan3." .. arg[1] .. ".dest_port")) if sourcePort ~= "" or d...
gpl-2.0
bn7/darkstar
scripts/zones/Dynamis-Windurst/npcs/qm1.lua
17
1325
----------------------------------- -- Area: Dynamis Windurst -- NPC: qm1 (???) -- Notes: Spawns when Megaboss is defeated ----------------------------------- package.loaded["scripts/zones/Dynamis-Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/zones...
gpl-3.0
HuangYuNan/thcsvr
expansions/script/c26073.lua
1
2662
--雨后的青空✿多多良小伞 function c26073.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsType,TYPE_FLIP),3,2) c:EnableReviveLimit() --pos local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(26073,2)) e1:SetCategory(CATEGORY_POSITION) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1...
gpl-2.0
bn7/darkstar
scripts/zones/Port_Jeuno/npcs/Sagheera.lua
2
10726
----------------------------------- -- Area: Port Jeuno -- NPC: Sagheera -- @pos -3 0.1 -9 246 ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); require("scripts/zones...
gpl-3.0
bn7/darkstar
scripts/globals/effects/magic_shield.lua
33
1698
----------------------------------- -- -- Magic Shield BLOCKS all magic attacks -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) if (effect:getPower() == 3)...
gpl-3.0
McDaived/Zafer
plugins/supergroup.lua
1
129293
local function check_member_super(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local msg = cb_extra.msg if success == 0 then send_large_msg(receiver, "Promote me to admin first!") end for k,v in pairs(result) do local member_id = v.peer_id if m...
gpl-2.0
mehdi1313/sp
plugins/plugins.lua
35
5971
-------------------------------------------------- -- ____ ____ _____ -- -- | \| _ )_ _|___ ____ __ __ -- -- | |_ ) _ \ | |/ ·__| _ \_| \/ | -- -- |____/|____/ |_|\____/\_____|_/\/\_| -- -- -- --------------...
gpl-2.0
bn7/darkstar
scripts/zones/Waughroon_Shrine/npcs/Burning_Circle.lua
14
2281
----------------------------------- -- Area: Waughroon Shrine -- NPC: Burning Circle -- Waughroon Shrine Burning Circle -- @pos -345 104 -260 144 ------------------------------------- package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil; ------------------------------------- require("scripts/globals/bcnm");...
gpl-3.0
nolansingroy/cocos2d-x-samples
samples/FantasyWarrior3D/src/Manager.lua
9
3638
require "Helper" local size = cc.Director:getInstance():getWinSize() local scheduler = cc.Director:getInstance():getScheduler() HeroPool = List.new() DragonPool = List.new() SlimePool = List.new() PigletPool = List.new() RatPool = List.new() BossPool = List.new() --getPoolByName function getPoolByName(name) if na...
mit