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
electricpandafishstudios/Spoon
game/modules/Spoon/class/interface/ActorAminos.lua
1
4008
require "engine.class" --- Handles actors stats module(..., package.seeall, class.make) _M.aminos_def = {} _M.aminos_types_def = {} --- Defines actor aminos -- Static! function _M:loadDefinition(file, env) local f, err = util.loadfilemods(file, setmetatable(env or { DamageType = require("engine.DamageType"), Pa...
gpl-3.0
froggatt/openwrt-luci
applications/luci-statistics/luasrc/model/cbi/luci_statistics/dns.lua
78
1344
--[[ Luci configuration model for statistics - collectd dns plugin configuration (c) 2008 Freifunk Leipzig / 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 a...
apache-2.0
Blackdutchie/Zero-K
LuaUI/Widgets/snd_text_to_speech.lua
6
1510
function widget:GetInfo() return { name = "Text To Speech Control", desc = "Enables or disables text to speech through Zero-K lobby", author = "Licho", date = "10.6.2011", license = "GNU GPL, v2 or later", layer = math.huge, enabled = true, -- loaded by default? alwaysStart = true } end ----...
gpl-2.0
electricpandafishstudios/Spoon
game/engines/te4-1.4.1/engine/DirectPath.lua
1
1874
-- TE4 - T-Engine 4 -- Copyright (C) 2009 - 2016 Nicolas Casalini -- -- 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 3 of the License, or -- (at your option) any later version....
gpl-3.0
Blackdutchie/Zero-K
LuaUI/Widgets/chili/Handlers/texturehandler.lua
25
3354
--//============================================================================= --// TextureHandler = {} --//============================================================================= --//TWEAKING local timeLimit = 0.2/15 --//time per second / desiredFPS --//==================================================...
gpl-2.0
electricpandafishstudios/Spoon
game/modules/tome-1.4.1/dialogs/ShowEquipInven.lua
1
12935
-- TE4 - T-Engine 4 -- Copyright (C) 2009 - 2016 Nicolas Casalini -- -- 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 3 of the License, or -- (at your option) any later version....
gpl-3.0
Samanstar/Learn
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
nimaghorbani/nimatelegram
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
ozhanf/ozhanf---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
electricpandafishstudios/Spoon
game/modules/tome-1.4.1/data/general/grids/snowy_forest.lua
1
6742
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2016 Nicolas Casalini -- -- 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 3 of the License, or -- (at your option) any later ...
gpl-3.0
strukturag/vlc-2.1
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
mrichards42/xword
scripts/libs/pl/list.lua
8
15758
--- Python-style list class. -- -- **Please Note**: methods that change the list will return the list. -- This is to allow for method chaining, but please note that `ls = ls:sort()` -- does not mean that a new copy of the list is made. In-place (mutable) methods -- are marked as returning 'the list' in this documentati...
gpl-3.0
BooM-amour/king
plugins/all.lua
36
4653
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
electricpandafishstudios/Spoon
game/modules/tome-1.4.1/data/zones/town-angolwen/traps.lua
1
1816
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2016 Nicolas Casalini -- -- 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 3 of the License, or -- (at your option) any later ...
gpl-3.0
anfractuosity/lanes
tests/error.lua
5
1054
-- -- Error reporting -- -- Note: this code is supposed to end in errors; not included in 'make test' -- local lanes = require "lanes".configure() local function lane() local subf= function() -- this so that we can see the call stack error "aa" --error({}) --error(error) ...
mit
mscv/WYBMNRedux
Core.lua
1
18409
--[[ TO DO: 1) make use of newly available HousingLib.GetResidence() functionality: * info on harvest splits and nodes now available for neighbour plots on visit * info on repair state now available (both own and neighbour! 2) add garden plot functionality 3) test addon comms properly :) --]] require 'Apollo' requir...
unlicense
froggatt/openwrt-luci
applications/luci-samba/luasrc/model/cbi/samba.lua
79
2602
--[[ 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
electricpandafishstudios/Spoon
game/modules/tome-1.4.1/data/zones/flooded-cave/objects.lua
1
1073
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2016 Nicolas Casalini -- -- 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 3 of the License, or -- (at your option) any later ...
gpl-3.0
Blackdutchie/Zero-K
LuaUI/Configs/clippy.lua
6
4535
local THRESHOLD_EXPENSIVE = 1200 INCOME_TO_SPLURGE = 20 -- ignore expensive warning if you have this much income METAL_PER_NANO = 8 -- suggested nanos per metal ^ -1 MIN_PULL_FOR_NANOS = -10 -- don't make more nanos if our pull is already this low --unused NANO_DEF_ID = UnitDefNames.armnanotc.id ENERGY_TO_METAL_RATIO ...
gpl-2.0
Blackdutchie/Zero-K
LuaRules/Gadgets/unit_vertical_swarm.lua
10
3535
function gadget:GetInfo() return { name = "Vertical Swarm", desc = "Causes chickens to pop out of dense swarms.", author = "Google Frog", date = "15 April 2013", license = "GNU GPL, v2 or later", layer = 0, enabled = true } end -------------------------------------------------...
gpl-2.0
Blackdutchie/Zero-K
LuaRules/Gadgets/91_unit_attributes.lua
4
13459
if not gadgetHandler:IsSyncedCode() then return end -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- function gadget:GetInfo() return { name = "Attributes_91", desc = "Handles Uni...
gpl-2.0
electricpandafishstudios/Spoon
game/modules/tome-1.4.1/data/zones/shertul-fortress/npcs.lua
1
7041
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2016 Nicolas Casalini -- -- 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 3 of the License, or -- (at your option) any later ...
gpl-3.0
Blackdutchie/Zero-K
units/hoverassault.lua
2
5398
unitDef = { unitname = [[hoverassault]], name = [[Halberd]], description = [[Blockade Runner Hover]], acceleration = 0.048, brakeRate = 0.043, buildCostEnergy = 240, buildCostMetal = 240, builder = false, buildPic = [[h...
gpl-2.0
electricpandafishstudios/Spoon
game/modules/tome-1.4.1/data/quests/start-thaloren.lua
1
2171
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2016 Nicolas Casalini -- -- 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 3 of the License, or -- (at your option) any later ...
gpl-3.0
kuoruan/lede-luci
applications/luci-app-n2n_v2/luasrc/model/cbi/n2n_v2.lua
13
1657
--[[ --N2N VPN(V2) configuration page. Made by 981213 -- ]]-- local fs = require "nixio.fs" m = Map("n2n_v2", translate("N2N VPN(V2)"), translatef("n2n is a layer-two peer-to-peer virtual private network (VPN) which allows users to exploit features typical of P2P applications at network instead of application...
apache-2.0
Blackdutchie/Zero-K
LuaUI/Widgets/dbg_ceg_spawner.lua
6
3061
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- function widget:GetInfo() return { name = "CEG Spawner", desc = "v0.031 Spawn CEGs", author = "CarRepairer", date = "2010...
gpl-2.0
mlichvar/packages
net/mwan3-luci/files/usr/lib/lua/luci/model/cbi/mwan/ruleconfig.lua
82
4185
-- ------ extra functions ------ -- function ruleCheck() -- determine if rule needs a protocol specified local sourcePort = ut.trim(sys.exec("uci -p /var/state get mwan3." .. arg[1] .. ".src_port")) local destPort = ut.trim(sys.exec("uci -p /var/state get mwan3." .. arg[1] .. ".dest_port")) if sourcePort ~= "" or d...
gpl-2.0
mikejsavage/hirveserv
modules/scripts.lua
1
8362
local json = require( "cjson.safe" ) local sends = { "sendAction", "sendAlias", "sendMacro", "sendVariable", "sendEvent", "sendGag", "sendHighlight", "sendList", "sendArray", "sendBarItem", } local sendsPM = { "pm" } for _, send in ipairs( sends ) do table.insert( sendsPM, send ) end local scripts = { } ...
isc
xAleXXX007x/Witcher-RolePlay
nutscript/plugins/3dtext.lua
1
5643
PLUGIN.name = "3D Text" PLUGIN.author = "Chessnut" PLUGIN.desc = "Adds text that can be placed on the map." -- List of available text dislays. PLUGIN.list = PLUGIN.list or {} local PLUGIN = PLUGIN if (SERVER) then -- Called when the player is sending client info. function PLUGIN:PlayerInitialSpawn(client) -- Sen...
mit
musenshen/SandBoxLua
frameworks/runtime-src/Classes/core/Scripting/lua-bindings/auto/api/Center.lua
1
3632
-------------------------------- -- @module Center -- @extend Ref -- @parent_module maps -------------------------------- -- »ñÈ¡Ë÷Òý -- @function [parent=#Center] getIndex -- @param self -- @return unsigned int#unsigned int ret (return value: unsigned int) -------------------------------- -- ÉèÖõØÐÎÀàÐÍ -...
mit
sleepingwit/premake-core
binmodules/luasocket/test/testclnt.lua
20
22799
local socket = require"socket" host = host or "localhost" port = port or "8383" function printf(...) io.stderr:write(string.format(...)) end function pass(...) printf(...) io.stderr:write("\n") end function fail(...) io.stderr:write("ERROR: ") printf(...) io.stderr:write("!\n") os.exit()...
bsd-3-clause
electricpandafishstudios/Spoon
game/modules/tome-1.4.1/data/zones/town-last-hope/npcs.lua
1
3162
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2016 Nicolas Casalini -- -- 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 3 of the License, or -- (at your option) any later ...
gpl-3.0
AlexandreCA/update
scripts/globals/items/bowl_of_oceanfin_soup.lua
36
1822
----------------------------------------- -- ID: 6070 -- Item: Bowl of Oceanfin Soup -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- Accuracy % 15 Cap 95 -- Ranged Accuracy % 15 Cap 95 -- Attack % 19 Cap 85 -- Ranged Attack % 19 Cap 85 -- Amorph Killer 6 -----------------------------------...
gpl-3.0
AlexandreCA/darkstar
scripts/zones/Nashmau/npcs/Nanaroon.lua
13
1053
---------------------------------- -- Area: Nashmau -- NPC: Nanaroon -- Type: Item Deliverer -- @pos -2.404 -6 37.141 53 ----------------------------------- package.loaded["scripts/zones/Nashmau/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Nashmau/TextIDs"); -----------------...
gpl-3.0
AlexandreCA/update
scripts/globals/effects/weakness.lua
18
1568
----------------------------------- -- -- Weakness -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) --reduce HP and MP by the power amount. Add...
gpl-3.0
AlexandreCA/update
scripts/globals/items/plate_of_beef_paella_+1.lua
36
1429
----------------------------------------- -- ID: 5973 -- Item: Plate of Beef Paella +1 -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- HP 45 -- Strength 6 -- Attack % 19 Cap 95 -- Undead Killer 6 ----------------------------------------- require("scripts/globals/status"); ---------------...
gpl-3.0
treytomes/mgreboot
mods/intllib/init.lua
2
3701
-- Old multi-load method compatibility if rawget(_G, "intllib") then return end intllib = { getters = {}, strings = {}, } local MP = minetest.get_modpath("intllib") dofile(MP.."/lib.lua") local LANG = minetest.setting_get("language") if not (LANG and (LANG ~= "")) then LANG = os.getenv("LANG") end if not (LANG...
mit
AlexandreCA/update
scripts/globals/items/faerie_apple.lua
35
1211
----------------------------------------- -- ID: 4363 -- Item: faerie_apple -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility -4 -- Intelligence 2 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- On...
gpl-3.0
AlexandreCA/update
scripts/zones/Eastern_Altepa_Desert/mobs/Cactrot_Rapido.lua
16
12212
----------------------------------- -- Area: Eastern Altepa Desert -- NM: Cactrot Rapido ----------------------------------- require("scripts/globals/titles"); local path = { -45.214237, 0.059482, -204.244873, -46.114422, 0.104212, -203.765884, -47.013275, 0.149004, -203.285812, -47.911877, 0.193759, -2...
gpl-3.0
AlexandreCA/update
scripts/globals/items/silken_sash.lua
36
1212
----------------------------------------- -- ID: 5632 -- Item: Silken Sash -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP Recovered while healing +3 -- MP Recovered while healing +5 ----------------------------------------- require("scripts/globals/status"); ---...
gpl-3.0
elfinlazz/melia
system/scripts/npc/dungeon/d_velniasprison_51_5.lua
1
2182
addnpc(154000, "ETC_20150323_009632", "d_velniasprison_51_5", -1152, 54, -552, 45, "npc_dummy") addnpc(154010, "ETC_20150317_009296", "d_velniasprison_51_5", -109.895, 23.1219, -181.6184, 123, "npc_dummy") addnpc(154012, "ETC_20150317_009295", "d_velniasprison_51_5", -425.9993, 26.7903, 57.62865, 34, "npc_dummy") addnp...
gpl-3.0
AlexandreCA/update
scripts/globals/spells/foe_requiem_v.lua
18
1624
----------------------------------------- -- Spell: Foe Requiem V ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target,...
gpl-3.0
AlexandreCA/darkstar
scripts/globals/effects/warcry.lua
34
1037
----------------------------------- -- -- EFFECT_WARCRY -- -- Notes: -- Savagery TP bonus not cut in half like ffxclopedia says. -- ffxiclopedia is wrong, bg wiki right. See link where testing was done. -- http://www.bluegartr.com/threads/108199-Random-Facts-Thread-Other?p=5367464&viewfull=1#post5367464 -----------...
gpl-3.0
AlexandreCA/update
scripts/globals/mobskills/Cyclone_Wing.lua
18
1140
--------------------------------------------- -- Tebbad Wing -- -- Description: Deals darkness damage to enemies within a very wide area of effect. Additional effect: Sleep -- Type: Magical -- Utsusemi/Blink absorb: Wipes shadows -- Range: 30' radial. -- Notes: Used only by Vrtra and Azdaja --------------...
gpl-3.0
AlexandreCA/update
scripts/globals/spells/kurayami_san.lua
18
1142
----------------------------------------- -- Spell: Kurayami: San ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,targe...
gpl-3.0
samboy/Oblige
attic/wolf3d.lua
1
24266
---------------------------------------------------------------- -- GAME DEF : Wolfenstein 3D ---------------------------------------------------------------- -- -- Oblige Level Maker -- -- Copyright (C) 2006-2010 Andrew Apted -- -- This program is free software; you can redistribute it and/or -- modify it under th...
gpl-2.0
lucgagnon/ntopng
third-party/LuaJIT-2.0.3/dynasm/dynasm.lua
60
30989
------------------------------------------------------------------------------ -- DynASM. A dynamic assembler for code generation engines. -- Originally designed and implemented for LuaJIT. -- -- Copyright (C) 2005-2014 Mike Pall. All rights reserved. -- See below for full copyright notice. ----------------------------...
gpl-3.0
AlexandreCA/update
scripts/zones/East_Ronfaure_[S]/npcs/qm5.lua
27
1615
----------------------------------- -- Area: East Ronfaure [S] -- NPC: qm5 "???" -- Involved in Quests: Steamed Rams -- @pos 380.015 -26.5 -22.525 ----------------------------------- package.loaded["scripts/zones/East_Ronfaure_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/...
gpl-3.0
exercism/xlua
exercises/practice/rectangles/.meta/example.lua
3
2138
local combinations local function generate_combinations(a, n, offset) if n > (#a - offset) then return end if n == 0 then coroutine.yield({}) return end for v in combinations(a, n - 1, offset + 1) do table.insert(v, 1, a[1 + offset]) coroutine.yield(v) end for v in combinations(a, ...
mit
nwf/openwrt-luci
modules/luci-base/luasrc/tools/webadmin.lua
59
2301
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008-2015 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. module("luci.tools.webadmin", package.seeall) local util = require "luci.util" local uci = require "luci.model.uci" local ip = require "luci.ip" func...
apache-2.0
samboy/Oblige
attic/oblige_V2/x_freedoom.lua
1
1810
---------------------------------------------------------------- -- GAME DEF : FreeDOOM 0.5 ---------------------------------------------------------------- -- -- Oblige Level Maker (C) 2006,2007 Andrew Apted -- -- This program is free software; you can redistribute it and/or -- modify it under the terms of the GNU ...
gpl-2.0
AlexandreCA/update
scripts/zones/Spire_of_Mea/bcnms/ancient_flames_backon.lua
17
3854
----------------------------------- -- Area: Spire_of_Mea -- Name: ancient_flames_backon -- KSNM30 ----------------------------------- package.loaded["scripts/zones/Spire_of_Mea/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/quests"); require("scripts/g...
gpl-3.0
AlexandreCA/update
scripts/zones/Western_Altepa_Desert/npcs/qm2.lua
17
1702
----------------------------------- -- Area: Western Altepa Desert -- NPC: qm2 (???) -- Involved in Mission: Bastok 6-1 -- @pos -325 0 -111 125 ----------------------------------- package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil; ----------------------------------- require("scripts/globals...
gpl-3.0
AlexandreCA/darkstar
scripts/zones/Yhoator_Jungle/npcs/qm2.lua
13
1933
----------------------------------- -- Area: Yhoator Jungle -- NPC: ??? Used for Norg quest "Stop Your Whining" -- @pos -94.073 -0.999 22.295 124 ----------------------------------- package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); r...
gpl-3.0
martolini/Vana
scripts/instances/zakumSignup.lua
1
1048
--[[ Copyright (C) 2008-2015 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
samboy/Oblige
attic/gen_weird.lua
1
8002
-------------------------------------------------- -- EXPERIMENTAL GENERATION OF WEIRD SHAPES -- -- (c) 2014 Andrew Apted, all rights reserved -- -------------------------------------------------- gui = { random = math.random } require '_util' SHOW_GHOST = false SHOW_STAIRCASE = false ALLOW_CLOSED_SQUARE...
gpl-2.0
chourobin/kong
spec/plugins/ratelimiting/daos_spec.lua
12
3625
local spec_helper = require "spec.spec_helpers" local timestamp = require "kong.tools.timestamp" local uuid = require "uuid" local env = spec_helper.get_env() local dao_factory = env.dao_factory local ratelimiting_metrics = dao_factory.ratelimiting_metrics describe("Rate Limiting Metrics", function() local api_id =...
mit
AlexandreCA/darkstar
scripts/zones/West_Sarutabaruta/TextIDs.lua
13
2666
-- 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 = 6384; -- Obtained: <item>. GIL_OBTAINED = 6385; -- Obtained <number> gil. KEYITEM_OBTAINED = 6387; -- Obt...
gpl-3.0
AlexandreCA/darkstar
scripts/globals/items/grape_daifuku+1.lua
35
1864
----------------------------------------- -- ID: 6344 -- Item: grape_daifuku+1 -- Food Effect: 60 Min, All Races ----------------------------------------- -- HP + 30 (Pet & Master) -- Vitality + 4 (Pet & Master) -- Master MAB + 4 , Pet MAB + 15 -- Accuracy + 11% Cap: 70 (Pet & Master) Pet Cap: 81 ----------------------...
gpl-3.0
AlexandreCA/update
scripts/zones/RaKaznar_Turris/Zone.lua
29
1324
----------------------------------- -- -- Zone: Ra’Kanzar Turris (277) -- ----------------------------------- package.loaded["scripts/zones/RaKaznar_Turris/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/RaKaznar_Turris/TextIDs"); -----------...
gpl-3.0
AlexandreCA/darkstar
scripts/zones/Apollyon/bcnms/SE_Apollyon.lua
13
1438
----------------------------------- -- Area: Appolyon -- Name: SE_Apollyon ----------------------------------- require("scripts/globals/limbus"); require("scripts/globals/keyitems"); -- After registering the BCNM via bcnmRegister(bcnmid) function onBcnmRegister(player,instance) SetServerVariable("[SE_Apollyon]Uniq...
gpl-3.0
dromozoa/dromozoa-chunk
dromozoa/chunk/writer.lua
3
8283
-- Copyright (C) 2015 Tomoyuki Fujimori <moyu@dromozoa.com> -- -- This file is part of dromozoa-chunk. -- -- dromozoa-chunk 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-3.0
lancehilliard/TGNS
mods/tgns/output/lua/shine/extensions/tgnsbadges/server.lua
1
3556
local md = TGNSMessageDisplayer.Create("BADGES") local badgeNames = {} local badgeDescriptions = {} Plugin.HasConfig = false -- Plugin.ConfigName = "tgnsbadges.json" local function tellTargetAboutSource(targetClient, sourceClient) local badgeName = badgeNames[TGNS.GetClientSteamId(sourceClient)] if badgeName then ...
mit
AlexandreCA/darkstar
scripts/globals/weaponskills/requiescat.lua
10
1317
----------------------------------- -- Requiescat -- Sword weapon skill -- Skill level: MERIT -- Delivers a five-hit attack. Attack power varies with TP. -- Element: None -- Modifiers: MND:73~85% -- 100%TP 200%TP 300%TP -- ALL 1.0 ----------------------------------- require("scripts/globals/status"); requ...
gpl-3.0
AlexandreCA/darkstar
scripts/globals/items/derfland_pear.lua
18
1191
----------------------------------------- -- ID: 4352 -- Item: derfland_pear -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility -3 -- Intelligence 1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -...
gpl-3.0
AlexandreCA/darkstar
scripts/zones/Lower_Jeuno/npcs/_6tc.lua
25
4144
----------------------------------- -- Area: Lower Jeuno -- NPC: Door: "Neptune's Spire" -- Starts and Finishes Quest: Beat Around the Bushin -- @zone 245 -- @pos 35 0 -15 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts...
gpl-3.0
AlexandreCA/update
scripts/globals/spells/victory_march.lua
18
1419
----------------------------------------- -- Spell: Victory March -- Gives party members Haste ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target,spe...
gpl-3.0
niedzielski/premake-4.4-beta4
src/base/table.lua
12
3195
-- -- table.lua -- Additions to Lua's built-in table functions. -- Copyright (c) 2002-2008 Jason Perkins and the Premake project -- -- -- Returns true if the table contains the specified value. -- function table.contains(t, value) for _,v in pairs(t) do if (v == value) then return true end end retu...
bsd-3-clause
AlexandreCA/update
scripts/zones/Windurst_Waters_[S]/npcs/Lutete.lua
38
1110
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Lutete -- Type: Standard NPC -- @zone: 94 -- @pos 169.205 -0.879 -9.107 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; ----...
gpl-3.0
nwf/openwrt-luci
applications/luci-app-asterisk/luasrc/model/cbi/asterisk/dialplan_out.lua
68
3021
-- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local ast = require("luci.asterisk") local function find_outgoing_contexts(uci) local c = { } local h = { } -- uci:foreach("asterisk", "dialplan", -- function(s) -- if not h[s['.name']] then -- c[#c+1]...
apache-2.0
AlexandreCA/darkstar
scripts/zones/Port_Windurst/npcs/Tokaka.lua
12
2993
----------------------------------- -- Area: Port Windurst -- NPC: Tokaka -- Starts & Finishes Repeatable Quest: Something Fishy ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/global...
gpl-3.0
niedzielski/premake-4.4-beta4
tests/actions/vstudio/vc2010/test_link_settings.lua
2
4846
-- -- tests/actions/vstudio/vc2010/test_link_settings.lua -- Validate linker settings in Visual Studio 2010 C/C++ projects. -- Copyright (c) 2011 Jason Perkins and the Premake project -- T.vstudio_vs2010_link_settings = { } local suite = T.vstudio_vs2010_link_settings local vc2010 = premake.vstudio.vc2010 -- -- S...
bsd-3-clause
sudkannan/likwid
src/applications/likwid-perfctr.lua
2
20498
#!<PREFIX>/bin/likwid-lua --[[ * ======================================================================================= * * Filename: likwid-perfctr.lua * * Description: An application to read out performance counter registers * on x86 processors * * Version: <VERSION> *...
gpl-3.0
AlexandreCA/update
scripts/zones/West_Ronfaure/npcs/Laillera.lua
17
1111
----------------------------------- -- Area: West Ronfaure -- NPC: Laillera -- @pos -127.297 -62.000 266.800 100 ----------------------------------- package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Wes...
gpl-3.0
AlexandreCA/update
scripts/globals/abilities/samurai_roll.lua
9
2750
----------------------------------- -- Ability: Samurai Roll -- Enhances "Store TP" effect for party members within area of effect -- Optimal Job: Samurai -- Lucky Number: 2 -- Unlucky Number: 6 -- Level 37 -- -- Die Roll |No SAM |With SAM -- 1 |+8 |+18 -- 2 |+32 |+42 -- 3 ...
gpl-3.0
exercism/xlua
exercises/practice/space-age/space-age_spec.lua
3
1563
local SpaceAge = require('space-age') describe('space-age', function() it('age in seconds', function() local age = SpaceAge:new(1000000) assert.are.equal(1000000, age.seconds) end) it('age in Earth years', function() local age = SpaceAge:new(1000000000) assert.are.equal(31.69, age.on_earth()) ...
mit
AlexandreCA/update
scripts/zones/La_Theine_Plateau/npcs/Dimensional_Portal.lua
12
1393
----------------------------------- -- 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(...
gpl-3.0
AlexandreCA/update
scripts/zones/The_Eldieme_Necropolis/npcs/qm1.lua
17
1641
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: ??? -- Involved in Quests: Acting in Good Faith -- @zone 195 -- @pos -17 0 59 (I-10) -- @pos -- @pos -- @pos ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; --------------...
gpl-3.0
AlexandreCA/update
scripts/zones/Aht_Urhgan_Whitegate/npcs/Fayeewah.lua
34
1200
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Fayeewah -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); require...
gpl-3.0
AlexandreCA/darkstar
scripts/globals/abilities/pets/glittering_ruby.lua
26
1148
--------------------------------------------------- -- Glittering Ruby --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); --------------------------------------------------- function onAbilityCheck(pla...
gpl-3.0
AlexandreCA/darkstar
scripts/globals/items/plate_of_salmon_sushi.lua
18
1467
----------------------------------------- -- ID: 5663 -- Item: plate_of_salmon_sushi -- Food Effect: 30Min, All Races ----------------------------------------- -- Strength 1 -- Accuracy % 14 -- Ranged ACC % 14 ----------------------------------------- require("scripts/globals/status"); -------------------------------...
gpl-3.0
AlexandreCA/update
scripts/zones/Port_Windurst/npcs/Dehn_Harzhapan.lua
38
1037
----------------------------------- -- Area: Port Windurst -- NPC: Dehn Harzhapan -- Type: Standard NPC -- @zone: 240 -- @pos -7.974 -7 152.633 -- -- Auto-Script: Requires Verification (Verfied By Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ------------...
gpl-3.0
AlexandreCA/darkstar
scripts/zones/Bastok_Markets_[S]/npcs/Silke.lua
13
1217
----------------------------------- -- Area: Bastok Markets (S) -- NPC: Silke -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Bastok_Markets_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Bastok_Markets_[S]/TextIDs"); require("scripts/globals/...
gpl-3.0
AlexandreCA/update
scripts/zones/Mhaura/npcs/Orlando.lua
15
3535
----------------------------------- -- Area: Mhaura -- NPC: Orlando -- Type: Standard NPC -- @pos -37.268 -9 58.047 249 ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mhaura/TextIDs"); require("scripts/globals/ke...
gpl-3.0
AlexandreCA/darkstar
scripts/globals/spells/hyoton_san.lua
21
1278
----------------------------------------- -- Spell: Hyoton: San -- Deals ice damage to an enemy and lowers its resistance against fire. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast --------------...
gpl-3.0
AlexandreCA/darkstar
scripts/globals/items/chunk_of_orobon_meat.lua
18
1586
----------------------------------------- -- ID: 5563 -- Item: Chunk of Orobon Meat -- Effect: 5 Minutes, food effect, Galka Only ----------------------------------------- -- HP 10 -- MP -10 -- Strength +6 -- Intelligence -8 -- Demon Killer 10 ----------------------------------------- require("scripts/globals/status")...
gpl-3.0
lucgagnon/ntopng
scripts/lua/inc/sankey.lua
5
8975
-- -- (C) 2014-15-15 - ntop.org -- ifstats = interface.getStats() print [[ <div id = "alert_placeholder"></div> <style> .node rect { cursor: move; fill-opacity: .9; shape-rendering: crispEdges; } .node text { pointer-events: none; text-shadow: 0 1px 0 #fff; } .link { fill: none; stroke: #000; str...
gpl-3.0
lancehilliard/TGNS
mods/tgns/output/lua/shine/extensions/enforceteamsizes.lua
1
1120
local md local Plugin = {} function Plugin:JoinTeam(gamerules, player, newTeamNumber, force, shineForce) local cancel = false if TGNS.IsGameplayTeamNumber(newTeamNumber) then local client = TGNS.GetClient(player) if not (force or shineForce) and not TGNS.GetIsClientVirtual(client) then local playerList = TGNS...
mit
lucgagnon/ntopng
scripts/lua/if_stats_ndpi.lua
5
2048
-- -- (C) 2013-15 - ntop.org -- dirs = ntop.getDirs() package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path require "lua_utils" require "graph_utils" interface.select(ifname) ifstats = interface.getStats() format = _GET["format"] if(format == "json") then sendHTTPHeader('application/js...
gpl-3.0
JiessieDawn/skynet
test/testbson.lua
29
1541
local bson = require "bson" local sub = bson.encode_order( "hello", 1, "world", 2 ) do -- check decode encode_order local d = bson.decode(sub) assert(d.hello == 1 ) assert(d.world == 2 ) end local function tbl_next(...) print("--- next.a", ...) local k, v = next(...) print("--- next.b", k, v) return k, v end...
mit
AlexandreCA/update
scripts/globals/mobskills/Blade_Metsu.lua
18
1156
--------------------------------------------- -- Blade Metsu -- -- Description: Additional effect: Paralysis -- Hidden effect: temporarily enhances Subtle Blow effect. -- Type: Physical -- Range: Melee --------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/sta...
gpl-3.0
elfinlazz/melia
system/scripts/npc/field/f_rokas_24.lua
1
9038
addnpc(40120, "QUEST_20150317_000002", "f_rokas_24", 913, 123, -1882, -45, "npc_dummy") addnpc(20108, "QUEST_LV_0100_20150317_000042", "f_rokas_24", 476, 163, -2042, -45, "npc_dummy") addnpc(20158, "QUEST_LV_0100_20150317_000051", "f_rokas_24", 1598, 16, -185, 45, "npc_dummy") addnpc(147422, "QUEST_LV_0100_20150317_000...
gpl-3.0
AlexandreCA/update
scripts/zones/Windurst_Woods/npcs/Abby_Jalunshi.lua
38
1042
----------------------------------- -- Area: Windurst Woods -- NPC: Abby Jalunshi -- Type: Moghouse Renter -- @zone: 241 -- @pos -101.895 -5 36.172 -- -- Auto-Script: Requires Verification (Verfied By Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; -------...
gpl-3.0
AlexandreCA/darkstar
scripts/zones/Port_Windurst/npcs/Honorio.lua
13
1388
----------------------------------- -- Area: Port Windurst -- NPC: Honorio -- @zone 240 -- @pos 218 -5 114 ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); requ...
gpl-3.0
AlexandreCA/update
scripts/zones/PsoXja/npcs/_095.lua
17
1614
----------------------------------- -- Area: Pso'Xja -- NPC: _095 (Stone Gate) -- Notes: Spawns Gargoyle when triggered -- @pos -330.000 14.074 -261.600 9 ----------------------------------- package.loaded["scripts/zones/PsoXja/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Pso...
gpl-3.0
AlexandreCA/update
scripts/zones/Bastok_Mines/npcs/Proud_Beard.lua
30
1726
----------------------------------- -- Area: Bastok Mines -- NPC: Proud Beard -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; require("scripts/zones/Bastok_Mines/TextIDs"); require("scripts/globals/events...
gpl-3.0
AlexandreCA/darkstar
scripts/zones/Kazham/npcs/Thali_Mhobrum.lua
13
1641
----------------------------------- -- Area: Kazham -- NPC: Thali Mhobrum -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); local path = { 55.816410, -11.000000, -43.992680, 54.761787, -11.000000, -44.046181, 51.8058...
gpl-3.0
AlexandreCA/update
scripts/zones/Windurst_Waters/npcs/Zelala.lua
38
1035
----------------------------------- -- Area: Windurst Waters -- NPC: Zelala -- Type: Map Marker -- @zone: 238 -- @pos 169.855 -1.295 -3.238 -- -- Auto-Script: Requires Verification (Verfied By Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; --------------...
gpl-3.0
AlexandreCA/update
scripts/globals/weaponskills/geirskogul.lua
18
2004
----------------------------------- -- Geirskogul -- Polearm weapon skill -- Skill Level: N/A -- Gae Assail/Gungnir: Shock Spikes. -- This weapon skill is only available with the stage 5 relic Polearm Gungnir, within Dynamis with the stage 4 Gae Assail, or by activating the latent effect on the Skogul Lance. -- A...
gpl-3.0
gaodayihao/XBurner
Libs/DiesalGUI-1.0/Objects/ScrollingEditBox.lua
2
11106
-- $Id: ScrollingEditBox.lua 53 2016-07-12 21:56:30Z diesal2010 $ local DiesalGUI = LibStub('DiesalGUI-1.0') -- ~~| Libraries |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ local DiesalTools = LibStub('DiesalTools-1.0') -- ...
mit