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 |
|---|---|---|---|---|---|
MalRD/darkstar | scripts/globals/items/salmon_croute.lua | 11 | 1471 | -----------------------------------------
-- ID: 4551
-- Item: salmon_croute
-- Food Effect: 30Min, All Races
-----------------------------------------
-- MP +3% (cap 130)
-- Dexterity 2
-- MND -2
-- Ranged Accuracy +6% (cap 15)
-- HP recovered while healing 2
-- MP recovered while healing 1
---------------------------... | gpl-3.0 |
Lsty/ygopro-scripts | c5399521.lua | 3 | 3238 | --音響戦士マイクス
function c5399521.initial_effect(c)
--pendulum summon
aux.AddPendulumProcedure(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--scale
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_C... | gpl-2.0 |
cshore-firmware/openwrt-luci | modules/luci-base/luasrc/cbi.lua | 19 | 42590 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.cbi", package.seeall)
require("luci.template")
local util = require("luci.util")
require("luci.http")
--local event = require "luci.sys.event"
local fs = require("nixio.fs")
local uc... | apache-2.0 |
Lsty/ygopro-scripts | c29088922.lua | 3 | 2120 | --フォーチュンレディ・ウォーテリー
function c29088922.initial_effect(c)
--atk,def
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EFFECT_SET_ATTACK)
e1:SetValue(c29088922.value)
c:RegisterEffect(e1)
local e2=e1:Clone()
e2:SetCode(E... | gpl-2.0 |
Lsty/ygopro-scripts | c43241495.lua | 3 | 2143 | --EMトランポリンクス
function c43241495.initial_effect(c)
--pendulum summon
aux.AddPendulumProcedure(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--tohand
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(43241495,0))
e2... | gpl-2.0 |
tryroach/vlc | share/lua/extensions/VLSub.lua | 38 | 59549 | --[[
VLSub Extension for VLC media player 1.1 and 2.0
Copyright 2013 Guillaume Le Maout
Authors: Guillaume Le Maout
Contact:
http://addons.videolan.org/messages/?action=newmessage&username=exebetche
Bug report: http://addons.videolan.org/content/show.php/?content=148752
This program is free software; you can redist... | gpl-2.0 |
CommandPost/CommandPost-App | extensions/httpserver/cgilua_compatibility_functions.lua | 6 | 40556 | --- === hs.httpserver.hsminweb.cgilua ===
---
--- Provides support functions in the `cgilua` module for Hammerspoon Minimal Web Server Lua templates.
---
--- This file contains functions which attempt to mimic as closely as possible the functions available to lua template files in the CGILua module provided by the Kepl... | mit |
ara8586/9900 | plugins/filter.lua | 1 | 2517 | local function addword(msg, name)
local hash = 'chat:'..msg.to.id..':badword'
redis:hset(hash, name, 'newword')
return "کلمه جدید به فیلتر کلمات اضافه شد\n>"..name
end
local function get_variables_hash(msg)
return 'chat:'..msg.to.id..':badword'
end
local function list_variablesbad(msg)
local hash... | agpl-3.0 |
MalRD/darkstar | scripts/globals/items/homura.lua | 12 | 1066 | -----------------------------------------
-- ID: 16973
-- Item: Homura
-- Additional Effect: Fire Damage
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/magic")
require("scripts/globals/msg")
-----------------------------------
function onAdditionalEffect(player,tar... | gpl-3.0 |
robertbrook/Penlight | examples/symbols.lua | 9 | 6518 | require 'pl'
utils.import 'pl.func'
local ops = require 'pl.operator'
local List = require 'pl.List'
local append,concat = table.insert,table.concat
local compare,find_if,compare_no_order,imap,reduce,count_map = tablex.compare,tablex.find_if,tablex.compare_no_order,tablex.imap,tablex.reduce,tablex.count_map
local unpac... | mit |
MalRD/darkstar | scripts/globals/items/m&p_cracker.lua | 11 | 1071 | -----------------------------------------
-- ID: 5640
-- Item: M&P Cracker
-- Food Effect: 3Min, All Races
-----------------------------------------
-- Vitality 5
-- Mind -5
-- Defense % 25
-- Attack Cap 154
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
-----... | gpl-3.0 |
MalRD/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Lageegee.lua | 11 | 2411 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Lageegee
-- Type: Assault Mission Giver
-- !pos 120.808 0.161 -30.435
-----------------------------------
local ID = require("scripts/zones/Aht_Urhgan_Whitegate/IDs")
require("scripts/globals/besieged")
require("scripts/globals/keyitems")
requir... | gpl-3.0 |
MalRD/darkstar | scripts/globals/mobskills/glittering_ruby.lua | 12 | 1193 | ---------------------------------------------
-- Glittering Ruby
---------------------------------------------
require("scripts/globals/monstertpmoves")
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/msg")
---------------------------------------------
function onMobSkill... | gpl-3.0 |
Lsty/ygopro-scripts | c84136000.lua | 3 | 2000 | --復活の墓穴
function c84136000.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_BATTLE_DESTROYED)
e1:SetCondition(c84136000.condition)
e1:SetTarget(c84136000.target)
e1:SetO... | gpl-2.0 |
Lsty/ygopro-scripts | c27178262.lua | 5 | 1668 | --六武衆の理
function c27178262.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:SetCost(c27178262.cost)
e1:SetTarget(c27178262.target)
e1:SetOperation(c271782... | gpl-2.0 |
Lsty/ygopro-scripts | c90885155.lua | 3 | 4551 | --クリフォート・シェル
function c90885155.initial_effect(c)
--pendulum summon
aux.AddPendulumProcedure(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--splimit
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFE... | gpl-2.0 |
MalRD/darkstar | scripts/globals/items/steamed_catfish.lua | 11 | 1524 | -----------------------------------------
-- ID: 4557
-- Item: steamed_catfish
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health 30
-- Magic % 1 (cap 110)
-- Dex 3
-- Intelligence 1
-- Mind -3
-- Earth Res 10
-- Ranged Accuracy +6% (cap 15)
-----------------------------------------
r... | gpl-3.0 |
MalRD/darkstar | scripts/globals/abilities/pets/heat_capacitor.lua | 12 | 1082 | ---------------------------------------------
-- Heat Capacitor
---------------------------------------------
require("scripts/globals/automatonweaponskills")
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/msg")
---------------------------------------------
function onMo... | gpl-3.0 |
ashkanpj/yagoopfire | plugins/channels.lua | 300 | 1680 | -- Checks if bot was disabled on specific chat
local function is_channel_disabled( receiver )
if not _config.disabled_channels then
return false
end
if _config.disabled_channels[receiver] == nil then
return false
end
return _config.disabled_channels[receiver]
end
local function enable_channel(receiver)
if... | gpl-2.0 |
MalRD/darkstar | scripts/globals/items/beef_stewpot.lua | 11 | 1475 | -----------------------------------------
-- ID: 5547
-- Item: Beef Stewpot
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP +10% Cap 50
-- MP +10
-- HP Recoverd while healing 5
-- MP Recovered while healing 1
-- Attack +18% Cap 40
-- Evasion +5
--------------------... | gpl-3.0 |
LuaDist2/tethys | tethys2/plugins/user_manager/UnixAlias.lua | 2 | 1524 | module(..., package.seeall)
local oo = require "loop.simple"
local Plugin = require 'tethys2.plugins.user_manager.Plugin'
require'config'
require'io'
new = oo.class({}, Plugin.class)
UnixAlias = new
class = new
function UnixAlias:getUser(account, host)
local hosts = config.settings.user_manager.unixalias.hosts
if ... | gpl-3.0 |
shahabsaf1/My-system | plugins/linkpv.lua | 46 | 31163 | do
local function check_member(cb_extra, success, result)
local receiver = cb_extra.receiver
local data = cb_extra.data
local msg = cb_extra.msg
for k,v in pairs(result.members) do
local member_id = v.id
if member_id ~= our_id then
-- Group configuration
data[tostring(msg.to.id)] = {
... | gpl-2.0 |
Lsty/ygopro-scripts | c596051.lua | 3 | 1279 | --毒蛇の牙
function c596051.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DEFCHANGE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(TIMING_DAMAGE_STEP)
e1:SetCondition(c596051.condi... | gpl-2.0 |
Lsty/ygopro-scripts | c43661068.lua | 3 | 1560 | --星に願いを
function c43661068.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c43661068.target)
e1:SetOperation(c43661068.activate)
c:RegisterEffect(e1)
end
function c43661068.target(e,tp... | gpl-2.0 |
MalRD/darkstar | scripts/globals/icanheararainbow.lua | 9 | 8093 | -- Functions below used in quest: I Can Hear a Rainbow
require( "scripts/globals/status");
require( "scripts/globals/quests");
require( "scripts/globals/weather");
colorsAvailable = { 102, 103, 104, 105, 106, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 123, 124, 125}; -- Zone IDs
-- Data be... | gpl-3.0 |
MalRD/darkstar | scripts/zones/Metalworks/npcs/Pius.lua | 9 | 1517 | -----------------------------------
-- Area: Metalworks
-- NPC: Pius
-- Involved In Mission: Journey Abroad
-- !pos 99 -21 -12 237
-----------------------------------
require("scripts/globals/missions");
-----------------------------------
function onTrade(player,npc,trade)
end;
function onTrigger(player,npc)
M... | gpl-3.0 |
Lsty/ygopro-scripts | c94119480.lua | 3 | 1387 | --終焉の守護者アドレウス
function c94119480.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,5,2)
c:EnableReviveLimit()
--destroy
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY)
e1:SetDescription(aux.Stringid(94119480,0))
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e... | gpl-2.0 |
MalRD/darkstar | scripts/zones/Southern_San_dOria/npcs/Leuveret.lua | 9 | 1046 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Leuveret
-- General Info NPC
-------------------------------------
local ID = require("scripts/zones/Southern_San_dOria/IDs");
require("scripts/globals/quests");
function onTrade(player,npc,trade)
if (player:getQuestStatus(SANDORIA,dsp.quest... | gpl-3.0 |
Mijyuoon/starfall | lua/starfall/libs_sh/hook.lua | 1 | 8076 | -------------------------------------------------------------------------------
-- Hook library
-------------------------------------------------------------------------------
--- Deals with hooks
-- @shared
local hook_library, _ = SF.Libraries.Register("hook")
local registered_instances = {}
--- Sets a hook function... | bsd-3-clause |
ThingMesh/openwrt-luci | modules/niu/luasrc/model/cbi/niu/system/general1.lua | 49 | 1145 | --[[
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$
]]--
loc... | apache-2.0 |
Lsty/ygopro-scripts | c18895832.lua | 9 | 1176 | --システム・ダウン
function c18895832.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_REMOVE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCost(c18895832.cost)
e1:SetTarget(c18895832.target)
e1:SetOperation(c18895832.activate)
c:RegisterEffect(e1)
end
functio... | gpl-2.0 |
Mijyuoon/starfall | lua/starfall/permissions/core.lua | 5 | 5523 | ---------------------------------------------------------------------
-- SF Permissions management
---------------------------------------------------------------------
-- TODO: Client version
--- Permission format
-- @name Permission
-- @class table
-- @field name The name of the permission
-- @field desc The descri... | bsd-3-clause |
MalRD/darkstar | scripts/zones/Port_Bastok/npcs/Alib-Mufalib.lua | 9 | 3948 | -----------------------------------
-- Area: Port Bastok
-- NPC: Alib-Mufalib
-- Type: Warp NPC
-- !pos 116.080 7.372 -31.820 236
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
require("scripts/globals/missions");
require("scripts/globals/teleports");
requir... | gpl-3.0 |
Lsty/ygopro-scripts | c22790789.lua | 3 | 3151 | --巨大戦艦 クリスタル・コア
function c22790789.initial_effect(c)
--summon success
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(22790789,0))
e1:SetCategory(CATEGORY_COUNTER)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetTarget(c22790789.addct)
e1:SetOperation(c... | gpl-2.0 |
ntop/nProbe | custom_fields/Sonicwall/sonicwall_app_id.lua | 1 | 145599 | --
-- (C) 2013-18 - ntop.org
--
local sonicwall = {}
-- ################################################################################
local type_map = {
["1"] = "TIME_STAMP",
["2"] = "FLOW_IDENTIFIER",
["3"] = "INITIATOR_GW_MAC",
["4"] = "RESPONDER_GW_MAC",
["5"] = "INITIATOR_IP_ADDR",
["6"] = "... | gpl-2.0 |
Frenzie/koreader | frontend/ui/elements/screen_eink_opt_menu_table.lua | 8 | 1220 | local Device = require("device")
local _ = require("gettext")
local Screen = Device.screen
local eink_settings_table = {
text = _("E-ink settings"),
sub_item_table = {
{
text = _("Use smaller panning rate"),
checked_func = function() return Screen.low_pan_rate end,
c... | agpl-3.0 |
Mike325/.vim | lua/utils/windows.lua | 1 | 8008 | local nvim = require 'neovim'
local set_autocmd = require('neovim.autocmds').set_autocmd
local M = {}
local function autowipe(win, buffer)
vim.validate { window = { win, 'number' }, buffer = { buffer, 'number' } }
set_autocmd {
event = { 'WinClosed' },
pattern = win,
cmd = ('lua if vi... | mit |
sonoro1234/cimgui | generator/output/impl_definitions.lua | 1 | 34701 | local defs = {}
defs["ImGui_ImplGlfw_CharCallback"] = {}
defs["ImGui_ImplGlfw_CharCallback"][1] = {}
defs["ImGui_ImplGlfw_CharCallback"][1]["args"] = "(GLFWwindow* window,unsigned int c)"
defs["ImGui_ImplGlfw_CharCallback"][1]["argsT"] = {}
defs["ImGui_ImplGlfw_CharCallback"][1]["argsT"][1] = {}
defs["ImGui_ImplGlfw_Ch... | mit |
Lsty/ygopro-scripts | c53208660.lua | 3 | 2438 | --ペンデュラム・コール
function c53208660.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SEARCH+CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,53208660+EFFECT_COUNT_CODE_OATH)
e1:SetCondition(c53208660.condition)
e1:SetCost(c53208660... | gpl-2.0 |
Lsty/ygopro-scripts | c58477767.lua | 7 | 1442 | --女王の選択
function c58477767.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_BATTLE_DESTROYED)
e1:SetCondition(c58477767.condition)
e1:SetTarget(c58477767.target)
e1:SetOperation(c58477767.operation)
c:Register... | gpl-2.0 |
Lsty/ygopro-scripts | c88671720.lua | 3 | 1672 | --ブラック・ボンバー
function c88671720.initial_effect(c)
--summon success
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(88671720,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:S... | gpl-2.0 |
Death15/Test | plugins/GpCOntrol.lua | 1 | 17075 | -- data saved to data/moderation.json
do
local function export_chat_link_cb(extra, success, result)
local msg = extra.msg
local data = extra.data
if success == 0 then
return send_large_msg(get_receiver(msg), 'Cannot generate invite link for this group.\nMake sure you are an admin or a sudoer.')
... | gpl-2.0 |
Lsty/ygopro-scripts | c1498130.lua | 7 | 1091 | --六武衆の影武者
function c1498130.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(1498130,0))
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_CHAINING)
e1:SetRange(LOCATION_MZONE)
e1:SetCondition(c1498130.tgcon)
e1:SetOperation(c1498130.tgop)
c:RegisterEffect(e1)
en... | gpl-2.0 |
MalRD/darkstar | scripts/globals/spells/cryohelix.lua | 12 | 2046 | --------------------------------------
-- Spell: Cryohelix
-- Deals ice damage that gradually reduces
-- a target's HP. Damage dealt is greatly affected by the weather.
--------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/magic")
---------... | gpl-3.0 |
cleytonk/globalfull | data/spells/scripts/party/protect.lua | 15 | 1808 | local combat = createCombatObject()
local area = createCombatArea(AREA_CROSS5X5)
setCombatArea(combat, area)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_GREEN)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)
local condition = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(condition, CO... | gpl-2.0 |
MalRD/darkstar | scripts/globals/spells/bio_iii.lua | 11 | 2691 | -----------------------------------------
-- Spell: Bio III
-- Deals dark damage that weakens an enemy's attacks and gradually reduces its HP.
-- caster:getMerit() returns a value which is equal to the number of merit points TIMES the value of each point
-- Bio III value per point is '30' This is a constant set in the ... | gpl-3.0 |
MalRD/darkstar | scripts/globals/spells/cure_ii.lua | 5 | 5091 | -----------------------------------------
-- Spell: Cure II
-- Restores target's HP.
-- Shamelessly stolen from http://members.shaw.ca/pizza_steve/cure/Cure_Calculator.html
-----------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/magic")
re... | gpl-3.0 |
Lsty/ygopro-scripts | c65830223.lua | 5 | 1199 | --棺桶売り
function c65830223.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(65830223,0))
e2:SetCategory(CATEGORY_DAMAGE)
e2:SetType(EFFECT_TYPE_... | gpl-2.0 |
Lsty/ygopro-scripts | c83135907.lua | 3 | 2674 | --スクラップ・ゴブリン
function c83135907.initial_effect(c)
--destroy
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetCode(EVENT_BE_BATTLE_TARGET)
e1:SetOperation(c83135907.regop)
c:RegisterEffect(e1)
local e2=Effect.CreateEffect(c)
e... | gpl-2.0 |
Lsty/ygopro-scripts | c57470761.lua | 3 | 4350 | --タイラント・ウィング
function c57470761.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(TIMING_DAMAGE_STEP)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP)
e1:SetCondition(c57470761... | gpl-2.0 |
t4im/homedecor_modpack | homedecor/furniture_recipes.lua | 14 | 5117 |
minetest.register_craft({
output = "homedecor:table", "homedecor:chair 2",
recipe = {
{ "group:wood","group:wood", "group:wood" },
{ "group:stick", "", "group:stick" },
},
})
minetest.register_craft({
type = "shapeless",
output = "homedecor:table_mahogany",
recipe = {
"homedecor:table",
"dye:brown",
},... | lgpl-3.0 |
Lsty/ygopro-scripts | c41386308.lua | 7 | 1814 | --マスマティシャン
function c41386308.initial_effect(c)
--send to grave
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(41386308,0))
e1:SetCategory(CATEGORY_TOGRAVE)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetTarget(c41386308.target)
e1:SetOperation(c41386... | gpl-2.0 |
Lsty/ygopro-scripts | c10489311.lua | 5 | 1082 | --ヒーロー・メダル
function c10489311.initial_effect(c)
--draw
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(10489311,0))
e1:SetCategory(CATEGORY_TODECK+CATEGORY_DRAW)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_TO_GRAVE)
e1:SetCondition(c10489311.drcon)
e1:SetTarget(c10489311... | gpl-2.0 |
Distrotech/vlc | share/lua/sd/katsomo.lua | 110 | 1336 | --[[
$Id$
Copyright © 2010 VideoLAN and AUTHORS
Authors: Ilkka Ollakka <ileoo 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 yo... | gpl-2.0 |
Mijyuoon/starfall | lua/moonscript/lulpeg.lua | 1 | 79641 | -- LuLPeg, a pure Lua port of LPeg, Roberto Ierusalimschy's
-- Parsing Expression Grammars library.
--
-- Copyright (C) Pierre-Yves Gerardy.
-- Released under the Romantic WTF Public License (cf. the LICENSE
-- file or the end of this file, whichever is present).
--
-- See http://www.inf.puc-rio.br/~roberto/lpeg/ for... | bsd-3-clause |
Lsty/ygopro-scripts | c39122311.lua | 3 | 2907 | --竜魂の幻泉
function c39122311.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:SetHintTiming(0,TIMING_END_PHASE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetTarget(c39122311.target)
e1:SetOperati... | gpl-2.0 |
t4im/homedecor_modpack | homedecor/furniture.lua | 2 | 4095 | local S = homedecor.gettext
local table_colors = {
{ "", homedecor.plain_wood },
{ "_mahogany", homedecor.mahogany_wood },
{ "_white", homedecor.white_wood }
}
for i in ipairs(table_colors) do
local desc = S("Table ("..i..")")
if i == 1 then
desc = S("Table")
end
homedecor.register("table"..tab... | lgpl-3.0 |
Lsty/ygopro-scripts | c63257623.lua | 3 | 2459 | --森羅の実張り ピース
function c63257623.initial_effect(c)
--deck check
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(63257623,0))
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetTarget(c63257623.target)
e1:SetOperation(... | gpl-2.0 |
Lsty/ygopro-scripts | c65277087.lua | 9 | 1325 | --ガスタ・ガルド
function c65277087.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(65277087,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP)
e1:SetCode(EVENT_TO_GRAVE)
e1:SetCondit... | gpl-2.0 |
jadarve/lluvia | lluvia/nodes/lluvia/imgproc/ImagePyramid_r8ui.lua | 1 | 3510 | local builder = ll.class(ll.ContainerNodeBuilder)
builder.name = 'lluvia/imgproc/ImagePyramid_r8ui'
builder.doc = [[
Creates an image pyramid from an input gray scale image.
For `levels >= 2`, the pyramid is generated by concatenating a series of
ImageDownsampleX_r8ui and ImageDownsampleY_r8ui nodes.
Parameters
----... | apache-2.0 |
Lsty/ygopro-scripts | c55321970.lua | 3 | 1658 | --突風の扇
function c55321970.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(c55321970.target)
e1:SetOperation(c55321970.operation)
c:RegisterEffect(e1)
-... | gpl-2.0 |
MalRD/darkstar | scripts/zones/Yuhtunga_Jungle/mobs/Overgrown_Rose.lua | 9 | 1040 | -----------------------------------
-- Area: Yuhtunga Jungle
-- Mob: Overgrown Rose
-----------------------------------
local ID = require("scripts/zones/Yuhtunga_Jungle/IDs")
function onMobSpawn(mob)
if mob:getID() == ID.mob.ROSE_GARDEN_PH then
mob:setLocalVar("timeToGrow", os.time() + math.random(36000,... | gpl-3.0 |
moody2020/TH3_BOSS | plugins/newgroup.lua | 13 | 36380 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY MOHAMMED HISHAM ▀▄ ▄▀
▀▄ ▄▀ BY MOHAMMEDHISHAM (@TH3BOSS) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY MOHAMMED HISHAM ▀▄ ▄▀
▀▄ ▄▀ create : صنع مجموعه ▀▄ ▄▀... | gpl-2.0 |
Lsty/ygopro-scripts | c16674846.lua | 3 | 1272 | --スピリット・フォース
function c16674846.initial_effect(c)
--no damage
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_PRE_DAMAGE_CALCULATE)
e1:SetCondition(c16674846.condition)
e1:SetOperation(c16674846.operation)
c:RegisterEffect(e1)
end
function c16674846.condition(e,tp,eg,ep,ev,re,r,... | gpl-2.0 |
MalRD/darkstar | scripts/zones/Port_Windurst/npcs/Taniko-Maniko.lua | 12 | 1158 | -----------------------------------
-- Area: Port Windurst
-- NPC: Taniko-Maniko
-- Standard Merchant NPC
-----------------------------------
local ID = require("scripts/zones/Port_Windurst/IDs")
require("scripts/globals/shop")
function onTrade(player,npc,trade)
end
function onTrigger(player,npc)
local stock =
... | gpl-3.0 |
Lsty/ygopro-scripts | c88089103.lua | 7 | 1105 | --四次元の墓
function c88089103.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TODECK)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c88089103.target)
e1:SetOperation(c88089103.activate)
c:RegisterEffect(e1)
e... | gpl-2.0 |
Lsty/ygopro-scripts | c77901552.lua | 3 | 2487 | --聖刻龍-トフェニドラゴン
function c77901552.initial_effect(c)
--spsummon from hand
local e1=Effect.CreateEffect(c)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetRange(LOCATION_HAND)
e1:SetCode(EFFECT_SPSUMMON_PROC)
e1:SetCondition(c77901552.hspcon)
e1:SetOperation(c... | gpl-2.0 |
MalRD/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Famad.lua | 11 | 2414 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Famad
-- Type: Assault Mission Giver
-- !pos 134.098 0.161 -43.759 50
-----------------------------------
local ID = require("scripts/zones/Aht_Urhgan_Whitegate/IDs")
require("scripts/globals/besieged")
require("scripts/globals/keyitems")
requir... | gpl-3.0 |
Frenzie/koreader | frontend/dispatcher.lua | 1 | 47202 | --[[--
This module is responsible for dispatching events.
To add a new action an entry must be added to `settingsList` & `dispatcher_menu_order`
This can also be done at runtime via @{registerAction}().
`settingsList` contains the list of dispatchable settings.
Each setting contains:
* category: one of:
* none:... | agpl-3.0 |
MalRD/darkstar | scripts/globals/abilities/pets/zantetsuken.lua | 11 | 1540 | ---------------------------------------------
-- Zantetsuken
---------------------------------------------
require("scripts/globals/monstertpmoves")
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/magic")
require("scripts/globals/msg")
-------------------------------------... | gpl-3.0 |
MalRD/darkstar | scripts/zones/Temenos/mobs/Light_Elemental.lua | 9 | 1313 | -----------------------------------
-- Area: Temenos E T
-- Mob: Light Elemental
-----------------------------------
require("scripts/globals/limbus");
-----------------------------------
function onMobEngaged(mob,target)
local mobID = mob:getID();
if (mobID==16929031) then
GetMobByID(16929032):updateE... | gpl-3.0 |
Lsty/ygopro-scripts | c26268488.lua | 3 | 3972 | --聖珖神竜 スターダスト・シフル
function c26268488.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsType,TYPE_SYNCHRO),aux.NonTuner(Card.IsType,TYPE_SYNCHRO),2)
c:EnableReviveLimit()
--cannot special summon
local e1=Effect.CreateEffect(c)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFEC... | gpl-2.0 |
gallenmu/MoonGen | interface/options/dataLimit.lua | 4 | 1770 | local units = require "units"
local option = {}
option.description = "Stop sending this flow after a certain amount of data. As"
.. " flows should only be cut short at a whole number of packets sent, every"
.. " value passed will be rounded up to the nearest whole number of packets."
.. "\n\nEach thread will keep ... | mit |
raiguard/ModernGadgets | Skins/ModernGadgets/@Resources/Scripts/LoadSkin.lua | 2 | 6059 | --[[
----------------------------------------------------------------------------------------------------
LOADSKIN.LUA
raiguard
v4.0.0
----------------------------------------------------------------------------------------------------
Release Notes:
v4.0.0 - 2019-05-12
- Added support for an unlimited number of ass... | mit |
Lsty/ygopro-scripts | c46656406.lua | 3 | 1138 | --呪言の鏡
function c46656406.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY+CATEGORY_DRAW)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetTarget(c46656406.target)
e1:SetOperation(c46656406.activate)
c:RegisterEffect(e1)
end
function c46656406... | gpl-2.0 |
MalRD/darkstar | scripts/zones/Western_Adoulin/npcs/Nylene.lua | 9 | 1282 | -----------------------------------
-- Area: Western Adoulin
-- NPC: Nylene
-- Type: Standard NPC and Quest NPC
-- Involved with Quest: 'A Certain Substitute Patrolman'
-- !pos 12 0 -82 256
-----------------------------------
require("scripts/globals/missions");
require("scripts/globals/quests");
--------------------... | gpl-3.0 |
maxrio/luci981213 | applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/interface.lua | 39 | 2614 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.statistics.rrdtool.definitions.interface", package.seeall)
function rrdargs( graph, plugin, plugin_instance )
--
-- traffic diagram
--
local traffic = {
-- draw this diag... | apache-2.0 |
MalRD/darkstar | scripts/globals/mobskills/primal_drill.lua | 11 | 1068 | ---------------------------------------------
-- Primal Drill
--
-- Description: Drills into nearby targets with appendages. Additional effect: Bind
-- Type: Physical
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: Unknown radial
-- Notes:
---------------------------------------------
require("scripts/globals/set... | gpl-3.0 |
Lsty/ygopro-scripts | c65496056.lua | 3 | 1453 | --コダロス
function c65496056.initial_effect(c)
--send to grave
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(65496056,0))
e1:SetCategory(CATEGORY_TOGRAVE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCost(c65496056.cost)
e1:SetTarget(c... | gpl-2.0 |
mikhail-angelov/vlc | share/lua/intf/telnet.lua | 116 | 1876 | --[==========================================================================[
telnet.lua: wrapper for legacy telnet configuration
--[==========================================================================[
Copyright (C) 2011 the VideoLAN team
$Id$
Authors: Pierre Ynard
This program is free software; you can ... | gpl-2.0 |
Aaa1r/DRAGON | plugins/supergroup.lua | 1 | 125744 | --[[
_ BY:@Aaa1R
__| |_ __ __ _ __ _ ___ _ __
/ _` | '__/ _` |/ _` |/ _ \| '_ \
| (_| | | | (_| | (_| | (_) | | | |
\__,_|_| \__,_|\__, |\___/|_| |_|
|___/
--]]
local function check_member_super(cb_extra, success, result)
local receiver = cb_e... | gpl-2.0 |
MalRD/darkstar | scripts/zones/Promyvion-Holla/Zone.lua | 9 | 2301 | -----------------------------------
--
-- Zone: Promyvion-Holla (16)
--
-----------------------------------
local ID = require("scripts/zones/Promyvion-Holla/IDs")
require("scripts/globals/promyvion")
require("scripts/globals/keyitems")
require("scripts/globals/missions")
require("scripts/globals/settings")
require("sc... | gpl-3.0 |
gallenmu/MoonGen | libmoon/lua/log.lua | 6 | 4193 | ---------------------------------
--- @file log.lua
--- @brief Logging module.
--- @todo Docu
---------------------------------
require "utils"
local log = {}
------------------------------------------------------
---- Log Levels
------------------------------------------------------
-- terminates by calling error()... | mit |
ashkanpj/yagoopfire | plugins/isX.lua | 605 | 2031 | local https = require "ssl.https"
local ltn12 = require "ltn12"
local function request(imageUrl)
-- Edit data/mashape.lua with your Mashape API key
-- http://docs.mashape.com/api-keys
local mashape = load_from_file('data/mashape.lua', {
api_key = ''
})
local api_key = mashape.api_key
if ... | gpl-2.0 |
Attractive1/Attractive-Robot | plugins/feedback.lua | 35 | 1028 | do
function run(msg, matches)
local fuse = '#DearAdmin , we have recive a new feedback just now : #newfeedback \n\nID : ' .. msg.from.id .. '\n\nName : ' .. msg.from.print_name ..'\n\nusername : @' .. msg.from.username ..'\n\nFeedBack :\n\n\n' .. matches[1]
local fuses = '!printf user#id' .. msg.from.id
local... | gpl-2.0 |
rigeirani/teshep | plugins/ingroup.lua | 3 | 38187 | do
local function check_member(cb_extra, success, result)
local receiver = cb_extra.receiver
local data = cb_extra.data
local msg = cb_extra.msg
for k,v in pairs(result.members) do
local member_id = v.id
if member_id ~= our_id then
-- Group configuration
data[tostring(msg.to.id)] = {
... | gpl-2.0 |
mneudert/luxy | src/luxy.lua | 1 | 1942 | -- public module table
local luxy = {}
--- Stores the configuration for the module.
--
-- This call replaces any existing configuration.
--
-- Available configuration keys:
-- - "default_upstream"
--
-- @param config configuration table
luxy.configure = function(config)
local luxy_conf = ngx.shared.luxy_conf
... | bsd-2-clause |
Frenzie/koreader | frontend/userpatch.lua | 4 | 4575 | --[[--
Allows applying developer patches while running KOReader.
The contents in `koreader/patches/` are applied on calling `userpatch.applyPatches(priority)`.
--]]--
local isAndroid, android = pcall(require, "android")
local userpatch = {
-- priorities for user patches,
early_once = "0", -- to be started e... | agpl-3.0 |
MalRD/darkstar | scripts/zones/Cloister_of_Flames/bcnms/trial_by_fire.lua | 9 | 1506 | -----------------------------------
-- Area: Cloister of Flames
-- BCNM: Trial by Fire
-----------------------------------
local ID = require("scripts/zones/Cloister_of_Flames/IDs")
require("scripts/globals/battlefield")
require("scripts/globals/keyitems")
require("scripts/globals/quests")
require("scripts/globals/titl... | gpl-3.0 |
Lsty/ygopro-scripts | c45045866.lua | 3 | 1090 | --オーシャンズ・オーパー
function c45045866.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_PIERCE)
c:RegisterEffect(e1)
--special summon
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(45045866,0))
e2:SetCategory(CATEGORY_TOHAND+CATEGORY_... | gpl-2.0 |
mdsandell/DatePicker | datePickerWheel.lua | 1 | 5423 | --[[
The MIT License (MIT)
Copyright (c) 2015 Mark Sandell
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... | mit |
MalRD/darkstar | scripts/globals/mobskills/fuscous_ooze.lua | 11 | 1139 | ---------------------------------------------------
-- Fuscous Ooze
-- Family: Slugs
-- Description: A dusky slime inflicts encumberance and weight.
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Cone
-- Notes:
---------------------------------------------------
require("scripts/globals/set... | gpl-3.0 |
MalRD/darkstar | scripts/globals/spells/mages_ballad_iii.lua | 12 | 1163 | -----------------------------------------
-- Spell: Mage's Ballad III
-- Gradually restores target's MP.
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)
return 0
en... | gpl-3.0 |
MalRD/darkstar | scripts/zones/East_Ronfaure_[S]/npcs/qm3.lua | 11 | 1130 | -----------------------------------
-- Area: East Ronfaure [S]
-- NPC: qm3 "???"
-- Involved in Quests: Steamed Rams
-- !pos 312.821 -30.495 -67.15
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/campaign");
local ID = require("scripts/zones/East_Ronfaure_[S]/IDs");
--... | gpl-3.0 |
Lsty/ygopro-scripts | c61639289.lua | 3 | 1904 | --イグナイト・イーグル
function c61639289.initial_effect(c)
--pendulum summon
aux.AddPendulumProcedure(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--tohand
local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_DESTROY+CATEGORY_TOHAND... | gpl-2.0 |
Nuthen/ludum-dare-39 | entities/sprite.lua | 1 | 4798 | -- Rotate point (px, py) about (cx, cy) by rotation (radians)
local function rotatePoint(rot, px, py, cx, cy)
local x = math.cos(rot) * (px - cx) - math.sin(rot) * (py - cy) + cx
local y = math.sin(rot) * (px - cx) + math.cos(rot) * (py - cy) + cy
return x, y
end
local Sprite = Class("Sprite")
Sprite.sta... | mit |
Lsty/ygopro-scripts | c49702428.lua | 3 | 1092 | --黒・魔・導・爆・裂・破
function c49702428.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(c49702428.condition)
e1:SetTarget(c49702428.target)
e1:SetOperation(c49702428.activate)
c:RegisterEffect(e... | gpl-2.0 |
MalRD/darkstar | scripts/zones/Temenos/mobs/Orichalcum_Quadav.lua | 9 | 1222 | -----------------------------------
-- Area: Temenos
-- Mob: Orichalcum Quadav
-----------------------------------
require("scripts/globals/limbus");
-----------------------------------
function onMobEngaged(mob,target)
if (IsMobDead(16929017)==true and IsMobDead(16929018)==true and IsMobDead(16929019)==true and
... | gpl-3.0 |
Lsty/ygopro-scripts | c70138455.lua | 3 | 1589 | --ミスター・ボンバー
function c70138455.initial_effect(c)
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(70138455,0))
e1:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_FIELD)
e1:SetCategory(CATEGORY_DESTROY)
e1:SetCode(EVENT_PHASE+PHASE_STANDBY)
e1:SetRange(LOCATION_MZONE)
e1:SetCondition(c70138455.... | gpl-2.0 |
tarulas/luadch | scripts/etc_usercommands.lua | 2 | 2504 | --[[
etc_usercommands.lua by blastbeat
v0.03: by blastbeat
- added some dynamic ucmd testing...
- usage: user.write( ucmd.format( ... ) )
v0.02: by pulsar
- export scriptsettings to "/cfg/cfg.tbl"
v0.01: by blastbeat
- this... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.