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 |
|---|---|---|---|---|---|
destdev/ygopro-scripts | c83190280.lua | 2 | 3918 | --月光虎
function c83190280.initial_effect(c)
--pendulum summon
aux.EnablePendulumAttribute(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_PZONE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCountLimit(1)
e1:SetTarget(c... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/globals/spells/bluemagic/hysteric_barrage.lua | 4 | 1542 | -----------------------------------------
-- Spell: Hysteric Barrage
-- Delivers a fivefold attack. Damage varies with TP
-- Spell cost: 61 MP
-- Monster Type: Beastmen
-- Spell Type: Physical (Hand-to-Hand)
-- Blue Magic Points: 5
-- Stat Bonus: DEX+2, AGI+1
-- Level: 69
-- Casting Time: 0.5 seconds
-- Recast Time: 28... | gpl-3.0 |
destdev/ygopro-scripts | c37412656.lua | 1 | 1617 | --ヒーロー・ブラスト
function c37412656.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_DESTROY)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE)
e1:SetTarg... | gpl-2.0 |
RwNigma/darkstar | scripts/globals/items/bowl_of_mushroom_soup.lua | 35 | 1384 | -----------------------------------------
-- ID: 4419
-- Item: mushroom_soup
-- Food Effect: 3hours, All Races
-----------------------------------------
-- Magic Points 20
-- Strength -1
-- Mind 2
-- MP Recovered While Healing 1
-----------------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
destdev/ygopro-scripts | c84808313.lua | 2 | 1672 | --大進化薬
function c84808313.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCost(c84808313.cost)
e1:SetTarget(c84808313.target)
c:RegisterEffect(e1)
--reduce tribute
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2... | gpl-2.0 |
aqasaeed/spartafox | plugins/bugzilla.lua | 611 | 3983 | do
local BASE_URL = "https://bugzilla.mozilla.org/rest/"
local function bugzilla_login()
local url = BASE_URL.."login?login=" .. _config.bugzilla.username .. "&password=" .. _config.bugzilla.password
print("accessing " .. url)
local res,code = https.request( url )
local data = json:decode(res)
return data
... | gpl-2.0 |
alimashmamali/BoT-tG | plugins/bugzilla.lua | 611 | 3983 | do
local BASE_URL = "https://bugzilla.mozilla.org/rest/"
local function bugzilla_login()
local url = BASE_URL.."login?login=" .. _config.bugzilla.username .. "&password=" .. _config.bugzilla.password
print("accessing " .. url)
local res,code = https.request( url )
local data = json:decode(res)
return data
... | gpl-2.0 |
destdev/ygopro-scripts | c31706048.lua | 1 | 1607 | --星遺物の醒存
function c31706048.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH+CATEGORY_DECKDES)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,31706048+EFFECT_COUNT_CODE_OATH)
e1:SetTarget(c31706048.target)
e1:SetOperati... | gpl-2.0 |
destdev/ygopro-scripts | c64765016.lua | 1 | 2732 | --バージェストマ・マーレラ
function c64765016.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOGRAVE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c64765016.target)
e1:SetOperation(c64765016.activate)
c:RegisterEffect(e1)
--spsummon
local e2=Effect.Creat... | gpl-2.0 |
simonfork/aquaria | game_scripts/scripts/entities/entityinclude.lua | 5 | 16299 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria is free software; you can redistribute it and/or
-- modify it under the terms of the GNU General Public License
-- as published by the Free Software Foundation; either version 2
-- of the License, or (at your option) any later vers... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Bastok_Mines/npcs/Gawful.lua | 13 | 1105 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Gawful
-- Type: Item Deliverer
-- @zone: 234
-- @pos -22.416 -3.999 -56.076
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
require("scri... | gpl-3.0 |
destdev/ygopro-scripts | c22479888.lua | 4 | 1283 | --クレイ・チャージ
function c22479888.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY+CATEGORY_DAMAGE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_BE_BATTLE_TARGET)
e1:SetCondition(c22479888.condition)
e1:SetTarget(c22479888.targ... | gpl-2.0 |
destdev/ygopro-scripts | c86801871.lua | 7 | 1495 | --スネークポット
function c86801871.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(86801871,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOKEN)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_FLIP)
e1:SetTarget(c86801871.sptg)
e1:SetOperation(c86801871.spop)
c:RegisterEffe... | gpl-2.0 |
maikerumine/grieftest | mods/mobs_mc/horse_skeleton.lua | 1 | 3395 | --MCmobs v0.4
--maikerumine
--made for MC like Survival game
--License for code WTFPL and otherwise stated in readmes
--dofile(minetest.get_modpath("mobs").."/api.lua")
--###################
--################### SKELETON HORSE
--###################
mobs:register_mob("mobs_mc:horseskeleton", {
type = "animal",
... | lgpl-2.1 |
ffxijuggalo/darkstar | scripts/zones/Mount_Zhayolm/npcs/Waudeen.lua | 9 | 2359 | -----------------------------------
-- Area: Mount_Zhayolm
-- NPC: Waudeen
-- Type: Assault
-- !pos 673.882 -23.995 367.604 61
-----------------------------------
local ID = require("scripts/zones/Mount_Zhayolm/IDs")
require("scripts/globals/keyitems")
require("scripts/globals/missions")
require("scripts/globals/quest... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Jugner_Forest_[S]/npcs/Helmyre.lua | 13 | 1038 | -----------------------------------
-- Area: Jugner Forest (S)
-- NPC: Helmyre
-- Type: Chocobo Renter
-- @pos -120.853 -1 -152.582 82
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Jugner_Forest_[S]/T... | gpl-3.0 |
domoticz/domoticz | dzVents/runtime/integration-tests/scScene.lua | 19 | 1493 | local log
local dz
local err = function(msg)
log(msg, dz.LOG_ERROR)
end
local tstMsg = function(msg, res)
print('Scene trigger, ' .. msg .. ': ' .. tostring(res and 'OK' or 'FAILED'))
end
local expectEql = function(attr, test, marker)
if (attr ~= test) then
local msg = tostring(attr) .. '~=' .. tostring(test)
... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Eastern_Altepa_Desert/npcs/qm.lua | 13 | 1620 | -----------------------------------
-- Area: Eastern Altepa Desert
-- NPC: ???
-- Involved In Quest: A Craftsman's Work
-- @pos 113 -7.972 -72 114
-----------------------------------
package.loaded["scripts/zones/Eastern_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/setti... | gpl-3.0 |
RwNigma/darkstar | scripts/globals/items/marron_glace.lua | 35 | 1337 | -----------------------------------------
-- ID: 4502
-- Item: Marron Glace
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Magic % 13
-- Magic Cap 85
-- Magic Regen While Healing 1
-----------------------------------------
require("scripts/globals/status");
----------------... | gpl-3.0 |
destdev/ygopro-scripts | c93889755.lua | 4 | 1177 | --マーダーサーカス
function c93889755.initial_effect(c)
--to hand
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(93889755,0))
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCategory(CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_CHANGE_POS)
e1:SetCondition(c9388975... | gpl-2.0 |
simonfork/aquaria | game_scripts/scripts/entities/collectiblesongcave.lua | 6 | 1457 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria is free software; you can redistribute it and/or
-- modify it under the terms of the GNU General Public License
-- as published by the Free Software Foundation; either version 2
-- of the License, or (at your option) any later vers... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Xarcabard/npcs/Heavy_Bear_IM.lua | 30 | 3041 | -----------------------------------
-- Area: Xarcabard
-- NPC: Heavy Bear, I.M.
-- Type: Border Conquest Guards
-- @pos -133.678 -22.517 112.224 112
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
req... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/Davoi/npcs/Sedal-Godjal.lua | 9 | 3586 | -----------------------------------
-- Area: Davoi
-- NPC: Sedal-Godjal
-- Mini Quest used in : Whence Blows the Wind
-- !pos 185 -3 -116 149
-----------------------------------
require("scripts/globals/missions");
require("scripts/globals/settings");
require("scripts/globals/keyitems");
local ID = require("scripts/zo... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Dangruf_Wadi/npcs/qm4.lua | 13 | 2010 | -----------------------------------
-- NPC: ??? (QM4)
-- Type: Grasswix dice roll game part 2
-- @zone: 191
-- Involved in quest "As Thick As Thieves"
-----------------------------------
package.loaded["scripts/zones/Dangruf_Wadi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests"... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Temenos/mobs/Goblin_Slaughterman.lua | 16 | 1072 | -----------------------------------
-- Area: Temenos N T
-- NPC: Goblin_Slaughterman
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-----------------... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/North_Gustaberg/npcs/qm1.lua | 34 | 3485 | -----------------------------------
-- Area: North Gustaberg
-- NPC: qm1 (???)
-- Involved in Quest "The Siren's Tear"
-- @pos 309.600, 2.600, 324.000 106 | DB start position
-- @pos 290.000, 0.600, 332.100 106 | alternative start position
-----------------------------------
package.loaded["scripts/zones/North_G... | gpl-3.0 |
nikai3d/naev | dat/snd/music.lua | 5 | 6711 |
--[[
-- music will get called with a string parameter indicating status
-- valid parameters:
-- load - game is loading
-- land - player landed
-- takeoff - player took off
-- combat - player just got a hostile onscreen
-- idle - current playing music ran out
]]--
last = "idle"
-- Faction-specific songs... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5f4.lua | 34 | 1106 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Titan's Gate
-- @pos 180 -34 -15 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextIDs")... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/RuLude_Gardens/npcs/Pakh_Jatalfih.lua | 9 | 2302 | -----------------------------------
-- Area: Ru'Lud Gardens
-- NPC: Pakh Jatalfih
-- Involved in Mission: Windurst 3-3, 4-1
-- !pos 34 8 -35 243
-----------------------------------
require("scripts/globals/keyitems")
require("scripts/globals/missions")
-----------------------------------
function onTrade(player,npc,t... | gpl-3.0 |
kennyledet/Algorithm-Implementations | Caesar_Cipher/Lua/Yonaba/caesar_cipher_test.lua | 26 | 1202 | -- Tests for caesar_cipher.lua
local caesar = require 'caesar_cipher'
local total, pass = 0, 0
local function dec(str, len)
return #str < len
and str .. (('.'):rep(len-#str))
or str:sub(1,len)
end
local function run(message, f)
total = total + 1
local ok, err = pcall(f)
if ok then pass = pass + 1 ... | mit |
Deadwing888/darkstar | scripts/globals/effects/weakness.lua | 34 | 1361 | -----------------------------------
--
-- Weakness
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
--reduce HP and MP by the power amount. Add 100% slow
... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Mazween.lua | 34 | 1639 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Mazween
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
require(... | gpl-3.0 |
maikerumine/grieftest | mods/minetest-mod-mesecons/mesecons/init.lua | 1 | 4220 | -- |\ /| ____ ____ ____ _____ ____ _____
-- | \ / | | | | | | | |\ | |
-- | \/ | |___ ____ |___ | | | | \ | |____
-- | | | | | | | | | \ | |
-- | | |___ ____| |___ |____ |____| | \| ____|
-- by Jeija, Uberi (Temperest), sfan5, VanessaE
-... | lgpl-2.1 |
moses1984/aafmt | book_chapters_LaTeX_original/pgf_3.0.1.tds/tex/generic/pgf/graphdrawing/lua/pgf/gd/control/library.lua | 3 | 4727 | -- 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 |
destdev/ygopro-scripts | c11398951.lua | 1 | 2825 | --機械天使の絶対儀式
function c11398951.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(c11398951.target)
e1:SetOperation(c11398951.activate)
c:RegisterEffect(e1)
end
function c11398951.filter(... | gpl-2.0 |
meee1/ardupilot | libraries/AP_Scripting/examples/LED_matrix_image.lua | 27 | 12280 | --[[
Script to control LED strips based on the roll of the aircraft. This is an example to demonstrate
the LED interface for WS2812 LEDs
--]]
--[[
for this demo we will use a single strip with 30 LEDs
--]]
local matrix_x = 7
local matrix_y = 7
-- matrix to convert from x y pos to location in the strip
local id = {}
-... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/The_Boyahda_Tree/npcs/HomePoint#1.lua | 19 | 1204 | -----------------------------------
-- Area: The Boyahda Tree
-- NPC: HomePoint#1
-- @pos 88 -15 -217 153
-----------------------------------
package.loaded["scripts/zones/The_Boyahda_Tree/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/The_Boyahda_Tree/TextIDs");
require("scripts/global... | gpl-3.0 |
Kong/kong | spec/fixtures/custom_plugins/kong/plugins/worker-events/handler.lua | 1 | 1057 | local semaphore = require "ngx.semaphore"
local cjson = require "cjson"
local ngx = ngx
local kong = kong
local table = table
local worker_events = {}
local sema
local function load_data()
local ok, err = sema:wait(5)
if ok then
local data = table.remove(worker_events, 1)
if data then
return dat... | apache-2.0 |
Kong/kong | spec/fixtures/mocks/lua-resty-websocket/resty/websocket/peer.lua | 1 | 2496 | local semaphore = require "ngx.semaphore"
local semaphore_new = semaphore.new
local remove = table.remove
local insert = table.insert
-- buffer
local recv_buf = {}
local recv_buf_mt = { __index = recv_buf }
local default_timeout = 5
function recv_buf.new()
return setmetatable({ smph = semaphore_new() }, recv_buf_... | apache-2.0 |
gheinrich/DIGITS-GAN | examples/text-classification/text-classification-model.lua | 13 | 2920 | assert(pcall(function() require('dpnn') end), 'dpnn module required: luarocks install dpnn')
-- return function that returns network definition
return function(params)
-- get number of classes from external parameters (default to 14)
local nclasses = params.nclasses or 14
if pcall(function() require('cudn... | bsd-3-clause |
destdev/ygopro-scripts | c24207889.lua | 1 | 1963 | --センサー万別
function c24207889.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER)
c:RegisterEffect(e1)
--adjust
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e2... | gpl-2.0 |
destdev/ygopro-scripts | c73507661.lua | 4 | 1170 | --妖精の風
function c73507661.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY+CATEGORY_DAMAGE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMING_END_PHASE)
e1:SetTarget(c73507661.target)
e1:SetOperation(c73507661.activate)
c:Registe... | gpl-2.0 |
linuxmaniac/pkg-prosody | util/x509.lua | 4 | 6584 | -- Prosody IM
-- Copyright (C) 2010 Matthew Wild
-- Copyright (C) 2010 Paul Aurich
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--
-- TODO: I feel a fair amount of this logic should be integrated into Luasec,
-- so that everyone isn't re-inventing t... | mit |
NWNX/nwnx2-linux | plugins/lua/scripts/script.lua | 7 | 5340 |
--NWNscript Addition and Adjustment
function DelayCommand(t, obj, action, args)
local scmd = add_token(action, args)
SetLocalFloat(obj,"relay_delay",t)
SetLocalString(obj,"relay_cmd",scmd)
return ExecuteScript("relay_delay",obj)
end
function AssignCommand(obj, action, args)
local scmd = add_token(... | gpl-2.0 |
jibsen/BackupHelper | BackupHelperRequestBackup.lua | 1 | 1769 | --[[-------------------------------------------------------------------------
-- BackupHelper Lightroom plug-in
--
-- Copyright 2014 Joergen Ibsen
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the Lic... | apache-2.0 |
destdev/ygopro-scripts | c38495396.lua | 2 | 2421 | --セイクリッド・トレミスM7
function c38495396.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,6,2,c38495396.ovfilter,aux.Stringid(38495396,1),2,c38495396.xyzop)
c:EnableReviveLimit()
--to hand
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(38495396,0))
e2:SetCategory(CATEGORY_TOHAND)
e2:SetPropert... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Rolanberry_Fields/npcs/Cavernous_Maw.lua | 27 | 2925 | -----------------------------------
-- Area: Rolanberry Fields
-- NPC: Cavernous Maw
-- @pos -198 8 361 110
-- Teleports Players to Rolanberry Fields [S]
-----------------------------------
package.loaded["scripts/zones/Rolanberry_Fields/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/se... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/weaponskills/raiden_thrust.lua | 10 | 1297 | -----------------------------------
-- Raiden Thrust
-- Polearm weapon skill
-- Skill Level: 70
-- Deals lightning elemental damage to enemy. Damage varies with TP.
-- Aligned with the Light Gorget & Thunder Gorget.
-- Aligned with the Light Belt & Thunder Belt.
-- Element: Lightning
-- Modifiers: STR:40% INT:40%
-- 1... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/King_Ranperres_Tomb/npcs/Strange_Apparatus.lua | 31 | 1146 | -----------------------------------
-- Area: King_Ranperre's Tomb
-- NPC: Strange Apparatus
-- @pos -260 7 -142 190
-----------------------------------
package.loaded["scripts/zones/King_Ranperres_Tomb/TextIDs"] = nil;
require("scripts/zones/King_Ranperres_Tomb/TextIDs");
require("scripts/globals/strangeapparatus");... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Northern_San_dOria/npcs/HomePoint#2.lua | 17 | 1262 | -----------------------------------
-- Area: Northern San dOria
-- NPC: HomePoint#2
-- @pos 10 -0.2 95 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Northern_San_dOria/TextIDs");
require(... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Kazham/npcs/Hari_Pakhroib.lua | 17 | 2838 | -----------------------------------
-- Area: Kazham
-- NPC: Hari Pakhroib
-- Starts and Finishes Quest: Greetings to the Guardian
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/globals/quests");
require("scripts... | gpl-3.0 |
chaosink/PiL-solutions | 11.3.lua | 1 | 1520 | local function name2node(graph, name)
local node = graph[name]
if not node then
-- node does not exist; create a new one
node = {name = name, arc = {}}
graph[name] = node
end
return node
end
local function name2arc(graph, label, to)
local arc = graph[label]
if not arc then
-- node does not exist; create ... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/The_Shrine_of_RuAvitau/npcs/qm1.lua | 2 | 1411 | -----------------------------------
-- Area: The Shrine of Ru'Avitau
-- NPC: ??? (Spawn Olla Pequena)
-- @pos 851 0.1 92 178
-----------------------------------
package.loaded["scripts/zones/The_Shrine_of_RuAvitau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Shrine_of_RuAvit... | gpl-3.0 |
destdev/ygopro-scripts | c65848811.lua | 9 | 1694 | --H・C 強襲のハルベルト
function c65848811.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_SPSUMMON_PROC)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e1:SetRange(LOCATION_HAND)
e1:SetCondition(c65848811.spcon)
c:RegisterEffect(e1)
--pierce
local e2=Effect.C... | gpl-2.0 |
jcosborn/qhmc | lua/penlight-1.3.1/tests/test-seq.lua | 8 | 1439 | local input = require 'pl.input'
local seq = require 'pl.seq'
local asserteq = require('pl.test').asserteq
local utils = require 'pl.utils'
local stringio = require 'pl.stringio'
local unpack = utils.unpack
local L = utils.string_lambda
local S = seq.list
local C = seq.copy
local C2 = seq.copy2
asserteq (seq.sum(inp... | gpl-3.0 |
miGlanz/watchman | watchman.lua | 1 | 17804 | --[[
Copyright (c) 2011 Kamil Klimkiewicz
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, distrib... | mit |
ffxijuggalo/darkstar | scripts/zones/Northern_San_dOria/npcs/Attarena.lua | 11 | 1244 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Attarena
-- Only sells when San d'Oria controlls Li'Telor Region
-----------------------------------
local ID = require("scripts/zones/Northern_San_dOria/IDs")
require("scripts/globals/events/harvest_festivals")
require("scripts/glo... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Temenos/mobs/Pee_Qoho_the_Python.lua | 7 | 1578 | -----------------------------------
-- Area: Temenos
-- NPC:
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-----------------------------------
-- onMobSpaw... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/items/chunk_of_hydra_meat.lua | 11 | 1338 | -----------------------------------------
-- ID: 5564
-- Item: Chunk of Hydra Meat
-- Effect: 5 Minutes, food effect, Galka Only
-----------------------------------------
-- HP 10
-- MP -10
-- Strength +6
-- Intelligence -8
-- Demon Killer 10
-----------------------------------------
require("scripts/globals/status")
r... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Norg/npcs/Mamaulabion.lua | 17 | 7918 | -----------------------------------
-- Area: Norg
-- NPC: Mamaulabion
-- Starts and finishes Quest: Mama Mia
-- @zone 252
-- @pos -57 -9 68 (88)
--CSIDs for Mamaulabion
--0x005D / 93 = Standard
--0x00BF / 191 = start quest
--0x00C0 / 192 = quest accepted
--0x00C1 / 193 = given an item
--0x00C2 / 194 = give... | gpl-3.0 |
angt/overthebox | feeds/luci/libs/luci-lib-httpprotoutils/luasrc/http/conditionals.lua | 16 | 3006 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
-- This class provides basic ETag handling and implements most of the
-- conditional HTTP/1.1 headers specified in RFC2616 Sct. 14.24 - 14.28 .
module("luci.http.conditionals", package.seeall)... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Metalworks/npcs/Baldric.lua | 13 | 1772 | -----------------------------------
-- Area: Metalworks
-- NPC: Baldric
-- Type: Quest Giver
-- @zone: 237
-- @pos -50.858 1.777 -31.141
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings")
require("sc... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Inner_Horutoto_Ruins/npcs/_5c0_.lua | 36 | 1765 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: Mahogany Door
-- Involved In Quest: Making Headlines
-- Working 100%
-- Unable to find EventID for Making Headlines quest. Used dialog ID instead.
-----------------------------------
package.loaded["scripts/zones/Inner_Horutoto_Ruins/Te... | gpl-3.0 |
phamelin/ardupilot | libraries/AP_Scripting/examples/quadruped.lua | 24 | 16202 | -- Lua "motor driver" for a four legged (aka quadruped) walking robot
--
-- This script consumes controller outputs (i.e. roll, pitch, yaw/steering, throttle, lateral) from
-- the vehicle code and then calculates the outputs for 12 servos controlling four legs
--
-- AutoPilot servo connections:
-- Output1: front right... | gpl-3.0 |
destdev/ygopro-scripts | c98495314.lua | 4 | 2016 | --執念の剣
function c98495314.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(c98495314.target)
e1:SetOperation(c98495314.operation)
c:RegisterEffect(e1)
-... | gpl-2.0 |
Deadwing888/darkstar | scripts/globals/items/red_terrapin.lua | 18 | 1319 | -----------------------------------------
-- ID: 4402
-- Item: red_terrapin
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 3
-- Mind -5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
------... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/spells/bluemagic/feather_storm.lua | 4 | 1812 | -----------------------------------------
-- Spell: Feather Storm
-- Additional effect: Poison. Chance of effect varies with TP
-- Spell cost: 12 MP
-- Monster Type: Beastmen
-- Spell Type: Physical (Piercing)
-- Blue Magic Points: 3
-- Stat Bonus: CHR+2, HP+5
-- Level: 12
-- Casting Time: 0.5 seconds
-- Recast Time: 1... | gpl-3.0 |
destdev/ygopro-scripts | c64283880.lua | 1 | 1975 | --ガードゴー!
function c64283880.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP)
e1:SetCode(EVENT_TO_GRAVE)
e1:SetTarget(c64283880.sptg)
e1:SetOperation(c64283880.spop... | gpl-2.0 |
destdev/ygopro-scripts | c62054060.lua | 9 | 1081 | --平穏の賢者
function c62054060.initial_effect(c)
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(62054060,0))
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_BATTLE_DESTROYING)
e1:SetCondition(c62054060.condition)
e1:SetOperation(c62054060.operation)
c:RegisterEffect(e... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Castle_Oztroja/mobs/Yagudo_Avatar.lua | 8 | 1615 | -----------------------------------
-- Area: Castle Oztroja (151)
-- NM: Yagudo_Avatar
-- Notes: PH for Tzee Xicu the Manifest
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Castle_Oztroja/TextIDs");
-------... | gpl-3.0 |
Gethe/oUF | elements/phaseindicator.lua | 3 | 4040 | --[[
# Element: Phasing Indicator
Toggles the visibility of an indicator based on the unit's phasing relative to the player.
## Widget
PhaseIndicator - Any UI widget.
## Sub-Widgets
Icon - A `Texture` to represent the phased status.
## Notes
A default texture will be applied if the widget is a Texture and doesn'... | mit |
simonfork/aquaria | game_scripts/scripts/entities/seawolf.lua | 6 | 3977 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria is free software; you can redistribute it and/or
-- modify it under the terms of the GNU General Public License
-- as published by the Free Software Foundation; either version 2
-- of the License, or (at your option) any later vers... | gpl-2.0 |
X-Coder/spacebuild | lua/entities/other_dispenser/init.lua | 5 | 2676 | AddCSLuaFile( "cl_init.lua" )
AddCSLuaFile( "shared.lua" )
util.PrecacheSound( "ambient.steam01" )
include('shared.lua')
function ENT:Initialize()
self.BaseClass.Initialize(self)
self.damaged = 0
self:AddResource("oxygen", 0)
self:AddResource("energy", 0)
self:AddResource("water", 0)
self:AddResource("nitrogen"... | apache-2.0 |
Deadwing888/darkstar | scripts/globals/spells/bluemagic/warm-up.lua | 27 | 1924 | -----------------------------------------
-- Spell: Warm-Up
-- Enhances accuracy and evasion
-- Spell cost: 59 MP
-- Monster Type: Beastmen
-- Spell Type: Magical (Earth)
-- Blue Magic Points: 4
-- Stat Bonus: VIT+1
-- Level: 68
-- Casting Time: 7 seconds
-- Recast Time: 120 seconds
-- Duration: 180 seconds
--
-- Com... | gpl-3.0 |
RwNigma/darkstar | scripts/globals/items/sleepshroom.lua | 35 | 1191 | -----------------------------------------
-- ID: 4374
-- Item: sleepshroom
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Strength -3
-- Mind 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemChec... | gpl-3.0 |
Deadwing888/darkstar | scripts/globals/items/walnut.lua | 18 | 1099 | -----------------------------------------
-- ID: 5661
-- Item: Walnut
-- Food Effect: 5Min, All Races
-----------------------------------------
-- HP 30
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-------------------------------... | gpl-3.0 |
lyntel/OpenRA | lua/scriptwrapper.lua | 56 | 1094 | environment = {}
-- Reset package path
package.path = GameDir .. "/lua/?.lua"
-- Note: sandbox has been customized to remove math.random
local sandbox = require('sandbox')
local stp = require('stacktraceplus')
local PrintStackTrace = function(msg)
return stp.stacktrace("", 2) .. "\nError message\n===============\n"... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Port_San_dOria/npcs/Dabbio.lua | 38 | 1036 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Dabbio
-- Type: Standard NPC
-- @zone: 232
-- @pos -7.819 -15 -106.990
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-------------... | gpl-3.0 |
destdev/ygopro-scripts | c41705642.lua | 4 | 1331 | --サルベージ・ウォリアー
function c41705642.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(41705642,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetCondition(c41705642.spcon)
e1:SetTar... | gpl-2.0 |
meee1/ardupilot | libraries/AP_Scripting/examples/RCIN_test.lua | 21 | 1255 | -- example of getting RC input
local scripting_rc_1 = rc:find_channel_for_option(300)
local scripting_rc_2 = rc:find_channel_for_option(301)
local flip_flop = 0
function update()
pwm1 = rc:get_pwm(1)
pwm2 = rc:get_pwm(2)
pwm3 = rc:get_pwm(3)
pwm4 = rc:get_pwm(4)
gcs:send_text(0, "RCIN 1:" .. tostring(pwm1) ... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Eastern_Adoulin/npcs/HomePoint#1.lua | 17 | 1239 | -----------------------------------
-- Area: Eastern_Adoulin
-- NPC: HomePoint#1
-- @pos
-----------------------------------
package.loaded["scripts/zones/Eastern_Adoulin/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Eastern_Adoulin/TextIDs");
require("scripts/globals/homepoi... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Beadeaux/Zone.lua | 16 | 3478 | -----------------------------------
--
-- Zone: Beadeaux (147)
--
-----------------------------------
package.loaded["scripts/zones/Beadeaux/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/missions");
require("scripts/globals/quests");
require... | gpl-3.0 |
sheldon/epgp | libs/LibBabble-Inventory-3.0/LibBabble-Inventory-3.0.lua | 1 | 51050 | --[[
Name: LibBabble-Inventory-3.0
Revision: $Rev: 167 $
Maintainers: ckknight, nevcairiel, Ackis
Website: http://www.wowace.com/projects/libbabble-inventory-3-0/
Dependencies: None
License: MIT
]]
local MAJOR_VERSION = "LibBabble-Inventory-3.0"
local MINOR_VERSION = 90000 + tonumber(("$Rev: 167 $"):match("%d+"))
if ... | bsd-3-clause |
Deadwing888/darkstar | scripts/zones/Abyssea-La_Theine/npcs/qm18.lua | 17 | 1821 | -----------------------------------
-- Zone: Abyssea-LaTheine
-- NPC: ???
-- Spawns: Hadhayosh
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/keyitems");
-----------------------------------
-- onTrigger Action
-----------------------------------
function onTrigger(pla... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/Selbina/npcs/Chutarmire.lua | 11 | 1282 | -----------------------------------
-- Area: Selbina
-- NPC: Chutarmire
-- Standard Merchant NPC
-----------------------------------
local ID = require("scripts/zones/Selbina/IDs")
require("scripts/globals/shop")
-----------------------------------
function onTrade(player,npc,trade)
end
function onTrigger(player,npc... | gpl-3.0 |
destdev/ygopro-scripts | c84845628.lua | 6 | 1775 | --獄落鳥
function c84845628.initial_effect(c)
--atk & def
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_UPDATE_ATTACK)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOCATION_MZONE)
e1:SetValue(c84845628.adval)
c:RegisterEffect(e1)
local e2=e1:Clone()
e2:SetCode(EFFECT_UP... | gpl-2.0 |
destdev/ygopro-scripts | c74580251.lua | 2 | 1827 | --セフィラの神意
function c74580251.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,74580251+EFFECT_COUNT_CODE_OATH)
e1:SetTarget(c74580251.target)
e1:SetOperation(c74580251.act... | gpl-2.0 |
Deadwing888/darkstar | scripts/globals/mobskills/Absolute_Terror.lua | 28 | 1378 | ---------------------------------------------------
-- Absolute Terror
-- Causes Terror, which causes the victim to be stunned for the duration of the effect, this can not be removed.
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("sc... | gpl-3.0 |
bsander/dotfiles | vim/lua/mappings.lua | 1 | 11978 | local g = vim.g
local map = vim.api.nvim_set_keymap
-- Leader: <Space>
g.mapleader = " "
-- Local leader: , (comma)
g.maplocalleader = ","
-- map the leader key to nothing
map("n", "<Space>", "", {})
local options = {noremap = true, silent = false}
local roptions = {noremap = false, silent = false}
-- Navigate wrap... | mit |
chaosink/PiL-solutions | 13.2.lua | 1 | 1209 | Set = {}
local mt = {}
-- create a new set with the values of a given list
function Set.new(l)
local set = {}
setmetatable(set, mt)
for _, v in ipairs(l) do set[v] = true end
return set
end
function Set.union(a, b)
local res = Set.new{}
for k in pairs(a) do res[k] = true end
for k in pairs(b) do res[k] = true en... | gpl-2.0 |
Kong/kong | kong/db/strategies/postgres/tags.lua | 1 | 3273 | local cjson = require "cjson"
local cjson_safe = require "cjson.safe"
local kong = kong
local encode_base64 = ngx.encode_base64
local decode_base64 = ngx.decode_base64
local fmt = string.format
local unpack = unpack
local Tags = {}
local sql_templates = {
page_first = [[
S... | apache-2.0 |
ffxijuggalo/darkstar | scripts/globals/spells/jubaku_san.lua | 12 | 1924 | -----------------------------------------
-- Spell: Jubaku: San
-- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and INT.
-- taken from paralyze
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/magic")
require("scripts/globals/msg")... | gpl-3.0 |
Maxsteam/MMMMMM | plugins/banhammer.lua | 23 | 11188 | -- data saved to moderation.json
do
-- make sure to set with value that not higher than stats.lua
local NUM_MSG_MAX = 5 -- Max number of messages per TIME_CHECK seconds
local TIME_CHECK = 5
local function is_user_whitelisted(id)
local hash = 'whitelist:user#id'..id
local white = redis:get(hash) or false
return... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/RuLude_Gardens/npcs/Magian_Moogle_Green.lua | 48 | 2440 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Magian Moogle (Green Bobble)
-- Type: Magian Trials NPC (Job Emotes)
-- @pos -4.558 2.451 111.305 64
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-----------------------------------
require("s... | gpl-3.0 |
pouria346/selfbot3 | plugins/info.lua | 9 | 9083 | do
local AmirSbss = 122774063
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, 'set Rank for ('..name..') To... | gpl-2.0 |
destdev/ygopro-scripts | c90407382.lua | 4 | 1369 | --ザ・キックマン
function c90407382.initial_effect(c)
--equip
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(90407382,0))
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP)
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/PsoXja/npcs/Treasure_Chest.lua | 19 | 2932 | -----------------------------------
-- Area: Pso'Xja
-- NPC: Treasure Chest
-- @zone 9
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/treasu... | gpl-3.0 |
AFZL1396/zedspem1 | plugins/GroupManager.lua | 1 | 203018 | --Begin GroupManager.lua By @MahDiRoO
local function modadd(msg)
local hash = "gp_lang:"..msg.to.id
local lang = redis:get(hash)
-- superuser and admins only (because sudo are always has privilege)
if not is_admin(msg) then
if not lang then
return '*》γσų ąŗε ŋσŧ ɓσŧ ąđɱïŋ 🚷*\n*〰〰〰〰〰〰〰〰*\n🗯_Run this... | agpl-3.0 |
ichramm/LuaNode | lib/lunit-console.lua | 20 | 3449 |
--[[--------------------------------------------------------------------------
This file is part of lunit 0.5.
For Details about lunit look at: http://www.mroth.net/lunit/
Author: Michael Roth <mroth@nessie.de>
Copyright (c) 2006-2008 Michael Roth <mroth@nessie.de>
Permission is hereby granted... | mit |
simonfork/aquaria | game_scripts/scripts/maps/node_title_continue.lua | 6 | 2104 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria is free software; you can redistribute it and/or
-- modify it under the terms of the GNU General Public License
-- as published by the Free Software Foundation; either version 2
-- of the License, or (at your option) any later vers... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.