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 |
|---|---|---|---|---|---|
Deadwing888/darkstar | scripts/zones/Windurst-Jeuno_Airship/npcs/Mauricio.lua | 30 | 2313 | -----------------------------------
-- Area: Windurst-Jeuno Airship
-- NPC: Mauricio
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Windurst-Jeuno_Airship/TextIDs"] = nil;
require("scripts/zones/Windurst-Jeuno_Airship/TextIDs");
-----------------------------------
-- onTrade ... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Port_San_dOria/npcs/Ufanne.lua | 17 | 1582 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Ufanne
-- Type: Standard NPC
-- @zone: 232
-- @pos -15.965 -3 -47.748
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
----... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Mhaura/npcs/Runito-Monito.lua | 34 | 1472 | -----------------------------------
-- Area: Mhaura
-- NPC: Runito-Monito
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
require("scripts/globals/shop");
--------... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/items/trumpet_shell.lua | 11 | 1056 | -----------------------------------------
-- ID: 5466
-- Item: Trumpet Shell
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity -5
-- Vitality 4
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
------------------------------... | gpl-3.0 |
c-cube/lean | tests/lua/expr3.lua | 4 | 3032 | local b1 = binder_info()
assert(not b1:is_implicit())
local f = Const("f")
local a = Const("a")
local t = f(a)
assert(t:fn() == f)
assert(t:arg() == a)
assert(not pcall(function() f:fn() end))
local a1 = Local("a", Prop)
local pi1 = Pi(a1, Type)
assert(pi1:is_pi())
assert(not pcall(function() f:binding_name() end))
l... | apache-2.0 |
ffxijuggalo/darkstar | scripts/globals/items/plate_of_crab_sushi.lua | 11 | 1171 | -----------------------------------------
-- ID: 5721
-- Item: plate_of_crab_sushi
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Vitality 1
-- Defense 10
-- Accuracy % 13 (cap 64)
-- Resist Sleep +1
-----------------------------------------
require("scripts/globals/status")
require("scri... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/weaponskills/raging_rush.lua | 10 | 1455 | -----------------------------------
-- Raging Rush
-- Great Axe weapon skill
-- Skill level: 200 (Warriors only.)
-- Delivers a three-hit attack. Chance of params.critical hit varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Snow Gorget & Aqua Gorget.
-- Aligned with the Snow Belt & Aqua Belt.
-- El... | gpl-3.0 |
destdev/ygopro-scripts | c96100333.lua | 2 | 6238 | --古代遺跡の目覚め
function c96100333.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(96100333,0))
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE)
c:RegisterEffect(e1)
--destroy
local e2=Effect.CreateEf... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Upper_Jeuno/npcs/Paya-Sabya.lua | 13 | 1325 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Paya-Sabya
-- Involved in Mission: Magicite
-- @zone 244
-- @pos 9 1 70
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scri... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/The_Garden_of_RuHmet/npcs/_0zu.lua | 30 | 1094 | -----------------------------------
-- Area: The Garden of Ru'Hmet
-- NPC: particle gate
-----------------------------------
require("scripts/globals/keyitems");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
---------------------... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/The_Shrouded_Maw/bcnms/waking_dreams.lua | 30 | 2828 | -----------------------------------
-- Area: The_Shrouded_Maw
-- Name: waking_dreams
-----------------------------------
package.loaded["scripts/zones/The_Shrouded_Maw/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems");
require("scripts/globals/q... | gpl-3.0 |
Jokler/JC2MP-Scripts | killfeed/client/killfeed.lua | 1 | 5778 | class 'Killfeed'
function Killfeed:__init()
self.active = true
self.list = {}
self.removal_time = 10
self:CreateKillStrings()
Network:Subscribe("PlayerDeath" , self, self.PlayerDeath)
Events:Subscribe("Render" , self, self.Render)
Events:Subscribe("LocalPlayerChat", self, self.L... | mit |
RwNigma/darkstar | scripts/globals/logging.lua | 3 | 6582 | -------------------------------------------------
-- Logging functions
-- Info from:
-- http://wiki.ffxiclopedia.org/wiki/Logging
-------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-------------------------------------------------
... | gpl-3.0 |
Deadwing888/darkstar | scripts/globals/mobskills/Auroral_Drape.lua | 45 | 1029 | ---------------------------------------------
-- Auroral Drape
--
-- Description: Silence and Blind Area of Effect (10.0')
-- Type: Enfeebling
-- Utsusemi/Blink absorb: Ignores shadows
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scri... | gpl-3.0 |
destdev/ygopro-scripts | c28912357.lua | 4 | 2796 | --ギアギガント X
function c28912357.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_MACHINE),4,2)
c:EnableReviveLimit()
--search
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetDescription(aux.Stringid(28912357,0))
e1:SetType(EFFECT_TY... | gpl-2.0 |
RwNigma/darkstar | scripts/globals/magicburst.lua | 18 | 3419 | require("scripts/globals/status")
SC_NONE = 0 -- Lv0 None
SC_TRANSFIXION = 1 -- Lv1 Light
SC_COMPRESSION = 2 -- Lv1 Dark
SC_LIQUEFACTION = 3 -- Lv1 Fire
SC_SCISSION = 4 -- Lv1 Earth
SC_REVERBERATION = 5 -- Lv1 Water
SC_DETONATION = 6 -- Lv1 Wind
SC_INDURATION = 7 -- Lv1 Ice
S... | gpl-3.0 |
destdev/ygopro-scripts | c6511113.lua | 1 | 5034 | --フレシアの蟲惑魔
function c6511113.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,4,2)
c:EnableReviveLimit()
--immune
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EFFECT_IMMUNE_EFFECT)
e1:SetCondition(c651111... | gpl-2.0 |
destdev/ygopro-scripts | c29996433.lua | 4 | 2197 | --ダイナレスラー・カポエラプトル
function c29996433.initial_effect(c)
--indes
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EFFECT_INDESTRUCTABLE_BATTLE)
e1:SetValue(1)
e1:SetCondition(c29996433.indcon)
c:RegisterEffect(e1)
--po... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Temenos/mobs/Telchines_Bard.lua | 16 | 1135 | -----------------------------------
-- Area: Temenos N T
-- NPC: Telchines_Bard
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
----------------------... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/items/marinara_pizza.lua | 11 | 1296 | -----------------------------------------
-- ID: 5743
-- Item: marinara_pizza
-- Food Effect: 3 hours, all Races
-----------------------------------------
-- HP +20
-- Attack +20% (cap 50 @ 250 base attack)
-- Accuracy +10% (54)
-- Undead Killer
-----------------------------------------
require("scripts/globals/status"... | gpl-3.0 |
Markal128/skynet | service/cdummy.lua | 94 | 1797 | local skynet = require "skynet"
require "skynet.manager" -- import skynet.launch, ...
local globalname = {}
local queryname = {}
local harbor = {}
local harbor_service
skynet.register_protocol {
name = "harbor",
id = skynet.PTYPE_HARBOR,
pack = function(...) return ... end,
unpack = skynet.tostring,
}
skynet.reg... | mit |
Deadwing888/darkstar | scripts/globals/weaponskills/pyrrhic_kleos.lua | 6 | 2043 | -----------------------------------
-- Pyrrhic Kleos
-- Dagger weapon skill
-- Skill level: N/A
-- Description: Delivers a fourfold attack that lowers target's evasion. Duration of effect varies with TP. Terpsichore: Aftermath effect varies with TP.
-- Available only after completing the Unlocking a Myth (Dancer) quest... | gpl-3.0 |
destdev/ygopro-scripts | c51324455.lua | 7 | 1295 | --魔製産卵床
function c51324455.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_REMOVE)
e1:SetCondition(c51324455.condition)
e1:SetTarget(c51324455.target)
e1:SetOperation(c51324455.activate)
c:RegisterEff... | gpl-2.0 |
Deadwing888/darkstar | scripts/globals/items/rice_dumpling.lua | 18 | 2095 | -----------------------------------------
-- ID: 4271
-- Item: rice_dumpling
-- Food Effect: 30minutes, All Races
-----------------------------------------
-- HP 17
-- Strength 3
-- Vitality 2
-- Agility 1
-- Attack 20% (caps @ 45)
-- Ranged Attack 30% (caps @ 45)
-- HP Regeneration While Healing 2
-- MP Regeneration W... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/Promyvion-Holla/Zone.lua | 9 | 2301 | -----------------------------------
--
-- Zone: Promyvion-Holla (16)
--
-----------------------------------
local ID = require("scripts/zones/Promyvion-Holla/IDs")
require("scripts/globals/promyvion")
require("scripts/globals/keyitems")
require("scripts/globals/missions")
require("scripts/globals/settings")
require("sc... | gpl-3.0 |
Deadwing888/darkstar | scripts/globals/items/serving_of_cherry_bavarois.lua | 18 | 1370 | -----------------------------------------
-- ID: 5745
-- Item: serving_of_cherry_bavarois
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- HP 25
-- Intelligence 3
-- MP 10
-- HP Recovered While Healing 3
-----------------------------------------
require("scripts/globals/status");
---------... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Metalworks/npcs/Vicious_Eye.lua | 19 | 1163 | -----------------------------------
-- Area: Metalworks
-- NPC: Vicious Eye
-- Type: Guild Merchant (Blacksmithing Guild)
-- @pos -106.132 0.999 -28.757 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settin... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Northern_San_dOria/npcs/Malfine.lua | 13 | 1038 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Malfine
-- Type: Standard Dialogue NPC
-- @zone: 231
-- @pos 136.943 0.000 132.305
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/TextIDs");
... | gpl-3.0 |
ryangmor/seheed | bot/utils.lua | 309 | 23029 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
JSON = (loadfile "./libs/... | gpl-2.0 |
Deadwing888/darkstar | scripts/globals/abilities/aspir_samba_ii.lua | 26 | 1430 | -----------------------------------
-- Ability: Aspir Samba II
-- Inflicts the next target you strike with Aspir daze, allowing all those engaged in battle with it to drain its MP.
-- Obtained: Dancer Level 60
-- Recast Time: 1:00
-- TP Cost: 25%
-- Duration: 1:30
-----------------------------------
require("scripts/g... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Lufaise_Meadows/mobs/Padfoot.lua | 18 | 2231 | -----------------------------------
-- Area: Lufaise Meadows
-- Mob: Padfoot
-- @pos 260.445 -1.761 -27.862 24 (True Copy) 16875578
-- @pos 412.447 -0.057 -200.161 24 (Fake Copies) 16875615
-- @pos -378.950 -15.742 144.215 24 || 16875703
-- @pos -43.689 0.487 -328.028 24 || 16875552
-- @pos -1... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/Lufaise_Meadows/npcs/qm4.lua | 9 | 1150 | -----------------------------------
-- Area: Lufaise Meadows
-- NPC: ??? - spawns Splinterspine Grukjuk for quest "A Hard Day's Knight"
-- !pos -38.605 -9.022 -290.700 24
-----------------------------------
local ID = require("scripts/zones/Lufaise_Meadows/IDs");
require("scripts/globals/quests");
--------------------... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Inner_Horutoto_Ruins/TextIDs.lua | 22 | 1317 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6548; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6553; -- Obtained: <item>.
GIL_OBTAINED = 6554; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6556; -- Obtained... | gpl-3.0 |
Deadwing888/darkstar | scripts/globals/spells/absorb-mnd.lua | 17 | 1364 | --------------------------------------
-- Spell: Absorb-MND
-- Steals an enemy's mind.
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
--------------------... | gpl-3.0 |
jcosborn/qhmc | lua/makeprop.lua | 1 | 4646 | require 'common'
require 'gaugeact'
require 'wilsonObservables'
--trace(true)
nx = nx or 4
nt = nt or 8
latsize = { nx, nx, nx, nt }
--aniso = 1/2.38
aniso = 1
mass = mass or -0.4125
--rsmear = 0.6
--nsmear = 30
rsmear = 0
nsmear = 0
prec = 1
restart = 500
resid = 1e-12
opts = { prec=prec, restart=restart }
--qopqdp.... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Sauromugue_Champaign/npcs/qm7.lua | 19 | 2301 | -----------------------------------
-- Area: Sauromugue Champaign
-- NPC: qm7 (???) (Tower 7)
-- Involved in Quest: THF AF "As Thick As Thieves"
-- @pos -193.869 15.400 276.837 120
-----------------------------------
package.loaded["scripts/zones/Sauromugue_Champaign/TextIDs"] = nil;
------------------------------... | gpl-3.0 |
RwNigma/darkstar | scripts/globals/spells/bluemagic/battery_charge.lua | 18 | 1499 | -----------------------------------------
-- Spell: Battery Charge
-- Gradually restores MP
-- Spell cost: 50 MP
-- Monster Type: Arcana
-- Spell Type: Magical (Light)
-- Blue Magic Points: 3
-- Stat Bonus: MP+10, MND+1
-- Level: 79
-- Casting Time: 5 seconds
-- Recast Time: 75 seconds
-- Spell Duration: 100... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/mobskills/acid_breath.lua | 11 | 1077 | ---------------------------------------------
-- Acid Breath
--
-- Description: Deals Water damage to enemies in a fan-shaped area of effect. Additional effect: STR Down
-- Type: Breath
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Unknown cone
-- Notes:
---------------------------------------------
requir... | gpl-3.0 |
destdev/ygopro-scripts | c5285665.lua | 7 | 2267 | --E・HERO バブルマン・ネオ
function c5285665.initial_effect(c)
c:EnableReviveLimit()
--cannot special summon
local e1=Effect.CreateEffect(c)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SPSUMMON_CONDITION)
c:RegisterEffect(e1)
--special summon
local ... | gpl-2.0 |
destdev/ygopro-scripts | c77797992.lua | 6 | 1197 | --森の聖獣 アルパカリブ
function c77797992.initial_effect(c)
--indes1
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_INDESTRUCTABLE_BATTLE)
e1:SetRange(LOCATION_MZONE)
e1:SetTargetRange(LOCATION_MZONE,0)
e1:SetCondition(c77797992.cona)
e1:SetTarget(c77797992.targeta)
e1:SetValue(1)
c:Re... | gpl-2.0 |
destdev/ygopro-scripts | c71415349.lua | 4 | 1468 | --ハンプティ・ダンディ
function c71415349.initial_effect(c)
--turn set
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(71415349,0))
e1:SetCategory(CATEGORY_POSITION)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetTarget(c71415349.target)
e1:SetOperation(c71415349.operation)
c:RegisterE... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/RuAun_Gardens/npcs/relic.lua | 38 | 1845 | -----------------------------------
-- Area: Ru'Aun Gardens
-- NPC: <this space intentionally left blank>
-- @pos -241 -12 332 130
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/RuAun_Gardens/TextIDs");
-----... | gpl-3.0 |
destdev/ygopro-scripts | c96789758.lua | 4 | 1382 | --アロマージ-ジャスミン
function c96789758.initial_effect(c)
--extra summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(96789758,0))
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_EXTRA_SUMMON_COUNT)
e1:SetRange(LOCATION_MZONE)
e1:SetTargetRange(LOCATION_HAND+LOCATION_MZONE,0)
e1:SetCondition(c9678975... | gpl-2.0 |
Markal128/skynet | lualib/skynet/inject.lua | 61 | 1373 | local function getupvaluetable(u, func, unique)
local i = 1
while true do
local name, value = debug.getupvalue(func, i)
if name == nil then
return
end
local t = type(value)
if t == "table" then
u[name] = value
elseif t == "function" then
if not unique[value] then
unique[value] = true
getu... | mit |
Kong/kong | spec/03-plugins/08-datadog/02-schema_spec.lua | 1 | 3162 | local schema_def = require "kong.plugins.datadog.schema"
local v = require("spec.helpers").validate_plugin_config_schema
describe("Plugin: datadog (schema)", function()
it("accepts empty config", function()
local ok, err = v({}, schema_def)
assert.is_nil(err)
assert.is_truthy(ok)
end)
it("accepts nu... | apache-2.0 |
ffxijuggalo/darkstar | scripts/globals/spells/bluemagic/animating_wail.lua | 12 | 1125 | -----------------------------------------
-- Spell: Animating Wail
-- Increases attack speed
-- Spell cost: 53 MP
-- Monster Type: Undead
-- Spell Type: Magical (Wind)
-- Blue Magic Points: 5
-- Stat Bonus: HP+20
-- Level: 79
-- Casting Time: 2 Seconds
-- Recast Time: 45 Seconds
-- 5 minutes
--
-- Combos: Dual Wield
--... | gpl-3.0 |
destdev/ygopro-scripts | c21501505.lua | 2 | 2280 | --暗遷士 カンゴルゴーム
function c21501505.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,4,2)
c:EnableReviveLimit()
--replace
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(21501505,0))
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_CHAINING)
e1:SetRa... | gpl-2.0 |
kennyledet/Algorithm-Implementations | Bellman_Ford_Search/Lua/Yonaba/bellmanford_test.lua | 26 | 1717 | -- Tests for dijkstra.lua
local BellmanFord = require 'bellmanford'
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 same(t, p, comp)
for k,v in ipairs(t) do
if not comp(v, p[k]) then return false end
en... | mit |
ffxijuggalo/darkstar | scripts/globals/spells/mages_ballad_iii.lua | 12 | 1163 | -----------------------------------------
-- Spell: Mage's Ballad III
-- Gradually restores target's MP.
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)
return 0
en... | gpl-3.0 |
phamelin/ardupilot | libraries/AP_Scripting/examples/LED_poslight.lua | 22 | 2147 | --[[
Script to use LED strips as position lights.
For this script we will use two strips with up to 8 LEDs each.
--]]
local num_leds = 8
local timer = 0
-- Brightness for green or red light.
local br_color = 255
-- Brightness for flash light when armed.
local br_flash = 255
--[[
Use SERVOn_FUNCTION 94 for left L... | gpl-3.0 |
one-signal/OneSignal-Corona-Example | view1.lua | 1 | 8114 | local json = require( "json" )
local native = require( "native" )
local widget = require( "widget" )
local composer = require( "composer" )
local OneSignal = require( "plugin.OneSignal" )
local scene = composer.newScene()
function GetYSpacingFromButton( button, padding )
return button.y + button.height + padding
end... | mit |
topameng/tolua | Assets/ToLua/Lua/UnityEngine/Vector2.lua | 1 | 6908 | --------------------------------------------------------------------------------
-- Copyright (c) 2015 , 蒙占志(topameng) topameng@gmail.com
-- All rights reserved.
-- Use, modification and distribution are subject to the "MIT License"
--------------------------------------------------------------------... | mit |
RwNigma/darkstar | scripts/globals/spells/bluemagic/healing_breeze.lua | 3 | 1806 | -----------------------------------------
-- Spell: Healing Breeze
-- Restores HP for party members within area of effect
-- Spell cost: 55 MP
-- Monster Type: Beasts
-- Spell Type: Magical (Wind)
-- Blue Magic Points: 4
-- Stat Bonus: CHR+2, HP+10
-- Level: 16
-- Casting Time: 4.5 seconds
-- Recast Time: 15 ... | gpl-3.0 |
Deadwing888/darkstar | scripts/globals/mobskills/Onslaught.lua | 33 | 1057 | ---------------------------------------------
-- Onslaught
--
-- Description: Lowers target's accuracy. Guttler/Ogre Killer: Temporarily increases Attack.
-- Type: Physical
-- Range: Melee
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Port_San_dOria/npcs/Perdiouvilet.lua | 19 | 1651 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Perdiouvilet
-- Involved in Quest: Lure of the Wildcat (San d'Oria)
-- @pos -59 -5 -29 232
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/glo... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Jugner_Forest/npcs/Mionie.lua | 17 | 1860 | -----------------------------------
-- Area: Jugner Forest
-- NPC: Mionie
-- Type: Outpost Vendor
-- @pos 54 0 -11 104
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/global... | gpl-3.0 |
Kong/kong | spec/03-plugins/18-acl/01-api_spec.lua | 1 | 17112 | local utils = require "kong.tools.utils"
local cjson = require "cjson"
local helpers = require "spec.helpers"
for _, strategy in helpers.each_strategy() do
describe("Plugin: acl (API) [#" .. strategy .. "]", function()
local consumer
local admin_client
local bp
local db
lazy_setup(function(... | apache-2.0 |
destdev/ygopro-scripts | c80577258.lua | 1 | 1825 | --雪の天気模様
function c80577258.initial_effect(c)
c:SetUniqueOnField(1,0,80577258)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--effect gain
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(80577258,0))
e2:SetCategory(... | gpl-2.0 |
destdev/ygopro-scripts | c96540.lua | 4 | 1776 | --ダウンビート
function c96540.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:SetCountLimit(1,96540+EFFECT_COUNT_CODE_OATH)
e1:SetCost(c96540.cost)
e1:SetTarget(c96540.target)
e1:SetOperation(c96540... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/zones/Apollyon/mobs/Proto-Omega.lua | 9 | 2633 | -----------------------------------
-- Area: Apollyon (Central)
-- Mob: Proto-Omega
-----------------------------------
require("scripts/globals/limbus");
require("scripts/globals/titles");
require("scripts/globals/mobs")
-----------------------------------
function onMobInitialize(mob)
mob:setMobMod(dsp.mobMod.A... | gpl-3.0 |
destdev/ygopro-scripts | c57902193.lua | 4 | 1319 | --苦渋の転生
function c57902193.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1)
e1:SetTarget(c57902193.target)
e1:SetOperation(c57902193.activate)
c:RegisterEffect(e1)
end
function c5790219... | gpl-2.0 |
destdev/ygopro-scripts | c63211608.lua | 6 | 1761 | --A・ジェネクス・リバイバー
function c63211608.initial_effect(c)
--counter
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_CHAINING)
e1:SetRange(LOCATION_HAND)
e1:SetOperation(c63211608.chop1)
c:RegisterEffect(e1)
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_... | gpl-2.0 |
RwNigma/darkstar | scripts/globals/items/gurnard.lua | 18 | 1256 | -----------------------------------------
-- ID: 5132
-- Item: Gurnard
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----------... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Windurst_Waters/npcs/Furan-Furin.lua | 59 | 1052 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Furan-Furin
-- Type: Weather Reporter
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Windurst_Waters/T... | gpl-3.0 |
topameng/tolua | Assets/ToLua/Lua/UnityEngine/Ray.lua | 1 | 1480 | --------------------------------------------------------------------------------
-- Copyright (c) 2015 - 2016 , 蒙占志(topameng) topameng@gmail.com
-- All rights reserved.
-- Use, modification and distribution are subject to the "MIT License"
-------------------------------------------------------------... | mit |
destdev/ygopro-scripts | c67831115.lua | 2 | 3192 | --星遺物に差す影
function c67831115.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--stats up
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_UPDATE_ATTACK)
e2:SetRange(LOCATION_FZONE)
e2... | gpl-2.0 |
pouria346/selfbot3 | plugins/all.lua | 18 | 5095 | 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 |
streamdataio/kong | spec/plugins/mashape-analytics/alf_serializer_spec.lua | 7 | 4084 | local fixtures = require "spec.plugins.mashape-analytics.fixtures.requests"
local ALFSerializer = require "kong.plugins.log-serializers.alf"
-- @see http://lua-users.org/wiki/CopyTable
local function deepcopy(orig)
local copy = {}
if type(orig) == "table" then
for orig_key, orig_value in next, orig, nil do
... | apache-2.0 |
destdev/ygopro-scripts | c60600126.lua | 2 | 2327 | --エマージェンシー・サイバー
function c60600126.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:SetCountLimit(1,60600126+EFFECT_COUNT_CODE_OATH)
e1:SetTarget(c60600126.target)
e1:SetOperation(c606001... | gpl-2.0 |
destdev/ygopro-scripts | c39892082.lua | 4 | 2083 | --バルーン・リザード
function c39892082.initial_effect(c)
c:EnableCounterPermit(0x29)
--counter
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(39892082,0))
e1:SetCategory(CATEGORY_COUNTER)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_PHASE+PHASE_STANDBY)
e1:SetRange(LOCATION_MZONE... | gpl-2.0 |
Deadwing888/darkstar | scripts/globals/weaponskills/numbing_shot.lua | 10 | 1524 | -----------------------------------
-- Numbing Shot
-- Marksmanship weapon skill
-- Skill level: 290
-- Main of sub must be Ranger or Corsair
-- Aligned with the Thunder & Breeze Gorget.
-- Aligned with the Thunder Belt & Breeze Belt.
-- Element: Ice
-- Modifiers: AGI 80%
-- 100%TP 200%TP 300%TP
-- 3.00 3.00... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Metalworks/npcs/Cid.lua | 12 | 11902 | -----------------------------------
-- Area: Metalworks
-- NPC: Cid
-- Starts & Finishes Quest: Cid's Secret, The Usual, Dark Puppet (start)
-- Involved in Mission: Bastok 7-1
-- @pos -12 -12 1 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
---------------------------... | gpl-3.0 |
Deadwing888/darkstar | scripts/globals/items/cougar_baghnakhs.lua | 41 | 1068 | -----------------------------------------
-- ID: 16702
-- Item: Cougar Baghnakhs
-- Additional Effect: Ice Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
----------------------------... | gpl-3.0 |
destdev/ygopro-scripts | c44394295.lua | 2 | 3080 | --影依融合
function c44394295.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_FUSION_SUMMON+CATEGORY_DECKDES)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,44394295+EFFECT_COUNT_CODE_OATH)
e1:SetTarget(c44394295.target)
... | gpl-2.0 |
RwNigma/darkstar | scripts/globals/items/cougar_baghnakhs.lua | 41 | 1068 | -----------------------------------------
-- ID: 16702
-- Item: Cougar Baghnakhs
-- Additional Effect: Ice Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
----------------------------... | gpl-3.0 |
mk52140/SCore_TC | src/server/scripts/Custom/GOMove/GOMove/GOMoveFunctions.lua | 1 | 9891 | GOMove = {Frames = {}, Inputs = {}}
function GOMove:Update()
for k, Frame in ipairs(GOMove.Frames) do
if(Frame.Update) then
Frame:Update()
end
end
end
function GOMove:Tonumber(val) -- returns nil if the value is not a number or 0x starting hex
if(type(val) == "string") then
... | gpl-2.0 |
destdev/ygopro-scripts | c15844566.lua | 2 | 2856 | --パワーコード・トーカー
function c15844566.initial_effect(c)
--link summon
c:EnableReviveLimit()
aux.AddLinkProcedure(c,nil,3,3)
--negate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(15844566,0))
e1:SetCategory(CATEGORY_DISABLE)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
... | gpl-2.0 |
aboasola/the3tetoo | plugins/arabic_lock.lua | 7 | 2047 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY tetoo ▀▄ ▄▀
▀▄ ▄▀ BY nmore (@l_l_lo) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY l_l_ll ▀▄ ▄▀
▀▄ ▄▀ broadcast : قفل العربيه ▀▄ ▄▀
▀▄▀▀▄▄▀▀▄▄▀▄▄▀▀... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/globals/items/bowl_of_goblin_stew.lua | 11 | 1196 | -----------------------------------------
-- ID: 4465
-- Item: bowl_of_goblin_stew
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- Dexterity -4
-- Attack +16% (cap 80)
-- Ranged Attack +16% (cap 80)
-----------------------------------------
require("scripts/globals/status")
require("scripts... | gpl-3.0 |
destdev/ygopro-scripts | c58984738.lua | 2 | 1958 | --真竜拳士ダイナマイトK
function c58984738.initial_effect(c)
--summon with s/t
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetCode(EFFECT_ADD_EXTRA_TRIBUTE)
e1:SetTargetRange(LOCATION_SZONE,0)
e1:SetTarget(aux.TargetBoolFunction(Card.I... | gpl-2.0 |
w86021702/svr_demo | server/lualib/db/character.lua | 5 | 1360 | local syslog = require "syslog"
local packer = require "db.packer"
local character = {}
local connection_handler
function character.init (ch)
connection_handler = ch
end
local function make_list_key (account)
local major = account // 100
local minor = account % 100
return connection_handler (account), string.for... | mit |
elptito/EmptyEpsilon | scripts/tutorial_03_weapons.lua | 2 | 12638 | -- Name: Weapons
-- Description: [Station Tutorial]
--- -------------------
--- -Goes over weapon controls
---
--- [Station Info]
--- -------------------
--- Data:
--- -In the upper-left corner, the Weapons officer's screen displays the ship's energy (max is 1,000), and the strength of its front and rear shields.
---
... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/zones/Western_Adoulin/npcs/Pagnelle.lua | 9 | 4145 | -----------------------------------
-- Area: Western Adoulin
-- NPC: Pagnelle
-- Type: Standard NPC and Quest NPC
-- Starts, Involved with, and Finishes Quest: 'Raptor Rapture'
-- !pos -8 0 -100 256
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/keyitems");
local ID = r... | gpl-3.0 |
destdev/ygopro-scripts | c84636823.lua | 1 | 1196 | --マジック・キャンセラー
function c84636823.initial_effect(c)
--cannot trigger
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_CANNOT_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetRange(LOCATION_MZONE)
e1:SetTargetRange(1,1)
e1:SetValue(c84636823.aclimit)
c:RegisterEffect(e1)
... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Windurst_Woods/npcs/Ju_Kamja.lua | 38 | 1032 | ----------------------------------
-- Area: Windurst Woods
-- NPC: Ju Kamja
-- Type: Item Deliverer
-- @zone: 241
-- @pos 58.145 -2.5 -136.91
--
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
require("scripts/zones/Windurst_Woods/TextIDs");
--------------------... | gpl-3.0 |
destdev/ygopro-scripts | c58464739.lua | 4 | 1661 | --パルス・ボム
function c58464739.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_POSITION)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCondition(c58464739.condition)
e1:SetTarget(c58464739.target)
e1:SetOperation(c58464739.activate)
c:RegisterEffect(e1)
e... | gpl-2.0 |
w86021702/svr_demo | 3rd/skynet/lualib/cluster.lua | 5 | 1433 | local skynet = require "skynet"
local clusterd
local cluster = {}
function cluster.call(node, address, ...)
-- skynet.pack(...) will free by cluster.core.packrequest
return skynet.call(clusterd, "lua", "req", node, address, skynet.pack(...))
end
function cluster.send(node, address, ...)
-- skynet.pack(...) will f... | mit |
w86021702/svr_demo | client/lualib/cluster.lua | 5 | 1433 | local skynet = require "skynet"
local clusterd
local cluster = {}
function cluster.call(node, address, ...)
-- skynet.pack(...) will free by cluster.core.packrequest
return skynet.call(clusterd, "lua", "req", node, address, skynet.pack(...))
end
function cluster.send(node, address, ...)
-- skynet.pack(...) will f... | mit |
RwNigma/darkstar | scripts/zones/Dynamis-Bastok/npcs/qm1.lua | 19 | 1257 | -----------------------------------
-- Area: Dynamis Bastok
-- NPC: qm1 (???)
-- Notes: Spawns when Megaboss is defeated
-----------------------------------
package.loaded["scripts/zones/Dynamis-Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/D... | gpl-3.0 |
destdev/ygopro-scripts | c50427388.lua | 6 | 1355 | --暴走する魔力
function c50427388.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCost(c50427388.cost)
e1:SetTarget(c50427388.target)
e1:SetOperation(c50427388.activate)
c:RegisterEffect(e1)
end
function... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/zones/Promyvion-Holla/IDs.lua | 12 | 2706 | -----------------------------------
-- Area: Promyvion-Holla
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.PROMYVION_HOLLA] =
{
text =
{
NOTHING_HAPPENS = 119, -- Nothing happens...
ITEM_CANNOT... | gpl-3.0 |
uskdum/TELEBOTMAGMA | plugins/Bot_Status.lua | 1 | 1261 | do
-- *** --
--
-- *** --
function run(msg, matches)
local os.time(os.date("!*t")) = os.time(os.date)
local chat_id = "chat#id"..result.id
local chatname = result.print_name
local receiver = get_receiver(msg)
local first_name = user.first_name
local print_name = user.print_name
local user_name = user.user_name
-- *** ... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/The_Sanctuary_of_ZiTah/npcs/Limion_RK.lua | 13 | 3381 | -----------------------------------
-- Area: The Sanctuary of Zi'Tah
-- NPC: Limion, R.K.
-- Border Conquest Guards
-- @pos -252.454 -1.958 624.366 121
-----------------------------------
package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil;
-----------------------------------
require("scripts/globals... | gpl-3.0 |
Kong/kong | kong/pdk/ip.lua | 1 | 2300 | ---
-- Trusted IPs module.
--
-- This module can be used to determine whether or not a given IP address is
-- in the range of trusted IP addresses defined by the `trusted_ips` configuration
-- property.
--
-- Trusted IP addresses are those that are known to send correct replacement
-- addresses for clients (as per the ... | apache-2.0 |
ffxijuggalo/darkstar | scripts/zones/Grauberg_[S]/npcs/qm1.lua | 9 | 1296 | -----------------------------------
-- Area: Grauberg [S]
-- NPC: ???
-- Quest - DNC AF1
-----------------------------------
local ID = require("scripts/zones/Grauberg_[S]/IDs");
require("scripts/globals/keyitems");
require("scripts/globals/quests");
-----------------------------------
function onTrade(player,npc,tr... | gpl-3.0 |
destdev/ygopro-scripts | c76067258.lua | 2 | 2689 | --No.66 覇鍵甲虫マスター・キー・ビートル
function c76067258.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsAttribute,ATTRIBUTE_DARK),4,2)
c:EnableReviveLimit()
--target
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(76067258,0))
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetT... | gpl-2.0 |
RwNigma/darkstar | scripts/globals/abilities/ninja_roll.lua | 9 | 2648 | -----------------------------------
-- Ability: Ninja Roll
-- Enhances evasion for party members within area of effect
-- Optimal Job: Ninja
-- Lucky Number: 4
-- Unlucky Number: 8
-- Jobs:
-- Corsair Level 8
--
-- Die Roll |With NIN
-- -------- ----------
-- 1 |+4
-- 2 |+6
-- 3 ... | gpl-3.0 |
domoticz/domoticz | dzVents/runtime/device-adapters/counter_device.lua | 6 | 2303 | return {
baseType = 'device',
name = 'Counter device adapter',
matches = function (device, adapterManager)
local res = ( device.deviceSubType == 'RFXMeter counter'
or device.deviceSubType == 'Counter Incremental'
or device.deviceSubType == 'Managed Counter')
if (not res) then
adapterManager.... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/weaponskills/vorpal_scythe.lua | 10 | 1643 | -----------------------------------
-- Vorpal Scythe
-- Scythe weapon skill
-- Skill level: 150
-- Delivers a single-hit attack. params.crit varies with TP.
-- Modifiers: STR:100%
-- 100%TP 200%TP 300%TP
-- 1.0 1.0 1.0
-----------------------------------
require("scripts/globals/settings")
requir... | gpl-3.0 |
RwNigma/darkstar | scripts/globals/items/homura.lua | 41 | 1064 | -----------------------------------------
-- ID: 16973
-- Item: Homura
-- Additional Effect: Fire Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-----------------------------------
... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.