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 |
|---|---|---|---|---|---|
nesstea/darkstar | scripts/zones/Temple_of_Uggalepih/npcs/qm2.lua | 25 | 1099 | -----------------------------------
-- Area: Temple of Uggalepih
-- NPC: ??? (Uggalepih Offering ITEM)
-- @pos 388 0 269 159
-----------------------------------
package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Temple_of_Uggalepih/TextIDs");
... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Llewellyn.lua | 13 | 1065 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Llewellyn
-- Type: Campaign Evaluator
-- @zone: 94
-- @pos -6.907 -2 42.871
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;... | gpl-3.0 |
FailcoderAddons/supervillain-ui | SVUI_Skins/components/blizzard/archeology.lua | 2 | 4809 | --[[
##############################################################################
S V U I By: Failcoder
##############################################################################
--]]
--[[ GLOBALS ]]--
local _G = _G;
local unpack = _G.unpack;
local select = _G.select;
--[[ ADDON ]]--
local SV = _G['SVUI'];
lo... | mit |
nesstea/darkstar | scripts/zones/Temenos/mobs/Telchines_Bard.lua | 7 | 1120 | -----------------------------------
-- Area: Temenos N T
-- NPC: Telchines_Bard
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-----------------------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/bar_of_campfire_chocolate.lua | 36 | 1080 | -----------------------------------------
-- ID: 5941
-- Item: Bar of Campfire Chocolate
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Mind +1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
---------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Norg/npcs/Deigoff.lua | 13 | 3114 | -----------------------------------
-- Area: Norg
-- NPC: Deigoff
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
require("scripts/zones/Norg/TextIDs");
require("scripts/globals/pathfind");
local path = {
-15.048376, -1.476800, 30.425398,
-15.526757, -1.22... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Dangruf_Wadi/npcs/_5b1.lua | 13 | 2972 | -----------------------------------
-- Area: Dangruf Wadi
-- NPC: Strange Apparatus
-- @pos: -494 -4 -100 191
-----------------------------------
package.loaded["scripts/zones/Dangruf_Wadi/TextIDs"] = nil;
require("scripts/zones/Dangruf_Wadi/TextIDs");
require("scripts/globals/strangeapparatus");
-------------------... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/cup_of_date_tea.lua | 18 | 1397 | -----------------------------------------
-- ID: 5926
-- Item: Cup of Date Tea
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- HP 20
-- MP 30
-- Vitality -1
-- Charisma 5
-- Intelligence 3
-----------------------------------------
require("scripts/globals/status");
----------------------... | gpl-3.0 |
dpino/snabbswitch | src/apps/intel/loadgen.lua | 14 | 2678 | -- Use of this source code is governed by the Apache 2.0 license; see COPYING.
module(...,package.seeall)
local ffi = require("ffi")
local C = ffi.C
local lib = require("core.lib")
local app = require("core.app")
local link = require("core.link")
local intel10g = require("apps.intel.intel10g")
local memory = require... | apache-2.0 |
nesstea/darkstar | scripts/globals/items/zafmlug_bass.lua | 18 | 1319 | -----------------------------------------
-- ID: 4385
-- Item: zafmlug_bass
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
------... | gpl-3.0 |
dpino/snabbswitch | lib/ljsyscall/syscall/netbsd/ioctl.lua | 24 | 9458 | -- ioctls, filling in as needed
local require, error, assert, tonumber, tostring,
setmetatable, pairs, ipairs, unpack, rawget, rawset,
pcall, type, table, string =
require, error, assert, tonumber, tostring,
setmetatable, pairs, ipairs, unpack, rawget, rawset,
pcall, type, table, string
local function init(types)
l... | apache-2.0 |
akdor1154/awesome | lib/awful/widget/taglist.lua | 1 | 9606 | ---------------------------------------------------------------------------
--- Taglist widget module for awful
--
-- @author Julien Danjou <julien@danjou.info>
-- @copyright 2008-2009 Julien Danjou
-- @release @AWESOME_VERSION@
-- @classmod awful.widget.taglist
---------------------------------------------------... | gpl-2.0 |
UnfortunateFruit/darkstar | scripts/globals/mobskills/Lateral_Slash.lua | 25 | 1073 | ---------------------------------------------
-- Lateral Slash
--
-- Description: Laterally slashes a single target. Additional effect: Defense Down
-- Type: Physical
-- Utsusemi/Blink absorb: 1 shadow
-- Range: Melee
-- Notes: Reduces defense by 75%. Can be removed with Monk Job Ability Counterstance.
-... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Melleupaux.lua | 37 | 1310 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Melleupaux
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
require("scripts/zones/Tavnazian_Safehold/TextIDs");
------------... | gpl-3.0 |
nesstea/darkstar | scripts/globals/weaponskills/bora_axe.lua | 11 | 1740 | -----------------------------------
-- Bora Axe
-- Axe weapon skill
-- Skill level: 290
-- Delivers a single-hit ranged attack at a maximum distance of 15.7'. Chance of binding varies with TP
-- Bind doesn't always break from hitting mob.
-- This Weapon Skill's first hit params.ftp is duplicated for all additional hits... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Qufim_Island/npcs/Hieroglyphics.lua | 17 | 2168 | -----------------------------------
-- Area: Qufim_Island
-- NPC: Hieroglyphics
-- Dynamis Qufim Entrance
-- @pos 117 -10 133 172 118
-----------------------------------
package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
requi... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Moogle.lua | 29 | 1205 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Moogle
-- @zone 80
-- @pos <many>
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
require("scripts/globals/moghouse")
-... | gpl-3.0 |
Irubataru/dotfiles | roles/awesome/config/config/keys/global/awesome.lua | 1 | 1939 | local awful = require("awful")
local launcher = require("modules.launcher")
local hotkeys_popup = require("awful.hotkeys_popup").widget
local apps = require("config.apps")
local modkey = require("config.keys.mod").mod_key
awful.keyboard.append_global_keybindings({
awful.key({ modkey }, "s", hotkeys_popup.show_help,... | mit |
LuaDist/im | doc/html/examples/info_serialize.lua | 1 | 5167 | require"imlua"
require"lfs"
function serialize (o, indent)
-- this function enables most types of data to be printed
-- it is based on examples in "Programming in Lua" 2nd edition
-- by Roberto Ierusalimschy
indent = indent or 0
if type(o) == "number" then
io.write(string.rep(" ",indent),o) -- string.... | mit |
cloner-hooshesiyah/ppbot | 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 |
UnfortunateFruit/darkstar | scripts/globals/spells/slow_ii.lua | 11 | 1662 | -----------------------------------------
-- Spell: Slow II
-- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and MND.
-- caster:getMerit() returns a value which is equal to the number of merit points TIMES the value of each point
-- Slow II value per point is '1' This is a constant s... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Northern_San_dOria/npcs/Attarena.lua | 30 | 1955 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Attarena
-- Only sells when San d'Oria controlls Li'Telor Region
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/glo... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Kocco_Ehllek.lua | 13 | 1068 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Kocco Ehllek
-- Type: Quest Giver
-- @zone: 94
-- @pos -41.465 -2.125 -163.018
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = n... | gpl-3.0 |
FailcoderAddons/supervillain-ui | SVUI_!Core/system/misc.lua | 2 | 28209 | --[[
##########################################################
S V U I By: Failcoder
##########################################################
LOCALIZED LUA FUNCTIONS
##########################################################
]]--
--[[ GLOBALS ]]--
local _G = _G;
local unpack = _G.unpack;
local select ... | mit |
UnfortunateFruit/darkstar | scripts/zones/Abyssea-Empyreal_Paradox/Zone.lua | 32 | 1433 | -----------------------------------
--
-- Zone: Abyssea - Empyreal_Paradox
--
-----------------------------------
package.loaded["scripts/zones/Abyssea-Empyreal_Paradox/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
require("script... | gpl-3.0 |
dpino/snabbswitch | src/program/firehose/firehose.lua | 9 | 4736 | -- Use of this source code is governed by the Apache 2.0 license; see COPYING.
module(..., package.seeall)
local lib = require("core.lib")
local long_opts = {
help = "h",
example = "e",
["print-header"] = "H",
time = "t",
input = "i",
["ring-size"] = "... | apache-2.0 |
nesstea/darkstar | scripts/zones/Port_Jeuno/npcs/Leffquen.lua | 32 | 1034 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Leffquen
-- Type: Weather Reporter
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Port_Jeuno/TextIDs");
-------... | gpl-3.0 |
Jacklli/redis-leveldb | deps/lua/src/host/genminilua.lua | 14 | 11943 | ----------------------------------------------------------------------------
-- Lua script to generate a customized, minified version of Lua.
-- The resulting 'minilua' is used for the build process of LuaJIT.
----------------------------------------------------------------------------
-- Copyright (C) 2005-2012 Mike P... | bsd-3-clause |
trilastiko/keys | Build/VSCOKeys.lrplugin/halfway_server/socket/url.lua | 148 | 10529 | -----------------------------------------------------------------------------
-- URI parsing, composition and relative URL resolution
-- LuaSocket toolkit.
-- Author: Diego Nehab
-- RCS ID: $Id: url.lua,v 1.38 2006/04/03 04:45:42 diego Exp $
-----------------------------------------------------------------------------
... | gpl-2.0 |
hadi9090/celassicalteam | 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... | unlicense |
oralius/byond1 | 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 |
allwenandashi/ASHI | 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 |
mrmost/mbc | 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 |
cloner-hooshesiyah/ppbot | 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 |
PUMpITapp/instantpizza | src/ManageAccounts.lua | 1 | 10818 | --- Set if the program is running on the box or not
local onBox = true
--- Checks if the file was called from a test file.
-- @return #boolean true if called from a test file, indicating the file is being tested, else false
function checkTestMode()
runFile = debug.getinfo(2, "S").source:sub(2,3)
if (runFile ~= '.... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Inner_Horutoto_Ruins/npcs/_5cc.lua | 13 | 1054 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: _5cc (Gate of Ice)
-- @pos -228 0 99 192
-----------------------------------
package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Inner_Horutoto_Ruins/TextIDs");
... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/hallowed_sword.lua | 42 | 1454 | -----------------------------------------
-- ID: 16550
-- Hallowed Sword
-- Additional Effect: Light Damage
-- Enchantment: "Enlight"
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
--------... | gpl-3.0 |
UnfortunateFruit/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 |
nesstea/darkstar | scripts/globals/effects/prowess_killer.lua | 34 | 2257 | -----------------------------------
--
-- EFFECT_PROWESS : "Killer" effects bonus
--
-----------------------------------
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
target:addMod(MOD_VERMIN_KILLER, effect:getPower());
targ... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Windurst_Waters/npcs/Naiko-Paneiko.lua | 17 | 3519 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Naiko-Paneiko
-- Involved In Quest: Making Headlines, Riding on the Clouds
-- @zone 238
-- @pos -246 -5 -308
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
package.loaded["scripts/globals/se... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Bastok_Markets_[S]/npcs/Engelhart.lua | 31 | 3561 | -----------------------------------
-- Area: Bastok Markets (S)
-- NPC: Engelhart
-- Quest NPC
-- pos -79 -4 -125
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Bastok_Markets_[S]/TextIDs");
require("scrip... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Quicksand_Caves/mobs/Triarius_IV-XIV.lua | 10 | 1501 | -----------------------------------
-- Area: Quicksand Caves
-- MOB: Tribunus_IV-XIV
-- Pops in Bastok mission 8-1 "The Chains that Bind Us"
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Quicksand_Caves/TextIDs");
-----------------------------------
-- on... | gpl-3.0 |
akdor1154/awesome | lib/awful/widget/common.lua | 1 | 3638 | ---------------------------------------------------------------------------
-- @author Julien Danjou <julien@danjou.info>
-- @copyright 2008-2009 Julien Danjou
-- @release @AWESOME_VERSION@
-- @classmod awful.widget.common
---------------------------------------------------------------------------
-- Grab enviro... | gpl-2.0 |
FailcoderAddons/supervillain-ui | SVUI_!Core/libs/AceVillain-1.0/widgets/shared/SoundWidget.lua | 3 | 8375 | -- 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 AceVillain = LibStub("AceVillain-1.0")
do
local widgetType = "LSM30_Sound"
local widgetVersion = 999999
local contentFra... | mit |
Cycloneteam/CycloneTg | plugins/serverfile.lua | 1 | 2352 | do
local function run(msg, matches)
if not is_admin(msg) then
return "شما دسترسی لازم ندارید"
end
local receiver = get_receiver(msg)
if matches[1] == 'send' then
local file = matches[3]
if matches[2] == 'sticker' and not matches[4] then
send_document(receiver, "./media/"..file..".we... | gpl-2.0 |
nesstea/darkstar | scripts/zones/LaLoff_Amphitheater/npcs/qm0_4.lua | 13 | 1160 | -----------------------------------
-- Area: LaLoff_Amphitheater
-- NPC: qm0 (warp player outside after they win fight)
-------------------------------------
package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/LaLoff_Amphitheater/TextIDs");
... | gpl-3.0 |
Mashape/kong | kong/plugins/bot-detection/rules.lua | 13 | 3575 | -- List taken from https://github.com/ua-parser/uap-core/blob/master/regexes.yaml
return {
bots = {
[[(Pingdom.com_bot_version_)(\d+)\.(\d+)]], -- Pingdom
[[(facebookexternalhit)/(\d+)\.(\d+)]], -- Facebook
[[Google.*/\+/web/snippet]], -- Google Plus
[[(Twitterbot)/(\d+)\.(\d+)]], -- Twitter
[[/(... | apache-2.0 |
UnfortunateFruit/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 |
nesstea/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Sharin-Garin.lua | 13 | 1992 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Sharin-Garin
-- Type: Adventurer's Assistant
-- @pos 122.658 -1.315 33.001 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/b... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Windurst_Walls/npcs/Scavnix.lua | 13 | 1183 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Scavnix
-- Standard merchant, though he acts like a guild merchant
-- @pos 17.731 0.106 239.626 239
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Batallia_Downs/npcs/qm2.lua | 13 | 1495 | -----------------------------------
-- Area: Batallia Downs
-- NPC: qm2 (???)
-- Pop for the quest "Chasing Quotas"
-----------------------------------
package.loaded["scripts/zones/Batallia_Downs/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Batallia_Downs/TextIDs");
require("scripts/... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/The_Eldieme_Necropolis/TextIDs.lua | 5 | 2300 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6538; -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6541; -- Obtained: <item>
GIL_OBTAINED = 6542; -- Obtained <number> gil
KEYITEM_OBTAINED = 6544; -- Obtain... | gpl-3.0 |
jj918160/cocos2d-x-samples | samples/FantasyWarrior3D/src/cocos/ui/DeprecatedUIEnum.lua | 39 | 4928 |
LAYOUT_COLOR_NONE = ccui.LayoutBackGroundColorType.none
LAYOUT_COLOR_SOLID = ccui.LayoutBackGroundColorType.solid
LAYOUT_COLOR_GRADIENT = ccui.LayoutBackGroundColorType.gradient
LAYOUT_ABSOLUTE = ccui.LayoutType.ABSOLUTE
LAYOUT_LINEAR_VE... | mit |
niessner/Matterport | tasks/region_classification/utils.lua | 1 | 1287 |
-- Check if a file exists
function fileExists(file)
local f = io.open(file, "rb")
if f then f:close() end
return f ~= nil
end
-- Get all lines from a file, returns an empty list/table if the file does not exist
function getLinesFromFile(file)
if not fileExists(file) then return {} end
lines = {}
... | mit |
UnfortunateFruit/darkstar | scripts/zones/Port_San_dOria/npcs/Gournaie.lua | 36 | 1374 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Gournaie
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Port_San_dOria/Text... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Windurst_Waters_[S]/Zone.lua | 28 | 1331 | -----------------------------------
--
-- Zone: Windurst_Waters_[S] (94)
--
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Windurst_Waters_[S]/TextIDs");
-... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Windurst_Woods/npcs/Matata.lua | 13 | 1820 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Matata
-- Type: Standard NPC
-- @zone: 241
-- @pos 131 -5 -109
-- Involved in quest: In a Stew
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
require("scripts/globals/titles");
re... | gpl-3.0 |
bowlofstew/Macaroni | Main/Generators/VCpp/VCpp10.lua | 2 | 13009 | require "Macaroni.IO.GeneratedFileWriter"
require "Macaroni.IO.Path"
Path = Macaroni.IO.Path
function checkArgs(args, name, description)
if args[name] == nil then
msg = 'Missing argument "' .. name;
if description ~= nil then
msg = msg .. " Description:" .. description;
end
... | apache-2.0 |
zuzuf/TA3D | src/ta3d/mods/ta3d/scripts/corcrash.lua | 2 | 9119 | createUnitScript("corcrash")
__this:piece( "firept1", "firept2", "turret", "gunbase", "pelvis", "lleg", "rleg", "gun1",
"gun2", "ground")
local firept1 = __this.firept1
local firept2 = __this.firept2
local turret = __this.turret
local gunbase = __this.gunbase
local pelvis = __this.pelvis
local lleg =... | gpl-2.0 |
UnfortunateFruit/darkstar | scripts/globals/effects/saber_dance.lua | 17 | 1745 | -----------------------------------
--
-- EFFECT_SABER_DANCE
--
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Bastok_Mines/npcs/Parraggoh.lua | 36 | 2331 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Parraggoh
-- Finishes Quest: Beauty and the Galka
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/se... | gpl-3.0 |
Mashape/kong | spec/02-integration/04-admin_api/04-plugins_routes_spec.lua | 1 | 10239 | local helpers = require "spec.helpers"
local admin_api = require "spec.fixtures.admin_api"
local utils = require "kong.tools.utils"
local cjson = require "cjson"
for _, strategy in helpers.each_strategy() do
describe("Admin API #" .. strategy, function()
local db
local client
lazy_setup(function()
... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Ranguemont_Pass/npcs/Perchond.lua | 19 | 1576 | -----------------------------------
-- Area: Ranguemont Pass
-- NPC: Perchond
-- @pos -182.844 4 -164.948 166
-----------------------------------
package.loaded["scripts/zones/Ranguemont_Pass/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
----------------------------------... | gpl-3.0 |
abasshacker/extreme | bot/utils.lua | 494 | 23873 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
JSON = (loadfile "./libs/... | gpl-2.0 |
vonflynee/opencomputersserver | world/opencomputers/4f2775bd-9dcb-42e6-8318-1837ede27e76/lib/term.lua | 15 | 12816 | local component = require("component")
local computer = require("computer")
local event = require("event")
local keyboard = require("keyboard")
local text = require("text")
local unicode = require("unicode")
local term = {}
local cursorX, cursorY = 1, 1
local cursorBlink = nil
local function toggleBlink()
if term.i... | mit |
ruisebastiao/nodemcu-firmware | lua_examples/webap_toggle_pin.lua | 70 | 1202 | wifi.setmode(wifi.SOFTAP);
wifi.ap.config({ssid="test",pwd="12345678"});
gpio.mode(1, gpio.OUTPUT)
srv=net.createServer(net.TCP)
srv:listen(80,function(conn)
conn:on("receive", function(client,request)
local buf = "";
local _, _, method, path, vars = string.find(request, "([A-Z]+) (.+)?(.+) HTTP")... | mit |
PUMpITapp/instantpizza | src/qrencode.lua | 2 | 56594 | --- The qrcode library is licensed under the 3-clause BSD license (aka "new BSD")
--- To get in contact with the author, mail to <gundlach@speedata.de>.
---
--- Please report bugs on the [github project page](http://speedata.github.com/luaqrcode/).
-- Copyright (c) 2012, Patrick Gundlach
-- All rights reserved.
--
-- R... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Marquis_Gamygyn.lua | 2 | 1528 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Marquis Gamygyn
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
function onMobEng... | gpl-3.0 |
nesstea/darkstar | scripts/globals/weaponskills/detonator.lua | 11 | 1643 | -----------------------------------
-- Detonator
-- Marksmanship weapon skill
-- Skill Level: 250
-- Delivers a single-hit attack. Damage varies with TP.
-- In order to obtain Detonator, the quest Shoot First, Ask Questions Later must be completed.
-- Despite the lack of a STR weaponskill mod, STR is still the most pot... | gpl-3.0 |
nesstea/darkstar | scripts/globals/spells/horde_lullaby.lua | 23 | 1097 | -----------------------------------------
-- Spell: Horde Lullaby
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,... | gpl-3.0 |
nesstea/darkstar | scripts/zones/San_dOria-Jeuno_Airship/TextIDs.lua | 22 | 1088 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6384; -- Obtained: <item>
GIL_OBTAINED = 6385; -- Obtained <number> gil
KEYITEM_OBTAINED = 6387; -- Obtain... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Temenos/mobs/Enhanced_Vulture.lua | 17 | 1433 | -----------------------------------
-- Area: Temenos W T
-- NPC: Enhanced_Vulture
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
---------------------... | gpl-3.0 |
FailcoderAddons/supervillain-ui | SVUI_UnitFrames/libs/Plugins/oUF_WarlockShards/oUF_WarlockShards.lua | 2 | 3293 | --GLOBAL NAMESPACE
local _G = _G;
--LUA
local unpack = _G.unpack;
local select = _G.select;
local assert = _G.assert;
--MATH
local math = _G.math;
local floor = math.floor
--BLIZZARD API
local UnitPower = _G.UnitPower;
local UnitPowerMax = _G.UnitPowerMax;
local UnitHasVehic... | mit |
plajjan/snabbswitch | lib/ljsyscall/syscall/methods.lua | 18 | 7907 | -- this creates types with methods
-- cannot do this in types as the functions have not been defined yet (as they depend on types)
-- well we could, by passing in the empty table for S, but this is more modular
local require, error, assert, tonumber, tostring,
setmetatable, pairs, ipairs, unpack, rawget, rawset,
pcall... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/globals/items/cobalt_jellyfish.lua | 17 | 1336 | -----------------------------------------
-- ID: 4443
-- Item: cobalt_jellyfish
-- Food Effect: 5 Min, Mithra only
-----------------------------------------
-- Dexterity 1
-- Mind -3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- O... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Windurst_Waters/npcs/Fomina.lua | 36 | 1701 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Fomina
-- Only sells when Windurst controlls Elshimo Lowlands
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones/Windu... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Port_San_dOria/npcs/Liloune.lua | 13 | 1355 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Liloune
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Port_San_dOria/TextIDs");
--... | gpl-3.0 |
bowlofstew/Macaroni | Main/App/Source/test/lua/Macaroni/Parser/Pippy/Tests/PippyParserTests_Functions.lua | 2 | 6353 | --------------------------------------------------------------------------------
-- Copyright 2011 Tim Simpson
--
-- 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 |
UnfortunateFruit/darkstar | scripts/globals/spells/kurayami_san.lua | 11 | 1139 | -----------------------------------------
-- Spell: Kurayami: San
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,targe... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/homura_+1.lua | 16 | 1027 | -----------------------------------------
-- ID: 16986
-- Item: Homura +1
-- Additional Effect: Fire Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
----------------------------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/plate_of_homemade_salad.lua | 35 | 1131 | -----------------------------------------
-- ID: 5227
-- Item: plate_of_homemade_salad
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Magic 10
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/spells/bluemagic/tail_slap.lua | 28 | 1767 | -----------------------------------------
-- Spell: Tail Slap
-- Delivers an area attack. Additional effect: "Stun." Damage varies with TP
-- Spell cost: 77 MP
-- Monster Type: Beastmen
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 4
-- Stat Bonus: MND+2
-- Level: 69
-- Casting Time: 1 seconds
-- Reca... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Port_Windurst/npcs/Aroro.lua | 34 | 1741 | -----------------------------------
-- Area: Port Windurst
-- NPC: Aroro
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
require("scripts/zones/Port_Windurst/TextIDs"... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/spells/bluemagic/warm-up.lua | 9 | 1512 | -----------------------------------------
-- 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... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/bowl_of_eyeball_soup.lua | 35 | 1403 | -----------------------------------------
-- ID: 4453
-- Item: Bowl of Eyeball Soup
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Charisma -10
-- Health Regen While Healing 4
-- Accuracy 12
-- Ranged ACC 12
-----------------------------------------
require("scripts/globals/s... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/abilities/blade_bash.lua | 10 | 1641 | -----------------------------------
-- Ability: Blade Bash
-- Deliver an attack that can stun the target and occasionally cause Plague.
-- Obtained: Samurai Level 75
-- Recast Time: 3:00
-- Duration: Instant
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/stat... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/LaLoff_Amphitheater/bcnms/ark_angels_1.lua | 13 | 3031 | -----------------------------------
-- Area: LaLoff Amphitheater
-- Name: Ark Angels 1 (Hume)
-----------------------------------
package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/LaLoff_Amphitheater/TextIDs");
require("scripts/globals/mission... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Bastok_Markets/npcs/Mjoll.lua | 17 | 1529 | -----------------------------------
-- Area: Batok Markets
-- NPC: Mjoll
-- Standard Merchant NPC
--
-- Updated Aug-09-2013 by Zerahn, based on bgwiki and gamerescape
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
require("scripts/zone... | gpl-3.0 |
nesstea/darkstar | scripts/globals/effects/yonin.lua | 30 | 1281 | -----------------------------------
--
--
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect) --power=30 initially, subpower=20 for enmity
target:addMod(MOD_ACC,... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Bastok_Markets/npcs/Loulia.lua | 13 | 1091 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Loulia
-- Type: Room Renters
-- @zone: 235
-- @pos -176.212 -9 -25.049
--
-- Auto-Script: Requires Verification. Validated standard dialog - thrydwolf 12/8/2011
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/Tex... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/plate_of_ikra_gunkan_+1.lua | 18 | 1730 | -----------------------------------------
-- ID: 5220
-- Item: plate_of_ikra_gunkan_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health 30
-- Magic 12
-- Dexterity 3
-- Mind -1
-- Accuracy % 17
-- Accuracy Cap 30
-- Ranged ACC % 17
-- Ranged ACC Cap 30
-------------------------------... | gpl-3.0 |
heyuqi/wxFormBuilder | build/premake/4.3/src/base/globals.lua | 8 | 2836 | --
-- globals.lua
-- Global tables and variables, replacements and extensions to Lua's global functions.
-- Copyright (c) 2002-2009 Jason Perkins and the Premake project
--
-- A top-level namespace for support functions
premake = { }
-- The list of supported platforms; also update list in cmdline.lua
premake... | gpl-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Chamber_of_Oracles/bcnms/through_the_quicksand_caves.lua | 13 | 1875 | -----------------------------------
-- Area: Qu'Bia Arena
-- Name: Zilart Mission 6
-- @pos -221 -24 19 206
-----------------------------------
package.loaded["scripts/zones/Sacrificial_Chamber/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems")... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Jugner_Forest_[S]/npcs/Telepoint.lua | 18 | 1191 | -----------------------------------
-- Area: Jugner Forest [S]
-- NPC: Telepoint
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/Jugner_Forest_[S]/TextIDs");
----------... | gpl-3.0 |
Lordlotter/AdvanSource | plugins/savefile.lua | 1 | 1244 | --Created by: @lordlotter3
--Powered by: @lordandroid_bot
--⚠️CopyRight all right reserved⚠️
local function savefile(extra, success, result)
local msg = extra.msg
local name = extra.name
local adress = extra.adress
local receiver = get_receiver(msg)
if success then
local file = './'..adress..'/'..name..'... | gpl-2.0 |
luketwitter/cutorch | FFI.lua | 6 | 2877 | local ok, ffi = pcall(require, 'ffi')
if ok then
local unpack = unpack or table.unpack
local cdefs = [[
typedef struct CUstream_st *cudaStream_t;
struct cublasContext;
typedef struct cublasContext *cublasHandle_t;
typedef struct CUhandle_st *cublasHandle_t;
typedef struct _THCCudaResourcesPerDevice {
cudaStre... | bsd-3-clause |
NezzKryptic/Wire-Extras | lua/weapons/gmod_tool/stools/wire_pid.lua | 4 | 5576 | TOOL.Category = "Wire Extras/Other"
TOOL.Name = "PID"
TOOL.Command = nil
TOOL.ConfigName = ""
TOOL.Tab = "Wire"
/* Con vars for this stool */
TOOL.ClientConVar[ "pgain" ] = "0"
TOOL.ClientConVar[ "igain" ] = "0"
TOOL.ClientConVar[ "dgain" ] = "0"
TOOL.ClientConVar[ "dcut" ] = "1000"
TOOL.ClientConVar... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/bowl_of_mushroom_stew.lua | 35 | 1464 | -----------------------------------------
-- ID: 4544
-- Item: mushroom_stew
-- Food Effect: 3hours, All Races
-----------------------------------------
-- Magic Points 40
-- Strength -1
-- Mind 4
-- MP Recovered While Healing 4
-- Enmity -4
-----------------------------------------
require("scripts/global... | gpl-3.0 |
dpino/snabbswitch | lib/ljsyscall/syscall/lfs.lua | 24 | 3075 | -- this is intended to be compatible with luafilesystem https://github.com/keplerproject/luafilesystem
-- currently does not implement locks
local require, error, assert, tonumber, tostring,
setmetatable, pairs, ipairs, unpack, rawget, rawset,
pcall, type, table, string =
require, error, assert, tonumber, tostring,
... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/globals/spells/paralyze_ii.lua | 11 | 2285 | -----------------------------------------
-- Spell: Paralyze II
-- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and MND.
-- caster:getMerit() returns a value which is equal to the number of merit points TIMES the value of each point
-- Paralyze II value per point is '1' This is a co... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.