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
lichtl/darkstar
scripts/globals/items/homemade_rice_ball.lua
18
1105
----------------------------------------- -- ID: 5224 -- Item: homemade_rice_ball -- Food Effect: 30Min, All Races ----------------------------------------- -- Dexterity 1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ------------...
gpl-3.0
RunAwayDSP/darkstar
scripts/globals/items/serving_of_flounder_meuniere_+1.lua
11
1363
----------------------------------------- -- 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
lichtl/darkstar
scripts/zones/Ship_bound_for_Selbina/npcs/Rajmonda.lua
14
1208
----------------------------------- -- Area: Ship bound for Selbina -- NPC: Rajmonda -- Type: Guild Merchant: Fishing Guild -- @pos 1.841 -2.101 -9.000 220 ----------------------------------- package.loaded["scripts/zones/Ship_bound_for_Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/glo...
gpl-3.0
lichtl/darkstar
scripts/zones/Dynamis-Tavnazia/mobs/Vanguard_Eye.lua
13
1955
----------------------------------- -- Area: Dynamis tavnazia -- NPC: Vanguard_Eye ----------------------------------- package.loaded["scripts/zones/Dynamis-Tavnazia/TextIDs"] = nil; ----------------------------------- require("scripts/globals/dynamis"); require("scripts/zones/Dynamis-Tavnazia/TextIDs"); ----------...
gpl-3.0
sjznxd/lc-20130222
modules/admin-full/luasrc/model/cbi/admin_network/routes.lua
86
2540
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- req...
apache-2.0
j0hnma/szredis
deps/lua/test/sort.lua
889
1494
-- two implementations of a sort function -- this is an example only. Lua has now a built-in function "sort" -- extracted from Programming Pearls, page 110 function qsort(x,l,u,f) if l<u then local m=math.random(u-(l-1))+l-1 -- choose a random pivot in range l..u x[l],x[m]=x[m],x[l] -- swap pivot to first posit...
bsd-3-clause
RunAwayDSP/darkstar
scripts/globals/weaponskills/gale_axe.lua
10
1350
----------------------------------- -- Gale Axe -- Axe weapon skill -- Skill level: 70 -- Chokes enemy. Duration of effect varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Breeze Gorget. -- Aligned with the Breeze Belt. -- Element: Wind -- Modifiers: STR:30% -- 100%TP 200%TP 300%TP -- 1.00 ...
gpl-3.0
RunAwayDSP/darkstar
scripts/zones/Promyvion-Mea/IDs.lua
12
2553
----------------------------------- -- Area: Promyvion-Mea ----------------------------------- require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.PROMYVION_MEA] = { text = { ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item>. Come back a...
gpl-3.0
RunAwayDSP/darkstar
scripts/globals/abilities/pets/reactive_shield.lua
12
1026
--------------------------------------------- -- Reactive Shield --------------------------------------------- require("scripts/globals/automatonweaponskills") require("scripts/globals/settings") require("scripts/globals/status") require("scripts/globals/msg") --------------------------------------------- function onM...
gpl-3.0
lichtl/darkstar
scripts/zones/Eastern_Altepa_Desert/npcs/Eulaclaire.lua
27
1698
----------------------------------- -- Area: Eastern Altepa Desert -- NPC: Eulaclaire -- Type: Chocobo Renter ----------------------------------- require("scripts/globals/chocobo"); require("scripts/globals/keyitems"); require("scripts/globals/settings"); require("scripts/globals/status"); --------------------------...
gpl-3.0
NiLuJe/koreader
spec/unit/readerui_spec.lua
4
2506
describe("Readerui module", function() local DocumentRegistry, ReaderUI, DocSettings, UIManager, Screen local sample_epub = "spec/front/unit/data/leaves.epub" local readerui setup(function() require("commonrequire") DocumentRegistry = require("document/documentregistry") ReaderUI...
agpl-3.0
OBlanka/BolScripts
MrArticunoLaucher.lua
23
3851
--[[ _____ _____ __ .__ / \_______ / _ \________/ |_|__| ____ __ __ ____ ____ / \ / \_ __ \ / /_\ \_ __ \ __\ |/ ___\| | \/ \ / _ \ / Y \ | \/ / | \ | \/| | | \ \___| | / | ( <_> ) \____|__ /__| \___...
gpl-2.0
lichtl/darkstar
scripts/zones/Port_Windurst/npcs/Chipmy-Popmy.lua
17
1288
----------------------------------- -- Area: Port Windurst -- NPC: Chipmy-Popmy -- Working 100% ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/missions"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(playe...
gpl-3.0
lichtl/darkstar
scripts/zones/Abyssea-Grauberg/npcs/qm4.lua
14
1390
----------------------------------- -- Zone: Abyssea-Grauberg -- NPC: qm4 (???) -- Spawns Bomblix Flamefinger -- @pos ? ? ? 254 ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,...
gpl-3.0
RunAwayDSP/darkstar
scripts/globals/items/bowl_of_pumpkin_soup.lua
11
1374
----------------------------------------- -- ID: 4430 -- Item: bowl_of_pumpkin_soup -- Food Effect: 3Hrs, All Races ----------------------------------------- -- HP % 1 (cap 110) -- Vitality -1 -- Agility 3 -- HP Recovered While Healing 5 -- Ranged Accuracy % 8 (cap 20) ----------------------------------------- require(...
gpl-3.0
ryuslash/avandu-lua
spec/avandu_unread_spec.lua
1
2201
-- Avandu Lua --- Lua client library for Tiny Tiny RSS -- Copyright (C) 2014 Tom Willemse -- 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 opt...
gpl-3.0
sjznxd/lc-20130222
applications/luci-diag-devinfo/luasrc/controller/luci_diag/netdiscover_common.lua
76
3146
--[[ Luci diag - Diagnostics controller module (c) 2009 Daniel Dickinson Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 ]]-- module("luci.cont...
apache-2.0
dmacd/FB-try1
lapis/web.lua
2
5594
local lapis = require("lapis") local db = require("lapis.db") local Model do local _obj_0 = require("lapis.db.model") Model = _obj_0.Model end local config do local _obj_0 = require("lapis.config") config = _obj_0.config end local insert do local _obj_0 = table insert = _obj_0.insert end local sort do loc...
bsd-3-clause
lichtl/darkstar
scripts/globals/mobskills/Wire_Cutter.lua
35
1160
--------------------------------------------------- -- Wire_Cutter -- Single-target damage (~500-1500), absorbed by 2 Utsusemi shadows. -- --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); -------------...
gpl-3.0
Joemag/Egg-Battle
states/GameState.lua
1
6384
--[[ Copyright 2014 Sergej Nisin Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in w...
apache-2.0
RunAwayDSP/darkstar
scripts/zones/Northern_San_dOria/npcs/Ulycille.lua
12
1397
----------------------------------- -- Area: Northern San d'Oria -- NPC: Ulycille -- Type: Woodworking Adv. Synthesis Image Support -- !pos -183.320 9.999 269.651 231 ----------------------------------- require("scripts/globals/status"); require("scripts/globals/crafting"); local ID = require("scripts/zones/Northern_S...
gpl-3.0
RunAwayDSP/darkstar
scripts/zones/Eastern_Altepa_Desert/npcs/qm2.lua
9
1389
----------------------------------- -- Area: Eastern Altepa Desert -- NPC: qm2 (???) -- Involved In Quest: 20 in Pirate Years -- !pos 47.852 -7.808 403.391 114 ----------------------------------- local ID = require("scripts/zones/Eastern_Altepa_Desert/IDs") require("scripts/globals/keyitems") -------------------------...
gpl-3.0
hfjgjfg/persianguard
plugins/linkpv.lua
107
31031
do local function check_member(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local msg = cb_extra.msg for k,v in pairs(result.members) do local member_id = v.id if member_id ~= our_id then -- Group configuration data[tostring(msg.to.id)] = { ...
gpl-2.0
lichtl/darkstar
scripts/zones/Abyssea-Tahrongi/mobs/Iratham.lua
17
1284
----------------------------------- -- Area: Abyssea - Tahrongi -- Mob: Iratham ----------------------------------- require("scripts/globals/status"); require("scripts/globals/titles"); ----------------------------------- -- onMobInitialize ----------------------------------- function onMobInitialize(mob) end; ----...
gpl-3.0
RunAwayDSP/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Waoud.lua
9
7704
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Waoud -- Standard Info NPC -- Involved in quests: An Empty Vessel (BLU flag), Beginnings (BLU AF1) -- !pos 65 -6 -78 50 ----------------------------------- require("scripts/globals/settings") require("scripts/globals/status") require("scripts/gl...
gpl-3.0
taiha/luci
applications/luci-app-radvd/luasrc/model/cbi/radvd/prefix.lua
61
3557
-- Copyright 2010 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local sid = arg[1] local utl = require "luci.util" m = Map("radvd", translatef("Radvd - Prefix"), translate("Radvd is a router advertisement daemon for IPv6. " .. "It listens to router solicitations and send...
apache-2.0
RunAwayDSP/darkstar
scripts/zones/Hall_of_the_Gods/npcs/Shimmering_Circle.lua
9
1340
----------------------------------- -- Area: Hall of the Gods -- NPC: Shimmering Circle -- Lifts players up to the sky! -- !pos 0 -20 147 251 ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); local ID = require("scripts/zones/Hall_of_the_Gods/IDs"); ---------...
gpl-3.0
lichtl/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
scscgit/scsc_wildstar_addons
Hephaestus/lib/CallbackHandler/CallbackHandler-1.0.lua
5
9240
--[[ $Id: CallbackHandler-1.0.lua 14 2010-08-09 00:43:38Z mikk $ ]] -- Adapted to WildStar Packaging format by Sinaloit local MAJOR, MINOR = "Gemini:CallbackHandler-1.0", 3 -- Get a reference to the package information if any local APkg = Apollo.GetPackage(MAJOR) -- If there was an older version loaded we need to see i...
mit
lichtl/darkstar
scripts/zones/Phomiuna_Aqueducts/npcs/_0rw.lua
14
1315
----------------------------------- -- Area: Phomiuna_Aqueducts -- NPC: _0rw (Oil Lamp) -- Notes: Opens south door at J-9 from inside. -- @pos 103.703 -26.180 83.000 27 ----------------------------------- package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil; ----------------------------------- require("sc...
gpl-3.0
lc412/skynet
lualib/skynet.lua
19
15386
local c = require "skynet.core" local tostring = tostring local tonumber = tonumber local coroutine = coroutine local assert = assert local pairs = pairs local pcall = pcall local profile = require "profile" coroutine.resume = profile.resume coroutine.yield = profile.yield local proto = {} local skynet = { -- read ...
mit
RunAwayDSP/darkstar
scripts/zones/Mamool_Ja_Training_Grounds/instances/preemptive_strike.lua
11
1724
----------------------------------- -- -- Assault: Preemptive Strike -- ----------------------------------- local ID = require("scripts/zones/Mamool_Ja_Training_Grounds/IDs") require("scripts/globals/instance") ----------------------------------- function afterInstanceRegister(player) local instance = player:getIn...
gpl-3.0
OctoEnigma/shiny-octo-system
gamemodes/terrortown/gamemode/cl_tips.lua
1
6459
---- Tips panel shown to specs CreateConVar("ttt_tips_enable", "1", FCVAR_ARCHIVE) local draw = draw TIPS = {} --- Tip cycling button PANEL = {} PANEL.Colors = { default = COLOR_LGRAY, hover = COLOR_WHITE, press = COLOR_RED }; function PANEL:Paint() -- parent panel will deal with the normal bg, we onl...
mit
CZ-NIC/turris-updater
src/lib/lua/planner.lua
1
32775
--[[ Copyright 2016-2017, CZ.NIC z.s.p.o. (http://www.nic.cz/) This file is part of the turris updater. Updater 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...
gpl-3.0
raingloom/yaoui
examples/anime/yaoui/UI/Button.lua
9
2858
local ui_path = (...):match('(.-)[^%.]+$') .. '.' local Object = require(ui_path .. 'classic.classic') local Base = require(ui_path .. 'Base') local Button = Object:extend('Button') local Draggable = require(ui_path .. 'Draggable') local Resizable = require(ui_path .. 'Resizable') Button:implement(Base) Button:implemen...
mit
LuaDist2/loowy
src/loowy/client.lua
1
55407
-- -- Project: Loowy -- LUA WAMP client -- -- User: Konstantin Burkalev -- https://github.com/KSDaemon/Loowy -- -- Copyright 2014 KSDaemon. Licensed under the MIT License. -- See @license text at http://www.opensource.org/licenses/mit-license.php -- Date: 20.11.14 -- --require "debug.var_dump" local _M = { _VERSI...
mit
RunAwayDSP/darkstar
scripts/zones/Bastok_Markets/npcs/Umberto.lua
9
1080
----------------------------------- -- Area: Bastok Markets -- NPC: Umberto -- Type: Quest NPC -- Involved in Quest: Too Many Chefs -- !pos -56.896 -5 -134.267 235 ----------------------------------- local ID = require("scripts/zones/Bastok_Markets/IDs"); ----------------------------------- function onTrade(player,n...
gpl-3.0
RunAwayDSP/darkstar
scripts/globals/abilities/pets/inferno.lua
11
1186
--------------------------------------------------- -- Inferno --------------------------------------------------- require("/scripts/globals/settings") require("/scripts/globals/status") require("/scripts/globals/monstertpmoves") require("/scripts/globals/magic") --------------------------------------------------- fu...
gpl-3.0
YuanPeir-Chen/turbo-support-mipsel
examples/curl.lua
7
1274
--- Turbo.lua Simple Curl clone using HTTPClient. -- A really simple one... -- -- Copyright 2013 John Abrahamsen -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.or...
apache-2.0
lichtl/darkstar
scripts/globals/items/silken_squeeze.lua
18
1242
----------------------------------------- -- ID: 5630 -- Item: Silken Squeeze -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP Recovered while healing +4 -- MP Recovered while healing +5 ----------------------------------------- require("scripts/globals/status"); ...
gpl-3.0
lichtl/darkstar
scripts/zones/Sealions_Den/mobs/Tenzen.lua
23
1173
----------------------------------- -- Area: Sealion den -- NPC: Tenzen ----------------------------------- ----------------------------------- -- onMobSpawn ----------------------------------- function onMobSpawn(mob) end; ----------------------------------- -- onMobEngaged ----------------------------------- fun...
gpl-3.0
Insurgencygame/LivingDead
TheLivingDeadv0.1.sdd/units/unused/tawf009.lua
1
3283
return { tawf009 = { acceleration = 0.079999998211861, activatewhenbuilt = true, brakerate = 0.30000001192093, buildcostenergy = 11702, buildcostmetal = 1686, buildpic = "TAWF009.DDS", buildtime = 21087, canmove = true, category = "UNDERWATER ALL WEAPON NOTAIR NOTHOVER", collisionvolumeoffsets = "0...
gpl-2.0
erfan1292/1234
plugins/msg_checks.lua
3
12983
--Begin msg_checks.lua --Begin pre_process function local function pre_process(msg) -- Begin 'RondoMsgChecks' text checks by @rondoozle 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.moderatio...
gpl-2.0
Anarchid/Zero-K
units/turretaaheavy.lua
2
4405
return { turretaaheavy = { unitname = [[turretaaheavy]], name = [[Artemis]], description = [[Very Long-Range Anti-Air Missile Tower, Drains 4 m/s, 20 second stockpile]], acceleration = 0, activateWhenBuilt = true, b...
gpl-2.0
Anarchid/Zero-K
units/chicken_dodo.lua
6
2361
return { chicken_dodo = { unitname = [[chicken_dodo]], name = [[Dodo]], description = [[Chicken Bomb]], acceleration = 18, activateWhenBuilt = true, brakeRate = 1.23, buildCostEnergy = 0, buildCostMetal = 0, builder ...
gpl-2.0
Mutos/StarsOfCall-NAEV
dat/events/naev_needs_YOU.lua
14
4642
--[[ EVENT TITLE: Naev Needs You! DESCRIPTION: An event that pops up to encourage new players to contribute to the project. Mission Stages: [1] The player gets a glimpse of the creators of the universe at work. ]]-- -- localization stuff, translators would work here lang = naev.lang() if ...
gpl-3.0
fegimanam/LNT
plugins/banhammer.lua
34
11497
local function pre_process(msg) -- SERVICE MESSAGE if msg.action and msg.action.type then local action = msg.action.type -- Check if banned user joins chat by link if action == 'chat_add_user_link' then local user_id = msg.from.id print('Checking invited user '..user_id) local banned ...
gpl-2.0
Sasu98/Nerd-Gaming-Public
resources/[no_ng_tag]/parachute/client_anim.lua
7
14422
--[[ Client animation library by arc_ Version 1.0.0 Licence ---------------- You are free to modify this file and redistribute it with your changes. However, always mention that you changed it (and eventually what changes you made) and keep the original author, version number and lice...
mit
Xseam/open_reallife
open_reallife/server/sql/structure.lua
2
1030
SQL_STRUCTURE = {} -- TABLE accounts SQL_STRUCTURE["accounts"] = { ["id"] = { ["primarykey"] = true, ["datatype"] = "INT", ["notnull"] = true, ["autoincrement"] = true, }, ["username"] = { ["datatype"] = "VARCHAR", ["length"] = 32, }, ["password"] = { ["datatype"] = "VARCHAR", ...
mit
nnesse/b2l-tools
lgi/tests/cairo.lua
2
12122
--[[-------------------------------------------------------------------------- LGI testsuite, cairo overrides test group. Copyright (c) 2012 Pavel Holejsovsky Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php --]]---------------------------------------------------------------...
gpl-2.0
LORgames/premake-core
modules/vstudio/tests/cs2005/test_debug_props.lua
14
2053
-- -- tests/actions/vstudio/cs2005/test_debug_props.lua -- Test debugging and optimization flags block of a Visual Studio 2005+ C# project. -- Copyright (c) 2012-2013 Jason Perkins and the Premake project -- local p = premake local suite = test.declare("vstudio_cs2005_debug_props") local cs2005 = p.vstudio.cs2005 ...
bsd-3-clause
mnemnion/grym
src/knit/knit.lua
1
2131
local L = require "lpeg" local s = require "status" () local a = require "ansi" s.chatty = true s.verbose = false local pl_file = require "pl.file" local pl_dir = require "pl.dir" local pl_path = require "pl.path" local read, write, delete = pl_file.read, pl_file.write, pl_file.delete local knitter = require ...
mit
Anarchid/Zero-K
LuaRules/Gadgets/unit_timeslow.lua
5
9633
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- function gadget:GetInfo() return { name = "Time slow v2", desc = "Time slow Weapon", author = "Google Frog , (MidKnight mad...
gpl-2.0
lxl1140989/dmsdk
feeds/luci/applications/luci-upnp/luasrc/model/cbi/upnp/upnp.lua
68
4034
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008-2011 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at htt...
gpl-2.0
flavorzyb/cocos2d-x
samples/Lua/TestLua/Resources/luaScript/CurrentLanguageTest/CurrentLanguageTest.lua
8
2140
local function CurrentLanguageTest() local ret = CCLayer:create() local label = CCLabelTTF:create("Current language Test", "Arial", 28) ret:addChild(label, 0) label:setPosition( ccp(VisibleRect:center().x, VisibleRect:top().y-50) ) local labelLanguage = CCLabelTTF:create("", "Arial", 20) label...
gpl-2.0
Anarchid/Zero-K
ModelMaterials/127_units_fallback.lua
8
1166
local matTemplate = VFS.Include("ModelMaterials/Templates/defaultMaterialTemplate.lua") local materials = { unitsFallback = Spring.Utilities.MergeWithDefault(matTemplate, { texUnits = { [0] = "%%UNITDEFID:0", [1] = "%%UNITDEFID:1", }, deferredOptions = { materialIndex = 127, } }) } ---------------...
gpl-2.0
iamgreaser/iceball
pkg/iceball/radtest/client_start.lua
4
4169
--[[ This file is part of Ice Lua Components. Ice Lua Components 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 License, or (at your option) any later version. ...
gpl-3.0
samtaylorblack/black
plugins/fun.lua
1
14645
--Begin Fun.lua By @GODILOVEYOUME2 --Special Thx To @GODILOVEYOUME2 -------------------------------- local function run_bash(str) local cmd = io.popen(str) local result = cmd:read('*all') return result end -------------------------------- local api_key = nil local base_api = "https://maps.googleapis.com/m...
gpl-3.0
lxl1140989/dmsdk
feeds/luci/applications/luci-asterisk/luasrc/model/cbi/asterisk-mod-res.lua
80
3097
--[[ 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...
gpl-2.0
Insurgencygame/LivingDead
TheLivingDeadv0.1.sdd/luaui/widgets/unit_initial_queue.lua
1
15275
function widget:GetInfo() return { name = "Initial Queue", desc = "Allows you to queue buildings before game start", author = "Niobium", version = "1.4", date = "7 April 2010", license = "GNU GPL, v2 or later", layer = -1, -- Puts it above minimap_startboxes with layer 0 enab...
gpl-2.0
mamaddeveloper/DeveloperMMD_bot
plugins/invite.lua
299
1025
-- Invite other user to the chat group. -- Use !invite name User_name or !invite id id_number -- The User_name is the print_name (there are no spaces but _) do local function callback(extra, success, result) vardump(success) vardump(result) end local function run(msg, matches) local user = matches[2] -- Use...
gpl-2.0
PichotM/DarkRP
gamemode/modules/fadmin/fadmin/logging/sv_init.lua
1
7145
local logging FAdmin.StartHooks["Logging"] = function() FAdmin.Access.AddPrivilege("Logging", 3) FAdmin.Commands.AddCommand("Logging", function(ply, cmd, args) if not FAdmin.Access.PlayerHasPrivilege(ply, "Logging") then FAdmin.Messages.SendMessage(ply, 5, "No access!") return false end if not t...
mit
SimpleITK/Staging
Examples/Segmentation/ConnectedThresholdImageFilter.lua
2
1875
--[[========================================================================= - - Copyright Insight Software Consortium - - 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 - - ...
apache-2.0
hacklex/OpenRA
mods/ra/maps/monster-tank-madness/monster-tank-madness.lua
6
13988
AlliedUnits = { { delay = 0, types = { "1tnk", "1tnk", "2tnk", "2tnk" } }, { delay = DateTime.Seconds(3), types = { "e1", "e1", "e1", "e3", "e3" } }, { delay = DateTime.Seconds(7), types = { "e6" } } } ReinforceBaseUnits = { "1tnk", "1tnk", "2tnk", "arty", "arty" } CivilianEvacuees = { "c1", "c2", "c5", "c7", "c8" }...
gpl-3.0
Sannis/tarantool
test/app/console.test.lua
6
5298
#!/usr/bin/env tarantool local tap = require('tap') local console = require('console') local socket = require('socket') local yaml = require('yaml') local fiber = require('fiber') local ffi = require('ffi') local log = require('log') -- Supress console log messages log.level(4) local CONSOLE_SOCKET = '/tmp/tarantool...
bsd-2-clause
Insurgencygame/LivingDead
TheLivingDeadv0.1.sdd/luarules/gadgets/teamcomends.lua
1
2373
function gadget:GetInfo() return { name = "Team Com Ends", desc = "Implements com ends for allyteams", author = "KDR_11k (David Becker)", date = "2008-02-04", license = "Public domain", layer = 1, enabled = true } end -- this acts just like Com Ends except instead of killing a player's units when -- hi...
gpl-2.0
Wiladams/LJIT2lz4
testy/test_xxhash.lua
1
1783
package.path = package.path..";../?.lua" local xxhash_ffi = require("xxhash_ffi") local xxhash = require("xxhash") local digest32 = xxhash.digest32; local digest64 = xxhash.digest64; local src = "Hello World!"; local function test_simpleHash32() print("==== test_simpleHash32 ====") local digest = xxhash_ffi.LZ4_X...
mit
Anarchid/Zero-K
units/platespider.lua
4
3272
return { platespider = { unitname = [[platespider]], name = [[Spider Plate]], description = [[Parallel Unit Production]], acceleration = 0, brakeRate = 0, buildCostMetal = Shared.FACTORY_PLATE...
gpl-2.0
Anarchid/Zero-K
LuaUI/Widgets/chili_old/Controls/image.lua
6
2917
--//============================================================================= Image = Button:Inherit{ classname= "image", defaultWidth = 64, defaultHeight = 64, padding = {0,0,0,0}, color = {1,1,1,1}, file = nil, file2 = nil, flip = true; flip2 = true; keepAspect = true; noFont = true,...
gpl-2.0
LanceJenkinZA/prosody-modules
mod_mamsub/mod_mamsub.lua
16
1948
-- MAM Subscriptions prototype -- Copyright (C) 2015 Kim Alvefur -- -- This file is MIT/X11 licensed. local mt = require"util.multitable"; local st = require"util.stanza"; local xmlns_mamsub = "http://prosody.im/protocol/mamsub"; module:add_feature(xmlns_mamsub); local host_sessions = prosody.hosts[module.host].ses...
mit
The-HalcyonDays/darkstar
scripts/globals/mobskills/PW_Scorching_Lash.lua
13
1069
--------------------------------------------- -- Scorching Lash -- -- Description: Deals heavy damage to targets behind user. -- Type: Physical -- Utsusemi/Blink absorb: 2-3 shadows -- Range: Back -- Notes: Used only if a target with hate is behind them. Conal behind Cerberus. ----------------------------------...
gpl-3.0
The-HalcyonDays/darkstar
scripts/globals/items/ginger_cookie.lua
34
1344
----------------------------------------- -- ID: 4394 -- Item: ginger_cookie -- Food Effect: 3Min, All Races ----------------------------------------- -- Magic Regen While Healing 5 -- Plantoid Killer 5 -- Slow Resist 5 ----------------------------------------- require("scripts/globals/status"); ---------...
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Mhaura/npcs/Zexu.lua
17
1287
----------------------------------- -- Area: Mhaura -- NPC: Zexu -- Involved in Quests: The Sand Charm -- @pos 30 -8 25 249 ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mhaura/TextIDs"); require("scripts/...
gpl-3.0
The-HalcyonDays/darkstar
scripts/globals/spells/bluemagic/power_attack.lua
28
1761
----------------------------------------- -- Spell: Power Attack -- Deals critical damage. Chance of critical hit varies with TP -- Spell cost: 5 MP -- Monster Type: Vermin -- Spell Type: Physical (Blunt) -- Blue Magic Points: 1 -- Stat Bonus: MND+1 -- Level: 4 -- Casting Time: 0.5 seconds -- Recast Time: 7.2...
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Port_Jeuno/npcs/Horst.lua
12
3529
----------------------------------- -- Area: Port Jeuno -- NPC: Horst -- Type: Abyssea Warp NPC -- @pos -54.379 0.001 -10.061 246 ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_Jeuno/TextIDs"); -...
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Temenos/mobs/Enhanced_Tiger.lua
12
1044
----------------------------------- -- Area: Temenos W T -- NPC: Enhanced_Tiger ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); -----------------------...
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Cloister_of_Frost/npcs/Ice_Protocrystal.lua
12
1847
----------------------------------- -- Area: Cloister of Frost -- NPC: Ice Protocrystal -- Involved in Quests: Trial by Ice, Trial Size Trial by Ice -- @pos 558 0 596 203 ----------------------------------- package.loaded["scripts/zones/Cloister_of_Frost/TextIDs"] = nil; ------------------------------------- ...
gpl-3.0
lovetoys/preset
src/helper/math.lua
1
1622
-- Returns the distance between the two Positions. -- A position is specified as a table with two values: {x, y}. function distanceBetween(pos1, pos2) relativeX = pos1[1] - pos2[1] relativeY = pos1[2] - pos2[2] return math.sqrt(relativeX*relativeX + relativeY*relativeY) end function distanceBetweenEntitie...
mit
The-HalcyonDays/darkstar
scripts/zones/PsoXja/npcs/_093.lua
8
1608
----------------------------------- -- Area: Pso'Xja -- NPC: _093 (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
The-HalcyonDays/darkstar
scripts/globals/spells/thunderstorm.lua
31
1165
-------------------------------------- -- Spell: Thunderstorm -- Changes the weather around target party member to "thundery." -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------...
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Selbina/npcs/Yaya.lua
17
1463
----------------------------------- -- Area: Selbina -- NPC: Yaya -- Starts Quest: Under the sea -- @pos -19 -2 -16 248 ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); require("scripts/glo...
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Al_Zahbi/npcs/Dahaeel.lua
38
1025
----------------------------------- -- Area: Al Zahbi -- NPC: Dahaeel -- Type: Standard NPC -- @zone: 48 -- @pos -58.732 -6.999 68.096 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ------------------------...
gpl-3.0
GoblinInventor/Snail
visibilityHandler/hardoncollider/init.lua
9
9043
--[[ Copyright (c) 2011 Matthias Richter Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribu...
mit
The-HalcyonDays/darkstar
scripts/globals/spells/diaga_iii.lua
13
1870
----------------------------------------- -- Spell: Diaga III -- Lowers an enemy's defense and gradually deals light elemental damage. ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); --------------------------...
gpl-3.0
hxw804781317/MT7620N
package/ralink/ui/luci-mtk/src/modules/admin-full/luasrc/model/cbi/admin_system/system.lua
37
5651
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2011 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://w...
gpl-2.0
The-HalcyonDays/darkstar
scripts/zones/Norg/npcs/Achika.lua
19
1251
----------------------------------- -- Area: Norg -- NPC: Achika -- Type: Tenshodo Merchant -- @pos 1.300 0.000 19.259 252 ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/shop")...
gpl-3.0
godly-devotion/Baka-MPlayer-old
Baka MPlayer/bin/Debug/libquvi-scripts/0.9/media/sevenload.lua
3
2776
-- libquvi-scripts -- Copyright (C) 2010-2013 Toni Gundogdu <legatvs@gmail.com> -- -- This file is part of libquvi-scripts <http://quvi.sourceforge.net/>. -- -- This program is free software: you can redistribute it and/or -- modify it under the terms of the GNU Affero General Public -- License as published by the Fre...
gpl-2.0
Goranaws/Dominos
Dominos/bars/extraActionBar.lua
1
3306
if not _G['ExtraActionBarFrame'] then return end --[[ Globals ]]-- local AddonName, Addon = ... local KeyBound = LibStub('LibKeyBound-1.0') local Tooltips = Addon:GetModule('Tooltips') local Bindings = Addon.BindingsController --[[ buttons ]]-- local ExtraActionButton = Addon:CreateClass('CheckButton',...
bsd-3-clause
The-HalcyonDays/darkstar
scripts/zones/Mhaura/npcs/Hagain.lua
17
2190
----------------------------------- -- Area: Mhaura -- NPC: Hagain -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mhaura/TextIDs"); require("scripts/globals/keyitems"); require("scripts/...
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Wahraga.lua
19
1177
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Wahraga -- Guild Merchant: Alchemist Guild -- @pos -76.836 -6.000 140.331 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/global...
gpl-3.0
rrpgfirecast/firecast
Plugins/Sheets/Ficha Mutantes e Malfeitores 3e/output/rdkObjs/MM3/VantagemItem.lfm.lua
1
5487
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmVantagemItem() local obj = GUI.fromHandle(_obj_newObje...
apache-2.0
rrpgfirecast/firecast
Plugins/Sheets/Ficha The Maze/output/rdkObjs/TheMaze/DataScopeSelectionForm.lfm.lua
1
7037
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmDataScopeSelectionForm() local obj = GUI.fromHandle(_o...
apache-2.0
FluffyGods/IBG-Afghan-War-TDM-Content
IBG Afghan War TDM Content/lua/entities/wac_hc_ah1w/init.lua
1
1077
include("shared.lua") AddCSLuaFile("shared.lua") ENT.EngineForce = 45 ENT.Weight = 8500 ENT.MaxEnterDistance = 100 function ENT:SpawnFunction(p, tr) if (!tr.Hit) then return end local e = ents.Create(ClassName) e:SetPos(tr.HitPos+tr.HitNormal*70) e.Owner = p e:Spawn() e:Activate() return e end ...
apache-2.0
aqasaeed/new
plugins/plugins.lua
25
6122
do -- Returns the key (index) in the config.enabled_plugins table local function plugin_enabled( name ) for k,v in pairs(_config.enabled_plugins) do if name == v then return k end end -- If not found return false end -- Returns true if file exists in plugins folder local function plugin_exists( ...
gpl-2.0
otservme/global1053
data/npc/scripts/Ustan.lua
2
1666
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, ms...
gpl-2.0
hxw804781317/MT7620N
package/ralink/ui/luci-mtk/src/applications/luci-asterisk/luasrc/model/cbi/asterisk-mod-res.lua
80
3097
--[[ 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...
gpl-2.0
angeloc/sysdig
userspace/sysdig/chisels/v_docker_events.lua
4
1681
--[[ Copyright (C) 2013-2018 Draios Inc dba Sysdig. This file is part of sysdig. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by ...
apache-2.0
The-HalcyonDays/darkstar
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
hxw804781317/MT7620N
package/ralink/ui/luci-mtk/src/applications/luci-asterisk/luasrc/model/cbi/asterisk-iax-connections.lua
80
2000
--[[ 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...
gpl-2.0
vasilenkomike/tarantool
src/lua/buffer.lua
6
3796
-- buffer.lua (internal file) local ffi = require('ffi') local READAHEAD = 16320 ffi.cdef[[ struct slab_cache; struct slab_cache * tarantool_lua_slab_cache(); struct ibuf { struct slab_cache *slabc; char *buf; /** Start of input. */ char *rpos; /** End of useful input */ char *wpos; /** E...
bsd-2-clause