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
santssoft/darkstar
scripts/globals/items/bowl_of_sopa_de_pez_blanco.lua
11
1259
----------------------------------------- -- ID: 4601 -- Item: Bowl of Sopa de Pez Blanco -- Food Effect: 180Min, All Races ----------------------------------------- -- Health 12 -- Dexterity 6 -- Mind -4 -- Accuracy 3 -- Ranged ACC % 7 -- Ranged ACC Cap 10 ----------------------------------------- require("scripts/glo...
gpl-3.0
m241dan/darkstar
scripts/zones/Apollyon/bcnms/NW_Apollyon.lua
35
1116
----------------------------------- -- Area: Appolyon -- Name: ----------------------------------- require("scripts/globals/limbus"); require("scripts/globals/keyitems"); -- After registering the BCNM via bcnmRegister(bcnmid) function onBcnmRegister(player,instance) SetServerVariable("[NW_Apollyon]UniqueI...
gpl-3.0
m241dan/darkstar
scripts/zones/Hall_of_the_Gods/Zone.lua
30
1883
----------------------------------- -- -- Zone: Hall_of_the_Gods (251) -- ----------------------------------- package.loaded["scripts/zones/Hall_of_the_Gods/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Hall_of_the_Gods/TextIDs"); --------------------...
gpl-3.0
dvr333/Zero-K
LuaRules/Configs/StartBoxes/Ravaged_v2.lua
8
7187
return { [0] = { boxes = { { {4239.5439453125, 952.95397949219}, {3816.2067871094, 727.26159667969}, {3812.9736328125, 691.92926025391}, {3831.6794433594, 655.50103759766}, {3858.7185058594, 628.42718505859}, {3868.0451660156, 585.70172119141}, {3898.32421875, 529.91290283203}, {39...
gpl-2.0
rekotc/game-engine-experimental-3
Source/GCC4/3rdParty/luaplus51-all/Src/Modules/p4/src/p4.lua
2
9871
-- Load the p4 module. local p4api = require 'p4.p4api' --******************************************************************************* -- Copyright (c) 2007-2008, Perforce Software, Inc. All rights reserved. -- Portions Copyright (c) 1999, Mike Meyer. All rights reserved. -- Portions Copyright (c) 2004-2007, Rober...
lgpl-3.0
dvr333/Zero-K
effects/gundam_beamimpact.lua
26
2553
-- beamimpact return { ["beamimpact"] = { groundflash = { air = true, alwaysvisible = true, circlealpha = 0.2, circlegrowth = 4, flashalpha = 0.5, flashsize = 110, ground = true, ttl = 10,...
gpl-2.0
uskdum/good
plugins/banhammer.lua
1
11973
 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
ch3n2k/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
palmettos/test
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
santssoft/darkstar
scripts/globals/items/hellsteak.lua
11
1655
----------------------------------------- -- ID: 5609 -- Item: hellsteak -- Food Effect: 180Min, All Races ----------------------------------------- -- Health 20 -- Strength 6 -- Intelligence -2 -- Health Regen While Healing 2 -- hMP +1 -- Attack % 18 (cap 145) -- Ranged ATT % 18 (cap 145) -- Dragon Killer 5 ----------...
gpl-3.0
ch3n2k/luci
applications/luci-statistics/luasrc/statistics/rrdtool.lua
69
15320
--[[ Luci statistics - rrdtool interface library / diagram model interpreter (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 at ...
apache-2.0
santssoft/darkstar
scripts/globals/mobskills/randgrith.lua
11
1087
--------------------------------------------- -- Randgrith -- -- Description: Lowers target's evasion. Gullintani/Mjollnir: Temporarily improves accuracy. -- Type: Physical -- Range: Melee --------------------------------------------- require("scripts/globals/settings") require("scripts/globals/status") require("s...
gpl-3.0
dvr333/Zero-K
LuaRules/Gadgets/api_widget_events.lua
3
2183
if gadgetHandler:IsSyncedCode() then return end function gadget:GetInfo() return { name = "Widget Events", desc = "Tells widgets about events they can know about", author = "Sprung, Klon", date = "2015-05-27", license = "PD", layer = 0, enabled = true, } end local spAreTeamsAllied ...
gpl-2.0
m241dan/darkstar
scripts/globals/items/stick_of_pepperoni.lua
18
1588
----------------------------------------- -- ID: 5660 -- Item: stick_of_pepperoni -- Food Effect: 30Min, All Races ----------------------------------------- -- HP % 3 (assuming 3% from testing, no known cap) -- Strength 3 -- Intelligence -1 -- Attack % 60 (assuming 60%, cap 30) -----------------------------------------...
gpl-3.0
mrmost/SILVER
plugins/chat.lua
28
1195
local function run(msg) if msg.text == "hi" then return "Hello bb" end if msg.text == "Hi" then return "Hello honey" end if msg.text == "Hello" then return "Hi bb" end if msg.text == "hello" then return "Hi honey" end if msg.text == "Salam" then return "Salam aleykom" end if msg.text == "salam" then return "و علی...
gpl-2.0
santssoft/darkstar
scripts/globals/items/cheval_salmon.lua
11
1055
----------------------------------------- -- ID: 4379 -- Item: cheval_salmon -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Charisma -4 ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") ------------------------------...
gpl-3.0
m241dan/darkstar
scripts/zones/Spire_of_Holla/Zone.lua
30
1406
----------------------------------- -- -- Zone: Spire_of_Holla (17) -- ----------------------------------- package.loaded["scripts/zones/Spire_of_Holla/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Spire_of_Holla/TextIDs"); ---------------------------...
gpl-3.0
ch3n2k/luci
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
rekotc/game-engine-experimental-3
Source/GCC4/3rdParty/luaplus51-all/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...
lgpl-3.0
raphaelfruneaux/redis
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
santssoft/darkstar
scripts/globals/spells/distract_ii.lua
12
1617
----------------------------------------- -- Spell: Distract II ----------------------------------------- require("scripts/globals/magic") require("scripts/globals/msg") require("scripts/globals/status") require("scripts/globals/utils") ----------------------------------------- function onMagicCastingCheck(caster, tar...
gpl-3.0
m241dan/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
palmettos/test
applications/luci-statistics/luasrc/model/cbi/luci_statistics/rrdtool.lua
80
3431
--[[ Luci configuration model for statistics - collectd rrdtool 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 Licen...
apache-2.0
m241dan/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Animated_Claymore.lua
6
1522
----------------------------------- -- Area: Dynamis Xarcabard -- MOB: Animated Claymore ----------------------------------- require("scripts/globals/status"); require("scripts/zones/Dynamis-Xarcabard/TextIDs"); ----------------------------------- -- onMobEngaged ----------------------------------- function onMobEn...
gpl-3.0
m241dan/darkstar
scripts/zones/West_Sarutabaruta/npcs/Twinkle_Tree.lua
13
2325
----------------------------------- -- Area: West Sarutabaruta -- NPC: Twinkle Tree -- Involved in Quest: To Catch a Falling Star -- Note: EventID for Twinkle Tree is unknown. Quest funtions but the full event is not played. -- @pos 156.003 -40.753 333.742 115 ----------------------------------- package.loa...
gpl-3.0
m241dan/darkstar
scripts/zones/Southern_San_dOria/npcs/Collione.lua
13
1686
----------------------------------- -- Area: Southern San d'Oria -- NPC: Collione -- General Info NPC -- @zone 230 -- @pos 10 2 -66 ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/setting...
gpl-3.0
santssoft/darkstar
scripts/zones/Mount_Zhayolm/Zone.lua
11
1066
----------------------------------- -- -- Zone: Mount_Zhayolm (61) -- ----------------------------------- local ID = require("scripts/zones/Mount_Zhayolm/IDs") require("scripts/globals/helm") require("scripts/globals/zone") ----------------------------------- function onInitialize(zone) GetMobByID(ID.mob.CERBERUS)...
gpl-3.0
rekotc/game-engine-experimental-3
Source/GCC4/3rdParty/luaplus51-all/Src/Modules/lua-ex/ex.lua
2
4764
module(..., package.seeall) require 'ex.core' -- ex.parsecommandline function ex.parsecommandline(commandline) require 'lpeg' local field = lpeg.C('\"' * (lpeg.P(1) - '\"')^0 * '\"' + (1 - lpeg.P' ')^0) return lpeg.Ct(field * (lpeg.P(' ')^1 * field)^0 * -1):match(commandline) end -- ex.popen function ex.popen(arg...
lgpl-3.0
CapsAdmin/pac3
lua/pac3/core/client/hooks.lua
1
4757
local pairs = pairs local IsEntity = IsEntity local next = next pac.AddHook("RenderScene", "eyeangles_eyepos", function(pos, ang) pac.EyePos = pos pac.EyeAng = ang end) pac.AddHook("DrawPhysgunBeam", "physgun_event", function(ply, wep, enabled, target, bone, hitpos) if enabled then ply.pac_drawphysgun_event = {...
gpl-3.0
m241dan/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Saluhwa.lua
13
1480
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Saluhwa -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/zones/Aht_Urhgan_White...
gpl-3.0
m241dan/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
santssoft/darkstar
scripts/zones/The_Eldieme_Necropolis_[S]/npcs/Heptachiond.lua
11
1771
----------------------------------- -- Area: The_Eldieme_Necropolis_[S] -- NPC: Heptachiond -- Starts and Finishes Quest: REQUIEM_FOR_THE_DEPARTED -- !pos 256 -32 20 175 ----------------------------------- require("scripts/globals/npc_util") require("scripts/globals/keyitems") require("scripts/globals/quests") -------...
gpl-3.0
10headless/hawkthorne-journey
src/vendor/hardoncollider/shapes.lua
4
11540
--[[ 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
stuxnettel/my
plugins/all.lua
184
4452
do 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_name(user)..' ['..user_id..']' return u...
agpl-3.0
hamode-Aliraq/Hamode.-Aliraqe
plugins/all.lua
184
4452
do 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_name(user)..' ['..user_id..']' return u...
gpl-3.0
grrk-bzzt/kq-fork
scripts/cave3a.lua
1
6291
-- cave3a - "First part of cave on way to Oracle's tower" -- // progress.travelpoint: Whether we've just come through the TravelPoint function autoexec() local x1, y1 = marker("exit") local x2, y2 = marker("uldoor1") local herox, heroy = get_ent_tile(HERO1) if (herox == x1 and heroy == y1) then set_warp(1...
gpl-2.0
mailru/tntlua
irina.lua
4
11364
-- -- irina.lua -- -- -- Space 0: Remote IMAP Collector Accounts (Instant and Usual) -- Tuple: { email (STR), user_id (NUM), is_instant (NUM), is_expirable (NUM), inst_from (NUM), shard_id (NUM) } -- Index 0: HASH { email } -- Index 1: TREE { is_instant, shard_id } -- -- Space 1: Remote IMAP Collector Listeners ...
bsd-2-clause
m241dan/darkstar
scripts/globals/weaponskills/earth_crusher.lua
11
1287
----------------------------------- -- Earth Crusher -- Staff weapon skill -- Skill Level: 70 -- Delivers an area of effect earth elemental attack. Damage varies with TP. -- Aligned with the Breeze Gorget & Thunder Gorget. -- Aligned with the Breeze Belt & Thunder Belt. -- Element: Earth -- Modifiers: STR:30% ; INT:30%...
gpl-3.0
santssoft/darkstar
scripts/globals/items/slice_of_giant_sheep_meat.lua
11
1068
----------------------------------------- -- ID: 4372 -- Item: slice_of_giant_sheep_meat -- Food Effect: 5Min, Galka only ----------------------------------------- -- Strength 2 -- Intelligence -4 ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") ----------------...
gpl-3.0
m241dan/darkstar
scripts/zones/North_Gustaberg/npcs/Kuuwari-Aori_WW.lua
13
3336
----------------------------------- -- Area: North Gustaberg -- NPC: Kuuwari-Aori, W.W. -- Type: Outpost Conquest Guards -- @pos -584.687 39.107 54.281 106 ----------------------------------- package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/co...
gpl-3.0
ignacio/sailor
src/web_utils/lp.lua
10
5103
---------------------------------------------------------------------------- -- Lua Pages Template Preprocessor. -- -- @release $Id: lp.lua,v 1.15 2008/12/11 17:40:24 mascarenhas Exp $ ---------------------------------------------------------------------------- local assert, error, loadstring = assert, error, loadstri...
mit
darkstalker/LuaTwit
examples/tweet.lua
1
3030
#!/usr/bin/env lua -- -- Sends a tweet with the text in the command line arguments. -- local cfg = require "_config"() local lapp = require "pl.lapp" local pretty = require "pl.pretty" local twitter = require "luatwit" local util = require "luatwit.util" -- read tweet text from arguments local args = lapp [[ Sends a t...
mit
umby24/D3classic
Lua/Commands/Admintalk.lua
2
1521
function Command_Message_Admins(Client_ID, Command, Text_0, Text_1, Arg_0, Arg_1, Arg_2, Arg_3, Arg_4) local Prefix, Name, Suffix = Entity_Displayname_Get(Client_Get_Entity(Client_ID)) local Rank = Player_Get_Rank(Entity_Get_Player(Client_Get_Entity(Client_ID))) local tcol = "&e" if Rank > 1000 then tcol = ...
mit
santssoft/darkstar
scripts/globals/spells/bluemagic/tail_slap.lua
8
2080
----------------------------------------- -- Spell: Tail Slap -- Delivers an area attack. Additional effect: "Stun." Damage varies with TP -- Spell cost: 77 MP -- Monster Type: Beastmen -- Spell Type: Physical (Blunt) -- Blue Magic Points: 4 -- Stat Bonus: MND+2 -- Level: 69 -- Casting Time: 1 seconds -- Recast Time: 2...
gpl-3.0
renstrom/NeavUI
Interface/AddOns/nMainbar/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua
22
8073
--[[ $Id: CallbackHandler-1.0.lua 1186 2018-07-21 14:19:18Z nevcairiel $ ]] local MAJOR, MINOR = "CallbackHandler-1.0", 7 local CallbackHandler = LibStub:NewLibrary(MAJOR, MINOR) if not CallbackHandler then return end -- No upgrade needed local meta = {__index = function(tbl, key) tbl[key] = {} return tbl[key] end} ...
mit
m241dan/darkstar
scripts/globals/weaponskills/cataclysm.lua
9
1484
----------------------------------- -- Skill level: 290 -- Delivers light elemental damage. Additional effect: Flash. Chance of effect varies with TP. -- Generates a significant amount of Enmity. -- Does not stack with Sneak Attack -- Aligned with Aqua Gorget. -- Aligned with Aqua Belt. -- Properties: -- Element: Light...
gpl-3.0
grrk-bzzt/kq-fork
scripts/town3.lua
1
7894
-- town3 - "Andra" -- /* -- { -- progress: -- goblinitem: Possession of Goblin Item (which helps seal Monster Portal) -- (0) Do not have it -- (1) Got it -- (2) Returned it to Oracle -- -- portal2gone: Whether the portal in the temple is still working -- (0) Still letting monsters through -- (1) The Portal i...
gpl-2.0
Newbrict/ObjHunt
gamemode/client/views.lua
2
4024
--[[ Do thirdperson, view heights, etc ]]-- hook.Add("CalcView", "ObjHunt CalcView", function( ply, pos, angles, fov ) -- disable custom viewing if we're dead, this fixes spec bug if( !ply:Alive() ) then return true end -- this needs to be here otherwise some people get errors for some unknown reason if( ply.wantT...
apache-2.0
m241dan/darkstar
scripts/zones/Chateau_dOraguille/npcs/Nachou.lua
13
1061
----------------------------------- -- Area: Chateau d'Oraguille -- NPC: Nachou -- Type: Standard NPC -- @zone: 233 -- @pos -39.965 -3.999 34.292 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Chateau_dOraguille/TextIDs"] = nil; ---...
gpl-3.0
m241dan/darkstar
scripts/globals/spells/blade_madrigal.lua
27
1568
----------------------------------------- -- Spell: Blade Madrigal -- Gives party members accuracy ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target...
gpl-3.0
telewolf653/launcher
libs/serpent.lua
656
7877
local n, v = "serpent", 0.28 -- (C) 2012-15 Paul Kulchenko; MIT License local c, d = "Paul Kulchenko", "Lua serializer and pretty printer" local snum = {[tostring(1/0)]='1/0 --[[math.huge]]',[tostring(-1/0)]='-1/0 --[[-math.huge]]',[tostring(0/0)]='0/0'} local badtype = {thread = true, userdata = true, cdata = true} lo...
gpl-2.0
santssoft/darkstar
scripts/zones/Bhaflau_Thickets/npcs/Runic_Portal.lua
9
1308
----------------------------------- -- Area: Bhaflau Thickets -- NPC: Runic Portal -- Mamook Ja Teleporter Back to Aht Urgan Whitegate -- !pos -211 -11 -818 52 ----------------------------------- local ID = require("scripts/zones/Bhaflau_Thickets/IDs") ----------------------------------- require("scripts/globals/besie...
gpl-3.0
m241dan/darkstar
scripts/zones/North_Gustaberg/TextIDs.lua
15
1306
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED_TWICE = 6559; -- You cannot obtain the item <item>. ITEM_CANNOT_BE_OBTAINED = 6560; -- You cannot obtain the item <item>. Come back after sorting your inventory. FULL_INVENTORY_AFTER_TRADE = 6564; -- You cannot obtain the #. Try tr...
gpl-3.0
dvr333/Zero-K
units/tankcon.lua
4
4016
return { tankcon = { unitname = [[tankcon]], name = [[Welder]], description = [[Armed Construction Tank]], acceleration = 0.4, brakeRate = 18.0, buildCostMetal = 185, buildDistance = 180, builder = true, ...
gpl-2.0
m241dan/darkstar
scripts/zones/Xarcabard/npcs/Pilcha_RK.lua
13
3316
----------------------------------- -- Area: Xarcabard -- NPC: Pilcha, R.K. -- Type: Border Conquest Guards -- @pos -133.678 -22.517 112.224 112 ----------------------------------- package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); require...
gpl-3.0
Exerro/Workspace
src/workspace.lua
1
7127
local ARGS = { ... } -- @define WORKSPACE_META ('{\n\tname = %q,\n\tlinks = {\n\t\t["rom"] = "rom"\n\t}\n}') -- @include lib -- @include autocomplete -- @include util -- @include interactive -- @localise program program = { name = "workspace", description = "Allows switching between multiple workspaces with a uni...
mit
condor-the-bird/tarantool
test/box/fiber.test.lua
6
8503
fiber = require('fiber') space = box.schema.space.create('tweedledum') index = space:create_index('primary', { type = 'hash' }) -- A test case for a race condition between ev_schedule -- and wal_schedule fiber schedulers. -- The same fiber should not be scheduled by ev_schedule (e.g. -- due to cancellation) if it is wi...
bsd-2-clause
palmettos/test
applications/luci-radvd/luasrc/model/cbi/radvd/dnssl.lua
82
2276
--[[ LuCI - Lua Configuration Interface Copyright 2010 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://www.apache.org/licenses/LICENSE-2.0 $Id: rdnss.lu...
apache-2.0
m241dan/darkstar
scripts/zones/Yuhtunga_Jungle/npcs/Mupia_RK.lua
13
3325
----------------------------------- -- Area: Yuhtunga Jungle -- NPC: Mupia, R.K. -- Border Conquest Guards -- @pos -241.334 -1 478.602 123 ----------------------------------- package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); require...
gpl-3.0
pjsg/nodemcu-httpserver
http/file_list.lua
1
1140
return function (connection, req, args) connection:send("HTTP/1.0 200 OK\r\nContent-Type: text/html\r\nCache-Control: private, no-store\r\n\r\n") connection:send('<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><title>Server File Listing</title></head>') connection:send('<body>') connection:s...
gpl-2.0
santssoft/darkstar
scripts/zones/Horlais_Peak/npcs/Hot_Springs.lua
11
1532
----------------------------------- -- Area: Horlais Peak -- NPC: Hot Springs -- !pos 444 -37 -18 139 ----------------------------------- local ID = require("scripts/zones/Horlais_Peak/IDs") require("scripts/globals/keyitems") require("scripts/globals/quests") require("scripts/globals/titles") ------------------------...
gpl-3.0
santssoft/darkstar
scripts/globals/items/noble_lady.lua
11
1131
----------------------------------------- -- ID: 4485 -- Item: noble_lady -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 3 -- Mind -5 -- Charisma 3 ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") -----------------------...
gpl-3.0
Disslove77777/AAAA
plugins/rss.lua
700
5434
local function get_base_redis(id, option, extra) local ex = '' if option ~= nil then ex = ex .. ':' .. option if extra ~= nil then ex = ex .. ':' .. extra end end return 'rss:' .. id .. ex end local function prot_url(url) local url, h = string.gsub(url, "http://", "") local...
gpl-2.0
m241dan/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
hylthink/Sample_Lua
frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/TurnOffTiles.lua
10
1192
-------------------------------- -- @module TurnOffTiles -- @extend TiledGrid3DAction -- @parent_module cc -------------------------------- -- -- @function [parent=#TurnOffTiles] turnOnTile -- @param self -- @param #vec2_table pos -------------------------------- -- -- @function [parent=#TurnOffTiles] tur...
mit
rekotc/game-engine-experimental-3
Source/GCC4/3rdParty/luaplus51-all/Src/Modules/alien/tests/test_alien.lua
2
16280
pcall(require, "luarocks.require") require "alien" require "alien.struct" local dll = alien.alientest do io.write(".") local f = dll._testfunc_i_bhilfd f:types("int", "byte", "short", "int", "long", "float", "double") local result = f(string.byte("x"), 1, 3, 4, 5, 6) assert(result == 139) end do io.wri...
lgpl-3.0
santssoft/darkstar
scripts/globals/weaponskills/one_inch_punch.lua
10
1595
----------------------------------- -- One Inch Punch -- Hand-to-Hand weapon skill -- Skill level: 75 -- Delivers an attack that ignores target's defense. Amount ignored varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Shadow Gorget. -- Aligned with the Shadow Belt. -- Element: None -- Modifiers: VI...
gpl-3.0
tritao/premake-core
tests/actions/make/workspace/test_group_rule.lua
16
1141
-- -- tests/actions/make/workspace/test_group_rule.lua -- Validate generation of group rules -- Copyright (c) 2012-2015 Jason Perkins and the Premake project -- local suite = test.declare("make_group_rule") local make = premake.make -- -- Setup/teardown -- local wks function suite.setup() wks = test.createWo...
bsd-3-clause
dvr333/Zero-K
LuaUI/Widgets/cmd_keep_target.lua
4
5095
--[[ remaining issues: - some things that should keep or remove target don't: building things, cloaking?, ... setting target when attacking would fix part of this - doesn't work with queues, needs synched - empty area commands trigger can trigger set/remove, but shouldnt. (because this runs in CommandNotify(), where th...
gpl-2.0
m241dan/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_5fm.lua
13
2638
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: East Plate -- @pos 210 -32 25 195 ----------------------------------- ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; ----------------------------------- -- ...
gpl-3.0
santssoft/darkstar
scripts/globals/mobskills/suction.lua
11
1047
--------------------------------------------- -- Suction -- -- Description: Deals damage to a single target. Additional effect: Stun -- Type: Physical -- Utsusemi/Blink absorb: 1 shadow -- Range: Melee -- Notes: Stun doesn't always occur. --------------------------------------------- require("scripts/globals/sett...
gpl-3.0
atimoschenkow/OpenRA
mods/ra/maps/soviet-05/main.lua
33
8124
CheckForBase = function() baseBuildings = Map.ActorsInBox(Map.TopLeft, CFBPoint.CenterPosition, function(actor) return actor.Type == "fact" or actor.Type == "powr" end) return #baseBuildings >= 2 end CheckForCYard = function() ConYard = Map.ActorsInBox(mcvGGLoadPoint.CenterPosition, ReinfEastPoint.CenterPositio...
gpl-3.0
santssoft/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Yurim.lua
9
6304
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Yurim -- !pos 83.697 -25.000 3.250 26 ----------------------------------- require("scripts/globals/missions") require("scripts/globals/npc_util") require("scripts/globals/quests") ----------------------------------- -- base items local earring = ...
gpl-3.0
santssoft/darkstar
scripts/zones/Meriphataud_Mountains/Zone.lua
9
2071
----------------------------------- -- -- Zone: Meriphataud_Mountains (119) -- ----------------------------------- local ID = require("scripts/zones/Meriphataud_Mountains/IDs") require("scripts/globals/icanheararainbow") require("scripts/globals/chocobo_digging") require("scripts/globals/conquest") require("scripts/glo...
gpl-3.0
dvr333/Zero-K
units/dynstrike1.lua
4
2894
return { dynstrike1 = { unitname = [[dynstrike1]], name = [[Strike Commander]], description = [[Mobile Assault Commander]], acceleration = 0.54, activateWhenBuilt = true, brakeRate = 2.25, buildCostMetal = 1200, buildDistance...
gpl-2.0
santssoft/darkstar
scripts/globals/weaponskills/blade_yu.lua
10
1621
----------------------------------- -- Blade Yu -- Katana weapon skill -- Skill Level: 290 -- Delivers a water elemental attack. Additional effect Poison. Durration varies with TP. -- Aligned with the Aqua Gorget & Soil Gorget. -- Aligned with the Aqua Belt & Soil Belt. -- Element: Water -- Modifiers: DEX:50% INT:50% ...
gpl-3.0
santssoft/darkstar
scripts/zones/Western_Adoulin/npcs/Clemmar.lua
9
1283
----------------------------------- -- Area: Western Adoulin -- NPC: Clemmar -- Type: Standard NPC and Quest NPC -- Involved with Quest: 'A Certain Substitute Patrolman' -- !pos -12 0 12 256 ----------------------------------- require("scripts/globals/missions"); require("scripts/globals/quests"); -------------------...
gpl-3.0
santssoft/darkstar
scripts/zones/LaLoff_Amphitheater/mobs/Ark_Angel_MR.lua
9
1305
----------------------------------- -- Area: LaLoff Amphitheater -- Mob: Ark Angel MR ----------------------------------- mixins = {require("scripts/mixins/job_special")} require("scripts/globals/status"); ----------------------------------- -- TODO: Allegedly has a 12 hp/sec regen. Determine if true, and add to onM...
gpl-3.0
santssoft/darkstar
scripts/zones/The_Shrine_of_RuAvitau/IDs.lua
9
2858
----------------------------------- -- Area: The_Shrine_of_RuAvitau ----------------------------------- require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.THE_SHRINE_OF_RUAVITAU] = { text = { ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the...
gpl-3.0
rekotc/game-engine-experimental-3
Source/GCC4/3rdParty/luaplus51-all/Src/Modules/penlight/tests/test-func.lua
2
1802
require 'pl' asserteq = require('pl.test').asserteq utils.import('pl.func') -- _DEBUG = true function pprint (t) print(pretty.write(t)) end function test (e) local v = {} print('test',collect_values(e,v)) if #v > 0 then pprint(v) end local rep = repr(e) print(rep) end import ('math') --~ test(_1+_2('h...
lgpl-3.0
tritao/premake-core
tests/actions/vstudio/vc2010/test_vectorextensions.lua
9
1688
--- -- tests/actions/vstudio/vc2010/test_vectorextensions.lua -- Validate handling of vectorextensions() in VS 2010 C/C++ projects. -- -- Created 26 Mar 2015 by Jason Perkins -- Copyright (c) 2015 Jason Perkins and the Premake project --- local suite = test.declare("vs2010_vc_vectorextensions") local m = premake.vst...
bsd-3-clause
06192010/BoL_Scripts
Free Miss Fortune.lua
1
17364
local MF_Ver = "1.022" --[[ .88b d88. d888888b .d8888. .d8888. d88888b .d88b. d8888b. d888888b db db d8b db d88888b 88'YbdP`88 `88' 88' YP 88' YP 88' .8P Y8. 88 `8D `~~88~~' 88 88 888o 88 88' 88 88 88 88 `8bo. `8bo. 88ooo 88 88 88oobY' 88 88...
gpl-2.0
hughperkins/nn
init.lua
11
3390
require('torch') require('libnn') include('utils.lua') include('ErrorMessages.lua') include('Module.lua') include('Container.lua') include('Concat.lua') include('Parallel.lua') include('Sequential.lua') include('DepthConcat.lua') include('Linear.lua') include('SparseLinear.lua') include('Reshape.lua') include('View...
bsd-3-clause
santssoft/darkstar
scripts/zones/Northern_San_dOria/npcs/Pirvidiauce.lua
11
1367
----------------------------------- -- Area: Northern San d'Oria -- NPC: Pirvidiauce -- Conquest depending medicine seller ----------------------------------- local ID = require("scripts/zones/Northern_San_dOria/IDs") require("scripts/globals/npc_util") require("scripts/globals/quests") require("scripts/globals/shop")...
gpl-3.0
hetter/NPLRuntime
Client/trunk/externals/bullet3/Demos/premake4.lua
6
3102
function createDemos( demos, incdirs, linknames) for _, name in ipairs(demos) do project ( "App_" .. name ) kind "ConsoleApp" targetdir ".." configuration {} includedirs {incdirs} links { linknames } configuration { "Windo...
gpl-2.0
m241dan/darkstar
scripts/globals/spells/poisonga_ii.lua
26
1132
----------------------------------------- -- Spell: Poisonga II ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target...
gpl-3.0
m241dan/darkstar
scripts/zones/Buburimu_Peninsula/TextIDs.lua
13
1577
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6414; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6419; -- Obtained: <item>. GIL_OBTAINED = 6420; -- Obtained <number> gil. KEYITEM_OBTAINED = 6422; -- Obtained...
gpl-3.0
Masterdev2v/MEero
libs/lua-redis.lua
580
35599
local redis = { _VERSION = 'redis-lua 2.0.4', _DESCRIPTION = 'A Lua client library for the redis key value storage system.', _COPYRIGHT = 'Copyright (C) 2009-2012 Daniele Alessandri', } -- The following line is used for backwards compatibility in order to keep the `Redis` -- global module name. Using...
gpl-2.0
santssoft/darkstar
scripts/globals/mobskills/tachi_gekko.lua
11
1030
--------------------------------------------- -- Tachi: Gekko -- -- Description: Silences target. Damage varies with TP. -- Type: Physical -- Shadow per hit -- Range: Melee --------------------------------------------- require("scripts/globals/monstertpmoves") require("scripts/globals/settings") require("scripts/...
gpl-3.0
m241dan/darkstar
scripts/zones/Gustav_Tunnel/npcs/Grounds_Tome.lua
1
1135
----------------------------------- -- Area: Gustav Tunnel -- NPC: Grounds Tome ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/groundsofvalor"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,tr...
gpl-3.0
perusio/lua-busted-debian-package
busted/modules/output_handler_loader.lua
6
1043
local path = require 'pl.path' local hasMoon, moonscript = pcall(require, 'moonscript') return function() local loadOutputHandler = function(busted, output, options) local handler local success, err = pcall(function() if output:match('%.lua$') then handler = dofile(path.normpath(output)) ...
mit
m241dan/darkstar
scripts/globals/items/broiled_eel.lua
18
1260
----------------------------------------- -- ID: 4588 -- Item: Broiled Eel -- Food Effect: 60Min, All Races ----------------------------------------- -- Dexterity 4 -- Mind -3 -- Evasion 5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemC...
gpl-3.0
sigurdfdragon/wesnoth-fork
data/lua/wml-flow.lua
7
7553
local utils = wesnoth.require "wml-utils" local wml_actions = wesnoth.wml_actions function wml_actions.command(cfg) utils.handle_event_commands(cfg, "plain") end -- we can't create functions with names that are Lua keywords (eg if, while) -- instead, we store the following anonymous functions directly into -- the ta...
gpl-2.0
CCAAHH/1kh
plugins/all.lua
1321
4661
do data = load_data(_config.moderation.data) local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_print...
gpl-2.0
BooM-amour/nimaamour
plugins/all.lua
1321
4661
do data = load_data(_config.moderation.data) local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_print...
gpl-2.0
m241dan/darkstar
scripts/zones/Castle_Oztroja/mobs/Yagudo_Avatar.lua
4
1621
----------------------------------- -- Area: Castle Oztroja (151) -- NM: Yagudo_Avatar -- Notes: PH for Tzee Xicu the Manifest ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Castle_Oztroja/TextIDs"); -------...
gpl-3.0
Timmeey86/CQUI_Community-Edition
Integrations/ML/UI/minimappanel.lua
2
130932
-- =========================================================================== -- MINIMAP PANEL -- =========================================================================== include( "InstanceManager" ); include( "Civ6Common.lua" ); -- GetCivilizationUniqueTraits, GetLeaderUniqueTraits include( "SupportFunctions" ); ...
mit
m241dan/darkstar
scripts/globals/abilities/pets/tidal_wave.lua
34
1116
--------------------------------------------------- -- Tidal Wave --------------------------------------------------- require("/scripts/globals/settings"); require("/scripts/globals/status"); require("/scripts/globals/monstertpmoves"); require("/scripts/globals/magic"); -----------------------------------------------...
gpl-3.0
m241dan/darkstar
scripts/zones/Tahrongi_Canyon/npcs/Luck_Rune.lua
13
1041
----------------------------------- -- Area: Tahrongi Canyon -- NPC: Luck Rune -- Involved in Quest: Mhaura Fortune -- @pos -54.755 7.647 -379.945 117 ----------------------------------- package.loaded["scripts/zones/Tahrongi_Canyon/TextIDs"] = nil; ------------------------------------- require("scripts/zones/Tah...
gpl-3.0
Timmeey86/CQUI_Community-Edition
Assets/UI/Popups/mappinpopup.lua
7
17666
---------------------------------------------------------------- -- MapPinPopup -- -- Popup used for creating and editting map pins. ---------------------------------------------------------------- include( "PlayerTargetLogic" ); include ("ToolTipHelper"); -------------------------------------------------------------...
mit