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 |
|---|---|---|---|---|---|
kidaa/FFXIOrgins | scripts/globals/items/slice_of_dhalmel_meat.lua | 1 | 1294 | -----------------------------------------
-- ID: 4359
-- Item: slice_of_dhalmel_meat
-- Food Effect: 5Min, Galka only
-----------------------------------------
-- Strength 3
-- Intelligence -5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnI... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Windurst_Woods/npcs/Nokkhi_Jinjahl.lua | 4 | 9812 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Nokkhi Jinjahl
-- Type: Traveling Merchant NPC
-- @zone: 241
-- @pos: 3.306 0.84 -41.601
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = ni... | gpl-3.0 |
jiang42/Algorithm-Implementations | Run_Length_Encoding/Lua/Yonaba/rle_test.lua | 26 | 1931 | -- Tests for rle.lua
local rle = require 'rle'
local total, pass = 0, 0
local function dec(str, len)
return #str < len
and str .. (('.'):rep(len-#str))
or str:sub(1,len)
end
local function run(message, f)
total = total + 1
local ok, err = pcall(f)
if ok then pass = pass + 1 end
local status = ok... | mit |
Fatalerror66/ffxi-a | scripts/zones/Valkurm_Dunes/npcs/Swirling_Vortex.lua | 2 | 1301 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: Swirling Vortex
-- Entrance to Lufaise Meadows
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/teleports");
require("scripts/glob... | gpl-3.0 |
actionless/awesome | tests/examples/wibox/widget/graph/subpixel.lua | 2 | 1399 | --DOC_GEN_IMAGE --DOC_HIDE
local parent = ... --DOC_HIDE
local wibox = require("wibox") --DOC_HIDE
local data = { --DOC_HIDE
3, 5, 6,4, 11,15,19,29,17,17,14,0,0,3,1,0,0, 22, 17,7, 1,0,0,5, --DOC_HIDE
} --DOC_HIDE
local l = wibox.layout { --DOC_HIDE
forced_height = 100, --DOC_HIDE
forced_width = 100, --D... | gpl-2.0 |
Wedge009/wesnoth | data/campaigns/Secrets_of_the_Ancients/utils/zombie_recruit_dialog.lua | 6 | 4416 | local T = wml.tag
local W = wml.fire
local _ = wesnoth.textdomain 'wesnoth-sota'
-- After preshow, this variable will hold the unit_types being shown in the listbox.
local listedZombies = {}
-- These two variables will be passed back to the WML engine.
local recruitedType
local recruitCost
local zombies = wml.array_a... | gpl-2.0 |
Fatalerror66/ffxi-a | scripts/zones/Sacrificial_Chamber/bcnms/temple_of_uggalepih.lua | 4 | 2929 | -----------------------------------
-- Area: Sacrificial Chamber
-- Name: Zilart Mission 4
-- @pos 299 0 349 163
-----------------------------------
package.loaded["scripts/zones/Sacrificial_Chamber/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyit... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Dynamis-Beaucedine/Zone.lua | 4 | 2096 | -----------------------------------
--
-- Zone: Dynamis-Beaucedine
--
-----------------------------------
package.loaded["scripts/zones/Dynamis-Beaucedine/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Dynamis-Beaucedine/TextIDs");
-------... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Abyssea-Konschtat/npcs/Atma_Fabricant.lua | 33 | 1061 | -----------------------------------
-- Zone: Abyssea - Konschtat
-- NPC: Atma Fabricant
--
-----------------------------------
package.loaded["scripts/zones/Abyssea-Konschtat/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/abyssea");
require("scripts/... | gpl-3.0 |
RockySeven3161/Unknown. | plugins/get.lua | 613 | 1067 | local function get_variables_hash(msg)
if msg.to.type == 'chat' then
return 'chat:'..msg.to.id..':variables'
end
if msg.to.type == 'user' then
return 'user:'..msg.from.id..':variables'
end
end
local function list_variables(msg)
local hash = get_variables_hash(msg)
if hash then
local names =... | gpl-2.0 |
Puccio7/bot-telegram | plugins/get.lua | 613 | 1067 | local function get_variables_hash(msg)
if msg.to.type == 'chat' then
return 'chat:'..msg.to.id..':variables'
end
if msg.to.type == 'user' then
return 'user:'..msg.from.id..':variables'
end
end
local function list_variables(msg)
local hash = get_variables_hash(msg)
if hash then
local names =... | apache-2.0 |
dromozoa/dromozoa-unix | bind/test/test_core.lua | 5 | 3338 | -- Copyright (C) 2018 Tomoyuki Fujimori <moyu@dromozoa.com>
--
-- This file is part of dromozoa-bind.
--
-- dromozoa-bind 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 3 of the License, or
-... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/globals/items/plate_of_dulcet_panettones.lua | 3 | 1277 | -----------------------------------------
-- ID: 5979
-- Item: Plate of Dulcet Panettones
-- Food Effect: 240 Min, All Races
-----------------------------------------
-- MP % 6 Cap 105
-- Intelligence +8
-- MP Healing +4
-----------------------------------------
require("scripts/globals/status");
--------------------... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Nashmau/npcs/Awaheen.lua | 2 | 1788 | -----------------------------------
-- Area: Nashmau
-- NPC: Awaheen
-- Standard Info NPC
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
-- Trade: Receive:
--... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Aht_Urhgan_Whitegate/npcs/Ironbound_Gate.lua | 2 | 1212 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Ironbound Gate
--
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
-----------------------------------
-- onT... | gpl-3.0 |
Segs/Segs | Data/scripts/Hazard_01_01/Spawndefs/Hellions_Perez.spawndef.lua | 3 | 5408 | --This is a rank table
--There could be multiple tables to generate spawns from
local Hellions_Ranks_01 = {
["Underlings"] = {
--NA
},
["Minions"] = {
"Thug_Hellion_01", "Thug_Hellion_02", "Thug_Hellion_03",
"Thug_Hellion_04", "Thug_Hellion_05", "Thug_H... | bsd-3-clause |
LuaDist2/xlsxwriter | xlsxwriter/xmlwriter.lua | 2 | 6498 | ----
-- Xmlwriter - A base class for xlsxwriter.lua xml classes.
--
-- Copyright 2014, John McNamara, jmcnamara@cpan.org
--
require "xlsxwriter.strict"
local Xmlwriter = {}
----
-- The Xmlwriter object constructor.
--
function Xmlwriter:new (instance)
instance = instance or {}
setmetatable(instance, self)
self.... | mit |
bartbes/lube-demo | NetPong-Server/Binary.lua | 3 | 2717 | --[[
Copyright © 2008 BartBes <bart.bes+nospam@gmail.com>
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, mo... | mit |
3RaGaming/3Ra-Enhanced-Vanilla | showhealth.lua | 1 | 1389 | -- Show the health of a player as a small piece of colored text above their head
-- A 3Ra Gaming creation
local function showhealth (event)
if game.tick % 30 ~= 0 then return end
for k, player in pairs(game.players) do
if player.connected then
if player.character then
if player.character.health == nil then ... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Chamber_of_Oracles/npcs/Pedestal_of_Earth.lua | 4 | 2190 | -----------------------------------
-- Area: Chamber of Oracles
-- NPC: Pedestal of Earth
-- Involved in Zilart Mission 7
-- @pos 199 -2 36 168
-------------------------------------
package.loaded["scripts/zones/Chamber_of_Oracles/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/titles"... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Bastok_Markets/npcs/Reinberta.lua | 2 | 1971 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Reinberta
-- Type: Goldsmithing Guild Master
-- @pos -190.605 -7.814 -59.432 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/crafting")... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/globals/items/pipin_hot_popoto.lua | 2 | 1230 | -----------------------------------------
-- ID: 4282
-- Item: pipin_hot_popoto
-- Food Effect: 60Min, All Races
-----------------------------------------
-- HP 25
-- Vitality 3
-- HP recovered while healing 1
-----------------------------------------
require("scripts/globals/status");
-------------------... | gpl-3.0 |
Segs/Segs | Data/scripts/City_02_01/Spawndefs/Outcasts_Steel.spawndef.lua | 3 | 16177 | --This is a rank table
--There could be multiple tables to generate spawns from
local Outcasts_Ranks_01 = {
["Underlings"] = {
--NA
},
["Minions"] = {
"Thug_Outcast_01", "Thug_Outcast_02",
"Thug_Outcast_03", "Thug_Outcast_04",
"Thug_Outcast_05", "Thug_Outcast_06",
"Thu... | bsd-3-clause |
nenau/naev | dat/missions/dvaered/dv_antiflf02.lua | 2 | 14179 | --[[
-- This is the second mission in the anti-FLF Dvaered campaign. The player is part of a Dvaered plot to smoke out the FLF base.
-- stack variable flfbase_intro:
-- 1 - The player has turned in the FLF agent or rescued the Dvaered crew. Conditional for dv_antiflf02
-- 2 - The player has rescued the FLF ag... | gpl-3.0 |
amirattackerxyz/xyamirattacker | bot/utils.lua | 473 | 24167 | 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 |
Segs/Segs | Data/scripts/Trial_01_01/entities.lua | 3 | 1741 | --- Abandoned Sewer Network
local spawnOnce = false
-- Called after MOTD for now.
function player_connected(id)
--Id is player entity Id
printDebug('player_connected Id: ' .. tostring(id))
if spawnOnce == false then
spinSpawners()
spinPersists()
RandomSpawn(0) --There are no... | bsd-3-clause |
e1d1s1/OpenRA | mods/cnc/maps/nod09/nod09-AI.lua | 5 | 6491 | AttackPaths = { { AttackPath1 }, { AttackPath2 } }
GDIBase = { GDICYard, GDIPyle, GDIWeap, GDIHQ, GDIProc, GDINuke1, GDINuke2, GDINuke3, GDIBuilding1, GDIBuilding2, GDIBuilding3, GDIBuilding4, GDIBuilding5, GDIBuilding6, GDIBuilding7, GDIBuilding8, GDIBuilding9, GDIBuilding10, GDIBuilding11 }
GDIOrcas = { GDIOrca1, GDI... | gpl-3.0 |
tboox/xmake-repo | packages/p/python/xmake.lua | 1 | 7387 | package("python")
set_kind("binary")
set_homepage("https://www.python.org/")
set_description("The python programming language.")
if is_host("windows") then
if os.arch() == "x64" then
add_urls("https://gitlab.com/xmake-mirror/python-releases/raw/master/python-$(version).amd64.zip", ... | apache-2.0 |
Fatalerror66/ffxi-a | scripts/zones/Windurst_Walls/npcs/Moan-Maon.lua | 5 | 1038 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Moan-Maon
-- Type: Standard NPC
-- @zone: 239
-- @pos: 88.244 -6.32 148.912
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
-----------... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Metalworks/npcs/Glarociquet_TK.lua | 5 | 1067 | -----------------------------------
-- Area: Metalworks
-- NPC: Glarociquet, T.K.
-- Type: Conquest Overseer
-- @zone: 237
-- @pos: 17.057 -17 -28.755
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
requir... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/globals/weaponskills/shoulder_tackle.lua | 6 | 1415 | -----------------------------------
-- 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 |
Fatalerror66/ffxi-a | scripts/zones/Port_San_dOria/npcs/_6g7.lua | 20 | 1144 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Door: Arrivals Entrance
-- @zone 232
-- @pos -24 -8 15
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scri... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Windurst_Waters/npcs/Moreno-Toeno.lua | 4 | 6645 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Morno-Toeno
-- Starts and Finishes Quest: Teacher's Pet
-- @pos 169 -2 159 238
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
package.loaded["scripts/globals/missions"] = nil;
---------------------... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/globals/items/bowl_of_pebble_soup.lua | 36 | 1103 | -----------------------------------------
-- ID: 4455
-- Item: Bowl of Pebble Soup
-- Food Effect: 3 Hr, All Races
-----------------------------------------
-- MP Recovered while healing 2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemC... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Upper_Jeuno/npcs/Rouliette.lua | 2 | 2142 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Rouliette
-- Starts and Finishes Quest: Candle-making
-- @zone 244
-- @pos -24 -2 11
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/s... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/The_Sanctuary_of_ZiTah/npcs/Limion_RK.lua | 8 | 2996 | -----------------------------------
-- Area: The Sanctuary of Zi'Tah
-- NPC: Limion, R.K.
-- Border Conquest Guards
-- @pos -252.454 -1.958 624.366 121
-----------------------------------
package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil;
-----------------------------------
require("scripts/globals... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Giddeus/Zone.lua | 4 | 1265 | -----------------------------------
--
-- Zone: Giddeus (145)
--
-----------------------------------
package.loaded["scripts/zones/Giddeus/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Giddeus/TextIDs");
-----------------------------------
-- onInitialize
-------------------... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Southern_San_dOria/npcs/Ailevia.lua | 5 | 1831 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Ailevia
-- Adventurer's Assistant
-- Only recieving Adv.Coupon and simple talk event are scripted
-- This NPC participates in Quests and Missions
-- @zone 230
-- @pos -8 1 1
-------------------------------------
package.loaded["scripts/zones/Sout... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Gusgen_Mines/Zone.lua | 2 | 1281 | -----------------------------------
--
-- Zone: Gusgen_Mines (196)
--
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Gusgen_Mines/TextIDs");
-----------------------------------
-- onInitialize
----... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/globals/items/jar_of_remedy_ointment.lua | 4 | 1628 | -----------------------------------------
-- ID: 5356
-- Item: Remedy Ointment
-- Item Effect: This potion remedies status ailments.
-- Works on paralysis, silence, blindness, poison, and plague.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/globals/items/serving_of_bass_meuniere.lua | 1 | 1499 | -----------------------------------------
-- ID: 4582
-- Item: serving_of_bass_meuniere
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health % 3
-- Dexterity 3
-- Agility 3
-- Mind -3
-- Ranged ACC % 6
-- Ranged ACC Cap 15
-----------------------------------------
require("scripts/glob... | gpl-3.0 |
RockySeven3161/Unknown. | plugins/domaintools.lua | 359 | 1494 | local ltn12 = require "ltn12"
local https = require "ssl.https"
-- Edit data/mashape.lua with your Mashape API key
-- http://docs.mashape.com/api-keys
local mashape = load_from_file('data/mashape.lua', {
api_key = ''
})
local function check(name)
local api = "https://domainsearch.p.mashape.com/index.php?"... | gpl-2.0 |
kidaa/FFXIOrgins | scripts/globals/items/piscators_skewer.lua | 36 | 1339 | -----------------------------------------
-- ID: 5983
-- Item: Piscator's Skewer
-- Food Effect: 60 Mins, All Races
-----------------------------------------
-- Dexterity 3
-- Vitality 4
-- Defense % 26 Cap 155
-----------------------------------------
require("scripts/globals/status");
------------------------------... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/globals/spells/bluemagic/spinal_cleave.lua | 6 | 1065 | require("scripts/globals/magic");
require("scripts/globals/status");
require("scripts/globals/bluemagic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function OnMagicCastingCheck(caster,target,spell)
return 0;
end;
function onSpellCast(caster,target,sp... | gpl-3.0 |
Maxsteam/3mer | bot/utils.lua | 28 | 14994 | 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 |
Fatalerror66/ffxi-a | scripts/zones/Lower_Jeuno/npcs/Home_Point.lua | 3 | 1187 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Home Point
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
require("scripts/zones/Lower_Jeuno/TextIDs");
-----------------------------------
-- onTrade Action
... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/globals/items/lamiabane.lua | 2 | 1144 | -----------------------------------------
-- ID: 18693
-- Equip: Lamiabane
-- Latent effect: Enhances Magic Atk Bonus +2
-- Enchantment: Adds "Refresh"
-- Durration: 60 Mins
-- Active while in Mamook, Arrapago Reef, or Halvung
-----------------------------------------
require("scripts/globals/settings");
r... | gpl-3.0 |
WACcCKER/Anti_Wacccker | plugins/webshot.lua | 919 | 1473 | local helpers = require "OAuth.helpers"
local base = 'https://screenshotmachine.com/'
local url = base .. 'processor.php'
local function get_webshot_url(param)
local response_body = {}
local request_constructor = {
url = url,
method = "GET",
sink = ltn12.sink.table(response_body),
header... | gpl-2.0 |
Puccio7/bot-telegram | plugins/webshot.lua | 919 | 1473 | local helpers = require "OAuth.helpers"
local base = 'https://screenshotmachine.com/'
local url = base .. 'processor.php'
local function get_webshot_url(param)
local response_body = {}
local request_constructor = {
url = url,
method = "GET",
sink = ltn12.sink.table(response_body),
header... | apache-2.0 |
mosy210/G-H-O-S-T-BOT | plugins/webshot.lua | 919 | 1473 | local helpers = require "OAuth.helpers"
local base = 'https://screenshotmachine.com/'
local url = base .. 'processor.php'
local function get_webshot_url(param)
local response_body = {}
local request_constructor = {
url = url,
method = "GET",
sink = ltn12.sink.table(response_body),
header... | gpl-2.0 |
alikineh/ali_kineh | plugins/time.lua | 771 | 2865 | -- Implement a command !time [area] which uses
-- 2 Google APIs to get the desired result:
-- 1. Geocoding to get from area to a lat/long pair
-- 2. Timezone to get the local time in that lat/long location
-- Globals
-- If you have a google api key for the geocoding/timezone api
api_key = nil
base_api = "https://m... | gpl-2.0 |
mys007/nn | SpatialDivisiveNormalization.lua | 39 | 5171 | local SpatialDivisiveNormalization, parent = torch.class('nn.SpatialDivisiveNormalization','nn.Module')
function SpatialDivisiveNormalization:__init(nInputPlane, kernel, threshold, thresval)
parent.__init(self)
-- get args
self.nInputPlane = nInputPlane or 1
self.kernel = kernel or torch.Tensor(9,9):fill(... | bsd-3-clause |
BTAxis/naev | dat/factions/equip/thurion.lua | 1 | 4654 | include("dat/factions/equip/generic.lua")
equip_typeOutfits_weapons["Perspicacity"] = {
{
"Energy Dart", "Ripper Cannon"
}
}
equip_typeOutfits_weapons["Ingenuity"] = {
{
varied = true;
"Energy Dart", "Ripper Cannon", "Ion Cannon", "Laser Cannon MK3"
}
}
equip_typeOutfits_weapons["Scintil... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/West_Sarutabaruta/npcs/Darumomo_WW.lua | 8 | 2956 | -----------------------------------
-- Area: West Sarutabaruta
-- NPC: Darumomo, W.W.
-- Type: Border Conquest Guards
-- @pos 399.450 -25.858 727.545 115
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/co... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Port_Windurst/npcs/Yujuju.lua | 2 | 2533 | -----------------------------------
-- Area: Port Windurst
-- NPC: Yujuju
-- Involved In Quest: Making Headlines
-- @pos 201.523 -4.785 138.978 240
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Windurst_Woods/npcs/Anillah.lua | 12 | 1765 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Anillah
-- Type: Clothcraft Image Support
-- @pos -34.800 -2.25 -119.950 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Windurst_Woo... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Windurst_Waters/npcs/Ajen-Myoojen.lua | 38 | 1044 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Ajen-Myoojen
-- Type: Standard NPC
-- @zone: 238
-- @pos -44.542 -5.999 238.996
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Hall_of_Transference/npcs/_0e1.lua | 2 | 1721 | -----------------------------------
-- Cermet Gate - Dem
--
-- @pos -220 -46 -279 14
-----------------------------------
package.loaded["scripts/zones/Hall_of_Transference/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Hall_of_Transference/Tex... | gpl-3.0 |
3RaGaming/3Ra-Enhanced-Vanilla | config.lua | 1 | 1035 | -- A 3Ra Gaming compilation
Event.register(-1, function()
global.scenario = {}
global.scenario.config = {}
global.scenario.config.announcements_enabled = true -- if true announcements will be shown
global.scenario.config.announcement_delay = 595 -- number of seconds between each announcement
global.... | gpl-3.0 |
MOSAVI17/Security1 | 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 |
WACcCKER/Anti_Wacccker | 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 |
emadni/emadoso | 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 |
nenau/naev | dat/missions/empire/collective/ec04.lua | 2 | 9013 | --[[
Collective Extraction
Author: bobbens
minor edits by Infiltrator
Fifth mission in the collective mini campaign.
You must go rescue a team of commandos after being attacked by collective
forces on a surveillance mission.
]]--
include "dat/scripts/nextjump.lua"
include "proximity.lua"
mi... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Port_Windurst/npcs/Nine_of_Clubs.lua | 5 | 1039 | -----------------------------------
-- Area: Port Windurst
-- NPC: Nine of Clubs
-- Type: Standard NPC
-- @zone: 240
-- @pos: -229.699 -9 185.686
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
----------... | gpl-3.0 |
Wedge009/wesnoth | data/ai/micro_ais/cas/ca_simple_attack.lua | 6 | 1940 | local AH = wesnoth.require "ai/lua/ai_helper.lua"
local BC = wesnoth.require "ai/lua/battle_calcs.lua"
local LS = wesnoth.require "location_set"
local ca_simple_attack, best_attack = {}, nil
function ca_simple_attack:evaluation(cfg)
local units = AH.get_units_with_attacks {
side = wesnoth.current.side,
... | gpl-2.0 |
Fatalerror66/ffxi-a | scripts/zones/Windurst_Waters/npcs/Chyuk-Kochak.lua | 4 | 1049 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Chyuk-Kochak
-- Type: Standard NPC
-- @zone: 238
-- @pos: -252.162 -6.319 -307.011
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Windurst_Woods/npcs/Erpolant.lua | 5 | 1039 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Erpolant
-- Type: Standard NPC
-- @zone: 241
-- @pos: -63.224 -0.749 -33.424
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
----------... | gpl-3.0 |
shahryar1989/ShahryarAntiSpam | 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 |
Fatalerror66/ffxi-a | scripts/zones/Davoi/npcs/_45d.lua | 4 | 1459 | -----------------------------------
-- Area: Davoi
-- NPC: Wall of Banishing
-- Used In Quest: Whence Blows the Wind
-- @zone 149
-- @pos 181 0 -218
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require... | gpl-3.0 |
KevinGuarnati/controllore | plugins/eur.lua | 3 | 1241 | do
-- TODO: More currencies
-- See http://webrates.truefx.com/rates/connect.html
local function getEURUSD(usd, eur)
local url = 'http://webrates.truefx.com/rates/connect.html?c=EUR/USD&f=csv&s=n'
local res,code = http.request(url)
local rates = res:split(", ")
local symbol = rates[1]
local ti... | mit |
Yhgenomics/premake-core | src/base/detoken.lua | 6 | 4091 | --
-- detoken.lua
--
-- Expands tokens.
--
-- Copyright (c) 2011-2014 Jason Perkins and the Premake project
--
premake.detoken = {}
local p = premake
local detoken = p.detoken
--
-- Expand tokens in a value.
--
-- @param value
-- The value containing the tokens to be expanded.
-- @param environ
-- An execu... | bsd-3-clause |
RockySeven3161/Unknown. | 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 |
kidaa/FFXIOrgins | scripts/zones/Abyssea-Altepa/Zone.lua | 33 | 1470 | -----------------------------------
--
-- Zone: Abyssea - Altepa
--
-----------------------------------
package.loaded["scripts/zones/Abyssea-Altepa/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
require("scripts/zones/Abyssea-Altepa/TextIDs... | gpl-3.0 |
emadni/emadoso | 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 |
meshr-net/meshr_win32 | usr/lib/lua/luci/model/cbi/coovachilli_network.lua | 11 | 1695 | --[[
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 |
Fatalerror66/ffxi-a | scripts/zones/Upper_Delkfutts_Tower/npcs/qm3.lua | 2 | 1107 | -----------------------------------
-- Area: Upper Delkfutt's Tower
-- NPC: ???
-- ??? at the bottom of the great spiral staircase. Takes you to the 10th floor.
-- @pos 261 19 20 158
-----------------------------------
package.loaded["scripts/zones/Upper_Delkfutts_Tower/TextIDs"] = nil;
------------------------... | gpl-3.0 |
actionless/awesome | tests/examples/wibox/container/arcchart/bg.lua | 5 | 1062 | --DOC_HIDE_ALL
--DOC_GEN_IMAGE
local parent = ...
local wibox = require( "wibox" )
local beautiful = require( "beautiful" )
local l = wibox.layout.fixed.horizontal()
l.spacing = 10
parent:add(l)
for _, v in ipairs {"", "#00ff00", "#0000ff"} do
l:add(wibox.widget {
{
text = v~=... | gpl-2.0 |
actionless/awesome | lib/naughty/widget/title.lua | 3 | 2581 | ----------------------------------------------------------------------------
--- A notification title.
--
-- This widget is a specialized `wibox.widget.textbox` with the following extra
-- features:
--
-- * Honor the `beautiful` notification variables.
-- * React to the `naughty.notification` object title changes.
--
-... | gpl-2.0 |
Fatalerror66/ffxi-a | scripts/globals/mobskills/Fulmination.lua | 8 | 1235 | ---------------------------------------------
-- Fulmination
--
-- Description: Deals heavy magical damage in an area of effect. Additional effect: Paralysis + Stun
-- Type: Magical
-- Wipes Shadows
-- Range: 30 yalms
---------------------------------------------
require("/scripts/globals/settings");
require("/scr... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Temenos/mobs/Thrym.lua | 2 | 1148 | -----------------------------------
-- Area: Temenos N T
-- NPC: Thrym
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-----------------------------------
-- onM... | gpl-3.0 |
bygreencn/DIGITS | digits/tools/torch/main.lua | 3 | 35289 | -- Copyright (c) 2015-2016, NVIDIA CORPORATION. All rights reserved.
require 'torch'
require 'xlua'
require 'optim'
require 'pl'
require 'trepl'
require 'lfs'
require 'nn'
local dir_path = debug.getinfo(1,"S").source:match[[^@?(.*[\/])[^\/]-$]]
if dir_path ~= nil then
package.path = dir_path .."?.lua;".. package.... | bsd-3-clause |
simon-wh/PAYDAY-2-BeardLib-Editor | mods/BeardLib-Editor/Classes/Map/Elements/coreinstance.lua | 1 | 13635 | EditorInstanceInput = EditorInstanceInput or class(MissionScriptEditor)
EditorInstanceInput.SAVE_UNIT_POSITION = false
EditorInstanceInput.SAVE_UNIT_ROTATION = false
function EditorInstanceInput:create_element()
EditorInstanceInput.super.create_element(self)
self._element.class = "ElementInstanceInput"
self._element... | mit |
kidaa/FFXIOrgins | scripts/zones/Qufim_Island/npcs/Trodden_Snow.lua | 3 | 2454 | -----------------------------------
-- Area: Qufim Island
-- NPC: Trodden Snow
-- Mission: ASA - THAT_WHICH_CURDLES_BLOOD
-- @zone 126
-- @pos -19 -17 104
-----------------------------------
package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/Qufim_I... | gpl-3.0 |
flyzjhz/openwrt-bb | feeds/luci/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo.lua | 141 | 1038 | --[[
smap_devinfo - SIP Device Information
(c) 2009 Daniel Dickinson
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$
]]--
require("luci.i18n")
re... | gpl-2.0 |
kidaa/FFXIOrgins | scripts/zones/Metalworks/npcs/Hungry_Wolf.lua | 19 | 2040 | -----------------------------------
-- Area: Metalworks
-- NPC: Hungry Wolf
-- Type: Quest Giver
-- @pos -25.861 -11 -30.172 237
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-- Updated for "Smoke on the Mountain" by EccentricAnata 03.22.13
-----------------------------------
package.loaded["scri... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/globals/spells/moogle_rhapsody.lua | 2 | 1096 | -----------------------------------------
-- Spell: Moogle Rhapsody
-- Increases Confusion Resistance to
-- Party Members within target AoE
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
---------... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Southern_San_dOria/npcs/Glenne.lua | 2 | 3817 | -------------------------------------
-- Area: Southern San d'Oria
-- NPC: Glenne
-- Starts and Finishes Quest: A Sentry's Peril
-- @zone 230
-- @pos -122 -2 15
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require(... | gpl-3.0 |
xia-lixun/libvsthostm | Trunk/hetero/Debug/host.lua | 1 | 2954 | --#!/bin/lua
--configurations for simple vst host
NumInputWavLocations = 0
NumOutputWavLocations = 0
NumVstPluginLocations = 0
InputWavLocations = {}
OutputWavLocations = {}
VstPluginLocations = {}
ModuleCount = 0
ModuleNumInputs = {} --length ModuleCount
ModuleNumOutputs = {} --length ModuleCoun... | mit |
Yhgenomics/premake-core | src/base/option.lua | 16 | 3399 | --
-- option.lua
-- Work with the list of registered options.
-- Copyright (c) 2002-2014 Jason Perkins and the Premake project
--
premake.option = {}
local m = premake.option
--
-- We can't control how people will type in the command line arguments, or how
-- project scripts will define their custom options, so ca... | bsd-3-clause |
kidaa/FFXIOrgins | scripts/zones/Apollyon/mobs/Water_Elemental.lua | 14 | 2337 | -----------------------------------
-- Area: Apollyon SW
-- NPC: elemental
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
-----------------------------------
... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Selbina/npcs/Gabwaleid.lua | 2 | 1452 | -----------------------------------
-- Area: Selbina
-- NPC: Gabwaleid
-- Involved in Quest: Riding on the Clouds
-- @pos -17 -7 11 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
require("scrip... | gpl-3.0 |
LingJiJian/uLui | build/luajit-2.1.0/src/jit/v.lua | 1 | 5925 | ----------------------------------------------------------------------------
-- Verbose mode of the LuaJIT compiler.
--
-- Copyright (C) 2005-2015 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
--------------------------------------------------------------------... | mit |
Fatalerror66/ffxi-a | scripts/zones/Upper_Jeuno/npcs/Baudin.lua | 2 | 4526 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Baudin
-- Starts and Finishes Quest: Crest of Davoi, Save My Sister
-- Involved in Quests: Save the Clock Tower
-- @zone 244
-- @pos -75 0 80
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
---------... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/globals/weaponskills/tachi_rana.lua | 2 | 4439 | -----------------------------------
-- Tachi Rana
-- Great Katana weapon skill
-- Skill Level: N/A
-- Delivers a three-fold attack. params.accuracy varies with TP. Aftermath effect varies with TP. See Kogarasumaru.
-- In order to obtain Tachi: Rana, the Unlocking a Myth (Samurai) quest must be completed.
-- Will ... | gpl-3.0 |
wizardbottttt/Speed_Bot | 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 |
Fatalerror66/ffxi-a | scripts/globals/spells/foe_requiem_vii.lua | 2 | 1713 | -----------------------------------------
-- Spell: Foe Requiem VII
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function OnMagicCastingCheck(caster,targe... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Toraimarai_Canal/npcs/qm4.lua | 2 | 1644 | -----------------------------------
-- Area: Toraimarai Canal
-- NPC: ??? (BLM AF6 Final ???)
-- @zone 169
-----------------------------------
package.loaded["scripts/zones/Toraimarai_Canal/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyi... | gpl-3.0 |
nenau/naev | dat/missions/pirate/pir_cargo.lua | 1 | 6189 | --[[
Handles the randomly generated Pirate cargo missions.
Most of the code taken from Empire Shipping.
]]--
include "dat/scripts/cargo_common.lua"
include "dat/scripts/numstring.lua"
-- This is in cargo_common, but we need to increase the range…
function cargo_selectMissionDistance ()
local seed = rnd.rn... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/globals/abilities/water_shot.lua | 2 | 2217 | -----------------------------------
-- Ability: Water Shot
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- OnUseAbility
-----------------------------------
function OnAbilityCheck(play... | gpl-3.0 |
brendangregg/bcc | src/lua/bcc/run.lua | 9 | 2190 | --[[
Copyright 2016 GitHub, Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distr... | apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.