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 |
|---|---|---|---|---|---|
omidtarh/fbot | plugins/groupmanager.lua | 166 | 11272 | -- 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 not is_admin(msg) then
return "You're not admin!"
end
local group_creator = msg.from.print_name
create_group_chat (group_cr... | gpl-2.0 |
alishbully6528/htm | plugins/groupmanager.lua | 166 | 11272 | -- 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 not is_admin(msg) then
return "You're not admin!"
end
local group_creator = msg.from.print_name
create_group_chat (group_cr... | gpl-2.0 |
Shayan123456/botttttt6 | plugins/isX.lua | 38 | 2032 | 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 |
Turttle/darkstar | scripts/globals/items/candy_cane.lua | 36 | 1234 | -----------------------------------------
-- ID: 5622
-- Item: Candy Cane
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- Intelligence 4
-- Mind 4
-- MP Recovery while healing 2
-----------------------------------------
require("scripts/globals/status");
---------------------------------... | gpl-3.0 |
Turttle/darkstar | scripts/zones/Quicksand_Caves/npcs/_5sa.lua | 17 | 1273 | -----------------------------------
-- Area: Quicksand Caves
-- NPC: Ornate Door
-- Door blocked by Weight system
-- @pos -418 0 790 208
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Quicksand_Cave... | gpl-3.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c76136345.lua | 5 | 3631 | --転回操車
function c76136345.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--spsummon
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(76136345,0))
e2:SetCategory(CATEGORY_SPECIAL_SUMMON)
e2:SetType(EF... | gpl-2.0 |
Turttle/darkstar | scripts/zones/The_Celestial_Nexus/npcs/_513.lua | 19 | 1399 |
-----------------------------------
-- Area: Celestial Nexus
-- NPC: _515
-----------------------------------
package.loaded["scripts/zones/The_Celestial_Nexus"] = nil;
package.loaded["scripts/globals/bcnm"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/quests")... | gpl-3.0 |
dickeyf/darkstar | scripts/globals/effects/healing.lua | 1 | 1886 | -----------------------------------
--
-- EFFECT_HEALING
--
-- Activated through the /heal command
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
target:... | gpl-3.0 |
Turttle/darkstar | scripts/zones/Northern_San_dOria/npcs/Giaunne.lua | 17 | 1706 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Giaunne
-- Involved in Quest: Lure of the Wildcat (San d'Oria)
-- @pos -13 0 36 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scrip... | gpl-3.0 |
Ablu/ValyriaTear | dat/config/quests.lua | 1 | 1218 | -- this is a flat list of all the quest descriptions and their titles.
-- format should be as follows: ["unique_string_id"] = {"title", "description", completion_event_group, completion_event_name},
-- When the event value of the completion_event_name in the completion_event_group is equal to 1, the quest is considered... | gpl-2.0 |
tdzl2003/luaqt | modules/LuaQtHelper/LuaQtHelper.lua | 1 | 7429 | -- Copyright (C) 2013 tdzl2003.
-- Contact: https://github.com/tdzl2003/luaqt
-- This file is part of the LuaQt Toolkit source.
-- This file is licensed at BSD New license.
-- NOTICE:
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, ... | bsd-3-clause |
Turttle/darkstar | scripts/zones/Celennia_Memorial_Library/Zone.lua | 17 | 1350 | -----------------------------------
--
-- Zone: Celennia Memorial Library (284)
--
-----------------------------------
package.loaded["scripts/zones/Celennia_Memorial_Library/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Celennia_Memorial_Libr... | gpl-3.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c511000007.lua | 2 | 1448 | --Crowning of the Emperor
function c511000007.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:SetCost(c511000007.cost)
e1:SetTarget(c511000007.target)
e1:SetOperation(c511000007.operation)
c:Re... | gpl-2.0 |
openhatch/oh-mainline | vendor/packages/Pygments/tests/examplefiles/example.lua | 102 | 8677 | --[[
Auctioneer Advanced
Version: <%version%> (<%codename%>)
Revision: $Id: CoreMain.lua 2233 2007-09-25 03:57:33Z norganna $
URL: http://auctioneeraddon.com/
This is an addon for World of Warcraft that adds statistical history to the auction data that is collected
when the auction is scanned, so that you can ea... | agpl-3.0 |
dickeyf/darkstar | scripts/globals/items/warm_egg.lua | 18 | 1165 | -----------------------------------------
-- ID: 4602
-- Item: warm_egg
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Health 18
-- Magic 18
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-------------... | gpl-3.0 |
fgenesis/Aquaria_experimental | game_scripts/scripts/entities/eviljelly.lua | 6 | 4892 | -- 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 |
SalvationDevelopment/Salvation-Scripts-TCG | c76080032.lua | 5 | 2828 | --ZW-一角獣皇槍
function c76080032.initial_effect(c)
c:SetUniqueOnField(1,0,76080032)
--equip
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(76080032,0))
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCategory(CATEGORY_EQUIP)
e1:SetRange(LOCATION_HAND)
e1:SetCondition... | gpl-2.0 |
Yonaba/Allen | specs/allen_spec.lua | 1 | 18496 | local _ = require 'allen'
context('The module', function()
local array_equal
before(function()
array_equal = function(t1, t2)
for i,v in ipairs(t1) do
if v ~= t2[i] then return false end
end
return true
end
end)
context('capitalizeFirst', function()
test('caps the f... | mit |
SalvationDevelopment/Salvation-Scripts-TCG | c80102359.lua | 5 | 1132 | --強化人類サイコ
function c80102359.initial_effect(c)
--atkup
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(80102359,0))
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(2)
e1:SetCost(c80102359.cost)
e1:SetOperation(c80102359.operation)
... | gpl-2.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c4266839.lua | 2 | 2046 | --精神寄生体
function c4266839.initial_effect(c)
--damage
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(4266839,0))
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_BATTLE_CONFIRM)
e1:SetCondition(c4266839.eqcon)
e1:SetOperation(c4266839.eqop)
c:R... | gpl-2.0 |
dickeyf/darkstar | scripts/zones/Castle_Oztroja/npcs/_47k.lua | 13 | 1604 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47k (Torch Stand)
-- Notes: Opens door _472 near password #1
-- @pos -57.412 -1.864 -30.627 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c51616747.lua | 7 | 1234 | --ヌビアガード
function c51616747.initial_effect(c)
--todeck
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(51616747,0))
e1:SetCategory(CATEGORY_TODECK)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_BATTLE_DAMAGE)
e1:SetCondition(c5161674... | gpl-2.0 |
RussellHaley/lua-http | http/tls.lua | 2 | 31842 | local openssl_ctx = require "openssl.ssl.context"
local openssl_pkey = require "openssl.pkey"
local openssl_verify_param = require "openssl.x509.verify_param"
-- Detect if openssl was compiled with ALPN enabled
local has_alpn = openssl_ctx.new().setAlpnSelect ~= nil
-- OpenSSL did not always have hostname validation.... | mit |
Turttle/darkstar | scripts/globals/items/lungfish.lua | 18 | 1256 | -----------------------------------------
-- ID: 4315
-- Item: Lungfish
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity -2
-- Mind 4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
----------... | gpl-3.0 |
dickeyf/darkstar | scripts/zones/Halvung/npcs/qm1.lua | 15 | 1266 | -----------------------------------
-- Area: Halvung
-- NPC: ??? (Spawn Big Bomb)
-- @pos -233.830 13.613 286.714 62
-----------------------------------
package.loaded["scripts/zones/Halvung/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Halvung/TextIDs");
-------------------------------... | gpl-3.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c29669359.lua | 2 | 1978 | --No.61 ヴォルカザウルス
function c29669359.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,5,2)
c:EnableReviveLimit()
--destroy&damage
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY+CATEGORY_DAMAGE)
e1:SetDescription(aux.Stringid(29669359,0))
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(E... | gpl-2.0 |
dickeyf/darkstar | scripts/zones/Northern_San_dOria/npcs/Gilipese.lua | 13 | 1041 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Gilipese
-- Type: Standard Dialogue NPC
-- @zone: 231
-- @pos -155.088 0.000 120.300
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/TextIDs")... | gpl-3.0 |
Turttle/darkstar | scripts/zones/Beaucedine_Glacier/npcs/Rattling_Rain_IM.lua | 30 | 3071 | -----------------------------------
-- Area: Beaucedine Glacier
-- NPC: Rattling Rain, I.M.
-- Type: Border Conquest Guards
-- @pos -227.956 -81.475 260.442 111
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier/TextIDs"] = nil;
-----------------------------------
require("scripts/gl... | gpl-3.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c79606837.lua | 6 | 2804 | --虹光の宣告者
function c79606837.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1)
c:EnableReviveLimit()
--remove
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_SET_AVAILABLE)
e1:SetCode(EFFECT_TO_GRAVE_REDIRECT)
e1:SetRange(LOCATION_MZON... | gpl-2.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c39191307.lua | 9 | 1323 | --仮面竜
function c39191307.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(39191307,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_BATTLE_DESTROYED)
e1:SetCondition(c39191307.condition)
e1:SetTarge... | gpl-2.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c57319935.lua | 4 | 1910 | --エクシーズ熱戦!!
function c57319935.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DAMAGE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_BATTLE_DESTROYED)
e1:SetCondition(c57319935.condition)
e1:SetCost(c57319935.cost)
e1:SetTarget(c57319935.target)
e1:SetOperation(c5731993... | gpl-2.0 |
Turttle/darkstar | scripts/zones/Caedarva_Mire/Zone.lua | 30 | 1903 | -----------------------------------
--
-- Zone: Caedarva_Mire (79)
--
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/Caedarva_Mire... | gpl-3.0 |
Turttle/darkstar | scripts/zones/San_dOria-Jeuno_Airship/Zone.lua | 28 | 1461 | -----------------------------------
--
-- Zone: San_dOria-Jeuno_Airship
--
-----------------------------------
-----------------------------------
-- onInitialize
-----------------------------------
function onInitialize(zone)
end;
-----------------------------------
-- onZoneIn
---------------------... | gpl-3.0 |
dickeyf/darkstar | scripts/zones/Windurst_Woods/npcs/Pattsu-Yabittsu.lua | 13 | 1113 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Pattsu-Yabittsu
-- Warps players to Windurst Waters
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Windurst_Woods/TextIDs");
------... | gpl-3.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c85101097.lua | 2 | 2848 | --プリン隊
function c85101097.initial_effect(c)
--cannot release
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EFFECT_UNRELEASABLE_SUM)
e1:SetValue(1)
c:RegisterEffect(e1)
local e2=e1:Clone()
e2:SetCode(EFFECT_UNRELEA... | gpl-2.0 |
Turttle/darkstar | scripts/zones/Bastok_Markets/npcs/Zaira.lua | 36 | 1935 | -----------------------------------
-- Area: Batok Markets
-- NPC: Zaira
-- Standard Merchant NPC
--
-- Updated Aug-09-2013 by Zerahn, based on bgwiki and gamerescape
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
require("sc... | gpl-3.0 |
Turttle/darkstar | scripts/zones/Bastok_Markets/npcs/Rothais.lua | 36 | 1061 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Rothais
-- Involved in Quest: Gourmet
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
----------------------------... | gpl-3.0 |
eugeneia/snabb | lib/luajit/src/jit/vmdef.lua | 6 | 7062 | -- This is a generated file. DO NOT EDIT!
return {
bcnames = "ISLT ISGE ISLE ISGT ISEQV ISNEV ISEQS ISNES ISEQN ISNEN ISEQP ISNEP ISTC ISFC IST ISF ISTYPEISNUM MOV NOT UNM LEN ADDVN SUBVN MULVN DIVVN MODVN ADDNV SUBNV MULNV DIVNV MODNV ADDVV SUBVV MULVV DIVVV MODVV POW CAT KSTR KCDATAKSHORTKNUM... | apache-2.0 |
crazyhamedboy/telegrambot | plugins/plugins.lua | 257 | 4732 | do
-- Returns the key (index) in the config.enabled_plugins table
local function plugin_enabled( name )
for k,v in pairs(_config.enabled_plugins) do
if name == v then
return k
end
end
-- If not found
return false
end
-- Returns true if file exists in plugins folder
local function plugin_exists( ... | gpl-2.0 |
dscorbett/pygments | tests/examplefiles/lua/example.lua | 3 | 9184 | --[[
Auctioneer Advanced
Version: <%version%> (<%codename%>)
Revision: $Id: CoreMain.lua 2233 2007-09-25 03:57:33Z norganna $
URL: http://auctioneeraddon.com/
This is an addon for World of Warcraft that adds statistical history to the auction data that is collected
when the auction is scanned, so that you can ea... | bsd-2-clause |
Turttle/darkstar | scripts/zones/Sacrarium/npcs/qm2.lua | 17 | 1739 | -----------------------------------
-- Area: Sacrarium
-- NPC: qm2 (???)
-- Notes: Used to spawn Old Prof. Mariselle
-- @pos 102.669 -3.111 127.279 28
-----------------------------------
package.loaded["scripts/zones/Sacrarium/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Sacr... | gpl-3.0 |
dickeyf/darkstar | scripts/zones/Northern_San_dOria/npcs/Chaupire.lua | 13 | 1220 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Chaupire
-- Guild Merchant NPC: Woodworking Guild
-- @pos -174.476 3.999 281.854 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globa... | gpl-3.0 |
eugeneia/snabb | src/program/shm/shm.lua | 6 | 1625 | -- Use of this source code is governed by the Apache 2.0 license; see COPYING.
module(..., package.seeall)
local lib = require("core.lib")
local shm = require("core.shm")
local S = require("syscall")
local usage = require("program.shm.README_inc")
-- We must load any modules that register abstract shm types that we ... | apache-2.0 |
RussellHaley/lua-http | spec/h2_stream_spec.lua | 2 | 8104 | describe("http.h2_stream", function()
local h2_connection = require "http.h2_connection"
local h2_error = require "http.h2_error"
local new_headers = require "http.headers".new
local cqueues = require "cqueues"
local ca = require "cqueues.auxlib"
local cs = require "cqueues.socket"
local function new_pair()
lo... | mit |
Turttle/darkstar | scripts/zones/Caedarva_Mire/npcs/Nuimahn.lua | 19 | 1335 | -----------------------------------
-- Area: Caedarva Mire
-- NPC: Nuimahn
-- Type: Alzadaal Undersea Ruins
-- @pos -380 0 -381 79
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts... | gpl-3.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c31036355.lua | 5 | 1526 | --強制転移
function c31036355.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_CONTROL)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c31036355.target)
e1:SetOperation(c31036355.activate)
c:RegisterEffect(e1)
end
function c31036355.target(e,tp,eg,ep,e... | gpl-2.0 |
Ablu/ValyriaTear | img/sprites/map/characters/bronann_run_unarmed.lua | 1 | 1993 | -- Sprite animation file descriptor
-- This file will describe the frames used to load the sprite animations
-- This files is following a special format compared to other animation scripts.
local ANIM_SOUTH = hoa_map.MapMode.ANIM_SOUTH;
local ANIM_NORTH = hoa_map.MapMode.ANIM_NORTH;
local ANIM_WEST = hoa_map.MapMode.... | gpl-2.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c79155167.lua | 6 | 1369 | --アーマーブラスト
function c79155167.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c79155167.target)
e1:SetOperation(c79155167.activate)
c:RegisterEffect(e... | gpl-2.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c64681432.lua | 2 | 3023 | --破壊竜ガンドラ
function c64681432.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)
c:RegisterEffect(e1)
--summon,flip
local e2=Effect.CreateEffect(c)
e2:Set... | gpl-2.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c45118716.lua | 2 | 1542 | --マジック・リサイクラー
function c45118716.initial_effect(c)
--todeck
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(45118716,0))
e1:SetCategory(CATEGORY_DECKDES+CATEGORY_TODECK)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_ATTACK_ANNOUNCE)
e... | gpl-2.0 |
dickeyf/darkstar | scripts/globals/items/bowl_of_yayla_corbasi_+1.lua | 18 | 1473 | -----------------------------------------
-- ID: 5580
-- Item: bowl_of_yayla_corbasi_+1
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- HP 25
-- Dexterity -1
-- Vitality 3
-- HP Recovered While Healing 5
-- MP Recovered While Healing 2
-----------------------------------------
require("scr... | gpl-3.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c59951714.lua | 5 | 2440 | --アドバンス・ディボーター
function c59951714.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)
c:RegisterEffect(e1)
--spsummon
local e2=Effect.CreateEffect(c)
e2:S... | gpl-2.0 |
mika6020/powerbot | libs/feedparser.lua | 543 | 11955 | local LOM = assert(require("lxp.lom"), "LuaExpat doesn't seem to be installed. feedparser kind of needs it to work...")
local XMLElement = (loadfile "./libs/XMLElement.lua")()
local dateparser = (loadfile "./libs/dateparser.lua")()
local URL = (loadfile "./libs/url.lua")()
local tinsert, tremove, tconcat = table.insert... | agpl-3.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c45644898.lua | 2 | 3098 | --青き眼の祭司
function c45644898.initial_effect(c)
--tohand
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(45644898,0))
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetT... | gpl-2.0 |
dickeyf/darkstar | scripts/globals/items/loaf_of_pumpernickel.lua | 18 | 1181 | -----------------------------------------
-- ID: 4591
-- Item: loaf_of_pumpernickel
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health 10
-- Vitality 2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemChec... | gpl-3.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c60741115.lua | 6 | 1688 | --ダメージ・イーター
function c60741115.initial_effect(c)
--
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(60741115,0))
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_CHAINING)
e1:SetRange(LOCATION_GRAVE)
e1:SetCondition(c60741115.condition)
e1:SetCost(c60741115.cost)
e1:SetOperation(c60741115.operat... | gpl-2.0 |
dickeyf/darkstar | scripts/zones/Temple_of_Uggalepih/TextIDs.lua | 13 | 2342 | -- 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 |
Turttle/darkstar | scripts/zones/Bastok_Markets/npcs/Umberto.lua | 38 | 1073 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Umberto
-- Type: Quest NPC
-- @zone: 235
-- @pos -56.896 -5 -134.267
--
-- Auto-Script: Requires Verification. Verified standard dialog - thrydwolf 12/18/2011
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextID... | gpl-3.0 |
dickeyf/darkstar | scripts/zones/Fort_Karugo-Narugo_[S]/npcs/Spondulix.lua | 13 | 1170 | -----------------------------------
-- Area: Fort Karugo-Narugo
-- NPC: Spondulix
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Fort_Karugo-Narugo_[S]/TextIDs"] = nil;
require("scripts/zones/Fort_Karugo-Narugo_[S]/TextIDs");
---------------... | gpl-3.0 |
Turttle/darkstar | scripts/zones/Eastern_Adoulin/Zone.lua | 34 | 1248 | -----------------------------------
--
-- Zone: Eastern Adoulin
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Eastern_Adoulin/TextIDs"] = nil;
require("scripts/zones/Eastern_Adoulin/TextIDs");
-----------------------------------
-- onInitialize... | gpl-3.0 |
Turttle/darkstar | scripts/globals/spells/sleep.lua | 18 | 1054 | -----------------------------------------
-- Spell: Sleep I
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,targ... | gpl-3.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c100000008.lua | 2 | 2712 | --時械神 ミチオン
function c100000008.initial_effect(c)
--cannot special summon
local e1=Effect.CreateEffect(c)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE+EFFECT_FLAG_SINGLE_RANGE)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetRange(LOCATION_DECK)
e1:SetCode(EFFECT_SPSUMMON_CONDITION)
c:RegisterEffect(e1)
... | gpl-2.0 |
Turttle/darkstar | scripts/zones/Ship_bound_for_Selbina/Zone.lua | 17 | 1638 | -----------------------------------
--
-- Zone: Ship_bound_for_Selbina (220)
--
-----------------------------------
package.loaded["scripts/zones/Ship_bound_for_Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("sc... | gpl-3.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c69832741.lua | 9 | 1245 | --霊魂消滅
--not fully implemented
function c69832741.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetOperation(c69832741.activate)
c:RegisterEffect(e1)
end
function c69832741.activate(e,tp,eg,ep,ev,re,r,rp)
local e1=Effect.CreateEffect... | gpl-2.0 |
dickeyf/darkstar | scripts/zones/Yhoator_Jungle/npcs/Guddal_IM.lua | 13 | 3321 | -----------------------------------
-- Area: Yhoator Jungle
-- NPC: Guddal, I.M.
-- Border Conquest Guards
-- @pos -84.113 -0.449 224.902 124
-----------------------------------
package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
requi... | gpl-3.0 |
dickeyf/darkstar | scripts/globals/items/death_scythe_+1.lua | 41 | 1069 | -----------------------------------------
-- ID: 16791
-- Item: Death Scythe +1
-- Additional Effect: Drains HP
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-------------------------------... | gpl-3.0 |
Turttle/darkstar | scripts/zones/Yhoator_Jungle/npcs/Ilieumort_RK.lua | 30 | 3052 | -----------------------------------
-- Area: Yhoator Jungle
-- NPC: Ilieumort, R.K.
-- Outpost Conquest Guards
-- @pos 200.254 -1 -80.324 124
-----------------------------------
package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
requi... | gpl-3.0 |
raminea/TeleMandy0113 | plugins/owners.lua | 1467 | 12478 |
local function lock_group_namemod(msg, data, target)
local group_name_set = data[tostring(target)]['settings']['set_name']
local group_name_lock = data[tostring(target)]['settings']['lock_name']
if group_name_lock == 'yes' then
return 'Group name is already locked'
else
data[tostring(target)]['setting... | gpl-2.0 |
patrikrm13/bostg | plugins/owners.lua | 1467 | 12478 |
local function lock_group_namemod(msg, data, target)
local group_name_set = data[tostring(target)]['settings']['set_name']
local group_name_lock = data[tostring(target)]['settings']['lock_name']
if group_name_lock == 'yes' then
return 'Group name is already locked'
else
data[tostring(target)]['setting... | gpl-2.0 |
sejbr/cqui | Assets/UI/PartialScreens/citystates.lua | 3 | 75956 | -- ===========================================================================
-- CityStates "Rundown" partial-screen
--
-- su·ze·rain (noun)
-- a sovereign or state having some control over another state that is
-- internally autonomous.
-- ==========================================================================... | mit |
dickeyf/darkstar | scripts/globals/abilities/quickstep.lua | 1 | 7935 | -----------------------------------
-- Ability: Quickstep
-- Lowers target's evasion. If successful, you will earn two Finishing Moves.
-- Obtained: Dancer Level 20
-- TP Required: 10%
-- Recast Time: 00:05
-- Duration: First Step lasts 1 minute, each following Step extends its current duration by 30 seconds.
---------... | gpl-3.0 |
Turttle/darkstar | scripts/zones/Tavnazian_Safehold/npcs/_0qa.lua | 17 | 2014 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: walnut door
-- Involved in mission 2-4
-- @pos 111 -41 41 26
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
... | gpl-3.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c46363422.lua | 4 | 2015 | --熟練の白魔導師
function c46363422.initial_effect(c)
c:EnableCounterPermit(0x1)
c:SetCounterLimit(0x1,3)
--add counter
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_FIELD)
e0:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e0:SetCode(EVENT_CHAINING)
e0:SetRange(LOCATION_MZONE)
e0:SetOperation... | gpl-2.0 |
fgenesis/Aquaria_experimental | game_scripts/scripts/entities/_unused/stresstest.lua | 6 | 2790 | -- 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 |
Turttle/darkstar | scripts/zones/Bastok_Mines/npcs/Black_Mud.lua | 36 | 2759 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Black Mud
-- Starts & Finishes Quest: Drachenfall
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/se... | gpl-3.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c67757079.lua | 2 | 1221 | --キング・オブ・ビースト
function c67757079.initial_effect(c)
c:SetUniqueOnField(1,1,67757079)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(67757079,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_HAND+LOCATION_GRAVE)
e1:SetProperty(EFFEC... | gpl-2.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c18060565.lua | 2 | 1964 | --ドラグニティ-プリムス・ピルス
function c18060565.initial_effect(c)
--equip
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(18060565,0))
e1:SetCategory(CATEGORY_EQUIP)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SU... | gpl-2.0 |
dickeyf/darkstar | scripts/zones/Abyssea-Uleguerand/npcs/Cavernous_Maw.lua | 29 | 1201 | -----------------------------------
-- Area: Abyssea - Uleguerand
-- NPC: Cavernous Maw
-- @pos -246.000, -40.600, -520.000 253
-- Notes: Teleports Players to Xarcabard
-----------------------------------
package.loaded["scripts/zones/Abyssea-Uleguerand/TextIDs"] = nil;
-----------------------------------
require("sc... | gpl-3.0 |
Turttle/darkstar | scripts/globals/items/serving_of_flounder_meuniere_+1.lua | 35 | 1657 | -----------------------------------------
-- ID: 4345
-- Item: serving_of_flounder_meuniere_+1
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Dexterity 6
-- Vitality 1
-- Mind -1
-- Ranged ACC 15
-- Ranged ATT % 14
-- Ranged ATT Cap 30
-- Enmity -3
---------------------------... | gpl-3.0 |
Turttle/darkstar | scripts/zones/La_Theine_Plateau/npcs/Chocobo_Tracks.lua | 17 | 1354 | -----------------------------------
-- Area: La Theine Plateau
-- NPC: Chocobo Tracks
-- Involved in quest: Chocobo on the Loose!
-- @pos -556 0 523 102
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("scripts/zo... | gpl-3.0 |
dickeyf/darkstar | scripts/globals/items/bunch_of_gysahl_greens.lua | 18 | 1601 | -----------------------------------------
-- 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 |
SalvationDevelopment/Salvation-Scripts-TCG | c79444933.lua | 9 | 1347 | --炎の魔精イグニス
function c79444933.initial_effect(c)
--damage
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(79444933,0))
e1:SetCategory(CATEGORY_DAMAGE)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCost(c79444933.damcost)
e1:SetTarget(... | gpl-2.0 |
dickeyf/darkstar | scripts/globals/items/timbre_timbers_salad.lua | 18 | 1459 | -----------------------------------------
-- ID: 4321
-- Item: timbre_timbers_salad
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Magic 20
-- Agility 5
-- Vitality -1
-- Ranged ACC % 8
-- Ranged ACC Cap 15
-----------------------------------------
require("scripts/globals/status");
--... | gpl-3.0 |
peposso/pretty.lua | pretty.lua | 2 | 5592 | local _G = _G -- noqa
local table, string, debug = table, string, debug
local type, pcall, pairs = type, pcall, pairs
local tostring = tostring
local print = print
local _M = {}
local config = {
typeorder = {
number=1, string=2, boolean=3, ['nil']=4,
},
stringmax = 127,
tablemax = 512,
depth = 1,
}
_M.c... | mit |
Ablu/ValyriaTear | img/sprites/map/npcs/npc_old_woman01_walk.lua | 2 | 1995 | -- Sprite animation file descriptor
-- This file will describe the frames used to load the sprite animations
-- This files is following a special format compared to other animation scripts.
local ANIM_SOUTH = hoa_map.MapMode.ANIM_SOUTH;
local ANIM_NORTH = hoa_map.MapMode.ANIM_NORTH;
local ANIM_WEST = hoa_map.MapMode.... | gpl-2.0 |
dickeyf/darkstar | scripts/zones/Yhoator_Jungle/npcs/Emila_RK.lua | 13 | 3324 | -----------------------------------
-- Area: Yhoator Jungle
-- NPC: Emila, R.K.
-- Border Conquest Guards
-- @pos -84.113 -0.449 224.902 124
-----------------------------------
package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
requir... | gpl-3.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c23434538.lua | 2 | 2362 | --増殖するG
function c23434538.initial_effect(c)
--draw
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(23434538,0))
e1:SetCategory(CATEGORY_DRAW)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,0x1c0)
e1:SetRange(LOCATION_HAND)
e1:SetCountLimit(1,23434538)
e1:SetCos... | gpl-2.0 |
drslow/love | plugins/anti_spam.lua | 417 | 3978 |
--An empty table for solving multiple kicking problem(thanks to @topkecleon )
kicktable = {}
do
local TIME_CHECK = 2 -- seconds
local data = load_data(_config.moderation.data)
-- Save stats, ban user
local function pre_process(msg)
-- Ignore service msg
if msg.service then
return msg
end
if msg.from.id =... | agpl-3.0 |
Shayan123456/botttttt6 | plugins/translate.lua | 674 | 1637 |
--[[
-- Translate text using Google Translate.
-- http://translate.google.com/translate_a/single?client=t&ie=UTF-8&oe=UTF-8&hl=en&dt=t&tl=en&sl=auto&text=hello
--]]
do
function translate(source_lang, target_lang, text)
local path = "http://translate.google.com/translate_a/single"
-- URL query parameters
local p... | gpl-2.0 |
eugeneia/snabb | lib/ljsyscall/syscall/linux/arm64/nr.lua | 24 | 5171 | -- arm64 syscall numbers are the new architecture defaults
-- so we could reuse this file for other architectures
-- note that there are some name differences for new 32 bit architectures
local nr = {
SYS = {
io_setup = 0,
io_destroy = 1,
io_submit = 2,
io_cancel = 3,
io_getevents = 4,
setxattr = 5,
ls... | apache-2.0 |
fgenesis/Aquaria_experimental | game_scripts/scripts/maps/node_sleep.lua | 1 | 2969 | -- 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 |
sejbr/cqui | Assets/UI/Panels/statusmessagepanel.lua | 1 | 23142 | -- ===========================================================================
-- Status Message Manager
-- Non-interactive messages that appear in the upper-center of the screen.
-- ===========================================================================
include( "InstanceManager" );
include( "SupportFunctions" );... | mit |
wljcom/vlc | share/lua/playlist/extreme.lua | 80 | 3883 | --[[
$Id$
Copyright © 2011 the VideoLAN team
Authors: Konstantin Pavlov (thresh@videolan.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 your opt... | gpl-2.0 |
eugeneia/snabb | lib/luajit/testsuite/test/trace/exit_frame.lua | 6 | 1280 | do --- global assignments !private_G
g = 0
gf = 1
gz = 2
local function f(i)
if i == 90 then
gf = gf + 1
return true
end
g = g + 1
end
local function z(i)
if f(i) then
gz = gz + 1
end
end
for j=1,5 do
for i=1,100 do z(i) end
end
assert(g == 495)
assert... | apache-2.0 |
Turttle/darkstar | scripts/zones/North_Gustaberg/npcs/Stone_Monument.lua | 32 | 1291 | -----------------------------------
-- Area: North Gustaberg
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- @pos -199.635 96.106 505.624 106
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil;
-----------------------------------
req... | gpl-3.0 |
LuaDist/oil | lua/luaidl/pre.lua | 3 | 3757 | --
-- Project: LuaIDL
-- Author: Ricardo Cosme <rcosme@tecgraf.puc-rio.br>
-- Filename: pre.lua
--
local error = error
local io = require "io"
local os = require "os"
local ipairs = ipairs
local pairs = pairs
local string = require "string"
local table = require "table"
local type = type
... | mit |
puug/kong | spec/unit/tools/responses_spec.lua | 1 | 4101 | local responses = require "kong.tools.responses"
local constants = require "kong.constants"
require "kong.tools.ngx_stub"
describe("Responses", function()
before_each(function()
mock(ngx, true) -- mock table with stubs.
end)
after_each(function()
ngx.ctx = {}
ngx.header = {}
-- Revert mocked f... | mit |
Turttle/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Koyol-Futenol.lua | 17 | 3807 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Koyol-Futenol
-- Title Change NPC
-- @pos -129 2 -20 50
-----------------------------------
require("scripts/globals/titles");
local title2 = { DARK_RESISTANT , BEARER_OF_THE_MARK_OF_ZAHAK , SEAGULL_PHRATRIE_CREW_MEMBER , PROUD_AUTOMA... | gpl-3.0 |
Turttle/darkstar | scripts/zones/Port_San_dOria/npcs/Solgierte.lua | 36 | 1375 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Solgierte
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Port_San_dOria/Tex... | gpl-3.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c38680149.lua | 6 | 1612 | --トラスト・マインド
function c38680149.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetLabel(0)
e1:SetCost(c38680149.cost)
e1:SetTarget(c38680149.target)
e1:SetOpera... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.