repo_name stringlengths 6 78 | path stringlengths 4 206 | copies stringclasses 281
values | size stringlengths 4 7 | content stringlengths 625 1.05M | license stringclasses 15
values |
|---|---|---|---|---|---|
bmscoordinators/FFXI-Server | scripts/globals/weaponskills/vorpal_thrust.lua | 25 | 1427 | -----------------------------------
-- Vorpal Thrust
-- Polearm weapon skill
-- Skill Level: 175
-- Delivers a single-hit attack. Chance of params.critical varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Aqua Gorget & Light Gorget.
-- Aligned with the Aqua Belt & Light Belt.
-- Element: None
-- Mod... | gpl-3.0 |
zummed/sipml5 | asterisk/etc/extensions.lua | 317 | 5827 |
CONSOLE = "Console/dsp" -- Console interface for demo
--CONSOLE = "DAHDI/1"
--CONSOLE = "Phone/phone0"
IAXINFO = "guest" -- IAXtel username/password
--IAXINFO = "myuser:mypass"
TRUNK = "DAHDI/G2"
TRUNKMSD = 1
-- TRUNK = "IAX2/user:pass@provider"
--
-- Extensions are expected to be defined in a global table ... | bsd-3-clause |
gnflecchia/sipml5 | asterisk/etc/extensions.lua | 317 | 5827 |
CONSOLE = "Console/dsp" -- Console interface for demo
--CONSOLE = "DAHDI/1"
--CONSOLE = "Phone/phone0"
IAXINFO = "guest" -- IAXtel username/password
--IAXINFO = "myuser:mypass"
TRUNK = "DAHDI/G2"
TRUNKMSD = 1
-- TRUNK = "IAX2/user:pass@provider"
--
-- Extensions are expected to be defined in a global table ... | bsd-3-clause |
Mikea15/gamecode4 | Assets/Scripts/TeapotAi.lua | 44 | 3132 | --========================================================================
-- TeapotAi.lua : Defines the state machine for AI teapots
--
-- Part of the GameCode4 Application
--
-- GameCode4 is the sample application that encapsulates much of the source code
-- discussed in "Game Coding Complete - 4th Edition" by ... | lgpl-3.0 |
jxlczjp77/pskynet | service/sharedatad.lua | 8 | 2725 | local skynet = require "skynet"
local sharedata = require "sharedata.corelib"
local table = table
local NORET = {}
local pool = {}
local pool_count = {}
local objmap = {}
local function newobj(name, tbl)
assert(pool[name] == nil)
local cobj = sharedata.host.new(tbl)
sharedata.host.incref(cobj)
local v = { value =... | apache-2.0 |
pakozm/april-ann | packages/trainable/lua_src/trainable.lua | 3 | 28418 | -------------------------------
-- LOCAL AUXILIARY FUNCTIONS --
-------------------------------
local math = math
local table = table
local string = string
--
local ipairs = ipairs
local pairs = pairs
local assert = assert
--
local type = type
local is_a = class.is_a
local iterator = iterator
local get_table_fields = ... | gpl-3.0 |
mr-kelly/slua | build/luajit-2.0.4/src/jit/dump.lua | 84 | 19509 | ----------------------------------------------------------------------------
-- LuaJIT compiler dump module.
--
-- Copyright (C) 2005-2015 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------
--
-... | mit |
bmscoordinators/FFXI-Server | scripts/zones/East_Ronfaure/Zone.lua | 12 | 3842 | -----------------------------------
--
-- Zone: East_Ronfaure (101)
--
-----------------------------------
package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/globals/zone");
require("scripts/globals/... | gpl-3.0 |
jxlczjp77/pskynet | service/clusterd.lua | 12 | 2799 | local skynet = require "skynet"
local sc = require "socketchannel"
local socket = require "socket"
local cluster = require "cluster.core"
local config_name = skynet.getenv "cluster"
local node_address = {}
local function loadconfig()
local f = assert(io.open(config_name))
local source = f:read "*a"
f:close()
asse... | apache-2.0 |
Guilty3096/guiltyyy | plugins/inpm.lua | 59 | 3138 | 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 |
bmscoordinators/FFXI-Server | scripts/zones/The_Sanctuary_of_ZiTah/npcs/Cermet_Headstone.lua | 14 | 3734 | -----------------------------------
-- Area: The Sanctuary of Zi'Tah
-- NPC: Cermet Headstone
-- Involved in Mission: ZM5 Headstone Pilgrimage (Light Headstone)
-- @pos 235 0 280 121
-----------------------------------
package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil;
------------------------------... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/globals/spells/curaga_v.lua | 28 | 1293 | -----------------------------------------
-- Spell: Curaga V
-- Restores HP of all party members within area of effect.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpe... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/La_Theine_Plateau/npcs/Dimensional_Portal.lua | 17 | 1389 | -----------------------------------
-- Area: La Theine Plateau
-- NPC: Dimensional Portal
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/... | gpl-3.0 |
aliomega/aliomega | bot/utils.lua | 473 | 24167 | 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 |
bmscoordinators/FFXI-Server | scripts/zones/Abyssea-Grauberg/Zone.lua | 33 | 1488 | -----------------------------------
--
-- Zone: Abyssea - Grauberg
--
-----------------------------------
package.loaded["scripts/zones/Abyssea-Grauberg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
require("scripts/zones/Abyssea-Grauberg... | gpl-3.0 |
suxinde2009/wesnoth | data/lua/wml/message.lua | 2 | 7497 |
local helper = wesnoth.require "lua/helper.lua"
local utils = wesnoth.require "lua/wml-utils.lua"
local location_set = wesnoth.require "lua/location_set.lua"
local _ = wesnoth.textdomain "wesnoth"
local function log(msg, level)
wesnoth.log(level, msg, true)
end
local function get_image(cfg, speaker)
local image = ... | gpl-2.0 |
bmscoordinators/FFXI-Server | scripts/zones/Metalworks/npcs/Lucius.lua | 14 | 2015 | -----------------------------------
-- Area: Metalworks
-- NPC: Lucius
-- Involved in Mission: Bastok 3-3
-- Involved in Quest: Riding on the Clouds
-- @pos 59.959 -17.39 -42.321 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
requi... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/globals/abilities/dark_shot.lua | 10 | 2991 | -----------------------------------
-- Ability: Dark Shot
-- Consumes a Dark Card to enhance dark-based debuffs. Additional effect: Dark-based Dispel
-- Bio Effect: Attack Down Effect +5% and DoT + 3
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("sc... | gpl-3.0 |
deepak78/luci | libs/httpclient/luasrc/httpclient/receiver.lua | 93 | 6049 | --[[
LuCI - Lua Development Framework
Copyright 2009 Steven Barth <steven@midlink.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$
]]--
requ... | apache-2.0 |
kharkoni18/teleseed | plugins/ingroup.lua | 202 | 31524 | do
local function check_member(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[tostring(msg.to.id)] = {
... | gpl-2.0 |
bmscoordinators/FFXI-Server | scripts/globals/items/serving_of_royal_jelly.lua | 12 | 1140 | -----------------------------------------
-- ID: 4508
-- Item: Serving of Royal Jelly
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- MP Recovery while healing 3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIt... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/globals/spells/armys_paeon.lua | 27 | 1361 | -----------------------------------------
-- Spell: Army's Paeon
-- Gradually restores target's HP.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,targe... | gpl-3.0 |
psn240/Text2Image | data/data.lua | 2 | 2807 | --[[
This data loader is a lightly-modified version of the one from dcgan.torch
(see https://github.com/soumith/dcgan.torch/blob/master/data/data.lua).
If you want to add a new dataset, you can create a new dataset_name and corresponding
donkey_file that creates minibatches.
--]]
local Threads = require 'threads'
Thre... | mit |
rizaumami/tdcliBot | plugins/rss.lua | 1 | 6285 | do
local function getRss(url, prot)
local res, code = nil, 0
if prot == 'http' then
res, code = http.request(url)
elseif prot == 'https' then
res, code = https.request(url)
end
if code ~= 200 then
return nil, _msg('There was an error whilst connecting to %s'):format(url)
en... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Batallia_Downs_[S]/npcs/Cavernous_Maw.lua | 29 | 2133 | -----------------------------------
-- Area: Batallia Downs [S]
-- NPC: Cavernous Maw
-- @pos -48 0 435 84
-- Teleports Players to Batallia Downs
-----------------------------------
package.loaded["scripts/zones/Batallia_Downs_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/teleports... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/The_Eldieme_Necropolis/npcs/Brazier.lua | 14 | 4015 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Brazier
-- Involved in Quests: Save my Sister
-- @pos 101 -33 -59 195 (F-9)
-- @pos 259 -33 99 195 (H-7)
-- @pos 99 -33 98 195 (F-7)
-- @pos 259 -33 -58 195 (H-9)
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Ne... | gpl-3.0 |
victorholt/Urho3D | bin/Data/LuaScripts/23_Water.lua | 15 | 9916 | -- Water example.
-- This sample demonstrates:
-- - Creating a large plane to represent a water body for rendering
-- - Setting up a second camera to render reflections on the water surface
require "LuaScripts/Utilities/Sample"
local reflectionCameraNode = nil
local waterNode = nil
local waterPlane = Plane()
... | mit |
bmscoordinators/FFXI-Server | scripts/zones/Jade_Sepulcher/Zone.lua | 32 | 1271 | -----------------------------------
--
-- Zone: Jade_Sepulcher (67)
--
-----------------------------------
package.loaded["scripts/zones/Jade_Sepulcher/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Jade_Sepulcher/TextIDs");
---------------------------... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Mhaura/npcs/Mololo.lua | 14 | 1157 | -----------------------------------
-- Area: Mhaura
-- NPC: Mololo
-- Guild Merchant NPC: Blacksmithing Guild
-- @pos -64.278 -16.624 34.120 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Bastok_Markets_[S]/npcs/Jagaris.lua | 16 | 4324 | -----------------------------------
-- Area: Bastok Markets [S]
-- NPC: Jagaris
-- Armor Storage NPC
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/armorstorage");
requ... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Bhaflau_Thickets/npcs/Hamta-Iramta.lua | 14 | 1918 | -----------------------------------
-- Area: Bhaflau Thickets
-- NPC: Hamta-Iramta
-- Type: Alzadaal Undersea Ruins
-- @zone 52
-- @pos -459.942 -20.048 -4.999
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Bhaflau_Thickets/TextIDs"]... | gpl-3.0 |
wingo/snabb | src/program/lwaftr/loadtest/loadtest.lua | 2 | 7315 | module(..., package.seeall)
local engine = require("core.app")
local counter = require("core.counter")
local config = require("core.config")
local pci = require("lib.hardware.pci")
local Intel82599 = require("apps.intel.intel_app").Intel82599
local basic_apps = require("apps.basic.basic_apps")
local loadgen = require(... | apache-2.0 |
bmscoordinators/FFXI-Server | scripts/zones/Bastok_Markets/npcs/Zaira.lua | 15 | 1895 | -----------------------------------
-- Area: Batok Markets
-- NPC: Zaira
-- Standard Merchant NPC
--
-- Updated Aug-09-2013 by Zerahn, based on bgwiki and gamerescape
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
require("scripts/zone... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Port_Bastok/npcs/Mine_Konte.lua | 17 | 1124 | -----------------------------------
-- Area: Port Bastok
-- NPC: Mine Konte
-- Involved in Quest: Out of One's Shell
-----------------------------------
require("scripts/globals/quests");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;... | gpl-3.0 |
DarkWanderer/DW.Lua | DW.Lua.UnitTests/Code/Fixtures/goto.lua | 13 | 5160 | -- $Id: goto.lua,v 1.13 2016/11/07 13:11:28 roberto Exp $
-- See Copyright Notice in file all.lua
collectgarbage()
local function errmsg (code, m)
local st, msg = load(code)
assert(not st and string.find(msg, m))
end
-- cannot see label inside block
errmsg([[ goto l1; do ::l1:: end ]], "label 'l1'")
errmsg([[ do... | mit |
diamondo25/Vana | scripts/npcs/fighter.lua | 2 | 24989 | --[[
Copyright (C) 2008-2016 Vana Development 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; version 2
of the License.
This program is distributed in the hope that it will be useful,
but WITHO... | gpl-2.0 |
bmscoordinators/FFXI-Server | scripts/zones/Southern_San_dOria_[S]/npcs/Fiaudie.lua | 14 | 1112 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Fiaudie
-- @zone 80
-- @pos -10 1 35
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
-----------------------------------
-- onTrad... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Windurst_Walls/TextIDs.lua | 1 | 1405 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6538; -- Come back after sorting your inventory.
ITEM_OBTAINED = 6544; -- Obtained:
ITEMS_OBTAINED = 6553; -- You obtain
GIL_OBTAINED = 6545;... | gpl-3.0 |
alijoooon/wshgh | plugins/anti-spam.lua | 8 | 2355 | local NUM_MSG_MAX = 3
local TIME_CHECK = 4
local function kick_user(user_id, chat_id)
local chat = 'channel#id'..chat_id
local user = 'user#id'..user_id
channel_kick_user(chat, user, function (data, success, result)
if success ~= 1 then
local text = 'I can\'t kick '..data.user..' but should be kicked'
... | gpl-2.0 |
nsimplex/wicker | game/physics/common.lua | 6 | 1939 | local Pred = wickerrequire "lib.predicates"
local Geo = wickerrequire "math.geometry"
--[[
-- Constants and conversions.
--]]
---
-- Magnitude of the acceleration of gravity.
g = 40
---
-- Gravity acceleration vector.
Gravity = Vector3(0, -g, 0)
---
-- Maps a damping coefficient to the terminal speed.
function Dam... | gpl-2.0 |
bmscoordinators/FFXI-Server | scripts/globals/mobskills/pelagic_tempest.lua | 33 | 1120 | ---------------------------------------------
-- Pelagic Tempest
--
-- Description: Delivers an area attack that inflicts Shock and Terror.
-- Type: Physical?
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: 10' cone
-- Notes: Used by Murex affiliated with lightning element. Shock effect is fairly strong (28/t... | gpl-3.0 |
PraveerSINGH/nn | Parallel.lua | 10 | 3920 | local Parallel, parent = torch.class('nn.Parallel', 'nn.Container')
function Parallel:__init(inputDimension,outputDimension)
parent.__init(self)
self.modules = {}
self.inputDimension = inputDimension
self.outputDimension = outputDimension
end
function Parallel:updateOutput(input)
local nModule=input:si... | bsd-3-clause |
deepak78/luci | contrib/luadoc/lua/luadoc/taglet/standard/tags.lua | 93 | 5221 | -------------------------------------------------------------------------------
-- Handlers for several tags
-- @release $Id: tags.lua,v 1.8 2007/09/05 12:39:09 tomas Exp $
-------------------------------------------------------------------------------
local luadoc = require "luadoc"
local util = require "luadoc.util"... | apache-2.0 |
bnetcc/darkstar | scripts/globals/spells/foe_sirvente.lua | 1 | 1485 | -----------------------------------------
-- Spell: Foe Sirvente
-- Grants enmity minus to a party member.
-- I'm sure it's not correct but a stop gap until it's implemented.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
require("scripts/globals/msg");
--... | gpl-3.0 |
cfromknecht/N-Body | third_party/glsdk/glload/codegen/_MakeExtHeaderFile.lua | 5 | 6454 | --[[ The function, MakeExtHeaderFile, will create a header file containing the enums, extension
test values, and the list of function pointers.
It takes these parameters:
- the name of the output file. Without the path.
- the specData, as formatted by LoadLuaSpec.
- the prefix (without the underscore) to prepend to en... | mit |
awesomeWM/awesome | tests/examples/sequences/client_rules/maximized.lua | 4 | 1314 | --DOC_GEN_IMAGE --DOC_NO_USAGE
local module = ... --DOC_HIDE
local ruled = {client = require("ruled.client") } --DOC_HIDE
local awful = {tag = require("awful.tag"), layout = require("awful.layout")} --DOC_HIDE
require("awful.ewmh") --DOC_HIDE
screen[1]:fake_resize(0, 0, 1280, 720) --DOC_HIDE
awful.tag({ "1", "2", "3",... | gpl-2.0 |
bnetcc/darkstar | scripts/zones/Bastok_Markets/npcs/Brunhilde.lua | 5 | 1107 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Brunhilde
-- Standard Merchant NPC
-- !pos -305.775 -10.319 -152.173 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Bastok_Markets/TextID... | gpl-3.0 |
bnetcc/darkstar | scripts/globals/items/bottle_of_berserkers_drink.lua | 1 | 1138 | -----------------------------------------
-- ID: 5849
-- Item: Bottle of Berserker's Drink
-- Item Effect: Increases Dbl Attk 100%
-- Duration: 60 secs
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
--------------------------------... | gpl-3.0 |
bnetcc/darkstar | scripts/globals/items/republic_signet_staff.lua | 3 | 1221 | -----------------------------------------
-- ID: 17583
-- Item: Republic Signet Staff
-- Effect: Signet
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/conquest");
require("scripts/globals/zone");
require("scripts/globals/msg");
-------------------------------------... | gpl-3.0 |
mwoz123/koreader | spec/unit/readerdictionary_spec.lua | 4 | 1269 | describe("Readerdictionary module", function()
local DocumentRegistry, ReaderUI, UIManager, Screen
setup(function()
require("commonrequire")
DocumentRegistry = require("document/documentregistry")
ReaderUI = require("apps/reader/readerui")
UIManager = require("ui/uimanager")
... | agpl-3.0 |
bnetcc/darkstar | scripts/globals/weaponskills/mordant_rime.lua | 3 | 1885 | -----------------------------------
-- Mordant Rime
-- Dagger weapon skill
-- Skill level: N/A
-- Description: Delivers a twofold attack that decreases target's movement speed. Chance of decreasing movement speed varies with TP. Carnwenhan: Aftermath effect varies with TP.
-- Aligned with the Breeze Gorget, Thunder Gor... | gpl-3.0 |
bnetcc/darkstar | scripts/zones/Abyssea-La_Theine/mobs/Megantereon.lua | 1 | 1511 | -----------------------------------
-- Area: Abyssea - La Theine (132)
-- Mob: Megantereon
-----------------------------------
package.loaded["scripts/zones/Abyssea-La_Theine/TextIDs"] = nil;
require("scripts/zones/Abyssea-La_Theine/TextIDs");
require("scripts/globals/abyssea");
require("scripts/globals/status");
re... | gpl-3.0 |
bnetcc/darkstar | scripts/globals/weaponskills/tachi_gekko.lua | 3 | 1874 | -----------------------------------
-- Tachi Gekko
-- Great Katana weapon skill
-- Skill Level: 225
-- Silences target. Damage varies with TP.
-- Silence effect duration is 60 seconds when unresisted.
-- Will stack with Sneak Attack.
-- Tachi: Gekko has a high attack bonus of +100%. [1]
-- Aligned with the Aqua Gorget ... | gpl-3.0 |
bnetcc/darkstar | scripts/globals/items/wizard_cookie.lua | 3 | 1077 | -----------------------------------------
-- ID: 4576
-- Item: wizard_cookie
-- Food Effect: 5Min, All Races
-----------------------------------------
-- MP Recovered While Healing 7
-- Plantoid Killer 12
-- Slow Resist 12
-----------------------------------------
require("scripts/globals/status");
--------------------... | gpl-3.0 |
bnetcc/darkstar | scripts/globals/spells/break.lua | 1 | 1580 | -----------------------------------------
-- Spell: Breakga
-- Temporarily blinds an enemy, greatly lowering its accuracy.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
require("scripts/globals/msg");
-----------------------------------------
function on... | gpl-3.0 |
bnetcc/darkstar | scripts/globals/spells/bluemagic/hecatomb_wave.lua | 3 | 2066 | -----------------------------------------
-- Spell: Hecatomb Wave
-- Deals wind damage to enemies within a fan-shaped area originating from the caster. Additional effect: Blindness
-- Spell cost: 116 MP
-- Monster Type: Demons
-- Spell Type: Magical (Wind)
-- Blue Magic Points: 3
-- Stat Bonus: AGI+1
-- Level: 54
-- Ca... | gpl-3.0 |
bnetcc/darkstar | scripts/zones/Port_Windurst/npcs/Gomada-Vulmada.lua | 5 | 2485 | -----------------------------------
-- Area: Port Windurst
-- NPC: Gomada-Vulmada
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/settings");
require("scripts/zones/Port_Wind... | gpl-3.0 |
TurkeyMan/premake-core | modules/vstudio/tests/cs2005/test_debug_props.lua | 14 | 2053 | --
-- tests/actions/vstudio/cs2005/test_debug_props.lua
-- Test debugging and optimization flags block of a Visual Studio 2005+ C# project.
-- Copyright (c) 2012-2013 Jason Perkins and the Premake project
--
local p = premake
local suite = test.declare("vstudio_cs2005_debug_props")
local cs2005 = p.vstudio.cs2005
... | bsd-3-clause |
dmccuskey/dmc-dragdrop | dmc_corona/lib/dmc_lua/lua_objects.lua | 44 | 4827 | --====================================================================--
-- dmc_lua/lua_objects.lua
--
-- Documentation: http://docs.davidmccuskey.com/
--====================================================================--
--[[
The MIT License (MIT)
Copyright (c) 2011-2015 David McCuskey
Permission is hereby gran... | mit |
bnetcc/darkstar | scripts/globals/abilities/pets/flashbulb.lua | 5 | 1174 | ---------------------------------------------
-- Flashbulb
---------------------------------------------
require("scripts/globals/automatonweaponskills")
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/msg");
---------------------------------------------
function onMobSki... | gpl-3.0 |
dmccuskey/dmc-dragdrop | dmc_corona/dmc_dragdrop.lua | 5 | 19246 | --====================================================================--
-- dmc_corona/dmc_dragdrop.lua
--
-- Documentation: http://docs.davidmccuskey.com/
--====================================================================--
--[[
The MIT License (MIT)
Copyright (c) 2011-2015 David McCuskey
Permission is hereby ... | mit |
bhrt/nodeMCU | lua_modules/lm92/lm92.lua | 52 | 2140 | -- ******************************************************
-- LM92 module for ESP8266 with nodeMCU
--
-- Written by Levente Tamas <levente.tamas@navicron.com>
--
-- GNU LGPL, see https://www.gnu.org/copyleft/lesser.html
-- ******************************************************
-- Module Bits
local moduleName = ...
loca... | mit |
yswifi/APlan | build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/luci/applications/luci-upnp/luasrc/model/cbi/upnp/upnp.lua | 68 | 4034 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008-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
htt... | gpl-2.0 |
quartz55/reflexrun | lua/rrHUD_SpecPlayer.lua | 2 | 2225 | require "base/internal/ui/reflexrunHUD/phgphudcore"
rr_SpecPlayer =
{
};
registerWidget("rr_SpecPlayer");
-------------------------------------------------------------------------
-------------------------------------------------------------------------
function rr_SpecPlayer:draw()
if not shouldShowHUD() the... | gpl-2.0 |
bnetcc/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Marquis_Decarabia.lua | 7 | 1300 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Marquis Decarabia
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
function onMobEngaged(mob,target)
end;
function onMobFight(mob,targe... | gpl-3.0 |
Rezasamadifar1395/inviter | bot/seedbot.lua | 1 | 8408 | package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua'
..';.luarocks/share/lua/5.2/?/init.lua'
package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so'
require("./bot/utils")
VERSION = '2'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
return... | gpl-2.0 |
bnetcc/darkstar | scripts/globals/abilities/gauge.lua | 7 | 1345 | -----------------------------------
-- Ability: Gauge
-- Checks to see if an enemy can be charmed.
-- Obtained: Beastmaster Level 10
-- Recast Time: 0:30
-- Duration: Instant
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/msg");
-----... | gpl-3.0 |
casperkaae/nn | CMulTable.lua | 13 | 1083 |
local CMulTable, parent = torch.class('nn.CMulTable', 'nn.Module')
function CMulTable:__init()
parent.__init(self)
self.gradInput = {}
end
function CMulTable:updateOutput(input)
self.output:resizeAs(input[1]):copy(input[1])
for i=2,#input do
self.output:cmul(input[i])
end
return self.output
e... | bsd-3-clause |
bnetcc/darkstar | scripts/zones/Toraimarai_Canal/mobs/Canal_Moocher.lua | 1 | 1571 | -----------------------------------
-- Zone: Toraimarai Canal
-- NM: Canal Moocher
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
require("scripts/globals/utils");
-----------------------------------
-- onMobInitialize
-----------------------------------
fu... | gpl-3.0 |
bnetcc/darkstar | scripts/zones/Bastok_Mines/npcs/Rodellieux.lua | 5 | 1153 | -----------------------------------
-- Area: Bastok_Mines
-- NPC: Rodellieux
-- Only sells when Bastok controlls Fauregandi Region
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Bastok_Mines/TextIDs");
require("... | gpl-3.0 |
bnetcc/darkstar | scripts/globals/items/crepe_paysanne.lua | 3 | 1349 | -----------------------------------------
-- ID: 5772
-- Item: crepe_paysanne
-- Food Effect: 30 Min, All Races
-----------------------------------------
-- HP +10% (cap 30)
-- STR +2
-- VIT +1
-- Magic Accuracy +15
-- Magic Defense +4
-- hHP +3
-----------------------------------------
require("scripts/globals/status"... | gpl-3.0 |
mahdi161/tele | plugins/antisticker.lua | 3 | 19789 | -- data saved to data/moderation.json
do
local administrators_only = 'For administrator only!'
local moderators_only = 'For moderators only!'
local function create_group(msg)
if not is_admin(msg) then return administrators_only end
local group_creator = msg.from.print_name
create_group_chat (group_creator, grou... | gpl-2.0 |
amirazadi/BDReborn | plugins/fun.lua | 1 | 14425 |
--Begin Fun.lua
--------------------------------
local function run_bash(str)
local cmd = io.popen(str)
local result = cmd:read('*all')
return result
end
--------------------------------
local api_key = nil
local base_api = "https://maps.googleapis.com/maps/api"
--------------------------------
local fun... | gpl-3.0 |
bnetcc/darkstar | scripts/commands/restorespells.lua | 1 | 4934 | ---------------------------------------------------------------------------------------------------
-- func: addplayerspells
-- desc: Adds all valid spells to the given target. If no target; then to the current player.
---------------------------------------------------------------------------------------------------
... | gpl-3.0 |
bnetcc/darkstar | scripts/zones/Outer_Horutoto_Ruins/npcs/_5eg.lua | 5 | 3329 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: Ancient Magical Gizmo #3 (G out of E, F, G, H, I, J)
-- Involved In Mission: The Heart of the Matter
-----------------------------------
package.loaded["scripts/zones/Outer_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
req... | gpl-3.0 |
bnetcc/darkstar | scripts/zones/Southern_San_dOria/npcs/Maleme.lua | 5 | 1160 | -----------------------------------
-- Area: Southern San dOria
-- NPC: Maleme
-- Type: Weather Reporter
-- Involved in Quest: Flyers for Regine
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Southern_San_... | gpl-3.0 |
best98ir/SASAN | libs/lua-redis.lua | 1 | 35728 | local redis = {
_VERSION = 'redis-lua 2.0.4',
_DESCRIPTION = 'A Lua client library for the redis key value storage system.',
_COPYRIGHT = 'Copyright (C) 2009-2012 Daniele Alessandri',
}
-- The following line is used for backwards compatibility in order to keep the `Redis`
-- global module name. Using... | gpl-3.0 |
bnetcc/darkstar | scripts/zones/Outer_Horutoto_Ruins/mobs/Voidwrought.lua | 1 | 3060 | -----------------------------------
-- Area: Outer Horutoto Ruins
-- VWNM: Voidwrought
-----------------------------------
package.loaded["scripts/zones/Outer_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Outer_Horutoto_Ruins/TextIDs");
require("scripts/globals/keyitems");
r... | gpl-3.0 |
bnetcc/darkstar | scripts/globals/spells/frazzle.lua | 5 | 1083 | -----------------------------------------
-- Spell: Frazzle
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
require("scripts/globals/msg");
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)
return 0;
end;
func... | gpl-3.0 |
senquack/Enigma-for-GCWZero | tools/lua2xml.lua | 6 | 13232 |
lua = {
floor = floor
}
lua2xml = {
datadir = "../data",
errormsg = "",
errors = {},
w = 0,
h = 0,
fl = {},
it = {},
st = {},
actors = {},
namedobjs = {},
oxyds = {},
rubberbands = {},
signals = {},
objcnt = 0,
luacode = "",
-- options
oxyd_s... | gpl-2.0 |
bnetcc/darkstar | scripts/globals/items/shivas_shotel.lua | 7 | 1042 | -----------------------------------------
-- ID: 17711
-- Item: Shiva's Shotel
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
require("scripts/globals/msg");
-----------------------------------
function onAdditionalEffect(player,target,damage)
local c... | gpl-3.0 |
bnetcc/darkstar | scripts/zones/Lufaise_Meadows/Zone.lua | 3 | 2715 | -----------------------------------
--
-- Zone: Lufaise_Meadows (24)
--
-----------------------------------
package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Lufaise_Meadows/TextIDs");
require("scripts/zones/Lufaise_Meadows/MobIDs");
require("scrip... | gpl-3.0 |
vanloswang/conky_all | conky_colors/conkycolors/scripts/conkyBoard.lua | 7 | 31806 | --[[
-- This code is mostly by londonali1010, mrpeachy, VinDSL, Wlourf and SLK
-- Conky-Colors by helmuthdu
-- license : Distributed under the terms of GNU GPL version 2 or later
]]
require 'cairo'
-------------------------------------------------------------------------------
-- ... | gpl-3.0 |
bnetcc/darkstar | scripts/globals/spells/bluemagic/light_of_penance.lua | 4 | 2359 | -----------------------------------------
-- Spell: Light of Penance
-- Reduces an enemy's TP. Additional effect: Blindness and "Bind"
-- Spell cost: 53 MP
-- Monster Type: Beastmen
-- Spell Type: Magical (Light)
-- Blue Magic Points: 5
-- Stat Bonus: CHR+1, HP+15
-- Level: 58
-- Casting Time: 3 seconds
-- Recast Time:... | gpl-3.0 |
bnetcc/darkstar | scripts/globals/items/dish_of_spaghetti_nero_di_seppia.lua | 3 | 1545 | -----------------------------------------
-- ID: 5193
-- Item: dish_of_spaghetti_nero_di_seppia
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP % 17 (cap 130)
-- Dexterity 3
-- Vitality 2
-- Agility -1
-- Mind -2
-- Charisma -1
-- Double Attack 1
-- Store TP 6
--------------------------... | gpl-3.0 |
awesomeWM/awesome | tests/examples/wibox/widget/graph/normal_vs_stacked.lua | 2 | 3604 | --DOC_GEN_IMAGE --DOC_HIDE
local parent = ... --DOC_HIDE
local wibox = require("wibox") --DOC_HIDE
local gears = {shape = require("gears.shape")} --DOC_HIDE
local data = { --DOC_HIDE
{3, 5, 6}, {4, 11,15}, {19,29,17},{17,14,0}, {0,3,1}, {0,0,22}, {17,7,1}, {0,0,5}, --DOC_HIDE
{3, 5, 6}, {4, 11,15}, {19,29,17... | gpl-2.0 |
awesomeWM/awesome | lib/gears/object/properties.lua | 4 | 11544 | ---------------------------------------------------------------------------
--- An helper module to map userdata __index and __newindex entries to
-- lua classes.
--
-- @author Emmanuel Lepage-Vallee <elv1313@gmail.com>
-- @copyright 2016 Emmanuel Lepage-Vallee
-- @submodule gears.object
-------------------------... | gpl-2.0 |
bnetcc/darkstar | scripts/zones/Abyssea-Konschtat/mobs/Turul.lua | 1 | 4315 | -----------------------------------
-- Area: Abyssea - Konschtat (15)
-- Mob: Turul
-----------------------------------
package.loaded["scripts/zones/Abyssea-Konschtat/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Abyssea-Konschtat/TextIDs");
require("scripts/globals/abyssea");
require("... | gpl-3.0 |
bnetcc/darkstar | scripts/zones/Apollyon/mobs/Dark_Elemental.lua | 5 | 2301 | -----------------------------------
-- Area: Apollyon SW
-- NPC: elemental
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
-----------------------------------
... | gpl-3.0 |
bnetcc/darkstar | scripts/zones/Dynamis-Beaucedine/mobs/Angra_Mainyu.lua | 5 | 2161 | -----------------------------------
-- Area: Dynamis Beaucedine
-- MOB: Angra Mainyu
-- Mega Boss
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems");
require("scripts/globals/status");
-----------------------------------
function onMobInitialize(mob)
end;
funct... | gpl-3.0 |
Taiwar/OpenComputers-Scripts | drone/test.lua | 1 | 1883 | local drone = component.proxy(component.list("drone")())
local nav = component.proxy(component.list("navigation")())
local waypointLookRadius = 64
local colours = {["travelling"] = 0xFFFFFF, ["waiting"] = 0x0092FF, ["partying"] = 0x660066}
local cx, cy, cz
local BASE
local PARTY
function getWaypoints()
BASE, ... | gpl-3.0 |
swe-TeamRed/wesnoth | data/ai/micro_ais/cas/ca_healer_initialize.lua | 7 | 1199 | local H = wesnoth.require "lua/helper.lua"
local W = H.set_wml_action_metatable {}
local ca_healer_initialize = {}
function ca_healer_initialize:evaluation()
-- Set variables and aspects so that healers are excluded from attacks at beginning of turn
-- This will be blacklisted after first execution each turn
... | gpl-2.0 |
MmxBoy/metalik | plugins/quotes.lua | 651 | 1630 | local quotes_file = './data/quotes.lua'
local quotes_table
function read_quotes_file()
local f = io.open(quotes_file, "r+")
if f == nil then
print ('Created a new quotes file on '..quotes_file)
serialize_to_file({}, quotes_file)
else
print ('Quotes loaded: '..quotes_file)
f... | gpl-2.0 |
bnetcc/darkstar | scripts/zones/East_Ronfaure/npcs/Cheval_River.lua | 5 | 1340 | -----------------------------------
-- Area: East Ronfaure
-- NPC: Cheval_River
-- !pos 223 -58 426 101
-- Involved in Quest: Waters of Cheval
-----------------------------------
package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
requi... | gpl-3.0 |
bnetcc/darkstar | scripts/zones/Bastok_Markets_[S]/TextIDs.lua | 5 | 1233 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6380; -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6386; -- Obtained: <item>
GIL_OBTAINED = 6387; -- Obtained <number> gil
KEYITEM_OBTAINED = 6389; -... | gpl-3.0 |
bnetcc/darkstar | scripts/zones/RuLude_Gardens/npcs/relic.lua | 5 | 1547 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: <this space intentionally left blank>
-- !pos 0 8 -40 243
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/RuLude_Gardens/TextIDs");
---------... | gpl-3.0 |
bnetcc/darkstar | scripts/zones/RoMaeve/mobs/Mimic_King.lua | 1 | 3111 | -----------------------------------
-- Area: EDIT ME
-- VWNM: ME TO
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/quests");
require("scripts/globals/keyitems");
-----------------------------------
-- onMobInitialize Action
-----------------------------------
function... | gpl-3.0 |
bnetcc/darkstar | scripts/globals/mobskills/deadeye.lua | 5 | 1247 | ---------------------------------------------
-- Deadeye
-- Family: Qiqurn
-- Description: Lowers the defense and magical defense of enemies within range.
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Unknown
-- Notes: Used only by certain Notorious Monsters. Strong effect.
----------------------... | gpl-3.0 |
bnetcc/darkstar | scripts/globals/abilities/pets/attachments/volt_gun.lua | 4 | 1445 | -----------------------------------
-- Attachment: Volt Gun
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onUseAbility
-----------------------------------
function onEquip(pet)
local skill = math.max(pet:getSkillLevel(22), pet:getSkillLevel(23), pet... | gpl-3.0 |
bnetcc/darkstar | scripts/globals/mobskills/turbofan.lua | 33 | 1281 | ---------------------------------------------------
-- Turbofan
-- Description:
-- Type: Magical
-- additional effect : Silence.
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
-------------------... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.