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 |
|---|---|---|---|---|---|
MonokuroInzanaito/ygopro-777DIY | expansions/script/c80010051.lua | 1 | 1969 | --BOOM!
function c80010051.initial_effect(c)
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(80010051,1))
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMING_END_PHASE+TIMING_EQUIP)
e1:SetTarget(c80010051.destg)
e1:Se... | gpl-3.0 |
waterlgndx/darkstar | scripts/zones/Monastic_Cavern/mobs/Overlord_Bakgodek.lua | 2 | 1086 | -----------------------------------
-- Area: Monastic Cavern
-- MOB: Overlord Bakgodek
-- TODO: messages should be zone-wide
-----------------------------------
package.loaded["scripts/zones/Monastic_Cavern/TextIDs"] = nil
-----------------------------------
mixins = {require("scripts/mixins/job_special")}
require("sc... | gpl-3.0 |
davidedmonds/darkstar | scripts/zones/La_Theine_Plateau/npcs/Laurisse.lua | 17 | 1709 | -----------------------------------
-- Area: La Theine Plateau
-- NPC: Laurisse
-- Involved in Mission: The Rescue Drill
-- @pos -292 28 143 102
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/mi... | gpl-3.0 |
will4wachter/Project1 | scripts/zones/The_Eldieme_Necropolis/npcs/Cannau.lua | 38 | 1038 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Cannau
-- Type: Escort NPC
-- @pos 419.838 -56.999 -114.870 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldie... | gpl-3.0 |
waterlgndx/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Ying.lua | 5 | 1826 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NM: Ying
-----------------------------------
require("scripts/globals/status");
-----------------------------------
function onMobInitialize(mob,target)
end;
function onMobSpawn(mob)
local dynaLord = GetMobByID(17330177);
if (dynaLord:getLoca... | gpl-3.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c33700127.lua | 1 | 1525 | --霓火打手
function c33700127.initial_effect(c)
---damage
local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_DAMAGE)
e2:SetDescription(aux.Stringid(33700127,0))
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e2:SetRange(LOCATION_MZONE)
e2:SetCode(EVENT_TO_DECK)
e2:SetCountLimit(1)
e2:SetCondition(c3370... | gpl-3.0 |
davidedmonds/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Quelveuiat.lua | 34 | 2668 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Quelveuiat
-- Standard Info NPC
-- @pos -3.177 -22.750 -25.970 26
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");... | gpl-3.0 |
kidaa/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Quelveuiat.lua | 34 | 2668 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Quelveuiat
-- Standard Info NPC
-- @pos -3.177 -22.750 -25.970 26
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");... | gpl-3.0 |
davidedmonds/darkstar | scripts/zones/Maze_of_Shakhrami/npcs/_5ia.lua | 19 | 2623 | -----------------------------------
-- Area: Maze of Shakhrami
-- NPC: Strange Apparatus
-- @pos: 375 20 -259 198
-----------------------------------
package.loaded["scripts/zones/Maze_of_Shakhrami/TextIDs"] = nil;
require("scripts/zones/Maze_of_Shakhrami/TextIDs");
require("scripts/globals/strangeapparatus");
-----... | gpl-3.0 |
Thonik/FritoMod | fritomod/tests/Anchors.lua | 1 | 5422 | if nil ~= require then
require "wow/api/Frame";
require "fritomod/Frames";
end;
local Suite=CreateTestSuite("fritomod.Anchors");
local function PointTest(runner, expectedPoints)
return function(self)
local ref = CreateFrame("Frame");
local f = CreateFrame("Frame");
expectedPoints = runner(f, ref);
if #expec... | mit |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c50000050.lua | 1 | 1834 | --足球小子 奇犽
function c50000050.initial_effect(c)
--添加二重属性
aux.EnableDualAttribute(c)
--检索
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetDescription(aux.Stringid(50000050,0))
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1,50000050)
e1:SetCo... | gpl-3.0 |
waterlgndx/darkstar | scripts/zones/Windurst_Walls/npcs/Zokima-Rokima.lua | 2 | 2521 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Zokima-Rokima
-- Starts Windurst Missions
-- !pos 0 -16 124 239
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
package.loaded["scripts/globals/missions"] = nil;
-----------------------------------
req... | gpl-3.0 |
lhog/Zero-K | LuaRules/Gadgets/weapon_area_damage.lua | 7 | 5687 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function gadget:GetInfo()
return {
name = "Area Denial",
desc = "Lets a weapon's damage persist in an area",
author = "KDR_11k (David Becker), Google F... | gpl-2.0 |
kidaa/darkstar | scripts/zones/Northern_San_dOria/npcs/Maurinne.lua | 38 | 1026 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Maurinne
-- Type: Standard Dialogue NPC
-- @zone: 231
-- @pos -127.185 0.000 179.193
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/TextIDs")... | gpl-3.0 |
will4wachter/Project1 | scripts/zones/Maze_of_Shakhrami/npcs/Fossil_Rock.lua | 17 | 5025 | -----------------------------------
-- Area: Maze of Shakhrami
-- NPC: Fossil Rock
-- Used in Mission: Windurst Mission 2-1
-- @pos 17 18 184 198 + <many pos>
-----------------------------------
package.loaded["scripts/zones/Maze_of_Shakhrami/TextIDs"] = nil;
-----------------------------------
require("scri... | gpl-3.0 |
maminkeshmiri/RoboFun2016 | plugins/setrank.lua | 40 | 8897 | do
local Dev = 122774063 --put your id here(BOT OWNER ID)
local function setrank(msg, name, value) -- setrank function
local hash = nil
if msg.to.type == 'chat' then
hash = 'rank:'..msg.to.id..':variables'
end
if hash then
redis:hset(hash, name, value)
return send_msg('chat#id'..msg.to.id, 'مقام کاربر... | gpl-2.0 |
will4wachter/Project1 | scripts/globals/items/mutton_enchilada.lua | 35 | 1730 | -----------------------------------------
-- ID: 4348
-- Item: mutton_enchilada
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Magic 10
-- Strength 3
-- Vitality 1
-- Intelligence -1
-- Attack % 27
-- Attack Cap 35
-- Ranged ATT % 27
-- Ranged ATT Cap 35
---------------------... | gpl-3.0 |
davidedmonds/darkstar | scripts/zones/LaLoff_Amphitheater/mobs/Ark_Angel_GK.lua | 27 | 1373 | -----------------------------------
-- Area: LaLoff Amphitheater
-- NPC: Ark Angel GK
-----------------------------------
require("scripts/zones/LaLoff_Amphitheater/TextIDs");
-----------------------------------
-- TODO: Allegedly has a 12 hp/sec regen. Determine if true, and add to onMobInitialize if so.... | gpl-3.0 |
kidaa/darkstar | scripts/zones/Northern_San_dOria/npcs/Aivedoir.lua | 38 | 1026 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Aivedoir
-- Type: Standard Dialogue NPC
-- @zone: 231
-- @pos -123.119 7.999 134.490
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/TextIDs")... | gpl-3.0 |
davidedmonds/darkstar | scripts/zones/Southern_San_dOria/npcs/Arpetion.lua | 36 | 1469 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Arpetion
-- General Info NPC
-- @zone 230
-- @pos -11 1 -30
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings... | gpl-3.0 |
waterlgndx/darkstar | scripts/globals/mobskills/sable_breath.lua | 2 | 1170 | ---------------------------------------------
-- Sable Breath
--
-- Description: Deals darkness damage to enemies within a fan-shaped area.
-- Type: Breath
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Unknown cone
-- Notes: Used only by Vrtra and Azdaja
---------------------------------------------
require... | gpl-3.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c33700098.lua | 1 | 6441 | --天蓝朋友 薮猫
function c33700098.initial_effect(c)
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_SINGLE)
e0:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e0:SetCode(EFFECT_CHANGE_CODE)
e0:SetRange(LOCATION_GRAVE)
e0:SetValue(33700182)
c:RegisterEffect(e0)
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.St... | gpl-3.0 |
lhog/Zero-K | effects/watercannon.lua | 8 | 4016 | return {
["watercannon_muzzle"] = {
usedefaultexplosions = false,
sparks = {
air = true,
class = [[CSimpleParticleSystem]],
count = 1,
ground = true,
water = true,
properties = {
airdrag = ... | gpl-2.0 |
leobaixada/BolScripts | KarthusMechanics.lua | 3 | 18843 | --[[
_____ _____ __ .__
/ \_______ / _ \________/ |_|__| ____ __ __ ____ ____
/ \ / \_ __ \ / /_\ \_ __ \ __\ |/ ___\| | \/ \ / _ \
/ Y \ | \/ / | \ | \/| | | \ \___| | / | ( <_> )
\____|__ /__| \___... | gpl-2.0 |
lhog/Zero-K | effects/DOT_Merl_Dexplo.lua | 7 | 1627 | return { DOT_Merl_DExplo = {
Dreck = {
class = [[CSimpleParticleSystem]],
properties = {
Texture = [[smokesmall]],
colorMap = [[.07 .05 .05 0.80
.00 .00 .00 0.01]],
pos = [[0, 1, 0]],
gravity = [[0, -0.2, 0]],
emitVector = [[0, 1, 0]],
emitRot = 0,
emitRotSpread = 50,
siz... | gpl-2.0 |
asasasasasasas11/uzzbot | plugins/gnuplot.lua | 622 | 1813 | --[[
* Gnuplot plugin by psykomantis
* dependencies:
* - gnuplot 5.00
* - libgd2-xpm-dev (on Debian distr) for more info visit: https://libgd.github.io/pages/faq.html
*
]]
-- Gnuplot needs absolute path for the plot, so i run some commands to find where we are
local outputFile = io.popen("pwd","r")
io.input(outputFile... | gpl-2.0 |
waterlgndx/darkstar | scripts/zones/Davoi/npcs/Zantaviat.lua | 2 | 1949 | -----------------------------------
-- Area: Davoi
-- NPC: Zantaviat
-- Involved in Mission: The Davoi Report
-- !pos 215 0.1 -10 149
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/global... | gpl-3.0 |
will4wachter/Project1 | scripts/zones/Nashmau/npcs/Wata_Khamazom.lua | 34 | 1438 | -----------------------------------
-- Area: Nashmau
-- NPC: Wata Khamazom
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs");
require("scripts/globals/shop");
-----... | gpl-3.0 |
waterlgndx/darkstar | scripts/zones/FeiYin/npcs/qm1.lua | 2 | 1098 | -----------------------------------
-- Area: FeiYin
-- NPC: qm1 (???)
-- Involved In Quest: Pieuje's Decision
-- !pos -55 -16 69 204
-----------------------------------
package.loaded["scripts/zones/FeiYin/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/FeiYin/TextIDs");
require("scripts/zo... | gpl-3.0 |
davidedmonds/darkstar | scripts/zones/QuBia_Arena/bcnms/those_who_lurk_in_shadows.lua | 59 | 2394 | -----------------------------------
-- Area: Qu'Bia Arena
-- NPC: Those Who Lurk in Shadows
-- @pos -221 -24 19 206
-----------------------------------
package.loaded["scripts/zones/QuBia_Arena/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions"... | gpl-3.0 |
will4wachter/Project1 | scripts/globals/weaponskills/ukkos_fury.lua | 6 | 1752 | -----------------------------------
-- Ukko's Fury
-- Great Axe Weapon Skill
-- Skill Level: N/A
-- Description: Delivers a twofold attack that slows target. Chance of params.critical hit varies with TP. Ukonvasara: Aftermath.
-- Available only when equipped with Ukonvasara (85), Ukonvasara (90), Ukonvasara (... | gpl-3.0 |
waterlgndx/darkstar | scripts/globals/items/bowl_of_quadav_stew.lua | 2 | 1070 | -----------------------------------------
-- ID: 4569
-- Item: Bowl of Quadav Stew
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Agility -4
-- Vitality 2
-- Defense % 17
-- Defense Cap 60
-----------------------------------------
require("scripts/globals/status");
----------------------... | gpl-3.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c75646021.lua | 1 | 3194 | --惠飞须泽胡桃
function c75646021.initial_effect(c)
--pendulum summon
aux.EnablePendulumAttribute(c)
--draw
local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_DESTROY+CATEGORY_DRAW)
e2:SetCountLimit(1)
e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetRange(LOCATION_PZONE)
e2:SetCost(c75646021.cost)
e2:SetTarget(c7564602... | gpl-3.0 |
will4wachter/Project1 | scripts/globals/weaponskills/rampage.lua | 6 | 1235 | -----------------------------------
-- Rampage
-- Axe weapon skill
-- Skill level: 175
-- Delivers a five-hit attack. Chance of params.critical varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Soil Gorget.
-- Aligned with the Soil Belt.
-- Element: None
-- Modifiers: STR:30%
-- 1... | gpl-3.0 |
iGhibli/FlyingGame | FlyingGame/src/framework/filter.lua | 20 | 3489 | --- create some filters to build a FilteredSprite
-- @author zrong(zengrong.net)
-- Creation 2014-03-31
--------------------------------
-- @module filter
--[[--
滤镜功能
]]
local filter = {}
local FILTERS = {
-- colors
GRAY = {cc.GrayFilter}, -- {r 0.299, g 0.587, b 0.114, a 0.0} or no parameters
RGB = {cc... | gpl-3.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c18700301.lua | 1 | 2734 | --少女少女
function c18700301.initial_effect(c)
--pendulum summon
aux.EnablePendulumAttribute(c,false)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--destroy
local e4=Effect.CreateEffect(c)
e4:SetType(EFFECT_TYPE_IGNITION)
e4:SetRan... | gpl-3.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c17524516.lua | 1 | 2403 | --4
function c17524516.initial_effect(c)
--c:EnableReviveLimit()
--search
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(17524516,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_TO_GRAVE)
e1:SetCountLimit(1,17524516)
e1:SetCondit... | gpl-3.0 |
waterlgndx/darkstar | scripts/zones/Mhaura/npcs/Tya_Padolih.lua | 1 | 1063 | -----------------------------------
-- Area: Mhaura
-- NPC: Tya Padolih
-- Standard Merchant NPC
-- !pos -48 -4 30 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil
-----------------------------------
require("scripts/zones/Mhaura/TextIDs")
require("scripts/globals/shop")
fu... | gpl-3.0 |
IonutStef/gamecode4 | Assets/Scripts/TeapotStates.lua | 44 | 13650 | --========================================================================
-- ActorManager.lua : Defines all the states for an AI controlled teapot
--
-- Part of the GameCode4 Application
--
-- GameCode4 is the sample application that encapsulates much of the source code
-- discussed in "Game Coding Complete - 4t... | lgpl-3.0 |
davidedmonds/darkstar | scripts/zones/Northern_San_dOria/npcs/Mulaujeant.lua | 19 | 2331 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Mulaujeant
-- Involved in Quests: Missionary Man
-- @zone 231
-- @pos -175 0 181
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/s... | gpl-3.0 |
kidaa/darkstar | scripts/globals/abilities/weapon_bash.lua | 10 | 1547 | -----------------------------------
-- Ability: Weapon Bash
-- Delivers an attack that can stun the target.
-- Obtained: Dark Knight Level 20
-- Cast Time: Instant
-- Recast Time: 3:00 minutes
-- Note: This ability requires a two-handed weapon to use
-----------------------------------
require("scripts/global... | gpl-3.0 |
Element-Research/dpnn | ReinforceGamma.lua | 4 | 4207 | ------------------------------------------------------------------------
--[[ ReinforceGamma ]]--
-- Ref A. http://incompleteideas.net/sutton/williams-92.pdf
-- Inputs are shape (k) and scale (theta) of multivariate Gamma distribution.
-- Ouputs are samples drawn from these distributions.
-- Scale is provided as cons... | bsd-3-clause |
davidedmonds/darkstar | scripts/zones/Spire_of_Vahzl/npcs/_0n0.lua | 17 | 1491 | -----------------------------------
-- Area: Spire of Vahzl
-- NPC: Web of Recollection
-----------------------------------
package.loaded["scripts/zones/Spire_of_Vahzl/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/quests");
require("scripts/gl... | gpl-3.0 |
davidedmonds/darkstar | scripts/zones/Port_Windurst/npcs/Panja-Nanja.lua | 53 | 1909 | -----------------------------------
-- Area: Port Windurst
-- NPC: Panja-Nanja
-- Type: Fishing Adv. Image Support
-- @pos -194.499 -3 58.692 240
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
requ... | gpl-3.0 |
lhog/Zero-K | effects/debris.lua | 25 | 2772 | -- debris1
return {
["debris1"] = {
dirt = {
air = true,
class = [[CSimpleParticleSystem]],
count = 1,
ground = true,
water = true,
properties = {
airdrag = 0.97,
colormap = ... | gpl-2.0 |
davidedmonds/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5f2.lua | 34 | 1104 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Odin's Gate
-- @pos 180 -34 55 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextIDs");
... | gpl-3.0 |
waterlgndx/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Hammer.lua | 7 | 1138 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Animated Hammer
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
function onMobEngaged(mob,target)
if (mob:AnimationSub() == 3) then... | gpl-3.0 |
iGhibli/FlyingGame | FlyingGame/src/framework/shortcodes.lua | 19 | 13473 | --[[
Copyright (c) 2011-2014 chukong-inc.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dis... | gpl-3.0 |
davidedmonds/darkstar | scripts/zones/Apollyon/Zone.lua | 17 | 11954 | -----------------------------------
--
-- Zone: Apollyon
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
require("scripts/zones/Apollyon/TextIDs");
require("scripts/globals/limbus");
-----------------------------------
-- ... | gpl-3.0 |
will4wachter/Project1 | scripts/zones/Windurst_Waters/npcs/HomePoint#1.lua | 2 | 1315 | -----------------------------------
-- Area: Windurst Waters
-- NPC: HomePoint#1
-- @pos -32.022 -5.000 131.741 238
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zone... | gpl-3.0 |
kidaa/darkstar | scripts/globals/spells/poisonga.lua | 10 | 1091 | -----------------------------------------
-- Spell: Poisonga
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,sp... | gpl-3.0 |
martin-eden/workshop | concepts/bs_steel_mark/decode.lua | 1 | 1473 | return
function(mark_rec)
assert_string(mark_rec.type)
assert(mark_rec.type == 'BS_steel_mark')
local mark = mark_rec.value
assert_string(mark)
assert(#mark == 6)
local result = {}
local category = mark:sub(1, 1)
local category_name
local some_contents
if (category == '0') or... | gpl-3.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c37564918.lua | 1 | 3356 | --Sayuri-月光乱舞
local m=37564918
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c37564765") end,function() require("script/c37564765") end)
cm.Senya_name_with_sayuri=true
cm.Senya_name_with_rose=true
function cm.initial_effect(c)
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
... | gpl-3.0 |
waterlgndx/darkstar | scripts/zones/Apollyon/Zone.lua | 2 | 11128 | -----------------------------------
--
-- Zone: Apollyon
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
require("scripts/zones/Apollyon/TextIDs");
require("scripts/globals/limbus");
-----------------------------------
-- onInitialize... | gpl-3.0 |
waterlgndx/darkstar | scripts/globals/mobskills/armor_buster.lua | 2 | 1108 | ---------------------------------------------------
-- Armor_Buster
-- Description:
-- Type: Magical
-- additional effect :WEIGHT
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
----------------... | gpl-3.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c18707604.lua | 1 | 2873 | --吸血鬼 立华奏
function c18707604.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(28637168,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FL... | gpl-3.0 |
fms6/Dark-Flappy-Bird | utils/resources.lua | 1 | 1202 | Resources = class("Resources")
function Resources:__init()
self.imageQueue = {}
self.musicQueue = {}
self.soundQueue = {}
self.fontQueue= {}
self.images = {}
self.music = {}
self.sounds = {}
self.fonts = {}
end
function Resources:addImage(name, src)
self.imageQueue[name] = sr... | mit |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c99999996.lua | 1 | 6345 | --传说之魔术师 吉尔斯·德·莱斯
function c99999996.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,aux.FilterBoolFunction(c99999996.xyzfilter),3,2)
c:EnableReviveLimit()
--search
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_SINGLE)
e1:SetCod... | gpl-3.0 |
waterlgndx/darkstar | scripts/zones/Western_Adoulin/npcs/Eamonn.lua | 7 | 1608 | -----------------------------------
-- Area: Western Adoulin
-- NPC: Eamonn
-- Type: Standard NPC and Quest NPC
-- Starts and Involved with Quests: 'Scaredy-Cats'
-- @zone 256
-- !pos -91 3 2 256
-----------------------------------
require("scripts/globals/quests");
-----------------------------------
function onT... | gpl-3.0 |
will4wachter/Project1 | scripts/globals/items/windurst_salad.lua | 35 | 1465 | -----------------------------------------
-- ID: 4555
-- Item: windurst_salad
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Magic 20
-- Agility 5
-- Vitality -1
-- Ranged ACC % 8
-- Ranged ACC Cap 10
-----------------------------------------
require("scripts/globals/status"... | gpl-3.0 |
kidaa/darkstar | scripts/globals/items/bowl_of_sutlac.lua | 36 | 1315 | -----------------------------------------
-- ID: 5577
-- Item: Bowl of Sutlac
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP +8
-- MP +10
-- INT +1
-- MP Recovered while healing +2
-----------------------------------------
require("scripts/globals/status");
----... | gpl-3.0 |
davidedmonds/darkstar | scripts/globals/spells/knights_minne.lua | 18 | 1517 | -----------------------------------------
-- Spell: Knight's Minne I
-- Grants Defense bonus to all allies.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastin... | gpl-3.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c33700029.lua | 1 | 6047 | --Proto-Summoner 朱音
function c33700029.initial_effect(c)
--pendulum summon
aux.EnablePendulumAttribute(c)
--search
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(51028231,2))
e1:SetCategory(CATEGORY_SEARCH+CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_DES... | gpl-3.0 |
waterlgndx/darkstar | scripts/zones/Northern_San_dOria/npcs/Helaku.lua | 2 | 2712 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Helaku
-- Involved in Missions 2-3
-- @zone 231
-- !pos 49 -2 -12
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Northern_San_dOria/... | gpl-3.0 |
anywhy/codis | extern/redis-3.2.8/deps/lua/test/sort.lua | 889 | 1494 | -- two implementations of a sort function
-- this is an example only. Lua has now a built-in function "sort"
-- extracted from Programming Pearls, page 110
function qsort(x,l,u,f)
if l<u then
local m=math.random(u-(l-1))+l-1 -- choose a random pivot in range l..u
x[l],x[m]=x[m],x[l] -- swap pivot to first posit... | mit |
Murloc992/TBCBackporting | Jamba/Jamba-Macro/JambaMacro.lua | 1 | 69591 | --[[
Jamba - Jafula's Awesome Multi-Boxer Assistant
Copyright 2008 - 2010 Michael "Jafula" Miller
All Rights Reserved
http://wow.jafula.com/addons/jamba/
jamba at jafula dot com
]]--
-- Create the addon using AceAddon-3.0 and embed some libraries.
local AJM = LibStub( "AceAddon-3.0" ):NewAddon(
"JambaMacro",
"Jamb... | gpl-3.0 |
negati-ve/openshift-mediawiki | php/extensions/Scribunto/engines/LuaCommon/lualib/mw.html.lua | 3 | 9586 | --[[
A module for building complex HTML from Lua using a
fluent interface.
Originally written on the English Wikipedia by
Toohool and Mr. Stradivarius.
Code released under the GPL v2+ as per:
https://en.wikipedia.org/w/index.php?diff=next&oldid=581399786
https://en.wikipedia.org/w/index.php?diff=next&oldid=581... | gpl-2.0 |
waterlgndx/darkstar | scripts/zones/Southern_San_dOria/npcs/Amutiyaal.lua | 2 | 4129 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Amutiyaal
-- Warp NPC (Aht Urhgan)
-- !pos 116 0.1 84 230
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Southern_San_dOria/TextI... | gpl-3.0 |
waterlgndx/darkstar | scripts/zones/Nashmau/npcs/Yoyoroon.lua | 1 | 1629 | -----------------------------------
-- Area: Nashmau
-- NPC: Yoyoroon
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil
-----------------------------------
require("scripts/zones/Nashmau/TextIDs")
require("scripts/globals/shop")
function onTrade(player,... | gpl-3.0 |
davidedmonds/darkstar | scripts/zones/Bhaflau_Thickets/TextIDs.lua | 7 | 1158 | -- 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 |
will4wachter/Project1 | scripts/globals/items/serving_of_squirrels_delight.lua | 35 | 1341 | -----------------------------------------
-- ID: 5554
-- Item: serving_of_squirrels_delight
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- MP % 13 (cap 95)
-- MP Recovered While Healing 2
-----------------------------------------
require("scripts/globals/status");
------------... | gpl-3.0 |
davidedmonds/darkstar | scripts/globals/mobskills/Cross_Reaver.lua | 25 | 1030 | ---------------------------------------------
-- Cross Reaver
--
-- Description: Deals high damage to players in a fan-shaped area. Additional effect: Stun
-- Type: Physical
-- ? ? ? (No data offered)
-- Range: Melee
-- Special weaponskill unique to Ark Angel HM. Deals ~500-900 damage.
--------------------------... | gpl-3.0 |
kidaa/darkstar | scripts/globals/items/pestle.lua | 15 | 1098 | -----------------------------------------
-- ID: 18599
-- Item: Pestle
-- Additional effect: MP Drain
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-----------------------------------
fun... | gpl-3.0 |
davidedmonds/darkstar | scripts/globals/items/tiger_cod.lua | 18 | 1319 | -----------------------------------------
-- ID: 4483
-- Item: tiger_cod
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemChe... | gpl-3.0 |
will4wachter/Project1 | scripts/zones/Phomiuna_Aqueducts/npcs/qm6.lua | 34 | 1106 | -----------------------------------
-- 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... | gpl-3.0 |
kidaa/darkstar | scripts/zones/Northern_San_dOria/npcs/Charlaimagnat.lua | 2 | 2820 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Charlaimagnat
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/q... | gpl-3.0 |
lhog/Zero-K | LuaRules/Gadgets/unit_jumpjet_pilot_2.lua | 6 | 4193 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
if (not gadgetHandler:IsSyncedCode()) then
return false
end
function gadget:GetInfo()
return {
name = "Jumpjet Pilot 2014",
desc = "St... | gpl-2.0 |
kidaa/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5fr.lua | 34 | 2570 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: South Plate
-- @pos 180 -34 -31 195
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
------------------------... | gpl-3.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c5200019.lua | 1 | 2360 | --精灵剑舞变换
function c5200019.initial_effect(c)
--
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TODECK)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCountLimit(1,5200019+EFFECT_COUNT_CODE_OATH)
... | gpl-3.0 |
kidaa/darkstar | scripts/globals/items/tavnazian_salad.lua | 35 | 1678 | -----------------------------------------
-- ID: 4279
-- Item: tavnazian_salad
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health 20
-- Magic 20
-- Dexterity 4
-- Agility 4
-- Vitality 6
-- Charisma 4
-- Defense % 25
-- Defense Cap 150
------------------------------------... | gpl-3.0 |
davidedmonds/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Machionage.lua | 17 | 1586 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Machionage
-- @zone 80
-- @pos -255 -3 109
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
require("scripts/globals/quests... | gpl-3.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c19300033.lua | 1 | 3378 | --镜现诗·紧闭的恋之瞳
function c19300033.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,6,3)
c:EnableReviveLimit()
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_POSITION)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetCountLimit(1)
e1:SetRange(LOCATION_MZONE)
e1:SetCondition(c19300033.effcon)
e... | gpl-3.0 |
kidaa/darkstar | scripts/zones/East_Ronfaure_[S]/Zone.lua | 22 | 1336 | -----------------------------------
--
-- Zone: East_Ronfaure_[S] (81)
--
-----------------------------------
package.loaded["scripts/zones/East_Ronfaure_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/East_Ronfaure_[S]/TextIDs");
-------... | gpl-3.0 |
djphoenix/nodemcu-firmware | lua_examples/email/read_email_imap.lua | 82 | 4543 | ---
-- Working Example: https://www.youtube.com/watch?v=PDxTR_KJLhc
-- @author Miguel (AllAboutEE.com)
-- @description This example will read the first email in your inbox using IMAP and
-- display it through serial. The email server must provided unecrypted access. The code
-- was tested with an AOL and Time Warner c... | mit |
kidaa/darkstar | scripts/globals/abilities/thunder_shot.lua | 22 | 2801 | -----------------------------------
-- Ability: Thunder Shot
-- Consumes a Thunder Card to enhance lightning-based debuffs. Deals lightning-based magic damage
-- Shock Effect: Enhanced DoT and MND-
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
requi... | gpl-3.0 |
davidedmonds/darkstar | scripts/globals/weaponskills/victory_smite.lua | 30 | 1634 | -----------------------------------
-- Victory Smite
-- Hand-to-Hand Weapon Skill
-- Skill Level: N/A
-- Description: Delivers a fourfold attack. Chance of params.critical hit varies with TP.
-- Must have Verethragna (85)/(90)/(95)/(99)/(99-2) or Revenant Fists +1/+2/+3 equipped.
-- Aligned with the Light Gorget,... | gpl-3.0 |
davidedmonds/darkstar | scripts/zones/Mount_Zhayolm/npcs/_1p6.lua | 19 | 1052 | -----------------------------------
-- Area: Mount Zhayolm
-- NPC: Engraved Tablet
-- @pos 320 -15.35 -379 61
-----------------------------------
require("scripts/globals/keyitems");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
--... | gpl-3.0 |
dayongxie/slua | build/luajit-2.1.0/src/jit/bc.lua | 78 | 5620 | ----------------------------------------------------------------------------
-- LuaJIT bytecode listing module.
--
-- Copyright (C) 2005-2015 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------
-... | mit |
dayongxie/slua | build/luajit-2.0.4/dynasm/dasm_mips.lua | 120 | 28080 | ------------------------------------------------------------------------------
-- DynASM MIPS module.
--
-- Copyright (C) 2005-2015 Mike Pall. All rights reserved.
-- See dynasm.lua for full copyright notice.
------------------------------------------------------------------------------
-- Module information:
local _i... | mit |
kidaa/darkstar | scripts/globals/mobskills/Trembling.lua | 19 | 1093 | ---------------------------------------------
-- Trembling
--
-- Description: Deals physical damage to enemies within an area of effect. Additional effect: Dispel
-- Type: Physical
-- Wipes Shadows
-- Range: 10' radial
---------------------------------------------
require("scripts/globals/settings");
require("scri... | gpl-3.0 |
kidaa/darkstar | scripts/globals/mobskills/Metatron_Torment.lua | 7 | 1098 | ---------------------------------------------
-- Metatron Torment
--
-- Description: Lowers target's defense. Additional effect: temporarily lowers damage taken from enemies.
-- Type: Physical
-- Range: Melee
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globa... | gpl-3.0 |
kidaa/darkstar | scripts/zones/RuAun_Gardens/npcs/HomePoint#4.lua | 12 | 1248 | -----------------------------------
-- Area: RuAun_Gardens
-- NPC: HomePoint#4
-- @pos 500 -42 158 130
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/RuAun_Gardens/TextIDs");
require("scripts/globa... | gpl-3.0 |
lhog/Zero-K | LuaRules/Gadgets/unit_mex_overdrive.lua | 4 | 65272 | -- $Id: unit_mex_overdrive.lua 4550 2009-05-05 18:07:29Z licho $
-------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------
if not (gadgetHandler:IsSyncedCode()) then
return
end
--------------------------... | gpl-2.0 |
failcoder/SVUI_-Core | _options/libs/AceGUI-3.0-SharedMediaWidgets/Libs/AceGUI-3.0/widgets/AceGUIWidget-Label.lua | 46 | 4441 | --[[-----------------------------------------------------------------------------
Label Widget
Displays text and optionally an icon.
-------------------------------------------------------------------------------]]
local Type, Version = "Label", 23
local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
if not AceGUI or... | mit |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c33700091.lua | 1 | 5366 | --动物朋友 灰狼
function c33700091.initial_effect(c)
--tohand
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(3841833,0))
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_HAND)
e1:SetCost(c33700091.cost)
e1:SetTarget(c33700091.target)
e1:SetOperat... | gpl-3.0 |
davidedmonds/darkstar | scripts/globals/abilities/wind_shot.lua | 22 | 2984 | -----------------------------------
-- Ability: Wind Shot
-- Consumes a Wind Card to enhance wind-based debuffs. Deals wind-based magic damage
-- Choke Effect: Enhanced DoT and VIT-
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/glob... | gpl-3.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c11112023.lua | 1 | 4369 | --旧时代的象征 古塔
function c11112023.initial_effect(c)
c:EnableCounterPermit(0x22,LOCATION_FZONE)
--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_CONTINUOUS+EFFECT_TYPE_F... | gpl-3.0 |
HiddenTesla/sanguosha_fun | baye.lua | 1 | 27008 | --[[
更新日志,自2015-12-22起:
2015-12-22:将技能“霸业”从fun2转移至本文件,不完全。该技能未如预期,正在查找原因
2015-12-25:将函数isFriend和healPlayer移至本文件,似乎正常了。继续观察中
2016-05-02:第1次获得的技能改为武圣。不会获得技能再起
]]--
module("extensions.baye", package.seeall)
extension = sgs.Package("baye")
BTcaocao=sgs.General(extension, "BTcaocao$","wei", 3, true)
func... | bsd-2-clause |
kidaa/darkstar | scripts/globals/spells/curaga_iv.lua | 13 | 1218 | -----------------------------------------
-- Spell: Curaga IV
-- Restores HP of all party members within area of effect.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
----------------------------------------... | gpl-3.0 |
waterlgndx/darkstar | scripts/zones/Beaucedine_Glacier/npcs/Parledaire_RK.lua | 2 | 2949 | -----------------------------------
-- Area: Beaucedine Glacier
-- NPC: Parledaire, R.K.
-- Type: Conquest Overseer
-- !pos -24.351 -60.421 -114.215 111
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/con... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.