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
kitala1/darkstar
scripts/zones/Windurst_Woods/npcs/Forine.lua
42
1106
----------------------------------- -- Area: Windurst Woods -- NPC: Forine -- Involved In Mission: Journey Abroad -- @zone 241 -- @pos -52.677 -0.501 -26.299 ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("scripts/globals/k...
gpl-3.0
fqrouter/luci
libs/web/luasrc/http/protocol/date.lua
88
2760
--[[ HTTP protocol implementation for LuCI - date handling (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 http://www....
apache-2.0
kitala1/darkstar
scripts/zones/Bastok_Mines/npcs/Maymunah.lua
19
1152
----------------------------------- -- Area: Bastok Mines -- NPC: Maymunah -- Guild Merchant NPC: Alchemy Guild -- @pos 108.738 5.017 -3.129 234 ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); requ...
gpl-3.0
kitala1/darkstar
scripts/globals/weaponskills/herculean_slash.lua
12
1575
----------------------------------- -- Herculean Slash -- Great Sword weapon skill -- Skill Level: 290 -- Paralyzes target. Duration of effect varies with TP. -- Aligned with the Snow Gorget, Thunder Gorget & Breeze Gorget. -- Aligned with the Snow Belt, Thunder Belt & Breeze Belt. -- Element: Ice -- Modifiers:...
gpl-3.0
zorun/packages-1
net/wifidog-ng/files/wifidog-ng/auth.lua
22
6175
--[[ Copyright (C) 2018 Jianhui Zhao <jianhuizhao329@gmail.com> This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later vers...
gpl-2.0
kitala1/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Kantila.lua
34
1032
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Kantila -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); ----------...
gpl-3.0
sylvanaar/IDLua
resources/stdlibrary/coroutine.lua
2
2142
--- creating and controlling coroutines. -- @module coroutine module("coroutine") --local coroutine = {} --- -- Creates a new coroutine, with body `f`. `f` must be a Lua -- function. Returns this new coroutine, an object with type `"thread"`. function create(f) end --- -- Starts or continues the executio...
apache-2.0
kitala1/darkstar
scripts/zones/Bastok_Mines/npcs/Neigepance.lua
34
1629
----------------------------------- -- Area: Bastok Mines -- NPC: Neigepance -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; require("scripts/zones/Bastok_Mines/TextIDs"); ------------------------------...
gpl-3.0
fastmailops/prosody
util/iterators.lua
1
3727
-- Prosody IM -- Copyright (C) 2008-2010 Matthew Wild -- Copyright (C) 2008-2010 Waqas Hussain -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- --[[ Iterators ]]-- local it = {}; local t_insert = table.insert; local select, unpack, next = select, ...
mit
kitala1/darkstar
scripts/globals/effects/light_arts.lua
37
1963
----------------------------------- -- -- -- ----------------------------------- ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) target:recalculateAbilitiesTable(); local bonus = effect:getPower(); local regen = effect...
gpl-3.0
kitala1/darkstar
scripts/zones/Norg/npcs/Laisrean.lua
19
2181
----------------------------------- -- Area: Norg -- NPC: Laisrean -- Starts and Ends Quest: The Sahagin's Stash -- @zone: 252 -- @pos -2.251 -1 21.654 ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require(...
gpl-3.0
Sulunia/beatfever
modules/externals/mime.lua
118
2433
----------------------------------------------------------------------------- -- MIME support for the Lua language. -- Author: Diego Nehab -- Conforming to RFCs 2045-2049 -- RCS ID: $Id: mime.lua,v 1.29 2007/06/11 23:44:54 diego Exp $ ----------------------------------------------------------------------------- ------...
mit
kitala1/darkstar
scripts/zones/Lower_Delkfutts_Tower/mobs/Disaster_Idol.lua
13
1223
----------------------------------- -- Area: Lower_Delkfutts_tower -- Mob: Disaster_Idol ----------------------------------- require("scripts/globals/missions"); ----------------------------------- -- onMobEngaged Action ----------------------------------- function onMobEngaged(mob,target) local Day...
gpl-3.0
m13790115/AVENGERRS
libs/JSON.lua
3765
34843
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
gpl-2.0
fastmailops/prosody
tools/migration/migrator/prosody_sql.lua
3
6352
local assert = assert; local have_DBI, DBI = pcall(require,"DBI"); local print = print; local type = type; local next = next; local pairs = pairs; local t_sort = table.sort; local json = require "util.json"; local mtools = require "migrator.mtools"; local tostring = tostring; local tonumber = tonumber; if not have_DB...
mit
kitala1/darkstar
scripts/zones/Dynamis-Buburimu/Zone.lua
15
2357
----------------------------------- -- -- Zone: Dynamis-Buburimu -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Dynamis-Buburimu/TextIDs"] = nil; require("scripts/zones/Dynamis-Buburimu/TextIDs"); ----------------------------------- -- onInitial...
gpl-3.0
kiarash14/be
plugins/lyrics.lua
695
2113
do local BASE_LNM_URL = 'http://api.lyricsnmusic.com/songs' local LNM_APIKEY = '1f5ea5cf652d9b2ba5a5118a11dba5' local BASE_LYRICS_URL = 'http://api.chartlyrics.com/apiv1.asmx/SearchLyricDirect' local function getInfo(query) print('Getting info of ' .. query) local url = BASE_LNM_URL..'?api_key='..LNM_APIKEY ...
gpl-2.0
kitala1/darkstar
scripts/zones/Dangruf_Wadi/npcs/qm1.lua
34
1043
----------------------------------- -- Area: Dangruf Wadi -- NPC: qm1 -- Type: spawns Chocoboleech -- @pos -430 4 115 191 ----------------------------------- package.loaded["scripts/zones/Dangruf_Wadi/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Dangruf_Wadi/TextIDs"); ----...
gpl-3.0
kitala1/darkstar
scripts/globals/items/dish_of_spag_vongole_rosso_+1.lua
35
1658
----------------------------------------- -- ID: 5198 -- Item: dish_of_spag_vongole_rosso_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Health % 20 -- Health Cap 95 -- Vitality 2 -- Mind -1 -- Defense % 25 -- Defense Cap 35 -- Store TP 6 -----------------------------------...
gpl-3.0
fqrouter/luci
libs/nixio/axTLS/samples/lua/axssl.lua
176
19286
#!/usr/local/bin/lua -- -- Copyright (c) 2007, Cameron Rich -- -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- -- * Redistributions of source code must retain the above copyright notice, -...
apache-2.0
kitala1/darkstar
scripts/zones/Palborough_Mines/npcs/qm1.lua
8
1290
----------------------------------- -- Area: Palborough Mines -- NPC: ??? -- Involved In Quest: The Talekeeper's Truth -- @zone 143 -- @pos 15 -31 -94 ----------------------------------- package.loaded["scripts/zones/Palborough_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/glob...
gpl-3.0
crabman77/minetest-minetestforfun-server
mods/eventobjects/init.lua
5
2862
minetest.register_tool("eventobjects:spleef_shovel", { description = "Golden Spleef Shovel", inventory_image = "eventobjects_spleef_shovel.png", wield_image = "eventobjects_spleef_shovel.png^[transformR90", tool_capabilities = { full_punch_interval = 1.0, max_drop_level=1, groupcaps={ unbreakable={times={[...
unlicense
Roblox/Core-Scripts
CoreScriptsRoot/Modules/Settings/Pages/GameSettings.lua
1
48889
--[[ Filename: GameSettings.lua Written by: jeditkacheff Version 1.1 Description: Takes care of the Game Settings Tab in Settings Menu --]] -------------- SERVICES -------------- local CoreGui = game:GetService("CoreGui") local RobloxGui = CoreGui:WaitForChild("RobloxGui") local GuiService = game:GetService("Gu...
apache-2.0
paulosalvatore/maruim_server
data/actions/scripts/horestis.lua
1
4773
function onUse(player, item, fromPosition, target, toPosition, isHotkey) local storageValue = player:getStorageValue(Storage.Horestis.horestis) if item.actionid == 3302 then if item.itemid == 1560 then player:teleportarJogador({x = 1425, y = 1595, z = 7}) return true end if storageValue < 1 and (item.i...
gpl-2.0
essele/netcamel
lua/lib/execute.lua
1
2883
#!luajit ---------------------------------------------------------------------------- -- This file is part of NetCamel -- Copyright (C) 2014 Lee Essen <lee.essen@nowonline.co.uk> -- -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as pub...
gpl-2.0
kitala1/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Lageegee.lua
30
3590
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Lageegee -- Type: Assault Mission Giver -- @pos 120.808 0.161 -30.435 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyit...
gpl-3.0
kitala1/darkstar
scripts/zones/Rolanberry_Fields/npcs/Mayuyu.lua
27
1686
----------------------------------- -- Area: Rolanberry Fields -- NPC: Mayuyu -- Legion NPC -- @pos 240 24.399 468 ----------------------------------- package.loaded["scripts/zones/Rolanberry_Fields/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/gl...
gpl-3.0
mkottman/lqt
generator/templates.lua
3
2564
module('templates', package.seeall) -- TODO: maybe automate this? local translate = dofile(template_file) --- Creates a deep copy of an object. local function deepcopy(object) local lookup_table = {} local function _copy(object) if type(object) ~= "table" then return object elseif lookup_table[object] then ...
mit
ZenityRTS/Zenity
libs/chiliui/luaui/chili/chili/themes/theme.lua
3
1528
--//============================================================================= --// Theme theme = {} theme.name = "default" --//============================================================================= --// Define default skins local defaultSkin = "Robocracy" --local defaultSkin = "DarkGlass" ...
gpl-2.0
kitala1/darkstar
scripts/zones/Southern_San_dOria/npcs/Rosel.lua
19
2829
----------------------------------- -- Area: Southern San d'Oria -- NPC: Rosel -- Starts and Finishes Quest: Rosel the Armorer -- @zone 230 -- @pos ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/glo...
gpl-3.0
kitala1/darkstar
scripts/globals/spells/foe_lullaby_ii.lua
11
1232
----------------------------------------- -- Spell: Foe Lullaby ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target,sp...
gpl-3.0
fqrouter/luci
applications/luci-statistics/luasrc/statistics/rrdtool/definitions/iptables.lua
86
1131
--[[ Luci statistics - iptables plugin diagram definition (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 http://www.a...
apache-2.0
kitala1/darkstar
scripts/globals/items/bowl_of_zoni_broth.lua
35
1689
----------------------------------------- -- ID: 5618 -- Item: bowl_of_zoni_broth -- Food Effect: 3Hrs, All Races ----------------------------------------- -- HP 10 -- MP 10 -- Strength 1 -- Dexterity 1 -- Vitality 1 -- Agility 1 -- HP Recovered While Healing 1 -- MP Recovered While Healing 1 -------------...
gpl-3.0
kitala1/darkstar
scripts/zones/RuLude_Gardens/npcs/HomePoint#2.lua
12
1248
----------------------------------- -- Area: RuLude_Gardens -- NPC: HomePoint#2 -- @pos 53 9 -57 243 ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/RuLude_Gardens/TextIDs"); require("scripts/globa...
gpl-3.0
daurnimator/lua-systemd
examples/tail_logs.lua
1
1680
#!/usr/bin/env lua --[[ This script will tail your journal. Output will be in json format. Uses the cqueues library (see http://25thandclement.com/~william/projects/cqueues.html) ]] local cqueues = require "cqueues" local bit = require "bit32" local json = require "dkjson" local sj = require "systemd.journal" local ...
mit
mrbot001/WorkSuperGroup
libs/JSON.lua
3765
34843
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
gpl-2.0
kitala1/darkstar
scripts/zones/Port_San_dOria/npcs/Avandale.lua
38
1039
----------------------------------- -- Area: Port San d'Oria -- NPC: Avandale -- Type: Standard NPC -- @zone: 232 -- @pos -105.524 -9 -125.274 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------...
gpl-3.0
kidaa/MoonGen
lua/include/filter.lua
1
10771
--------------------------------- --- @file filter.lua --- @brief Filter ... --- @todo TODO docu --------------------------------- local mod = {} local dpdkc = require "dpdkc" local device = require "device" local ffi = require "ffi" local dpdk = require "dpdk" local mbitmask = require "bitmask" local err = require "...
mit
d-o/LUA-LIB
tests/unit/powersOfTen.lua
2
1193
------------------------------------------------------------------------------- -- Powers of Ten unit test. -- @author Pauli -- @copyright 2014 Rinstrum Pty Ltd ------------------------------------------------------------------------------- describe("power of ten test #pow10", function () package.loaded['rinLibrar...
gpl-3.0
Pulse-Eight/drivers
Control4/neo8_modular_pulse-eight/p8proxy.lua
1
1996
--Copyright Pulse-Eight Limited 2015 --[[============================================================================= ReceivedFromProxy(idBinding, sCommand, tParams) Description Function called for any actions executed by the user from the Actions Tab in Composer. Parameters idBinding(int) ...
apache-2.0
hassanhp/TOPNOB
plugins/banhammer.lua
1085
11557
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
kitala1/darkstar
scripts/zones/Lower_Jeuno/npcs/Kurou-Morou.lua
17
5293
----------------------------------- -- Area: Lower Jeuno -- Starts and Finishes Quest: Your Crystal Ball & Never to return -- @pos -4 -6 -28 245 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; package.loaded["scripts/globals/settings"] = nil; -----------------------...
gpl-3.0
kitala1/darkstar
scripts/globals/abilities/pets/blizzard_ii.lua
20
1156
--------------------------------------------------- -- Aero 2 --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); require("scripts/globals/magic"); ----------------------------------------------...
gpl-3.0
kitala1/darkstar
scripts/globals/spells/slow.lua
11
1495
----------------------------------------- -- Spell: Slow -- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and MND. -- Slow's potency is calculated with the formula (150 + dMND*2)/1024, and caps at 300/1024 (~29.3%). -- And MND of 75 is neccessary to reach the hardcap of Slow. --...
gpl-3.0
kitala1/darkstar
scripts/zones/Ifrits_Cauldron/npcs/Altar_of_Ashes.lua
17
1977
---------------------------------- -- Area: Ifrit's Cauldron -- NPC: Altar of Ashes -- Involved in Quest: Greetings to the Guardian -- @pos 16 .1 -58 205 ----------------------------------- require("scripts/zones/Ifrits_Cauldron/TextIDs"); require("scripts/globals/settings"); require("scripts/globals/quests")...
gpl-3.0
ZachAtackary/blueprint-deployer
prototypes/item/item.lua
1
2529
data:extend( { ------------------------------------------------------------------------------ -- Blueprint Deployer Items -- ------------------------------------------------------------------------------ { type = "item", name = "blueprint-deployer-data-object"...
mit
dangerrr/dangerrr
plugins/steam.lua
645
2117
-- See https://wiki.teamfortress.com/wiki/User:RJackson/StorefrontAPI do local BASE_URL = 'http://store.steampowered.com/api/appdetails/' local DESC_LENTH = 200 local function unescape(str) str = string.gsub( str, '&lt;', '<' ) str = string.gsub( str, '&gt;', '>' ) str = string.gsub( str, '&quot;', '"' ) str...
gpl-2.0
shahabsaf1/uzz-bot
plugins/steam.lua
645
2117
-- See https://wiki.teamfortress.com/wiki/User:RJackson/StorefrontAPI do local BASE_URL = 'http://store.steampowered.com/api/appdetails/' local DESC_LENTH = 200 local function unescape(str) str = string.gsub( str, '&lt;', '<' ) str = string.gsub( str, '&gt;', '>' ) str = string.gsub( str, '&quot;', '"' ) str...
gpl-2.0
fqrouter/luci
contrib/luasrcdiet/lua/LuaSrcDiet.lua
122
23773
#!/usr/bin/env lua --[[-------------------------------------------------------------------- LuaSrcDiet Compresses Lua source code by removing unnecessary characters. For Lua 5.1.x source code. Copyright (c) 2008 Kein-Hong Man <khman@users.sf.net> The COPYRIGHT file describes the conditions under which thi...
apache-2.0
kitala1/darkstar
scripts/zones/Cloister_of_Gales/bcnms/carbuncle_debacle.lua
13
1552
----------------------------------- -- Area: Cloister of Gales -- BCNM: Carbuncle Debacle ----------------------------------- package.loaded["scripts/zones/Cloister_of_Gales/TextIDs"] = nil; ------------------------------------- require("scripts/zones/Cloister_of_Gales/TextIDs"); require("scripts/globals/settings"); r...
gpl-3.0
Eternym/psychoactive2
data/talkactions/scripts/addondoll.lua
1
1916
function onSay(cid, words, param) local femaleOutfits = { ["citizen"]={136}, ["hunter"]={137}, ["mage"]={138}, ["knight"]={139}, ["noblewoman"]={140}, ["summoner"]={141}, ["warrior"]={142}, ["barbarian"]={147}, ["druid"]={148}, ["wizard"]={149}, ["oriental"]={150}, ["pirate"]={155}, ["assassin"]={156}, ["beggar"]=...
gpl-2.0
kitala1/darkstar
scripts/globals/items/cup_of_chai.lua
35
1211
----------------------------------------- -- ID: 5570 -- Item: cup_of_chai -- Food Effect: 180Min, All Races ----------------------------------------- -- Vitality -2 -- Charisma 2 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnIt...
gpl-3.0
tetoali605/THETETOO_A7A
libs/XMLElement.lua
569
4025
-- Copyright 2009 Leo Ponomarev. Distributed under the BSD Licence. -- updated for module-free world of lua 5.3 on April 2 2015 -- Not documented at all, but not interesting enough to warrant documentation anyway. local setmetatable, pairs, ipairs, type, getmetatable, tostring, error = setmetatable, pairs, ipairs, typ...
gpl-2.0
nicodinh/cuberite
lib/tolua++/src/bin/lua/compat-5.1.lua
12
1053
if string.find(_VERSION, "5%.0") then return end -- "loadfile" local function pp_dofile(path) local loaded = false local getfile = function() if loaded then return else local file,err = io.open(path) if not file then error("error loading file "..path..": "..err) end local ret = file:read("*...
apache-2.0
kitala1/darkstar
scripts/zones/Alzadaal_Undersea_Ruins/npcs/qm3.lua
8
1198
----------------------------------- -- Area: Alzadaal Undersea Ruins -- NPC: ??? (Spawn Armed Gears(ZNM T3)) -- @pos -42 -4 -169 72 ----------------------------------- package.loaded["scripts/zones/Alzadaal_Undersea_Ruins/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Alzadaal_Undersea_Ru...
gpl-3.0
kitala1/darkstar
scripts/zones/Metalworks/npcs/Cid.lua
17
11089
----------------------------------- -- Area: Metalworks -- NPC: Cid -- Starts & Finishes Quest: Cid's Secret, The Usual, Dark Puppet (start) -- Involved in Mission: Bastok 7-1 -- @pos -12 -12 1 237 ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; -------------------...
gpl-3.0
apletnev/koreader
frontend/apps/reader/modules/readerstatus.lua
1
1394
local InputContainer = require("ui/widget/container/inputcontainer") local BookStatusWidget = require("ui/widget/bookstatuswidget") local UIManager = require("ui/uimanager") local _ = require("gettext") local ReaderStatus = InputContainer:new { document = nil, summary = { rating = 0, note = ni...
agpl-3.0
fqrouter/luci
modules/admin-full/luasrc/model/cbi/admin_status/processes.lua
85
1448
--[[ 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
kitala1/darkstar
scripts/zones/Horlais_Peak/bcnms/under_observation.lua
13
1701
----------------------------------- -- Area: Horlias peak -- Name: under_observation -- BCNM40 ----------------------------------- package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Horlais_Peak/TextIDs"); ----------------------------------- -- EXAMP...
gpl-3.0
fqrouter/luci
modules/admin-full/luasrc/model/cbi/admin_network/wifi_add.lua
42
5092
--[[ LuCI - Lua Configuration Interface Copyright 2009 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$ ]]-- lo...
apache-2.0
nicodinh/cuberite
src/CheckBasicStyle.lua
6
14322
#!/usr/bin/env lua -- CheckBasicStyle.lua --[[ Checks that all source files (*.cpp, *.h) use the basic style requirements of the project: - Tabs for indentation, spaces for alignment - Trailing whitespace on non-empty lines - Two spaces between code and line-end comment ("//") - Spaces after comma, not before - ...
apache-2.0
tetoali605/THETETOO_A7A
plugins/addbots.lua
6
1385
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY tetoo ▀▄ ▄▀ ▀▄ ▄▀ BY nmore (@l_l_lo) ▀▄ ▄▀ ▀▄ ▄▀ JUST WRITED BY l_l_ll ▀▄ ▄▀ ▀▄ ▄▀ broadcast : ا اريد بوت ▀▄ ▄▀ ▀▄▀▀▄▄▀▀▄▄▀...
gpl-2.0
apletnev/koreader
spec/unit/util_spec.lua
1
16215
describe("util module", function() local DataStorage, util setup(function() require("commonrequire") DataStorage = require("datastorage") util = require("util") end) it("should strip punctuations around word", function() assert.is_equal("hello world", util.stripePunctuat...
agpl-3.0
aliyousefi8370/Srdarbot
libs/JSON.lua
3765
34843
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
gpl-2.0
UB12/lionbot
libs/JSON.lua
3765
34843
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
gpl-2.0
Roblox/Core-Scripts
CoreScriptsRoot/Modules/Settings/SettingsPageFactory.lua
1
10353
--[[ Filename: SettingsPageFactory.lua Written by: jeditkacheff Version 1.0 Description: Base Page Functionality for all Settings Pages --]] ----------------- SERVICES ------------------------------ local GuiService = game:GetService("GuiService") local HttpService = game:GetService("HttpService") local UserInp...
apache-2.0
kitala1/darkstar
scripts/globals/items/nexus_cape.lua
29
1354
----------------------------------------- -- ID: 11538 -- Item: Nexus Cape -- Enchantment: "Teleport" (Party Leader) ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/teleports"); ----------------------------------------- -- OnItemCheck -----------------------------...
gpl-3.0
kitala1/darkstar
scripts/commands/addkeyitem.lua
27
1334
--------------------------------------------------------------------------------------------------- -- func: @addkeyitem <ID> <player> -- desc: Adds a key item to the player. --------------------------------------------------------------------------------------------------- require("scripts/globals/keyitems"); ...
gpl-3.0
hanxi/cocos2d-x-v3.1
frameworks/cocos2d-x/external/lua/luasocket/mime.lua
149
2487
----------------------------------------------------------------------------- -- MIME support for the Lua language. -- Author: Diego Nehab -- Conforming to RFCs 2045-2049 ----------------------------------------------------------------------------- ----------------------------------------------------------------------...
mit
paulosalvatore/maruim_server
data/creaturescripts/scripts/LevelUp.lua
1
3599
function onAdvance(player, skill, oldlevel, newlevel) player:pegarMagiaNivel() if skill == 8 then if newlevel == 10 then local modalId = 5201 local modalTitulo = "Parabéns pelo nível 10!" local modalMensagem = "Você atingiu o nível mínimo recomendado para sair da ilha!\n\n" modalMensagem = modalMensag...
gpl-2.0
kitala1/darkstar
scripts/globals/weaponskills/uriel_blade.lua
29
1393
----------------------------------- -- Uriel Blade -- Sword weapon skill -- Skill Level: N/A -- Description: Delivers an area attack that deals light elemental damage. Damage varies with TP. Additional effect Flash. -- AoE range ??. -- Only available during Campaign Battle while wielding a Griffinclaw. -- Aligned with ...
gpl-3.0
kitala1/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Burnished_Bones.lua
34
1042
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Burnished Bones -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); ...
gpl-3.0
fastmailops/prosody
plugins/mod_http_files.lua
1
4567
-- Prosody IM -- Copyright (C) 2008-2010 Matthew Wild -- Copyright (C) 2008-2010 Waqas Hussain -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- module:depends("http"); local server = require"net.http.server"; local lfs = require "lfs"; local os_dat...
mit
apletnev/koreader
spec/unit/gesturerange_spec.lua
14
1207
describe("gesturerange module", function() local GestureRange, Geom setup(function() require("commonrequire") GestureRange = require("ui/gesturerange") Geom = require("ui/geometry") end) it("should match tap event within range", function() local g = GestureRange:new{ ...
agpl-3.0
kitala1/darkstar
scripts/globals/items/juglan_jumble.lua
36
1363
----------------------------------------- -- ID: 5923 -- Item: Juglan Jumble -- Food Effect: 5 Min, All Races ----------------------------------------- -- HP Healing 5 -- MP Healing 8 -- Bird Killer 12 -- Resist Paralyze 12 ----------------------------------------- require("scripts/globals/status"); -----------------...
gpl-3.0
kitala1/darkstar
scripts/globals/items/bowl_of_stamina_soup.lua
35
1548
----------------------------------------- -- ID: 4337 -- Item: bowl_of_stamina_soup -- Food Effect: 4Hrs, All Races ----------------------------------------- -- HP % 10 -- Dexterity 4 -- Vitality 6 -- Mind -3 -- HP Recovered While Healing 10 ----------------------------------------- require("scripts/global...
gpl-3.0
UB12/lionbot
libs/mimetype.lua
3662
2922
-- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types do local mimetype = {} -- TODO: Add more? local types = { ["text/html"] = "html", ["text/css"] = "css", ["text/xml"] = "xml", ["image/gif"] = "gif", ["image/jpeg"] = "jpg", ["application/x-javascript"] = "js", ["application/atom...
gpl-2.0
shadobaker/Anti-Spam
libs/mimetype.lua
3662
2922
-- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types do local mimetype = {} -- TODO: Add more? local types = { ["text/html"] = "html", ["text/css"] = "css", ["text/xml"] = "xml", ["image/gif"] = "gif", ["image/jpeg"] = "jpg", ["application/x-javascript"] = "js", ["application/atom...
lgpl-2.1
patrikrm13/feri
libs/mimetype.lua
3662
2922
-- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types do local mimetype = {} -- TODO: Add more? local types = { ["text/html"] = "html", ["text/css"] = "css", ["text/xml"] = "xml", ["image/gif"] = "gif", ["image/jpeg"] = "jpg", ["application/x-javascript"] = "js", ["application/atom...
gpl-2.0
aminkinghakerlifee/wolf-team
libs/mimetype.lua
3662
2922
-- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types do local mimetype = {} -- TODO: Add more? local types = { ["text/html"] = "html", ["text/css"] = "css", ["text/xml"] = "xml", ["image/gif"] = "gif", ["image/jpeg"] = "jpg", ["application/x-javascript"] = "js", ["application/atom...
gpl-3.0
kitala1/darkstar
scripts/globals/items/serving_of_snowy_rolanberry.lua
35
1402
----------------------------------------- -- ID: 4594 -- Item: serving_of_snowy_rolanberry -- Food Effect: 240Min, All Races ----------------------------------------- -- Magic % 18 -- Magic Cap 60 -- Intelligence 2 -- Wind Res 5 ----------------------------------------- require("scripts/globals/status"); ...
gpl-3.0
kitala1/darkstar
scripts/zones/Bastok_Markets_[S]/Zone.lua
34
1331
----------------------------------- -- -- Zone: Bastok_Markets_[S] (87) -- ----------------------------------- package.loaded["scripts/zones/Bastok_Markets_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Bastok_Markets_[S]/TextIDs"); ----...
gpl-3.0
kitala1/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Lathuya.lua
34
1032
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Lathuya -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); ----------...
gpl-3.0
Roblox/Core-Scripts
CoreScriptsRoot/Modules/DevConsole/Components/CheckBox.lua
1
2136
local CorePackages = game:GetService("CorePackages") local TextService = game:GetService("TextService") local Roact = require(CorePackages.Roact) local Constants = require(script.Parent.Parent.Constants) local PADDING = Constants.UtilityBarFormatting.CheckBoxInnerPadding local CheckBox = Roact.Component:extend("Check...
apache-2.0
hanxi/cocos2d-x-v3.1
frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/GLProgramState.lua
3
2961
-------------------------------- -- @module GLProgramState -- @extend Ref -------------------------------- -- overload function: setUniformTexture(string, unsigned int) -- -- overload function: setUniformTexture(string, cc.Texture2D) -- -- @function [parent=#GLProgramState] setUniformTexture -- @p...
mit
kitala1/darkstar
scripts/zones/Eastern_Altepa_Desert/npcs/Eaulevisat_RK.lua
28
3153
----------------------------------- -- Area: Eastern Altepa desert -- NPC: Eaulevisat, R.K. -- Outpost Conquest Guards -- @pos -257 8 -249 114 ------------------------------------ package.loaded["scripts/zones/Eastern_Altepa_Desert/TextIDs"] = nil; -------------------------------------- require("scripts/glob...
gpl-3.0
kitala1/darkstar
scripts/globals/weaponskills/shoulder_tackle.lua
12
1561
----------------------------------- -- Shoulder Tackle -- Hand-to-Hand weapon skill -- Skill Level: 40 -- Stuns target. Chance of stunning varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Aqua Gorget & Thunder Gorget. -- Aligned with the Aqua Belt & Thunder Belt. -- Element: None -- Modifie...
gpl-3.0
kitala1/darkstar
scripts/zones/La_Theine_Plateau/npcs/Telepoint.lua
17
1631
----------------------------------- -- Area: La Theine Plateau -- NPC: Telepoint ----------------------------------- package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/zones/La_Theine_Plateau/TextIDs"); ...
gpl-3.0
kitala1/darkstar
scripts/globals/effects/perfect_defense.lua
35
3155
----------------------------------- -- -- -- ----------------------------------- ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) print(target:getMod(MOD_UDMGMAGIC)); print(target:getMod(MOD_UDMGPHYS)); effect:...
gpl-3.0
kitala1/darkstar
scripts/zones/Western_Altepa_Desert/TextIDs.lua
5
1562
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory. FULL_INVENTORY_AFTER_TRADE = 6381; -- You cannot obtain the <item>. Try trading again after sorting your inventory. ITEM_OBTAINED = 6382; ...
gpl-3.0
crabman77/minetest-minetestforfun-server
mods/mobs/pumpkins.lua
5
4070
-- PumpKing by Blert2112 mobs:register_mob("mobs:pumpking", { type = "monster", visual = "mesh", mesh = "mobs_pumpking.x", textures = { {"mobs_pumpking.png"} }, visual_size = {x=3, y=3}, collisionbox = {-0.5, 0.00, -0.5, 0.5, 4.5, 0.5}, animation = { speed_normal = 15, speed_run = 30, stand_start = 165, s...
unlicense
crabman77/minetest-minetestforfun-server
mods/news/md5.lua
15
10935
local md5 = { _VERSION = "md5.lua 1.1.0", _DESCRIPTION = "MD5 computation in Lua (5.1-3, LuaJIT)", _URL = "https://github.com/kikito/md5.lua", _LICENSE = [[ MIT LICENSE Copyright (c) 2013 Enrique García Cota + Adam Baldwin + hanzao + Equi 4 Software Permission is hereby granted, fr...
unlicense
kitala1/darkstar
scripts/globals/items/tiger_cod.lua
17
1318
----------------------------------------- -- ID: 4483 -- Item: tiger_cod -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemChe...
gpl-3.0
mohammads15/new-super
plugins/whitelist.lua
170
2472
do local function get_message_callback (extra , success, result) if result.service then local action = result.action.type if action == 'chat_add_user' or action == 'chat_del_user' or action == 'chat_rename' or action == 'chat_change_photo' then if result.action.user then user_id = result.action.use...
gpl-2.0
rickerliang/face_filter
face_filter_pipeline/run.lua
1
1863
cmd = torch.CmdLine() cmd:text() cmd:text('Classify beauty face') cmd:text() cmd:text('Options') cmd:argument('-input','folder to classify') cmd:option('-vgg', false, 'use vgg net') cmd:option('-detectorThreshold', 0.9, 'face detector threshold') cmd:option('-classifierThreshold', 0.8, 'face classifier threshol...
unlicense
kitala1/darkstar
scripts/globals/abilities/curing_waltz_iii.lua
10
2254
----------------------------------- -- Ability: Curing Waltz III -- Heals HP to target player. -- Obtained: Dancer Level 45 -- TP Required: 50% -- Recast Time: 00:10 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); ----------------------------------...
gpl-3.0
kitala1/darkstar
scripts/zones/Eastern_Altepa_Desert/npcs/Variko-Njariko_WW.lua
30
3075
----------------------------------- -- Area: Eastern Altepa Desert -- NPC: Variko-Njariko, W.W. -- Outpost Conquest Guards -- @pos -258.041 7.473 -254.527 114 ----------------------------------- package.loaded["scripts/zones/Eastern_Altepa_Desert/TextIDs"] = nil; ----------------------------------- require("scripts/g...
gpl-3.0
crabman77/minetest-minetestforfun-server
mods/markers/init.lua
9
19185
-- markers are useful for measuring distances and for marking areas -- markers are protected from digging by other players for one day -- (the protection for the *marker* auto-expires then, and it can be digged) markers = {} dofile(minetest.get_modpath("markers").."/config.lua"); dofile(minetest.get_modpath("markers...
unlicense
kitala1/darkstar
scripts/zones/Spire_of_Holla/npcs/_0h0.lua
12
1461
----------------------------------- -- Area: Spire of Holla -- NPC: Web of Recollection ----------------------------------- package.loaded["scripts/zones/Spire_of_Holla/TextIDs"] = nil; ----------------------------------- require("scripts/globals/bcnm"); require("scripts/globals/quests"); require("scripts/gl...
gpl-3.0
kitala1/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_5fl.lua
34
2568
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: East Plate -- @pos 231 -34 20 195 ----------------------------------- ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; --------------------------...
gpl-3.0