repo_name
stringlengths
6
69
path
stringlengths
6
178
copies
stringclasses
278 values
size
stringlengths
4
7
content
stringlengths
671
917k
license
stringclasses
15 values
samihacker01616/x
plugins/horrorspam2.lua
4
75329
do function run(msg, matches) return [[ 🔹🔸🔴HORROR™ is attacking🔴🔸🔹 🔹🔸🔴HORROR™ is attacking🔴🔸🔹 🔹🔸🔴HORROR™ is attacking🔴🔸🔹 🔹🔸🔴HORROR™ is attacking🔴🔸🔹 🔹🔸🔴HORROR™ is attacking🔴🔸🔹 🔹🔸🔴HORROR™ is attacking🔴🔸🔹 🔹🔸🔴HORROR™ is attacking🔴🔸🔹 🔹🔸🔴HORROR™ is attacking🔴🔸🔹 🔹🔸🔴HORROR™...
gpl-2.0
Evsdd/domoticz
dzVents/runtime/integration-tests/testIntegration.lua
6
23274
package.path = package.path .. ";../?.lua;../device-adapters/?.lua;./data/?.lua;../../../scripts/dzVents/generated_scripts/?.lua;" .. "../../../scripts/lua/?.lua" local TestTools = require('domoticzTestTools')('8080', true) local socket = require("socket") local _ = require 'lodash' local DUMMY_HW = 15 local SW...
gpl-3.0
githubmereza/bOOOt
plugins/sex.lua
1
1647
do -- Recursive function local function getRandomButts(attempt) attempt = attempt or 0 attempt = attempt + 1 local res,status = http.request("http://api.obutts.ru/noise/1") if status ~= 200 then return nil end local data = json:decode(res)[1] -- The OpenBoobs API sometimes returns an empty array if no...
gpl-2.0
Mudlet/Mudlet
src/mudlet-lua/lua/CoreMudlet.lua
3
42534
---------------------------------------------------------------------------------- --- Mudlet Core Lua Functions --- (file holds LuaDoc for all function implemented with in Mudlet Core) ---------------------------------------------------------------------------------- -- ensure that those function will not get define...
gpl-2.0
bnetcc/darkstar
scripts/globals/items/strip_of_buffalo_jerky.lua
3
1129
----------------------------------------- -- ID: 5196 -- Item: strip_of_buffalo_jerky -- Food Effect: 30Min, All Races ----------------------------------------- -- Strength 4 -- Mind -2 -- Attack % 18 -- Attack Cap 65 ----------------------------------------- require("scripts/globals/status"); -------------------------...
gpl-3.0
powerboat9/keypad
keypad.lua
1
1486
local monitor = assert(peripheral.find("monitor"), "Could Not Find Keypad") monitor.setTextScale(1.5) monitor.clear() local x, y = monitor.getSize() if (math.floor(x / 2) * 2) == x then x = x - 1 end if (math.floor(y / 2) * 2) == y then y = y - 1 end local xBuff, yBuff = ((x - 3) / 2), ((y - 3) / 2) function...
mit
bnetcc/darkstar
scripts/zones/Abyssea-Vunkerl/mobs/Div-e_Sepid.lua
1
1169
----------------------------------- -- Area: Abyssea - Vunkerl (217) -- Mob: Div-e_Sepid ----------------------------------- require("scripts/zones/Abyssea-Vunkerl/textIDs"); require("scripts/globals/abyssea"); require("scripts/globals/status"); require("scripts/globals/keyitems"); ---------------------------------...
gpl-3.0
lcf258/openwrtcn
applications/luci-app-radicale/luasrc/model/cbi/radicale.lua
39
27698
-- Copyright 2015 Christian Schoenebeck <christian dot schoenebeck at gmail dot com> -- Licensed under the Apache License, Version 2.0 local NXFS = require("nixio.fs") local DISP = require("luci.dispatcher") local DTYP = require("luci.cbi.datatypes") local HTTP = require("luci.http") local UTIL = require("luci.ut...
apache-2.0
genesi/luatex
source/texk/web2c/luatexdir/luasocket/src/ltn12.lua
127
8177
----------------------------------------------------------------------------- -- LTN12 - Filters, sources, sinks and pumps. -- LuaSocket toolkit. -- Author: Diego Nehab -- RCS ID: $Id: ltn12.lua,v 1.31 2006/04/03 04:45:42 diego Exp $ ----------------------------------------------------------------------------- -------...
gpl-2.0
notcake/vfs
lua/gauth/protocol/nodeadditionnotification.lua
1
1119
local self = {} GAuth.Protocol.NodeAdditionNotification = GAuth.MakeConstructor (self, GAuth.Protocol.Session) GAuth.Protocol.RegisterNotification ("NodeAdditionNotification", GAuth.Protocol.NodeAdditionNotification) function self:ctor (groupTree, childNode) self.GroupId = groupTree and groupTree:GetFullName () ...
gpl-3.0
bnetcc/darkstar
scripts/globals/mobskills/royal_decree_custom.lua
1
1101
--------------------------------------------- -- Grim Reaper -- -- Description: Deals damage in a threefold attack to targets in a fan-shaped area of effect. Additional effect: Doom -- Type: Physical -- Utsusemi/Blink absorb: 2-3 shadows -- Range: Unknown cone -- Notes: Used only by certain Lamia NMs (e.g. Lamia ...
gpl-3.0
bnetcc/darkstar
scripts/globals/items/caedarva_frog.lua
3
1119
----------------------------------------- -- ID: 5465 -- Item: Caedarva Frog -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Agility 2 -- Mind -4 -- Evasion 5 ----------------------------------------- require("scripts/globals/status"); --------------------------------------...
gpl-3.0
kostajaitachi/shogun
examples/undocumented/lua_modular/evaluation_contingencytableevaluation_modular.lua
21
1809
require 'modshogun' require 'load' ground_truth = load_labels('../data/label_train_twoclass.dat') math.randomseed(17) predicted = {} for i = 1, #ground_truth do table.insert(predicted, math.random()) end parameter_list = {{ground_truth,predicted}} function evaluation_contingencytableevaluation_modular(ground_truth,...
gpl-3.0
bnetcc/darkstar
scripts/zones/Abyssea-Vunkerl/mobs/Rakshas.lua
1
1290
----------------------------------- -- Area: Abyssea - Vunkerl (217) -- Mob: Rakshas ----------------------------------- require("scripts/zones/Abyssea-Vunkerl/textIDs"); require("scripts/globals/abyssea"); require("scripts/globals/status"); require("scripts/globals/keyitems"); ----------------------------------- -...
gpl-3.0
TurkeyMan/premake-core
tests/project/test_eachconfig.lua
16
3443
-- -- tests/project/test_eachconfig.lua -- Test the project object configuration iterator function. -- Copyright (c) 2011-2015 Jason Perkins and the Premake project -- local p = premake local suite = test.declare("project_eachconfig") -- -- Setup and teardown -- local wks, prj function suite.setup() wks = wo...
bsd-3-clause
CRUELTM/cruel_bot
plugins/plugins.lua
2
4263
do local function plugin_enabled( name ) for k,v in pairs(_config.enabled_plugins) do if name == v then return k end end return false end local function plugin_exists( name ) for k,v in pairs(plugins_names()) do if name..'.lua' == v then return true end end re...
gpl-3.0
bnetcc/darkstar
scripts/zones/Cape_Teriggan/TextIDs.lua
5
1625
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6380; -- You cannot obtain the item <item> come back again after sorting your inventory. FULL_INVENTORY_AFTER_TRADE = 6384; -- You cannot obtain the #. Try trading again after sorting your inventory. ITEM_OBTAINED = 638...
gpl-3.0
bnetcc/darkstar
scripts/zones/Sea_Serpent_Grotto/TextIDs.lua
5
2541
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6380; -- You cannot obtain the item <item> come back again after sorting your inventory FULL_INVENTORY_AFTER_TRADE = 6384; -- You cannot obtain the <item>. Try trading again after sorting your inventory ITEM_OBTAINED = 638...
gpl-3.0
leonardoaxe/OpenRA
mods/cnc/maps/gdi04a/gdi04a.lua
21
4901
AutoTrigger = { CPos.New(51, 47), CPos.New(52, 47), CPos.New(53, 47), CPos.New(54, 47) } GDIHeliTrigger = { CPos.New(27, 55), CPos.New(27, 56), CPos.New(28, 56), CPos.New(28, 57), CPos.New(28, 58), CPos.New(28, 59)} Nod1Units = { "e1", "e1", "e3", "e3" } Auto1Units = { "e1", "e1", "e3" } KillsUntilReinforcements = 1...
gpl-3.0
bnetcc/darkstar
scripts/zones/Bibiki_Bay/npcs/Mep_Nhapopoluko.lua
1
1544
----------------------------------- -- Area: Bibiki Bay -- NPC: Mep Nhapopoluko -- Type: Guild Merchant NPC (Fishing Guild) -- !pos 464.350 -6 752.731 4 ----------------------------------- package.loaded["scripts/zones/Bibiki_Bay/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings");...
gpl-3.0
tehran980/Tele_MAXBOT
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
bnetcc/darkstar
scripts/globals/spells/bluemagic/warm-up.lua
5
1855
----------------------------------------- -- Spell: Warm-Up -- Enhances accuracy and evasion -- Spell cost: 59 MP -- Monster Type: Beastmen -- Spell Type: Magical (Earth) -- Blue Magic Points: 4 -- Stat Bonus: VIT+1 -- Level: 68 -- Casting Time: 7 seconds -- Recast Time: 120 seconds -- Duration: 180 seconds -- -- Combo...
gpl-3.0
bnetcc/darkstar
scripts/zones/Norg/npcs/Verctissa.lua
5
2751
----------------------------------- -- Area: Norg -- NPC: Verctissa -- Starts Quest: Trial Size Trial By Water -- !pos -13 1 -20 252 ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/...
gpl-3.0
bnetcc/darkstar
scripts/globals/items/slice_of_pepperoni_pizza_+1.lua
3
1205
----------------------------------------- -- ID: 6216 -- Item: slice of pepperoni_pizza_+1 -- Food Effect: 60 minutes, all Races ----------------------------------------- -- HP +35 -- Strength 2 -- Accuracy 9% (caps @ 11) -- Attack 10% (caps @ 16) ----------------------------------------- require("scripts/globals/statu...
gpl-3.0
bnetcc/darkstar
scripts/zones/Northern_San_dOria/npcs/Mevreauche.lua
5
1771
----------------------------------- -- Area: Northern San d'Oria -- NPC: Mevreauche -- Type: Smithing Guild Master -- !pos -193.584 10 148.655 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Northern_Sa...
gpl-3.0
mwoz123/koreader
frontend/ui/hook_container.lua
1
3375
--[[-- HookContainer allows listeners to register and unregister a hook for speakers to execute. It's an experimental feature: use with cautions, it can easily pin an object in memory and unblock GC from recycling the memory. ]] local HookContainer = {} function HookContainer:new(o) o = o or {} setmetatable(...
agpl-3.0
Atebite/NutScript
gamemode/core/libs/thirdparty/sh_pon.lua
4
9254
--[[ RECOMMENDED VERSION VERSION 1.2.1 Copyright thelastpenguin™ You may use this for any purpose as long as: - You don't remove this copyright notice. - You don't claim this to be your own. - You properly credit the author, thelastpenguin™, if you publish your work based on (and/or using) this. If you modify...
mit
TurkeyMan/premake-core
tests/api/test_containers.lua
16
1902
-- -- tests/api/test_containers.lua -- Tests the API's workspace() and project() container definitions. -- Copyright (c) 2013-2014 Jason Perkins and the Premake project -- local p = premake local suite = test.declare("api_containers") local api = p.api -- -- Setup and teardown -- local wks function suite.setu...
bsd-3-clause
Etiene/Algorithm-Implementations
Egyptian_Fractions/Lua/Yonaba/egyptian_fractions_test.lua
26
1335
-- Tests for egyptian_fractions.lua local egypt = require 'egyptian_fractions' local total, pass = 0, 0 local function dec(str, len) return #str < len and str .. (('.'):rep(len-#str)) or str:sub(1,len) end local function run(message, f) total = total + 1 local ok, err = pcall(f) if ok then pass =...
mit
Etiene/Algorithm-Implementations
Monty_Hall_Problem/Lua/Yonaba/monty_hall.lua
26
1033
-- Monty-Hall problem implementation -- See : http://en.wikipedia.org/wiki/Monty_Hall_problem -- Create a range of values as a list local function range(n) local t = {} for i = 1,n do t[i] = i end return t end -- Simulates Monty Hall problem -- ndoors : number of doors -- switch : whether or not the player want...
mit
bnetcc/darkstar
scripts/zones/Outer_Ra_Kaznar/npcs/Liseran_Door_Exit.lua
1
1208
----------------------------------- -- Area: Outer Ra'Kaznar -- NPC: Liseran Door Exit -- Zones out to Kamihr Drifts (zone 267) -- @zone 274 -- @pos -34.549 -181.334 -20.031 ----------------------------------- package.loaded["scripts/zones/Outer_Ra_Kaznar/TextIDs"] = nil; ----------------------------------- require("s...
gpl-3.0
bnetcc/darkstar
scripts/zones/Newton_Movalpolos/TextIDs.lua
5
1583
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6380; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6386; -- Obtained: <item>. GIL_OBTAINED = 6387; -- Obtained <number> gil. KEYITEM_OBTAINED = 6389; -- Obtained...
gpl-3.0
bnetcc/darkstar
scripts/globals/weaponskills/guillotine.lua
3
1989
----------------------------------- -- Guillotine -- Scythe weapon skill -- Skill level: 200 -- Delivers a four-hit attack. Duration varies with TP. -- Modifiers: STR:25% ; MND:25% -- 100%TP 200%TP 300%TP -- 0.875 0.875 0.875 ----------------------------------- require("scripts/globals/status"); require("...
gpl-3.0
senquack/Enigma-for-GCWZero
data/api1init.lua
5
53545
------------------------------------------------------------------------ -- Copyright (C) 2002,2003,2004,2005 Daniel Heck -- Copyright (C) 2007,2008 Ronald Lamprecht -- -- 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 ...
gpl-2.0
bnetcc/darkstar
scripts/zones/Abyssea-Konschtat/mobs/Tonberry_Lieje.lua
1
1340
----------------------------------- -- Area: Abyssea - Konschtat (15) -- Mob: Tonberry_Lieje ----------------------------------- package.loaded["scripts/zones/Abyssea-Konschtat/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Abyssea-Konschtat/TextIDs"); require("scripts/globals/abyssea")...
gpl-3.0
nsimplex/Tallbrood
scripts/tallbrood/main.lua
1
2211
----- --[[ Tallbrood ]] VERSION="2.1.1" -- -- Last updated: 2013-08-24 ----- --[[ Copyright (C) 2013 simplex This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at ...
gpl-2.0
bnetcc/darkstar
scripts/commands/getmobaction.lua
8
1116
--------------------------------------------------------------------------------------------------- -- func: getmobaction -- desc: Prints mob's current action to the command user. --------------------------------------------------------------------------------------------------- cmdprops = { permission = 1, pa...
gpl-3.0
erosennin/koreader
frontend/ui/device/kindlepowerd.lua
1
2969
local BasePowerD = require("ui/device/basepowerd") -- liblipclua, see require below local KindlePowerD = BasePowerD:new{ fl_min = 0, fl_max = 24, kpw1_frontlight = "/sys/devices/system/fl_tps6116x/fl_tps6116x0/fl_intensity", kpw2_frontlight = "/sys/class/backlight/max77696-bl/brightness", kt_kpw_capaci...
agpl-3.0
bnetcc/darkstar
scripts/globals/items/dish_of_homemade_carbonara.lua
3
1511
----------------------------------------- -- ID: 5706 -- Item: dish_of_homemade_carbonara -- Food Effect: 30Min, All Races ----------------------------------------- -- CHR +1 -- Accuracy +12% (cap 80) -- Attack +10% (cap 40) -- Ranged Accuracy +12% (cap 80) -- Ranged Attack +10% (cap 40) -------------------------------...
gpl-3.0
lcf258/openwrtcn
modules/luci-base/luasrc/http/protocol.lua
14
15340
-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. -- This class contains several functions useful for http message- and content -- decoding and to retrive form data from raw http messages. module("luci.http.protocol", package.seeall) local l...
apache-2.0
stefanocasazza/FrameworkBenchmarks
frameworks/Lua/openresty/app.lua
25
2311
local mysql = mysql local encode = encode local random = math.random local min = math.min local insert = table.insert local sort = table.sort local template = require'resty.template' local ngx = ngx local ngx_print = ngx.print template.caching(false) -- Compile template, disable cache, enable plain text view to skip f...
bsd-3-clause
bnetcc/darkstar
scripts/globals/items/noble_lady.lua
3
1042
----------------------------------------- -- ID: 4485 -- Item: noble_lady -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 3 -- Mind -5 -- Charisma 3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- function o...
gpl-3.0
bnetcc/darkstar
scripts/globals/abilities/pets/string_clipper.lua
4
1244
--------------------------------------------------- -- String Clipper --------------------------------------------------- require("scripts/globals/status") require("scripts/globals/settings") require("scripts/globals/automatonweaponskills") --------------------------------------------------- function onMobSkillCheck...
gpl-3.0
TAJaroszewski/lma_contrail_monitoring
deployment_scripts/puppet/modules/lma_collector/files/plugins/filters/afd_api_backends.lua
1
3463
-- Copyright 2015 Mirantis, Inc. -- -- 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 ...
apache-2.0
TurkeyMan/premake-core
modules/vstudio/tests/vc2010/test_debug_settings.lua
8
2640
-- -- tests/actions/vstudio/vc2010/test_debug_settings.lua -- Validate handling of the working directory for debugging. -- Copyright (c) 2011-2013 Jason Perkins and the Premake project -- local p = premake local suite = test.declare("vstudio_vs2010_debug_settings") local vc2010 = p.vstudio.vc2010 local project = p...
bsd-3-clause
bnetcc/darkstar
scripts/zones/Lower_Jeuno/npcs/Treasure_Coffer.lua
1
73106
----------------------------------- -- Area: Lower Jeuno -- NPC: Treasure Coffer -- Type: Add-on NPC -- !pos 41.169 3.899 -51.005 245 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Lower_Jeuno/TextIDs"); require(...
gpl-3.0
bnetcc/darkstar
scripts/globals/spells/bluemagic/evryone_grudge.lua
1
1104
----------------------------------------- -- Spell: Everyone's Grudge ----------------------------------------- require("scripts/globals/bluemagic"); require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/msg"); ----------------------------------------- function onMagicCastingChe...
gpl-3.0
bnetcc/darkstar
scripts/zones/Caedarva_Mire/npcs/_272.lua
5
3205
----------------------------------- -- Area: Caedarva Mire -- Door: Runic Seal -- !pos 486 -23 -500 79 ----------------------------------- package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); require("s...
gpl-3.0
erig0/textadept-vi
test/scripts/test.lua
1
13829
--[[ Utilities for running textadept tests. --]] local M = {} local results = io.open('./output/results.txt','w') local function log(msg) results:write(msg) results:flush() end M.log = log M.debug = false -- Catch any errors that happen. events.connect(events.ERROR, function(...) log(M.tostring(...).."\...
mit
Ivshti/vlc-2.2
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
Sticklord/oUF_AbuOptions
auras.lua
1
2536
local _, ns = ... local auras = _G.oUF_AbuAuraFilters local aurasname = auras:GetName() local L = oUFAbu.localization ------------------------------------------------------------------------- do local panel = CreateFrame('Frame', aurasname .. "General") function panel:Create() local editor = ns.Widgets.AuraEdit...
mit
bnetcc/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Rytaal.lua
5
4211
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Rytaal -- Type: Standard NPC -- !pos 112.002 -1.338 -45.038 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegat...
gpl-3.0
awesomeWM/awesome
spec/gears/color_spec.lua
8
10556
--------------------------------------------------------------------------- -- @author Uli Schlachter -- @copyright 2014 Uli Schlachter --------------------------------------------------------------------------- local color = require("gears.color") local cairo = require("lgi").cairo local say = require("say") describ...
gpl-2.0
Atebite/NutScript
gamemode/config/sv_database.lua
2
1856
--[[ Welcome to the NutScript database configuration. Here, you can change what method of data storage you would prefer. The following methods are available: - tmysql4 - https://code.google.com/p/blackawps-glua-modules/source/browse/gm_tmysql4_boost/Release/ - Includes both Windows and Linux - Requires s...
mit
erosennin/koreader
frontend/apps/reader/modules/readerhighlight.lua
1
15249
local InputContainer = require("ui/widget/container/inputcontainer") local GestureRange = require("ui/gesturerange") local Geom = require("ui/geometry") local Screen = require("ui/screen") local Device = require("ui/device") local Event = require("ui/event") local UIManager = require("ui/uimanager") local ButtonDialog ...
agpl-3.0
bnetcc/darkstar
scripts/globals/spells/bluemagic/subduction.lua
1
1335
----------------------------------------- -- Spell: Subduction ----------------------------------------- require("scripts/globals/bluemagic"); require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/msg"); ----------------------------------------- function onMagicCastingCheck(cast...
gpl-3.0
bnetcc/darkstar
scripts/globals/abilities/pets/attachments/mana_channeler.lua
4
1201
----------------------------------- -- Attachment: Mana Channeler ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onUseAbility ----------------------------------- function onEquip(pet) pet:addMod(MOD_MATT, 10); pet:addMod(MOD_AUTO_MAGIC_DELAY, -3)...
gpl-3.0
bnetcc/darkstar
scripts/zones/Dynamis-Valkurm/mobs/Cirrate_Christelle.lua
5
4105
----------------------------------- -- Area: Dynamis Valkurm -- MOB: Cirrate_Christelle ----------------------------------- package.loaded["scripts/zones/Dynamis-Valkurm/TextIDs"] = nil; ----------------------------------- require("scripts/globals/dynamis"); require("scripts/zones/Dynamis-Valkurm/TextIDs"); require("s...
gpl-3.0
Sticklord/oUF_AbuOptions
widgets/basic.lua
1
9065
local _, ns = ... ns.Widgets = ns.Widgets or {} ----------------------------------------------------------------------- -- Group local backdrop = { bgFile = [[Interface\ChatFrame\ChatFrameBackground]], edgeFile = [[Interface\Tooltips\UI-Tooltip-Border]], edgeSize = 16, tile = true, tileSize = 16, insets = ...
mit
bnetcc/darkstar
scripts/zones/Western_Adoulin/npcs/Eamonn.lua
7
1608
----------------------------------- -- Area: Western Adoulin -- NPC: Eamonn -- Type: Standard NPC and Quest NPC -- Starts and Involved with Quests: 'Scaredy-Cats' -- @zone 256 -- !pos -91 3 2 256 ----------------------------------- require("scripts/globals/quests"); ----------------------------------- function onT...
gpl-3.0
Taiwar/OpenComputers-Scripts
lib/glasses_helper.lua
1
6327
local comp = require("component") local g = comp.glasses local ghelper = {} local buttons = {} function ghelper.calculatePosition(object) local modifiers = object.getModifiers() local x = 0 local y = 0 local z = 0 if modifiers ~= nil then for _, value in pairs(modifiers) do if...
gpl-3.0
lcf258/openwrtcn
applications/luci-app-ddns/luasrc/tools/ddns.lua
6
9373
-- Copyright 2014 Christian Schoenebeck <christian dot schoenebeck at gmail dot com> -- Licensed to the public under the Apache License 2.0. module("luci.tools.ddns", package.seeall) local NX = require "nixio" local NXFS = require "nixio.fs" local OPKG = require "luci.model.ipkg" local UCI = require "luci.model.uc...
apache-2.0
bnetcc/darkstar
scripts/zones/Crawlers_Nest/npcs/qm12.lua
5
1791
----------------------------------- -- Area: Crawlers' Nest -- NPC: qm12 (??? - Exoray Mold Crumbs) -- Involved in Quest: In Defiant Challenge -- !pos 99.326 -0.126 -188.869 197 ----------------------------------- package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil; ----------------------------------- require(...
gpl-3.0
bnetcc/darkstar
scripts/globals/items/opo-opo_tart.lua
3
1100
----------------------------------------- -- ID: 4287 -- Item: opo-opo_tart -- Food Effect: 1hour, All Races ----------------------------------------- -- HP 12 -- MP 12 -- Intelligence 4 -- MP Recovered While Healing 3 ----------------------------------------- require("scripts/globals/status"); ------------------------...
gpl-3.0
awesomeWM/awesome
lib/awful/layout/suit/tile.lua
1
13395
--------------------------------------------------------------------------- --- Tiled layouts module for awful -- -- @author Donald Ephraim Curtis &lt;dcurtis@cs.uiowa.edu&gt; -- @author Julien Danjou &lt;julien@danjou.info&gt; -- @copyright 2009 Donald Ephraim Curtis -- @copyright 2008 Julien Danjou -- @module awful.l...
gpl-2.0
awesomeWM/awesome
lib/awful/client.lua
1
62245
--------------------------------------------------------------------------- --- Useful client manipulation functions. -- -- @author Julien Danjou &lt;julien@danjou.info&gt; -- @copyright 2008 Julien Danjou -- @module client --------------------------------------------------------------------------- -- Grab environment...
gpl-2.0
bnetcc/darkstar
scripts/globals/items/bowl_of_soy_ramen+1.lua
3
1546
----------------------------------------- -- ID: 6459 -- Item: bowl_of_soy_ramen_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- HP +55 -- STR +6 -- VIT +6 -- AGI +4 -- Attack +11% (cap 175) -- Ranged Attack +11% (cap 175) -- Resist Slow +15 ----------------------------------------- req...
gpl-3.0
nsimplex/Tallbrood
scripts/tallbrood/wicker/utils/io.lua
2
2510
--[[ Copyright (C) 2013 simplex This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that ...
gpl-2.0
mwoz123/koreader
frontend/ui/widget/footnotewidget.lua
1
15988
local BD = require("ui/bidi") local Blitbuffer = require("ffi/blitbuffer") local BottomContainer = require("ui/widget/container/bottomcontainer") local CenterContainer = require("ui/widget/container/centercontainer") local Device = require("device") local Event = require("ui/event") local FrameContainer = require("ui/w...
agpl-3.0
erosennin/koreader
frontend/apps/reader/modules/readerlink.lua
1
4334
local InputContainer = require("ui/widget/container/inputcontainer") local GestureRange = require("ui/gesturerange") local LinkBox = require("ui/widget/linkbox") local UIManager = require("ui/uimanager") local Geom = require("ui/geometry") local Screen = require("ui/screen") local Device = require("ui/device") local Ev...
agpl-3.0
bnetcc/darkstar
scripts/zones/Bhaflau_Thickets/TextIDs.lua
5
1242
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6380; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6386; -- Obtained: <item>. GIL_OBTAINED = 6387; -- Obtained <number> gil. KEYITEM_OBTAINED = 6389; -- Obtained...
gpl-3.0
etienne-gauvin/projet-tut
core/libs/hump/class.lua
35
2925
--[[ Copyright (c) 2010-2013 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, dis...
mit
mahdi161/tele
plugins/lock_fwd (2).lua
4
1218
do local function pre_process(msg) local hash = 'mate:'..msg.to.id if redis:get(hash) and msg.fwd_from and not is_momod(msg) then chat_del_user('chat#id'..msg.to.id,'user#id'..msg.from.id, ok_cb, false) return "fwd was locked" end return msg end local functio...
gpl-2.0
cfromknecht/N-Body
third_party/glsdk/glload/codegen/MakeAllFiles.lua
5
6077
--[[ Calling dofile on this will generate all of the header and source files needed for GLE. ]] require "_LoadLuaSpec" require "_MakeExtHeaderFile" require "_MakeMainHeaderFile" require "_MakeMainSourceFile" require "_MakeCoreHeaderFile" require "_MakeCoreSourceFile" require "_MakeInclTypeFile" require "_MakeInclCoreF...
mit
bnetcc/darkstar
scripts/globals/mobskills/pyric_blast.lua
33
1323
--------------------------------------------- -- Pyric Blast -- -- Description: Deals Fire damage to enemies within a fan-shaped area. Additional effect: Plague -- Type: Breath -- Ignores Shadows -- Range: Unknown Cone --------------------------------------------- require("scripts/globals/settings"); require("scr...
gpl-3.0
kostajaitachi/shogun
tests/integration/lua_modular/generator.lua
21
1204
package.path = package.path .. ";../../../src/interfaces/lua_modular/?.lua;" package.cpath = package.cpath .. ";../../../src/interfaces/lua_modular/?.so;/usr/local/lib/?.so" require("lfs") example_dir = '../../examples/undocumented/lua_modular' test_dir = '../../../testsuite/tests' blacklist = {"load.lua", "MatrixTes...
gpl-3.0
bnetcc/darkstar
scripts/zones/Qufim_Island/npcs/Singing_Blade_IM.lua
3
2968
----------------------------------- -- Area: Qufim Island -- NPC: Singing Blade, I.M. -- Type: Border Conquest Guards -- !pos 179.093 -21.575 -15.282 126 ----------------------------------- package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest...
gpl-3.0
awesomeWM/awesome
lib/awful/layout/init.lua
1
17540
--------------------------------------------------------------------------- --- Deterministically lay the clients in a screen workarea. -- -- The `awful.layout` module contains many sub-modules. Each of them contain -- one or more layout. `awful.layout` offers static layouts rather than -- tree based like other WMs. Th...
gpl-2.0
bnetcc/darkstar
scripts/zones/The_Sanctuary_of_ZiTah/npcs/Calliope_IM.lua
3
2985
----------------------------------- -- Area: The Sanctuary of Zi'Tah -- NPC: Calliope, I.M. -- Outpost Conquest Guards -- !pos -40.079 -0.642 -148.785 121 ----------------------------------- package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil; ----------------------------------- require("scripts/globa...
gpl-3.0
s4jj4d021/TgGuard
plugins/inpm.lua
1
9762
local function pre_process(msg) local to = msg.to.type local service = msg.service if to == 'user' and msg.fwd_from then if not is_support(msg.from.id) and not is_admin1(msg) then return end local user = 'user#id'..msg.from.id local from_id = msg.fwd_from.peer_id if msg.fwd_from.first_name then ...
agpl-3.0
bnetcc/darkstar
scripts/zones/Grand_Palace_of_HuXzoi/npcs/qm4.lua
1
1341
----------------------------------- -- Area: Grand Palace of Hu'Xzoi -- NPC: ??? Ix'aern (Monk) ----------------------------------- package.loaded["scripts/zones/AlTaieu/TextIDs"] = nil; ----------------------------------- require("scripts/zones/AlTaieu/TextIDs"); require("scripts/globals/status"); ----------------...
gpl-3.0
msneddon/narrative
docker/proxy_mgr.lua
1
51213
-- -- REST based HTTP service that allows you to query/modify the contents of an -- nginx shared memory DICT object. -- -- bind this via an access_by_lua_file directive in nginx.conf -- make sure that there is an nginx variable called uri_base in the current -- context - it is used in parsing out the URI path -- Used t...
mit
erosennin/koreader
frontend/ui/widget/imagewidget.lua
1
3028
local Widget = require("ui/widget/widget") local CacheItem = require("cacheitem") local Mupdf = require("ffi/mupdf") local Geom = require("ui/geometry") local Cache = require("cache") local DEBUG = require("dbg") local ImageCache = Cache:new{ max_memsize = 2*1024*1024, -- 2M of image cache current_memsize = 0,...
agpl-3.0
bnetcc/darkstar
scripts/globals/weaponskills/shell_crusher.lua
3
1671
----------------------------------- -- Shell Crusher -- Staff weapon skill -- Skill Level: 175 -- Lowers target's defense. Duration of effect varies with TP. -- If unresisted, lowers target defense by 25%. -- Will stack with Sneak Attack. -- Aligned with the Breeze Gorget. -- Aligned with the Breeze Belt. -- Element: N...
gpl-3.0
bnetcc/darkstar
scripts/zones/Garlaige_Citadel/npcs/qm17.lua
5
1037
----------------------------------- -- Area: Garlaige Citadel -- NPC: qm17 (???) -- Notes: Used to obtain Pouch of Weighted Stones -- !pos -354 0 262 200 ----------------------------------- package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil; ----------------------------------- require("scripts/globals/sett...
gpl-3.0
zeropool/duktape
tests/perf/test-assign-const.lua
12
1883
local function test() local t for i=1,1e7 do t = 123.0 t = 123.1 t = 123.2 t = 123.3 t = 123.4 t = 123.5 t = 123.6 t = 123.7 t = 123.8 t = 123.9 t = 123.0 t = 123.1 t = 123.2 t = 123.3 t = 1...
mit
best98ir/SASAN
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-3.0
Atebite/NutScript
plugins/doors/entities/weapons/nut_keys.lua
2
4589
AddCSLuaFile() if (CLIENT) then SWEP.PrintName = "Keys" SWEP.Slot = 0 SWEP.SlotPos = 2 SWEP.DrawAmmo = false SWEP.DrawCrosshair = false end SWEP.Author = "Chessnut" SWEP.Instructions = "Primary Fire: Lock\nSecondary Fire: Unlock" SWEP.Purpose = "Hitting things and knocking on doors." SWEP.Drop = false SWEP.View...
mit
bnetcc/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/Planar_Rift.lua
1
1811
----------------------------------- -- Area: The_Eldieme_Necropolis -- NPC: Planar Rift ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/zones/The_Eldieme_Necropolis/TextI...
gpl-3.0
bnetcc/darkstar
scripts/globals/spells/swift_etude.lua
5
1577
----------------------------------------- -- Spell: Swift Etude -- Static AGI Boost, BRD 68 ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/msg"); ----------------------------------------- function onMagicCastingCheck(caster,target...
gpl-3.0
bnetcc/darkstar
scripts/globals/items/laevateinn.lua
3
4209
----------------------------------------- -- ID: 18994 -- Item: Laevateinn ----------------------------------------- require("scripts/globals/msg"); require("scripts/globals/status"); require("scripts/globals/weaponskills"); require("scripts/globals/weaponskillids"); ----------------------------------- local NAME_WEAP...
gpl-3.0
mwoz123/koreader
frontend/ui/data/keyboardlayouts/fa_keyboard.lua
6
4330
local en_popup = require("ui/data/keyboardlayouts/keypopup/en_popup") local fa_popup = require("ui/data/keyboardlayouts/keypopup/fa_popup") local prd = en_popup.prd -- period (.) local _at = en_popup._at local alef = fa_popup.alef local h_aa = fa_popup.h_aa -- This is Persian letter هـ / as in English "hello". local wa...
agpl-3.0
bnetcc/darkstar
scripts/globals/abilities/focalization.lua
4
1181
----------------------------------- -- Ability: Focalization -- Increases the accuracy of your next black magic spell. -- Obtained: Scholar Level 75 -- Recast Time: Stratagem Charge -- Duration: 1 black magic spell or 60 seconds, whichever occurs first -- -- Level |Charges |Recharge Time per Charge -- ----- -------...
gpl-3.0
bnetcc/darkstar
scripts/globals/mobskills/minerva_melee_special.lua
1
1632
--------------------------------------------- -- Minerva_Melee_Special -- -- Minerva's melee attacks count as non elemental magic damage and bypasses shadows. -- While damage is magic, power is calculated by physical attack vs physical defense. ---Steals 1 TP and has 1 in 10 chance to stun for 1 second. ---------------...
gpl-3.0
bnetcc/darkstar
scripts/globals/spells/dia_iii.lua
3
2928
----------------------------------------- -- Spell: Dia III -- Lowers an enemy's defense and gradually deals light elemental damage. -- caster:getMerit() returns a value which is equal to the number of merit points TIMES the value of each point -- Dia III value per point is '30' This is a constant set in the table 'mer...
gpl-3.0
TurkeyMan/premake-core
modules/vstudio/tests/vc2010/test_rule_targets.lua
16
1808
-- -- tests/actions/vstudio/vc2010/vstudio_vs2010_rule_targets.lua -- Validate generation of custom rules -- Author Tom van Dijck -- Copyright (c) 2016 Jason Perkins and the Premake project -- local p = premake local suite = test.declare("vstudio_vs2010_rule_targets") local vc2010 = p.vstudio.vc2010 local m = p.vs...
bsd-3-clause
norefle/facil
src/fl/version.lua
1
1029
--[[---------------------------------------------------------------------------- --- @file version.lua --- @brief fácil cli: version command handler. ----------------------------------------------------------------------------]]-- --- Name of fácil. local FACIL_NAME="fácil" --- Name of main executable of fácil. local...
mit
awesomeWM/awesome
tests/test-spawn-snid.lua
4
1624
--- Tests for spawn's startup notifications. local runner = require("_runner") local test_client = require("_client") local manage_called, c_snid client.connect_signal("request::manage", function(c) manage_called = true c_snid = c.startup_id assert(c.machine == awesome.hostname, tostring(c.mac...
gpl-2.0
bnetcc/darkstar
scripts/globals/items/aileens_delight.lua
3
1389
----------------------------------------- -- ID: 5674 -- Item: Aileen's Delight -- Food Effect: 60 Min, All Races ----------------------------------------- -- HP +50 -- MP +50 -- STR +4 -- DEX +4 -- VIT +4 -- AGI +4 -- INT +4 -- MND +4 -- CHR +4 -- MP recovered while healing +2 -----------------------------------------...
gpl-3.0
bnetcc/darkstar
scripts/zones/Al_Zahbi/mobs/Xarhorkur_the_Claviger.lua
24
1590
----------------------------------- -- Area: Besieged -- ----------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/utils"); require("scripts/zones/Al_Zahbi/TextIDs"); ----------------------------------- -- onMobInitialize Action --------------...
gpl-3.0