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 |
|---|---|---|---|---|---|
Gael-de-Sailly/minetest-minetestforfun-server | minetestforfun_game/mods/farming/compatibility.lua | 7 | 4926 | -- is Ethereal mod installed?
local eth = minetest.get_modpath("ethereal") or nil
-- Banana
if eth then
minetest.register_alias("farming_plus:banana_sapling", "ethereal:banana_tree_sapling")
minetest.register_alias("farming_plus:banana_leaves", "ethereal:bananaleaves")
minetest.register_alias("farming_plus:banana",... | unlicense |
FFXIOrgins/FFXIOrgins | scripts/zones/Port_Jeuno/npcs/Narsha.lua | 6 | 1542 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Narsha
-- Chocobo Vendor
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/quests");
-----------------------------------
-- onTrade Action
------------------... | gpl-3.0 |
POPHUP/maroonhost | plugins/lock_badword.lua | 13 | 3182 | local function run(msg, matches)
if msg.to.type == 'chat' then
if is_momod(msg) then
return
end
local data = load_data(_config.moderation.data)
if data[tostring(msg.to.id)] then
if data[tostring(msg.to.id)]['settings'] then
if data[tostring(msg.to.id)]['settings']['lock_badw'... | gpl-2.0 |
adamsumm/SMBRNN | Torch/util/model_utils.lua | 11 | 5151 |
-- adapted from https://github.com/wojciechz/learning_to_execute
-- utilities for combining/flattening parameters in a model
-- the code in this script is more general than it needs to be, which is
-- why it is kind of a large
require 'torch'
local model_utils = {}
function model_utils.combine_all_parameters(...)
... | mit |
FFXIOrgins/FFXIOrgins | scripts/zones/Buburimu_Peninsula/TextIDs.lua | 3 | 1356 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6405; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6408; -- Obtained: <item>.
GIL_OBTAINED = 6409; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6411; -- Obtained... | gpl-3.0 |
msburgess3200/PERP | gamemodes/perp/entities/weapons/weapon_perp_handcuffs/shared.lua | 1 | 2954 |
if SERVER then
AddCSLuaFile("shared.lua")
end
if CLIENT then
SWEP.PrintName = "Hand Cuffs"
SWEP.Slot = 2
SWEP.SlotPos = 1
SWEP.DrawAmmo = false
SWEP.DrawCrosshair = false
end
SWEP.Author = "RedMist"
SWEP.Instructions = "Left Click: Restrain / Free"
SWEP.Contact = ""
SWEP.Purpose = ""
SWEP.ViewModelFOV = 62
SW... | mit |
sjznxd/luci-0.11-aa | protocols/core/luasrc/model/cbi/admin_network/proto_static.lua | 10 | 2663 | --[[
LuCI - Lua Configuration Interface
Copyright 2011 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
]]--
local ma... | apache-2.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Bhaflau_Thickets/npcs/Kamih_Mapokhalam.lua | 13 | 1773 | -----------------------------------
-- Area: Bhaflau Thickets
-- NPC: Kamih Mapokhalam
--
-----------------------------------
package.loaded["scripts/zones/Bhaflau_Thickets/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/Bhaflau_Thickets/TextID... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/globals/items/spicy_cracker.lua | 35 | 1335 | -----------------------------------------
-- ID: 4466
-- Item: spicy_cracker
-- Food Effect: 3Min, All Races
-----------------------------------------
-- HP Recovered While Healing 7
-- Beast Killer
-- Resist Sleep
-----------------------------------------
require("scripts/globals/status");
--------------... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Norg/npcs/Laisrean.lua | 19 | 2181 | -----------------------------------
-- Area: Norg
-- NPC: Laisrean
-- Starts and Ends Quest: The Sahagin's Stash
-- @zone: 252
-- @pos -2.251 -1 21.654
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require(... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/globals/spells/bluemagic/foot_kick.lua | 6 | 1039 | require("scripts/globals/magic");
require("scripts/globals/status");
require("scripts/globals/bluemagic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function OnMagicCastingCheck(caster,target,spell)
return 0;
end;
function onSpellCast(caster,target,sp... | gpl-3.0 |
KnightTeam/Knight | libs/JSON.lua | 3765 | 34843 | -- -*- coding: utf-8 -*-
--
-- Simple JSON encoding and decoding in pure Lua.
--
-- Copyright 2010-2014 Jeffrey Friedl
-- http://regex.info/blog/
--
-- Latest version: http://regex.info/blog/lua/json
--
-- This code is released under a Creative Commons CC-BY "Attribution" License:
-- http://creativecommons.org/licenses... | agpl-3.0 |
mehrpouya81/gamer1 | libs/JSON.lua | 3765 | 34843 | -- -*- coding: utf-8 -*-
--
-- Simple JSON encoding and decoding in pure Lua.
--
-- Copyright 2010-2014 Jeffrey Friedl
-- http://regex.info/blog/
--
-- Latest version: http://regex.info/blog/lua/json
--
-- This code is released under a Creative Commons CC-BY "Attribution" License:
-- http://creativecommons.org/licenses... | gpl-2.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Port_Jeuno/npcs/Shami.lua | 17 | 18277 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Shami
-- Orb Seller (BCNM)
-- @pos -14 8 44 246
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quest... | gpl-3.0 |
hacker44-h44/1104 | 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 |
daofeng2015/luci | applications/luci-app-ddns/luasrc/model/cbi/ddns/hints.lua | 12 | 6943 | -- Copyright 2014-2016 Christian Schoenebeck <christian dot schoenebeck at gmail dot com>
-- Licensed to the public under the Apache License 2.0.
local DISP = require "luci.dispatcher"
local SYS = require "luci.sys"
local CTRL = require "luci.controller.ddns" -- this application's controller
local DDNS = require "luc... | apache-2.0 |
m2mselect/owrt | feeds/luci/applications/luci-app-statistics/luasrc/controller/luci_statistics/luci_statistics.lua | 9 | 5926 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Copyright 2012 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.controller.luci_statistics.luci_statistics", package.seeall)
function index()
require("nixio.fs")
require("luci.util")
req... | gpl-2.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/PsoXja/npcs/_i99.lua | 17 | 3404 | -----------------------------------
-- Area: Pso'Xja
-- NPC: Stone Gate
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/PsoXja/TextIDs");
require("scripts/globals/keyitems... | gpl-3.0 |
TW1STaL1CKY/pac3 | lua/pac3/core/client/parts/legacy/webaudio.lua | 1 | 6860 | local PART = {}
local snd_mute_losefocus = GetConVar('snd_mute_losefocus')
PART.ClassName = "webaudio"
PART.Group = 'legacy'
PART.Icon = 'icon16/sound_add.png'
pac.StartStorableVars()
pac.GetSet(PART, "URL", "")
pac.GetSet(PART, "Volume", 1, {editor_sensitivity = 0.125})
pac.GetSet(PART, "Pitch", 1, {editor_sensit... | gpl-3.0 |
deepmind/mnist-cluttered | download_mnist.lua | 2 | 5023 | --[[
Copyright 2014 Google Inc. All Rights Reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file or at
https://developers.google.com/open-source/licenses/bsd
]]
--[[
Script to download and save mnist data.
- gets files from Yann LeCun's web site (http://yann.l... | bsd-3-clause |
jonm/lxUnit | src/test/lxUnit/framework/test_comparison_compactor.lua | 1 | 5526 | require("comparison_compactor")
tests = {}
function tests.findsCommonPrefixOfLengthOne()
cc = ComparisonCompactor:new(2, "abcdef", "axcdef")
cc:findCommonPrefix()
Assert.assertEquals(1, cc.fPrefix)
end
function tests.findsZeroCommonPrefixWhenNone()
cc = ComparisonCompactor:new(2, "abc", "xbc")
cc:find... | apache-2.0 |
hb9cwp/snabbswitch | lib/ljsyscall/syscall/linux/arm64/ffi.lua | 24 | 1373 | -- arm64 specific definitions
return {
ucontext = [[
typedef unsigned long greg_t;
typedef unsigned long gregset_t[34];
typedef struct {
long double vregs[32];
unsigned int fpsr;
unsigned int fpcr;
} fpregset_t;
typedef struct sigcontext
{
unsigned long fault_address;
unsigned long regs[31];
unsigned lon... | apache-2.0 |
Phoib/OpenRA | mods/common/lua/utils.lua | 4 | 1653 | Utils = { }
Utils.Enumerate = function(netEnumerable)
local enum = netEnumerable:GetEnumerator()
return function()
if enum:MoveNext() then
return enum:get_Current()
end
end
end
Utils.EnumerableFirstOrNil = function(netEnumerable, func)
for item in Utils.Enumerate(netEnumerable) do
if func(item) then
r... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Pashhow_Marshlands/npcs/Cavernous_Maw.lua | 5 | 1473 | -----------------------------------
-- Area: Pashhow Marshlands
-- NPC: Cavernous Maw
-- Teleports Players to Pashhow Marshlands [S]
-- @pos 418 25 27 109
-----------------------------------
package.loaded["scripts/zones/Pashhow_Marshlands/TextIDs"] = nil;
-----------------------------------
require("scripts... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Quicksand_Caves/npcs/_5s2.lua | 19 | 1274 | -----------------------------------
-- Area: Quicksand Caves
-- NPC: Ornate Door
-- Door blocked by Weight system
-- @pos -574 0 -420 208
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Quicksand_Cav... | gpl-3.0 |
m2mselect/owrt | feeds/luci/modules/luci-mod-freifunk/luasrc/controller/freifunk/remote_update.lua | 68 | 1475 | -- Copyright 2009 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.controller.freifunk.remote_update", package.seeall)
function index()
if not nixio.fs.access("/usr/sbin/remote-update") then
return
end
entry({"admin", "system", "remote_update"}, call("act_re... | gpl-2.0 |
FFXIOrgins/FFXIOrgins | scripts/globals/items/serving_of_zaru_soba.lua | 35 | 1312 | -----------------------------------------
-- ID: 5727
-- Item: serving_of_zaru_soba
-- Food Effect: 30Min?, All Races
-----------------------------------------
-- Agility 3
-- HP % 12 (cap 180)
-----------------------------------------
require("scripts/globals/status");
------------------------------------... | gpl-3.0 |
m2mselect/owrt | feeds/routing/luci-app-bmx6/files/usr/lib/lua/luci/model/cbi/bmx6/hna.lua | 20 | 1534 | --[[
Copyright (C) 2011 Pau Escrich <pau@dabax.net>
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.
Th... | gpl-2.0 |
PioneerMakeTeam/Cretaceous | wicker/plugins/addpopulateworldpreinit.lua | 5 | 1233 | --[[
Copyright (C) 2013 simplex
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 distributed in the hope that ... | mit |
sjznxd/lc-20130127 | applications/luci-freifunk-widgets/luasrc/model/cbi/freifunk/widgets/widget.lua | 78 | 1243 | --[[
LuCI - Lua Configuration Interface
Copyright 2012 Manuel Munz <freifunk at somakoma dot de>
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
]]--
... | apache-2.0 |
sjznxd/luci-0.11-aa | contrib/luadoc/lua/luadoc/lp.lua | 175 | 4389 | ----------------------------------------------------------------------------
-- Lua Pages Template Preprocessor.
--
-- @release $Id: lp.lua,v 1.7 2007/04/18 14:28:39 tomas Exp $
----------------------------------------------------------------------------
local assert, error, getfenv, loadstring, setfenv = assert, erro... | apache-2.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Bostaunieux_Oubliette/npcs/Chumia.lua | 38 | 1045 | -----------------------------------
-- Area: Bostaunieux Oubliette
-- NPC: Chumia
-- Type: Standard NPC
-- @pos 102.420 -25.001 70.457 167
-----------------------------------
package.loaded["scripts/zones/Bostaunieux_Oubliette/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Bostaunieux... | gpl-3.0 |
msburgess3200/PERP | gamemodes/perp/gamemode/items/drug_meth_burned.lua | 1 | 1142 |
local ITEM = {};
ITEM.ID = 11;
ITEM.Reference = "drug_meth_burned";
ITEM.Name = "Meth (Burned)";
ITEM.Description = "Over-cooked meth. Worthless now.\n\nLeft Click to delete this item.";
ITEM.Weight = 5;
ITEM.Cost = 200;
ITEM.MaxStack = 25;
ITEM.InventoryModel = "models/props/... | mit |
gitfancode/skynet | examples/share.lua | 66 | 1702 | local skynet = require "skynet"
local sharedata = require "sharedata"
local mode = ...
if mode == "host" then
skynet.start(function()
skynet.error("new foobar")
sharedata.new("foobar", { a=1, b= { "hello", "world" } })
skynet.fork(function()
skynet.sleep(200) -- sleep 2s
skynet.error("update foobar a = 2")
... | mit |
FFXIOrgins/FFXIOrgins | scripts/zones/Temple_of_Uggalepih/npcs/_4f3.lua | 14 | 2011 | -----------------------------------
-- Area: Temple of Uggalepih
-- NPC: _4f3
-- Notes: Tonberry Priest Room (Offers Tonberry Hate Reset)
-- @pos 60.001 -1.653 -147.755 159
-----------------------------------
package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil;
----------------------------------... | gpl-3.0 |
sjznxd/luci-0.11-aa | libs/web/luasrc/template.lua | 6 | 3106 | --[[
LuCI - Template Parser
Description:
A template parser supporting includes, translations, Lua code blocks
and more. It can be used either as a compiler or as an interpreter.
FileId: $Id: template.lua 9558 2012-12-18 13:58:22Z jow $
License:
Copyright 2008 Steven Barth <steven@midlink.org>
Licensed under the Apa... | apache-2.0 |
hacker44-h44/1104 | libs/JSON.lua | 3765 | 34843 | -- -*- coding: utf-8 -*-
--
-- Simple JSON encoding and decoding in pure Lua.
--
-- Copyright 2010-2014 Jeffrey Friedl
-- http://regex.info/blog/
--
-- Latest version: http://regex.info/blog/lua/json
--
-- This code is released under a Creative Commons CC-BY "Attribution" License:
-- http://creativecommons.org/licenses... | gpl-2.0 |
aosee1h1/AOSEE_2H2 | libs/JSON.lua | 3765 | 34843 | -- -*- coding: utf-8 -*-
--
-- Simple JSON encoding and decoding in pure Lua.
--
-- Copyright 2010-2014 Jeffrey Friedl
-- http://regex.info/blog/
--
-- Latest version: http://regex.info/blog/lua/json
--
-- This code is released under a Creative Commons CC-BY "Attribution" License:
-- http://creativecommons.org/licenses... | gpl-2.0 |
geektophe/blingbling | text_box.lua | 4 | 9071 | -- @author cedlemo
local setmetatable = setmetatable
local ipairs = ipairs
local math = math
local table = table
local type = type
local string = string
local color = require("gears.color")
local base = require("wibox.widget.base")
local helpers = require("blingbling.helpers")
local superproperties = require("blingb... | gpl-2.0 |
caidongyun/nginx-openresty-windows | LuaJIT-2.1-20140109/src/jit/bc.lua | 2 | 5810 | ----------------------------------------------------------------------------
-- LuaJIT bytecode listing module.
--
-- Copyright (C) 2005-2013 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
-------------------------------------------------------------------------... | bsd-2-clause |
sjznxd/lc-20130127 | protocols/6x4/luasrc/model/cbi/admin_network/proto_6rd.lua | 24 | 2242 | --[[
LuCI - Lua Configuration Interface
Copyright 2011-2012 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
]]--
loc... | apache-2.0 |
FFXIOrgins/FFXIOrgins | scripts/globals/abilities/dancers_roll.lua | 6 | 1409 | -----------------------------------
-- Ability: Choral Roll
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
-- OnUseAbility
-----------------------------------
function OnAbilityCheck(player,target,ability)
lo... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Windurst_Woods/npcs/Nikkoko.lua | 12 | 1777 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Nikkoko
-- Type: Clothcraft Image Support
-- @pos -32.810 -3.25 -113.680 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Windurst_Woo... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Southern_San_dOria_[S]/npcs/Sabiliont.lua | 14 | 1525 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Sabiliont
-- @zone 80
-- @pos 9 2 -87
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
require("scripts/globals/quests");
... | gpl-3.0 |
Armin041/Tele_Dam01 | plugins/banhammer.lua | 1085 | 11557 |
local function pre_process(msg)
-- SERVICE MESSAGE
if msg.action and msg.action.type then
local action = msg.action.type
-- Check if banned user joins chat by link
if action == 'chat_add_user_link' then
local user_id = msg.from.id
print('Checking invited user '..user_id)
local banned ... | gpl-2.0 |
FFXIOrgins/FFXIOrgins | scripts/globals/teleports.lua | 3 | 35051 | -----------------------------------
-- A collection of frequently needed teleport shortcuts.
-- by ReaperX
-- Coordinates marked {R} have been obtained by packet capture from retail. Don't change them.
-----------------------------------
-----------------------------------
-- TELEPORT NAMES
-----------------... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/globals/items/carp_sushi.lua | 35 | 1400 | -----------------------------------------
-- ID: 4407
-- Item: carp_sushi
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Dexterity 1
-- Accuracy % 10
-- HP Recovered While Healing 2
-----------------------------------------
require("scripts/globals/status");
----------------... | gpl-3.0 |
m2mselect/owrt | feeds/luci/libs/luci-lib-nixio/docsrc/nixio.TLSSocket.lua | 173 | 2926 | --- TLS Socket Object.
-- TLS Sockets contain the underlying socket and context in the fields
-- "socket" and "context".
-- @cstyle instance
module "nixio.TLSSocket"
--- Initiate the TLS handshake as client with the server.
-- @class function
-- @name TLSSocket.connect
-- @usage This function calls SSL_connect().
-- @... | gpl-2.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Port_San_dOria/npcs/Liloune.lua | 36 | 1373 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Liloune
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Port_San_dOria/TextI... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Mount_Zhayolm/npcs/_1p3.lua | 5 | 3574 | -----------------------------------
-- Area: Mount Zhayolm
-- Door: Runic Gate
-- @pos 703 -18 382 61
-----------------------------------
package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions");
require("... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/globals/weaponskills/blade_shun.lua | 6 | 1576 | -----------------------------------
-- Blade Shun
-- Katana weapon skill
-- Skill level: N/A
-- Description: Delivers a fivefold attack. Attack power varies with TP.
-- In order to obtain Blade: Shun the quest Martial Mastery must be completed.
-- This Weapon Skill's first hit params.ftp is duplicated for ... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/globals/items/plate_of_bream_sushi.lua | 35 | 1467 | -----------------------------------------
-- ID: 5176
-- Item: plate_of_bream_sushi
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Dexterity 6
-- Vitality 5
-- Accuracy % 16
-- Ranged ACC % 16
-- Sleep Resist 5
-----------------------------------------
require("scripts/global... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/globals/weaponskills/spinning_scythe.lua | 6 | 1259 | -----------------------------------
-- Spinning Scythe
-- Scythe weapon skill
-- Skill Level: 125
-- Delivers an area of effect attack. Attack radius varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Aqua Gorget & Soil Gorget.
-- Aligned with the Aqua Belt & Soil Belt.
-- Element: Non... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Port_Bastok/npcs/Synergy_Engineer.lua | 38 | 1038 | -----------------------------------
-- Area: Port Bastok
-- NPC: Synergy Engineer
-- Type: Standard NPC
-- @zone: 236
-- @pos 37.700 -0.3 -50.500
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------... | gpl-3.0 |
m2mselect/owrt | feeds/routing/luci-app-bmx7/files/usr/lib/lua/luci/controller/bmx7.lua | 3 | 2287 | --[[
Copyright (C) 2011 Pau Escrich <pau@dabax.net>
Contributors Jo-Philipp Wich <xm@subsignal.org>
Roger Pueyo Centelles <roger.pueyo@guifi.net>
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
... | gpl-2.0 |
sjznxd/lc-20130127 | contrib/luasrcdiet/lua/LuaSrcDiet.lua | 122 | 23773 | #!/usr/bin/env lua
--[[--------------------------------------------------------------------
LuaSrcDiet
Compresses Lua source code by removing unnecessary characters.
For Lua 5.1.x source code.
Copyright (c) 2008 Kein-Hong Man <khman@users.sf.net>
The COPYRIGHT file describes the conditions
under which thi... | apache-2.0 |
m2mselect/owrt | feeds/luci/contrib/luasrcdiet/lua/LuaSrcDiet.lua | 122 | 23773 | #!/usr/bin/env lua
--[[--------------------------------------------------------------------
LuaSrcDiet
Compresses Lua source code by removing unnecessary characters.
For Lua 5.1.x source code.
Copyright (c) 2008 Kein-Hong Man <khman@users.sf.net>
The COPYRIGHT file describes the conditions
under which thi... | gpl-2.0 |
msburgess3200/PERP | gamemodes/perp/gamemode/cl_skin.lua | 1 | 33161 |
local surface = surface
local draw = draw
local Color = Color
SKIN = {}
SKIN.PrintName = "PERP Derma Skin"
SKIN.Author = "Remscar"
SKIN.DermaVersion = 1
SKIN.GwenTexture = Material( "gwenskin/GModDefault.png" )
SKIN.bg_color = Color( 101, 100, 105, 255 )
SKIN.bg_color_sleep = Color( 70, 70, 70, 255 )
S... | mit |
POPHUP/maroonhost | plugins/welcome.lua | 11 | 5698 | local add_user_cfg = load_from_file('data/add_user_cfg.lua')
local function template_add_user(base, to_username, from_username, chat_name, chat_id)
base = base or ''
to_username = '@' .. (to_username or '')
from_username = '@' .. (from_username or '')
chat_name = string.gsub(chat_name, '_', ' ') or ''
c... | gpl-2.0 |
Gael-de-Sailly/minetest-minetestforfun-server | mods/sea/seastone/init.lua | 8 | 5724 | -- NODES
minetest.register_node("seastone:seastone", {
description = "Seastone",
tiles = {"seastone_seastone.png"},
is_ground_content = true,
groups = {cracky=3, stone=1},
drop = 'seacobble:seacobble',
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("seastone:seastone_cyan", {
descript... | unlicense |
Gael-de-Sailly/minetest-minetestforfun-server | mods/mesecons/mesecons_extrawires/vertical.lua | 8 | 4986 | local vertical_box = {
type = "fixed",
fixed = {-1/16, -8/16, -1/16, 1/16, 8/16, 1/16}
}
local top_box = {
type = "fixed",
fixed = {{-8/16, -8/16, -8/16, 8/16, -7/16, 8/16}}
}
local bottom_box = {
type = "fixed",
fixed = {
{-8/16, -8/16, -8/16, 8/16, -7/16, 8/16},
{-1/16, -7/16, -1/16, 1/16, 8/16, 1/16},
}... | unlicense |
xtria/new_tg | libs/XMLElement.lua | 569 | 4025 | -- Copyright 2009 Leo Ponomarev. Distributed under the BSD Licence.
-- updated for module-free world of lua 5.3 on April 2 2015
-- Not documented at all, but not interesting enough to warrant documentation anyway.
local setmetatable, pairs, ipairs, type, getmetatable, tostring, error = setmetatable, pairs, ipairs, typ... | agpl-3.0 |
devilrap978/devil_rap65 | plugins/kickall.lua | 18 | 1243 | do
function is_add(msg)-- Check if user is ADD or not
c = load_data("p.db") --thanks to @lua_lang for learn me this function
local var = false
local add = c
for k,v in pairs(add) do
if msg.from.id == tonumber(v) then
var = true
end
end
return var
end
local function run(msg, matches)
if not c then
c... | gpl-2.0 |
soroushwilson/wilson1 | plugins/banhammer.lua | 8 | 13732 | local function pre_process(msg)
-- SERVICE MESSAGE
if msg.action and msg.action.type then
local action = msg.action.type
-- Check if banned user joins chat by link
if action == 'chat_add_user_link' then
local user_id = msg.from.id
print('Checking invited user '..user_id)
local banned =... | gpl-2.0 |
FFXIOrgins/FFXIOrgins | scripts/globals/effects/afflatus_misery.lua | 17 | 1192 | -----------------------------------
--
-- EFFECT_AFFLATUS_MISERY
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
target:setMod(MOD_AFFLATUS_MISER... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Bastok_Mines/npcs/Azette.lua | 6 | 1392 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Azette
-- Chocobo Vendor
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
-----------------------------------
-- onTrade Action
-----------------------------------
function on... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Castle_Oztroja/npcs/_47e.lua | 17 | 1274 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47e (Handle)
-- Notes: Opens _470 (Brass Door) from behind
-- @pos 22.905 -1.087 -8.003 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scr... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/globals/abilities/pets/ecliptic_howl.lua | 6 | 1026 | ---------------------------------------------------
-- Aerial Armor
---------------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
require("/scripts/globals/monstertpmoves");
---------------------------------------------------
function OnAbilit... | gpl-3.0 |
velukh/MplusLedger | Frame.lua | 1 | 10557 | local MplusLedger = MplusLedger
local AceGUI = LibStub("AceGUI-3.0")
local SharedMedia = LibStub("LibSharedMedia-3.0")
local frame
local tabs
local selectedTab
local ColorText = LibStub("MplusLedgerColorText-1.0")
local UiUtils = LibStub("MplusLedgerUiUtils-1.0")
local HideFrame = function(widget)
AceGUI:Release(wid... | mit |
FFXIOrgins/FFXIOrgins | scripts/zones/Aht_Urhgan_Whitegate/npcs/Gavrie.lua | 34 | 1475 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Gavrie
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
require("... | gpl-3.0 |
AlexaDeWit/RTSGame-Engine-Thingy | Lib/underscore.lua | 22 | 9838 | -- Copyright (c) 2009 Marcus Irven
--
-- 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, publ... | gpl-3.0 |
hacker44-h44/1104 | vir/Plugins.lua | 62 | 5964 | do
-- Returns the key (index) in the config.enabled_plugins table
local function plugin_enabled( name )
for k,v in pairs(_config.enabled_plugins) do
if name == v then
return k
end
end
-- If not found
return false
end
-- Returns true if file exists in plugins folder
local function plugin_exists( ... | gpl-2.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/RuAun_Gardens/npcs/qm2.lua | 10 | 1440 | -----------------------------------
-- Area: Ru'Aun Gardens
-- NPC: ??? (Seiryu's Spawn)
-- Allows players to spawn the HNM Seiryu with a Gem of the East and a Springstone.
-- @pos 569 -70 -80 130
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
------------------... | gpl-3.0 |
fartoverflow/naev | dat/factions/spawn/collective.lua | 10 | 2908 | include("dat/factions/spawn/common.lua")
-- @brief Spawns a small swarm.
function spawn_patrol ()
local pilots = {}
scom.addPilot( pilots, "Collective Drone", 20 );
return pilots
end
-- @brief Spawns a medium sized squadron.
function spawn_squad ()
local pilots = {}
local r = rnd.rnd()
if... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/globals/weaponskills/victory_smite.lua | 6 | 1566 | -----------------------------------
-- Victory Smite
-- Hand-to-Hand Weapon Skill
-- Skill Level: N/A
-- Description: Delivers a fourfold attack. Chance of params.critical hit varies with TP.
-- Must have Verethragna (85)/(90)/(95)/(99)/(99-2) or Revenant Fists +1/+2/+3 equipped.
-- Aligned with the Light Go... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Rala_Waterways/Zone.lua | 34 | 1247 | -----------------------------------
--
-- Zone: Rala Waterways
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Rala_Waterways/TextIDs"] = nil;
require("scripts/zones/Rala_Waterways/TextIDs");
-----------------------------------
-- onInitialize
-... | gpl-3.0 |
sjznxd/luci-0.11-aa | applications/luci-radvd/luasrc/model/cbi/radvd/prefix.lua | 8 | 3809 | --[[
LuCI - Lua Configuration Interface
Copyright 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-2.0
$Id: prefix.l... | apache-2.0 |
aosee1h1/AOSEE_2H2 | plugin/lock_bot.lua | 7 | 3026 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY MOHAMMED HISHAM ▀▄ ▄▀
▀▄ ▄▀ BY MOHAMMEDHISHAM (@TH3BOSS) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY MOHAMMED HISHAM ▀▄ ▄▀
▀▄ ▄▀ ANTI BOT : منع بوتات ▀▄ ▄▀
▀▄... | gpl-2.0 |
FFXIOrgins/FFXIOrgins | scripts/globals/spells/bind.lua | 4 | 1197 | -----------------------------------------
-- Spell: Bind
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function OnMagicCastingCheck(caster,target,... | gpl-3.0 |
sjznxd/lc-20130127 | applications/luci-asterisk/luasrc/model/cbi/asterisk-mod-pbx.lua | 80 | 2136 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
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
h... | apache-2.0 |
sjznxd/luci-0.11-aa | modules/admin-mini/luasrc/model/cbi/mini/passwd.lua | 14 | 1177 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
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
h... | apache-2.0 |
FFXIOrgins/FFXIOrgins | scripts/globals/abilities/sublimation.lua | 6 | 1519 | -----------------------------------
-- Ability: Sublimation
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
-- OnUseAbility
-----------------------------------
function OnAbilityCheck(player,target,ability)
r... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Ifrits_Cauldron/npcs/Flame_Spout.lua | 5 | 1590 | ----------------------------------
-- Area: Ifrit's Cauldron
-- NPC: Flame Spout
-- @pos 193.967 -0.400 19.492 205
-----------------------------------
require("scripts/zones/Ifrits_Cauldron/TextIDs");
require("scripts/globals/settings");
require("scripts/globals/quests");
-----------------------------------... | gpl-3.0 |
Gael-de-Sailly/minetest-minetestforfun-server | mods/signs_lib/init.lua | 9 | 32729 | -- This mod provides the visible text on signs library used by Home Decor
-- and perhaps other mods at some point in the future. Forked from thexyz's/
-- PilzAdam's original text-on-signs mod and rewritten by Vanessa Ezekowitz
-- and Diego Martinez
-- textpos = {
-- { delta = {entity position for 0° yaw}, exact yaw ... | unlicense |
FFXIOrgins/FFXIOrgins | scripts/zones/Lower_Jeuno/npcs/Guttrix.lua | 18 | 3760 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Guttrix
-- Starts and Finishes Quest: The Goblin Tailor
-- @zone: 245
-- @pos -36.010 4.499 -139.714
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globa... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Boneyard_Gully/bcnms/head_wind.lua | 4 | 1700 | -----------------------------------
-- Area: Boneyard_Gully
-- Name: head_wind
-- BCNM: 672
-----------------------------------
package.loaded["scripts/zones/Boneyard_Gully/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Boneyard_Gully/TextIDs"... | gpl-3.0 |
mahdmahdia/DBDB | libs/mimetype.lua | 3662 | 2922 | -- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types
do
local mimetype = {}
-- TODO: Add more?
local types = {
["text/html"] = "html",
["text/css"] = "css",
["text/xml"] = "xml",
["image/gif"] = "gif",
["image/jpeg"] = "jpg",
["application/x-javascript"] = "js",
["application/atom... | gpl-2.0 |
xtria/new_tg | libs/mimetype.lua | 3662 | 2922 | -- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types
do
local mimetype = {}
-- TODO: Add more?
local types = {
["text/html"] = "html",
["text/css"] = "css",
["text/xml"] = "xml",
["image/gif"] = "gif",
["image/jpeg"] = "jpg",
["application/x-javascript"] = "js",
["application/atom... | agpl-3.0 |
MOSAVI17/Gbot | libs/mimetype.lua | 3662 | 2922 | -- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types
do
local mimetype = {}
-- TODO: Add more?
local types = {
["text/html"] = "html",
["text/css"] = "css",
["text/xml"] = "xml",
["image/gif"] = "gif",
["image/jpeg"] = "jpg",
["application/x-javascript"] = "js",
["application/atom... | gpl-2.0 |
shahramam/seed | libs/mimetype.lua | 3662 | 2922 | -- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types
do
local mimetype = {}
-- TODO: Add more?
local types = {
["text/html"] = "html",
["text/css"] = "css",
["text/xml"] = "xml",
["image/gif"] = "gif",
["image/jpeg"] = "jpg",
["application/x-javascript"] = "js",
["application/atom... | gpl-2.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Lower_Jeuno/npcs/Ghebi_Damomohe.lua | 17 | 4273 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Ghebi Damomohe
-- Type: Standard Merchant
-- Starts and Finishes Quest: Tenshodo Membership
-- @zone 245
-- @pos 16 0 -5
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
package.loaded["scripts/globa... | gpl-3.0 |
sjznxd/lc-20130127 | applications/luci-freifunk-widgets/luasrc/model/cbi/freifunk/widgets/widgets_overview.lua | 78 | 2041 | --[[
LuCI - Lua Configuration Interface
Copyright 2012 Manuel Munz <freifunk at somakoma dot de>
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
]]--
l... | apache-2.0 |
FFXIOrgins/FFXIOrgins | scripts/globals/items/sweet_rice_cake.lua | 35 | 1710 | -----------------------------------------
-- ID: 4270
-- Item: sweet_rice_cake
-- Food Effect: 30Min, All Races
-----------------------------------------
-- MP 17
-- Vitality 2
-- Intelligence 3
-- Mind 1
-- HP Recovered While Healing 2
-- MP Recovered While Healing 2
-- Evasion 5
-- Resist Silence 5
-----... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/globals/abilities/pets/frost_breath.lua | 6 | 1251 | ---------------------------------------------------
-- Frost Breath
---------------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
require("/scripts/globals/monstertpmoves");
---------------------------------------------------
function OnAbilit... | gpl-3.0 |
mohtamohit/CppSharp | build/Helpers.lua | 1 | 4496 | -- This module checks for the all the project dependencies.
newoption {
trigger = "arch",
description = "Choose a particular architecture / bitness",
allowed = {
{ "x86", "x86 32-bits" },
{ "x64", "x64 64-bits" },
}
}
newoption {
trigger = "no-cxx11-abi",
description = "disable... | mit |
dcelasun/thrift | lib/lua/TFramedTransport.lua | 19 | 2952 | --
-- Licensed to the Apache Software Foundation (ASF) under one
-- or more contributor license agreements. See the NOTICE file
-- distributed with this work for additional information
-- regarding copyright ownership. The ASF licenses this file
-- to you under the Apache License, Version 2.0 (the
-- "License"); you ma... | apache-2.0 |
TW1STaL1CKY/pac3 | lua/pac3/editor/client/about.lua | 1 | 11920 | local DEMO = {}
DEMO.Title = "Sand"
DEMO.Author = "Capsadmin"
local lines =
{
--surface.GetTextureID("sprites/laser"),
--surface.GetTextureID("sprites/bluelaser"),
surface.GetTextureID("effects/laser1"),
surface.GetTextureID("trails/laser"),
}
local sprites =
{
surface.GetTextureID("particle/fire"),
}
local wh... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Northern_San_dOria/npcs/HomePoint#3.lua | 3 | 1744 | -----------------------------------
-- Area: Northern San dOria
-- NPC: HomePoint#3
-- @pos 70 -0.2 10 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Nort... | gpl-3.0 |
dancal/google-diff-match-patch | lua/diff_match_patch_test.lua | 264 | 39109 | --[[
* Test Harness for Diff Match and Patch
*
* Copyright 2006 Google Inc.
* http://code.google.com/p/google-diff-match-patch/
*
* Based on the JavaScript implementation by Neil Fraser
* Ported to Lua by Duncan Cross
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except... | apache-2.0 |
logicrime/google-diff-match-patch | lua/diff_match_patch_test.lua | 264 | 39109 | --[[
* Test Harness for Diff Match and Patch
*
* Copyright 2006 Google Inc.
* http://code.google.com/p/google-diff-match-patch/
*
* Based on the JavaScript implementation by Neil Fraser
* Ported to Lua by Duncan Cross
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except... | apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.