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 |
|---|---|---|---|---|---|
Scavenge/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Mushayra.lua | 14 | 1048 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Mushayra
-- Type: Standard NPC
-- @pos -111.551 -6.999 -61.720 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_W... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Riverne-Site_B01/npcs/Unstable_Displacement.lua | 27 | 2180 | -----------------------------------
-- Area: Riverne Site #B01
-- NPC: Unstable Displacement
-- ENM Battlefield
-- @pos -612 4 693
-----------------------------------
package.loaded["scripts/zones/Riverne-Site_B01/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scrip... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | LuaRules/actions.lua | 12 | 7094 | -- $Id: actions.lua 2491 2008-07-17 13:36:51Z det $
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--
-- file: actions
-- brief: hooks for GotChatMsg() and RecvFromSynced() calls
-- author: Dave R... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Bastok_Mines/npcs/Echo_Hawk.lua | 14 | 1624 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Echo Hawk
-- Standard Info NPC
-- Involved in Quest: The Siren's Tear
-- @pos -0.965 5.999 -15.567 234
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/g... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Fiaudie.lua | 14 | 1112 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Fiaudie
-- @zone 80
-- @pos -10 1 35
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
-----------------------------------
-- onTrad... | gpl-3.0 |
nmacs/lm3s-uclinux | lib/liblua/luasocket-2.0.2/test/testclnt.lua | 50 | 20248 | local socket = require"socket"
host = host or "localhost"
port = port or "8383"
function pass(...)
local s = string.format(unpack(arg))
io.stderr:write(s, "\n")
end
function fail(...)
local s = string.format(unpack(arg))
io.stderr:write("ERROR: ", s, "!\n")
socket.sleep(3)
os.exit()
end
function... | gpl-2.0 |
seblindfors/ConsolePort | ConsolePort/Controller/UI/UIProbe.lua | 1 | 5684 | ---------------------------------------------------------------
-- Secure probes for signed code
---------------------------------------------------------------
-- Probes are used to trigger callbacks to different handles
-- when an event happens that normally can't be processed in a
-- secure scope. A probed object ne... | artistic-2.0 |
Scavenge/darkstar | scripts/globals/items/roast_carp.lua | 12 | 1370 | -----------------------------------------
-- ID: 4537
-- Item: roast_carp
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Dexterity 1
-- Mind -1
-- Ranged ATT % 14 (cap 40)
-----------------------------------------
require("scripts/globals/status");
--------------------------------------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Port_San_dOria/npcs/Dabbio.lua | 14 | 1049 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Dabbio
-- Type: Standard NPC
-- @zone 232
-- @pos -7.819 -15 -106.990
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
---------------... | gpl-3.0 |
phi-gamma/lualibs | lualibs-boolean.lua | 8 | 1850 | if not modules then modules = { } end modules ['l-boolean'] = {
version = 1.001,
comment = "companion to luat-lib.mkiv",
author = "Hans Hagen, PRAGMA-ADE, Hasselt NL",
copyright = "PRAGMA ADE / ConTeXt Development Team",
license = "see context related readme files"
}
local type, tonumber =... | gpl-2.0 |
swan524/BotOfLegend | BaguetteSona/BaguetteSona.lua | 1 | 34708 | --[[
Script by spyk for Sona.
BaguetteSona.lua
Github link : https://github.com/spyk1/BoL/blob/master/BaguetteSona/BaguetteSona.lua
Forum Thread : http://forum.botoflegends.com/topic/88896-beta-baguette-sona/
]]--
local buffs = {
["JudicatorIntervention"] = true,
["UndyingRage"] = true,
["ZacRebirthR... | gpl-2.0 |
omidtarh/botnew | 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 |
taxler/radish | packaging/extensions/platform_win32/lua/radish/mswindows/audio/foundation.lua | 1 | 12337 | -- audio functionality based on windows media foundation
local mfplat = require 'exports.mswindows.media.foundation'
if mfplat == false then
return false
end
-- unfortunately we need the Windows 7 version just to be
-- able to open an IMFByteStream on an existing IStream
if 0 ~= mfplat.MFStartup(mfplat.MF_VERSION__... | mit |
1yvT0s/luvit | examples/broken/test-http-ugly.lua | 15 | 3065 | --[[
Copyright 2012 The Luvit Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agr... | apache-2.0 |
ShayanHaddadian/Tele-OvEr | plugins/stats.lua | 866 | 4001 | do
-- Returns a table with `name` and `msgs`
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_prin... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/South_Gustaberg/npcs/qm2.lua | 27 | 2839 | -----------------------------------
-- Area: South Gustaberg
-- NPC: ???
-- Involved in Quest: Smoke on the Mountain
-- @pos 461 -21 -580 107
-----------------------------------
package.loaded["scripts/zones/South_Gustaberg/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/South_Gustaberg/Te... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/abilities/pets/flame_breath.lua | 29 | 1335 | ---------------------------------------------------
-- Flame Breath
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/globals/ability");
-----------------------------------------------... | gpl-3.0 |
Kyklas/luci-proto-hso | libs/nixio/docsrc/nixio.lua | 151 | 15824 | --- General POSIX IO library.
module "nixio"
--- Look up a hostname and service via DNS.
-- @class function
-- @name nixio.getaddrinfo
-- @param host hostname to lookup (optional)
-- @param family address family [<strong>"any"</strong>, "inet", "inet6"]
-- @param service service name or port (optional)
-- @return ... | apache-2.0 |
Scavenge/darkstar | scripts/zones/Sea_Serpent_Grotto/npcs/_4w4.lua | 14 | 2813 | -----------------------------------
-- Area: Sea Serpent Grotto
-- NPC: Gold Beastcoin Door
-- @zone 176
-- @pos 60 8.55 -80
-----------------------------------
package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/z... | gpl-3.0 |
omidtarh/wbot | plugins/moderation.lua | 336 | 9979 | do
local function check_member(cb_extra, success, result)
local receiver = cb_extra.receiver
local data = cb_extra.data
local msg = cb_extra.msg
for k,v in pairs(result.members) do
local member_id = v.id
if member_id ~= our_id then
local username = v.username
data[tostring(m... | gpl-2.0 |
1yvT0s/luvit | deps/http-codec.lua | 12 | 8601 | --[[
Copyright 2014-2015 The Luvit Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law o... | apache-2.0 |
Scavenge/darkstar | scripts/zones/Al_Zahbi/npcs/Danaaba.lua | 14 | 1038 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Danaaba
-- Type: Standard NPC
-- @zone 48
-- @pos -17.375 -6.999 59.161
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
--------------------------... | gpl-3.0 |
Kyklas/luci-proto-hso | applications/luci-qos/luasrc/model/cbi/qos/qos.lua | 41 | 2689 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
loc... | apache-2.0 |
Scavenge/darkstar | scripts/zones/Upper_Jeuno/npcs/Finnela.lua | 14 | 1040 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Finnela
-- Type: Standard NPC
-- @zone 244
-- @pos -51.880 -1 106.486
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
------------------------... | gpl-3.0 |
omidtarh/wezard | plugins/id.lua | 355 | 2795 | local function user_print_name(user)
if user.print_name then
return user.print_name
end
local text = ''
if user.first_name then
text = user.last_name..' '
end
if user.lastname then
text = text..user.last_name
end
return text
end
local function returnids(cb_extra, success, resu... | gpl-2.0 |
angking0802wu/UniLua | Assets/StreamingAssets/LuaRoot/test/pm.lua | 6 | 10501 | print('testing pattern matching')
function f(s, p)
local i,e = string.find(s, p)
if i then return string.sub(s, i, e) end
end
function f1(s, p)
p = string.gsub(p, "%%([0-9])", function (s) return "%" .. (s+1) end)
p = string.gsub(p, "^(^?)", "%1()", 1)
p = string.gsub(p, "($?)$", "()%1", 1)
local t = {str... | mit |
kirubz/Penlight | lua/pl/lapp.lua | 20 | 13955 | --- Simple command-line parsing using human-readable specification.
-- Supports GNU-style parameters.
--
-- lapp = require 'pl.lapp'
-- local args = lapp [[
-- Does some calculations
-- -o,--offset (default 0.0) Offset to add to scaled number
-- -s,--scale (number) Scaling factor
-- ... | mit |
zozaiq/DEV_ZOZO | plugins/list1.lua | 2 | 1623 | do
local function run(msg, macthes)
local reply_id = msg['id']
if is_momod(msg) and macthes[1] == 'list1' then
local text = [[
🔹اوامر ادارة المجموعات 🔹
🔹➖🔸➖🔹➖🔸➖🔹➖🔸
🔹/who : قائمة الاعضاء | 👥
🔹/gpinfo : معلومات الكروب | 💢
🔹/settings : الاعدادات | ⚙
🔹➖🔸➖🔹➖🔸➖🔹➖🔸
🔹/promote : رفع ادمن | ➕
🔹/demote :... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Al_Zahbi/npcs/Zafif.lua | 17 | 1792 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Zafif
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
require("scripts/zones/Al_Zahbi/TextIDs");
-----------------------------------
-- onTrade Action
---... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Jugner_Forest/npcs/Alexius.lua | 14 | 1619 | -----------------------------------
-- Area: Jugner Forest
-- NPC: Alexius
-- Involved in Quest: A purchase of Arms & Sin Hunting
-- @pos 105 1 382 104
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titl... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/items/bowl_of_yayla_corbasi_+1.lua | 12 | 1481 | -----------------------------------------
-- ID: 5580
-- Item: bowl_of_yayla_corbasi_+1
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- HP 25
-- Dexterity -1
-- Vitality 3
-- HP Recovered While Healing 5
-- MP Recovered While Healing 2
-----------------------------------------
require("scr... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Western_Adoulin/npcs/Pagnelle.lua | 14 | 4477 | -----------------------------------
-- Area: Western Adoulin
-- NPC: Pagnelle
-- Type: Standard NPC and Quest NPC
-- Starts, Involved with, and Finishes Quest: 'Raptor Rapture'
-- @zone 256
-- @pos -8 0 -100 256
-----------------------------------
package.loaded["scripts/zones/Western_Adoulin/TextIDs"] = nil;
---... | gpl-3.0 |
shayanchabok007/antispam_fox | plugins/id.lua | 226 | 4260 | local function user_print_name(user)
if user.print_name then
return user.print_name
end
local text = ''
if user.first_name then
text = user.last_name..' '
end
if user.lastname then
text = text..user.last_name
end
return text
end
local function returnids(cb_extra, success, result)
local re... | gpl-2.0 |
shayanchabok007/antispam_fox | plugins/minecraft.lua | 624 | 2605 | local usage = {
"!mine [ip]: Searches Minecraft server on specified ip and sends info. Default port: 25565",
"!mine [ip] [port]: Searches Minecraft server on specified ip and port and sends info.",
}
local ltn12 = require "ltn12"
local function mineSearch(ip, port, receiver) --25565
local responseText = ""
l... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/East_Ronfaure/npcs/Andelain.lua | 14 | 2191 | -----------------------------------
-- Area: East Ronfaure
-- NPC: Andelain
-- Type: Standard NPC
-- @pos 664.231 -12.849 -539.413 101
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil;
------------------------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Giddeus/npcs/HomePoint#1.lua | 27 | 1248 | -----------------------------------
-- Area: Giddeus
-- NPC: HomePoint#1
-- @pos -132 -3 -303 145
-----------------------------------
package.loaded["scripts/zones/Giddeus/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Giddeus/TextIDs");
require("scripts/globals/homepoint");
----------... | gpl-3.0 |
dani-sj/evilbot03 | plugins/cpu.lua | 244 | 1893 | function run_sh(msg)
name = get_name(msg)
text = ''
-- if config.sh_enabled == false then
-- text = '!sh command is disabled'
-- else
-- if is_sudo(msg) then
-- bash = msg.text:sub(4,-1)
-- text = run_bash(bash)
-- else
-- text = name .. ' you... | gpl-2.0 |
Scavenge/darkstar | scripts/globals/items/wild_onion.lua | 12 | 1180 | -----------------------------------------
-- ID: 4387
-- Item: wild_onion
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility 4
-- Vitality -6
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
--------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Port_Windurst/npcs/Kususu.lua | 17 | 1729 | -----------------------------------
-- Area: Port Windurst
-- NPC: Kususu
-- 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 |
Grade-A-Software/Comcast-DASH-VLC | share/lua/playlist/metachannels.lua | 92 | 2096 | --[[
$Id$
Copyright © 2010 VideoLAN and AUTHORS
Authors: Rémi Duraffort <ivoire at videolan dot org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at y... | gpl-2.0 |
seblindfors/ConsolePort | ConsolePort/XML/Templates/Templates.lua | 1 | 27424 | local _, db = ...;
---------------------------------------------------------------
CPFrameWithTooltipMixin = {}
---------------------------------------------------------------
function CPFrameWithTooltipMixin:OnLoad()
if self.simpleTooltipLine then
self:AddTooltipLine(self.simpleTooltipLine, HIGHLIGHT_FONT_COLOR)
... | artistic-2.0 |
Zomis/FactorioMods | advanced-combinator_1.1.0/common.lua | 1 | 1852 | local function out(txt)
local debug = false
if debug then
game.print(txt)
end
end
local function txtpos(pos)
return "{" .. pos["x"] .. ", " .. pos["y"] .."}"
end
local function worldAndPos(entity)
return entity.surface.name .. txtpos(entity.position)
end
local function split(text, delimiter)
if strin... | mit |
phi-gamma/lualibs | lualibs-unicode.lua | 1 | 37427 | if not modules then modules = { } end modules ['l-unicode'] = {
version = 1.001,
comment = "companion to luat-lib.mkiv",
author = "Hans Hagen, PRAGMA-ADE, Hasselt NL",
copyright = "PRAGMA ADE / ConTeXt Development Team",
license = "see context related readme files"
}
-- in lua 5.3:
-- utf... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Metalworks/npcs/Ghemp.lua | 9 | 2082 | -----------------------------------
-- Area: Metalworks
-- NPC: Ghemp
-- Type: Smithing Guild Master
-- @pos -109 2 27 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Metalworks/TextIDs");
require("scripts/glob... | gpl-3.0 |
seblindfors/ConsolePort | ConsolePort_Menu/Menus/GameMenuFrame.lua | 1 | 26732 | local name, env = ...;
local Menu, Cursor = CreateFrame('Frame', 'ConsolePortGameMenu', GameMenuFrame, 'CPFullscreenMenuTemplate'), ConsolePortSecureCursor;
do -- Initiate frame
local headerTemplates = {'SecureHandlerBaseTemplate', 'SecureHandlerClickTemplate', 'CPMenuListCategoryTemplate'};
local baseTemplates =... | artistic-2.0 |
Scavenge/darkstar | scripts/globals/items/forest_carp.lua | 12 | 1340 | -----------------------------------------
-- ID: 4289
-- Item: forest_carp
-- Food Effect: 30Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
------... | gpl-3.0 |
BlockMen/minetest_next | mods/default/aliases.lua | 5 | 4068 | -- mods/default/aliases.lua
-- Aliases to support loading worlds using nodes following the old naming convention
-- These can also be helpful when using chat commands, for example /giveme
minetest.register_alias("stone", "default:stone")
minetest.register_alias("stone_with_coal", "default:stone_with_coal")
minetest.re... | gpl-3.0 |
rm-code/lofivi | src/screens/MainScreen.lua | 1 | 10539 | local Screen = require('lib.screenmanager.Screen');
local FileManager = require('src.FileManager');
local Graph = require('src.graph.Graph');
local Camera = require('lib.camera.Camera');
local ConfigReader = require('src.ConfigReader');
local FilePanel = require('src.ui.FilePanel');
-- --------------------------------... | mit |
DEVSEIKO/seikodev | plugins/addsudo.lua | 2 | 1845 | --[[
_____ _ _ _ _____ Dev @lIMyIl
|_ _|__| |__ / \ | | _| ____| Dev @li_XxX_il
| |/ __| '_ \ / _ \ | |/ / _| Dev @h_k_a
| |\__ \ | | |/ ___ \| <| |___ Dev @Aram_omar22
|_||___/_| |_/_/ \_\_|\_\_____| Dev @IXX_I_XXI
CH > @lTSHAKEl_CH
--]]
l... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Lower_Jeuno/npcs/Parike-Poranke.lua | 14 | 1121 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Parike-Poranke
-- Type: Adventurer's Assistant
-- @zone 245
-- @pos -33.161 -1 -61.303
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-------... | gpl-3.0 |
PredatorMF/Urho3D | bin/Data/LuaScripts/48_Hello3DUI.lua | 19 | 9612 | -- A 3D UI demonstration based on the HelloGUI sample. Renders UI alternatively
-- either to a 3D scene object using UIComponent, or directly to the backbuffer.
require "LuaScripts/Utilities/Sample"
local window = nil
local dragBeginPosition = IntVector2(0, 0)
local textureRoot = nil
local current = nil
local renderO... | mit |
PicoleDeLimao/Ninpou2 | game/dota_addons/ninpou2/scripts/vscripts/units/EliteAnbuLeader/elite_anbu_leader_katon_jutsu.lua | 1 | 1061 | --[[
Author: PicoleDeLimao
Date: 01.06.2016
Show launch and impact effects for Katon Jutsu skill
]]
-- Display effect on spell start
function ShowLaunchEffect(event)
local caster = event.caster
local target = event.target
local particle = ParticleManager:CreateParticle("particles/units/heroes/hero_jakiro/jakiro_... | apache-2.0 |
Scavenge/darkstar | scripts/zones/Apollyon/mobs/Barometz.lua | 17 | 1394 | -----------------------------------
-- Area: Apollyon NE
-- NPC: Barometz
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
---------------------------------... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | units/corvamp.lua | 1 | 4691 | unitDef = {
unitname = [[corvamp]],
name = [[Hawk]],
description = [[Air Superiority Fighter]],
brakerate = 0.4,
buildCostEnergy = 300,
buildCostMetal = 300,
buildPic = [[corvamp.png]],
buildTime = 300,
c... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Suzel.lua | 14 | 1058 | ----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Suzel
-- Type: Item Deliverer
-- @zone 26
-- @pos -72.701 -20.25 -64.058
--
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
require("scripts/zones/Tavnazian_Safehold/TextIDs");
------------... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/items/pot_of_honey.lua | 12 | 1127 | -----------------------------------------
-- ID: 4370
-- Item: pot_of_honey
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Magic Regen While Healing 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
---... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Abyssea-La_Theine/npcs/qm2.lua | 14 | 1350 | -----------------------------------
-- Zone: Abyssea-LaTheine
-- NPC: qm2 (???)
-- Spawns Trudging Thomas
-- @pos ? ? ? 132
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trad... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | effects/unused_charlize.lua | 25 | 30008 | -- charlize_7
-- charlize_3
-- charlize_2
-- charlize_14
-- charlize_1
-- charlize_17
-- charlize_6
-- charlize_4
-- charlize_10
-- charlize_11
-- charlize_12
-- charlize_21
-- charlize
-- charlize_18
-- charlize_8
-- charlize_19
-- charlize_ani
-- charlize_9
-- charlize_15
-- charlize_13
-- charlize_5
-- charlize_16
-... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/The_Boyahda_Tree/npcs/HomePoint#1.lua | 27 | 1273 | -----------------------------------
-- Area: The Boyahda Tree
-- NPC: HomePoint#1
-- @pos 88 -15 -217 153
-----------------------------------
package.loaded["scripts/zones/The_Boyahda_Tree/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/The_Boyahda_Tree/TextIDs");
require("scripts/global... | gpl-3.0 |
maksym1221/nlp-rnn | util/GloVeEmbedding.lua | 1 | 6534 |
function split(inputstr, sep)
if sep == nil then
sep = "%s"
end
local t={} ; i=1
for str in string.gmatch(inputstr, "([^"..sep.."]+)") do
t[i] = str
i = i + 1
end
return t
end
function numkeys(T)
local count = 0
for _ in pairs(T) do count = count + 1 end
ret... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Port_San_dOria/npcs/Jaireto.lua | 17 | 1400 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Jaireto
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Port_San_dOria/TextIDs");
require("scripts/globals/quests");
---... | gpl-3.0 |
mymedia2/GroupButler | plugins/setlang.lua | 8 | 1864 | local config = require 'config'
local u = require 'utilities'
local api = require 'methods'
local plugin = {}
local function doKeyboard_lang()
local keyboard = {
inline_keyboard = {}
}
for lang, flag in pairs(config.available_languages) do
local line = {{text = flag, callback_data = 'langselected:'..lang}}
t... | gpl-2.0 |
Scavenge/darkstar | scripts/globals/spells/jubaku_ni.lua | 27 | 1701 | -----------------------------------------
-- Spell: Jubaku: Ni
-- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and INT.
-- taken from paralyze
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
---------------------------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Al_Zahbi/npcs/Yudi_Yolhbi.lua | 53 | 2326 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Yudi Yolhbi
-- Type: Woodworking Normal/Adv. Image Support
-- @pos -71.584 -7 -56.018 48
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
requ... | gpl-3.0 |
SHIELDTM/shield5 | bot/utils.lua | 646 | 23489 | 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 |
purebn/secure | plugins/twitter_send.lua | 627 | 1555 | do
local OAuth = require "OAuth"
local consumer_key = ""
local consumer_secret = ""
local access_token = ""
local access_token_secret = ""
local client = OAuth.new(consumer_key, consumer_secret, {
RequestToken = "https://api.twitter.com/oauth/request_token",
AuthorizeUser = {"https://api.twitter.com/oauth/autho... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Konschtat_Highlands/npcs/qm1.lua | 14 | 1374 | -----------------------------------
-- Area: Konschtat Highlands
-- NPC: qm1 (???)
-- Continues Quests: Past Perfect
-- @pos -201 16 80 108
-----------------------------------
package.loaded["scripts/zones/Konschtat_Highlands/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
requ... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/weaponskills/blade_metsu.lua | 19 | 2111 | -----------------------------------
-- Blade Metsu
-- Katana weapon skill
-- Skill Level: N/A
-- Additional effect: Paralysis
-- Hidden effect: temporarily enhances Subtle Blow effect.
-- One hit weapon skill, despite non single-hit animation.
-- This weapon skill is only available with the stage 5 relic Katana Kikoku ... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Quicksand_Caves/mobs/Antican_Princeps.lua | 5 | 1475 | -----------------------------------
-- Area: Quicksand Caves
-- MOB: Antican Princeps
-----------------------------------
require("scripts/globals/groundsofvalor");
require("scripts/zones/Quicksand_Caves/MobIDs");
-----------------------------------
-- onMobDeath
-----------------------------------
function onMobDe... | gpl-3.0 |
PredatorMF/Urho3D | bin/Data/LuaScripts/Utilities/ScriptCompiler.lua | 29 | 1247 | -- Script to recursively compile lua files located in specified rootFolder to luc (bytecode)
-- Usage: require "LuaScripts/Utilities/LuaScriptCompiler"
-- Set root folder containing lua files to convert
local rootFolder = "Data/LuaScripts/" -- Starting from bin folder
if not fileSystem:DirExists(rootFolder) then log:... | mit |
Scavenge/darkstar | scripts/globals/weaponskills/retribution.lua | 25 | 1663 | -----------------------------------
-- Retribution
-- Staff weapon skill
-- Skill Level: 230
-- Delivers a single-hit attack. Damage varies with TP.
-- In order to obtain Retribution, the quest Blood and Glory must be completed.
-- Despite the appearance of throwing the staff, this is not a long-range Weapon Skill like... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | LuaRules/Utilities/GetEffectiveWeaponRange.lua | 2 | 5463 | local function GetRangeModType(weaponDef)
local modType = 0 --weapon targeting mod type
if (weaponDef.type == "Cannon") or
(weaponDef.type == "EmgCannon") or
(weaponDef.type == "DGun" and weaponDef.gravityAffected) or
(weaponDef.type == "AircraftBomb")
then
--Ballistic
modType = 0
elseif (weaponDef.type == "... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Garlaige_Citadel/npcs/qm13.lua | 14 | 1384 | -----------------------------------
-- Area: Garlaige Citadel
-- NPC: qm13 (???)
-- Involved in Quest: Hitting the Marquisate (THF AF3)
-- @pos -194.166 -5.500 139.969 200
-----------------------------------
package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil;
-----------------------------------
require("s... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Port_Jeuno/npcs/Chudigrimane.lua | 30 | 1173 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Chudigrimane
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
require("scripts/zones/Port_Jeuno/TextIDs");
-----------------------------------
-- onTrade Action
--------------------------... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | LuaUI/Widgets/unit_auto_reclaim_heal_assist.lua | 7 | 2977 | -----------------------------------
-- Author: Johan Hanssen Seferidis
--
-- Comments: Sets all idle units that are not selected to fight. That has as effect to reclaim if there is low metal
-- , repair nearby units and assist in building if they have the possibility.
-- If you select the unit while it is bei... | gpl-2.0 |
Scavenge/darkstar | scripts/globals/npc_util.lua | 16 | 6826 | package.loaded["scripts/globals/settings"] = nil;
-- Provides helper methods for npcs
npcUtil = {};
-- Picks a new position for an NPC and excluding the current position.
-- INPUT: npc = npcID, position = 2D table with coords: index, {x, y, z}
-- RETURN: table index
function npcUtil.pickNewPosition(npc, positionTabl... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Pogigi.lua | 14 | 1063 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Pogigi
-- Type: Sealed Container
-- @zone 94
-- @pos -29.787 -4.499 42.603
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
-... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/mobskills/Corrosive_ooze.lua | 34 | 1192 | ---------------------------------------------------
-- Corrosive Ooze
-- Family: Slugs
-- Description: Deals water damage to an enemy. Additional Effect: Attack Down and Defense Down.
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Radial
-- Notes:
------------------------------------------... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | scripts/armrectr.lua | 6 | 3812 | include "constants.lua"
local head = piece 'head'
local hips = piece 'hips'
local chest = piece 'chest'
local rthigh = piece 'rthigh'
local lthigh = piece 'lthigh'
local lshin = piece 'lshin'
local rshin = piece 'rshin'
local rfoot = piece 'rfoot'
local lfoot = piece 'lfoot'
local larm = piece 'larm'
local r... | gpl-2.0 |
Grade-A-Software/Comcast-DASH-VLC | share/lua/playlist/mpora.lua | 97 | 2565 | --[[
$Id$
Copyright © 2009 the VideoLAN team
Authors: Konstantin Pavlov (thresh@videolan.org)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your opt... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Northern_San_dOria/npcs/Macuillie.lua | 11 | 2571 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Macuillie
-- Type: Guildworker's Union Representative
-- @zone 231
-- @pos -191.738 11.001 138.656
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/globals/keyitems");
requ... | gpl-3.0 |
yriveiro/nvim-files | lua/settings.lua | 1 | 2093 | local theme = require 'theme'
local o = vim.opt
local g = vim.g
-- Leader key configuation
-- https://learnvimscriptthehardway.stevelosh.com/chapters/06.html
g.mapleader = '\\' -- Define leader key.
g.localmapleader = ',' -- Define local leader.
vim.cmd [[set fcs=eob:\ ]]
vim.cmd [[filetype plugin indent on]]
local ... | mit |
kankaristo/premake-core | tests/_tests.lua | 7 | 5853 | return {
-- Base API tests
"test_string.lua",
"base/test_aliasing.lua",
"base/test_configset.lua",
"base/test_context.lua",
"base/test_criteria.lua",
"base/test_detoken.lua",
"base/test_include.lua",
"base/test_module_loader.lua",
"base/test_option.lua",
"base/test_os.lua",
"base/test_override.l... | bsd-3-clause |
Zero-K-Experiments/Zero-K-Experiments | effects/wolverine.lua | 25 | 3109 | -- wolvflash
-- wolvmuzzle1
-- wolvmuzzle0
return {
["wolvflash"] = {
groundflash = {
circlealpha = 1,
circlegrowth = 0,
flashalpha = 0.9,
flashsize = 60,
ttl = 8,
color = {
[1] = 1,
[2] = 0.5,
[3] = 0,
... | gpl-2.0 |
novokrest/chdkptp | lua/dng.lua | 1 | 19481 | --[[
Copyright (C) 2010-2011 <reyalp (at) gmail dot com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITH... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5f9.lua | 12 | 1097 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Shiva's Gate
-- @pos 270 -34 -60 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextIDs");
-----... | gpl-3.0 |
TobiahZ/CollectUnique | Code/menu.lua | 1 | 7575 | -----------------------------------------------------------------------------------------
--
-- menu.lua
--
-----------------------------------------------------------------------------------------
local storyboard = require( "storyboard" )
local scene = storyboard.newScene()
-- include Corona's "widget" library
loca... | mit |
Zero-K-Experiments/Zero-K-Experiments | gamedata/resources.lua | 2 | 6007 | -- $Id: resources.lua 4609 2009-05-12 01:32:58Z carrepairer $
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--
-- file: resources.lua
-- brief: resources definitions
--
----------------------------... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Abyssea-Uleguerand/npcs/qm1.lua | 14 | 1392 | -----------------------------------
-- Zone: Abyssea-Uleguerand
-- NPC: qm1 (???)
-- Spawns Ironclad Triturator
-- @pos ? ? ? 253
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,np... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | LuaRules/Gadgets/astar.lua | 25 | 7226 | ---------------------------------------------------------------------
--[[
author: quantum
GPL v2 or later
http://www.policyalmanac.org/games/aStarTutorial.htm
http://en.wikipedia.org/wiki/A*_search_algorithm
use: override IsBlocked, GetDistance, etc and run aStar.GetPath
-- example -----------------------------... | gpl-2.0 |
Scavenge/darkstar | scripts/globals/items/yellow_curry_bun_+1.lua | 12 | 2179 | -----------------------------------------
-- ID: 5763
-- Item: yellow_curry_bun_+1
-- Food Effect: 60 min, All Races
-----------------------------------------
-- TODO: Group effects
-- Health Points 30
-- Strength 5
-- Vitality 2
-- Agility 3
-- Intelligence -2
-- Attack 22% (caps @ 85)
-- Ranged Attack 22% (caps @ 85)... | gpl-3.0 |
endlessm/chromium-browser | third_party/skia/tools/lua/ngrams.lua | 1 | 2075 | -- Generate n-grams of Skia API calls from SKPs.
-- To test this locally, run:
-- $ GYP_DEFINES="skia_shared_lib=1" make lua_pictures
-- $ out/Debug/lua_pictures -q -r $SKP_DIR -l tools/lua/ngrams.lua > /tmp/lua-output
-- $ lua tools/lua/ngrams_aggregate.lua
-- To run on Cluster Telemetry, copy and paste the contents... | bsd-3-clause |
Scavenge/darkstar | scripts/zones/Port_San_dOria/Zone.lua | 30 | 2678 | -----------------------------------
--
-- Zone: Port_San_dOria (232)
--
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/zone");
require("scripts/globals/settings");
require("scripts/zones/Port_San_dOria/TextI... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/spells/bluemagic/pollen.lua | 27 | 1817 | -----------------------------------------
-- Spell: Pollen
-- Restores HP
-- Spell cost: 8 MP
-- Monster Type: Vermin
-- Spell Type: Magical (Light)
-- Blue Magic Points: 1
-- Stat Bonus: CHR+1, HP+5
-- Level: 1
-- Casting Time: 2 seconds
-- Recast Time: 5 seconds
--
-- Combos: Resist Sleep
---------------------------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Windurst_Woods/npcs/Peshi_Yohnts.lua | 9 | 2170 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Peshi Yohnts
-- Type: Bonecraft Guild Master
-- @pos -6.175 -6.249 -144.667 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Windurst_Woods... | gpl-3.0 |
PaulBatchelor/Soundpipe | modules/data/smoothdelay.lua | 3 | 1722 | sptbl["smoothdelay"] = {
files = {
module = "smoothdelay.c",
header = "smoothdelay.h",
example = "ex_smoothdelay.c",
},
func = {
create = "sp_smoothdelay_create",
destroy = "sp_smoothdelay_destroy",
init = "sp_smoothdelay_init",
compute = "sp_smoothd... | mit |
dheck/Enigma | data/compat.lua | 6 | 4075 | -------------------------------------------------------------------
-- Real globals
-- _ALERT
-- _ERRORMESSAGE
-- _VERSION
-- _G
-- assert
-- error
-- metatable
-- next
-- print
-- require
-- tonumber
-- tostring
-- type
-- unpack
-------------------------------------------------------------------
-- collectgarbage
--... | gpl-2.0 |
Scavenge/darkstar | scripts/globals/items/nebimonite_bake.lua | 12 | 1378 | -----------------------------------------
-- ID: 4459
-- Item: nebimonite_bake
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Dexterity 1
-- Vitality 2
-- Defense % 25
-- Defense Cap 70
-----------------------------------------
require("scripts/globals/status");
------------------------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/South_Gustaberg/npcs/qm1.lua | 14 | 1424 | -----------------------------------
-- Area: South Gustaberg
-- NPC: qm1 (???)
-- Involved in Quest: The Cold Light of Day
-- @pos 744 0 -671 107
-----------------------------------
package.loaded["scripts/zones/South_Gustaberg/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/South_Gustabe... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Qufim_Island/npcs/Singing_Blade_IM.lua | 14 | 3333 | -----------------------------------
-- Area: Qufim Island
-- NPC: Singing Blade, I.M.
-- Type: Border Conquest Guards
-- @pos 179.093 -21.575 -15.282 126
-----------------------------------
package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conques... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.