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 |
|---|---|---|---|---|---|
nikai3d/naev | dat/missions/tutorial/tutmis.lua | 11 | 5313 | -- This is the mission used in tutorial: missions and events.
include("proximity.lua")
include("dat/events/tutorial/tutorial-common.lua")
-- localization stuff, translators would work here
lang = naev.lang()
if lang == "es" then
else -- default english
title1 = "Mission"
message1 = [[ "Hello there guv," th... | gpl-3.0 |
alimashmamali/BoT-tG | libs/redis.lua | 566 | 1214 | local Redis = require 'redis'
local FakeRedis = require 'fakeredis'
local params = {
host = os.getenv('REDIS_HOST') or '127.0.0.1',
port = tonumber(os.getenv('REDIS_PORT') or 6379)
}
local database = os.getenv('REDIS_DB')
local password = os.getenv('REDIS_PASSWORD')
-- Overwrite HGETALL
Redis.commands.hgetall = ... | gpl-2.0 |
mahdmahdia/selfi | libs/redis.lua | 566 | 1214 | local Redis = require 'redis'
local FakeRedis = require 'fakeredis'
local params = {
host = os.getenv('REDIS_HOST') or '127.0.0.1',
port = tonumber(os.getenv('REDIS_PORT') or 6379)
}
local database = os.getenv('REDIS_DB')
local password = os.getenv('REDIS_PASSWORD')
-- Overwrite HGETALL
Redis.commands.hgetall = ... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Northern_San_dOria/npcs/Miaux.lua | 19 | 6494 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Miaux
-- Type: Quest Giver
-- @pos -169.127 2.999 158.677 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
requ... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Lower_Delkfutts_Tower/npcs/_540.lua | 13 | 2231 | -----------------------------------
-- Area: Lower Delkfutt's Tower
-- NPC: Cermet Door
-- Cermet Door for Windy Ambassador
-- Windurst Mission 3.3 "A New Journey"
-- @pos 636 16 59 184
-----------------------------------
package.loaded["scripts/zones/Lower_Delkfutts_Tower/TextIDs"] = nil;
--------------------------... | gpl-3.0 |
Fractal-Architect/Lua-Scripts | Factory Scripts/makeRandom/JulianModulus.lua | 1 | 3293 |
--[[
Copyright 2015 Steven Brodhead, Sr., Centcom Inc.
This script 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 3 of the License, or
(at your option) any later version.
This script is ... | gpl-2.0 |
RwNigma/darkstar | scripts/globals/items/royal_omelette.lua | 36 | 2710 | -----------------------------------------
-- ID: 4564
-- Item: royal_omelette
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Strength 5
-- Dexterity 2
-- Intelligence -3
-- Mind 4
-- Attack % 22
-- Attack Cap 65
-----------------------------------------
-- IF ELVAAN ONLY
-- HP 20
-- MP 2... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Lower_Jeuno/npcs/Stinknix.lua | 36 | 1295 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Stinknix
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
require("scripts/zones/Lower_Jeuno/TextIDs");
-----------------------------------... | gpl-3.0 |
RwNigma/darkstar | scripts/globals/items/serving_of_golden_royale.lua | 36 | 1429 | -----------------------------------------
-- ID: 5558
-- Item: Serving of Golden Royale
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP +10
-- MP +10
-- Intelligence +2
-- HP Recoverd while healing 2
-- MP Recovered while healing 2
---------------------------------... | gpl-3.0 |
destdev/ygopro-scripts | c10759529.lua | 6 | 1333 | --キッズ・ガード
function c10759529.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_ATTACK_ANNOUNCE)
e1:SetCondition(c10759529.condition)
e1:SetCost(c10759529.cost)
e1:SetTarget(c10759529.target)
e1:SetOpera... | gpl-2.0 |
moses1984/aafmt | book_chapters_LaTeX_original/pgf_3.0.1.tds/tex/generic/pgf/graphdrawing/lua/pgf/gd/force/SpringElectricalHu2006.lua | 3 | 18414 | -- Copyright 2011 by Jannis Pohlmann
--
-- This file may be distributed and/or modified
--
-- 1. under the LaTeX Project Public License and/or
-- 2. under the GNU Public License
--
-- See the file doc/generic/pgf/licenses/LICENSE for more information
-- @release $Header: /cvsroot/pgf/pgf/generic/pgf/graphdrawing/lua/p... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Mafwahb.lua | 34 | 1212 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Mafwahb
-- 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 | c2295831.lua | 4 | 1950 | --ピースの輪
function c2295831.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_DRAW)
e1:SetCondition(c2295831.regcon)
e1:SetOperation(c2295831.regop)
c:RegisterEffect(e1)
local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_TOHAN... | gpl-2.0 |
meee1/ardupilot | libraries/AP_Scripting/tests/math.lua | 26 | 25303 | -- $Id: math.lua,v 1.77 2016/06/23 15:17:20 roberto Exp roberto $
--[[
*****************************************************************************
* Copyright (C) 1994-2016 Lua.org, PUC-Rio.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentati... | gpl-3.0 |
destdev/ygopro-scripts | c48356796.lua | 2 | 1258 | --閃光の宝札
function c48356796.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCondition(c48356796.accon)
c:RegisterEffect(e1)
--Effect Draw
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_DRAW_COUNT)
... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/globals/mobskills/damnation_dive.lua | 11 | 1449 | ---------------------------------------------
-- Damnation Dive
--
-- Description: Dives into a single target. Additional effect: Knockback + Stun
-- Type: Physical
-- Utsusemi/Blink absorb: 3 shadow
-- Range: Melee
-- Notes: Used instead of Gliding Spike by certain notorious monsters.
---------------------------------... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Norg/npcs/Ryoma.lua | 17 | 3886 | -----------------------------------
-- Area: Norg
-- NPC: Ryoma
-- Start and Finish Quest: 20 in Pirate Years, I'll Take the Big Box, True Will
-- Involved in Quest: Ayame and Kaede
-- @pos -23 0 -9 252
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
--------------------... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Bastok_Mines/npcs/Phara.lua | 17 | 2550 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Phara
-- Starts and Finishes Quest: The doorman (start)
-- Involved in Quest: The Talekeeper's Truth
-- @zone 234
-- @pos 75 0 -80
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------... | gpl-3.0 |
Deadwing888/darkstar | scripts/globals/items/serving_of_golden_royale.lua | 18 | 1474 | -----------------------------------------
-- ID: 5558
-- Item: Serving of Golden Royale
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP +10
-- MP +10
-- Intelligence +2
-- HP Recoverd while healing 2
-- MP Recovered while healing 2
---------------------------------... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Periqia/Zone.lua | 20 | 1407 | -----------------------------------
--
-- Zone: Periqia
--
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Periqia/IDs");
-----------------------------------
-- onInitialize
-----------------------------------
function onInitialize(zone)
end;
------------------------... | gpl-3.0 |
Deadwing888/darkstar | scripts/globals/spells/noctohelix.lua | 26 | 1689 | --------------------------------------
-- Spell: Noctohelix
-- Deals dark damage that gradually reduces
-- a target's HP. Damage dealt is greatly affected by the weather.
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/ma... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/Horlais_Peak/bcnms/shots_in_the_dark.lua | 9 | 1064 | -----------------------------------
-- Shots in the Dark
-- Horlais Peak BCNM60, Moon Orb
-- !additem 1130
-----------------------------------
require("scripts/globals/battlefield")
-----------------------------------
function onBattlefieldInitialise(battlefield)
battlefield:setLocalVar("loot", 1)
end
function on... | gpl-3.0 |
destdev/ygopro-scripts | c43413875.lua | 2 | 2841 | --花札衛-芒に月-
function c43413875.initial_effect(c)
c:EnableReviveLimit()
--spsummon from hand
local e1=Effect.CreateEffect(c)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetRange(LOCATION_HAND)
e1:SetCode(EFFECT_SPSUMMON_PROC)
e1:SetCondition(c43413875.hspcon)
e1:SetOperation(c43413875... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Sea_Serpent_Grotto/npcs/Grounds_Tome.lua | 30 | 1109 | -----------------------------------
-- Area: Sea Serpent Grotto
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,n... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Southern_San_dOria/npcs/Vaquelage.lua | 13 | 1516 | -----------------------------------
-- Area: Southern San dOria
-- NPC: Vaquelage
-- Type: Item Deliverer NPC
-- @pos 17.396 1.699 -29.357 230
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
r... | gpl-3.0 |
RwNigma/darkstar | scripts/globals/spells/absorb-agi.lua | 18 | 1297 | --------------------------------------
-- Spell: Absorb-AGI
-- Steals an enemy's agility.
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-------------... | gpl-3.0 |
vlcchina/vlc-player-dev | share/lua/playlist/youtube.lua | 15 | 9862 | --[[
$Id$
Copyright © 2007-2012 the VideoLAN team
This program 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 version.
This program is dist... | gpl-2.0 |
RwNigma/darkstar | scripts/globals/mobskills/Hexidiscs.lua | 18 | 1123 | ---------------------------------------------
-- Hexidiscs
--
-- Description: A sixfold attack damages targets in a fan-shaped area of effect.
-- Type: Physical
-- Utsusemi/Blink absorb: 6 shadows
-- Range: Unknown cone
-- Notes: Only used in "ball" form.
---------------------------------------------
req... | gpl-3.0 |
Deadwing888/darkstar | scripts/globals/items/black_eel.lua | 18 | 1403 | -----------------------------------------
-- ID: 4429
-- Item: Black Eel
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-- Evasion 5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCh... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Lower_Jeuno/npcs/Shashan-Mishan.lua | 59 | 1043 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Shashan-Mishan
-- Type: Weather Reporter
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Lower_Jeuno/TextIDs");... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/Arrapago_Reef/npcs/Cutter.lua | 9 | 3104 | -----------------------------------
-- Area: Arrapago Reef
-- NPC: Cutter
-- The ship for The Black Coffin Battle (TOAU-15)
-- !pos -462 -2 -394 54
-----------------------------------
local ID = require("scripts/zones/Arrapago_Reef/IDs")
require("scripts/globals/keyitems")
require("scripts/globals/missions")
---------... | gpl-3.0 |
simonfork/aquaria | game_scripts/scripts/entities/newtblaster.lua | 6 | 6537 | -- 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 |
mynameiscraziu/waqerr | plugins/dictionary.lua | 4 | 1738 | +
+--[[
+-- Translate text using Google Translate.
+-- http://translate.google.com/translate_a/single?client=t&ie=UTF-8&oe=UTF-8&hl=en&dt=t&tl=en&sl=auto&text=hello
+--]]
+do
+
+function translate(source_lang, target_lang, text)
+ local path = "http://translate.google.com/translate_a/single"
+ -- URL query parameters... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Port_San_dOria/npcs/Bricorsant.lua | 13 | 1358 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Bricorsant
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Port_San_dOria/TextIDs");
... | gpl-3.0 |
destdev/ygopro-scripts | c52286175.lua | 3 | 1139 | --トラップ・リアクター・RR
function c52286175.initial_effect(c)
--destroy&damage
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(52286175,0))
e1:SetCategory(CATEGORY_DAMAGE+CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DAMAGE_CAL)
e1:SetCode(EVENT_CHAINI... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Kazham/npcs/Majjih_Bakrhamab.lua | 30 | 1383 | -----------------------------------
-- Area: Kazham
-- NPC: Majjih Bakrhamab
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
----------------------------------... | gpl-3.0 |
krousey/contrib | ingress/controllers/nginx/lua/vendor/lua-resty-http/lib/resty/http_headers.lua | 69 | 1716 | local rawget, rawset, setmetatable =
rawget, rawset, setmetatable
local str_gsub = string.gsub
local str_lower = string.lower
local _M = {
_VERSION = '0.01',
}
-- Returns an empty headers table with internalised case normalisation.
-- Supports the same cases as in ngx_lua:
--
-- headers.content_lengt... | apache-2.0 |
ffxijuggalo/darkstar | scripts/zones/Horlais_Peak/bcnms/horns_of_war.lua | 9 | 1059 | -----------------------------------
-- Horns of War
-- Horlais Peak KSNM, Themis Orb
-- !additem 1553
-----------------------------------
require("scripts/globals/battlefield")
-----------------------------------
function onBattlefieldInitialise(battlefield)
battlefield:setLocalVar("loot", 1)
end
function onBattl... | gpl-3.0 |
X-Coder/spacebuild | lua/weapons/gmod_tool/stools/rd3_resdebug.lua | 1 | 1097 |
TOOL.Category = "Resource Distribution"
TOOL.Mode = "rd3_resdebug"
TOOL.Name = "Res. Debuger"
TOOL.Command = nil
TOOL.ConfigName = nil
if (CLIENT and GetConVarNumber("CAF_UseTab") == 1) then TOOL.Tab = "Custom Addon Framework" end
if ( CLIENT ) then
language.Add( "tool.rd3_resdebug.name", "RD Resource Debug... | apache-2.0 |
destdev/ygopro-scripts | c88086137.lua | 1 | 1332 | --直通断線
function c88086137.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_CHAINING)
e1:SetCondition(c88086137.condition)
e1:SetTarget(c88086137.target)
e1:SetOperation(c88086137.activate)
c:RegisterE... | gpl-2.0 |
topameng/tolua | Luajit/jit/dis_arm.lua | 59 | 19344 | ----------------------------------------------------------------------------
-- LuaJIT ARM disassembler module.
--
-- Copyright (C) 2005-2017 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------
-... | mit |
ffxijuggalo/darkstar | scripts/zones/The_Eldieme_Necropolis/globals.lua | 11 | 3300 | -----------------------------------
-- Zone: The Eldieme Necropolis (195)
-- Desc: this file contains functions that are shared by multiple luas in this zone's directory
-----------------------------------
local ID = require("scripts/zones/The_Eldieme_Necropolis/IDs")
require("scripts/globals/keyitems")
require("script... | gpl-3.0 |
lokinell/ardupilot | Tools/CHDK-Scripts/kap_uav.lua | 183 | 28512 | --[[
KAP UAV Exposure Control Script v3.1
-- Released under GPL by waterwingz and wayback/peabody
http://chdk.wikia.com/wiki/KAP_%26_UAV_Exposure_Control_Script
@title KAP UAV 3.1
@param i Shot Interval (sec)
@default i 15
@range i 2 120
@param s Total Shots (0=infinite)
@default s 0
@range ... | gpl-3.0 |
Jokler/JC2MP-Scripts | Racing/server/RaceStates/sStateAddPlayers.lua | 2 | 2022 | ----------------------------------------------------------------------------------------------------
-- Race is waiting for people to type "/race" (or whatever) to join.
----------------------------------------------------------------------------------------------------
function StateAddPlayers:__init(race)
self.ra... | mit |
RwNigma/darkstar | scripts/zones/Fort_Ghelsba/npcs/Treasure_Chest.lua | 19 | 2565 | -----------------------------------
-- Area: Fort Ghelsba
-- NPC: Treasure Chest
-- @zone 141
-----------------------------------
package.loaded["scripts/zones/Fort_Ghelsba/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/treasure");
require("scripts/z... | gpl-3.0 |
aqasaeed/spartafox | bot/utils.lua | 356 | 14963 | 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 |
RwNigma/darkstar | scripts/globals/items/beluga.lua | 41 | 1064 | -----------------------------------------
-- ID: Beluga
-- Beluga
-- Additional Effect: Ice Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-----------------------------------
functi... | gpl-3.0 |
destdev/ygopro-scripts | c91422370.lua | 2 | 2188 | --螺旋式発条
function c91422370.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:SetHintTiming(0,TIMING_END_PHASE)
e1:SetCost(c91422370.cost)
e1:SetTarget(c91422370.target)
e1:SetOperation(c91422370.... | gpl-2.0 |
Jokler/JC2MP-Scripts | Racing/client/cLargeMessage.lua | 2 | 1754 |
-- This class, on construction, will fancily draw large text near the center of the screen for a
-- specified duration.
LargeMessage.messageCount = 0
function LargeMessage:__init(message , durationSeconds)
self.message = message
self.durationSeconds = durationSeconds
self.timer = Timer()
self.exists = true
... | mit |
Deadwing888/darkstar | scripts/zones/Pashhow_Marshlands_[S]/npcs/Cavernous_Maw.lua | 29 | 1434 | -----------------------------------
-- Area: Sauromugue Champaign
-- NPC: Cavernous Maw
-- @pos 418 25 27 90
-- Teleports Players to Pashhow_Marshlands
-----------------------------------
package.loaded["scripts/zones/Pashhow_Marshlands_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals... | gpl-3.0 |
StephenAshmore/paladin | src/emulator_simple.lua | 1 | 4217 | function split(str, delim)
local splitStrings = { }
local counter = 0
for s in string.gmatch(str, delim) do
-- print ("In split: " .. s)
splitStrings[counter] = s
counter = counter + 1
end
splitStrings.size = counter
return splitStrings
end
function loadProgram(programMemory, file, labels)
-- Bootstrap th... | mit |
padrinoo/behrooz12 | plugins/vote.lua | 615 | 2128 | do
local _file_votes = './data/votes.lua'
function read_file_votes ()
local f = io.open(_file_votes, "r+")
if f == nil then
print ('Created voting file '.._file_votes)
serialize_to_file({}, _file_votes)
else
print ('Values loaded: '.._file_votes)
f:close()
end
return loadfile (_file_votes)()... | gpl-2.0 |
ldurniat/The-Great-Pong | scene/menu.lua | 2 | 3911 | --
-- Scena z głównym menu
--
-- 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.p... | mit |
destdev/ygopro-scripts | c37195861.lua | 6 | 1316 | --E・HERO オーシャン
function c37195861.initial_effect(c)
--to hand
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(37195861,0))
e1:SetCategory(CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EVENT_PHASE... | gpl-2.0 |
RwNigma/darkstar | scripts/globals/items/love_chocolate.lua | 35 | 1149 | -----------------------------------------
-- ID: 5230
-- Item: love_chocolate
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Magic Regen While Healing 4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- ... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Northern_San_dOria/npcs/Belgidiveau.lua | 17 | 2240 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Belgidiveau
-- Starts and Finishes Quest: Trouble at the Sluice
-- @zone 231
-- @pos -98 0 69
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
req... | gpl-3.0 |
destdev/ygopro-scripts | c7714344.lua | 4 | 3334 | --EMユニ
function c7714344.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(7714344,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetCondition(c7714344.spcon)
e1:SetTarget(c7714344.sptg)
... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/zones/AlTaieu/mobs/Absolute_Virtue.lua | 12 | 1685 | -----------------------------------
-- Area: Al'Taieu
-- HNM: Absolute Virtue
-----------------------------------
local ID = require("scripts/zones/AlTaieu/IDs");
require("scripts/globals/status");
require("scripts/globals/titles");
require("scripts/globals/magic");
-----------------------------------
function onMobS... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/mobskills/claw_storm.lua | 11 | 1066 | ---------------------------------------------
-- Claw Storm
--
-- Description: Slashes a single target in a threefold attack. Additional effect: Poison
-- Type: Physical
-- Utsusemi/Blink absorb: 1 shadow
-- Range: Melee
-- Notes:
---------------------------------------------
require("scripts/globals/settings")
r... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Waughroon_Shrine/bcnms/operation_desert_swarm.lua | 30 | 1815 | -----------------------------------
-- Area: Waughroon_Shrine
-- Name: Operation desert swarm
-----------------------------------
package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/quests");
require("scripts/zo... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Ghelsba_Outpost/npcs/Hut_Door.lua | 17 | 2049 | -----------------------------------
-- Area: Ghelsba_Outpost
-- NPC: Hut Door
-- @pos -165.357 -11.672 77.771 140
-------------------------------------
package.loaded["scripts/zones/Ghelsba_Outpost/TextIDs"] = nil;
package.loaded["scripts/globals/bcnm"] = nil;
-------------------------------------
require("s... | gpl-3.0 |
angt/overthebox | feeds/luci/applications/luci-app-ddns/luasrc/controller/ddns.lua | 4 | 10814 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
-- Copyright 2013 Manuel Munz <freifunk at somakoma dot de>
-- Copyright 2014-2018 Christian Schoenebeck <christian dot schoenebeck at gmail dot com>
-- Licensed to the public under the Apache License 2.0.
module("l... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Quicksand_Caves/npcs/qm4.lua | 34 | 1190 | -----------------------------------
-- Area: Quicksand Caves
-- NPC: ??? (qm4)
-- Involved in Mission: Bastok 8.1 "The Chains That Bind Us"
-- @pos
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/m... | gpl-3.0 |
rryan/vlc | share/lua/playlist/france2.lua | 113 | 2115 | --[[
$Id$
Copyright © 2008 the VideoLAN team
Authors: Antoine Cellerier <dionoea at videolan dot org>
This program 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 ... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Foret_de_Hennetiel/npcs/HomePoint#1.lua | 19 | 1213 | -----------------------------------
-- Area: Foret de Hennetiel
-- NPC: HomePoint#1
-- @pos -193 -0.5 -252 262
-----------------------------------
package.loaded["scripts/zones/Foret_de_Hennetiel/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Foret_de_Hennetiel/TextIDs");
require("scrip... | gpl-3.0 |
destdev/ygopro-scripts | c8316661.lua | 4 | 1346 | --魔轟神ミーズトージ
function c8316661.initial_effect(c)
--change type
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(8316661,0))
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_HAND)
e1:SetCost(c8316661.cost)
e1:SetTarget(c8316661.tg)
e1:SetOperation(c83166... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/RuLude_Gardens/npcs/Harith.lua | 12 | 3594 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Harith
-- Type: Standard NPC
-- @pos -4.349 1 134.014 243
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globa... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Port_Bastok/npcs/Blabbivix.lua | 17 | 1227 | -----------------------------------
-- Area: Port Bastok
-- NPC: Blabbivix
-- Standard merchant, though he acts like a guild merchant
-- @pos -110.209 4.898 22.957 236
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("sc... | gpl-3.0 |
destdev/ygopro-scripts | c93507434.lua | 4 | 2034 | --ダイナレスラー・カパプテラ
function c93507434.initial_effect(c)
--to grave
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(93507434,0))
e1:SetCategory(CATEGORY_TOGRAVE)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCountLimit(1,93507434)
e1:SetRange(LOCATION_MZONE)
e1:SetCo... | gpl-2.0 |
topameng/tolua | Assets/ToLua/Lua/jit/dis_mips.lua | 59 | 13773 | ----------------------------------------------------------------------------
-- LuaJIT MIPS disassembler module.
--
-- Copyright (C) 2005-2017 Mike Pall. All rights reserved.
-- Released under the MIT/X license. See Copyright Notice in luajit.h
---------------------------------------------------------------------------... | mit |
destdev/ygopro-scripts | c33971095.lua | 1 | 2895 | --ヴェンデット・ナイトメア
function c33971095.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--increase lv
local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_LVCHANGE)
e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetPr... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/globals/abilities/pets/attachments/steam_jacket.lua | 11 | 1519 | -----------------------------------
-- Attachment: Steam Jacket
-----------------------------------
require("scripts/globals/automaton")
require("scripts/globals/status")
-----------------------------------
function onEquip(pet)
onUpdate(pet, 0)
end
function onUnequip(pet)
updateModPerformance(pet, dsp.mod.AU... | gpl-3.0 |
destdev/ygopro-scripts | c30398342.lua | 1 | 3122 | --竜星の具象化
function c30398342.initial_effect(c)
--Activate
local e0=Effect.CreateEffect(c)
e0:SetDescription(aux.Stringid(30398342,1))
e0:SetType(EFFECT_TYPE_ACTIVATE)
e0:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e0)
--Activate(spsummon)
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(30398342,0)... | gpl-2.0 |
simonfork/aquaria | game_scripts/scripts/entities/duoeye.lua | 6 | 5637 | -- 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 |
destdev/ygopro-scripts | c73652465.lua | 2 | 1934 | --BF-突風のオロシ
function c73652465.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:SetCountLimit(1,73652465)
e1:SetCondition(c73652465.spcon)
c:RegisterEffect(e1)
... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/globals/spells/cure_iii.lua | 6 | 5088 | -----------------------------------------
-- Spell: Cure III
-- Restores target's HP.
-- Shamelessly stolen from http://members.shaw.ca/pizza_steve/cure/Cure_Calculator.html
-----------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/magic")
r... | gpl-3.0 |
RwNigma/darkstar | scripts/globals/mobskills/Stun_Cannon.lua | 17 | 1144 | ---------------------------------------------------
-- Stun_Cannon.lua
--
-- Description: 20'(?) AoE ~300 magic damage and Paralysis, ignores Utsusemi
-- Type: Magical
--
-- Range: 20 yalms
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Port_Jeuno/npcs/Veujaie.lua | 13 | 1043 | ----------------------------------
-- Area: Port Jeuno
-- NPC: Veujaie
-- Type: Item Deliverer
-- @zone: 246
-- @pos -20.349 7.999 -2.888
--
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
require("scripts/zones/Port_Jeuno/TextIDs");
---------------------------... | gpl-3.0 |
destdev/ygopro-scripts | c22796548.lua | 1 | 1725 | --デーモンの宣告
function c22796548.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--announce
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(22796548,0))
e2:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH+CATE... | gpl-2.0 |
linuxmaniac/pkg-prosody | tools/migration/migrator/prosody_sql.lua | 3 | 6352 |
local assert = assert;
local have_DBI, DBI = pcall(require,"DBI");
local print = print;
local type = type;
local next = next;
local pairs = pairs;
local t_sort = table.sort;
local json = require "util.json";
local mtools = require "migrator.mtools";
local tostring = tostring;
local tonumber = tonumber;
if not have_DB... | mit |
simonfork/aquaria | game_scripts/scripts/entities/piranha.lua | 6 | 4700 | -- 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 |
mynameiscraziu/waqerr | plugins/lyrics.lua | 695 | 2113 | do
local BASE_LNM_URL = 'http://api.lyricsnmusic.com/songs'
local LNM_APIKEY = '1f5ea5cf652d9b2ba5a5118a11dba5'
local BASE_LYRICS_URL = 'http://api.chartlyrics.com/apiv1.asmx/SearchLyricDirect'
local function getInfo(query)
print('Getting info of ' .. query)
local url = BASE_LNM_URL..'?api_key='..LNM_APIKEY
... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/zones/Port_San_dOria/npcs/Bonmaurieut.lua | 11 | 1190 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Bonmaurieut
-- Elshimo Uplands Regional Merchant
-----------------------------------
local ID = require("scripts/zones/Port_San_dOria/IDs")
require("scripts/globals/conquest")
require("scripts/globals/npc_util")
require("scripts/globals/quests")
requ... | gpl-3.0 |
destdev/ygopro-scripts | c46961802.lua | 4 | 2419 | --クロス・アタック
function c46961802.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c46961802.target)
e1:SetOperation(c46961802.activate)
c:RegisterEffect(e1)
end
function c46961802.filter1(... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Windurst_Waters/npcs/Olaky-Yayulaky.lua | 38 | 1046 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Olaky-Yayulaky
-- Type: Item Depository
-- @zone: 238
-- @pos -61.247 -4.5 72.551
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
---... | gpl-3.0 |
kennyledet/Algorithm-Implementations | Radix_Sort/Lua/Yonaba/radix_sort_test.lua | 27 | 1369 | -- Tests for radix_sort.lua
local radix_sort = require 'radix_sort'
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 end
loca... | mit |
RwNigma/darkstar | scripts/globals/items/chunk_of_sweet_lizard.lua | 35 | 1262 | -----------------------------------------
-- ID: 5738
-- Item: chunk_of_sweet_lizard
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP 5
-- MP 5
-- Dexterity 1
-----------------------------------------
require("scripts/globals/status");
--------------------------------------... | gpl-3.0 |
destdev/ygopro-scripts | c96380700.lua | 1 | 2063 | --トークバック・ランサー
function c96380700.initial_effect(c)
--link summon
aux.AddLinkProcedure(c,c96380700.matfilter,1,1)
c:EnableReviveLimit()
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(96380700,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(E... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Nadee_Periyaha.lua | 13 | 1456 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Nadee Periyaha
-- Standard Info NPC
-- @pos -10.802 0.000 -1.198 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
re... | gpl-3.0 |
destdev/ygopro-scripts | c45045866.lua | 6 | 1059 | --オーシャンズ・オーパー
function c45045866.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_PIERCE)
c:RegisterEffect(e1)
--special summon
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(45045866,0))
e2:SetCategory(CATEGORY_TOHAND+CATEGORY_... | gpl-2.0 |
Deadwing888/darkstar | scripts/globals/items/slice_of_land_crab_meat.lua | 18 | 1416 | -----------------------------------------
-- ID: 4400
-- Item: slice_of_land_crab_meat
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity -4
-- Vitality 3
-- Defense % 14
-----------------------------------------
require("scripts/globals/status");
--------------------------------... | gpl-3.0 |
destdev/ygopro-scripts | c84769941.lua | 1 | 2999 | --対壊獣用決戦兵器スーパーメカドゴラン
function c84769941.initial_effect(c)
c:EnableReviveLimit()
c:SetUniqueOnField(1,0,aux.FilterBoolFunction(Card.IsSetCard,0xd3),LOCATION_MZONE)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_SPSUMMON_PROC)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE)... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/zones/Bastok_Markets_[S]/npcs/Millard_IM.lua | 11 | 4327 | -----------------------------------
-- Area: Bastok Markets [S]
-- NPC: Millard IM
-- Type: Sigil NPC
-----------------------------------
local ID = require("scripts/zones/Bastok_Markets_[S]/IDs")
require("scripts/globals/campaign")
require("scripts/globals/status")
-----------------------------------
function onTrad... | gpl-3.0 |
destdev/ygopro-scripts | c96099959.lua | 7 | 1342 | --X-セイバー パロムロ
function c96099959.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(96099959,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetRange(LOCATION_GRAVE)
e1:SetCode(EVENT_BATTLE_DESTROYED)
e1:SetConditi... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/HomePoint#1.lua | 17 | 1265 | -----------------------------------
-- Area: Windurst_Waters_[S]
-- NPC: HomePoint#1
-- @pos -32 -5 131 94
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Windurst_Waters_[S]/TextIDs");
requir... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Southern_San_dOria/npcs/Estiliphire.lua | 13 | 1119 | -----------------------------------
-- Area: Southern Sandoria
-- NPC: Estiliphire
-- Type: Event Sideshow NPC
-- @zone: 230
-- @pos -41.550 1.999 -2.845
--
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
------------------... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Giddeus/npcs/Giddeus_Spring.lua | 17 | 1411 | -----------------------------------
-- Area: Giddeus
-- NPC: Giddeus Spring
-- Involved in Quest "Water Way to Go"
-- @pos -258 -2 -249
-- @zone 145
-----------------------------------
package.loaded["scripts/zones/Giddeus/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/items/elshena.lua | 11 | 1034 | -----------------------------------------
-- ID: 5886
-- Item: elshena
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP +7% (cap 120)
-- Increases rate of combat skill gains by 40%
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
... | gpl-3.0 |
destdev/ygopro-scripts | c10755984.lua | 6 | 1853 | --ダイガスタ・イグルス
function c10755984.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(Card.IsSetCard,0x10),1)
c:EnableReviveLimit()
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(10755984,0))
e1:SetCategory(CATEGORY_DESTROY)
e1:SetProperty(EFFECT_FLAG_CARD_TARGE... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Pashhow_Marshlands/npcs/Mokto-Lankto_WW.lua | 30 | 3070 | -----------------------------------
-- Area: Pashhow Marshlands
-- NPC: Mokto-Lankto, W.W.
-- Type: Outpost Conquest Guards
-- @pos 470.843 23.465 415.520 109
-----------------------------------
package.loaded["scripts/zones/Pashhow_Marshlands/TextIDs"] = nil;
-----------------------------------
require("scripts/glob... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.