repo_name stringlengths 6 78 | path stringlengths 4 206 | copies stringclasses 281
values | size stringlengths 4 7 | content stringlengths 625 1.05M | license stringclasses 15
values |
|---|---|---|---|---|---|
ryanseddon/dotfiles | init.lua | 1 | 9814 | -----------------------------------------------
-- Set up
-----------------------------------------------
local inspect = require "hs.inspect"
local currentLayout = nil
local hyper = {"cmd", "alt", "ctrl"}
local log = hs.logger.new('default', 'debug')
hs.window.animationDuration = 0
hs.grid.GRIDWIDTH = 64
hs.grid.... | mit |
rpetit3/darkstar | scripts/zones/Port_San_dOria/npcs/Artinien.lua | 13 | 1356 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Artinien
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Port_San_dOria/TextIDs");
-... | gpl-3.0 |
rpetit3/darkstar | scripts/globals/weaponskills/quietus.lua | 26 | 1684 | -----------------------------------
-- Quietus
-- Scythe weapon skill
-- Skill Level: N/A
-- Delivers a triple damage attack that ignores target's defense. Amount ignored varies with TP. Redemption: Aftermath.
-- Available only when equipped with Redemption (85)/(90)/(95)/(99) or Penitence +1/+2/+3/Umiliati.
-- Aligned... | gpl-3.0 |
esguk811/DarkRP | entities/weapons/pocket/cl_menu.lua | 6 | 2762 | local meta = FindMetaTable("Player")
local pocket = {}
local frame
local reload
--[[---------------------------------------------------------------------------
Stubs
---------------------------------------------------------------------------]]
DarkRP.stub{
name = "openPocketMenu",
description = "Open the DarkR... | mit |
tommo/gii | template/game/lib/character/TrackSpineAnimation.lua | 2 | 4265 | module 'character'
--------------------------------------------------------------------
CLASS: EventSpineAnimation ( CharacterActionEvent )
:MODEL{
Field 'clip' :string() :selection( 'getSpineClipSelection' );
Field 'loop' :boolean();
Field 'reversed' :boolean();
Field 'resetOnPlay' :boolean();
'----';
... | mit |
ManStache/PokeBotBad | data/opponents.lua | 6 | 4427 | local Opponents = {
ShortsRattata = {
type2 = "normal",
type1 = "normal",
def = 14,
id = 165,
spec = 12,
hp = 29,
speed = 22,
level = 11,
att = 19,
moves = {
{
name = "Quick-Attack",
accuracy = 100,
max_pp = 30,
power = 40,
id = 98,
special = false,
outspeed = true,... | mit |
rpetit3/darkstar | scripts/zones/Port_San_dOria/npcs/Portaure.lua | 13 | 1570 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Portaure
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
require("scripts/zones/Port_San_dOria/TextIDs");
-----------------------------------
-- onTrade Action
------------------... | gpl-3.0 |
rpetit3/darkstar | scripts/globals/mobskills/Flame_Thrower.lua | 18 | 1281 | ---------------------------------------------------
-- Flame_Thrower
-- Description:
-- Type: Magical
-- additional effect : plague
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
----------------... | gpl-3.0 |
rpetit3/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5fd.lua | 13 | 1077 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Shiva's Gate
-- @pos 110 -34 -60 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextIDs");
-----... | gpl-3.0 |
rpetit3/darkstar | scripts/globals/items/plate_of_ic_pilav.lua | 18 | 1945 | -----------------------------------------
-- ID: 5584
-- Item: plate_of_ic_pilav
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health % 14
-- Health Cap 65
-- Strength 4
-- Vitality -1
-- Intelligence -1
-- Health Regen While Healing 1
-- Attack % 22
-- Attack Cap 65
-- Ranged ATT % 22
... | gpl-3.0 |
rpetit3/darkstar | scripts/globals/spells/hailstorm.lua | 32 | 1182 | --------------------------------------
-- Spell: Hailstorm
-- Changes the weather around target party member to "snowy."
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-... | gpl-3.0 |
rpetit3/darkstar | scripts/zones/Gusgen_Mines/npcs/_5g4.lua | 13 | 1085 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: _5g4 (Door E)
-- @pos 19.998 -22.4 174.506 196
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Gusgen_Mines/TextIDs");
-------------------------... | gpl-3.0 |
rpetit3/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/PalardaifaultVDraffles.lua | 19 | 1139 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Palardaifault V Draffles
-- @zone 80
-- @pos 9 1 -35
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
---------------------------... | gpl-3.0 |
rpetit3/darkstar | scripts/zones/Buburimu_Peninsula/TextIDs.lua | 13 | 1577 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6414; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6419; -- Obtained: <item>.
GIL_OBTAINED = 6420; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6422; -- Obtained... | gpl-3.0 |
MutterOberin/OpenRA | lua/sandbox.lua | 84 | 5098 | local sandbox = {
_VERSION = "sandbox 0.5",
_DESCRIPTION = "A pure-lua solution for running untrusted Lua code.",
_URL = "https://github.com/kikito/sandbox.lua",
_LICENSE = [[
MIT LICENSE
Copyright (c) 2013 Enrique García Cota
Permission is hereby granted, free of charge, to an... | gpl-3.0 |
rpetit3/darkstar | scripts/globals/items/plate_of_patlican_salata.lua | 18 | 1190 | -----------------------------------------
-- ID: 5582
-- Item: plate_of_patlican_salata
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Agility 4
-- Vitality -1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIt... | gpl-3.0 |
TELEATASH/telefire | plugins/all.lua | 1321 | 4661 | do
data = load_data(_config.moderation.data)
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_print... | gpl-2.0 |
BooM-amour/TM_VIRUS | plugins/all.lua | 1321 | 4661 | do
data = load_data(_config.moderation.data)
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_print... | gpl-2.0 |
mahdib9/mah9 | plugins/all.lua | 1321 | 4661 | do
data = load_data(_config.moderation.data)
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_print... | gpl-2.0 |
sys4-fr/server-minetestforfun | mods/news/init.lua | 8 | 3891 | local modpath = minetest.get_modpath("news")
local md5 = dofile(modpath .. "/md5.lua")
local news = {}
local checksum
local caracteres_max = 5000
local pages_players = {}
local seen_checksum
function load_news()
local newsfile = io.open(minetest.get_worldpath().."/news.txt","r")
local content
if newsfile ~= nil t... | unlicense |
rpetit3/darkstar | scripts/globals/spells/bluemagic/exuviation.lua | 27 | 1801 | -----------------------------------------
-- Spell: Exuviation
-- Restores HP and removes one detrimental magic effect
-- Spell cost: 40 MP
-- Monster Type: Vermin
-- Spell Type: Magical (Fire)
-- Blue Magic Points: 4
-- Stat Bonus: HP+5 MP+5 CHR+1
-- Level: 75
-- Casting Time: 3 seconds
-- Recast Time: 60 seconds
--
... | gpl-3.0 |
spudgy/IntWars | BinWars/Scripts/Heroes/Karthus.lua | 4 | 4297 | --[[
NotSingleTargetSpell = true
DoesntBreakShields = true
DoesntTriggerSpellCasts = false
CastingBreaksStealth = true
IsDamagingSpell = true
local R1 = {Function = BBPreloadParticle}
R1["Params"] = {Name = 'laywaste_point.troy'} --R2 = {} / R2["Name"] = "laywaste_point.troy" / R1["Params"] = R2
local R2 = {Function ... | gpl-3.0 |
MinetestForFun/server-minetestforfun-creative | mods/mesecons/mesecons_switch/init.lua | 13 | 1208 | -- mesecons_switch
mesecon.register_node("mesecons_switch:mesecon_switch", {
paramtype2="facedir",
description="Switch",
sounds = default.node_sound_stone_defaults(),
on_rightclick = function (pos, node)
if(mesecon.flipstate(pos, node) == "on") then
mesecon.receptor_on(pos)
else
mesecon.receptor_off(pos)... | unlicense |
askore/LootSecretary | src/lua/Libs/AceGUI-3.0/widgets/AceGUIWidget-Button.lua | 3 | 2834 | --[[-----------------------------------------------------------------------------
Button Widget
Graphical Button.
-------------------------------------------------------------------------------]]
local Type, Version = "Button", 23
local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
if not AceGUI or (AceGUI:Get... | apache-2.0 |
rpetit3/darkstar | scripts/globals/abilities/pets/tidal_wave.lua | 34 | 1116 | ---------------------------------------------------
-- Tidal Wave
---------------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
require("/scripts/globals/monstertpmoves");
require("/scripts/globals/magic");
-----------------------------------------------... | gpl-3.0 |
lukego/snabbswitch | lib/ljsyscall/syscall/freebsd/ioctl.lua | 24 | 4451 | -- ioctls, filling in as needed
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(types)
l... | apache-2.0 |
legoktm/wesnoth | data/ai/micro_ais/cas/ca_wolves_multipacks_attack.lua | 26 | 9253 | local H = wesnoth.require "lua/helper.lua"
local AH = wesnoth.require "ai/lua/ai_helper.lua"
local MAIUV = wesnoth.require "ai/micro_ais/micro_ai_unit_variables.lua"
local WMPF = wesnoth.require "ai/micro_ais/cas/ca_wolves_multipacks_functions.lua"
local ca_wolves_multipacks_attack = {}
function ca_wolves_multipacks_... | gpl-2.0 |
vfedoroff/prosody-modules | mod_storage_xmlarchive/mod_storage_xmlarchive.lua | 11 | 7035 | -- mod_storage_xmlarchive
-- Copyright (C) 2015 Kim Alvefur
--
-- This file is MIT/X11 licensed.
--
-- luacheck: ignore unused self
local dm = require "core.storagemanager".olddm;
local hmac_sha256 = require"util.hashes".hmac_sha256;
local st = require"util.stanza";
local dt = require"util.datetime";
local new_stream ... | mit |
rpetit3/darkstar | scripts/zones/Open_sea_route_to_Al_Zahbi/npcs/Cehn_Teyohngo.lua | 13 | 1212 | -----------------------------------
-- Area: Open sea route to Al Zahbi
-- NPC: Cehn Teyohngo
-- Guild Merchant NPC: Fishing Guild
-- @zone 4.986 -2.101 -12.026 46
-----------------------------------
package.loaded["scripts/zones/Open_sea_route_to_Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require... | gpl-3.0 |
ddouglascarr/rooset | lfframework/demo-app/config/demo.lua | 1 | 1257 | -- uncomment the following two lines to use C implementations of chosen
-- functions and to disable garbage collection during the request, to
-- increase speed:
--
-- require 'webmcp_accelerator'
-- collectgarbage("stop")
-- open and set default database handle
config.db = {
engine='postgresql',
dbname='webmcp_dem... | mit |
spacebuild/spacebuild | lua/weapons/gmod_tool/stools/rd3_resdebug.lua | 2 | 1126 |
TOOL.Category = "Resource Distribution"
TOOL.Mode = "rd3_resdebug"
TOOL.Name = "Res. Debuger"
TOOL.Command = nil
TOOL.ConfigName = nil
if (CLIENT and GetConVarNumber("CAF_UseTab") == 1) then TOOL.Tab = "Custom Addon Framework" end
if ( CLIENT ) then
language.Add( "tool.rd3_resdebug.name", "RD Resource Debug... | apache-2.0 |
wissam23/alahvaz.bot | plugins/red.lua | 6 | 2812 | --[[با تچکر از نویسنده اصلی که نمیدونم کی هست
فیکس شده توسط : @sina021
کانال ما: @boss_ch
کپی بدون ذکر منبع هم بتخمم]]
local function get_variables_hash(msg)
if msg.to.type == 'chat' or msg.to.type == 'channel' then
return 'chat:bot:variables'
end
end
local function get_value(msg, var_name)
local hash = g... | gpl-3.0 |
Endika/Algorithm-Implementations | Negamax/Lua/Yonaba/negamax_test.lua | 26 | 1129 | -- Tests for alpha_beta_pruning.lua
local negamax = require 'negamax'
local total, pass = 0, 0
local function dec(str, len)
return #str < len
and str .. (('.'):rep(len-#str))
or str:sub(1,len)
end
local function run(message, f)
total = total + 1
local ok, err = pcall(f)
if ok then pass = pass + 1 ... | mit |
lukovnikov/easyccg | training/dump_model.lua | 2 | 3261 | require 'torch'
require 'nn'
require 'features'
io.stdout:setvbuf("no")
embeddingsFolder=arg[1];
--name=arg[2]
output=arg[3];
modelFolder=arg[2] --embeddingsFolder .. '/' .. name
mlp = torch.load(modelFolder .. '/bestModel')
features = nn.Features(embeddingsFolder .. '/embeddings.words', embeddingsFolder .. '/lemma... | mit |
rpetit3/darkstar | scripts/zones/Fort_Ghelsba/Zone.lua | 19 | 1601 | -----------------------------------
--
-- Zone: Fort_Ghelsba (141)
--
-----------------------------------
package.loaded["scripts/zones/Fort_Ghelsba/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Fort_Ghelsba/TextIDs");
--------------------------------... | gpl-3.0 |
rpetit3/darkstar | scripts/zones/Silver_Sea_route_to_Al_Zahbi/npcs/Shadeeu.lua | 13 | 1142 | -----------------------------------
-- Area: Silver_Sea_route_to_Al_Zahbi
-- NPC: Shadeeu
-- Notes: Tells ship ETA time
-- @pos 0.340 -12.232 -4.120 58
-----------------------------------
package.loaded["scripts/zones/Silver_Sea_route_to_Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require("scripts... | gpl-3.0 |
rpetit3/darkstar | scripts/commands/animatesubnpc.lua | 20 | 1046 | ---------------------------------------------------------------------------------------------------
-- func: animatesubnpc
-- desc: Changes the animationSub of the given npc. (For testing purposes.)
---------------------------------------------------------------------------------------------------
require("scripts/glo... | gpl-3.0 |
rpetit3/darkstar | scripts/zones/RuLude_Gardens/npcs/Pherimociel.lua | 13 | 2687 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Pherimociel
-- Involved in mission: COP 1-2
-- @pos -31.627 1.002 67.956 243
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
r... | gpl-3.0 |
DDTChen/CookieVLC | vlc/share/lua/intf/modules/host.lua | 48 | 12262 | --[==========================================================================[
host.lua: VLC Lua interface command line host module
--[==========================================================================[
Copyright (C) 2007-2012 the VideoLAN team
$Id$
Authors: Antoine Cellerier <dionoea at videolan dot org>
... | gpl-2.0 |
minaka1412/Cocos3DEditor | cocos2d/cocos/scripting/lua-bindings/auto/api/PhysicsContact.lua | 18 | 1163 |
--------------------------------
-- @module PhysicsContact
-- @extend EventCustom
-- @parent_module cc
--------------------------------
-- Get contact data.
-- @function [parent=#PhysicsContact] getContactData
-- @param self
-- @return PhysicsContactData#PhysicsContactData ret (return value: cc.PhysicsContactData)... | mit |
Kong/kong | spec/02-integration/05-proxy/28-stream_plugins_triggering_spec.lua | 1 | 6551 | local helpers = require "spec.helpers"
local pl_file = require "pl.file"
local cjson = require "cjson"
local TEST_CONF = helpers.test_conf
local MESSAGE = "echo, ping, pong. echo, ping, pong. echo, ping, pong.\n"
local function find_in_file(pat, cnt)
local f = assert(io.open(TEST_CONF.prefix .. "/" .. TEST_CONF.p... | apache-2.0 |
RwNigma/darkstar | scripts/globals/effects/weakness.lua | 18 | 1568 | -----------------------------------
--
-- Weakness
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
--reduce HP and MP by the power amount. Add... | gpl-3.0 |
destdev/ygopro-scripts | c24550676.lua | 2 | 1966 | --月光舞獅子姫
function c24550676.initial_effect(c)
--fusion material
c:EnableReviveLimit()
aux.AddFusionProcCodeFun(c,97165977,aux.FilterBoolFunction(Card.IsFusionSetCard,0xdf),2,false,false)
--spsummon condition
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_SINGLE)
e0:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+... | gpl-2.0 |
irr/plc | test_bin.lua | 1 | 2744 | -- Copyright (c) 2015 Phil Leblanc -- see LICENSE file
------------------------------------------------------------------------
-- test bin.lua
local bin = require "bin"
local stx = bin.stohex
local xts = bin.hextos
local function px(s) print(stx(s, 16, " ")) end
local function pf(...) print(string.format(...)) en... | mit |
ffxijuggalo/darkstar | scripts/globals/mobskills/glacial_breath.lua | 11 | 1300 | ---------------------------------------------
-- Glacial Breath
--
-- Description: Deals Ice damage to enemies within a fan-shaped area.
-- Type: Breath
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Unknown cone
-- Notes: Used only by Jormungand and Isgebind
---------------------------------------------
req... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/mobskills/dancing_chains.lua | 11 | 1058 | ---------------------------------------------
-- Dancing Chains
--
-- Description: Additional effect: Drown
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Unknown cone
-- Notes:
---------------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status"... | gpl-3.0 |
destdev/ygopro-scripts | c61639289.lua | 4 | 1551 | --イグナイト・イーグル
function c61639289.initial_effect(c)
--pendulum summon
aux.EnablePendulumAttribute(c)
--tohand
local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_DESTROY+CATEGORY_TOHAND+CATEGORY_SEARCH)
e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetRange(LOCATION_PZONE)
e2:SetCondition(c61639289.thcon)
e2:SetTarget... | gpl-2.0 |
destdev/ygopro-scripts | c52105192.lua | 6 | 1563 | --アームズ・ホール
function c52105192.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCost(c52105192.cost)
e1:SetTarget(c52105192.target)
e1:SetOperation(c52105192.activate)
c:RegisterEffect... | gpl-2.0 |
destdev/ygopro-scripts | c36426778.lua | 2 | 1652 | --幻影騎士団サイレントブーツ
function c36426778.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(36426778,0))
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_SPSUMMON_PROC)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e1:SetRange(LOCATION_HAND)
e1:SetCountLimit(1,36426778)
e1:SetC... | gpl-2.0 |
Kong/kong | spec/02-integration/02-cmd/06-restart_spec.lua | 1 | 2907 | local helpers = require "spec.helpers"
local function wait_for_pid()
return helpers.wait_for_file_contents(helpers.test_conf.nginx_pid)
end
describe("kong restart", function()
lazy_setup(function()
helpers.get_db_utils(nil, {}) -- runs migrations
helpers.prepare_prefix()
end)
lazy_teardown(function()
... | apache-2.0 |
destdev/ygopro-scripts | c8967776.lua | 2 | 2554 | --究極時械神セフィロン
function c8967776.initial_effect(c)
c:EnableReviveLimit()
--cannot special summon
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(aux.FALSE)
c:RegisterEffect(e1)
--sps... | gpl-2.0 |
nikai3d/naev | dat/missions/shark/sh03_hailing.lua | 1 | 4673 | --[[
This is the fourth mission of the Shark's teeth campaign. The player has to hail a frontier ship.
There should not be any ambush in this mission but the player must fear it from the beginning to the end
Stages :
0) Way to Frontier system
1) Way back to Darkshed
--]]
include "numstring.... | gpl-3.0 |
RwNigma/darkstar | scripts/globals/spells/horde_lullaby_ii.lua | 10 | 1265 | -----------------------------------------
-- Spell: Horde Lullaby
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,... | gpl-3.0 |
destdev/ygopro-scripts | c25290459.lua | 6 | 2028 | --レベルアップ!
function c25290459.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(c25290459.cost)
e1:SetTarget(c25290459.target)
e1:SetOperation(c25290459.activate)
c:RegisterEffect(e1)
end
... | gpl-2.0 |
destdev/ygopro-scripts | c62000467.lua | 1 | 3298 | --剣闘獣ドラガシス
function c62000467.initial_effect(c)
--link summon
c:EnableReviveLimit()
aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkSetCard,0x19),2,2)
--indes
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_INDESTRUCTABLE_BATTLE)
e1:SetRange(LOCATION_MZONE)
e1:SetTarget... | gpl-2.0 |
destdev/ygopro-scripts | c10925955.lua | 9 | 2282 | --儀水鏡との交信
function c10925955.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCondition(c10925955.condition)
e1:SetTarget(c10925955.target)
e1:SetOperation(c10925955.activate)
c:RegisterEffect(e1)
end
function c10925955.cfilter(c,ri... | gpl-2.0 |
destdev/ygopro-scripts | c27970830.lua | 1 | 5106 | --六武の門
function c27970830.initial_effect(c)
c:EnableCounterPermit(0x3)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--add counter
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e2:SetRange(LO... | gpl-2.0 |
destdev/ygopro-scripts | c3648368.lua | 4 | 1393 | --A・O・J リサーチャー
function c3648368.initial_effect(c)
--to hand
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(3648368,0))
e1:SetCategory(CATEGORY_POSITION)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetCost(c3648368.... | gpl-2.0 |
destdev/ygopro-scripts | c94801854.lua | 4 | 3337 | --不知火の隠者
function c94801854.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(94801854,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetCountLimit(1,94801854)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCost(c94801854.cost)
e1:SetTarget(c9... | gpl-2.0 |
Deadwing888/darkstar | scripts/globals/items/serving_of_menemen.lua | 18 | 1528 | -----------------------------------------
-- ID: 5586
-- Item: serving_of_menemen
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- HP 30
-- MP 30
-- Agility 1
-- Intelligence -1
-- HP recovered while healing 1
-- MP recovered while healing 1
-----------------------------------------
require... | gpl-3.0 |
Deadwing888/darkstar | scripts/globals/abilities/corsairs_roll.lua | 5 | 2595 | -----------------------------------
-- Ability: Corsair's Roll
-- Increases the amount of experience points earned by party members within area of effect
-- Optimal Job: Corsair
-- Lucky Number: 5
-- Unlucky Number: 9
-- Level: 5
--
-- Die Roll |Exp Bonus%
-- -------- -----------
-- 1 |10%
-- 2 ... | gpl-3.0 |
RwNigma/darkstar | scripts/globals/mobskills/Cyclone_Wing.lua | 18 | 1140 | ---------------------------------------------
-- Tebbad Wing
--
-- Description: Deals darkness damage to enemies within a very wide area of effect. Additional effect: Sleep
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: 30' radial.
-- Notes: Used only by Vrtra and Azdaja
--------------... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/mobskills/light_blade.lua | 11 | 1409 | ---------------------------------------------
-- Light Blade
-- Description: Deals very high physical damage to a single player.
-- Type: Ranged
-- Damage decreases the farther away the target is from him.
---------------------------------------------
require("scripts/globals/settings")
require("scripts/globals/sta... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/spells/bluemagic/death_scissors.lua | 4 | 1611 | -----------------------------------------
-- Spell: Death Scissors
-- Damage varies with TP
-- Spell cost: 51 MP
-- Monster Type: Vermin
-- Spell Type: Physical (Slashing)
-- Blue Magic Points: 5
-- Stat Bonus: MND+2, CHR+2, HP+5
-- Level: 60
-- Casting Time: 0.5 seconds
-- Recast Time: 24.5 seconds
-- Skillchain Prope... | gpl-3.0 |
AenAllAin/factorio-walls | release/n^3_walls_0.0.9/prototypes/entity/composite-wall.lua | 2 | 17713 | -- composite Walls
data:extend (
{
{
type = "wall",
name = "composite-wall-wall",
icon = "__n^3_walls__/graphics/icons/composite-wall.png",
flags = {"placeable-neutral", "player-creation", "not-repairable"},
max_health = 500,
--selection_box = {{-0.5, -0.5}, {0.5, 0.5}},
selection_box = {{... | gpl-3.0 |
moses1984/aafmt | book_chapters_LaTeX_original/pgf_3.0.1.tds/tex/generic/pgf/libraries/luamath/pgf/luamath/parser.lua | 2 | 16208 | -- Copyright 2011 by Christophe Jorssen and Mark Wibrow
-- Copyright 2014 by Christian Feuersaenger
--
-- This file may be distributed and/or modified
--
-- 1. under the LaTeX Project Public License and/or
-- 2. under the GNU Public License.
--
-- See the file doc/generic/pgf/licenses/LICENSE for more details.
--
-- $I... | gpl-2.0 |
RwNigma/darkstar | scripts/globals/mobskills/Bomb_Toss_Suicide.lua | 4 | 1061 | require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------------
function onMobSkillCheck(target,mob,skill)
-- notorious monsters shouldn't explode, nor dynamis
if (mob:isMobType(MOBTYPE_NOTORIOUS) or mob:... | gpl-3.0 |
destdev/ygopro-scripts | c39838559.lua | 1 | 2961 | --F.A.サーキットGP
function c39838559.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--lv up
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_UPDATE_LEVEL)
e2:SetRange(LOCATION... | gpl-2.0 |
destdev/ygopro-scripts | c76763417.lua | 6 | 1385 | --サイバー・ジムナティクス
function c76763417.initial_effect(c)
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(76763417,0))
e1:SetCategory(CATEGORY_DESTROY)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetCost(c7676341... | gpl-2.0 |
destdev/ygopro-scripts | c52639377.lua | 6 | 1538 | --魔界闘士 バルムンク
function c52639377.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1)
c:EnableReviveLimit()
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(52639377,0))
e1:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_CARD_... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/globals/items/dhalmel_pie_+1.lua | 11 | 1615 | -----------------------------------------
-- ID: 4322
-- Item: dhalmel_pie_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health 25
-- Strength 4
-- Agility 2
-- Vitality 1
-- Intelligence -2
-- Mind 1
-- Attack % 25
-- Attack Cap 50
-- Ranged ATT % 25
-- Ranged ATT Cap 50
------------... | gpl-3.0 |
RwNigma/darkstar | scripts/globals/mobskills/Astral_Flow_Pet.lua | 4 | 2687 | ---------------------------------------------------
-- Astral Flow
-- Will make existing pet use astral flow skill
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
--------------------------------------... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/East_Ronfaure_[S]/npcs/qm5.lua | 27 | 1615 | -----------------------------------
-- Area: East Ronfaure [S]
-- NPC: qm5 "???"
-- Involved in Quests: Steamed Rams
-- @pos 380.015 -26.5 -22.525
-----------------------------------
package.loaded["scripts/zones/East_Ronfaure_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/... | gpl-3.0 |
elptito/EmptyEpsilon | scripts/shipTemplates_StarFighters.lua | 1 | 9546 | --[[ Starfighters
Starfighters are single to 3 person small ships. These are most commonly used as light firepower roles.
They are common in larger groups. And need a close by station or support ship, as they lack long time life support.
It's rare to see starfighters with more then 1 shield section.
One ... | gpl-2.0 |
destdev/ygopro-scripts | c72287557.lua | 2 | 1205 | --ヘル・ポリマー
function c72287557.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_CONTROL)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetCondition(c72287557.condition)
e1:SetCost(c72287557.cost)
e1:SetTarget(c72... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/RuAun_Gardens/npcs/HomePoint#5.lua | 27 | 1265 | -----------------------------------
-- Area: RuAun_Gardens
-- NPC: HomePoint#5
-- @pos 305 -42 -427 130
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/RuAun_Gardens/TextIDs");
require("scripts/globals/homepo... | gpl-3.0 |
destdev/ygopro-scripts | c28265983.lua | 3 | 3596 | --渇きの風
function c28265983.initial_effect(c)
--activate
local e0=Effect.CreateEffect(c)
e0:SetDescription(aux.Stringid(28265983,0))
e0:SetType(EFFECT_TYPE_ACTIVATE)
e0:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e0)
--activate(destroy)
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(28265983,1))
... | gpl-2.0 |
RobLoach/libretro-lutro | deps/luasocket/libluasocket/ftp.lua | 144 | 9120 | -----------------------------------------------------------------------------
-- FTP support for the Lua language
-- LuaSocket toolkit.
-- Author: Diego Nehab
-- RCS ID: $Id: ftp.lua,v 1.45 2007/07/11 19:25:47 diego Exp $
-----------------------------------------------------------------------------
-------------------... | mit |
ffxijuggalo/darkstar | scripts/zones/Tahrongi_Canyon/npcs/Shattered_Telepoint.lua | 9 | 1913 | -----------------------------------
-- Area: Tahrongi_Canyon
-- NPC: Shattered Telepoint
-- !pos 179 35 255 117
-----------------------------------
local ID = require("scripts/zones/Tahrongi_Canyon/IDs")
require("scripts/globals/keyitems")
require("scripts/globals/missions")
-----------------------------------
functi... | gpl-3.0 |
destdev/ygopro-scripts | c56773577.lua | 1 | 3662 | --ネクロバレーの神殿
function c56773577.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP)
e1:SetHintTiming(TIMING_DAMAGE_STEP)
e1:SetCondition(c56773577.condition)
c:RegisterEffect(e1)
--atk down
local e2=E... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Metalworks/npcs/Mighty_Fist.lua | 12 | 2683 | -----------------------------------
-- Area: Metalworks
-- NPC: Mighty Fist
-- Starts & Finishes Quest: The Darksmith (R)
-- Involved in Quest: Dark Legacy
-- @pos -47 2 -30 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("sc... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/items/vulcan_claymore.lua | 12 | 1254 | -----------------------------------------
-- ID: 18379
-- Item: Vulcan Claymore
-- Additional Effect: Fire Damage
-- Enchantment: Enfire
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/magic")
require("scripts/globals/msg")
-----------------------------------
functi... | gpl-3.0 |
topameng/tolua | Luajit64/jit/vmdef.lua | 2 | 7954 | -- 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 KCDATAKSHORT... | mit |
topameng/tolua | Luajit/jit/vmdef.lua | 2 | 7954 | -- 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 KCDATAKSHORT... | mit |
Deadwing888/darkstar | scripts/globals/mobskills/Wanion.lua | 43 | 1329 | ---------------------------------------------------
-- Wanion
-- AoE of all status ailments it has.
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------------... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Beaucedine_Glacier/mobs/Tundra_Tiger.lua | 6 | 1389 | -----------------------------------
-- Area: Beaucedine Glacier
-- MOB: Tundra Tiger
-- Note: PH for Nue, Kirata
-----------------------------------
require("scripts/globals/fieldsofvalor");
require("scripts/zones/Beaucedine_Glacier/MobIDs");
-----------------------------------
-- onMobDeath
------------------------... | gpl-3.0 |
destdev/ygopro-scripts | c16956455.lua | 6 | 1415 | --賢者ケイローン
function c16956455.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(16956455,0))
e1:SetCategory(CATEGORY_DESTROY)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetCountLimit(1)
e1:SetRange(LOCATION_MZONE)
e1:SetCost(c16956... | gpl-2.0 |
destdev/ygopro-scripts | c55727845.lua | 2 | 1717 | --No.96 ブラック・ミスト
function c55727845.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,2,3)
c:EnableReviveLimit()
--atk u/d
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(55727845,0))
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_ATTACK_ANNOUNCE)
e1:SetRange(LOCATION_MZONE)
e1:SetCost... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Yurim.lua | 13 | 20071 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Yurim
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
require("scripts/globals/keyitems");
require("scripts/globals/quests");
require("scripts/zones/Tavnazian_Safehold/TextI... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/items/black_prawn.lua | 11 | 1234 | -----------------------------------------
-- ID: 5948
-- Item: Black Prawn
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- DEX -5
-- VIT +3
-- DEF +16% (cap 50)
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
---------------------... | gpl-3.0 |
destdev/ygopro-scripts | c21350571.lua | 2 | 3975 | --幻獣の角
function c21350571.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(TIMING_DAMAGE_STEP)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP)
e1:SetCondition(c21350571.condi... | gpl-2.0 |
grondo/flux-sched | rdl/middleclass.lua | 63 | 6117 | local middleclass = {
_VERSION = 'middleclass v3.0.1',
_DESCRIPTION = 'Object Orientation for Lua',
_URL = 'https://github.com/kikito/middleclass',
_LICENSE = [[
MIT LICENSE
Copyright (c) 2011 Enrique García Cota
Permission is hereby granted, free of charge, to any person obtaining... | gpl-2.0 |
destdev/ygopro-scripts | c65017789.lua | 1 | 2602 | --雪天気シエル
function c65017789.initial_effect(c)
--place
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(65017789,0))
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetCountLimit(1,65017789)
e1:SetTarget(c65017789.tftg)
e1:SetOperation(c65017789.tfop)
c:Reg... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Xarcabard/npcs/qm7.lua | 12 | 1491 | -----------------------------------
-- Area: Xarcabard
-- NPC: qm7 (???)
-- Involved in Quests: RNG AF3 quest - Unbridled Passion
-- @pos -295.065 -25.054 151.250 112
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globa... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Upper_Jeuno/npcs/Koriso-Manriso.lua | 13 | 1048 | ----------------------------------
-- Area: Upper Jeuno
-- NPC: Koriso-Manriso
-- Type: Item Deliverer
-- @zone: 244
-- @pos -64.39 1 23.704
--
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
require("scripts/zones/Upper_Jeuno/TextIDs");
----------------------... | gpl-3.0 |
destdev/ygopro-scripts | c12624008.lua | 6 | 1068 | --シャインスピリッツ
function c12624008.initial_effect(c)
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(12624008,0))
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_BATTLE_DESTROYED)
e1:SetCondition(c12624008.condition)
e1:SetTarget(c12624... | gpl-2.0 |
destdev/ygopro-scripts | c72529749.lua | 3 | 1770 | --トポロジック・トゥリスバエナ
function c72529749.initial_effect(c)
--link summon
c:EnableReviveLimit()
aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkType,TYPE_EFFECT),2)
--banish
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(72529749,0))
e1:SetCategory(CATEGORY_REMOVE+CATEGORY_DAMAGE)
e1:SetType(... | gpl-2.0 |
linuxmaniac/pkg-prosody | tests/test.lua | 1 | 7284 | -- Prosody IM
-- Copyright (C) 2008-2010 Matthew Wild
-- Copyright (C) 2008-2010 Waqas Hussain
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--
function run_all_tests()
package.loaded["net.connlisteners"] = { get = function () return {} end };
d... | mit |
RwNigma/darkstar | scripts/globals/items/eel_kabob.lua | 35 | 1276 | -----------------------------------------
-- ID: 4457
-- Item: eel_kabob
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Dexterity 4
-- Mind -3
-- Evasion 5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
... | gpl-3.0 |
destdev/ygopro-scripts | c93451636.lua | 9 | 1325 | --ゼンマイハニー
function c93451636.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(93451636,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_BATTLE_DESTROYED)
e1:SetCondition(c93451636.condition)
e1:SetT... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.