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 |
|---|---|---|---|---|---|
Kong/kong | kong/db/migrations/core/005_120_to_130.lua | 1 | 4115 | return {
postgres = {
up = [[
DO $$
BEGIN
ALTER TABLE IF EXISTS ONLY "upstreams" ADD "algorithm" TEXT;
EXCEPTION WHEN DUPLICATE_COLUMN THEN
-- Do nothing, accept existing state
END;
$$;
CREATE TABLE IF NOT EXISTS "ca_certificates" (
"id" UUID... | apache-2.0 |
Deadwing888/darkstar | scripts/globals/mobskills/Tidal_Dive.lua | 33 | 1149 | ---------------------------------------------
-- Tidal Dive
--
-- Description: Dives at nearby targets. Additional effect: Weight and/or Bind (Status Effect)
-- Type: Physical
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: Unknown radial
-- Notes: Only used over deep water.
--------------------------------------... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Port_Windurst/npcs/Explorer_Moogle.lua | 17 | 1656 | -----------------------------------
-- Area: Port Windurst
-- NPC: Explorer Moogle
-- Working 100%
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/teleports");
-----------------------------------
-- onTrade Action
-----------------------------------
fun... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Wahraga.lua | 13 | 1202 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Wahraga
-- Guild Merchant: Alchemist Guild
-- @pos -76.836 -6.000 140.331 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/global... | gpl-3.0 |
vlcchina/vlc-player-dev | share/lua/playlist/soundcloud.lua | 40 | 2025 | --[[
$Id$
Copyright © 2012 the VideoLAN team
Authors: Cheng Sun <chengsun9atgmail.com>
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) an... | gpl-2.0 |
nikai3d/naev | dat/missions/pirate/pir_cargo.lua | 2 | 6277 | --[[
Handles the randomly generated Pirate cargo missions.
Most of the code taken from Empire Shipping.
]]--
include "dat/scripts/cargo_common.lua"
include "dat/scripts/numstring.lua"
-- This is in cargo_common, but we need to increase the range…
function cargo_selectMissionDistance ()
local seed = rnd.rn... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Qulun_Dome/TextIDs.lua | 22 | 1409 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6384; -- Obtained: <item>
GIL_OBTAINED = 6385; -- Obtained <number> gil
KEYITEM_OBTAINED = 6387; -- Obtain... | gpl-3.0 |
destdev/ygopro-scripts | c47506081.lua | 9 | 1256 | --グレンザウルス
function c47506081.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,3,2)
c:EnableReviveLimit()
--damage
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(47506081,0))
e1:SetCategory(CATEGORY_DAMAGE)
e1:SetCode(EVENT_BATTLE_DESTROYING)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRI... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/zones/Temenos/mobs/Earth_Elemental.lua | 9 | 1382 | -----------------------------------
-- Area: Temenos E T
-- Mob: Earth Elemental
-----------------------------------
require("scripts/globals/limbus");
-----------------------------------
function onMobEngaged(mob,target)
end;
function onMobDeath(mob, player, isKiller)
local mobID = mob:getID();
local mobX = ... | gpl-3.0 |
destdev/ygopro-scripts | c11167052.lua | 1 | 3762 | --霊神統一
function c11167052.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMING_END_PHASE)
c:RegisterEffect(e1)
--indes/untarget
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_CANNOT... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/globals/abilities/pets/attachments/tension_spring.lua | 11 | 1279 | -----------------------------------
-- Attachment: Tension Spring
-----------------------------------
require("scripts/globals/automaton")
require("scripts/globals/status")
-----------------------------------
function onEquip(pet)
onUpdate(pet, 0)
end
function onUnequip(pet)
updateModPerformance(pet, dsp.mod.... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/abilities/dark_arts.lua | 12 | 1483 | -----------------------------------
-- Ability: Dark Arts
-- Optimizes black magic capability while lowering white magic proficiency. Grants a bonus to enfeebling, elemental, and dark magic. Also grants access to Stratagems.
-- Obtained: Scholar Level 10
-- Recast Time: 1:00
-- Duration: 2:00:00
-----------------------... | gpl-3.0 |
RwNigma/darkstar | scripts/globals/abilities/call_wyvern.lua | 18 | 1039 | -----------------------------------
-- Ability: Call Wyvern
-- Summons a Wyvern to fight by your side.
-- Obtained: Dragoon Level 1
-- Recast Time: 20:00
-- Duration: Instant
-- Special: Only available if Dragoon is your main class.
-----------------------------------
require("scripts/globals/settings");
req... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Port_San_dOria/npcs/Leonora.lua | 13 | 1491 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Leonora
-- Involved in Quest:
-- @zone 232
-- @pos -24 -8 15
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts... | gpl-3.0 |
ffxijuggalo/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 |
RwNigma/darkstar | scripts/zones/Western_Adoulin/Zone.lua | 33 | 1246 | -----------------------------------
--
-- Zone: Western Adoulin
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Western_Adoulin/TextIDs"] = nil;
require("scripts/zones/Western_Adoulin/TextIDs");
-----------------------------------
-- onInitialize... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Upper_Jeuno/npcs/Mejuone.lua | 37 | 1157 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Mejuone
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
require("scripts/zones/Upper_Jeuno/TextIDs");
-----------------------------------
... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Quicksand_Caves/npcs/Goblin_Geologist.lua | 13 | 1040 | -----------------------------------
-- Area: Quicksand Caves
-- NPC: Goblin Geologist
-- Type: Mission
-- @pos -737.000 -11.125 -550.000 208
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Quicksand_Caves... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/Gusgen_Mines/npcs/Clay.lua | 12 | 1044 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: Clay
-- Involved in Quest: A Potter's Preference
-- !pos 117 -21 432 196
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/quests");
require("scripts/globals/settings");
local ID = require("scripts/zones/Gus... | gpl-3.0 |
destdev/ygopro-scripts | c2980764.lua | 7 | 1130 | --聖なるあかり
function c2980764.initial_effect(c)
--battle
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_AVOID_BATTLE_DAMAGE)
e1:SetValue(c2980764.tglimit)
c:RegisterEffect(e1)
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_INDESTRUCTABLE_BATTLE)
... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Apollyon/mobs/Kaiser_Behemoth.lua | 4 | 1445 | -----------------------------------
-- Area: Apollyon NW
-- NPC: Kaiser Behemoth
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Apollyon/TextIDs");
------------------... | gpl-3.0 |
Kong/kong | kong/plugins/http-log/schema.lua | 1 | 2445 | local typedefs = require "kong.db.schema.typedefs"
local url = require "socket.url"
return {
name = "http-log",
fields = {
{ protocols = typedefs.protocols },
{ config = {
type = "record",
fields = {
-- NOTE: any field added here must be also included in the handler's get_queue_id... | apache-2.0 |
Deadwing888/darkstar | scripts/zones/Caedarva_Mire/npcs/qm4.lua | 30 | 1332 | -----------------------------------
-- Area: Caedarva Mire
-- NPC: ??? (Spawn Tyger(ZNM T4))
-- @pos -766 -12 632 79
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Caedarva_Mire/TextIDs");
require("scripts/glob... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/Rabao/npcs/Irmilant.lua | 9 | 3154 | -----------------------------------
-- Area: Rabao
-- NPC: Irmilant
-- Starts and Ends Quests: The Immortal Lu Shang and Indomitable Spirit
-----------------------------------
require("scripts/globals/titles")
require("scripts/globals/settings")
require("scripts/globals/quests")
require("scripts/globals/npc_util")
req... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/items/plate_of_dorado_sushi_+1.lua | 11 | 1401 | -----------------------------------------
-- ID: 5179
-- Item: plate_of_dorado_sushi_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Dexterity 5
-- Accuracy % 16
-- Accuracy Cap 76
-- Ranged ACC % 16
-- Ranged ACC Cap 76
-- Sleep Resist 2
-- Enmity 5
------------------------------------... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/Port_Jeuno/npcs/Joachim.lua | 9 | 3674 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Joachim
-- !pos -52.844 0.000 -9.978 246
-- CS/Event ID's:
-- 324 = on zoning in
-- 325 = 1st chat, get 1st stone,
-- completes "A Journey Begins"
-- 326 = Limited Menu
-- 327 = CS after "The Truth Beckons" completed.
-- 328 = Full Menu
-- 331 = CS after ... | gpl-3.0 |
destdev/ygopro-scripts | c36076683.lua | 2 | 1860 | --No.73 激瀧神アビス・スプラッシュ
function c36076683.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsAttribute,ATTRIBUTE_WATER),5,2)
c:EnableReviveLimit()
--atkup
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(36076683,0))
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFE... | gpl-2.0 |
X-Coder/spacebuild | lua/caf/stools/ls3_receptacles/extra_h_storage.lua | 4 | 1169 | DEVICEGROUP.type = "storage_gas_h"
--[[
You can also use skin = number here to define a skin to make the Module spawn with
You can also use material = "path/to/material" to set a material to make it spawn with
]]
DEVICEGROUP.devices = {
add_one = {
Name = "CE Small Hydrogen Storage",
model = "mo... | apache-2.0 |
destdev/ygopro-scripts | c78651105.lua | 2 | 2325 | --神獣王バルバロス
function c78651105.initial_effect(c)
--summon & set with no tribute
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(78651105,0))
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SUMMON_PROC)
e1:SetCondition(c78651105.ntcon)
e1:SetOperation(c78651105.ntop)
c:RegisterEffect(e1)
local e2... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Castle_Oztroja_[S]/Zone.lua | 28 | 1334 | -----------------------------------
--
-- Zone: Castle_Oztroja_[S] (99)
--
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Castle_Oztroja_[S]/TextIDs");
----... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Northern_San_dOria/npcs/Heruze-Moruze.lua | 13 | 1909 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Heruze-Moruze
-- Involved in Mission: 2-3 Windurst
-- @pos -56 -3 36 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems"... | gpl-3.0 |
w86021702/svr_demo | 3rd/skynet/lualib/socketchannel.lua | 13 | 10604 | local skynet = require "skynet"
local socket = require "socket"
local socketdriver = require "socketdriver"
-- channel support auto reconnect , and capture socket error in request/response transaction
-- { host = "", port = , auth = function(so) , response = function(so) session, data }
local socket_channel = {}
loca... | mit |
destdev/ygopro-scripts | c54702678.lua | 6 | 2257 | --極戦機王ヴァルバロイド
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 |
LGCaerwyn/QSanguosha-Para-tangjs520-LGCaerwyn | extension-doc/11-Fundamentals.lua | 15 | 9150 | --[[
大家好我是 William915。
从这个文件开始讲解AI的编写方法。
三国杀的 AI 由太阳神上与 hypercross 共同编写。
之后经过他们及 donle,宇文天启和本人的发展。
本文档针对的 AI 稳定版本为 V0.7 Patch 2(20120201,c11f5ace8)。
在论坛上可以看到反馈 AI 的问题的帖子远比反映程序的问题的帖子要多得多,这表明了 AI 的复杂性。
熟悉 AI 发展历史的朋友一定知道有那么一段时间 AI 常常会改好了这个又坏了那个,
这是因为影响 AI 表现的因素太多。
一言以蔽之,AI 编写与修改是牵一发而动全身的。
目前的 AI 架构还不完善,随着架构的逐步完善文档也会逐步的调... | lgpl-3.0 |
destdev/ygopro-scripts | c88071625.lua | 2 | 3669 | --The tyrant NEPTUNE
function c88071625.initial_effect(c)
--cannot special summon
local e1=Effect.CreateEffect(c)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SPSUMMON_CONDITION)
e1:SetValue(aux.FALSE)
c:RegisterEffect(e1)
--summon/set with 1... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Mhaura/npcs/Tya_Padolih.lua | 13 | 1471 | -----------------------------------
-- Area: Mhaura
-- NPC: Tya Padolih
-- Standard Merchant NPC
-- @pos -48 -4 30 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/zones/Mhaur... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Aydeewa_Subterrane/npcs/qm1.lua | 30 | 1345 | -----------------------------------
-- Area: Aydeewa Subterrane
-- NPC: ??? (Spawn Nosferatu(ZNM T3))
-- @pos -199 8 -62 68
-----------------------------------
package.loaded["scripts/zones/Aydeewa_Subterrane/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aydeewa_Subterrane/TextIDs");
requ... | gpl-3.0 |
maikerumine/grieftest | mods/farming/carrot.lua | 12 | 2437 |
--[[
Original textures from PixelBox texture pack
https://forum.minetest.net/viewtopic.php?id=4990
]]
local S = farming.intllib
-- carrot
minetest.register_craftitem("farming:carrot", {
description = S("Carrot"),
inventory_image = "farming_carrot.png",
on_place = function(itemstack, placer, pointed_thing)
ret... | lgpl-2.1 |
simonfork/aquaria | game_scripts/scripts/entities/licage.lua | 5 | 5949 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria is free software; you can redistribute it and/or
-- modify it under the terms of the GNU General Public License
-- as published by the Free Software Foundation; either version 2
-- of the License, or (at your option) any later vers... | gpl-2.0 |
angt/overthebox | feeds/luci/applications/luci-app-watchcat/luasrc/model/cbi/watchcat/watchcat.lua | 30 | 1901 | -- Copyright 2012 Christian Gagneraud <chris@techworks.ie>
-- Licensed to the public under the Apache License 2.0.
m = Map("system",
translate("Watchcat"),
translate("Watchcat allows configuring a periodic reboot when the " ..
"Internet connection has been lost for a certain period of time."
))
s = m:secti... | gpl-3.0 |
RwNigma/darkstar | scripts/globals/spells/armys_paeon.lua | 31 | 1391 | -----------------------------------------
-- Spell: Army's Paeon
-- Gradually restores target's HP.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(c... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Selbina/Zone.lua | 14 | 2596 | -----------------------------------
--
-- Zone: Selbina (248)
--
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/zone");
require("scripts/globals/shop");
require("scripts/globals/... | gpl-3.0 |
destdev/ygopro-scripts | c52340274.lua | 1 | 1479 | --ギャラクシー・クィーンズ・ライト
function c52340274.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c52340274.target)
e1:SetOperation(c52340274.activate)
c:RegisterEffect(e1)
end
function c52340274.... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Davoi/npcs/Quemaricond.lua | 13 | 1872 | -----------------------------------
-- Area: Davoi
-- NPC: Quemaricond
-- Involved in Mission: Infiltrate Davoi
-- @pos 23 0.1 -23 149
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/glob... | gpl-3.0 |
Kong/kong | kong/api/routes/health.lua | 1 | 1989 | local utils = require "kong.tools.utils"
local declarative = require "kong.db.declarative"
local tonumber = tonumber
local kong = kong
local knode = (kong and kong.node) and kong.node or
require "kong.pdk.node".new()
local dbless = kong.configuration.database == "off"
local data_plane_role = kong.con... | apache-2.0 |
Deadwing888/darkstar | scripts/commands/addmission.lua | 3 | 1143 | ---------------------------------------------------------------------------------------------------
-- func: @addmission <logID> <missionID> <player>
-- desc: Adds a mission to the GM or target players log.
---------------------------------------------------------------------------------------------------
cmdprops =
{... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/items/hedgehog_pie.lua | 11 | 1828 | -----------------------------------------
-- ID: 5146
-- Item: hedgehog_pie
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health 55
-- Strength 6
-- Vitality 2
-- Intelligence -3
-- Mind 3
-- Magic Regen While Healing 2
-- Health Regen While Healing 2
-- Attack % 18
-- Attack Cap 90
-- ... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/The_Eldieme_Necropolis_[S]/npcs/Turbulent_Storm.lua | 21 | 1898 | -----------------------------------
-- Area: The Eldieme Necropolis [S]
-- NPC: Turbulent Storm
-- Note: Starts Quest "The Fighting Fourth"
-- @pos 422.461 -48.000 175
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis_[S]/TextIDs"] = nil;
---------------------------------... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Outer_Horutoto_Ruins/npcs/_5ei.lua | 17 | 3315 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: Ancient Magical Gizmo #5 (I out of E, F, G, H, I, J)
-- Involved In Mission: The Heart of the Matter
-----------------------------------
package.loaded["scripts/zones/Outer_Horutoto_Ruins/TextIDs"] = nil;
---------------------------------... | gpl-3.0 |
destdev/ygopro-scripts | c41234315.lua | 6 | 1773 | --フェイク・エクスプロージョン・ペンタ
function c41234315.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_ATTACK_ANNOUNCE)
e1:SetCondition(c41234315.condition)
e1:SetOperation(c41234315.activate)
c:RegisterEffect(e1)
end
functi... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/globals/spells/valor_minuet.lua | 10 | 1497 | -----------------------------------------
-- Spell: Valor Minuet
-- Grants Attack bonus to all allies.
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)
return 0
end
... | gpl-3.0 |
destdev/ygopro-scripts | c56673480.lua | 2 | 3076 | --ドン・サウザンドの契約
function c56673480.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DRAW)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,56673480+EFFECT_COUNT_CODE_OATH)
e1:SetTarget(c56673480.target)
e1:SetOperation(c56673480.activate)
c:Regi... | gpl-2.0 |
aboasola/the3tetoo | plugins/delete.lua | 1 | 1641 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ Team name : ( the tetoo ▄▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ File name : ( #deletemsg ) ▀▄ ▄▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ Guenat team: ( @no_no2 ▀▄ ▄▀
▀... | gpl-2.0 |
destdev/ygopro-scripts | c35058857.lua | 1 | 2793 | --奇術王 ムーン・スター
function c35058857.initial_effect(c)
--synchro limit
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CANNOT_BE_SYNCHRO_MATERIAL)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetValue(c35058857.synlimit)
c:RegisterEffect(e1)
--special summon
... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/zones/Windurst_Waters/npcs/Tosuka-Porika.lua | 9 | 5808 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Tosuka-Porika
-- Starts Quests: Early Bird Catches the Bookworm, Chasing Tales
-- Involved in Quests: Hat in Hand, Past Reflections, Blessed Radiance
-- Involved in Missions: Windurst 2-1, Windurst 7-1, Windurst 8-2, CoP 3-3
-- !pos -26 -6 103 238
... | gpl-3.0 |
RwNigma/darkstar | scripts/globals/weaponskills/resolution.lua | 30 | 1697 | -----------------------------------
-- Resolution
-- Great Sword weapon skill
-- Skill Level: 357
-- Delivers a fivefold attack. Damage varies with TP.
-- In order to obtain Resolution, the quest Martial Mastery must be completed.
-- This Weapon Skill's first hit params.ftp is duplicated for all additional hits.
... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Cape_Teriggan/npcs/Bright_Moon.lua | 17 | 1865 | -----------------------------------
-- 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... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/Balgas_Dais/bcnms/rapid_raptors.lua | 9 | 1061 | -----------------------------------
-- Rapid Raptors
-- Balga's Dais BCNM50, Comet Orb
-- !additem 1177
-----------------------------------
require("scripts/globals/battlefield")
-----------------------------------
function onBattlefieldInitialise(battlefield)
battlefield:setLocalVar("loot", 1)
end
function onBat... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/West_Sarutabaruta_[S]/Zone.lua | 27 | 1290 | -----------------------------------
--
-- Zone: West_Sarutabaruta_[S] (95)
--
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/West_Sarutabaruta_[S]/TextIDs");
------... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/RongeloutsNDistaud.lua | 13 | 1627 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Rongelouts N Distaud
-- @zone 80
-- @pos 0.067 2 -22
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
require("scripts/globals/ques... | gpl-3.0 |
destdev/ygopro-scripts | c70939418.lua | 2 | 3763 | --SR-OMKガム
function c70939418.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(70939418,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY)
e1:SetCode(EVENT_DAMAG... | gpl-2.0 |
destdev/ygopro-scripts | c12923641.lua | 2 | 1772 | --闇の護封剣
function c12923641.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_POSITION)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c12923641.target)
e1:SetOperation(c12923641.activate)
c:RegisterEffect(e1)
--cannot change position
local e2=Effe... | gpl-2.0 |
etown/sysdig | userspace/sysdig/chisels/spy_users.lua | 10 | 6575 | --[[
Copyright (C) 2013-2014 Draios inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without e... | gpl-2.0 |
destdev/ygopro-scripts | c24672164.lua | 4 | 2085 | --幻奏の華歌聖ブルーム・プリマ
function c24672164.initial_effect(c)
--fusion material
c:EnableReviveLimit()
aux.AddFusionProcFunFunRep(c,aux.FilterBoolFunction(Card.IsFusionSetCard,0x109b),aux.FilterBoolFunction(Card.IsFusionSetCard,0x9b),1,63,true)
--summon success
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Abyssea-Vunkerl/npcs/qm13.lua | 17 | 1730 | -----------------------------------
-- Zone: Abyssea-Vunkeral
-- NPC: ???
-- Spawns: Bukhis
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/keyitems");
-----------------------------------
-- onTrigger Action
-----------------------------------
function onTrigger(playe... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/The_Garden_of_RuHmet/mobs/Aw_euvhi.lua | 28 | 2568 | -----------------------------------
-- Area: The Garden of Ru'Hmet
-- NPC: Aw'Euvhi
-----------------------------------
require("scripts/globals/magic");
require("scripts/globals/status");
-----------------------------------
-- onMobSpawn Action
-- Set a random animation when it spawns
------------------------------... | gpl-3.0 |
RwNigma/darkstar | scripts/globals/items/serving_of_mushroom_sautee.lua | 35 | 1309 | -----------------------------------------
-- ID: 5676
-- Item: serving_of_mushroom_sautee
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- MP 60
-- Mind 6
-- MP Recovered While Healing 6
-----------------------------------------
require("scripts/globals/status");
--------------... | gpl-3.0 |
destdev/ygopro-scripts | c24696097.lua | 1 | 4636 | --シューティング・スター・ドラゴン
function c24696097.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsSynchroType,TYPE_SYNCHRO),aux.FilterBoolFunction(Card.IsCode,44508094),1,1)
c:EnableReviveLimit()
--multi attack
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(24696097,... | gpl-2.0 |
mehrpouya81/tele_gold | plugins/getlink.lua | 44 | 14362 | do
--developed by @i9Dev
local function create_group(msg)
-- superuser and admins only (because sudo are always has privilege)
if not is_admin(msg) then
return "Você não é um Administrador."
end
local group_creator = msg.from.print_name
create_group_chat (group_creator, group_name, ok_cb, false)
return ... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/zones/Castle_Zvahl_Keep/Zone.lua | 12 | 2910 | -----------------------------------
--
-- Zone: Castle_Zvahl_Keep (162)
--
-----------------------------------
local ID = require("scripts/zones/Castle_Zvahl_Keep/IDs")
require("scripts/globals/conquest")
require("scripts/globals/treasure")
-----------------------------------
function onInitialize(zone)
zone:regis... | gpl-3.0 |
fodinabor/Polycode | bindings/lua/Polycode/GlyphData.lua | 1 | 1124 | class "GlyphData"
function GlyphData:__getvar(name)
if name == "num_glyphs" then
local retVal = Polycode.GlyphData_get_num_glyphs(self.__ptr)
if retVal == nil then return nil end
local __c = _G["FT_UInt"]("__skip_ptr__")
__c.__ptr = retVal
return __c
elseif name == "trailingAdvance" then
return Polycode... | mit |
ffxijuggalo/darkstar | scripts/zones/Lower_Jeuno/npcs/Zalsuhm.lua | 9 | 4038 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Zalsuhm
-- Standard Info NPC
-----------------------------------
local ID = require("scripts/zones/Lower_Jeuno/IDs")
require("scripts/globals/equipment")
require("scripts/globals/npc_util")
require("scripts/globals/quests")
require("scripts/globals/statu... | gpl-3.0 |
RwNigma/darkstar | scripts/globals/weaponskills/drakesbane.lua | 18 | 4565 | -----------------------------------
-- Drakesbane
-- Polearm weapon skill
-- Skill level: N/A
-- Delivers a fourfold attack. Chance of params.critical hit varies with TP. Ryunohige: Aftermath effect varies with TP.
-- Available only after completing the Unlocking a Myth (Dragoon) quest.
-- Aligned with the Flame ... | gpl-3.0 |
fodinabor/Polycode | bindings/lua/Polycode/SceneRenderTexture.lua | 1 | 1187 | class "SceneRenderTexture"
function SceneRenderTexture:__getvar(name)
if name == "enabled" then
return Polycode.SceneRenderTexture_get_enabled(self.__ptr)
end
end
function SceneRenderTexture:__setvar(name,value)
if name == "enabled" then
Polycode.SceneRenderTexture_set_enabled(self.__ptr, value)
return true... | mit |
ffxijuggalo/darkstar | scripts/zones/Northern_San_dOria/npcs/Eperdur.lua | 11 | 5259 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Eperdur
-- Starts and Finishes Quest: Altana's Sorrow (finish), Acting in Good Faith (finish), Healing the Land,
-- !pos 129 -6 96 231
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/titles");
req... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Temple_of_Uggalepih/npcs/qm8.lua | 16 | 1633 | -----------------------------------
-- Area: Temple of Uggalepih (159)
-- NPC: qm8 (???)
-- Notes: Used to spawn Habetrot
-- @pos -57.434 -8.484 55.317 0
-----------------------------------
package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/T... | gpl-3.0 |
Deadwing888/darkstar | scripts/globals/spells/bluemagic/magic_fruit.lua | 27 | 1743 | -----------------------------------------
-- Spell: Magic Fruit
-- Restores HP for the target party member
-- Spell cost: 72 MP
-- Monster Type: Beasts
-- Spell Type: Magical (Light)
-- Blue Magic Points: 3
-- Stat Bonus: CHR+1 HP+5
-- Level: 58
-- Casting Time: 3.5 seconds
-- Recast Time: 6 seconds
--
-- Combos: Resi... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Ifrits_Cauldron/npcs/qm4.lua | 13 | 1522 | -----------------------------------
-- Area: Ifrit's Cauldron
-- NPC: ???
-- Involved in Mission: Bastok 6-2
-- @pos 171 0 -25 205
-----------------------------------
package.loaded["scripts/zones/Ifrits_Cauldron/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("script... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Kuftal_Tunnel/npcs/qm6.lua | 19 | 1693 | -----------------------------------
-- Area: Kuftal Tunnel
-- NPC: ???
-- Involved in Mission: Bastok 8-2
-----------------------------------
package.loaded["scripts/zones/Kuftal_Tunnel/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions");
requi... | gpl-3.0 |
ccubed/LOTJMushclientPlugins | Code/Engineering_Automator.lua | 1 | 4582 | -- Engineering Automator 2.0
-- Engineering Script
-- Made by CCubed AKA Gizmo
-- Purpose: Simple automator for tasks. Allows you to continue to make an item after sux, sux fail or initial fail messages.
-- Not meant for Armor or buildship. Will stop once it hits a no materials left message
-- Stack: Stores command g... | gpl-2.0 |
simonfork/aquaria | game_scripts/scripts/maps/_unused/node_vedhacave1.lua | 6 | 1342 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria is free software; you can redistribute it and/or
-- modify it under the terms of the GNU General Public License
-- as published by the Free Software Foundation; either version 2
-- of the License, or (at your option) any later vers... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Norg/npcs/Shivivi.lua | 17 | 3212 | -----------------------------------
-- Area: Norg
-- NPC: Shivivi
-- Starts Quest: Secret of the Damp Scroll
-- @zone 252
-- @pos 68.729 -6.281 -6.432
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings"... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/VeLugannon_Palace/Zone.lua | 13 | 2000 | -----------------------------------
--
-- Zone: VeLugannon_Palace (177)
--
-----------------------------------
package.loaded["scripts/zones/VeLugannon_Palace/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/VeLugannon_Pal... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/items/bunch_of_gysahl_greens.lua | 11 | 1412 | -----------------------------------------
-- ID: 4545
-- Item: Bunch of Gysahl Greens
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility +3
-- Vitality -5
-- Additional Effect with Chocobo Shirt
-- Agility +10
-----------------------------------------
require("scripts/globals/status")
... | gpl-3.0 |
Kong/kong | spec/02-integration/10-go_plugins/01-reports_spec.lua | 1 | 5046 | local helpers = require "spec.helpers"
local constants = require "kong.constants"
local cjson = require "cjson"
local pl_file = require "pl.file"
for _, strategy in helpers.each_strategy() do
local admin_client
local dns_hostsfile
local reports_server
describe("anonymous reports for go plugins #" .. strategy,... | apache-2.0 |
Kong/kong | kong/cache/marshall.lua | 1 | 2016 | -------------------------------------------------------------------------------
-- NOTE: the following is copied from lua-resty-mlcache: --
------------------------------------------------------------------------ cut --
local codec
do
local pok
pok, codec = pcall(require, "string.buffer")
if n... | apache-2.0 |
punchmonster/izana | app.lua | 1 | 3708 | -- libraries
local lapis = require('lapis')
local db = require('lapis.db')
local util = require('lapis.util')
local csrf = require('lapis.csrf')
local md5 = require('lib.md5')
-- error capturing
local capture_errors = require('lapis.application').capture_errors
-- define app
local app = lapis.Application()
... | mit |
destdev/ygopro-scripts | c3146695.lua | 2 | 2118 | --サイコ・リアクター
function c3146695.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCondition(c3146695.regcon)
e1:SetOperation(c3146695.regop)
c:RegisterEffect(e1)
end
function c3146695.cfilter(c)
return c:IsFaceup() and c:IsRace(R... | gpl-2.0 |
destdev/ygopro-scripts | c88123329.lua | 9 | 1399 | --精霊獣 ラムペンタ
function c88123329.initial_effect(c)
c:SetSPSummonOnce(88123329)
--tohand
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_REMOVE+CATEGORY_TOGRAVE)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetTarget(c88123329.target)
e1:SetOperation(c88123329.operat... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/AlTaieu/npcs/HomePoint#2.lua | 29 | 1244 | -----------------------------------
-- Area: AlTaieu
-- NPC: HomePoint#2
-- @pos -532 0 447 33
-----------------------------------
package.loaded["scripts/zones/AlTaieu/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/AlTaieu/TextIDs");
require("scripts/globals/homepoint");
-------------... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/Heavens_Tower/npcs/Chumimi.lua | 8 | 6343 | -----------------------------------
-- Area: Heaven's Tower
-- NPC: Chumimi
-- Starts and Finishes Quest: The Three Magi, Recollections
-- !pos 0.1 30 21 242
-----------------------------------
local ID = require("scripts/zones/Heavens_Tower/IDs")
require("scripts/globals/keyitems")
require("scripts/globals/settings")... | gpl-3.0 |
destdev/ygopro-scripts | c42925441.lua | 1 | 6352 | --フォトン・チェンジ
function c42925441.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMING_END_PHASE)
e1:SetTarget(c42925441.target)
c:RegisterEffect(e1)
--effect
local e4=Effect.CreateEffect(c)
e4:SetDescription(aux.Stri... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/zones/Southern_San_dOria/npcs/Raminel.lua | 9 | 4533 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Raminel
-- Involved in Quests: Riding on the Clouds
-- !pos -56 2 -21 230
-----------------------------------
local ID = require("scripts/zones/Southern_San_dOria/IDs");
require("scripts/globals/keyitems");
require("scripts/globals/pathfind");
re... | gpl-3.0 |
RwNigma/darkstar | scripts/globals/mobskills/Aerial_Collision.lua | 25 | 1198 | ---------------------------------------------
-- Aerial Collusion
-- Description: Cone Attack damage and Defense Down, strips Utsusemi (MOBPARAM_WIPE_SHADOWS)
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstert... | gpl-3.0 |
Skn0x/BolScripts | GragasMechanics.lua | 19 | 21101 | --[[
_____ _____ __ .__
/ \_______ / _ \________/ |_|__| ____ __ __ ____ ____
/ \ / \_ __ \ / /_\ \_ __ \ __\ |/ ___\| | \/ \ / _ \
/ Y \ | \/ / | \ | \/| | | \ \___| | / | ( <_> )
\____|__ /__| \___... | gpl-2.0 |
Deadwing888/darkstar | scripts/globals/weaponskills/kings_justice.lua | 6 | 1777 | -----------------------------------
-- Kings Justice
-- Great Axe weapon skill
-- Skill Level: N/A
-- Delivers a threefold attack. Damage varies with TP. Conqueror: Aftermath effect varies with TP.
-- Available only after completing the Unlocking a Myth (Warrior) quest.
-- Aligned with the Breeze Gorget, Thunder Gorget... | gpl-3.0 |
ho3einkj/antispam | plugins/lock_eng.lua | 15 | 1103 |
antienglish = {}-- An empty table for solving multiple kicking problem
do
local function run(msg, matches)
if msg.to.type == 'chat' then
if is_momod(msg) then -- Ignore mods,owner,admins
return
end
local data = load_data(_config.moderation.data)
if data[tostring(msg.to.id)]['settings']['lock_eng'] then
... | gpl-2.0 |
RwNigma/darkstar | scripts/globals/items/serving_of_newt_flambe.lua | 35 | 1565 | -----------------------------------------
-- ID: 4329
-- Item: serving_of_newt_flambe
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Dexterity 4
-- Mind -3
-- Attack % 18
-- Attack Cap 65
-- Virus Resist 5
-- Curse Resist 5
-----------------------------------------
require(... | gpl-3.0 |
Deadwing888/darkstar | scripts/globals/spells/aquaveil.lua | 24 | 1381 | -----------------------------------------
-- Spell: Aquaveil
-- Reduces chance of having a spell interrupted.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
---... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Carpenters_Landing/npcs/Logging_Point.lua | 13 | 1080 | -----------------------------------
-- Area: Carpenters Landing
-- NPC: Logging Point
-----------------------------------
package.loaded["scripts/zones/Carpenters_Landing/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/logging");
require("scripts/zones/Carpenters_Landing/TextIDs");
... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.