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 |
|---|---|---|---|---|---|
nyczducky/darkstar | scripts/zones/Western_Adoulin/npcs/Preterig.lua | 14 | 1184 | -----------------------------------
-- Area: Western Adoulin
-- NPC: Preterig
-- Type: Shop NPC
-- @zone 256
-- @pos 6 0 -53 256
-----------------------------------
package.loaded["scripts/zones/Western_Adoulin/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/z... | gpl-3.0 |
AquariaOSE/Aquaria | files/scripts/entities/collectiblejellycostume.lua | 6 | 1025 | -- 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 |
Afforess/AmmoBox | control.lua | 1 | 4435 | require 'libs/logger'
script.on_event(defines.events.on_built_entity, function(event)
local player = game.players[event.player_index]
if event.created_entity.name == "ammobox-gun-turret-2" then
Logger.log("Placing Gun Turret mk2 Entity")
local turret_ui = player.surface.create_entity{name = "... | isc |
rfaday/SuperAdmin-bot | plugins/gnuplot.lua | 622 | 1813 | --[[
* Gnuplot plugin by psykomantis
* dependencies:
* - gnuplot 5.00
* - libgd2-xpm-dev (on Debian distr) for more info visit: https://libgd.github.io/pages/faq.html
*
]]
-- Gnuplot needs absolute path for the plot, so i run some commands to find where we are
local outputFile = io.popen("pwd","r")
io.input(outputFile... | gpl-2.0 |
hanikk/tele-you | plugins/gnuplot.lua | 622 | 1813 | --[[
* Gnuplot plugin by psykomantis
* dependencies:
* - gnuplot 5.00
* - libgd2-xpm-dev (on Debian distr) for more info visit: https://libgd.github.io/pages/faq.html
*
]]
-- Gnuplot needs absolute path for the plot, so i run some commands to find where we are
local outputFile = io.popen("pwd","r")
io.input(outputFile... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Knuckles.lua | 17 | 1498 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Animated Knuckles
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
function onMobEn... | gpl-3.0 |
ld-test/xlsxwriter | test/unit/styles/test_styles01.lua | 2 | 2411 | ----
-- Tests for the xlsxwriter.lua styles class.
--
-- Copyright 2014, John McNamara, jmcnamara@cpan.org
--
require "Test.More"
require "Test.LongString"
plan(1)
----
-- Tests setup.
--
local expected
local got
local caption
local Styles = require "xlsxwriter.styles"
local Workbook = require "xlsxwriter.workbook... | mit |
mynameiscraziu/mycaty | 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 |
Tanmoytkd/vlc | share/lua/playlist/katsomo.lua | 97 | 2906 | --[[
Translate www.katsomo.fi video webpages URLs to the corresponding
movie URL
$Id$
Copyright © 2009 the VideoLAN team
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 o... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/Al_Zahbi/npcs/Famatar.lua | 27 | 3042 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Famatar
-- Type: Imperial Gate Guard
-- @pos -105.538 0.999 75.456 48
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/global... | gpl-3.0 |
xyysnybzi/ember | src/components/ogre/widgets/QuickHelp.lua | 3 | 6286 | QuickHelp = {}
function QuickHelp.buildWidget()
quickhelp = {
helper = nil,
timeToShowBlurb = 4,
timeBlurbShown = 0,
timeBlurbLastUpdate = -1,
showTransitionStarted = false,
hideTransitionStarted = false,
hidden = false,
updateText_connector = nil,
updateAlpha_connector = nil
}
setmetatable(quick... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Lower_Jeuno/npcs/Creepstix.lua | 17 | 1579 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Creepstix
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
require("scripts/zones/Lower_Jeuno/TextIDs");
-----------------------------------
-- onTra... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/spells/knights_minne_iii.lua | 27 | 1498 | -----------------------------------------
-- Spell: Knight's Minne III
-- Grants Defense bonus to all allies.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(ca... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Silver_Sea_route_to_Nashmau/Zone.lua | 17 | 1405 | -----------------------------------
--
-- Zone: Silver_Sea_route_to_Nashmau
--
-----------------------------------
package.loaded["scripts/zones/Silver_Sea_route_to_Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Silver_Sea_route_to_Nashmau/TextIDs");
require("scripts/globals/sett... | gpl-3.0 |
naxiwer/Atlas | lib/admin-bak.lua | 37 | 3379 | --[[ $%BEGINLICENSE%$
Copyright (c) 2008, 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 |
nyczducky/darkstar | scripts/zones/Windurst_Walls/npcs/Komulili.lua | 17 | 1097 | -----------------------------------
-- Area: Port Windurst
-- NPC: Komulili
-- Warps players to Port Windurst
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Windurst_Walls/TextIDs");
------------------------... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Chamber_of_Oracles/npcs/Pedestal_of_Water.lua | 14 | 2406 | -----------------------------------
-- Area: Chamber of Oracles
-- NPC: Pedestal of Water
-- Involved in Zilart Mission 7
-- @pos 199 -2 36 168
-------------------------------------
package.loaded["scripts/zones/Chamber_of_Oracles/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/titles"... | gpl-3.0 |
francot514/CardGamePRO-Simulator | data/levels/1-Greek-VS-Persian.lua | 1 | 1731 | --Greek vs Persian
Debug.SetAIName("Persian")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI)
Debug.SetPlayerInfo(0,40,0,0)
Debug.SetPlayerInfo(1,40,0,0)
local c = 0
local val = 1000
local ai =Debug.AddCard(1,1,1,LOCATION_REMOVED,1,POS_FACEDOWN)
math.randomseed( require("os").time())
for i = 1,20 do
c ... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/Rolanberry_Fields/npcs/Saarlan.lua | 29 | 8425 | -----------------------------------
-- Area: Rolanberry Fields
-- NPC: Saarlan
-- Legion NPC
-- @pos 242 24.395 468
-----------------------------------
package.loaded["scripts/zones/Rolanberry_Fields/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/key... | gpl-3.0 |
abeschneider/nn | CMulTable.lua | 31 | 1238 |
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 |
jbeich/Aquaria | files/scripts/entities/_unused/cc_enddemo.lua | 6 | 2252 | -- 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 |
nyczducky/darkstar | scripts/zones/Dynamis-Windurst/npcs/qm1.lua | 17 | 1325 | -----------------------------------
-- Area: Dynamis Windurst
-- NPC: qm1 (???)
-- Notes: Spawns when Megaboss is defeated
-----------------------------------
package.loaded["scripts/zones/Dynamis-Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Rabao/npcs/Spirit_Singer.lua | 14 | 1034 | ----------------------------------
-- Area: Rabao
-- NPC: Spirit Singer
-- Type: Item Deliverer
-- @zone 247
-- @pos 140.337 7.999 80.661
--
-----------------------------------
package.loaded["scripts/zones/Rabao/TextIDs"] = nil;
require("scripts/zones/Rabao/TextIDs");
-----------------------------------
--... | gpl-3.0 |
jbeich/Aquaria | files/scripts/maps/node_enter_forestspritecave.lua | 6 | 1129 | -- 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 |
ichiinisanshi/Learning-with-Penny-the-Pony | alphabet.lua | 1 | 47677 | local storyboard = require("storyboard")
local scene = storyboard.newScene()
local widget = require("widget")
local external = require("external")
function scene:willEnterScene( event )
local group = self.view
storyboard.removeAll()
storyboard.removeScene("balloonGame")
end
function scene:createScene( eve... | mit |
timn/roslua | src/test/subscribertest.lua | 1 | 1048 |
----------------------------------------------------------------------------
-- subscriber.lua - subscriber implementation test
--
-- Created: Mon Jul 27 15:37:01 2010 (at Intel Research, Pittsburgh)
-- Copyright 2010 Tim Niemueller [www.niemueller.de]
--
----------------------------------------------------------... | bsd-3-clause |
wenhulove333/ScutServer | Sample/Koudai/Client/lua/datapool/PersonalInfo.lua | 1 | 7419 | ------------------------------------------------------------------
-- PersonalInfo.lua
-- Author : ChenJM
-- Version : 1.15
-- Date :
-- Description: ½ÇÉ«ÐÅÏ¢Àà,
------------------------------------------------------------------
---±£´æÓû§»ù±¾µÄÊý¾ÝÐÅÏ¢---
require("lib.lib")
module("PersonalIn... | mit |
nyczducky/darkstar | scripts/globals/abilities/pets/attachments/tension_spring.lua | 27 | 1089 | -----------------------------------
-- Attachment: Tension Spring
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onUseAbility
-----------------------------------
function onEquip(pet)
pet:addMod(MOD_ATTP, 3)
pet:addMod(MOD_RATTP, 3)
end
function... | gpl-3.0 |
jbeich/Aquaria | files/scripts/maps/node_kingjellyactivate.lua | 6 | 1459 | -- 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 |
raingloom/interlu | init.lua | 1 | 2294 | local M = {}
local pcall, tostring, type, require, loadstring, io_stderr, io_write, io_read, table_insert, table_concat, table_pack, table_unpack, print =
pcall, tostring, type, require, loadstring, io.stderr, io.write, io.read, table.insert, table.concat, table.pack, table.unpack, print
do
local ok, libreadl... | mit |
weissj3/milkywayathome_client | nbody/tests/GenerateResults.lua | 4 | 3175 |
require "NBodyTesting"
require "persistence"
local arg = {...}
local nbodyBinary = assert(arg[1])
local nbodyFlags = getExtraNBodyFlags()
eprintf("NBODY_FLAGS = %s\n", nbodyFlags)
local testDir = "orphan_models"
math.randomseed(os.time())
-- When generating results, write results to stdout and everything
-- else ... | gpl-3.0 |
kanstrup/wcn36xx-dissector | wcn36xx_hal.lua | 1 | 133407 | -- Copyright (C) 2013 Mikael Kanstrup (mikael.kanstrup@gmail.com)
--
-- 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.... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Mathlouq.lua | 14 | 1043 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Mathlouq
-- Type: Standard NPC
-- @pos -92.892 -7 129.277 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whiteg... | gpl-3.0 |
senator0/senatorvip2 | files/serpent.lua | 656 | 7877 | local n, v = "serpent", 0.28 -- (C) 2012-15 Paul Kulchenko; MIT License
local c, d = "Paul Kulchenko", "Lua serializer and pretty printer"
local snum = {[tostring(1/0)]='1/0 --[[math.huge]]',[tostring(-1/0)]='-1/0 --[[-math.huge]]',[tostring(0/0)]='0/0'}
local badtype = {thread = true, userdata = true, cdata = true}
lo... | bsd-3-clause |
BeyondTeam/Self-Bot | libs/serpent.lua | 656 | 7877 | local n, v = "serpent", 0.28 -- (C) 2012-15 Paul Kulchenko; MIT License
local c, d = "Paul Kulchenko", "Lua serializer and pretty printer"
local snum = {[tostring(1/0)]='1/0 --[[math.huge]]',[tostring(-1/0)]='-1/0 --[[-math.huge]]',[tostring(0/0)]='0/0'}
local badtype = {thread = true, userdata = true, cdata = true}
lo... | gpl-2.0 |
guangbin79/Lua_5.1.5-iOS | wsapi-xavante-1.6.1-1/tests/test_request.lua | 1 | 6224 |
local request = require "wsapi.request"
local function make_env_get(qs)
return {
REQUEST_METHOD = "GET",
QUERY_STRING = qs or "",
CONTENT_LENGTH = 0,
PATH_INFO = "/",
SCRIPT_NAME = "",
CONTENT_TYPE = "x-www-form-urlencoded",
input = {
read = function () return nil... | mit |
lgeek/koreader | frontend/ui/data/creoptions.lua | 1 | 7616 | local Device = require("device")
local S = require("ui/data/strings")
local optionsutil = require("ui/data/optionsutil")
local _ = require("gettext")
local Screen = Device.screen
-- add multiply operator to Aa dict
local Aa = setmetatable({"Aa"}, {
__mul = function(t, mul)
local new = {}
for i = 1,... | agpl-3.0 |
nyczducky/darkstar | scripts/zones/North_Gustaberg_[S]/npcs/Mining_Point.lua | 17 | 1098 | -----------------------------------
-- Area: North Gustaberg [S]
-- NPC: Mining Point
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg_[S]/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/mining");
require("scripts/zones/North_Gustaberg_[S]/TextIDs");
... | gpl-3.0 |
AquariaOSE/Aquaria | files/scripts/entities/druniad.lua | 6 | 2267 | -- 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 |
jbeich/Aquaria | game_scripts/_mods/aquariaeditortutorial/scripts/node_entities02.lua | 6 | 2081 | -- 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 |
jakianroy/NGUI_To_Be_Best | LuaEncoder/luajit_ios/x86/jit/dis_ppc.lua | 78 | 20318 | ----------------------------------------------------------------------------
-- LuaJIT PPC disassembler module.
--
-- Copyright (C) 2005-2015 Mike Pall. All rights reserved.
-- Released under the MIT/X license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------... | gpl-3.0 |
ichiinisanshi/Learning-with-Penny-the-Pony | external.lua | 1 | 27044 | local external = {}
local prevScene = ""
function external.setPreviousScene(scene)
prevScene = scene
end
function external.getPreviousScene()
return prevScene
end
-- MUSIC AND SOUND EFFECTS --
local bmusic = audio.loadStream("sounds/Upbeat Ukulele Background Music - Sunny Side Up by Alumo.mp3")
local popSound = a... | mit |
nyczducky/darkstar | scripts/globals/spells/bluemagic/regurgitation.lua | 25 | 2017 | -----------------------------------------
-- Spell: Regurgitation
-- Deals Water damage to an enemy. Additional Effect: Bind
-- Spell cost: 69 MP
-- Monster Type: Lizards
-- Spell Type: Magical (Water)
-- Blue Magic Points: 1
-- Stat Bonus: INT+1 MND+1 MP+3
-- Level: 68
-- Casting Time: 5 seconds
-- Recast Time: 24 sec... | gpl-3.0 |
omidtarh/elbot | plugins/rss.lua | 700 | 5434 | local function get_base_redis(id, option, extra)
local ex = ''
if option ~= nil then
ex = ex .. ':' .. option
if extra ~= nil then
ex = ex .. ':' .. extra
end
end
return 'rss:' .. id .. ex
end
local function prot_url(url)
local url, h = string.gsub(url, "http://", "")
local... | gpl-2.0 |
AquariaOSE/Aquaria | files/scripts/entities/erulianghost.lua | 6 | 1930 | -- 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 |
hadess/libquvi-scripts-iplayer | share/lua/website/xhamster.lua | 4 | 2129 |
-- libquvi-scripts
-- Copyright (C) 2012 Toni Gundogdu <legatvs@gmail.com>
-- Copyright (C) 2010 Paul Kocialkowski <contact@paulk.fr>
--
-- This file is part of libquvi-scripts <http://quvi.sourceforge.net/>.
--
-- This library is free software; you can redistribute it and/or
-- modify it under the terms of the GNU ... | lgpl-2.1 |
nyczducky/darkstar | scripts/globals/items/king_truffle.lua | 7 | 1193 | -----------------------------------------
-- ID: 4386
-- King Truffle
-- 5 Minutes, food effect, All Races
-----------------------------------------
-- Strength -6
-- Mind +4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIt... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Port_Windurst/npcs/Paytah.lua | 14 | 1042 | -----------------------------------
-- Area: Port Windurst
-- NPC: Paytah
-- Type: Standard NPC
-- @zone 240
-- @pos 77.550 -6 117.769
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
----------------------... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Nyzul_Isle/mobs/Amnaf_psycheflayer.lua | 9 | 2734 | -----------------------------------
-- Area: Nyzul Isle (Path of Darkness)
-- MOB: Amnaf Psycheflayer
-----------------------------------
require("scripts/zones/Nyzul_Isle/IDs");
require("scripts/globals/status");
-----------------------------------
-- onMobInitialize Action
-----------------------------------
funct... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Mhaura/npcs/Yabby_Tanmikey.lua | 14 | 1169 | -----------------------------------
-- Area: Mhaura
-- NPC: Yabby Tanmikey
-- Guild Merchant NPC: Goldsmithing Guild
-- @pos -36.459 -16.000 76.840 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
re... | gpl-3.0 |
Omegaphora/external_chromium_org_third_party_skia | tools/lua/skia.lua | 207 | 1863 | -- Experimental helpers for skia --
function string.startsWith(String,Start)
return string.sub(String,1,string.len(Start))==Start
end
function string.endsWith(String,End)
return End=='' or string.sub(String,-string.len(End))==End
end
Sk = {}
function Sk.isFinite(x)
return x * 0 == 0
end
----------------... | bsd-3-clause |
jakianroy/NGUI_To_Be_Best | Assets/LuaFramework/ToLua/Lua/protobuf/protobuf.lua | 8 | 36644 | --
--------------------------------------------------------------------------------
-- FILE: protobuf.lua
-- DESCRIPTION: protoc-gen-lua
-- Google's Protocol Buffers project, ported to lua.
-- https://code.google.com/p/protoc-gen-lua/
--
-- Copyright (c) 2010 , 林卓毅 (Zhuoyi Lin) netsnail@gmail.com
-- ... | gpl-3.0 |
ahmedjabbar/uor | libs/lua-redis.lua | 580 | 35599 | 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-2.0 |
starius/lpjit | spec/newick_spec.lua | 1 | 1074 | describe("lpjit", function()
local lpeg = require 'lpeg'
local lpjit = require 'lpjit'
local V, R, S, L = lpeg.V, lpeg.R, lpeg.S, lpeg.locale()
local rules = {
"Tree",
Tree = (V("Subtree") + V("Branch")) * ";",
Subtree = V("Leaf") + V("Internal"),
Leaf = V("Name"),
... | mit |
nyczducky/darkstar | scripts/globals/weaponskills/savage_blade.lua | 25 | 1590 | -----------------------------------
-- Savage Blade
-- Sword weapon skill
-- Skill Level: 240
-- Delivers an aerial attack comprised of two hits. Damage varies with TP.
-- In order to obtain Savage Blade, the quest Old Wounds must be completed.
-- Will stack with Sneak Attack.
-- Aligned with the Breeze Gorget, Thunder... | gpl-3.0 |
hadess/libquvi-scripts-iplayer | share/lua/website/quvi/util.lua | 2 | 4277 |
-- libquvi-scripts
-- Copyright (C) 2010-2011 Toni Gundogdu <legatvs@gmail.com>
--
-- This file is part of libquvi-scripts <http://quvi.sourceforge.net/>.
--
-- This library is free software; you can redistribute it and/or
-- modify it under the terms of the GNU Lesser General Public
-- License as published by the Fr... | lgpl-2.1 |
nyczducky/darkstar | scripts/globals/items/imperial_omelette.lua | 12 | 2964 |
-----------------------------------------
-- ID: 4331
-- Item: imperial_omelette
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Non Elvaan Stats
-- Strength 5
-- Dexterity 2
-- Intelligence -3
-- Mind 4
-- Attack % 22
-- Attack Cap 70
-- Ranged ATT % 22
-- Ranged ATT Cap 70
------------... | gpl-3.0 |
melfi19/OpenRA | lua/sandbox.lua | 84 | 5098 | local sandbox = {
_VERSION = "sandbox 0.5",
_DESCRIPTION = "A pure-lua solution for running untrusted Lua code.",
_URL = "https://github.com/kikito/sandbox.lua",
_LICENSE = [[
MIT LICENSE
Copyright (c) 2013 Enrique García Cota
Permission is hereby granted, free of charge, to an... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Windurst_Woods/npcs/Soni-Muni.lua | 13 | 2724 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Soni-Muni
-- Starts & Finishes Quest: The Amazin' Scorpio
-- @pos -17.073 1.749 -59.327 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals... | gpl-3.0 |
dtrip/awesome | lib/awful/root.lua | 4 | 3962 | ---------------------------------------------------------------------------
-- @author Emmanuel Lepage-Vallee <elv1313@gmail.com>
-- @copyright 2018-2019 Emmanuel Lepage-Vallee
-- @module root
---------------------------------------------------------------------------
local capi = { root = root }
local gtable = ... | gpl-2.0 |
pombredanne/splash | splash/lua_modules/completer.lua | 7 | 2673 | --
-- Lua autocompletion utilities for IPython kernel
--
local lexer = require('vendor/lexer')
-- local inspect = require('vendor/inspect')
local completer = {}
--
-- Tokenize Lua source code
--
function completer.tokenize(src)
local res = {}
local filter = {space=true, comments=true}
local options = {number=tr... | bsd-3-clause |
wizardbottttt/illusion | plugins/all.lua | 1321 | 4661 | do
data = load_data(_config.moderation.data)
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_print... | gpl-2.0 |
AquariaOSE/Aquaria | files/scripts/entities/suncontainer.lua | 6 | 1027 | -- 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 |
ArmanIr/restore | plugins/ultradefender.lua | 19 | 271988 | do
function run(msg, matches)
return " UltraKingIsDefending📛\nUltraKingIsDefending📛\nUltraKingIsDefending📛\nUltraKingIsDefending📛\nUltraKingIsDefending📛\nUltraKingIsDefending📛\nUltraKingIsDefending📛\nUltraKingIsDefending📛\nUltraKingIsDefending📛\nUltraKingIsDefending📛\nUltraKingIsDefending📛\nUltraKingIsDef... | gpl-2.0 |
stipple/stipple_lightroom_plugin | StippleUser.lua | 1 | 6235 | -- Lightroom SDK
local LrDialogs = import 'LrDialogs'
local LrFunctionContext = import 'LrFunctionContext'
local LrTasks = import 'LrTasks'
local logger = import 'LrLogger'( 'StippleAPI' )
require 'StippleAPI'
--============================================================================--
StippleUser = {}
--------... | mit |
hadess/libquvi-scripts-iplayer | share/lua/util/trim.lua | 2 | 1342 |
-- libquvi-scripts
-- Copyright (C) 2010 Toni Gundogdu <legatvs@gmail.com>
--
-- This file is part of libquvi-scripts <http://quvi.sourceforge.net/>.
--
-- This library is free software; you can redistribute it and/or
-- modify it under the terms of the GNU Lesser General Public
-- License as published by the Free So... | lgpl-2.1 |
nyczducky/darkstar | scripts/commands/takexp.lua | 13 | 1199 | ---------------------------------------------------------------------------------------------------
-- func: takexp <amount> <player>
-- desc: Removes experience points from the target player.
---------------------------------------------------------------------------------------------------
cmdprops =
{
permissio... | gpl-3.0 |
jbeich/Aquaria | files/scripts/entities/anemone4.lua | 12 | 2875 | -- 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 |
teleblue/teleblue2 | plugins/sticker2photo.lua | 15 | 1070 | local function tosticker(msg, success, result)
local receiver = get_receiver(msg)
if success then
local file = '/root/robot/data/stickers/'..msg.from.id..'.jpg'
print('File downloaded to:', result)
os.rename(result, file)
print('File moved to:', file)
send_photo(get_receiver(msg), file, ok_cb, f... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/Tahrongi_Canyon/npcs/Shattered_Telepoint.lua | 27 | 2330 | -----------------------------------
-- Area: Tahrongi_Canyon
-- NPC: Shattered Telepoint
-- @pos 179 35 255 117
-----------------------------------
package.loaded["scripts/zones/Tahrongi_Canyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Tahrongi_Ca... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/spells/valor_minuet.lua | 27 | 1497 | -----------------------------------------
-- Spell: Valor Minuet
-- Grants Attack bonus to all allies.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,ta... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/mobskills/Randgrith.lua | 33 | 1026 | ---------------------------------------------
-- Randgrith
--
-- Description: Lowers target's evasion. Gullintani/Mjollnir: Temporarily improves accuracy.
-- Type: Physical
-- Range: Melee
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Vunkerl_Inlet_[S]/Zone.lua | 10 | 2225 | -----------------------------------
--
-- Zone: Vunkerl_Inlet_[S] (83)
--
-----------------------------------
package.loaded["scripts/zones/Vunkerl_Inlet_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Vunkerl_Inlet_[S]/TextIDs");
require("scripts/globals/settings");
require("scripts/gl... | gpl-3.0 |
Wiladams/remotesvg | remotesvg/SVGParser.lua | 1 | 58406 | --[[
A simple SVG Parser which fills in a lua based object model
for the image specified.
--]]
local ffi = require("ffi")
local bit = require("bit")
local lshift, rshift, band, bor = bit.lshift, bit.rshift, bit.band, bit.bor
local XmlParser = require("remotesvg.SVGXmlParser")
local isspace = ctypes.isspace;
local i... | mit |
benloz10/FinalFrontier | gamemodes/finalfrontier/gamemode/weapons/venus.lua | 1 | 1250 | -- Copyright (c) 2014 James King [metapyziks@gmail.com]
--
-- This file is part of Final Frontier.
--
-- Final Frontier is free software: you can redistribute it and/or modify
-- it under the terms of the GNU Lesser General Public License as
-- published by the Free Software Foundation, either version 3 of
-- the Lic... | lgpl-3.0 |
nyczducky/darkstar | scripts/globals/mobskills/glittering_ruby.lua | 27 | 1144 | ---------------------------------------------------
-- Glittering Ruby
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------------
function onMobSkillCheck(ta... | gpl-3.0 |
jbeich/Aquaria | files/scripts/entities/spidercrab.lua | 6 | 7053 | -- 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 |
abeschneider/nn | NarrowTable.lua | 38 | 1151 | local NarrowTable, parent = torch.class('nn.NarrowTable', 'nn.Module')
function NarrowTable:__init(offset, length)
parent.__init(self)
self.offset = offset
self.length = length or 1
if not offset then
error('nn.NarrowTable(offset, length)')
end
self.output = {}
self.gradInput = {}
end
f... | bsd-3-clause |
nyczducky/darkstar | scripts/zones/Kuftal_Tunnel/mobs/Guivre.lua | 17 | 14876 | ----------------------------------
-- Area: Gustav Tunnel
-- NM: Guivre
-----------------------------------
local path =
{
106.836830, 0.753614, -3.944333,
106.991020, 0.588184, -4.941793,
107.207207, 0.424275, -5.923915,
107.583046, 0.424275, -6.866960,
108.040382, 0.424275, -7.778655,
108.4... | gpl-3.0 |
AquariaOSE/Aquaria | files/scripts/maps/_unused/node_songsporespawn.lua | 6 | 1187 | -- 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 |
dtrip/awesome | tests/examples/shims/dbus.lua | 5 | 1230 | local lgi = require("lgi")
local Gio = lgi.Gio
local dbus = awesome._shim_fake_class()
-- Monkeypatch away the real dbus support
Gio.bus_own_name = function() end
--HACK it used to be an internal API, which made testing easy, but now it uses
-- GDBus, so this shims a small subset of its API and use some internal API... | gpl-2.0 |
jamesbdunlop/iction | coreApplication/ict_utils.lua | 1 | 10237 | local iction = iction
local next = next
----------------------------------------------------------------------------------------------
--- LUA APPLICATION ---
function iction.list_iter(t)
local i = 0
local n = table.getn(t)
return function ()
i = i + 1
if i <= n then return t[i], i end
end
end... | apache-2.0 |
MOSAVI17/Generalbot | plugins/urbandictionary.lua | 16 | 1309 | local command = 'urbandictionary <query>'
local doc = [[```
/urbandictionary <query>
Returns a definition from Urban Dictionary.
Aliases: /ud, /urban
```]]
local triggers = {
'^/urbandictionary[@'..bot.username..']*',
'^/ud[@'..bot.username..']*$',
'^/ud[@'..bot.username..']* ',
'^/urban[@'..bot.username..']*'
}
... | gpl-2.0 |
esbullington/snabbp4 | syntax/symbols/values.lua | 1 | 2403 | local class = require("snabbp4.syntax.utils.middleclass")
local utils = require("snabbp4.syntax.utils.debug")
-- base symbol
local base = require("snabbp4.syntax.symbols.base")
local BaseSymbol = base.BaseSymbol
-- precedence values
local precedence = require("snabbp4.syntax.precedence")
local Unsigne... | apache-2.0 |
nyczducky/darkstar | scripts/zones/Kazham/npcs/Tahn_Posbei.lua | 17 | 1580 | -----------------------------------
-- Area: Kazham
-- NPC: Tahn Posbei
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
---... | gpl-3.0 |
alinoroz/pop_tm | plugins/msg_checks.lua | 11 | 11073 | --Begin msg_checks.lua
--Begin pre_process function
local function pre_process(msg)
--
if is_chat_msg(msg) or is_super_group(msg) then
if msg and not is_momod(msg) and not is_whitelisted(msg.from.id) then --if regular user
local data = load_data(_config.moderation.data)
local print_name = user_print_name(msg... | gpl-2.0 |
TheHipster/cwlourp | plugins/books/plugin/items/sh_book_zotu.lua | 1 | 2593 | --[[
© 2013 CloudSixteen.com do not share, re-distribute or modify
without permission of its author (kurozael@gmail.com).
--]]
ITEM = Clockwork.item:New("book_base");
ITEM.cost = 6;
ITEM.name = "Zen of the Union";
ITEM.model = "models/props_lab/binderbluelabel.mdl";
ITEM.business = true;
ITEM.uniqueID = "b... | unlicense |
jakianroy/NGUI_To_Be_Best | LuaEncoder/luajit_ios/x86/jit/v.lua | 78 | 5755 | ----------------------------------------------------------------------------
-- Verbose mode of the LuaJIT compiler.
--
-- Copyright (C) 2005-2015 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
-------------------------------------------------------------------------... | gpl-3.0 |
abcdefg30/OpenRA | mods/cnc/maps/gdi03/gdi03.lua | 6 | 2927 | --[[
Copyright 2007-2022 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 |
nyczducky/darkstar | scripts/globals/spells/absorb-vit.lua | 9 | 1369 | --------------------------------------
-- Spell: Absorb-VIT
-- Steals an enemy's vitality.
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
----------------... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Sea_Serpent_Grotto/npcs/qm2.lua | 14 | 1491 | -----------------------------------
-- Area: Sea Serpent Grotto
-- NPC: ??? Used for Norg quest "The Sahagin's Stash"
-- @zone 176
-- @pos 295.276 27.129 213.043
-----------------------------------
package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil;
-----------------------------------
require("scripts/g... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/weaponskills/spirit_taker.lua | 25 | 1468 | -----------------------------------
-- Spirit Taker
-- Staff weapon skill
-- Skill Level: 215
-- Converts damage dealt to own MP. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Not aligned with any "elemental gorgets" or "elemental belts" due to it's absence of Skillchain properties.
-- It is a physical wea... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Ghelsba_Outpost/npcs/Hut_Door.lua | 14 | 2104 | -----------------------------------
-- Area: Ghelsba_Outpost
-- NPC: Hut Door
-- @pos -165.357 -11.672 77.771 140
-------------------------------------
package.loaded["scripts/zones/Ghelsba_Outpost/TextIDs"] = nil;
package.loaded["scripts/globals/bcnm"] = nil;
-------------------------------------
require("scripts/gl... | gpl-3.0 |
jbeich/Aquaria | files/scripts/entities/trillious.lua | 6 | 3458 | -- 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 |
PierrotLC/CNN_classification | models/Google_classifier.lua | 1 | 5255 | require 'nn'
-- inception module
local function inception(input_size, config)
local concat = nn.DepthConcat(2)
if config[1][1] ~= 0 then
local conv1 = nn.Sequential()
conv1:add(nn.SpatialConvolutionMM(input_size, config[1][1],1,1,1,1))
conv1:add(nn.SpatialBatchNormalization(config[1][1], 1e-3))
co... | apache-2.0 |
nyczducky/darkstar | scripts/globals/items/spicy_cracker.lua | 12 | 1337 | -----------------------------------------
-- ID: 4466
-- Item: spicy_cracker
-- Food Effect: 3Min, All Races
-----------------------------------------
-- HP Recovered While Healing 7
-- Beast Killer +10
-- Resist Sleep +10
-----------------------------------------
require("scripts/globals/status");
------------------... | gpl-3.0 |
mynameiscraziu/mycaty | plugins/meme.lua | 637 | 5791 | local helpers = require "OAuth.helpers"
local _file_memes = './data/memes.lua'
local _cache = {}
local function post_petition(url, arguments)
local response_body = {}
local request_constructor = {
url = url,
method = "POST",
sink = ltn12.sink.table(response_body),
headers = {},
red... | gpl-2.0 |
nyczducky/darkstar | scripts/globals/items/cupid_chocolate.lua | 12 | 1465 | -----------------------------------------
-- ID: 5681
-- Item: cupid_chocolate
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- Accuracy +10
-- Ranged Accuracy +10
-- Attack 10
-- Ranged Attack 10
-- Store TP +25
-----------------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
nyczducky/darkstar | scripts/globals/weaponskills/wheeling_thrust.lua | 25 | 1603 | -----------------------------------
-- Wheeling Thrust
-- Polearm weapon skill
-- Skill Level: 225
-- Ignores enemy's defense. Amount ignored varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Flame Gorget & Light Gorget.
-- Aligned with the Flame Belt & Light Belt.
-- Element: None
-- Modifiers: STR:... | gpl-3.0 |
grechkin-pogrebnyakov/tntlua | flyd/test/flyd.test.lua | 4 | 11045 | #!/usr/bin/env tarantool
local json = require('json')
local http = require('http.client')
local fiber = require('fiber')
local net_box = require('net.box')
local user = arg[1]
local flyd_tmp_dir = '/tmp/flyd'
local config = string.format([[
default_cfg = {
pid_file = "%s",
wal_dir = "%s",
snap_dir = "%s",
... | bsd-2-clause |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.