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
bnetcc/darkstar
scripts/globals/items/ferdinand.lua
3
2047
----------------------------------------- -- ID: 18335 -- Item: Ferdinand ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/msg"); require("scripts/globals/weaponskills"); require("scripts/globals/weaponskillids"); ----------------------------------- local NAME_WEAPO...
gpl-3.0
TurkeyMan/premake-core
modules/vstudio/vs2015.lua
10
1571
-- -- vs2015.lua -- Extend the existing exporters with support for Visual Studio 2015. -- Copyright (c) Jason Perkins and the Premake project -- local p = premake local vstudio = p.vstudio --- -- Define the Visual Studio 2015 export action. --- newaction { -- Metadata for the command line and help system tri...
bsd-3-clause
bnetcc/darkstar
scripts/globals/weaponskills/tachi_jinpu.lua
23
1422
----------------------------------- -- Tachi Jinpu -- Great Katana weapon skill -- Skill level: 150 -- Two-hit attack. Deals Physical and wind elemental damage to enemy. Additonal Effect Damage varies with TP. -- Will stack with Sneak Attack and Souleater. -- Aligned with the Breeze Gorget & Shadow Gorget. -- Aligned w...
gpl-3.0
Wiladams/LLUI
testy/camera_props.lua
1
2194
package.path = package.path..";../src/?.lua" local libc = require("libc") local fun = require("fun")() local V4LCamera = require("V4LCamera") -- get device context so we can query local ctxt, err = require("UDVContext")() assert(ctxt ~= nil, "Error creating context") -- the predicate local function isCamera(dev) i...
mit
lcf258/openwrtcn
applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/iwinfo.lua
31
1569
-- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. module("luci.statistics.rrdtool.definitions.iwinfo", package.seeall) function rrdargs( graph, plugin, plugin_instance ) -- -- signal/noise diagram -- local snr = { title = "%H: Signal and noise on %pi", ...
apache-2.0
TurkeyMan/premake-core
tests/base/test_os.lua
8
9046
--- -- tests/base/test_os.lua -- Automated test suite for the new OS functions. -- Copyright (c) 2008-2017 Jason Perkins and the Premake project --- local suite = test.declare("base_os") local cwd function suite.setup() cwd = os.getcwd() os.chdir(_TESTS_DIR) end function suite.teardown() ...
bsd-3-clause
Etiene/Algorithm-Implementations
Run_Length_Encoding/Lua/Yonaba/rle_test.lua
26
1931
-- Tests for rle.lua local rle = require 'rle' 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 = pass + 1 end local status = ok...
mit
Lleafll/doom-shards
Libs/AceGUI-3.0-SharedMediaWidgets/FontWidget.lua
8
6008
-- Widget is based on the AceGUIWidget-DropDown.lua supplied with AceGUI-3.0 -- Widget created by Yssaril local AceGUI = LibStub("AceGUI-3.0") local Media = LibStub("LibSharedMedia-3.0") local AGSMW = LibStub("AceGUISharedMediaWidgets-1.0") do local widgetType = "LSM30_Font" local widgetVersion = 10 local conten...
mit
bnetcc/darkstar
scripts/zones/Mhaura/npcs/Take.lua
5
4063
----------------------------------- -- Area: Mhaura -- NPC: Take -- Involved In Quest: RYCHARDE_THE_CHEF -- Starts and finishes quest: Expertice ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scr...
gpl-3.0
OpenPrograms/Plan9k
pipes/21_threadUtil.lua
1
1833
function joinThread(pid) --coroutine.yield("yield", 0) while true do local dead = coroutine.yield("kill") if pid == dead then break end end end function getThreadInfo() local info = {} kernel.modules.threading.eachThread(function(thread) info[thread.pid] ...
mit
Etiene/Algorithm-Implementations
Euclidean_algorithm/Lua/Yonaba/euclidian.lua
27
1312
-- Checks if a is an integer value local function isInt(a) return math.floor(a) == a end -- Performs checks and provides early exit -- a, b must be positive integers -- handles GCD(a,0) = a, GCD(0,b) = b -- GCD(0,0) do not exist -- See: http://en.wikipedia.org/wiki/Binary_GCD_algorithm#Algorithm local function checkA...
mit
miralireza2/star_bottelegram
plugins/get.lua
613
1067
local function get_variables_hash(msg) if msg.to.type == 'chat' then return 'chat:'..msg.to.id..':variables' end if msg.to.type == 'user' then return 'user:'..msg.from.id..':variables' end end local function list_variables(msg) local hash = get_variables_hash(msg) if hash then local names =...
gpl-2.0
mrvigeo/uzzbot
plugins/get.lua
613
1067
local function get_variables_hash(msg) if msg.to.type == 'chat' then return 'chat:'..msg.to.id..':variables' end if msg.to.type == 'user' then return 'user:'..msg.from.id..':variables' end end local function list_variables(msg) local hash = get_variables_hash(msg) if hash then local names =...
gpl-2.0
Etiene/Algorithm-Implementations
Knuth_Morris_Pratt/Lua/Yonaba/kmp.lua
26
1219
-- Knuth-Morris-Pratt string searching algorithm implementation -- See: http://en.wikipedia.org/wiki/Knuth%E2%80%93Morris%E2%80%93Pratt_algorithm local function kmp_table(pattern) local result = {} for i = 1, #pattern+1,1 do local j = i while true do if j == 1 then result[#result + 1] = 1 ...
mit
bnetcc/darkstar
scripts/zones/North_Gustaberg/TextIDs.lua
3
1416
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED_TWICE = 6561; -- You cannot obtain the item <item>. ITEM_CANNOT_BE_OBTAINED = 6562; -- You cannot obtain the item <item>. Come back after sorting your inventory. FULL_INVENTORY_AFTER_TRADE = 6565; -- You cannot obtain the #. Try tr...
gpl-3.0
bnetcc/darkstar
scripts/zones/Beaucedine_Glacier/npcs/Leaufetie_RK.lua
3
2981
----------------------------------- -- Area: Beaucedine Glacier -- NPC: Leaufetie, R.K. -- Type: Conquest Overseer -- !pos -227.956 -81.475 260.442 111 ----------------------------------- package.loaded["scripts/zones/Beaucedine_Glacier/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conq...
gpl-3.0
anoidgit/rnn
MaskZero.lua
3
3518
------------------------------------------------------------------------ --[[ MaskZero ]]-- -- Decorator that zeroes the output rows of the encapsulated module -- for commensurate input rows which are tensors of zeros ------------------------------------------------------------------------ local MaskZero, parent = torc...
bsd-3-clause
bnetcc/darkstar
scripts/globals/weaponskills/blast_arrow.lua
10
1384
----------------------------------- -- Blast Arrow -- Archery weapon skill -- Skill level: 200 -- Delivers a melee-distance ranged attack. params.accuracy varies with TP. -- Aligned with the Snow Gorget & Light Gorget. -- Aligned with the Snow Belt & Light Belt. -- Element: None -- Modifiers: STR:16% ; AGI:25% -- 100%T...
gpl-3.0
bnetcc/darkstar
scripts/zones/Eastern_Altepa_Desert/npcs/Eulaclaire.lua
3
1345
----------------------------------- -- Area: Eastern Altepa Desert -- NPC: Eulaclaire -- Type: Chocobo Renter ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/globals/chocobo"); require("scripts/globals/status"); ----------------------------...
gpl-3.0
norefle/facil
src/fl.lua
1
2136
--[[---------------------------------------------------------------------------- --- @file fl.lua --- @brief Cli application of fΓ‘cil task/card system. ----------------------------------------------------------------------------]]-- local Options = require "cliargs" local Fl = {} Fl.create = require "fl.create" Fl.in...
mit
farshadfaza/newpermag
libs/fakeredis.lua
31
40538
local unpack = table.unpack or unpack --- Bit operations local ok,bit if _VERSION == "Lua 5.3" then bit = (load [[ return { band = function(x, y) return x & y end, bor = function(x, y) return x | y end, bxor = function(x, y) return x ~ y end, bnot = function(x) return ~x end, rshift = function(x...
gpl-3.0
bnetcc/darkstar
scripts/zones/The_Sanctuary_of_ZiTah/npcs/qm2.lua
7
1364
----------------------------------- -- Area: The Sanctuary of ZiTah -- NPC: qm2 (???) -- Involved in Quest: Forge Your Destiny -- !pos 639 -1 -151 121 ----------------------------------- package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The...
gpl-3.0
vowstar/nodemcu-firmware
lua_modules/redis/redis.lua
86
2621
------------------------------------------------------------------------------ -- Redis client module -- -- LICENCE: http://opensource.org/licenses/MIT -- Vladimir Dronnikov <dronnikov@gmail.com> -- -- Example: -- local redis = dofile("redis.lua").connect(host, port) -- redis:publish("chan1", foo") -- redis:subscribe("...
mit
yswifi/APlan
build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/luci/applications/luci-p910nd/luasrc/model/cbi/p910nd.lua
74
1512
--[[ LuCI p910nd (c) 2008 Yanira <forum-2008@email.de> (c) 2012 Jo-Philipp Wich <jow@openwrt.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...
gpl-2.0
bnetcc/darkstar
scripts/globals/weaponskills/nightmare_scythe.lua
3
1658
----------------------------------- -- Nightmare Scythe -- Scythe weapon skill -- Skill Level: 100 -- Blinds enemy. Duration of effect varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Shadow Gorget & Soil Gorget. -- Aligned with the Shadow Belt & Soil Belt. -- Element: None -- Modifiers: STR:60% ; M...
gpl-3.0
bnetcc/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_5fl.lua
5
2281
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: East Plate -- !pos 231 -34 20 195 ----------------------------------- function onTrade(player,npc,trade) end; function onTrigger(player,npc) local state0 = 8; local state1 = 9; local DoorOffset = npc:getID() - 20; -- _5f1 if...
gpl-3.0
bnetcc/darkstar
scripts/zones/Windurst_Waters/npcs/Taajiji.lua
5
1504
----------------------------------- -- Area: Windurst Waters -- NPC: Taajiji -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ----------------------------------- require("scr...
gpl-3.0
bnetcc/darkstar
scripts/globals/items/crayfish.lua
3
1181
----------------------------------------- -- ID: 4472 -- Item: crayfish -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity -3 -- Vitality 1 -- defense +10% (unknown cap) ----------------------------------------- require("scripts/globals/status"); -----------------------------------...
gpl-3.0
bnetcc/darkstar
scripts/zones/Qufim_Island/npcs/Numumu_WW.lua
3
2965
----------------------------------- -- Area: Qufim Island -- NPC: Numumu, W.W. -- Type: Border Conquest Guards -- !pos 179.093 -21.575 -15.282 126 ----------------------------------- package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); req...
gpl-3.0
Lleafll/doom-shards
Modules/WeakaurasConfig.lua
1
10629
---------------------- -- Get addon object -- ---------------------- local DS = LibStub("AceAddon-3.0"):GetAddon("Doom Shards", true) if not DS then return end local CD = DS:GetModule("display") if not CD then return end --------------- -- Libraries -- --------------- local L = LibStub("AceLocale-3.0"):GetLocale("Doo...
mit
bnetcc/darkstar
scripts/globals/spells/huton_ni.lua
1
1073
----------------------------------------- -- Spell: Huton: Ni -- Deals wind damage to an enemy and lowers its resistance against ice. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------...
gpl-3.0
amirazadi/BDReborn
plugins/plugins.lua
1
7167
do -- #Begin plugins.lua -- 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 fu...
gpl-3.0
tehran980/Tele_MAXBOT
plugins/img_google.lua
660
3196
do local mime = require("mime") local google_config = load_from_file('data/google.lua') local cache = {} --[[ local function send_request(url) local t = {} local options = { url = url, sink = ltn12.sink.table(t), method = "GET" } local a, code, headers, status = http.request(options) return tabl...
gpl-2.0
Ravenlord/ddp-testing
tests/inheritance/03_concrete-delete.lua
1
2173
--[[! - This is free and unencumbered software released into the public domain. - - Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form - or as a compiled binary, for any purpose, commercial or non-commercial, and by any means. - - In jurisdictions ...
unlicense
bnetcc/darkstar
scripts/globals/mobskills/abominable_belch_custom.lua
1
1162
--------------------------------------------------- -- Abominable Belch -- AoE Paralyze, Silence, and Plague. -- Used in place of Vile Belch starting at <50% HP. --------------------------------------------------- require("scripts/globals/monstertpmoves"); require("scripts/globals/settings"); require("scripts/globals/s...
gpl-3.0
knyghtmare/War_of_Legends
lua/gui/amla_list.lua
1
25643
-- -- [amla_list] dialog -- -- codename Naia - Project Ethea phase 1 campaigns shared library -- Copyright (C) 2019 - 2020 by Iris Morelle <shadowm@wesnoth.org> -- -- See COPYING for usage terms. -- ------------- -- amlalib -- ------------- amla = {} amla.__index = amla local function a_validate(cond, msg, ...) if ...
gpl-2.0
bnetcc/darkstar
scripts/zones/Northern_San_dOria/npcs/Ramua.lua
3
1543
----------------------------------- -- Area: Northern San d'Oria -- NPC: Ramua -- Type: Woodworking Synthesis Image Support -- !pos -183.750 10.999 255.770 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/glob...
gpl-3.0
bnetcc/darkstar
scripts/zones/Sauromugue_Champaign/Zone.lua
5
3821
----------------------------------- -- -- Zone: Sauromugue_Champaign (120) -- ----------------------------------- package.loaded["scripts/zones/Sauromugue_Champaign/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Sauromugue_Champaign/TextIDs"); require("scripts/zones/Sauromugue_Champaign/Mob...
gpl-3.0
bnetcc/darkstar
scripts/zones/Attohwa_Chasm/mobs/Achuka.lua
1
1818
----------------------------------- -- Area: Attohwa Chasm -- MOB: Achuka (Custom Version) ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/status"); ----------------------------------- -- onMobInitialize Action ----------------------------------- function onMobInitial...
gpl-3.0
bnetcc/darkstar
scripts/globals/mobskills/regurgitated_swarm_custom.lua
1
1222
--------------------------------------------- -- Bad Breath -- -- Description: Deals earth damage that inflicts multiple status ailments on enemies within a fan-shaped area originating from the caster. -- Type: Magical (Earth) -- -- --------------------------------------------- require("scripts/globals/settings"); r...
gpl-3.0
powerboat9/ONIMU
ONIMU/loader.lua
1
1082
os.loadAPI("ONIMU/lib/graphics") local pre_init = fs.find("ONIMU/programs/*/os/startup/pre_init/*") local post_init = fs.find("ONIMU/programs/*/os/startup/post_init/*") --PRE_INIT for k, v in ipairs(pre_init) do shell.run(v) end --OS init --User Types: Secure, Basic, All Basic, Advanced, OS, BIOS filePerms = {...
mit
bnetcc/darkstar
scripts/globals/items/serving_of_batagreen_sautee.lua
3
1148
----------------------------------------- -- ID: 4553 -- Item: serving_of_batagreen_sautee -- Food Effect: 180Min, All Races ----------------------------------------- -- Agility 1 -- Vitality -2 -- Ranged ACC % 7 -- Ranged ACC Cap 15 ----------------------------------------- require("scripts/globals/status"); ---------...
gpl-3.0
bnetcc/darkstar
scripts/globals/weaponskills/wasp_sting.lua
3
1597
----------------------------------- -- Wasp Sting -- Dagger weapon skill -- Skill level: 5 -- Poisons target. Duration of effect varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Soil Gorget. -- Aligned with the Soil Belt. -- Element: None -- Modifiers: : DEX:100% -- 100%TP 200%TP 300%TP -- ...
gpl-3.0
awesomeWM/awesome
tests/examples/awful/wibar/position2.lua
1
1081
--DOC_GEN_IMAGE --DOC_NO_USAGE --DOC_HIDE_ALL --DOC_HIDE_START local awful = require("awful") local wibox = require("wibox") local beautiful = require("beautiful") screen[1]._resize {width = 480, height = 196} local colors = { top = "#ffff00", bottom = "#ff00ff", left = "#00ff...
gpl-2.0
bnetcc/darkstar
scripts/globals/items/plate_of_tentacle_sushi_+1.lua
3
1388
----------------------------------------- -- ID: 5216 -- Item: plate_of_tentacle_sushi_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- HP 20 -- Dexterity 3 -- Agility 3 -- Accuracy % 20 (cap 20) -- Ranged Accuracy % 20 (cap 20) -- Double Attack 1 ----------------------------------------...
gpl-3.0
TeleDALAD/test
plugins/rae.lua
616
1312
do function getDulcinea( text ) -- Powered by https://github.com/javierhonduco/dulcinea local api = "http://dulcinea.herokuapp.com/api/?query=" local query_url = api..text local b, code = http.request(query_url) if code ~= 200 then return "Error: HTTP Connection" end dulcinea = json:decode(b) ...
gpl-2.0
bnetcc/darkstar
scripts/zones/Mhaura/npcs/Porter_Moogle.lua
7
1148
----------------------------------- -- Area: Mhaura -- NPC: Porter Moogle -- Type: Storage Moogle -- @zone 249 -- !pos TODO ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mhaura/TextIDs"); require("scripts/globa...
gpl-3.0
bnetcc/darkstar
scripts/zones/Chateau_dOraguille/npcs/Halver.lua
5
9311
----------------------------------- -- Area: Chateau d'Oraguille -- NPC: Halver -- Involved in Mission 2-3, 3-3, 5-1, 5-2, 8-1 -- Involved in Quest: Lure of the Wildcat (San d'Oria) -- !pos 2 0.1 0.1 233 ----------------------------------- package.loaded["scripts/zones/Chateau_dOraguille/TextIDs"] = nil; -------------...
gpl-3.0
bnetcc/darkstar
scripts/zones/Dragons_Aery/Zone.lua
1
2120
----------------------------------- -- -- Zone: Dragons_Aery (154) -- ----------------------------------- package.loaded["scripts/zones/Dragons_Aery/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Dragons_Aery/TextIDs"); require("scripts/zones/Dragons_Aery/MobIDs"); require("scripts/globals/...
gpl-3.0
Atebite/NutScript
gamemode/languages/sh_russian.lua
4
15645
ο»Ώ --Russian translation by Shadow Nova (http://steamcommunity.com/profiles/76561197989134302) --Edited/fixed by Schwarz Kruppzo (http://steamcommunity.com/id/schwarzkruppzo) --Edited and added new by Neon (http://steamcommunity.com/id/ru_neon) NAME = "Русский" LANGUAGE = { loading = "ЗагруТаСтся", dbError = "ΠŸΠΎΠ΄ΠΊΠ»ΡŽΡ‡...
mit
awesomeWM/awesome
tests/examples/sequences/client/tasklist_filter_focused1.lua
1
1828
--DOC_GEN_IMAGE --DOC_HIDE_START --DOC_NO_USAGE local module = ... require("ruled.client") local awful = { tag = require("awful.tag"), widget = { tasklist = require("awful.widget.tasklist") }, button = require("awful.button"), layout = require("awful.layout") } require("awful.ewmh") loca...
gpl-2.0
bnetcc/darkstar
scripts/zones/Phomiuna_Aqueducts/npcs/_0rt.lua
5
1306
----------------------------------- -- Area: Phomiuna_Aqueducts -- NPC: Oil lamp -- !pos -60 -23 60 27 ----------------------------------- package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/Phomiuna_Aqueducts...
gpl-3.0
mahdi161/tele
bot/seedbot.lua
1
10109
package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua' ..';.luarocks/share/lua/5.2/?/init.lua' package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so' require("./bot/utils") VERSION = '2' -- This function is called when tg receive a msg function on_msg_receive (msg) if not started then return...
gpl-2.0
bnetcc/darkstar
scripts/globals/abilities/box_step.lua
5
7753
----------------------------------- -- Ability: Box Step -- Lowers target's defense. If successful, you will earn two Finishing Moves. -- Obtained: Dancer Level 30 -- TP Required: 10% -- Recast Time: 00:05 -- Duration: First Step lasts 1 minute, each following Step extends its current duration by 30 seconds. ----------...
gpl-3.0
bnetcc/darkstar
scripts/zones/Ifrits_Cauldron/npcs/relic.lua
5
1546
----------------------------------- -- Area: Ifrit's Cauldron -- NPC: <this space intentionally left blank> -- !pos -18 40 20 205 ----------------------------------- package.loaded["scripts/zones/Ifrits_Cauldron/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Ifrits_Cauldron/TextIDs"); ----...
gpl-3.0
bnetcc/darkstar
scripts/zones/Southern_San_dOria/npcs/Ostalie.lua
5
2196
----------------------------------- -- Area: Southern San d'Oria -- NPC: Ostalie -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/shop"); requi...
gpl-3.0
awesomeWM/awesome
tests/examples/wibox/awidget/tasklist/style_align.lua
1
1111
--DOC_HIDE_START --DOC_GEN_IMAGE local parent = ... local beautiful = require("beautiful") local wibox = require("wibox") local awful = { widget = { tasklist = require("awful.widget.tasklist") } } local t_real = require("awful.tag").add("Test", {screen=screen[1]}) local s = screen[1] parent.spacing = 5 beautifu...
gpl-2.0
bnetcc/darkstar
scripts/globals/items/rabbit_pie.lua
3
1588
----------------------------------------- -- ID: 5685 -- Item: rabbit_pie -- Food Effect: 30minutes, All Races ----------------------------------------- -- Strength 5 -- Vitality 5 -- Attack 25% (caps @ 100) -- Ranged Attack 25% (caps @ 100) -- Defense 25% (caps @ 100) -- Intelligence -2 -------------------------------...
gpl-3.0
awesomeWM/awesome
tests/test-keygrabber.lua
4
2355
-- Test for #2712: It should be possible to create multiple instances of -- keygrabber during the same loop. local runner = require("_runner") local awful = require("awful") local keygrabber_a_active = false local keygrabber_b_active = false -- Disable the deprecation to test both the current and legacy APIs. local ...
gpl-2.0
tyekx/d3d
Projects/gg011-Gamefiles/Lua/objects.lua
1
3924
--[[ init:CreateMeshObject({ Position = {x = 2.0, y = 2.0, z = 2.0, w = 1.0}, Rotation = {x = 0.0, y = 1.0, z = 0.0, w = 0.0}, Mesh = "Mesh.GlassGiraffe" }) Water = init:CreateMeshObject({ Position = {x = 0.0, y = 0.0, z = -200.0, w = 1.0}, Rotation = {x = 0.0, y = 1.0, z = 0.0, w = 0.0}, Mesh = "Mesh.Water" }) ...
apache-2.0
bnetcc/darkstar
scripts/zones/Sauromugue_Champaign/TextIDs.lua
5
1465
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6402; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6408; -- Obtained: <item>. GIL_OBTAINED = 6409; -- Obtained <number> gil. KEYITEM_OBTAINED = 6411; -- Obta...
gpl-3.0
erwin8086/basiccomputers
init.lua
1
14347
--[[ basiccomputers mod. Made by henry8086. ]] -- Load basic and vfs module local path = minetest.get_modpath("basiccomputers") local basic = assert(loadfile(path.."/luabasic/sandbox.lua"))(path.."/luabasic") local vfs = assert(loadfile(path.."/vfs.lua"))() -- Generate basiccomputers structure basiccomputers = {} b...
lgpl-2.1
gamebytes/pioneer
data/models/buildings/city/church/church.lua
1
1369
--[[ define_model('church', { info = { scale = 1, lod_pixels = { 5, 100, 200 }, bounding_radius=60, materials={'wall', 'gold', 'wins', 'text', 'lamp'}, tags = {'city_building'}, }, static = function(lod) set_material('wall', 1,1,1,1,.3,.3,.3,5) set_material('gold', 1, .9, .6, 1, 1, .9, .8, 50) ...
gpl-3.0
bnetcc/darkstar
scripts/globals/items/bowl_of_puls.lua
3
1034
----------------------------------------- -- ID: 4492 -- Item: bowl_of_puls -- Food Effect: 3Hrs, All Races ----------------------------------------- -- Vitality 2 -- Dexterity -1 -- HP Recovered While Healing 3 ----------------------------------------- require("scripts/globals/status"); -------------------------------...
gpl-3.0
bnetcc/darkstar
scripts/globals/mobskills/wire_cutter_custom.lua
1
1046
--------------------------------------------------- -- 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
bnetcc/darkstar
scripts/zones/Bastok_Mines/npcs/Emaliveulaux.lua
5
1583
----------------------------------- -- Area: Bastok Mines -- NPC: Emaliveulaux -- Only sells when Bastok controls the Tavnazian Archipelago -- Only available to those with CoP Ch. 4.1 or higher ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; -----------------------------...
gpl-3.0
bnetcc/darkstar
scripts/globals/spells/bluemagic/wind_breath.lua
1
1209
----------------------------------------- -- Spell: Wind Breath ----------------------------------------- require("scripts/globals/bluemagic"); require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/msg"); ----------------------------------------- function onMagicCastingCheck(cas...
gpl-3.0
bverhagen/system-config
awesome/rc-4.0.lua
1
23983
-- Standard awesome library local gears = require("gears") local awful = require("awful") require("awful.autofocus") -- Widget and layout library local wibox = require("wibox") -- Theme handling library local beautiful = require("beautiful") -- Notification library local naughty = require("naughty") local menubar = req...
mit
bnetcc/darkstar
scripts/globals/mobskills/tebbad_wing_air.lua
33
1083
--------------------------------------------- -- Tebbad Wing -- -- Description: A hot wind deals Fire damage to enemies within a very wide area of effect. Additional effect: Plague -- Type: Magical -- Utsusemi/Blink absorb: Wipes shadows -- Range: 30' radial. -- Notes: Used only by Tiamat, Smok and Ildebrann ----...
gpl-3.0
bnetcc/darkstar
scripts/zones/Kuftal_Tunnel/npcs/Planar_Rift.lua
1
2114
----------------------------------- -- Area: Kuftal_Tunnel -- NPC: Planar Rift ----------------------------------- package.loaded["scripts/zones/Kuftal_Tunnel/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("scripts/globals/quests"); require("scripts/globals/keyitems");...
gpl-3.0
motherfscker/minetest_game
mods/beds/beds.lua
18
2586
-- Fancy shaped bed beds.register_bed("beds:fancy_bed", { description = "Fancy Bed", inventory_image = "beds_bed_fancy.png", wield_image = "beds_bed_fancy.png", tiles = { bottom = { "beds_bed_top1.png", "default_wood.png", "beds_bed_side1.png", "beds_bed_side1.png^[transformFX", "default_wood.png"...
lgpl-2.1
fengshao0907/Atlas
lib/histogram.lua
40
5165
--[[ $%BEGINLICENSE%$ Copyright (c) 2007, 2008, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is dis...
gpl-2.0
packetchaser/mobster
scripts/ssh-events.lua
1
1798
-- ---------------------------------------------- -- -- ---------------------------------------------- package.path = script_dir.."/?.lua;" .. package.path package.cpath = script_dir.."/lib/?.so;" .. package.cpath local redis = require('redis') local json = require('cjson') local mm = require 'maxminddb' local db = m...
gpl-2.0
hooksta4/darkstar
scripts/zones/zones/Arrapago_Reef/mobs/Qutrub.lua
2
3374
<<<<<<< HEAD ----------------------------------- -- Area: Arrapago Reef -- NPC: Qutrub ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onMobInitialize Action ----------------------------------- function onMobInitialize(mob) end; --------------------...
gpl-3.0
gedadsbranch/Darkstar-Mission
scripts/globals/items/serving_of_karni_yarik_+1.lua
35
1394
----------------------------------------- -- ID: 5589 -- Item: serving_of_karni_yarik_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Agility 3 -- Vitality -1 -- Attack % 20 -- Attack Cap 65 ----------------------------------------- require("scripts/globals/status"); ----...
gpl-3.0
Asido/vicious
widgets/uptime.lua
1
1190
--------------------------------------------------- -- Licensed under the GNU General Public License v2 -- * (c) 2010, Adrian C. <anrxc@sysphere.org> -- * (c) 2009, Lucas de Vries <lucas@glacicle.com> --------------------------------------------------- -- {{{ Grab environment local setmetatable = setmetatable local ...
gpl-2.0
gedadsbranch/Darkstar-Mission
scripts/zones/The_Celestial_Nexus/bcnms/celestial_nexus.lua
13
1989
----------------------------------- -- Area: The Celestial Nexus -- Name: The Celestial Nexus (ZM16) ----------------------------------- package.loaded["scripts/zones/The_Celestial_Nexus/TextIDs"] = nil; ------------------------------------- require("scripts/globals/titles"); require("scripts/globals/missions"); requi...
gpl-3.0
gedadsbranch/Darkstar-Mission
scripts/globals/mobskills/Trinary_Tap.lua
6
2015
--------------------------------------------------- -- Trinary Tap -- Attempts to absorb three buffs from a single target, or otherwise steals HP. -- Type: Magical -- Utsusemi/Blink absorb: Ignores Shadows -- Range: Melee -- Notes: Can be any (positive) buff, including food. Will drain about 100HP if it can't take any ...
gpl-3.0
hooksta4/darkstar
scripts/globals/mobskills/Acrid_Stream.lua
25
1024
--------------------------------------------- -- Acrid Stream -- -- Description: Deals water damage to enemies within a fan-shaped area originating from the caster. Additional effect: Lowers target's Magic Defense. -- Type: Magical (Water) -- -- --------------------------------------------- require("scripts/...
gpl-3.0
puchiedarcy/fceuxd
output/luaScripts/x_interface.lua
4
3736
-- **************************************************************************** -- * -- * FCEUX Lua GUI tools -- * -- **************************************************************************** control = {}; last = {}; inpt = { xmouse = 0, ymouse = 0 }; -- ******************************************************...
gpl-2.0
dermoumi/m2n
bin/assets/scripts/screen/title/init.lua
1
2355
--[[ This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means. In jurisdi...
unlicense
hooksta4/darkstar
scripts/zones/Palborough_Mines/Zone.lua
27
1673
----------------------------------- -- -- Zone: Palborough_Mines (143) -- ----------------------------------- package.loaded["scripts/zones/Palborough_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Palborough_Mines/TextIDs"); ---------...
gpl-3.0
hooksta4/darkstar
scripts/zones/zones/Port_San_dOria/npcs/Nimia.lua
6
1865
----------------------------------- -- Area: Port San d'Oria -- NPC: Nimia -- Only sells when San d'Oria controlls Elshimo Lowlands -- Working 100% ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); requ...
gpl-3.0
hooksta4/darkstar
scripts/zones/zones/Gusgen_Mines/npcs/qm4.lua
2
1384
----------------------------------- -- Area: Gusgen Mines -- NPC: qm4 (???) -- Involved In Quest: Ghosts of the Past -- @pos -174 0 369 196 ----------------------------------- package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("...
gpl-3.0
Hostle/openwrt-luci-multi-user
modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/startup.lua
74
2567
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2010-2012 Jo-Philipp Wich <jow@openwrt.org> -- Copyright 2010 Manuel Munz <freifunk at somakoma dot de> -- Licensed to the public under the Apache License 2.0. local fs = require "nixio.fs" local sys = require "luci.sys" local inits = { } for _, name ...
apache-2.0
instead-hub/plainstead
build/stead/stead2/wroom.lua
2
1120
stead.wroom_enter = function(self, ...) local w = self.where if stead.type(w) ~= 'table' then w = stead.call(self, 'where') end local r, v = stead.walk(w); if v ~= false then self._toggle = true end return r, v end stead.wroom_save = function(self, name, h, need) if need then local a = stead.tostring(sel...
mit
snabbco/snabb
lib/luajit/testsuite/test/lang/concat.lua
6
2152
do --- Constant folding local y for i=1,100 do y = "a".."b" end assert(y == "ab") for i=1,100 do y = "ab"..(1).."cd"..(1.5) end assert(y == "ab1cd1.5") end do --- Fuse conversions to strings local y local x = "a" for i=1,100 do y = x..i end assert(y == "a100") x = "a" for i=1.5,100.5 do y = x..i ...
apache-2.0
MPX4132/DOTMonitor
Addon/source/DOTMonitor.lua
1
16168
-- ======================================================================================= -- Localization Database -- ======================================================================================= local LocaleDatabase = _G["DOTMonitorLocalization"] -- ========================================================...
gpl-3.0
hooksta4/darkstar
scripts/zones/zones/Outer_Horutoto_Ruins/npcs/_5eh.lua
2
3213
----------------------------------- -- Area: Inner Horutoto Ruins -- NPC: Ancient Magical Gizmo #4 (H out of E, F, G, H, I, J) -- Involved In Mission: The Heart of the Matter ----------------------------------- package.loaded["scripts/zones/Outer_Horutoto_Ruins/TextIDs"] = nil; ----------------------------------- re...
gpl-3.0
hooksta4/darkstar
scripts/zones/Qulun_Dome/npcs/_441.lua
19
1531
----------------------------------- -- Area: Qulun Dome -- NPC: Door -- Involved in Mission: Limit Break 3 -- @pos 299.999 37.864 47.067 148 ----------------------------------- package.loaded["scripts/zones/Qulun_Dome/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("s...
gpl-3.0
hooksta4/darkstar
scripts/zones/Al_Zahbi/npcs/Eumoa-Tajimoa.lua
38
1026
----------------------------------- -- Area: Al Zahbi -- NPC: Eumoa-Tajimoa -- Type: Standard NPC -- @zone: 48 -- @pos 19.275 -1 55.182 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; -----------------------...
gpl-3.0
hooksta4/darkstar
scripts/zones/zones/Dynamis-Xarcabard/mobs/Duke_Berith.lua
2
1239
----------------------------------- -- Area: Dynamis Xarcabard -- NPC: Duke Berith ----------------------------------- require("scripts/globals/status"); require("scripts/globals/dynamis"); require("scripts/zones/Dynamis-Xarcabard/TextIDs"); ----------------------------------- -- onMobEngaged -----------------------...
gpl-3.0
gedadsbranch/Darkstar-Mission
scripts/zones/Windurst_Woods/npcs/Ponono.lua
12
1958
----------------------------------- -- Area: Windurst Woods -- NPC: Ponono -- Type: Clothcraft Guild Master -- @pos -38.243 -2.25 -120.954 241 ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("scripts/globals/crafting"); requ...
gpl-3.0
wanghuan1115/sdkbox-adcolony-sample
lua/src/cocos/extension/DeprecatedExtensionEnum.lua
62
1410
if nil == cc.Control then return end _G.kCCControlStepperPartMinus = cc.CONTROL_STEPPER_PART_MINUS _G.kCCControlStepperPartPlus = cc.CONTROL_STEPPER_PART_PLUS _G.kCCControlStepperPartNone = cc.CONTROL_STEPPER_PART_NONE _G.CCControlEventTouchDown = cc.CONTROL_EVENTTYPE_TOUCH_DOWN _G.CC...
mit
FishFilletsNG/fillets-data
script/wreck/dialogs_nl.lua
1
2971
dialogId("pot-v-lod", "font_big", "Could this be Captain Silver’s ship?") dialogStr("Zou dit het schip van kapitein Silver zijn?") dialogId("pot-m-soud", "font_small", "What makes you think so?") dialogStr("Hoe kom je daar bij?") dialogId("pot-v-jmeno", "font_big", "The title of this level.") dialogStr("De titel v...
gpl-2.0
hooksta4/darkstar
scripts/globals/items/mug_of_honeyed_egg.lua
35
1294
----------------------------------------- -- ID: 5739 -- Item: mug_of_honeyed_egg -- Food Effect: 30Min, All Races ----------------------------------------- -- MP 8 -- Intelligence 1 -- MP recovered while healing 1 ----------------------------------------- require("scripts/globals/status"); --------------...
gpl-3.0
bigcrush/cqueues
src/dns.config.lua
5
1602
local loader = function(loader, ...) local config = require"_cqueues.dns.config" config.loadfile = function (file, syntax) local cfg = config.new() cfg:loadfile(file, syntax) return cfg end config.loadpath = function (path, syntax) local cfg = config.new() cfg:loadpath(path, syntax) return cfg en...
mit
aoseeh003/aoooose
plugins/getfile.lua
3
1025
--[[ β–€β–„ β–„β–€β–€β–„β–„β–€β–€β–„β–„β–€β–€β–„β–„β–€β–€β–„β–„β–€β–€β–„β–„β–€β–€β–„β–„β–€β–€β–„β–€β–„β–„β–€β–€β–„β–„β–€β–€β–„β–„β–€β–€β–„β–„β–€β–€ β–€β–„ β–„β–€ β–€β–„ β–„β–€ β–€β–„ β–„β–€ BY faeder β–€β–„ β–„β–€ β–€β–„ β–„β–€ BY faeder (@xXxDev_iqxXx) β–€β–„ β–„β–€ β–€β–„ β–„β–€ JUST WRITED BY faeder β–€β–„ β–„β–€ β–€β–„ β–„β–€ get file : Ψ¬Ω„Ψ¨ ملف β–€β–„ β–„β–€...
gpl-2.0
gedadsbranch/Darkstar-Mission
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
Vavius/moai-framework
src/util/uuid4.lua
12
3046
--[[ The MIT License (MIT) Copyright (c) 2012 Toby Jennings 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, mer...
mit