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 |
|---|---|---|---|---|---|
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Crawlers_Nest/npcs/Olavia.lua | 4 | 1036 | -----------------------------------
-- Area: Crawlers' Nest
-- NPC: Olavia
-- Type: Escort NPC
-- @zone: 197
-- @pos: 379.638 -33.051 -0.533
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil;
-------------... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/weaponskills/circle_blade.lua | 4 | 1194 | -----------------------------------
-- Circle Blade
-- Sword weapon skill
-- Skill Level: 150
-- Delivers an area of effect attack. Attack radius varies with TP.
-- Aligned with the Aqua Gorget & Thunder Gorget.
-- Aligned with the Aqua Belt & Thunder Belt.
-- Element: None
-- Modifiers: STR:35%
-- 100%TP 2... | gpl-3.0 |
SEEDTEAM/TeleSeed | plugins/ingroup.lua | 371 | 44212 | do
-- Check Member
local function check_member_autorealm(cb_extra, success, result)
local receiver = cb_extra.receiver
local data = cb_extra.data
local msg = cb_extra.msg
for k,v in pairs(result.members) do
local member_id = v.id
if member_id ~= our_id then
-- Group configuration
data[tostr... | agpl-3.0 |
TienHP/Aquaria | files/scripts/entities/collectibleenergystatue.lua | 6 | 1296 | -- 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 |
waytim/darkstar | scripts/zones/Bastok_Mines/npcs/Pavvke.lua | 12 | 2223 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Pavvke
-- Starts Quests: Fallen Comrades (100%)
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/settings");
re... | gpl-3.0 |
pedrohenriquerls/cocos2d_ruby_binding | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/LinearLayoutParameter.lua | 10 | 1473 |
--------------------------------
-- @module LinearLayoutParameter
-- @extend LayoutParameter
-- @parent_module ccui
--------------------------------
-- Sets LinearGravity parameter for LayoutParameter.<br>
-- see LinearGravity<br>
-- param LinearGravity
-- @function [parent=#LinearLayoutParameter] setGravity
-- @par... | mit |
wanmaple/MWFrameworkForCocosLua | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/LinearLayoutParameter.lua | 10 | 1473 |
--------------------------------
-- @module LinearLayoutParameter
-- @extend LayoutParameter
-- @parent_module ccui
--------------------------------
-- Sets LinearGravity parameter for LayoutParameter.<br>
-- see LinearGravity<br>
-- param LinearGravity
-- @function [parent=#LinearLayoutParameter] setGravity
-- @par... | apache-2.0 |
waytim/darkstar | scripts/zones/The_Sanctuary_of_ZiTah/Zone.lua | 15 | 4390 | -----------------------------------
--
-- Zone: The_Sanctuary_of_ZiTah (121)
--
-----------------------------------
package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/zones/The_Sanctuary_of_... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/West_Ronfaure/npcs/qm2.lua | 2 | 1448 | -----------------------------------
-- Area: West Ronfaure
-- NPC: ???
-- @zone: 100
-- @pos: -550 -0 -542
--
-- Involved in Quest: The Dismayed Customer
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/set... | gpl-3.0 |
waytim/darkstar | scripts/globals/weaponskills/evisceration.lua | 2 | 1578 | -----------------------------------
-- Evisceration
-- Dagger weapon skill
-- Skill level: 230
-- In order to obtain Evisceration, the quest Cloak and Dagger must be completed.
-- Delivers a fivefold attack. Chance of params.critical hit varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Shadow Gorget... | gpl-3.0 |
waytim/darkstar | scripts/zones/Spire_of_Dem/npcs/_0j2.lua | 39 | 1330 | -----------------------------------
-- Area: Spire_of_Dem
-- NPC: web of regret
-----------------------------------
package.loaded["scripts/zones/Spire_of_Dem/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/zones/Spire_of_Dem/TextIDs");
-------------------------... | gpl-3.0 |
waytim/darkstar | scripts/zones/Upper_Jeuno/npcs/Emitt.lua | 14 | 3662 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Emitt
-- @pos -95 0 160 244
-------------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/glo... | gpl-3.0 |
MinFu/luci | applications/luci-app-pbx/luasrc/model/cbi/pbx.lua | 146 | 4360 | --[[
Copyright 2011 Iordan Iordanov <iiordanov (AT) gmail.com>
This file is part of luci-pbx.
luci-pbx 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
... | apache-2.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/commands/zone.lua | 2 | 11478 | -----------------------------------
-- [Command name]: zone
-- [Author ]:
-- [Description ]:
-----------------------------------
local placenames = {
xA9 = 1, -- Phanauet Channel
xAA = 2, -- Carpenter's Landing
x84 = 3, -- Manaclipper
x85 = 4, -- Bibiki Bay
x8A = 5, -- Uleguerand R... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/items/cup_of_chai_+1.lua | 3 | 1105 | -----------------------------------------
-- ID: 5594
-- Item: cup_of_chai_+1
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Vitality -3
-- Charisma 3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-... | gpl-3.0 |
waytim/darkstar | scripts/zones/AlTaieu/npcs/HomePoint#1.lua | 29 | 1238 | -----------------------------------
-- Area: AlTaieu
-- NPC: HomePoint#1
-- @pos 7 0 709 33
-----------------------------------
package.loaded["scripts/zones/AlTaieu/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/AlTaieu/TextIDs");
require("scripts/globals/homepoint");
----------------... | gpl-3.0 |
waytim/darkstar | scripts/globals/items/serving_of_menemen_+1.lua | 18 | 1531 | -----------------------------------------
-- ID: 5587
-- Item: serving_of_menemen_+1
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- HP 35
-- MP 35
-- Agility 2
-- Intelligence -2
-- HP recovered while healing 2
-- MP recovered while healing 2
-----------------------------------------
requ... | gpl-3.0 |
Amadiro/debugUI | loveframes/objects/internal/sliderbutton.lua | 3 | 6551 | --[[------------------------------------------------
-- Love Frames - A GUI library for LOVE --
-- Copyright (c) 2012-2014 Kenny Shields --
--]]------------------------------------------------
-- get the current require path
local path = string.sub(..., 1, string.len(...) - string.len(".objects.internal.sliderbutton... | mit |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Aht_Urhgan_Whitegate/npcs/Mulnith.lua | 2 | 1210 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Mulnith
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
-------------------... | gpl-3.0 |
waytim/darkstar | scripts/zones/Temenos/bcnms/Central_Temenos_3rd_Floor.lua | 35 | 1139 | -----------------------------------
-- Area: Temenos
-- Name:
-----------------------------------
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[C_Temenos_3rd]UniqueID",GenerateLimbusKey());
HideArmouryCrates(GetInstanceRegion(1305),TE... | gpl-3.0 |
TienHP/Aquaria | files/scripts/entities/mutantnaija.lua | 6 | 4573 | -- 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 |
waytim/darkstar | scripts/globals/items/strip_of_buffalo_jerky.lua | 18 | 1385 | -----------------------------------------
-- ID: 5196
-- Item: strip_of_buffalo_jerky
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Strength 4
-- Mind -3
-- Attack % 18
-- Attack Cap 65
-----------------------------------------
require("scripts/globals/status");
-----------------------... | gpl-3.0 |
saeqe/nod | plugins/anti_bot.lua | 65 | 3192 |
local function isBotAllowed (userId, chatId)
local hash = 'anti-bot:allowed:'..chatId..':'..userId
local banned = redis:get(hash)
return banned
end
local function allowBot (userId, chatId)
local hash = 'anti-bot:allowed:'..chatId..':'..userId
redis:set(hash, true)
end
local function disallowBot (userId, ch... | gpl-2.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c100000847.lua | 2 | 4211 | --Created and coded by Rising Phoenix
function c100000847.initial_effect(c)
c:EnableReviveLimit()
--cannot remove
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_CANNOT_REMOVE)
e1:SetRange(LOCATION_MZONE)
e1:SetTargetRange(LOCATION_GRAVE,0)
e1:SetCondition(c100000847.contp)
c:R... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c512000010.lua | 2 | 3057 | --Draw of Fate
function c512000010.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCategory(CATEGORY_DRAW)
e1:SetCode(EVENT_ATTACK_ANNOUNCE)
e1:SetCondition(c512000010.condition)
e1:SetTarget(c512000010.target)
e1:SetOperation(c512000010.activate)
c:RegisterE... | gpl-3.0 |
Guim3/IcGAN | other/alternativeEncoders/trainEncoderE2E.lua | 1 | 13031 | -- This file reads the dataset generated by generateEncoderDataset.lua and
-- trains an encoder net that learns to map an image X to a noise vector Z (encoder Z, type Z)
-- or an encoded that maps an image X to an attribute vector Y (encoder Y, type Y).
require 'image'
require 'nn'
require 'optim'
require 'cunn'
requi... | bsd-3-clause |
zorfmorf/loveprojects | traderun/Client/model/lifeform.lua | 1 | 2148 | -- A lifeform is something that can move around on its own, usually found
-- in a ship. the player is also a lifeform
LIFEFORM_ID = 1 -- every lifeform has it's unique id. needed?
class "Lifeform" {
name = "NPC"; -- lifeform name. May be displayed?
hp = {100, 100}; -- current and max hitpoints. chp == 0? DIES... | apache-2.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c86221227.lua | 2 | 3200 | --Vocaloid Megumi/Assault Mode
function c86221227.initial_effect(c)
c:EnableReviveLimit()
--Cannot special summon
local e1=Effect.CreateEffect(c)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SPSUMMON_CONDITION)
e1:SetValue(aux.FALSE)
c:Regist... | gpl-3.0 |
waytim/darkstar | scripts/globals/abilities/pets/tail_whip.lua | 30 | 1284 | ---------------------------------------------------
-- Tail Whip M=5
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/globals/summon");
-----------------------------------------------... | gpl-3.0 |
Project-OSRM/osrm-backend | third_party/flatbuffers/tests/namespace_test/NamespaceA/SecondTableInA.lua | 12 | 1200 | -- automatically generated by the FlatBuffers compiler, do not modify
-- namespace: NamespaceA
local flatbuffers = require('flatbuffers')
local SecondTableInA = {} -- the module
local SecondTableInA_mt = {} -- the class metatable
function SecondTableInA.New()
local o = {}
setmetatable(o, {__index = SecondTa... | bsd-2-clause |
waytim/darkstar | scripts/zones/Port_Windurst/npcs/Sheia_Pohrichamaha.lua | 16 | 1476 | -----------------------------------
-- Area: Port Windurst
-- NPC: Sheia Pohrichamaha
-- Only sells when Windurst controlls Fauregandi Region
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones/Port... | gpl-3.0 |
jixianliang/DBProxy | examples/tutorial-tokenize.lua | 4 | 1591 | --[[ $%BEGINLICENSE%$
Copyright (c) 2007, 2009, Oracle and/or its affiliates. All rights reserved.
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; version 2 of the
License.
This program is dis... | gpl-2.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/items/coeurl_sub.lua | 3 | 1702 | -----------------------------------------
-- ID: 5166
-- Item: coeurl_sub
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Magic 10
-- Strength 5
-- Agility 1
-- Intelligence -2
-- Health Regen While Healing 1
-- Attack % 20
-- Attack Cap 75
-- Ranged ATT % 20
-- Ranged ATT Cap 75
---------... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Riverne-Site_B01/npcs/qm1.lua | 2 | 1191 | -----------------------------------
-- Area: Riverne Site #B01
-- NPC: Unstable Displacement
-----------------------------------
package.loaded["scripts/zones/Riverne-Site_B01/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Riverne-Site_B01/TextIDs");
... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c22874081.lua | 2 | 2541 | --Vocaloid Namine Ritsu
function c22874081.initial_effect(c)
c:SetUniqueOnField(1,0,22874081)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1)
c:EnableReviveLimit()
--cannot special summon
local e1=Effect.CreateEffect(c)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE+EFFECT_F... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c22769905.lua | 2 | 1845 | --Dreadnought Mark - 005 Hector
function c22769905.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(22769905,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetRange(LOCATION_HAND)
e1:S... | gpl-3.0 |
forcecore/OpenRA | mods/cnc/maps/nod09/nod09.lua | 5 | 10636 | --[[
Copyright 2007-2017 The OpenRA Developers (see AUTHORS)
This file is part of OpenRA, which is free software. It is made
available to you 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 vers... | gpl-3.0 |
waytim/darkstar | scripts/zones/Southern_San_dOria/npcs/Daggao.lua | 13 | 2011 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Daggao
-- Involved in Quest: Peace for the Spirit, Lure of the Wildcat (San d'Oria)
-- @pos 89 0 119 230
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
re... | gpl-3.0 |
waytim/darkstar | scripts/zones/Carpenters_Landing/npcs/relic.lua | 13 | 1860 | -----------------------------------
-- Area: Carpenter's Landing
-- NPC: <this space intentionally left blank>
-- @pos -99 -0 -514 2
-----------------------------------
package.loaded["scripts/zones/Carpenters_Landing/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Carpenters_Landing/TextI... | gpl-3.0 |
waytim/darkstar | scripts/zones/Northern_San_dOria/npcs/Mevreauche.lua | 44 | 2103 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Mevreauche
-- Type: Smithing Guild Master
-- @pos -193.584 10 148.655 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status")... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Windurst_Woods/npcs/Miiri-Wohri.lua | 5 | 1038 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Miiri-Wohri
-- Type: Standard NPC
-- @zone: 241
-- @pos: 106.766 -6 -30.492
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------... | gpl-3.0 |
waytim/darkstar | scripts/globals/mobskills/Hellsnap.lua | 31 | 1162 | ---------------------------------------------------
-- Hellsnap
--
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------------
function onMobSkillCheck(target,m... | gpl-3.0 |
waytim/darkstar | scripts/globals/abilities/spirit_surge.lua | 11 | 1694 | -----------------------------------
-- Ability: Spirit Surge
-- Adds your wyvern's strength to your own.
-- Obtained: Dragoon Level 1
-- Recast Time: 1:00:00
-- Duration: 1:00
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onAbilityCheck
-----------------... | gpl-3.0 |
narner/Soundpipe | modules/data/expon.lua | 3 | 1382 | sptbl["expon"] = {
files = {
module = "expon.c",
header = "expon.h",
example = "ex_expon.c",
},
func = {
create = "sp_expon_create",
destroy = "sp_expon_destroy",
init = "sp_expon_init",
compute = "sp_expon_compute",
},
params = {
op... | mit |
waytim/darkstar | scripts/zones/Port_Bastok/npcs/Yazan.lua | 12 | 2088 | -----------------------------------
-- Area: Port Bastok
-- NPC: Yazan
-- Starts Quests: Bite the Dust (100%)
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
------------------------------------
require("scripts/globals/settings");
require("scripts/globals/titles");
requi... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/spells/thundaga.lua | 2 | 1030 | -----------------------------------------
-- Spell: Thundaga
-- Deals thunder damage to an enemy.
-----------------------------------------
require("scripts/globals/magic");
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function... | gpl-3.0 |
X-Raym/REAPER-ReaScripts | Various/X-Raym_Open project folder in explorer or finder.lua | 1 | 2278 | --[[
* ReaScript Name: Open project folder in explorer or finder
* Author: X-Raym
* Author URI: https://www.extremraym.com
* Repository: GitHub > X-Raym > REAPER-ReaScripts
* Repository URI: https://github.com/X-Raym/REAPER-ReaScripts
* Licence: GPL v3
* Forum Thread: Scripts: Various
* Forum Thread URI: http:/... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Waughroon_Shrine/bcnms/up_in_arms.lua | 4 | 1775 | -----------------------------------
-- Area: Waughroon_Shrine
-- Name: up in arms
-- BCNM60
-----------------------------------
package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/quests");
require("scripts/zone... | gpl-3.0 |
waytim/darkstar | scripts/zones/Bastok_Markets/npcs/Balthilda.lua | 13 | 1711 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Balthilda
-- Type: Merchant
-- @zone: 235
-- @pos -300 -10 -161
--
-- NPC not found in 'npc_list'
--
-- Auto-Script: Requires Verification. Verified standard dialog - thrydwolf 12/18/2011
--
-- Updated Aug-09-2013 by Zerahn, based on bgwiki and ga... | gpl-3.0 |
MinFu/luci | applications/luci-app-upnp/luasrc/controller/upnp.lua | 39 | 1886 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.controller.upnp", package.seeall)
function index()
if not nixio.fs.access("/etc/config/upnpd") then
return
end
local page
page = entry({"... | apache-2.0 |
waytim/darkstar | scripts/zones/Sauromugue_Champaign/npcs/qm2.lua | 11 | 3923 | -----------------------------------
-- Area: Sauromugue Champaign
-- NPC: qm2 (???) (Tower 2)
-- Involved in Quest: THF AF "As Thick As Thieves"
-- @pos 196.830 31.300 206.078 120
-----------------------------------
package.loaded["scripts/zones/Sauromugue_Champaign/TextIDs"] = nil;
-------------------------------... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c77777757.lua | 2 | 1479 | --Peaceful Eternity
function c77777757.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCategory(CATEGORY_TODECK)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,77777757+EFFECT_COUNT_CODE_DUEL)
e1:SetCondition(c77777757.condition)
e1:SetTarget(c77777757.targe... | gpl-3.0 |
waytim/darkstar | scripts/zones/The_Shrine_of_RuAvitau/Zone.lua | 12 | 5750 | -----------------------------------
--
-- Zone: The_Shrine_of_RuAvitau (178)
--
-----------------------------------
package.loaded["scripts/zones/The_Shrine_of_RuAvitau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/missions");
require("scripts/global... | gpl-3.0 |
waytim/darkstar | scripts/globals/spells/phalanx.lua | 27 | 1151 | -----------------------------------------
-- Spell: PHALANX
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,s... | gpl-3.0 |
waytim/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Zabahf.lua | 13 | 1714 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Zabahf
-- Type: Standard NPC
-- @pos -90.070 -1 10.140 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
requi... | gpl-3.0 |
waytim/darkstar | scripts/zones/Bastok_Markets/npcs/Zon-Fobun.lua | 12 | 2514 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Zon-Fobun
-- Type: Quest Giver
-- @zone: 235
-- @pos -241.293 -3 63.406
--
-- Auto-Script: Requires Verification. Verified standard dialog - thrydwolf 12/18/2011
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/Text... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c78360180.lua | 2 | 2722 | --Vocaloid Xinhua
function c78360180.initial_effect(c)
--spsummon proc
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(c78360180.hspcon)
e1:SetOperation(c78360180.hspop)
c:RegisterEf... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Dynamis-Xarcabard/mobs/Prince_Seere.lua | 2 | 1088 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Prince Seere
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/dynamis");
-----------------------------------
-- onMobInitialize Action
-----------------------------------
function onMobInitialize(mo... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Jugner_Forest/npcs/CavernousMaw.lua | 2 | 1212 | -----------------------------------
-- Cavernous Maw
-- Teleports Players to aby vunk
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Nashmau/npcs/Pipiroon.lua | 2 | 1134 | -----------------------------------
-- Area: Nashmau
-- NPC: Pipiroon
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
require("scripts/zones/Nashmau/TextIDs");
-----------------------------------
-- onTrade Action
---... | gpl-3.0 |
delaram16/DelaramBot | plugins/inpm.lua | 1114 | 3008 | do
local function pairsByKeys (t, f)
local a = {}
for n in pairs(t) do table.insert(a, n) end
table.sort(a, f)
local i = 0 -- iterator variable
local iter = function () -- iterator function
i = i + 1
if a[i] == nil then return nil
else return a[i], t[a[i]]
... | gpl-2.0 |
icoowner/icorobot | plugins/inpm.lua | 1114 | 3008 | do
local function pairsByKeys (t, f)
local a = {}
for n in pairs(t) do table.insert(a, n) end
table.sort(a, f)
local i = 0 -- iterator variable
local iter = function () -- iterator function
i = i + 1
if a[i] == nil then return nil
else return a[i], t[a[i]]
... | agpl-3.0 |
waytim/darkstar | scripts/zones/RoMaeve/npcs/qm2.lua | 13 | 2069 | -----------------------------------
-- Area: Ro'Maeve
-- NPC: qm2 (???)
-- Involved in Mission: Bastok 7-1
-- @pos 102 -4 -114 122 and <many pos>
-----------------------------------
package.loaded["scripts/zones/RoMaeve/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require(... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Dynamis-Valkurm/Zone.lua | 2 | 1068 | -----------------------------------
--
-- Zone: Dynamis-Valkurm
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Dynamis-Valkurm/TextIDs"] = nil;
require("scripts/zones/Dynamis-Valkurm/TextIDs");
-----------------------------------
-- onInitialize
----------... | gpl-3.0 |
MinFu/luci | applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/tcpconns.lua | 68 | 1143 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
m = Map("luci_statistics",
translate("TCPConns Plugin Configuration"),
translate(
"The tcpconns plugin collects informations about open tcp " ..
"connections on selected ports."
))
-- ... | apache-2.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c90000018.lua | 2 | 2431 | --Night Clock Sound Wave
function c90000018.initial_effect(c)
--Negate Effect
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_CHAINING)
e1:SetCondition(c90000018.condition)
e1:SetTarget(c90000018.target)
e1:SetOperation(c90000018... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c89990019.lua | 2 | 2411 | --Nexomystis
function c89990019.initial_effect(c)
--fusion material
c:EnableReviveLimit()
aux.AddFusionProcCode2(c,89990031,89990007,false,false)
--spsummon condition
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetCode(EFFEC... | gpl-3.0 |
TheEggi/FTCCustom | lang/German.lua | 1 | 22128 |
--[[----------------------------------------------------------
GERMAN TRANSLATIONS
-- Special thanks are due to MerlinGer, Rakke, Xianlung, and Rial for their assistance with German localization.
à : \195\160 è : \195\168 ì : \195\172 ò : \195\178 ù : \195\185
á : \195\161 é : \195\169 í : \195\173 ó : \195\179... | apache-2.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Beaucedine_Glacier/npcs/Trail_Markings.lua | 4 | 2569 | -----------------------------------
-- Area: Beaucedine Glacier
-- NPC: Trail Markings
-- Dynamis-Beaucedine Enter
-- @pos -284 -39 -422 111
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
re... | gpl-3.0 |
waytim/darkstar | scripts/zones/Apollyon/mobs/Sirin.lua | 4 | 1133 | -----------------------------------
-- Area: Apollyon NE
-- NPC: Sirin
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
-----------------------------------
... | gpl-3.0 |
pvvx/EspLua | lua_examples/mcp23008/mcp23008_buttons.lua | 82 | 1801 | ---
-- @description Shows how to read 8 GPIO pins/buttons via I2C with the MCP23008 I/O expander.
-- Tested on NodeMCU 0.9.5 build 20150213.
-- @circuit
-- Connect GPIO0 of the ESP8266-01 module to the SCL pin of the MCP23008.
-- Connect GPIO2 of the ESP8266-01 module to the SDA pin of the MCP23008.
-- Use 3.3V fo... | mit |
waytim/darkstar | scripts/zones/West_Ronfaure/npcs/Yoshihiro_IM.lua | 13 | 3319 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Yoshihiro, I.M.
-- Outpost Conquest Guards
-- @pos -450.571 -20.807 -219.970 100
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/abilities/spectral_jig.lua | 2 | 1226 | -----------------------------------
-- Ability: Spectral jig
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
-- OnUseAbility
-----------------------------------
function OnAbilityCheck(player,target,ability)
return 0,... | gpl-3.0 |
Amadiro/debugUI | loveframes/objects/internal/columnlist/columnlistheader.lua | 3 | 5893 | --[[------------------------------------------------
-- Love Frames - A GUI library for LOVE --
-- Copyright (c) 2012-2014 Kenny Shields --
--]]------------------------------------------------
-- get the current require path
local path = string.sub(..., 1, string.len(...) - string.len(".objects.internal.columnlist.c... | mit |
dmccuskey/dmc-sockets | dmc_corona/lib/dmc_lua/lib/bit/numberlua.lua | 115 | 13399 | --[[
LUA MODULE
bit.numberlua - Bitwise operations implemented in pure Lua as numbers,
with Lua 5.2 'bit32' and (LuaJIT) LuaBitOp 'bit' compatibility interfaces.
SYNOPSIS
local bit = require 'bit.numberlua'
print(bit.band(0xff00ff00, 0x00ff00ff)) --> 0xffffffff
-- Interface providing strong Lua 5.2 '... | mit |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Yuhtunga_Jungle/npcs/Robino-Mobino.lua | 2 | 1754 | -----------------------------------
-- Area: Yuhtunga Jungle
-- NPC: Robino-Mobino
-- @pos -244 0 -401 123
-----------------------------------
package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
requir... | gpl-3.0 |
galek/crown | 3rdparty/bgfx/3rdparty/spirv-headers/include/spirv/unified1/spirv.lua | 4 | 54799 | -- Copyright (c) 2014-2020 The Khronos Group Inc.
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and/or associated documentation files (the "Materials"),
-- to deal in the Materials without restriction, including without limitation
-- the rights to use, copy, mod... | mit |
Amadiro/debugUI | init.lua | 1 | 5792 |
--initialize EVERYTHING
local dpath = ...
if dpath == "." then dpath = "" else dpath = dpath .. "." end
debugUI = {windows = {}}
debugUI.loveframes = require(dpath .. "loveframes")
debugUI.windowPosition = 0
debugUI.getfield = function(f)
local v = _G -- start with the table of globals
for w in string.gfind(f,... | mit |
Oxygem/Oxycore | modules/admin/get/groups.lua | 1 | 1504 | -- Oxypanel Core/Admin
-- File: get/groups.lua
-- Desc: add/edit/list user groups
local template, database, request, user = oxy.template, luawa.database, luawa.request, luawa.user
--add group?
if request.get.action == 'add' then
if not user:checkPermission('AddUserGroup') then return template:error('You don\'t ha... | mit |
yetsky/extra | luci/applications/luci-ser2net/luasrc/model/cbi/ser2net.lua | 1 | 4954 | m = Map("ser2net", translate("Ser2net"),
translate("The ser2net allows telnet and tcp sessions to be established with a unit's serial ports.<br/>"))
function m.on_after_commit(self)
luci.sys.call("/etc/init.d/ser2net enable 1\>/dev/null 2\>/dev/null")
luci.sys.call("/etc/init.d/ser2net restart ... | gpl-2.0 |
otland/forgottenserver | data/lib/core/itemtype.lua | 5 | 3079 | function ItemType:isItemType()
return true
end
do
local slotBits = {
[CONST_SLOT_HEAD] = SLOTP_HEAD,
[CONST_SLOT_NECKLACE] = SLOTP_NECKLACE,
[CONST_SLOT_BACKPACK] = SLOTP_BACKPACK,
[CONST_SLOT_ARMOR] = SLOTP_ARMOR,
[CONST_SLOT_RIGHT] = SLOTP_RIGHT,
[CONST_SLOT_LEFT] = SLOTP_LEFT,
[CONST_SLOT_LEGS] = SL... | gpl-2.0 |
m-creations/openwrt | feeds/luci/applications/luci-app-ocserv/luasrc/controller/ocserv.lua | 11 | 1838 | -- Copyright 2014 Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
-- Licensed to the public under the Apache License 2.0.
module("luci.controller.ocserv", package.seeall)
function index()
if not nixio.fs.access("/etc/config/ocserv") then
return
end
local page
page = entry({"admin", "services", "ocserv... | gpl-2.0 |
ferstar/openwrt-dreambox | feeds/luci/luci/luci/applications/luci-asterisk/luasrc/model/cbi/asterisk/trunk_sip.lua | 11 | 2607 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Jo-Philipp Wich <xm@subsignal.org>
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 License at
http://www.apache.org/licenses/LICENSE-2.0
$Id: trunk_si... | gpl-2.0 |
ziz/solarus | quests/zsdx/data/maps/map0019.lua | 1 | 1736 | ----------------------
-- Cake shop script --
----------------------
function event_map_started(destination_point_name)
if not has_obtained_bottle() or not sol.game.is_dungeon_finished(1) then
sol.map.shop_item_remove("apple_pie")
end
end
function has_talked_about_apples()
return sol.game.savegame_get_bool... | gpl-3.0 |
ferstar/openwrt-dreambox | feeds/luci/luci/luci/libs/web/luasrc/cbi/datatypes.lua | 3 | 4867 | --[[
LuCI - Configuration Bind Interface - Datatype Tests
(c) 2010 Jo-Philipp Wich <xm@subsignal.org>
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 License at
http://www.apache.org/licenses/LICENSE... | gpl-2.0 |
comitservice/nodmcu | lua_modules/ds3231/ds3231-web.lua | 84 | 1338 | require('ds3231')
port = 80
-- ESP-01 GPIO Mapping
gpio0, gpio2 = 3, 4
days = {
[1] = "Sunday",
[2] = "Monday",
[3] = "Tuesday",
[4] = "Wednesday",
[5] = "Thursday",
[6] = "Friday",
[7] = "Saturday"
}
months = {
[1] = "January",
[2] = "Febuary",
[3] = "March",
[4] = "Apri... | mit |
pintor/lispy-lua | lisp.lua | 1 | 2146 | function parse(s)
return read_from_tokens(tokenize(s))
end
function tokenize(s)
s = s:gsub("%(", " ( ")
s = s:gsub("%)", " ) ")
t = {}
for w in s:gmatch("%S+") do table.insert(t, w) end
return t
end
function read_from_tokens(tokens)
if #tokens == 0 then
error('unexpected EOF while reading')
end
... | mit |
m-creations/openwrt | feeds/packages/net/smartsnmpd/files/mibs/interfaces.lua | 158 | 4833 | --
-- This file is part of SmartSNMP
-- Copyright (C) 2014, Credo Semiconductor Inc.
--
-- 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 optio... | gpl-2.0 |
nekromant/aura-old | lua/init.lua | 1 | 2578 | require "lfs"
print("aura: Warming up lua environment");
function azra_gc()
before = collectgarbage("count");
collectgarbage();
after = collectgarbage("count");
echon("aura: Collecting garbage: "..before.."K -> "..after.."K");
--TODO: Call C function to clean up things
end
function azra_memusage()
after... | gpl-3.0 |
C3MA/WorldDominationSwitch | initTemplate.lua | 1 | 2094 | -- Tell the chip to connect to thi access point
wifi.setmode(wifi.STATION)
wifi.sta.setip({ip="10.23.42.22",netmask="255.255.254.0",gateway="10.23.42.1"})
wifi.sta.config("SSID","PASSWORD")
-- All global Variables
sollich=1
maintenanceMode=0
-- The Mqtt logic
m = mqtt.Client("ESP8266", 120, "user", "pass")
global_c=... | gpl-2.0 |
xinjuncoding/skynet | service/cslave.lua | 19 | 6492 | local skynet = require "skynet"
local socket = require "socket"
require "skynet.manager" -- import skynet.launch, ...
local table = table
local slaves = {}
local connect_queue = {}
local globalname = {}
local queryname = {}
local harbor = {}
local harbor_service
local monitor = {}
local monitor_master_set = {}
local ... | mit |
Crazy-Duck/junglenational | game/dota_addons/junglenational/scripts/vscripts/libraries/playertables.lua | 1 | 13974 | PLAYERTABLES_VERSION = "0.90"
--[[
PlayerTables: Player-specific shared state/nettable Library by BMD
PlayerTables sets up a table that is shared between server (lua) and client (javascript) between specific (but changeable) clients.
It is very similar in concept to nettables, but is built on being player-speci... | mit |
justbennet/lua | 16.0.1.lua | 1 | 1358 | -- should go into a dir call intel somewhere on the MODULEPATH
local helpMsg = [[
Some help I am
]]
package.path = package.path .. ";./.Info/?.lua"
local Info = require("pkgInfo");
helpMsg = Info.helpMessage();
------------------------------------------------------------------------
-- Intel Compilers support
------... | gpl-2.0 |
paulmarsy/Console | Libraries/nmap/App/nselib/ssh1.lua | 2 | 9096 | ---
-- Functions for the SSH-1 protocol. This module also contains functions for
-- formatting key fingerprints.
--
-- @author Sven Klemm <sven@c3d2.de>
-- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html
local bin = require "bin"
local bit = require "bit"
local io = require "io"
local math = require ... | mit |
wan-qy/waifu2x | cleanup_model.lua | 34 | 1775 | require './lib/portable'
require './lib/LeakyReLU'
torch.setdefaulttensortype("torch.FloatTensor")
-- ref: https://github.com/torch/nn/issues/112#issuecomment-64427049
local function zeroDataSize(data)
if type(data) == 'table' then
for i = 1, #data do
data[i] = zeroDataSize(data[i])
end
elseif typ... | mit |
rigeirani/sg1 | plugins/groupmanager.lua | 12 | 16925 | -- data saved to data/moderation.json
do
local function export_chat_link_cb(extra, success, result)
local msg = extra.msg
local data = extra.data
if success == 0 then
return send_large_msg(get_receiver(msg), 'Cannot generate invite link for this group.\nMake sure you are an admin or a sudoer.')
... | gpl-2.0 |
Murfalo/game-off-2016 | xl/SpritePiece.lua | 1 | 5645 | ----
-- xl/SpritePiece.lua
----
local Sprite = require "xl.Sprite"
local Scene = require "xl.Scene"
local anim8 = require "anim8"
local lume = lume
local WHITE = {255, 255, 255, 255}
local SpritePiece = Class.create("SpritePiece", Sprite)
function SpritePiece:init(image, frameWidth, frameHeight, border, z,name)
Spr... | mit |
topkecleon/otouto | otouto/bot.lua | 1 | 12959 | --[[
bot.lua
The heart and soul of otouto, i.e. the init and main loop.
Copyright 2016 topkecleon <drew@otou.to>
This code is licensed under the GNU AGPLv3. See /LICENSE for details.
]]--
local bot = {}
local bindings -- Bot API bindings.
local utilities -- Miscellaneous and shared functions.
local an... | agpl-3.0 |
gtaylormb/fpga_nes | sw/scripts/cpu_nop_hlt.lua | 3 | 7384 | ----------------------------------------------------------------------------------------------------
-- Script: cpu_nop_hlt.lua
-- Description: CPU test. Sanity test for NOP instructions, HLT instructions, and querying the PC.
---------------------------------------------------------------------------------------... | bsd-2-clause |
deepak78/new-luci | applications/luci-app-ocserv/luasrc/model/cbi/ocserv/user-config.lua | 79 | 4831 | -- Copyright 2014 Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
-- Licensed to the public under the Apache License 2.0.
local fs = require "nixio.fs"
local has_ipv6 = fs.access("/proc/net/ipv6_route")
m = Map("ocserv", translate("OpenConnect VPN"))
s = m:section(TypedSection, "ocserv", "OpenConnect")
s.ano... | apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.