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
BinChengfei/openwrt-3.10.14
package/ramips/ui/luci-mtk/src/applications/luci-pbx/luasrc/model/cbi/pbx-voip.lua
128
4540
--[[ Copyright 2011 Iordan Iordanov <iiordanov (AT) gmail.com> This file is part of luci-pbx. luci-pbx is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or ...
gpl-2.0
ld-test/lzmq-ffi
test/lunit/console.lua
19
3798
--[[-------------------------------------------------------------------------- This file is part of lunit 0.6. For Details about lunit look at: http://www.mroth.net/lunit/ Author: Michael Roth <mroth@nessie.de> Copyright (c) 2006-2008 Michael Roth <mroth@nessie.de> Permission is hereby granted...
mit
nyczducky/darkstar
scripts/zones/Garlaige_Citadel/npcs/qm13.lua
14
1384
----------------------------------- -- Area: Garlaige Citadel -- NPC: qm13 (???) -- Involved in Quest: Hitting the Marquisate (THF AF3) -- @pos -194.166 -5.500 139.969 200 ----------------------------------- package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil; ----------------------------------- require("s...
gpl-3.0
nyczducky/darkstar
scripts/zones/Northern_San_dOria/npcs/Giaunne.lua
14
1746
----------------------------------- -- Area: Northern San d'Oria -- NPC: Giaunne -- Involved in Quest: Lure of the Wildcat (San d'Oria) -- @pos -13 0 36 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/N...
gpl-3.0
AquariaOSE/Aquaria
files/scripts/maps/map_mithalas02.lua
6
2008
-- 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
SamOatesPlugins/cuberite
Server/Plugins/APIDump/Hooks/OnChunkGenerated.lua
36
2855
return { HOOK_CHUNK_GENERATED = { CalledWhen = "After a chunk was generated. Notification only.", DefaultFnName = "OnChunkGenerated", -- also used as pagename Desc = [[ This hook is called when world generator finished its work on a chunk. The chunk data has already been generated and is about to be stor...
apache-2.0
sjznxd/lc-20121231
applications/luci-splash/luasrc/model/cbi/splash/splashtext.lua
23
1170
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> Copyright 2010 Manuel Munz <freifunk@somakoma.de> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the Li...
apache-2.0
jbeich/Aquaria
files/scripts/entities/collectibleturtleegg.lua
6
1374
-- 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/globals/mobskills/Corrosive_ooze.lua
34
1192
--------------------------------------------------- -- Corrosive Ooze -- Family: Slugs -- Description: Deals water damage to an enemy. Additional Effect: Attack Down and Defense Down. -- Type: Magical -- Utsusemi/Blink absorb: Ignores shadows -- Range: Radial -- Notes: ------------------------------------------...
gpl-3.0
AquariaOSE/Aquaria
game_scripts/_mods/guert_mod/tempo/nauplius.lua
12
6551
-- 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/Mount_Zhayolm/mobs/Brass_Borer.lua
29
1544
----------------------------------- -- Area: Mount Zhayolm -- MOB: Brass Borer ----------------------------------- require("scripts/globals/status"); -- TODO: Damage resistances in streched and curled stances. Halting movement during stance change. ----------------------------------- -- OnMobSpawn Action -----------...
gpl-3.0
nyczducky/darkstar
scripts/zones/Southern_San_dOria/npcs/Ullasa.lua
17
1699
----------------------------------- -- Area: Southern San d'Oria -- NPC: Ullasa -- General Info NPC ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Southern_San_dOria/TextIDs"); require("scripts/globals/s...
gpl-3.0
ld-test/lzmq-ffi
examples/perf2/lat_nomsg/remote_lat.lua
15
1289
local ZMQ_NAME = "lzmq" local argc = select("#", ...) local argv = {...} if (argc < 3) or (argc > 4)then print("usage: local_lat <bind-to> <message-size> <roundtrip-count> [ffi]") return 1 end local connect_to = argv [1] local message_size = assert(tonumber(argv [2])) local roundtrip_count = assert(tonum...
mit
nyczducky/darkstar
scripts/globals/items/yellow_curry_bun_+1.lua
12
2179
----------------------------------------- -- ID: 5763 -- Item: yellow_curry_bun_+1 -- Food Effect: 60 min, All Races ----------------------------------------- -- TODO: Group effects -- Health Points 30 -- Strength 5 -- Vitality 2 -- Agility 3 -- Intelligence -2 -- Attack 22% (caps @ 85) -- Ranged Attack 22% (caps @ 85)...
gpl-3.0
nyczducky/darkstar
scripts/zones/Arrapago_Reef/npcs/_jic.lua
27
3547
----------------------------------- -- Area: Arrapago Reef -- Door: Runic Seal -- @pos 36 -10 620 54 ----------------------------------- package.loaded["scripts/zones/Arrapago_Reef/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); require("s...
gpl-3.0
nyczducky/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Dynamis_Lord.lua
23
2056
----------------------------------- -- Area: Dynamis Xarcabard -- NM: Dynamis_Lord -- -- In OLD Dynamis, he is spawned by killing 15 Kindred NMs.. -- ..NOT by killing Ying and Yang. -- -- In Neo Dynamis, he is spawned by trading -- a Shrouded Bijou to the ??? in front of Castle Zvahl. --------------------------------...
gpl-3.0
nyczducky/darkstar
scripts/globals/items/slice_of_giant_sheep_meat.lua
12
1358
----------------------------------------- -- ID: 4372 -- Item: slice_of_giant_sheep_meat -- Food Effect: 5Min, Galka only ----------------------------------------- -- Strength 2 -- Intelligence -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- --...
gpl-3.0
HalosGhost/irc_bot
src/plugins/isup.lua
1
1117
local modules = modules local https = require("ssl.https") local plugin = {} local messages = { "The webserver hasn't sent a final response, status %s", "The website is up status %s", "The website is up with a %s redirect", "Client error, webserver returned st...
gpl-2.0
abosalah22/memo
plugins/time.lua
3
2836
--[[ $ :) -- - ( #ابو_شهوده ) - -- $ :) -- - ( @abo_shosho98 ) - -- $ :) --Channel-( @aboaloshbot )-- $ :) ]]-- api_key = nil base_api = "https://maps.googleapis.com/maps/api" dateFormat = "%A %d %B - %H:%M:%S" -- Need the utc time for the google api function utctime() return os.time(os.date("!*t")) ...
gpl-2.0
nyczducky/darkstar
scripts/zones/Abyssea-Altepa/npcs/Cavernous_Maw.lua
29
1099
----------------------------------- -- Area: Abyssea Altepa -- NPC: Cavernous Maw -- @pos 444.000 -0.500 320.000 218 -- Notes Teleports Players to South Gustaberg ----------------------------------- package.loaded["scripts/zones/Abyssea-Altepa/TextIDs"] = nil; ----------------------------------- ---------------------...
gpl-3.0
SamOatesPlugins/cuberite
Server/Plugins/APIDump/Hooks/OnPlayerBreakingBlock.lua
44
1596
return { HOOK_PLAYER_BREAKING_BLOCK = { CalledWhen = "Just before a player breaks a block. Plugin may override / refuse. ", DefaultFnName = "OnPlayerBreakingBlock", -- also used as pagename Desc = [[ This hook is called when a {{cPlayer|player}} breaks a block, before the block is actually broken in the ...
apache-2.0
ameenetemady/DeepPep
app/app8_18mix/experiment_3_multiArch.lua
1
1030
--[[ variations: 1) number of convolutional[+dropout,maxpooling,relu] layers: a: dropout rate, b: nChannels(input/output), c: nKwSize, d: nPoolingWindowSize --]] torch.manualSeed(1) require('../../CExperimentSparseBlockFlex.lua') require('../../CDataLoader.lua') local exprSetting = require('./lSettings.lua') loca...
apache-2.0
hanikk/tele-you
plugins/danbooru.lua
616
1750
do local URL = "http://danbooru.donmai.us" local URL_NEW = "/posts.json" local URL_POP = "/explore/posts/popular.json" local scale_day = "?scale=day" local scale_week = "?scale=week" local scale_month = "?scale=month" local function get_post(url) local b, c, h = http.request(url) if c ~= 200 then return nil end ...
gpl-2.0
nyczducky/darkstar
scripts/zones/Windurst_Waters/npcs/Panna-Donna.lua
14
1051
----------------------------------- -- Area: Windurst Waters -- NPC: Panna-Donna -- Type: Mission NPC -- @zone 238 -- @pos -57.502 -6 229.571 -- -- Auto-Script: Requires Verification (Verfied By Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; -------------...
gpl-3.0
Ikesters/ArcPro
src/scripts/lua/Lua/Stable Scripts/Azeroth/Karazhan/BOSS_Karazhan_Kilrek.lua
30
1152
function Kilrek_Broken_Pact(Unit, event, miscunit, misc) if Unit:GetHealthPct() < 2 and Didthat == 0 then Unit:FullCastSpellOnTarget(30065,Unit:GetUnitBySqlId(15688)) Unit:SendChatMessage(11, 0, "You let me down Terestian, you will pay for this...") Didthat = 1 else end end function Kilrek_FireBolt(Unit, even...
agpl-3.0
naxiwer/Atlas
lib/proxy/balance.lua
41
2807
--[[ $%BEGINLICENSE%$ Copyright (c) 2007, 2008, 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
pombredanne/splash
splash/tests/lua_modules/emulation.lua
4
3462
-- -- This module provides render_har, render_html and render_png methods -- which emulate render.har, render.html and render.png endpoints. -- They are used in tests; behaviour is not 100% the same. -- local Splash = require("splash") -- -- A method with a common workflow: go to a page, wait for some time. -- splash...
bsd-3-clause
AquariaOSE/Aquaria
files/scripts/maps/_unused/node_vision_energytemple.lua
6
1209
-- 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/globals/items/serving_of_flounder_meuniere_+1.lua
12
1659
----------------------------------------- -- ID: 4345 -- Item: serving_of_flounder_meuniere_+1 -- Food Effect: 240Min, All Races ----------------------------------------- -- Dexterity 6 -- Vitality 1 -- Mind -1 -- Ranged ACC 15 -- Ranged ATT % 14 -- Ranged ATT Cap 30 -- Enmity -4 ---------------------------------------...
gpl-3.0
nyczducky/darkstar
scripts/globals/items/bowl_of_quadav_stew.lua
12
1385
----------------------------------------- -- ID: 4569 -- Item: Bowl of Quadav Stew -- Food Effect: 180Min, All Races ----------------------------------------- -- Agility -4 -- Vitality 2 -- Defense % 17 -- Defense Cap 60 ----------------------------------------- require("scripts/globals/status"); --------------------...
gpl-3.0
nyczducky/darkstar
scripts/zones/La_Theine_Plateau/mobs/Poison_Funguar.lua
12
1099
----------------------------------- -- Area: La Theine Plateau -- MOB: Poison Funguar ----------------------------------- require("scripts/zones/La_Theine_Plateau/MobIDs"); require("scripts/globals/fieldsofvalor"); ----------------------------------- -- onMobDeath ----------------------------------- function onMobD...
gpl-3.0
AquariaOSE/Aquaria
files/scripts/maps/map_forestvision.lua
6
3437
-- 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/globals/weaponskills/guillotine.lua
18
1964
----------------------------------- -- Guillotine -- Scythe weapon skill -- Skill level: 200 -- Delivers a four-hit attack. Duration varies with TP. -- Modifiers: STR:25% ; MND:25% -- 100%TP 200%TP 300%TP -- 0.875 0.875 0.875 ----------------------------------- require("scripts/globals/status"); require("...
gpl-3.0
nyczducky/darkstar
scripts/globals/spells/bluemagic/hecatomb_wave.lua
25
1913
----------------------------------------- -- 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
nyczducky/darkstar
scripts/globals/items/mithran_tomato.lua
12
1188
----------------------------------------- -- ID: 4390 -- Item: mithran_tomato -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility -3 -- Intelligence 1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ...
gpl-3.0
sevu/wesnoth
data/ai/micro_ais/micro_ai_self_data.lua
15
3878
-- This set of functions provides a consistent way of storing Micro AI variables -- in the AI's persistent data variable. These need to be stored inside -- a [micro_ai] tag, so that they are bundled together for a given Micro AI -- together with an ai_id= key. Their existence can then be checked when setting -- up anot...
gpl-2.0
nyczducky/darkstar
scripts/zones/Abyssea-Uleguerand/npcs/qm6.lua
14
1348
----------------------------------- -- Zone: Abyssea-Uleguerand -- NPC: qm6 (???) -- Spawns Upas-Kamuy -- @pos ? ? ? 253 ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) ...
gpl-3.0
nyczducky/darkstar
scripts/zones/Port_Windurst/npcs/Khel_Pahlhama.lua
14
1243
----------------------------------- -- Area: Port Bastok -- NPC: Khel Pahlhama -- Linkshell merchant -- @pos 21 -2 -20 240 -- Confirmed shop stock, August 2013 ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/global...
gpl-3.0
nyczducky/darkstar
scripts/zones/Port_Bastok/npcs/Numa.lua
17
1786
----------------------------------- -- Area: Port Bastok -- NPC: Numa -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; require("scripts/zones/Port_Bastok/TextIDs"); ------------...
gpl-3.0
nyczducky/darkstar
scripts/globals/items/anthos_xiphos.lua
41
1078
----------------------------------------- -- ID: 17750 -- Item: Anthos Xiphos -- Additional Effect: Water Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action -----------------------------...
gpl-3.0
HalosGhost/irc_bot
src/plugins/mediawiki.lua
1
1692
local modules = modules local json = require 'json' local url = require 'socket.url' local https = require 'ssl.https' local plugin = {} plugin.help = 'Usage: mediawiki <APIURL> <search>' plugin.main = function(args) local _, _, apiurl, search = args.message:find('^(https?://%S+)%s+(.+)') if args.c...
gpl-2.0
nyczducky/darkstar
scripts/zones/Den_of_Rancor/TextIDs.lua
7
1121
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory ITEM_OBTAINED = 6385; -- Obtained: <item> GIL_OBTAINED = 6386; -- Obtained <number> gil KEYITEM_OBTAINED = 6388; -- Obtain...
gpl-3.0
AquariaOSE/Aquaria
files/scripts/entities/parrot.lua
6
3544
-- 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/RuAun_Gardens/npcs/HomePoint#3.lua
27
1266
----------------------------------- -- Area: RuAun_Gardens -- NPC: HomePoint#3 -- @pos -312 -42 -422 130 ----------------------------------- package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/RuAun_Gardens/TextIDs"); require("scripts/globals/homep...
gpl-3.0
wenhulove333/ScutServer
Sample/Doudizhu/Client/lua/lib/ScutScene.lua
1
1385
ScutScene = {} g_scenes = {} function ScutScene:new(o) o = o or {} if o.root == nil then o.root = CCScene:create() print(o.root) end setmetatable(o, self) self.__index = self g_scenes[o.root] = o return o end function ScutScene:registerScriptTapHandler(func) ...
mit
PierrotLC/CNN_classification
Optim.lua
1
4967
local pl = require('pl.import_into')() -- deepcopy routine assumes the presence of a 'clone' method in user. -- data should be used to deeply copy, which matches the behavior of Torch tensors. local function deepcopy(x) local typename = type(x) if typename == "userdata" then return x:clone() end if typen...
apache-2.0
lgeek/koreader
spec/unit/luasettings_spec.lua
7
2854
describe("luasettings module", function() local Settings setup(function() require("commonrequire") Settings = require("frontend/luasettings"):open("this-is-not-a-valid-file") end) it("should handle undefined keys", function() Settings:delSetting("abc") assert.True(Setti...
agpl-3.0
nyczducky/darkstar
scripts/zones/Buburimu_Peninsula/npcs/Signpost.lua
13
1438
----------------------------------- -- Area: Buburimu Peninsula -- NPC: Signpost ----------------------------------- package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Buburimu_Peninsula/TextIDs"); ----------------------------------- -- onTrad...
gpl-3.0
nyczducky/darkstar
scripts/zones/Jugner_Forest/mobs/Sappy_Sycamore.lua
14
1383
---------------------------------- -- Area: Jugner_Forest -- NM: Sappy Sycamore ----------------------------------- ----------------------------------- -- onMobInitialize ----------------------------------- function onMobInitialize(mob) mob:setMobMod(MOBMOD_ADD_EFFECT,mob:getShortID()); mob:addMod(MOD_SLEEP...
gpl-3.0
nyczducky/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/Thierride.lua
14
3302
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Thierride -- @zone 80 -- @pos -124 -2 14 ----------------------------------- require("scripts/zones/Southern_San_dOria_[S]/TextIDs"); require("scripts/globals/quests"); ----------------------------------- -- Item 1019 = Lufet Salt -- Had to u...
gpl-3.0
AinaSG/Crunchy
conf.lua
1
1388
function love.conf(t) t.title = "Crunchy - The Kawaii Roach" -- The title of the window the game is in (string) t.author = "Aina i Joan" -- The author of the game (string) t.identity = nil -- The name of the save directory (string) t.version = "0.9.1" -- The LÖVE version...
gpl-2.0
nyczducky/darkstar
scripts/zones/La_Theine_Plateau/npcs/Chocobo_Tracks.lua
27
1348
----------------------------------- -- Area: La Theine Plateau -- NPC: Chocobo Tracks -- Involved in quest: Chocobo on the Loose! -- @pos -556 0 523 102 ----------------------------------- package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil; ----------------------------------- require("scripts/zones/La_Th...
gpl-3.0
AquariaOSE/Aquaria
files/scripts/entities/merwoman.lua
6
2191
-- 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
Klozz/LuaPlayer
src/auxiliary/boot.lua
1
1816
function dumpDirectory(filelist, directory) flist = System.listDirectory(directory) for idx, file in ipairs(flist) do if file.name ~= "." and file.name ~= ".." and file.name ~= "filelist.txt" then fullFile = directory .. "/" .. file.name if file.directory then dumpDirectory(filelist, fullFile) else ...
bsd-3-clause
nyczducky/darkstar
scripts/globals/player.lua
24
8702
----------------------------------- -- -- -- ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); require("scripts/globals/quests"); require("scripts/globals/settings"); require("scripts/globals/shop"); require("scripts/globals/status"); require("scripts/globals...
gpl-3.0
nyczducky/darkstar
scripts/globals/mobskills/Crystal_Weapon.lua
37
1031
--------------------------------------------- -- Crystal Weapon -- -- Description: Invokes the power of a crystal to deal magical damage of a random element to a single target. -- Type: Magical -- Utsusemi/Blink absorb: Ignores shadows -- Range: Unknown -- Notes: Can be Fire, Earth, Wind, or Water element. Funct...
gpl-3.0
nyczducky/darkstar
scripts/globals/mobskills/Glacial_Breath.lua
32
1239
--------------------------------------------- -- Glacial Breath -- -- Description: Deals Ice damage to enemies within a fan-shaped area. -- Type: Breath -- Utsusemi/Blink absorb: Ignores shadows -- Range: Unknown cone -- Notes: Used only by Jormungand and Isgebind --------------------------------------------- req...
gpl-3.0
nyczducky/darkstar
scripts/zones/Batallia_Downs/npcs/qm2.lua
17
1515
----------------------------------- -- Area: Batallia Downs -- NPC: qm2 (???) -- Pop for the quest "Chasing Quotas" ----------------------------------- package.loaded["scripts/zones/Batallia_Downs/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Batallia_Downs/TextIDs"); require("scripts/...
gpl-3.0
ruleless/skynet
lualib/sharemap.lua
78
1496
local stm = require "stm" local sprotoloader = require "sprotoloader" local sproto = require "sproto" local setmetatable = setmetatable local sharemap = {} function sharemap.register(protofile) -- use global slot 0 for type define sprotoloader.register(protofile, 0) end local sprotoobj local function loadsp() if ...
mit
LexLoki/Udemy-LOVE_game_development
Pong/Ball.lua
1
1701
local u = require 'utils' local Ball = {} Ball.radius = 20 Ball.color = {0,255,255} local decreaseAngle function Ball.new(x,y,speed) local self = { x=x, y=y, speed = speed, lastx = x, lasty = y } setmetatable(self, {__index=Ball}) return self end function Ball:update(dt) self.lastx = self.x self.lasty = se...
mit
PierrotLC/CNN_classification
data.lua
1
1538
-- -- Data local ffi = require 'ffi' local Threads = require 'threads' -- This script contains the logic to create one thread for data-loading. -- For the data-loading details, look at donkey.lua ------------------------------------------------------------------------------- do -- start K datathreads (donkeys) if ...
apache-2.0
lgeek/koreader
frontend/ui/plugin/switch_plugin.lua
9
3125
--[[-- SwitchPlugin creates a plugin with a switch to enable or disable it. See spec/unit/switch_plugin_spec.lua for the usage. ]] local ConfirmBox = require("ui/widget/confirmbox") local DataStorage = require("datastorage") local LuaSettings = require("luasettings") local UIManager = require("ui/uimanager") local Wid...
agpl-3.0
nyczducky/darkstar
scripts/globals/items/bunch_of_gysahl_greens.lua
12
1609
----------------------------------------- -- ID: 4545 -- Item: Bunch of Gysahl Greens -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility +3 -- Vitality -5 -- Additional Effect with Chocobo Shirt -- Agility +10 ----------------------------------------- require("scripts/globals/status")...
gpl-3.0
AquariaOSE/Aquaria
files/scripts/entities/creatorform6.lua
6
12019
-- 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
abcdefg30/OpenRA
mods/d2k/maps/atreides-03a/atreides03a-AI.lua
7
1962
--[[ 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
dtrip/awesome
spec/wibox/widget/base_spec.lua
14
3351
--------------------------------------------------------------------------- -- @author Uli Schlachter -- @copyright 2016 Uli Schlachter --------------------------------------------------------------------------- local base = require("wibox.widget.base") local no_parent = base.no_parent_I_know_what_I_am_doing describe...
gpl-2.0
nyczducky/darkstar
scripts/zones/Selbina/npcs/Wenzel.lua
14
1051
---------------------------------- -- Area: Selbina -- NPC: Wenzel -- Type: Item Deliverer -- @pos 31.961 -14.661 57.997 248 ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); ---------------------...
gpl-3.0
nyczducky/darkstar
scripts/globals/weaponskills/resolution.lua
23
1835
----------------------------------- -- Resolution -- Great Sword weapon skill -- Skill Level: 357 -- Delivers a fivefold attack. Damage varies with TP. -- In order to obtain Resolution, the quest Martial Mastery must be completed. -- This Weapon Skill's first hit params.ftp is duplicated for all additional hits. -- Res...
gpl-3.0
rovemonteux/score_framework
src/io/midiio.lua
1
7449
------------------------------------------------------------------------------- ---- Score Framework - A Lua-based framework for creating multi-track MIDI files. ---- Copyright (c) 2017 Rove Monteux ---- ---- This program is free software; you can redistribute it and/or modify it ---- under the terms of the GNU General...
gpl-3.0
bgshih/crnn
third_party/lmdb-lua-ffi/tests/test_reverse_keys.lua
1
1479
describe("LMDB revese keys", function() local os = require 'os' local lmdb = require 'lmdb' local utils = require 'utils' local dump = utils.dump local testdb = './db/test-rev' local env, msg = nil local revdb = nil local data = {19,28,37,46,55,64,73,82,91} setup(function() ...
mit
nyczducky/darkstar
scripts/zones/Rabao/npcs/Edigey.lua
12
2587
----------------------------------- -- Area: Rabao -- NPC: Edigey -- Starts and Ends Quest: Don't Forget the Antidote ----------------------------------- package.loaded["scripts/zones/Rabao/TextIDs"] = nil; require("scripts/globals/titles"); require("scripts/globals/settings"); require("scripts/globals/quests"); requi...
gpl-3.0
nyczducky/darkstar
scripts/globals/items/bunny_ball.lua
12
1724
----------------------------------------- -- ID: 4349 -- Item: Bunny Ball -- Food Effect: 240Min, All Races ----------------------------------------- -- Health 10 -- Strength 2 -- Vitality 2 -- Intelligence -1 -- Attack % 30 (cap 30) -- Ranged ATT % 30 (cap 30) ----------------------------------------- require("script...
gpl-3.0
nyczducky/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_5f7.lua
12
1101
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Leviathan's Gate -- @pos 249 -34 100 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Eldieme_Necropolis/TextIDs"); -...
gpl-3.0
nyczducky/darkstar
scripts/zones/Periqia/IDs.lua
8
4247
Periqia = { text = { -- General Texts ITEM_CANNOT_BE_OBTAINED = 6378, -- You cannot obtain the item <item> come back again after sorting your inventory ITEM_OBTAINED = 6381, -- Obtained: <item> GIL_OBTAINED = 6384, -- Obtained <number> gil KEYITEM_OBTAINED = 6384, -- Obtaine...
gpl-3.0
nyczducky/darkstar
scripts/globals/spells/bluemagic/sheep_song.lua
27
1358
----------------------------------------- -- Spell: Sheep Song -- Puts all enemies within range to sleep -- Spell cost: 22 MP -- Monster Type: Beasts -- Spell Type: Magical (Light) -- Blue Magic Points: 2 -- Stat Bonus: CHR+1, HP+5 -- Level: 16 -- Casting Time: Casting Time: 3 seconds -- Recast Time: Recast Time: 60 se...
gpl-3.0
Tanmoytkd/vlc
share/lua/playlist/vimeo.lua
65
3213
--[[ $Id$ Copyright © 2009-2013 the VideoLAN team Authors: Konstantin Pavlov (thresh@videolan.org) François Revol (revol@free.fr) Pierre Ynard 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 S...
gpl-2.0
omidtarh/elbot
plugins/face.lua
641
3073
local https = require("ssl.https") local ltn12 = require "ltn12" -- Edit data/mashape.lua with your Mashape API key -- http://docs.mashape.com/api-keys local mashape = load_from_file('data/mashape.lua', { api_key = '' }) local function request(imageUrl) local api_key = mashape.api_key if api_key:isempt...
gpl-2.0
mynameiscraziu/mycaty
plugins/face.lua
641
3073
local https = require("ssl.https") local ltn12 = require "ltn12" -- Edit data/mashape.lua with your Mashape API key -- http://docs.mashape.com/api-keys local mashape = load_from_file('data/mashape.lua', { api_key = '' }) local function request(imageUrl) local api_key = mashape.api_key if api_key:isempt...
gpl-2.0
Klozz/LuaPlayer
src/test/test.lua
1
9305
--[[ Regression and speed tests. Usage: write a function, which returns the time and some string, which are used for compare the functionality of this function againts a reference version of Lua Player and add the function name to the "tests" array. Results: PNGs are created for the tests and the reference.txt, which...
bsd-3-clause
dtrip/awesome
tests/test-awful-placement.lua
3
10098
local awful = require("awful") local test_client = require("_client") local runner = require("_runner") local cruled = require("ruled.client") -- This test makes some assumptions about the no_overlap behavior which may not -- be correct if the screen is in the portrait orientation. if mouse.screen.workarea.height >= m...
gpl-2.0
nyczducky/darkstar
scripts/zones/Northern_San_dOria/npcs/Pulloie.lua
17
1041
----------------------------------- -- Area: Northern San d'Oria -- NPC: Pulloie -- Quest NPC ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; require("scripts/zones/Northern_San_dOria/TextIDs"); ----------------------------------- -- onTrade Action ---------------...
gpl-3.0
nyczducky/darkstar
scripts/globals/items/bowl_of_adoulinian_soup.lua
12
1563
----------------------------------------- -- ID: 5998 -- Item: Bowl of Adoulin Soup -- Food Effect: 180 Min, All Races ----------------------------------------- -- HP % 3 Cap 40 -- Vitality 3 -- Defense % 15 Cap 70 -- HP Healing 6 ----------------------------------------- require("scripts/globals/status"); ----------...
gpl-3.0
timn/ros-fawkes_lua
src/fawkes/fsm.lua
1
11399
------------------------------------------------------------------------ -- fsm.lua - Lua Finite State Machines (FSM) -- -- Created: Fri Jun 13 11:25:36 2008 -- Copyright 2008-2010 Tim Niemueller [www.niemueller.de] -- 2010 Carnegie Mellon University -- 2010 Intel Labs Pittsbur...
gpl-2.0
sjznxd/lc-20121231
applications/luci-statistics/luasrc/model/cbi/luci_statistics/iwinfo.lua
78
1089
--[[ Luci configuration model for statistics - collectd interface plugin configuration (c) 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://ww...
apache-2.0
hadess/libquvi-scripts-iplayer
share/lua/website/imdb.lua
4
3692
-- -- libquvi-scripts -- Copyright (C) 2011 quvi project -- -- 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 Software Foundation; ...
lgpl-2.1
jbeich/Aquaria
files/scripts/maps/_unused/node_naija_minimap.lua
6
1097
-- 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/globals/items/simit.lua
12
1253
----------------------------------------- -- ID: 5596 -- Item: simit -- Food Effect: 30Min, All Races ----------------------------------------- -- Health 16 -- Dexterity -1 -- Vitality 3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemChe...
gpl-3.0
nyczducky/darkstar
scripts/zones/Northern_San_dOria/npcs/Arienh.lua
14
1034
----------------------------------- -- Area: Northern San d'Oria -- NPC: Arienh -- Type: Standard Dialogue NPC -- @zone 231 -- @pos -37.292 -2.000 -6.817 -- ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; require("scripts/zones/Northern_San_dOria/TextIDs"); --...
gpl-3.0
nyczducky/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Aligi-Kufongi.lua
27
3114
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Aligi-Kufongi -- Title Change NPC -- @pos -23 -21 15 26 ----------------------------------- require("scripts/globals/titles"); local title2 = { TAVNAZIAN_SQUIRE ,PUTRID_PURVEYOR_OF_PUNGENT_PETALS , MONARCH_LINN_PATROL_GUARD , SIN_HUNTER_HUNTER , ...
gpl-3.0
sjznxd/lc-20121231
applications/luci-asterisk/luasrc/model/cbi/asterisk-mod-codec.lua
80
2172
--[[ 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
nyczducky/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/CeraneIVirgaut1.lua
14
1059
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Cerane I Virgaut -- @zone 80 -- @pos -268 -4 100 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil; require("scripts/zones/Southern_San_dOria_[S]/TextIDs"); ---------------------------------...
gpl-3.0
benloz10/FinalFrontier
gamemodes/finalfrontier/gamemode/sgui/accesspage.lua
3
1767
-- 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
benloz10/FinalFrontier
gamemodes/finalfrontier/gamemode/sgui/doorview.lua
3
5687
-- 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
abcdefg30/OpenRA
mods/cnc/maps/nod09/nod09.lua
6
8708
--[[ 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
SNiLD/TabletopSimulatorAgricola
src/Game Settings.lua
1
4871
--[[ Helpers ]] function table.contains(table, element) for _, value in pairs(table) do if value == element then return true end end return false end function table.removeByValue(table, value) found = false for tableKey, tableValue in pairs(table) do if tableVa...
mit
AquariaOSE/Aquaria
files/scripts/entities/jellysmall.lua
6
5946
-- 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/globals/weaponskills/shockwave.lua
18
1486
----------------------------------- -- Shockwave -- Great Sword weapon skill -- Skill level: 150 -- Delivers an area of effect attack. Sleeps enemies. Duration of effect varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Aqua Gorget. -- Aligned with the Aqua Belt. -- Element: None -- Modifiers: STR:30...
gpl-3.0
melfi19/OpenRA
mods/ra/maps/soviet-04b/AI.lua
19
2829
IdleHunt = function(unit) if not unit.IsDead then Trigger.OnIdle(unit, unit.Hunt) end end IdlingUnits = function() local lazyUnits = Greece.GetGroundAttackers() Utils.Do(lazyUnits, function(unit) Trigger.OnDamaged(unit, function() Trigger.ClearAll(unit) Trigger.AfterDelay(0, function() IdleHunt(unit) end) ...
gpl-3.0
jbeich/Aquaria
files/scripts/maps/_unused/node_foundsecret03.lua
6
1100
-- 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
ruleless/skynet
lualib/http/internal.lua
95
2613
local table = table local type = type local M = {} local LIMIT = 8192 local function chunksize(readbytes, body) while true do local f,e = body:find("\r\n",1,true) if f then return tonumber(body:sub(1,f-1),16), body:sub(e+1) end if #body > 128 then -- pervent the attacker send very long stream without ...
mit