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 |
|---|---|---|---|---|---|
ffxijuggalo/darkstar | scripts/zones/Northern_San_dOria/npcs/Chasalvige.lua | 9 | 1360 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Chasalvige
-- Type: Standard Info NPC
-- Involved in Mission: The Road Forks
-- Involved in Mission: Promathia Mission 5 - Three Paths
-- !pos 96.432 -0.520 134.046 231
--
-----------------------------------
require("scripts/globals/missions");... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/Garlaige_Citadel/npcs/Mashira.lua | 9 | 1703 | -----------------------------------
-- Area: Garlaige Citadel
-- NPC: Mashira
-- Involved in Quests: Rubbish day, Making Amens!
-- !pos 141 -6 138 200
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/quests");
local ID = require("scr... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/West_Ronfaure/npcs/Doladepaiton_RK.lua | 28 | 3142 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Doladepaiton, R.K.
-- Type: Outpost Conquest Guards
-- @pos -448 -19 -214 100
-------------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
--------------------------------------
require("scripts/globals/c... | gpl-3.0 |
destdev/ygopro-scripts | c12369277.lua | 4 | 2217 | --超量士ブルーレイヤー
function c12369277.initial_effect(c)
--search
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(12369277,0))
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_SINGLE)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetCountLimit(1,12369277)
e1:SetTarget(c... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/zones/Sacrarium/npcs/qm3.lua | 9 | 1606 | -----------------------------------
-- Area: Sacrarium
-- NPC: qm3 (???)
-- Notes: Used to spawn Old Prof. Mariselle
-- !pos 62.668 -3.111 127.288 28
-----------------------------------
local ID = require("scripts/zones/Sacrarium/IDs");
require("scripts/globals/keyitems");
require("scripts/globals/missions");
funct... | gpl-3.0 |
vyacht/carambola | package/vyacht-web/files/lib/get-opt-alt.lua | 5 | 1557 | -- getopt_alt.lua
-- getopt, POSIX style command line argument parser
-- param arg contains the command line arguments in a standard table.
-- param options is a string with the letters that expect string values.
-- returns a table where associated keys are true, nil, or a string value.
-- The following example styles... | gpl-2.0 |
elptito/EmptyEpsilon | scripts/scenario_11_larp.lua | 1 | 14827 | -- Name: Larp Test
-- Description: Empty scenario, no enemies, no friendlies. Just to show larp edition of Empty Epsilon
-- Type: Basic
require("ee.lua")
function init()
player = PlayerSpaceship():setFaction("Human Navy"):setTemplate("Ship_Test_Larp"):setPosition(-10000, 0)
-----------------------------... | gpl-2.0 |
ldurniat/The-Great-Pong | scene/settings.lua | 2 | 4229 | --
-- Scena z ustawieniami
--
-- Wymagane moduły
local composer = require( "composer" )
local tiled = require( 'com.ponywolf.ponytiled' )
local json = require( 'json' )
local app = require( 'lib.app' )
local preference = require( 'preference' )
local fx = require( 'com.ponywolf.... | mit |
yahoo/fili | sample-applications/luthier-sample-app/src/main/resources/lua/config.lua | 2 | 2806 | -- Copyright 2018 Yahoo Inc.
-- Licensed under the terms of the Apache license. Please see LICENSE.md file distributed with this work for terms.
--[[
This module serves as the entry point for configuration generation. It pulls in
the configuration for each concept in Fili, and consolidatest them into a single
table, w... | apache-2.0 |
destdev/ygopro-scripts | c33302407.lua | 4 | 1317 | --ポイズン・チェーン
function c33302407.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--discard deck
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(33302407,0))
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIG... | gpl-2.0 |
destdev/ygopro-scripts | c10809984.lua | 1 | 1215 | --世紀の大泥棒
function c10809984.initial_effect(c)
--handes
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(10809984,0))
e1:SetCategory(CATEGORY_HANDES)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_BATTLE_DAMAGE)
e1:SetCondition(c10809984.drcon)
e1:SetTarget(c10809984.drtg)
e... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Cloister_of_Tides/bcnms/sugar-coated_directive.lua | 30 | 1798 | ----------------------------------------
-- Area: Cloister of Tides
-- BCNM: Sugar Coated Directive (ASA-4)
----------------------------------------
package.loaded["scripts/zones/Cloister_of_Tides/TextIDs"] = nil;
----------------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/qu... | gpl-3.0 |
Deadwing888/darkstar | scripts/globals/weaponskills/trueflight.lua | 6 | 1939 | -----------------------------------
-- Skill Level: N/A
-- Description: Deals light elemental damage. Damage varies with TP. Gastraphetes: Aftermath effect varies with TP.
-- Available only after completing the Unlocking a Myth (Ranger) quest.
-- Does not work with Flashy Shot.
-- Does not work with Stealth Shot.
-- Al... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Buburimu_Peninsula/npcs/Song_Runes.lua | 20 | 1949 | -----------------------------------
-- Area: Buburimu Peninsula
-- NPC: Song Runes
-- Finishes Quest: The Old Monument
-----------------------------------
package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals... | gpl-3.0 |
RwNigma/darkstar | scripts/globals/items/serving_of_dusky_indulgence.lua | 36 | 1526 | -----------------------------------------
-- ID: 5553
-- Item: Serving of Dusky Indulgence
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP +10
-- MP +5% Cap 30
-- Intelligence +5
-- HP Recovered while healing +2
-- MP Recovered while healing +2
--------------------... | gpl-3.0 |
destdev/ygopro-scripts | c71069715.lua | 2 | 1739 | --DDリビルド
function c71069715.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--indes
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_INDESTRUCTABLE_EFFECT)
e2:SetRange(LOCATION_SZONE)... | gpl-2.0 |
linuxmaniac/pkg-prosody | tests/test_util_sasl_scram.lua | 5 | 1259 |
local hmac_sha1 = require "util.hashes".hmac_sha1;
local function toHex(s)
return s and (s:gsub(".", function (c) return ("%02x"):format(c:byte()); end));
end
function Hi(Hi)
assert( toHex(Hi(hmac_sha1, "password", "salt", 1)) == "0c60c80f961f0e71f3a9b524af6012062fe037a6",
[[FAIL: toHex(Hi(hmac_sha1, "password", ... | mit |
destdev/ygopro-scripts | c78387742.lua | 4 | 1731 | --フェイク・ヒーロー
function c78387742.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:SetTarget(c78387742.target)
e1:SetOperation(c78387742.activate)
c:RegisterEffect(e1)
end
function c78387742.filter(... | gpl-2.0 |
destdev/ygopro-scripts | c22842214.lua | 2 | 3931 | --シー・ランサー
function c22842214.initial_effect(c)
--equip
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(22842214,0))
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(EFFECT_FLAG_NO_TURN_RESET+EFFECT_FLAG_CARD_TARGET)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1... | gpl-2.0 |
destdev/ygopro-scripts | c77297908.lua | 1 | 3688 | --魔界劇場「ファンタスティックシアター」
function c77297908.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--to hand
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(77297908,0))
e2:SetType(EFFECT_TYPE_IGNITION)
e2:Set... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/zones/Windurst_Waters/npcs/Bondada.lua | 9 | 1285 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Bondada
-- Involved in Quests: Hat in Hand
-- !pos -66 -3 -148 238
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/settings");
require("scripts/globals/titles");
-----------------------------------
fun... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Northern_San_dOria/npcs/Ramua.lua | 53 | 1884 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Ramua
-- Type: Woodworking Synthesis Image Support
-- @pos -183.750 10.999 255.770 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/glo... | gpl-3.0 |
destdev/ygopro-scripts | c63977008.lua | 2 | 1645 | --ジャンク・シンクロン
function c63977008.initial_effect(c)
--summon success
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(63977008,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Dhea_Prandoleh.lua | 31 | 2362 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Dhea Prandoleh
-- Type: Standard NPC
-- @zone: 94
-- @pos 1 -1 15
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
---------... | gpl-3.0 |
maikerumine/grieftest | mods/minetest-mod-mesecons/mesecons/actionqueue.lua | 9 | 3389 | mesecon.queue.actions={} -- contains all ActionQueue actions
function mesecon.queue:add_function(name, func)
mesecon.queue.funcs[name] = func
end
-- If add_action with twice the same overwritecheck and same position are called, the first one is overwritten
-- use overwritecheck nil to never overwrite, but just add t... | lgpl-2.1 |
ffxijuggalo/darkstar | scripts/globals/abilities/pets/thunder_iv.lua | 11 | 1062 | ---------------------------------------------------
-- Aero 2
---------------------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/monstertpmoves")
require("scripts/globals/magic")
---------------------------------------------------
functio... | gpl-3.0 |
destdev/ygopro-scripts | c83584898.lua | 4 | 2544 | --魔界の足枷
function c83584898.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetTarget(c83584898.target)
e1:SetOperation(c83584898.operation)
c:RegisterEffect(e1)
... | gpl-2.0 |
Deadwing888/darkstar | scripts/globals/items/sausage_roll.lua | 18 | 1649 | -----------------------------------------
-- ID: 4396
-- Item: sausage_roll
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health % 6
-- Vitality 3
-- Intelligence -1
-- Attack % 27
-- Attack Cap 30
-- Ranged ATT % 27
-- Ranged ATT Cap 30
-----------------------------------------
require... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/RuLude_Gardens/npcs/Yavoraile.lua | 34 | 1383 | -----------------------------------
-- Area: Ru'Lud Gardens
-- NPC: Yavoraile
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/RuLude_Gardens/TextIDs");
require("scripts/globals/qu... | gpl-3.0 |
destdev/ygopro-scripts | c54175023.lua | 3 | 2253 | --ディメンション・ガーディアン
function c54175023.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetTarget(c54175023.target)
c:RegisterEffect(e1)
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Port_Windurst/npcs/Jack_of_Clubs.lua | 13 | 1224 | -----------------------------------
-- Area: Port Windurst
-- NPC: Jack of Clubs
-- Adventurer's Assistant
-- Working 100%
-------------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
require("scripts/zones/Port_Windurst/TextIDs");
... | gpl-3.0 |
destdev/ygopro-scripts | c86489182.lua | 2 | 2376 | --始祖神鳥シムルグ
function c86489182.initial_effect(c)
--normal monster
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOCATION_HAND)
e1:SetCode(EFFECT_ADD_TYPE)
e1:SetValue(TYPE_NORMAL)
c:RegisterEffect(e1)
local e2=e1:Clone()
e2:SetCode(EFFECT_RE... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Temenos/npcs/Matter_Diffusion_Module.lua | 19 | 6087 | -----------------------------------
-- Area: temenos
-- NPC: Matter diffusion module
-- @pos
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/globals/keyitems");
require("scripts/zones/Te... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Port_Jeuno/npcs/Raging_Lion.lua | 17 | 1316 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Raging Lion
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
require("scripts/zones/Port_Jeuno/TextIDs");
-----------------------------------
-- onTrade Action
---------------... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Upper_Jeuno/npcs/Brutus.lua | 16 | 9558 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Brutus
-- Starts Quest: Chocobo's Wounds, Save My Son, Path of the Beastmaster, Wings of gold, Scattered into Shadow, Chocobo on the Loose!
-- @pos -55 8 95 244
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] ... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Southern_San_dOria/npcs/Varchet.lua | 38 | 2735 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Varchet
-- Type: NPC
-- @pos 116.484 -1 91.554 230
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/... | gpl-3.0 |
angt/overthebox | feeds/luci/applications/luci-app-mwan3/luasrc/model/cbi/mwan/rule.lua | 7 | 3635 | -- Copyright 2014 Aedan Renner <chipdankly@gmail.com>
-- Copyright 2018 Florian Eckert <fe@dev.tdt.de>
-- Licensed to the public under the GNU General Public License v2.
local dsp = require "luci.dispatcher"
local uci = require "uci"
local m, mwan_rule, src_ip, src_port, dest_ip, dest_port, proto, use_policy
functio... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Giehnz.lua | 34 | 1031 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Giehnz
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
-----------... | gpl-3.0 |
destdev/ygopro-scripts | c57882509.lua | 2 | 1167 | --弱体化の仮面
function c57882509.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP)
e1:SetHintTiming(TIMING_DAMAGE_STEP)
e1:SetCondition(c57882509... | gpl-2.0 |
MonkeyFirst/urho3d-staticmodel-instances | Sources/bin/Data/LuaScripts/10_RenderToTexture.lua | 3 | 9532 | -- Render to texture example
-- This sample demonstrates:
-- - Creating two 3D scenes and rendering the other into a texture
-- - Creating rendertarget textures and materials programmatically
require "LuaScripts/Utilities/Sample"
local rttScene_ = nil
local rttCameraNode = nil
function Start()
-- Execute... | mit |
destdev/ygopro-scripts | c22009013.lua | 4 | 1761 | --インヴェルズ・モース
function c22009013.initial_effect(c)
--summon success
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(22009013,0))
e1:SetCategory(CATEGORY_TOHAND)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetCondi... | gpl-2.0 |
destdev/ygopro-scripts | c64398890.lua | 2 | 3082 | --六武衆-ヤイチ
function c64398890.initial_effect(c)
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(64398890,0))
e1:SetCategory(CATEGORY_DESTROY)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetCondition(c6439889... | gpl-2.0 |
Deadwing888/darkstar | scripts/globals/abilities/thunder_maneuver.lua | 35 | 1619 | -----------------------------------
-- Ability: Thunder Maneuver
-- Enhances the effect of thunder attachments. Must have animator equipped.
-- Obtained: Puppetmaster level 1
-- Recast Time: 10 seconds (shared with all maneuvers)
-- Duration: 1 minute
-----------------------------------
require("scripts/globals/status... | gpl-3.0 |
destdev/ygopro-scripts | c76359406.lua | 4 | 2716 | --水晶機巧-アメトリクス
function c76359406.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1)
c:EnableReviveLimit()
--position
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(76359406,0))
e1:SetCategory(CATEGORY_POSITION)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_... | gpl-2.0 |
DaneTheory/MozDef | examples/heka-lua-syslog/syslog_tab_delimited.lua | 3 | 1523 | -- This Source Code Form is subject to the terms of the Mozilla Public
-- License, v. 2.0. If a copy of the MPL was not distributed with this
-- file, You can obtain one at http://mozilla.org/MPL/2.0/.
-- Copyright (c) 2014 Mozilla Corporation
--
-- Contributors:
-- Anthony Verez averez@mozilla.com
-- Mike Trinkala mtr... | mpl-2.0 |
ffxijuggalo/darkstar | scripts/zones/Temenos/mobs/Enhanced_Vulture.lua | 9 | 1054 | -----------------------------------
-- Area: Temenos W T
-- Mob: Enhanced Vulture
-----------------------------------
require("scripts/globals/limbus");
-----------------------------------
function onMobEngaged(mob,target)
GetMobByID(16928959):updateEnmity(target);
GetMobByID(16928960):updateEnmity(ta... | gpl-3.0 |
destdev/ygopro-scripts | c50781944.lua | 7 | 1126 | --エンシェント・クリムゾン・エイプ
function c50781944.initial_effect(c)
--lp rec
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(50781944,0))
e1:SetCategory(CATEGORY_RECOVER)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_TO_GRAVE)
e1:SetRange(LOCATION_MZONE)
e1:SetProperty(EFFECT_FLAG_PLAY... | gpl-2.0 |
destdev/ygopro-scripts | c82760689.lua | 6 | 2213 | --宝札雲
function c82760689.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DRAW)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetOperation(c82760689.activate)
c:RegisterEffect(e1)
if not c82760689.global_check then
c82760689.global_check=true
c82760689[... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Abyssea-Misareaux/npcs/qm16.lua | 17 | 1539 | -----------------------------------
-- Zone: Abyssea-Misereaux
-- NPC: ???
-- Spawns: Ironclad Pulverizor
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/keyitems");
-----------------------------------
-- onTrigger Action
-----------------------------------
function o... | gpl-3.0 |
moses1984/aafmt | book_chapters_LaTeX_original/pgf_3.0.1.tds/tex/generic/pgf/graphdrawing/lua/pgf/gd/control/doc.lua | 2 | 6029 | -- Copyright 2012 by Till Tantau
--
-- This file may be distributed an/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 information
-- @release $Header: /cvsroot/pgf/pgf/generic/pgf/graphdrawing/lua/pgf/gd... | gpl-2.0 |
Shevraar/bloody-alchemy | bloody-alchemy/Libs/AceBucket-3.0/AceBucket-3.0.lua | 1 | 10409 | --- A bucket to catch events in. **AceBucket-3.0** provides throttling of events that fire in bursts and
-- your addon only needs to know about the full burst.
--
-- This Bucket implementation works as follows:\\
-- Initially, no schedule is running, and its waiting for the first event to happen.\\
-- The first eve... | gpl-3.0 |
jimy-byerley/minetest-computers | init.lua | 1 | 6714 | -- This code is distributed under GN GPL v2 license. Copyright© Jimy-Byerley
local opened_laptop = "computers:laptop_open"
local closed_laptop = "computers:laptop_close"
local connected_laptop = "computers:laptop_connect"
local welcome_message = "/* welcome to cybertronic OS v2.2 */"
local default_laptop = opened_lap... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Kazham/npcs/Gatih_Mijurabi.lua | 13 | 1877 | -----------------------------------
-- Area: Kazham
-- NPC: Gatih Mijurabi
-- Type: Standard NPC
-- @zone: 250
-- @pos 58.249 -13.086 -49.084
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
-------------------... | gpl-3.0 |
Kong/kong | spec/03-plugins/37-opentelemetry/04-exporter_spec.lua | 1 | 12704 | require "kong.plugins.opentelemetry.proto"
local helpers = require "spec.helpers"
local utils = require "kong.tools.utils"
local tablex = require "pl.tablex"
local pb = require "pb"
local pl_file = require "pl.file"
local ngx_re = require "ngx.re"
local to_hex = require "resty.string".to_hex
local fmt = string.format
... | apache-2.0 |
vitorloco/BolScripts | ChoGathMechanics.lua | 21 | 19790 | --[[
_____ _____ __ .__
/ \_______ / _ \________/ |_|__| ____ __ __ ____ ____
/ \ / \_ __ \ / /_\ \_ __ \ __\ |/ ___\| | \/ \ / _ \
/ Y \ | \/ / | \ | \/| | | \ \___| | / | ( <_> )
\____|__ /__| \___... | gpl-2.0 |
Kong/kong | spec/helpers/perf/logger.lua | 1 | 1771 | local tty = require("kong.cmd.utils.tty")
local colors
if not tty.isatty then
colors = setmetatable({}, {__index = function() return "" end})
else
colors = { green = '\27[32m', yellow = '\27[33m', red = '\27[31m', reset = '\27[0m' }
end
local LOG_LEVEL = ngx.NOTICE
-- Some logging helpers
local level_cfg = {
... | apache-2.0 |
ffxijuggalo/darkstar | scripts/commands/addalltrusts.lua | 11 | 1667 | ---------------------------------------------------------------------------------------------------
-- func: addalltrusts
-- desc: Adds all trust spells to the given target. If no target then to the current player.
---------------------------------------------------------------------------------------------------
cmdp... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/The_Sanctuary_of_ZiTah/npcs/qm3.lua | 13 | 1775 | -----------------------------------
-- Area: The Sanctuary of Zitah
-- NPC: ???
-- Involved In Quest: The Sacred Katana
-- @zone 121
-- @pos -416 0 46
-----------------------------------
package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/... | gpl-3.0 |
Deadwing888/darkstar | scripts/globals/spells/utsusemi_ni.lua | 13 | 1737 | -----------------------------------------
-- Spell: Utsusemi: Ni
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)
return 0;
end;
functi... | gpl-3.0 |
gabeochoa/SilentKnight | class.lua | 2 | 1421 | --[[
Copyright (c) 2009 Bart van Strien
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, distribut... | mit |
RwNigma/darkstar | scripts/globals/weaponskills/garland_of_bliss.lua | 18 | 4785 | -----------------------------------
-- Garland Of Bliss
-- Staff weapon skill
-- Skill level: N/A
-- Lowers target's defense. Duration of effect varies with TP. Nirvana: Aftermath effect varies with TP.
-- Reduces enemy's defense by 12.5%.
-- Available only after completing the Unlocking a Myth (Summoner) quest.
... | gpl-3.0 |
Maxsteam/MMMMMM | plugins/id.lua | 24 | 4404 | do
local function user_print_name(user)
if user.print_name then
return user.print_name
end
local text = ''
if user.first_name then
text = user.last_name..' '
end
if user.lastname then
text = text..user.last_name
end
return text
end
local function scan_name(extra, success, result)
local f... | gpl-2.0 |
destdev/ygopro-scripts | c86532744.lua | 2 | 2119 | --SNo.39 希望皇ホープONE
function c86532744.initial_effect(c)
--xyz summon
c:EnableReviveLimit()
aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsAttribute,ATTRIBUTE_LIGHT),4,3,c86532744.ovfilter,aux.Stringid(86532744,1))
--destroy
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY+CATEGORY_DAMAGE)
e1:... | gpl-2.0 |
destdev/ygopro-scripts | c37684215.lua | 6 | 1749 | --融合武器ムラサメブレード
function c37684215.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetTarget(c37684215.target)
e1:SetOperation(c37684215.operation)
c:RegisterEffec... | gpl-2.0 |
destdev/ygopro-scripts | c92001300.lua | 4 | 1684 | --古代の機械城
function c92001300.initial_effect(c)
c:EnableCounterPermit(0xb)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--atk up
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_UPDATE_ATTACK)
e2:Set... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Port_Windurst/npcs/Tokaka.lua | 36 | 2843 | -----------------------------------
-- Area: Port Windurst
-- NPC: Tokaka
-- Starts & Finishes Repeatable Quest: Something Fishy
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scri... | gpl-3.0 |
Deadwing888/darkstar | scripts/globals/weaponskills/insurgency.lua | 6 | 1727 | -----------------------------------
-- Insurgency
-- Scythe weapon skill
-- Skill level: N/A
-- Delivers a fourfold attack. Damage varies with TP. Liberator: Aftermath effect varies with TP.
-- Available only after completing the Unlocking a Myth (Dark Knight) quest.
-- Appears to be heavily modified by attack.
-- Alig... | gpl-3.0 |
destdev/ygopro-scripts | c73213494.lua | 4 | 2610 | --彼岸の悪鬼 ハックルスパー
function c73213494.initial_effect(c)
--self destroy
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EFFECT_SELF_DESTROY)
e1:SetCondition(c73213494.sdcon)
c:RegisterEffect(e1)
--Special Summon
local e... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Yuhtunga_Jungle/npcs/Harvesting_Point.lua | 29 | 1119 | -----------------------------------
-- Area: Yuhtunga Jungle
-- NPC: Harvesting Point
-----------------------------------
package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/harvesting");
require("scripts/zones/Yuhtunga_Jungle/TextIDs... | gpl-3.0 |
Kong/kong | spec/01-unit/17-concurrency_spec.lua | 2 | 8312 | local mocker = require("spec.fixtures.mocker")
-- avoid requiring spec.helpers to avoid complicating necessary mocks
local function unindent(s)
return s:gsub("\n%s*", "\n"):gsub("^%s*", ""):gsub("\n$", "")
end
local function setup_it_block()
-- keep track of created semaphores
local semaphores = {}
mocker... | apache-2.0 |
ffxijuggalo/darkstar | scripts/zones/North_Gustaberg_[S]/Zone.lua | 11 | 1262 | -----------------------------------
--
-- Zone: North_Gustaberg_[S] (88)
--
-----------------------------------
local ID = require("scripts/zones/North_Gustaberg_[S]/IDs")
require("scripts/globals/keyitems")
require("scripts/globals/quests")
require("scripts/globals/helm")
require("scripts/globals/zone")
--------------... | gpl-3.0 |
Deadwing888/darkstar | scripts/globals/weaponskills/sickle_moon.lua | 11 | 1695 | -----------------------------------
-- Sickle Moon
-- Great Sword weapon skill
-- Skill level: 200
-- Delivers a two-hit attack. Damage varies with TP.
-- Modifiers: STR:40% ; AGI:40%
-- 100%TP 200%TP 300%TP
-- 1.5 2 2.75
-----------------------------------
require("scripts/globals/status");
requ... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/Southern_San_dOria/npcs/Ashene.lua | 11 | 1380 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Ashene
-- Standard Merchant NPC
-- !pos 70 0 61 230
-----------------------------------
local ID = require("scripts/zones/Southern_San_dOria/IDs")
require("scripts/globals/npc_util")
require("scripts/globals/quests")
require("scripts/globals/shop... | gpl-3.0 |
RwNigma/darkstar | scripts/globals/groundsofvalor.lua | 12 | 27788 | -------------------------------------------------
-- Largely based on the existing fieldsofvalor.lua
--
-- Info from:
-- http://www.bg-wiki.com/bg/Grounds_Tome
-- http://wiki.ffxiclopedia.org/wiki/Grounds_Tome
--
-------------------------------------------------
require("scripts/globals/settings");
requi... | gpl-3.0 |
RwNigma/darkstar | scripts/globals/effects/bane.lua | 37 | 1034 | -----------------------------------
--
--
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
--NOTE: The power amount dictates the amount to REDU... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Gusgen_Mines/npcs/_5g5.lua | 34 | 1102 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: _5g5 (Door D)
-- @pos -4.001 -22.4 174.498 196
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Gusgen_Mines/TextIDs");
---------------... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/abilities/celerity.lua | 12 | 1025 | -----------------------------------
-- Ability: Celerity
-- Reduces the casting time and the recast time of your next white magic spell by 50%.
-- Obtained: Scholar Level 25
-- Recast Time: Stratagem Charge
-- Duration: 1 white magic spell or 60 seconds, whichever occurs first.
--
-- Level |Charges |Recharge Time per... | gpl-3.0 |
Deadwing888/darkstar | scripts/globals/items/serving_of_shallops_tropicale.lua | 18 | 1543 | -----------------------------------------
-- ID: 4554
-- Item: serving_of_shallops_tropicale
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Magic 20
-- Dexterity 1
-- Vitality 4
-- Intelligence 1
-- Defense % 25
-- Defense Cap 100
-----------------------------------------
require("scrip... | gpl-3.0 |
destdev/ygopro-scripts | c29876529.lua | 4 | 1487 | --闇の閃光
function c29876529.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE)
e1:SetCost(c29876529.cost)
e1:SetTarget(c29876529.target)
e1:SetOperat... | gpl-2.0 |
destdev/ygopro-scripts | c40028305.lua | 1 | 2815 | --超重武者装留シャイン・クロー
function c40028305.initial_effect(c)
--equip
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetRange(LOCATION_HAND+LOCATION_MZONE)
e1:SetTarget(c40028305.eqtg)
e1:SetOperation(c40028305.eqop)
c:Register... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Southern_San_dOria/npcs/Arvilauge.lua | 36 | 1514 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Arvilauge
-- Optional Involvement in Quest: A Squire's Test II
-- @zone 230
-- @pos -11 1 - 94
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/abilities/tranquility.lua | 12 | 1064 | -----------------------------------
-- Ability: Tranquility
-- Your next white magic spell will generate less enmity.
-- Obtained: Scholar Level 75 Tier 2 Merit Points
-- Recast Time: Stratagem Charge
-- Duration: 1 white magic spell or 60 seconds, whichever occurs first
--
-- Level |Charges |Recharge Time per Charge... | gpl-3.0 |
sina021/specialtg | plugins/Welcome.lua | 4 | 3545 | local add_user_cfg = load_from_file('data/add_user_cfg.lua')
local function template_add_user(base, to_username, from_username, chat_name, chat_id)
base = base or ''
to_username = '@' .. (to_username or '')
from_username = '@' .. (from_username or '')
chat_name = string.gsub(chat_name, '_', ' ') or ''
c... | gpl-2.0 |
Deadwing888/darkstar | scripts/globals/effects/auspice.lua | 33 | 1882 | --------------------------------------
--
-- EFFECT_AUSPICE
--
-- Power: Used for Enspell Effect
-- SubPower: Tracks Subtle Blow Bonus
-- Tier: Used for Enspell Calculation
--
--------------------------------------
-----------------------------------
-- onEffectGain Action
-----------------------------------
function... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Toraimarai_Canal/npcs/qm11.lua | 19 | 1512 | -----------------------------------
-- Area: Toraimarai Canal
-- NPC: ???
-- Involved In Quest: Wild Card
-- @zone 169 // not accurate
-- @pos 220 16 -50 // not accurate
-----------------------------------
package.loaded["scripts/zones/Toraimarai_Canal/TextIDs"] = nil;
-----------------------------------
require("scr... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Hajaom.lua | 34 | 1031 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Hajaom
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
-----------... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/Windurst_Waters/npcs/Ness_Rugetomal.lua | 12 | 1183 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Ness Rugetomal
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/events/harvest_festivals")
require("scripts/globals/shop");
local ID = require("scripts/zones/Windurst_Waters/ID... | gpl-3.0 |
RwNigma/darkstar | scripts/globals/weaponskills/split_shot.lua | 30 | 1554 | -----------------------------------
-- Split Shot
-- Marksmanship weapon skill
-- Skill Level: 40
-- Ignores enemy's defense. Amount ignored varies with TP.
-- The amount of defense ignored is 0% @ 100TP, 35% @ 200TP and 50% @ 300TP.
-- Aligned with the Aqua Gorget & Light Gorget.
-- Aligned with the Aqua Belt &... | gpl-3.0 |
riking/marvin | vendor/github.com/yuin/gopher-lua/_lua5.1-tests/all.lua | 18 | 2711 | #!../lua
math.randomseed(0)
collectgarbage("setstepmul", 180)
collectgarbage("setpause", 190)
--[=[
example of a long [comment],
[[spanning several [lines]]]
]=]
print("current path:\n " .. string.gsub(package.path, ";", "\n "))
local msgs = {}
function Message (m)
print(m)
msgs[#msgs+1] = string.sub(... | gpl-3.0 |
elptito/EmptyEpsilon | scripts/tutorial_00_all.lua | 1 | 35601 | -- Name: Run All
-- Description: All Station Tutorials. This cycles through all the stations.
-- Type: Basic
require("utils.lua")
--TODO Remove this file.
function init()
--Create the player ship
player = PlayerSpaceship():setFaction("Human Navy"):setTemplate("Phobos M3P")
tutorial:setPlayerShip(player)
... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/globals/mobskills/tail_crush.lua | 11 | 1086 | ---------------------------------------------
-- Tail Crush
--
-- Description: Smashes a single target with its tail. Additional effect: Poison
-- Type: Physical
-- Utsusemi/Blink absorb: 1 shadow
-- Range: Melee
-- Notes:
---------------------------------------------
require("scripts/globals/settings")
require("... | gpl-3.0 |
domoticz/domoticz | dzVents/runtime/Time.lua | 5 | 31066 | local utils = require('Utils')
local _MS -- kind of a cache so we don't have to extract ms every time
local gTimes
local ruleWords = {}
local isEmpty = function(v)
return (v == nil or v == '')
end
local function getTimezone()
local diff = os.difftime(os.time(), os.time(os.date("!*t")))
return ( os.date('!*t').isds... | gpl-3.0 |
Deadwing888/darkstar | scripts/globals/mobskills/Binary_Tap.lua | 32 | 1703 | ---------------------------------------------------
-- Binary Tap
-- Attempts to absorb two buffs from a single target, or otherwise steals HP.
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores Shadows
-- Range: Melee
-- Notes: Can be any (positive) buff, including food. Will drain about 100HP if it can't take any buf... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/qm6.lua | 13 | 1098 | -----------------------------------
-- Area: Phomiuna Aqueducts
-- NPC: qm6 (???)
-- Notes: Opens door @ J-8 from behind
-- @pos 105.502 -25.262 57.138 27
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Southern_San_dOria/npcs/Kipopo.lua | 53 | 1843 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Kipopo
-- Type: Leathercraft Synthesis Image Support
-- @pos -191.050 -2.15 12.285 230
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/glo... | gpl-3.0 |
crwnet/openwrt | package/crwsoft/luci-app-vlmcsd/luasrc/model/cbi/vlmcsd.lua | 2 | 1548 | local NXFS = require "nixio.fs"
local SYS = require "luci.sys"
if SYS.call("pidof vlmcsd >/dev/null") == 0 then
Status = "免配置自动激活密钥管理服务 运行中"
else
Status = "免配置自动激活密钥管理服务 未运行"
end
m = Map("vlmcsd")
m.title = translate("KMS服务器")
m.description = translate(Status)
s = m:section(TypedSection, "vlmcsd")
s.anonymous=tru... | gpl-2.0 |
etown/sysdig | userspace/sysdig/chisels/v_page_faults.lua | 2 | 2643 | --[[
Copyright (C) 2013-2015 Draios inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Despachiaire.lua | 13 | 2741 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Despachiaire
-- @pos 108 -40 -83 26
-----------------------------------
require("scripts/globals/missions");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
---... | gpl-3.0 |
sheldon/epgp | libs/AceGUI-3.0/widgets/AceGUIWidget-MultiLineEditBox.lua | 38 | 10724 | local Type, Version = "MultiLineEditBox", 27
local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
if not AceGUI or (AceGUI:GetWidgetVersion(Type) or 0) >= Version then return end
-- Lua APIs
local pairs = pairs
-- WoW APIs
local GetCursorInfo, GetSpellInfo, ClearCursor = GetCursorInfo, GetSpellInfo, ClearCursor
loc... | bsd-3-clause |
RwNigma/darkstar | scripts/globals/mobskills/Shadow_Spread.lua | 37 | 1164 | ---------------------------------------------
--- Shadow Spread
---
--- Description: A dark shroud renders any nearby targets blinded, asleep, and cursed.
---
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves"... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.