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 |
|---|---|---|---|---|---|
dickeyf/darkstar | scripts/zones/Norg/npcs/Marilleune.lua | 27 | 1730 | -----------------------------------
-- Area: Norg
-- NPC: Marilleune
-- Type: Chocobo Renter
-----------------------------------
require("scripts/globals/chocobo");
require("scripts/globals/keyitems");
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
-- onTr... | gpl-3.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c15335853.lua | 5 | 2779 | --幻獣機サーバルホーク
function c15335853.initial_effect(c)
--level
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EFFECT_UPDATE_LEVEL)
e1:SetValue(c15335853.lvval)
c:RegisterEffect(e1)
--
local e2=Effect.CreateEffect(c)
e2... | gpl-2.0 |
stupid-/tdm | gamemodes/tdm/gamemode/cl_scoreboard.lua | 1 | 12242 | --Based on the base scorebaord, with modifications.
surface.CreateFont( "ScoreboardDefault", {
font = "Helvetica",
size = 18,
weight = 800,
antialias = true,
blursize = 0.1
})
surface.CreateFont( "ScoreboardDefaultRank", {
font = "Helvetica",
size = 14,
weight = 800,
antialias = true,
blurs... | mit |
SalvationDevelopment/Salvation-Scripts-TCG | c60634565.lua | 2 | 1235 | --レプティレス・ラミア
function c60634565.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x3c),aux.NonTuner(nil),1)
c:EnableReviveLimit()
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(60634565,0))
e1:SetCategory(CATEGORY_DESTROY+CATEGORY_DRAW)
... | gpl-2.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c55256016.lua | 6 | 2078 | --アヌビスの裁き
function c55256016.initial_effect(c)
--Negate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_CHAINING)
e1:SetCondition(c55256016.condition)
e1:SetCost(c55256016.cost)
e1:SetTarget(c55256016.target)
e1:SetOperation(c55... | gpl-2.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c54537489.lua | 5 | 1742 | --タツノオトシオヤ
function c54537489.initial_effect(c)
--spsummon condition
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetCode(EFFECT_SPSUMMON_CONDITION)
e1:SetValue(c54537489.splimit)
c:RegisterEffect(e1)
--token
local e2=Effect... | gpl-2.0 |
dickeyf/darkstar | scripts/zones/Bastok_Mines/npcs/HomePoint#1.lua | 27 | 1269 | -----------------------------------
-- Area: Bastok Mines
-- NPC: HomePoint#1
-- @pos 39.189 0.001 -42.618 234
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Bastok_Mines/TextIDs");
require("scripts/globals/h... | gpl-3.0 |
Turttle/darkstar | scripts/zones/Port_Bastok/npcs/_6kt.lua | 61 | 1067 | -----------------------------------
-- Area: Port Bastok
-- NPC: Drawbridge
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-----------------------------------
-- onSpawn
-----------------------------------
function onSpawn(npc)
local elevator = {
... | gpl-3.0 |
Turttle/darkstar | scripts/zones/Gusgen_Mines/npcs/_5g5.lua | 34 | 1102 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: _5g5 (Door D)
-- @pos -4.001 -22.4 174.498 196
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Gusgen_Mines/TextIDs");
---------------... | gpl-3.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c11221418.lua | 2 | 4989 | --武神隠
function c11221418.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_REMOVE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetTarget(c11221418.target)
e1:SetOperation(c11221418.activate)
c:Regist... | gpl-2.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c55875323.lua | 2 | 1032 | --でんきトカゲ
function c55875323.initial_effect(c)
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(55875323,0))
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_BATTLED)
e1:SetCondition(c55875323.condition)
e1:SetOperation(c55875323.operation)
c:RegisterEffect(e1)
end
function c558... | gpl-2.0 |
lmanul/battery-widget | battery-widget.lua | 1 | 6713 | -- Battery widget
local awful = require("awful")
local gears = require("gears")
local wibox = require("wibox")
local timer = gears.timer or timer
local watch = awful.spawn and awful.spawn.with_line_callback
------------------------------------------
-- Private utility functions
--------------------------------------... | unlicense |
Death15/Mega-Tauch | plugins/giphy.lua | 633 | 1796 | -- Idea by https://github.com/asdofindia/telegram-bot/
-- See http://api.giphy.com/
do
local BASE_URL = 'http://api.giphy.com/v1'
local API_KEY = 'dc6zaTOxFJmzC' -- public beta key
local function get_image(response)
local images = json:decode(response).data
if #images == 0 then return nil end -- No images
loca... | gpl-2.0 |
Riverlance/kingdom-age-game-windows | modules/ka_client_audio/audio.lua | 1 | 5626 | _G.ClientAudio = { }
local ACTION_CHANNEL_PLAY = 0
local ACTION_CHANNEL_STOP = 1
local ACTION_CHANNEL_SETCHANNELAUDIOSGAIN = 2
local ACTION_CHANNEL_SETGAIN = 3
local ACTION_CHANNEL_STOPAUDIOS = 4
local ACTION_CHANNEL_AUDIOSSETGAIN = 5
local channels = {}... | mit |
Turttle/darkstar | scripts/globals/spells/poison.lua | 18 | 1379 | -----------------------------------------
-- Spell: Poison
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,t... | gpl-3.0 |
Turttle/darkstar | scripts/zones/The_Sanctuary_of_ZiTah/npcs/Cermet_Headstone.lua | 17 | 3454 | -----------------------------------
-- Area: The Sanctuary of Zi'Tah
-- NPC: Cermet Headstone
-- Involved in Mission: ZM5 Headstone Pilgrimage (Light Headstone)
-- @pos 235 0 280 121
-----------------------------------
package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil;
-----------------------... | gpl-3.0 |
Turttle/darkstar | scripts/zones/Temenos/mobs/Enhanced_Slime.lua | 16 | 1045 | -----------------------------------
-- Area: Temenos W T
-- NPC: Enhanced_Slime
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-----------------------... | gpl-3.0 |
Turttle/darkstar | scripts/zones/Yorcia_Weald/Zone.lua | 34 | 1237 | -----------------------------------
--
-- Zone: Yorcia Weald
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Yorcia_Weald/TextIDs"] = nil;
require("scripts/zones/Yorcia_Weald/TextIDs");
-----------------------------------
-- onInitialize
-------... | gpl-3.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c75830094.lua | 5 | 2149 | --ホルスの黒炎竜 LV4
function c75830094.initial_effect(c)
--battle destroy
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_BATTLE_DESTROYING)
e1:SetOperation(c75830094.bdop)
c:RegisterEffect(e1)
--control
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SIN... | gpl-2.0 |
LuaDist/oil | demo/adaptor/collector.lua | 4 | 1735 | local oo = require "oil.oo"
Collector = oo.class{}
function Collector:__init()
return oo.rawnew(self, { emails = {} })
end
local MailSent = {}
function Collector:send_to(email)
assert(type(email) == "string", "attempt to send message to address "..tostring(email))
assert(string.find(email, ".+@.+"), "attempt to s... | mit |
Turttle/darkstar | scripts/zones/Port_San_dOria/npcs/Louis.lua | 19 | 1269 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Louis
-- Type: Standard NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
require("scripts/zones/Port_San_dOria/TextIDs");
-----------------------------------
-- onTrade Action
---------------... | gpl-3.0 |
eugeneia/snabb | src/lib/ptree/channel.lua | 9 | 7991 | -- Use of this source code is governed by the Apache 2.0 license; see COPYING.
module(...,package.seeall)
-- A channel is a ring buffer used by the manager to send updates to a
-- worker. Each worker has its own ring buffer and is the only reader
-- to the buffer. The manager is the only writer to these buffers als... | apache-2.0 |
eugeneia/snabb | lib/ljsyscall/syscall/netbsd/util.lua | 24 | 4508 | -- NetBSD utility functions
local require, error, assert, tonumber, tostring,
setmetatable, pairs, ipairs, unpack, rawget, rawset,
pcall, type, table, string =
require, error, assert, tonumber, tostring,
setmetatable, pairs, ipairs, unpack, rawget, rawset,
pcall, type, table, string
local function init(S)
local abi... | apache-2.0 |
dickeyf/darkstar | scripts/globals/items/lionhead.lua | 18 | 1315 | -----------------------------------------
-- ID: 4312
-- Item: lionhead
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
----------... | gpl-3.0 |
dickeyf/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Prince_Seere.lua | 5 | 1330 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Prince Seere
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
function onMobEngage... | gpl-3.0 |
Turttle/darkstar | scripts/zones/Windurst_Woods/npcs/Shih_Tayuun.lua | 19 | 1164 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Shih Tayuun
-- Guild Merchant NPC: Bonecrafting Guild
-- @pos -3.064 -6.25 -131.374 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/set... | gpl-3.0 |
FREEZX/CMYKEscape | main.lua | 1 | 3713 | game = {}
game.shared = {}
game.shared.content = {}
game.state = {}
game.availableLevels = {}
game.currentLevel = nil
function love.load()
love.filesystem.load("helpers/Math.lua")()
love.filesystem.load("helpers/Tables.lua")()
love.filesystem.load("helpers/Mouse.lua")()
love.filesystem.load("lib/base/F... | bsd-3-clause |
Turttle/darkstar | scripts/zones/The_Garden_of_RuHmet/npcs/qm1.lua | 25 | 2098 | -----------------------------------
-- Area: The_Garden_of_RuHmet
-- NPC: ??? (Jailer of Fortitude Spawn)
-- Allows players to spawn the Jailer of Fortitude by trading 12 Ghrah M Chips to a ???.
-- @pos random ,-420 0 755, -43,0.00,460, -260,0.00,44.821, -580,0.00,43, -796,0.00,460
-----------------------------------
... | gpl-3.0 |
gvvaughan/specl | lib/specl/inprocess.lua | 1 | 10325 | --[[
Behaviour Driven Development for Lua 5.1, 5.2 & 5.3.
Copyright (C) 2015-2018 Gary V. Vaughan
]]
--[[--
Functions for running a Lua program in the Specl Lua interpreter.
@module specl.inprocess
]]
local find = string.find
local gsub = string.gsub
local sub = string.sub
local compat = require 'specl.compat'
l... | mit |
dickeyf/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/qm6.lua | 13 | 1098 | -----------------------------------
-- Area: Phomiuna Aqueducts
-- NPC: qm6 (???)
-- Notes: Opens door @ J-8 from behind
-- @pos 105.502 -25.262 57.138 27
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)... | gpl-3.0 |
dickeyf/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Pogigi.lua | 13 | 1065 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Pogigi
-- Type: Sealed Container
-- @zone: 94
-- @pos -29.787 -4.499 42.603
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;... | gpl-3.0 |
fgenesis/Aquaria_experimental | game_scripts/scripts/entities/rednautilus.lua | 6 | 5004 | -- 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 | c87025064.lua | 7 | 1226 | --銀龍の轟咆
function c87025064.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:SetCountLimit(1,87025064+EFFECT_COUNT_CODE_OATH)
e1:SetTarget(c87025064.target)... | gpl-2.0 |
Turttle/darkstar | scripts/globals/weaponskills/avalanche_axe.lua | 30 | 1353 | -----------------------------------
-- Avalanche Axe
-- Axe weapon skill
-- Skill level: 100
-- Delivers a single-hit attack. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Soil Gorget & Thunder Gorget.
-- Aligned with the Soil Belt & Thunder Belt.
-- Element: None
-- Modifiers: ST... | gpl-3.0 |
dickeyf/darkstar | scripts/zones/Northern_San_dOria/npcs/Emilia.lua | 13 | 1036 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Emilia
-- Type: Standard Dialogue NPC
-- @zone: 231
-- @pos -39.840 -2.000 -5.403
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/TextIDs");
... | gpl-3.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c29216967.lua | 7 | 1028 | --ギミック・パペット-シザー・アーム
function c29216967.initial_effect(c)
--send to grave
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(29216967,0))
e1:SetCategory(CATEGORY_TOGRAVE)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:S... | gpl-2.0 |
alfred-bot/zacbot | bot/bot.lua | 1 | 7066 | package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua'
..';.luarocks/share/lua/5.2/?/init.lua'
package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so'
require("./bot/utils")
VERSION = '0.14.6'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
r... | gpl-2.0 |
Turttle/darkstar | scripts/globals/weaponskills/viper_bite.lua | 18 | 1674 | -----------------------------------
-- Viper Bite
-- Dagger weapon skill
-- Skill level: 100
-- Deals double damage and Poisons target. Duration of poison varies with TP.
-- Doubles attack and not damage.
-- Despite the animation showing two swings, this is a single-hit weapon skill.
-- Will stack with Sneak Att... | gpl-3.0 |
dickeyf/darkstar | scripts/zones/Buburimu_Peninsula/npcs/Five_of_Spades.lua | 13 | 1473 | -----------------------------------
-- Area: Buburimu Peninsula
-- NPC: Five of Spades
-- Invloved in quests: A Greeting Cardian
-----------------------------------
package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Buburimu_Peninsula/Te... | gpl-3.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c45869829.lua | 5 | 2259 | --速攻魔力増幅器
function c45869829.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TODECK)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c45869829.target)
e1:SetOperation(c45869829.activate)
c:RegisterEffect(e1)... | gpl-2.0 |
rleh/telegram-bot | plugins/plugins.lua | 1 | 2850 | do
-- Retruns 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 |
Turttle/darkstar | scripts/zones/Metalworks/npcs/Tomasa.lua | 34 | 1476 | -----------------------------------
-- Area: Metalworks
-- NPC: Tomasa
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/zones/Metalworks/TextIDs");
--... | gpl-3.0 |
dabo123148/WarlightMod | Overlord_Castles/Server_Created.lua | 2 | 1631 | function Server_Created(game, settings)
local overriddenBonuses = {};
overriddenTerris = {};
for _, bonus in pairs(game.Map.Bonuses) do
--skip negative bonuses unless AllowNegative was checked
if (bonus.Amount > 0 or Mod.Settings.AllowNegative) then
--local rndAmount = math.random(-Mod.Settings.B... | mit |
Turttle/darkstar | scripts/zones/Beaucedine_Glacier_[S]/Zone.lua | 28 | 1339 | -----------------------------------
--
-- Zone: Beaucedine_Glacier_[S] (136)
--
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Beaucedine_Glacier_[S]/TextI... | gpl-3.0 |
Turttle/darkstar | scripts/zones/Mount_Zhayolm/npcs/HomePoint#1.lua | 17 | 1180 | -----------------------------------
-- Area: Mount Zhayolm
-- NPC: HomePoint#1
-- @pos
-----------------------------------
package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Mount_Zhayolm/TextIDs");
require("scripts/globals/homepoint");
--------... | gpl-3.0 |
Turttle/darkstar | scripts/globals/mobskills/PW_Decussate.lua | 25 | 1030 | ---------------------------------------------
-- Decussate
--
-- Description: Performs a cross attack on nearby targets.
-- Type: Magical
-- Utsusemi/Blink absorb: 2-3 shadows?
-- Range: Less than or equal to 10.0
-- Notes: Only used by Gulool Ja Ja when below 35% health.
---------------------------------------... | gpl-3.0 |
dickeyf/darkstar | scripts/globals/items/poison_arrow.lua | 41 | 1046 | -----------------------------------------
-- ID: 18157
-- Item: Poison Arrow
-- Additional Effect: Poison
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-----------------------------------
f... | gpl-3.0 |
Turttle/darkstar | scripts/zones/Apollyon/mobs/Dee_Wapa_the_Desolator.lua | 16 | 2395 | -----------------------------------
-- Area: Apollyon CS
-- NPC: Dee_Wapa_the_Desolator
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
-------------... | gpl-3.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c56209279.lua | 4 | 2117 | --インフェルニティ・ネクロマンサー
function c56209279.initial_effect(c)
--to defense
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(56209279,0))
e1:SetCategory(CATEGORY_POSITION)
e1:SetType(EFFECT_TYPE_TRIGGER_F+EFFECT_TYPE_SINGLE)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetTarget(c56209279.potg)
e1:SetOperation(c5... | gpl-2.0 |
FFG-Blinkenn/tdm | gamemodes/tdm/gamemode/cl_hud.lua | 1 | 18425 | -- Fonts
surface.CreateFont("DebugFont", {
font = "DefaultBold",
size = 24,
weight = 400,
antialias = true,
shadow = true
})
surface.CreateFont("Team", {
font = "CloseCaption_Bold",
size = 20,
weight = 700,
antialias = true,
blursize = 0.2,
shadow = true
})
surface.CreateFo... | mit |
Turttle/darkstar | scripts/globals/spells/absorb-int.lua | 18 | 1299 | --------------------------------------
-- Spell: Absorb-INT
-- Steals an enemy's intelligence.
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
--------... | gpl-3.0 |
Turttle/darkstar | scripts/globals/spells/bluemagic/screwdriver.lua | 28 | 1906 | -----------------------------------------
-- Spell: Screwdriver
-- Deals critical damage. Chance of critical hit varies with TP
-- Spell cost: 21 MP
-- Monster Type: Aquans
-- Spell Type: Physical (Piercing)
-- Blue Magic Points: 3
-- Stat Bonus: VIT+1, CHR+1, HP+10
-- Level: 26
-- Casting Time: 0.5 seconds
-... | gpl-3.0 |
puug/kong | spec/unit/tools/faker_disabled.lua | 14 | 3751 | local uuid = require "uuid"
local Faker = require "kong.tools.faker"
local DaoError = require "kong.dao.error"
describe("Faker", function()
local ENTITIES_TYPES = { "api", "consumer", "plugin_configuration" }
local factory_mock = {}
local insert_spy
local faker
before_each(function()
insert_spy = spy.... | mit |
SalvationDevelopment/Salvation-Scripts-TCG | c58199906.lua | 6 | 1619 | --サイバネティック・フュージョン・サポート
function c58199906.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,58199906+EFFECT_COUNT_CODE_OATH)
e1:SetCost(c58199906.cost)
e1:SetOperation(c58199906.... | gpl-2.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c32207100.lua | 5 | 1293 | --大番狂わせ
function c32207100.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCost(c32207100.cost)
e1:SetTarget(c32207100.target)
e1:SetOperation(c32207100.activate)
c:RegisterEffect(e1)
end
function c... | gpl-2.0 |
Turttle/darkstar | scripts/globals/weaponskills/shining_strike.lua | 30 | 1314 | -----------------------------------
-- Shining Strike
-- Club weapon skill
-- Skill level: 5
-- Deals light elemental damage to enemy. Damage varies with TP.
-- Aligned with the Thunder Gorget.
-- Aligned with the Thunder Belt.
-- Element: None
-- Modifiers: STR:40% ; MND:40%
-- 100%TP 200%TP 300%TP
-- ... | gpl-3.0 |
Turttle/darkstar | scripts/globals/items/sacred_maul.lua | 42 | 1457 | -----------------------------------------
-- ID: 18392
-- Item: Sacred Maul
-- Additional Effect: Light Damage
-- Enchantment: "Enlight"
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-----... | gpl-3.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c30794966.lua | 5 | 2269 | --聖刻龍-ウシルドラゴン
function c30794966.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(c30794966.hspcon)
e1:SetOperation(c3... | gpl-2.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c34351849.lua | 6 | 1042 | --フロッグ・バリア
function c34351849.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_BE_BATTLE_TARGET)
e1:SetCondition(c34351849.condition)
e1:SetTarget(c34351849.target)
e1:SetOperation(c34351849.activate)
c:RegisterEffec... | gpl-2.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c63612442.lua | 5 | 2806 | --X-セイバー ソウザ
function c63612442.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(Card.IsSetCard,0x100d),1)
c:EnableReviveLimit()
--get effect
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(63612442,0))
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:... | gpl-2.0 |
Turttle/darkstar | scripts/zones/Meriphataud_Mountains/npcs/qm1.lua | 17 | 1385 | -----------------------------------
-- Area: Meriphataud Mountains
-- NPC: qm1 (???)
-- Involved in Quest: The Holy Crest
-- @pos 641 -15 7 119
-----------------------------------
package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Me... | gpl-3.0 |
puug/kong | kong/tools/utils.lua | 1 | 2194 | local _M = {}
function _M.table_size(t)
local res = 0
for _ in pairs(t) do
res = res + 1
end
return res
end
function _M.table_contains(arr, val)
for _, v in pairs(arr) do
if v == val then
return true
end
end
return false
end
function _M.is_array(t)
local i = 0
for _ in pairs(t) do... | mit |
Turttle/darkstar | scripts/zones/Selbina/npcs/Thunder_Hawk.lua | 17 | 2442 | -----------------------------------
-- Area: Selbina
-- NPC: Thunder Hawk
-- Starts and Finishes Quest: The Rescue
-- @pos -58 -10 6 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
re... | gpl-3.0 |
wljcom/vlc | share/lua/intf/test.lua | 91 | 1909 | function assert_url(result, protocol, username, password, host, port, path)
assert(result.protocol == protocol)
assert(result.username == username)
assert(result.password == password)
assert(result.host == host)
assert(result.port == port)
assert(result.path == path)
end
vlc.msg.inf... | gpl-2.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c100214017.lua | 2 | 2541 | --牛頭鬼
--Gozuki
--Script by nekrozar
function c100214017.initial_effect(c)
--to grave
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(100214017,0))
e1:SetCategory(CATEGORY_TOGRAVE)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1,100214017)
e1:SetTarget(c100214017.tg... | gpl-2.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c55063681.lua | 5 | 1949 | --パワー・サプライヤー
function c55063681.initial_effect(c)
--set target
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(55063681,0))
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetTarget(c55063681.target)
e1:SetOperation(c550... | gpl-2.0 |
Turttle/darkstar | scripts/zones/Crawlers_Nest/npcs/_5h1.lua | 19 | 2611 | -----------------------------------
-- Area: Crawlers' Nest
-- NPC: Strange Apparatus
-- @pos: 214 0 -339 197
-----------------------------------
package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil;
require("scripts/zones/Crawlers_Nest/TextIDs");
require("scripts/globals/strangeapparatus");
-----------------... | gpl-3.0 |
Turttle/darkstar | scripts/zones/RuLude_Gardens/npcs/Perisa-Neburusa.lua | 38 | 1048 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Perisa-Neburusa
-- Type: Residence Renter
-- @zone: 243
-- @pos 54.651 8.999 -74.372
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-... | gpl-3.0 |
crazyhamedboy/telegrambot | plugins/location.lua | 625 | 1564 | -- Implement a command !loc [area] which uses
-- the static map API to get a location image
-- Not sure if this is the proper way
-- Intent: get_latlong is in time.lua, we need it here
-- loadfile "time.lua"
-- Globals
-- If you have a google api key for the geocoding/timezone api
do
local api_key = nil
local base_... | gpl-2.0 |
rleh/telegram-bot | plugins/location.lua | 625 | 1564 | -- Implement a command !loc [area] which uses
-- the static map API to get a location image
-- Not sure if this is the proper way
-- Intent: get_latlong is in time.lua, we need it here
-- loadfile "time.lua"
-- Globals
-- If you have a google api key for the geocoding/timezone api
do
local api_key = nil
local base_... | gpl-2.0 |
Death15/Mega-Tauch | plugins/location.lua | 625 | 1564 | -- Implement a command !loc [area] which uses
-- the static map API to get a location image
-- Not sure if this is the proper way
-- Intent: get_latlong is in time.lua, we need it here
-- loadfile "time.lua"
-- Globals
-- If you have a google api key for the geocoding/timezone api
do
local api_key = nil
local base_... | gpl-2.0 |
Turttle/darkstar | scripts/globals/abilities/curing_waltz_iii.lua | 18 | 2259 | -----------------------------------
-- Ability: Curing Waltz III
-- Heals HP to target player.
-- Obtained: Dancer Level 45
-- TP Required: 50%
-- Recast Time: 00:10
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
----------------------------------... | gpl-3.0 |
fgenesis/Aquaria_experimental | game_scripts/scripts/entities/rockhead.lua | 6 | 2729 | -- 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 | c8226374.lua | 7 | 1276 | --ギミック・パペット-ハンプティ・ダンプティ
function c8226374.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(8226374,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP)
... | gpl-2.0 |
dickeyf/darkstar | scripts/zones/Upper_Jeuno/npcs/HomePoint#2.lua | 27 | 1256 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: HomePoint#2
-- @pos 32 -1 -44 244
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Upper_Jeuno/TextIDs");
require("scripts/globals/homepoint");
-... | gpl-3.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c18563744.lua | 2 | 3086 | --沈黙の剣
function c18563744.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(18563744,0))
e1:SetCategory(CATEGORY_ATKCHANGE+CATEGORY_DEFCHANGE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_CANNOT_DISABLE+EFFECT... | gpl-2.0 |
dickeyf/darkstar | scripts/zones/Abyssea-La_Theine/npcs/Cavernous_Maw.lua | 29 | 1199 | -----------------------------------
-- Area: Abyssea - La Theine
-- NPC: Cavernous Maw
-- @pos -480.009, 0.000, 799.927 132
-- Teleports Players to La Theine Plateau
-----------------------------------
package.loaded["scripts/zones/Abyssea-La_Theine/TextIDs"] = nil;
-----------------------------------
require("script... | gpl-3.0 |
Turttle/darkstar | scripts/zones/West_Sarutabaruta/npcs/Darumomo_WW.lua | 30 | 3068 | -----------------------------------
-- Area: West Sarutabaruta
-- NPC: Darumomo, W.W.
-- Type: Border Conquest Guards
-- @pos 399.450 -25.858 727.545 115
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/co... | gpl-3.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c9659580.lua | 2 | 3711 | --方界業
function c9659580.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c9659580.target)
c:RegisterEffect(e1)
--lp halve
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(9659580,1))
e2:SetType(EFFECT_TYPE_FIE... | gpl-2.0 |
fgenesis/Aquaria_experimental | game_scripts/scripts/maps/_unused/node_altarswitch.lua | 6 | 1432 | -- 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 |
eugeneia/snabb | lib/pflua/tests/pfquickcheck/pflang.lua | 25 | 10648 | #!/usr/bin/env luajit
-- -*- lua -*-
-- This module generates (a subset of) pflang, libpcap's filter language
-- Convention: initial uppercase letter => generates pflang expression
-- initial lowercase letter => aux helper
-- Mutability discipline:
-- Any function may mutate results it calls into being.
-- No functio... | apache-2.0 |
Turttle/darkstar | scripts/zones/Selbina/npcs/Isacio.lua | 17 | 2921 | -----------------------------------
-- Area: Selbina
-- NPC: Isacio
-- Finishes Quest: Elder Memories
-- @pos -54 -1 -44 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
require("script... | gpl-3.0 |
TelegramDev/test | plugins/invite.lua | 393 | 1225 | do
local function callbackres(extra, success, result) -- Callback for res_user in line 27
local user = 'user#id'..result.id
local chat = 'chat#id'..extra.chatid
if is_banned(result.id, extra.chatid) then -- Ignore bans
send_large_msg(chat, 'User is banned.')
elseif is_gbanned(result.id) then -- I... | gpl-2.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c45247637.lua | 6 | 2929 | --薔薇の刻印
function c45247637.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_CONTROL+CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCost(c45247637.cost)
e1:SetTarget(c45247637.target)
e1:SetOperation... | gpl-2.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c12408276.lua | 6 | 2645 | --Kozmo-ダーク・エルファイバー
function c12408276.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(12408276,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1,12408276)
e1:SetCos... | gpl-2.0 |
sevenbot/teamseven | plugins/tweet.lua | 634 | 7120 | local OAuth = require "OAuth"
local consumer_key = ""
local consumer_secret = ""
local access_token = ""
local access_token_secret = ""
local twitter_url = "https://api.twitter.com/1.1/statuses/user_timeline.json"
local client = OAuth.new(consumer_key,
consumer_secret,
... | gpl-2.0 |
nashuiliang/ABTestingGateway | lib/abtesting/adapter/policygroup.lua | 4 | 5543 | ---
-- @classmod abtesting.adapter.policy
-- @release 0.0.1
local modulename = "abtestingAdapterPolicyGroup"
local _M = { _VERSION = "0.0.1" }
local mt = { __index = _M }
local ERRORINFO = require('abtesting.error.errcode').info
local policyModule = require('abtesting.adapter.policy')
local fields = requi... | mit |
dickeyf/darkstar | scripts/globals/effects/int_down.lua | 34 | 1116 | -----------------------------------
--
-- EFFECT_INT_DOWN
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
if ((target:getStat(MOD_INT) - effect:ge... | gpl-3.0 |
Turttle/darkstar | scripts/zones/Palborough_Mines/TextIDs.lua | 7 | 1671 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6383; -- Obtained: <item>.
GIL_OBTAINED = 6384; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6386; -- Obtained... | gpl-3.0 |
dickeyf/darkstar | scripts/zones/Dynamis-Beaucedine/mobs/Vanguard_Eye.lua | 7 | 1948 | -----------------------------------
-- Area: Dynamis Beaucedine
-- NPC: Vznguard_Eye
-- Map Position: http://images1.wikia.nocookie.net/__cb20090312005233/ffxi/images/thumb/b/b6/Bea.jpg/375px-Bea.jpg
-----------------------------------
package.loaded["scripts/zones/Dynamis-Beaucedine/TextIDs"] = nil;
-----------------... | gpl-3.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c24221808.lua | 2 | 2884 | --メンタルオーバー・デーモン
function c24221808.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_PSYCHO),aux.NonTuner(Card.IsRace,RACE_PSYCHO),2)
c:EnableReviveLimit()
--remove
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(24221808,0))
e1:SetCategory(CATEGO... | gpl-2.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c67808837.lua | 6 | 3035 | --EMキングベアー
function c67808837.initial_effect(c)
aux.EnablePendulumAttribute(c,false)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetDescription(1160)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetRange(LOCATION_HAND)
e1:SetCost(c67808837.reg)
c:RegisterEffect(e1)
--tohand
local e2=Eff... | gpl-2.0 |
Turttle/darkstar | scripts/globals/mobskills/Hypothermal_Combustion.lua | 14 | 1029 | ---------------------------------------------
-- Hypothermal Combustion
-- Self-destructs, releasing ice at nearby targets.
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores shadows
-- Notes: Damage is based on remaining HP
---------------------------------------------
require("scripts/globals/settings")... | gpl-3.0 |
franciscorodrigues/luajava | test/awtTest.lua | 8 | 1561 |
frame = luajava.newInstance("java.awt.Frame", "Lua Java Console")
console = luajava.newInstance("java.awt.TextArea")
buttons_pn = luajava.newInstance("java.awt.Panel")
execute_bt = luajava.newInstance("java.awt.Button", "Execute")
clear_bt = luajava.newInstance("java.awt.Button", "Clear")
exit_bt = luajava.newInstance... | mit |
Turttle/darkstar | scripts/zones/Labyrinth_of_Onzozo/TextIDs.lua | 7 | 1092 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6383; -- Obtained: <item>.
GIL_OBTAINED = 6384; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6386; -- Obtained... | gpl-3.0 |
fgenesis/Aquaria_experimental | game_scripts/scripts/entities/_unused/dandelion-spore.lua | 6 | 1953 | -- 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/Northern_San_dOria/npcs/Bertenont.lua | 19 | 1664 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Bertenont
-- Involved in Quest: Lure of the Wildcat (San d'Oria)
-- @pos -165 0.1 226 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
SalvationDevelopment/Salvation-Scripts-TCG | c62742651.lua | 2 | 2117 | --アーマード・サイキッカー
function c62742651.initial_effect(c)
--summon with no tribute
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(62742651,0))
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SUMMON_PROC)
e1:SetCondition(c62742651.ntcon)
c:RegisterEffect(e1)
--d... | gpl-2.0 |
dickeyf/darkstar | scripts/zones/Yughott_Grotto/Zone.lua | 19 | 1573 | -----------------------------------
--
-- Zone: Yughott_Grotto (142)
--
-----------------------------------
package.loaded["scripts/zones/Yughott_Grotto/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Yughott_Grotto/TextIDs");
-----------------------------------
-- onInitialize
----------... | gpl-3.0 |
dickeyf/darkstar | scripts/zones/Southern_San_dOria/npcs/HomePoint#4.lua | 27 | 1278 | -----------------------------------
-- Area: Southern San dOria
-- NPC: HomePoint#4
-- @pos -165 -1 11 230
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Southern_San_dOria/TextIDs");
require("scripts/g... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.