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 |
|---|---|---|---|---|---|
AlexandreCA/update | scripts/zones/Windurst_Waters_[S]/npcs/Kopol-Rapol.lua | 38 | 1051 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Kopol-Rapol
-- Type: Standard NPC
-- @zone: 94
-- @pos 131.179 -6.75 172.758
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil... | gpl-3.0 |
abbasgh12345/extremenewedit | plugins/stick.lua | 2 | 2365 | local lock = 1
local txt = "\n\nmaked by:@BeatBot_Team" --—-- shared by @BeatBot_Team
local function callback(extra, success, result) --— Calback Bara Load Kardn ax
if success then
local file = 'sticker/sticker.webp'
print('File downloaded to:', result)
os.rename(result, file)
print('File moved to:'... | gpl-2.0 |
zhoukk/skynet | lualib/sproto.lua | 19 | 5654 | local core = require "sproto.core"
local assert = assert
local sproto = {}
local host = {}
local weak_mt = { __mode = "kv" }
local sproto_mt = { __index = sproto }
local sproto_nogc = { __index = sproto }
local host_mt = { __index = host }
function sproto_mt:__gc()
core.deleteproto(self.__cobj)
end
function sproto... | mit |
AlexandreCA/darkstar | scripts/globals/spells/hydrohelix.lua | 26 | 1690 | --------------------------------------
-- Spell: Hydrohelix
-- Deals water damage that gradually reduces
-- a target's HP. Damage dealt is greatly affected by the weather.
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/m... | gpl-3.0 |
AlexandreCA/update | 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 |
AlexandreCA/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 |
focusworld/ffocus | 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 |
AlexandreCA/darkstar | scripts/zones/Temenos/mobs/Enhanced_Vulture.lua | 7 | 1442 | -----------------------------------
-- 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 |
AlexandreCA/darkstar | scripts/zones/Ordelles_Caves/npcs/Grounds_Tome.lua | 30 | 1098 | -----------------------------------
-- Area: Ordelle's Caves
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,... | gpl-3.0 |
nwf/openwrt-luci | applications/luci-app-asterisk/luasrc/model/cbi/asterisk/trunk_sip.lua | 68 | 2351 | -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local ast = require("luci.asterisk")
--
-- SIP trunk info
--
if arg[2] == "info" then
form = SimpleForm("asterisk", "SIP Trunk Information")
form.reset = false
form.submit = "Back to overview"
local info,... | apache-2.0 |
JiessieDawn/skynet | lualib/skynet/sharetable.lua | 7 | 10876 | local skynet = require "skynet"
local service = require "skynet.service"
local core = require "skynet.sharetable.core"
local is_sharedtable = core.is_sharedtable
local stackvalues = core.stackvalues
local function sharetable_service()
local skynet = require "skynet"
local core = require "skynet.sharetable.core"
lo... | mit |
Zakhar-V/Prototypes | 1/Code/Source/ThirdParty/glLoadGen/glLoadGen_2_0_3a/modules/NoloadC_Style.lua | 1 | 12668 | local util = require "util"
local struct = require "NoloadC_Struct"
local common = require "CommonStyle"
--------------------------------------
-- Common functions.
local function GetIncludeGuard(spec, options)
local temp =
options.prefix .. spec.GetIncludeGuardString() .. "_NOLOAD_STYLE_H"
return temp:u... | mit |
AlexandreCA/darkstar | scripts/zones/Temenos/mobs/Temenos_Weapon.lua | 7 | 1276 | -----------------------------------
-- Area: Temenos Central 1floor
-- NPC: Temenos_Weapon
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-------------------... | gpl-3.0 |
AlexandreCA/update | scripts/zones/East_Sarutabaruta/npcs/Taby_Canatahey.lua | 34 | 1067 | -----------------------------------
-- Area: East Sarutabaruta
-- NPC: Taby Canatahey
-- @pos -119.119 -4.106 -524.347 116
-----------------------------------
package.loaded["scripts/zones/East_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/East_Sarutabaruta/TextIDs... | gpl-3.0 |
AlexandreCA/update | scripts/globals/items/smoldering_salisbury_steak.lua | 36 | 1686 | -----------------------------------------
-- ID: 5924
-- Item: Smoldering Salisbury Steak
-- Food Effect: 180 Min, All Races
-----------------------------------------
-- HP +30
-- Strength +7
-- Intelligence -5
-- Attack % 20 Cap 160
-- Ranged Attack %20 Cap 160
-- Dragon Killer +5
-------------------------------------... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/items/hellsteak.lua | 18 | 1722 | -----------------------------------------
-- ID: 5609
-- Item: hellsteak
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health 20
-- Strength 6
-- Intelligence -2
-- Health Regen While Healing 2
-- Attack % 19
-- Ranged ATT % 19
-- Dragon Killer 5
-- Demon Killer 5
----------------------... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Rabao/npcs/Waylea.lua | 38 | 1048 | -----------------------------------
-- Area: Rabao
-- NPC: Waylea
-- Type: Reputation
-- @zone: 247
-- @pos 12.384 4.658 -32.392
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Rabao/TextIDs"] = nil;
---------------------------------... | gpl-3.0 |
SHIELDTM/megashield | plugins/del.lua | 3 | 2561 | do
local function pre_process(msg)
if not msg.text and msg.media then
msg.text = '['..msg.media.type..']'
end
return msg
end
local function del_by_reply(extra, success, result)
vardump(result)
if result.to.peer_type == "channel" then
delete_msg(result.id, ok_cb, false)
end
end
function statu... | gpl-2.0 |
commodo/packages | utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/ltq-dsl.lua | 26 | 3991 | local ubus = require "ubus"
local function scrape()
local dsl_line_attenuation = metric("dsl_line_attenuation_db", "gauge")
local dsl_signal_attenuation = metric("dsl_signal_attenuation_db", "gauge")
local dsl_snr = metric("dsl_signal_to_noise_margin_db", "gauge")
local dsl_aggregated_transmit_power = metric("... | gpl-2.0 |
jstewart-amd/premake-core | src/base/container.lua | 23 | 8189 | ---
-- container.lua
-- Implementation of configuration containers.
-- Copyright (c) 2014 Jason Perkins and the Premake project
---
local p = premake
p.container = {}
local container = p.container
---
-- Keep a master dictionary of container class, so they can be easily looked
-- up by name (technically you cou... | bsd-3-clause |
AlexandreCA/update | scripts/zones/Xarcabard/npcs/Pelogrant.lua | 17 | 1856 | -----------------------------------
-- Area: Xarcabard
-- NPC: Pelogrant
-- Type: Outpost Vendor
-- @pos 210 -22 -201 112
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Port_Bastok/npcs/Romilda.lua | 36 | 2365 | -----------------------------------
-- Area: Port Bastok
-- NPC: Romilda
-- Involved in Quest: Forever to Hold
-- Starts & Ends Quest: Till Death Do Us Part
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globa... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Southern_San_dOria/npcs/Foletta.lua | 36 | 1433 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Foletta
-- General Info NPC
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests... | gpl-3.0 |
bmharper/tundra | scripts/tundra/syntax/glob.lua | 22 | 3353 | -- glob.lua - Glob syntax elements for declarative tundra.lua usage
module(..., package.seeall)
local util = require "tundra.util"
local path = require "tundra.path"
local decl = require "tundra.decl"
local dirwalk = require "tundra.dirwalk"
local ignored_dirs = util.make_lookup_table { ".git", ".svn", "CVS" }
loca... | mit |
virgo-agent-toolkit/rackspace-monitoring-agent | tests/schedule/init.lua | 4 | 10960 | --[[
Copyright 2012 Rackspace
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
dis... | apache-2.0 |
AlexandreCA/update | scripts/globals/campaign.lua | 18 | 4903 |
-----------------------------------------------------------------
-- Variable for getNationTeleport and getPoint
-----------------------------------------------------------------
ALLIED_NOTES = 11;
MAW = 4;
PAST_SANDORIA = 5;
PAST_BASTOK = 6;
PAST_WINDURST = 7;
-- ---------------------------------------... | gpl-3.0 |
tartina/ardour | share/scripts/scl_to_mts.lua | 2 | 10005 | ardour {
["type"] = "EditorAction",
name = "Scala to MIDI Tuning",
license = "MIT",
author = "Ardour Team",
description = [[Read scala (.scl) tuning from a file, generate MIDI tuning standard (MTS) messages and send them to a MIDI port]]
}
function factory () return function ()
-- return tabl... | gpl-2.0 |
AlexandreCA/darkstar | scripts/zones/Port_Windurst/npcs/Ten_of_Clubs.lua | 13 | 1054 | -----------------------------------
-- Area: Port Windurst
-- NPC: Ten of Clubs
-- Type: Standard NPC
-- @zone: 240
-- @pos -229.393 -9.2 182.696
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
----------... | gpl-3.0 |
AlexandreCA/update | scripts/globals/items/dish_of_spaghetti_peperoncino_+1.lua | 35 | 1403 | -----------------------------------------
-- ID: 5197
-- Item: dish_of_spaghetti_peperoncino_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health % 30
-- Health Cap 75
-- Vitality 2
-- Store TP 6
-----------------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Mount_Zhayolm/npcs/qm4.lua | 30 | 1342 | -----------------------------------
-- Area: Mount Zhayolm
-- NPC: ??? (Spawn Khromasoul Bhurborlor(ZNM T3))
-- @pos 88 -22 70 61
-----------------------------------
package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mount_Zhayolm/TextIDs");
require(... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Xarcabard/npcs/Cavernous_Maw.lua | 58 | 1897 | -----------------------------------
-- Area: Xarcabard
-- NPC: Cavernous Maw
-- @pos 270 -9 -70
-- Teleports Players to Abyssea - Uleguerand
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("sc... | gpl-3.0 |
AlexandreCA/update | scripts/zones/East_Sarutabaruta/Zone.lua | 17 | 5606 | -----------------------------------
--
-- Zone: East_Sarutabaruta (116)
--
-----------------------------------
package.loaded[ "scripts/zones/East_Sarutabaruta/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
re... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Arrapago_Reef/npcs/_jic.lua | 27 | 3547 | -----------------------------------
-- Area: Arrapago Reef
-- Door: Runic Seal
-- @pos 36 -10 620 54
-----------------------------------
package.loaded["scripts/zones/Arrapago_Reef/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions");
require("s... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Port_Windurst/npcs/Odilia.lua | 13 | 1044 | -----------------------------------
-- Area: Port Windurst
-- NPC: Odilia
-- Type: Standard NPC
-- @zone: 240
-- @pos 78.801 -6 118.653
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
--------------------... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Windurst_Waters/npcs/HomePoint#3.lua | 13 | 1270 | -----------------------------------
-- Area: Windurst Waters
-- NPC: HomePoint#3
-- @pos: 4 -4 -174 238
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Windurst_Waters/TextIDs");
require("scripts/globals/ho... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Aht_Urhgan_Whitegate/npcs/Naja_Salaheem.lua | 18 | 4974 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Naja Salaheem
-- Type: Standard NPC
-- @pos 22.700 -8.804 -45.591 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missio... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Bastok_Markets/npcs/Marin.lua | 13 | 1136 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Marin
-- Type: Quest Giver
-- @zone: 235
-- @pos -340.060 -11.003 -148.181
--
-- Auto-Script: Requires Verification. Verified standard dialog is also "All By Myself" repeatable quest. - thrydwolf 12/18/2011
-----------------------------------
pac... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Bostaunieux_Oubliette/npcs/Grounds_Tome.lua | 34 | 1160 | -----------------------------------
-- Area: Bostaunieux Oubliette
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function o... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Fort_Karugo-Narugo_[S]/npcs/Mortimer.lua | 35 | 1055 | ----------------------------------
-- Area: Fort Karugo Narugo [S]
-- NPC: Mortimer
-- Type: Item Deliverer
-- @zone: 96
-- @pos -24.08 -68.508 93.88
--
-----------------------------------
package.loaded["scripts/zones/Fort_Karugo-Narugo_[S]/TextIDs"] = nil;
require("scripts/zones/Fort_Karugo-Narugo_[S]/TextIDs")... | gpl-3.0 |
amirmrbad/paydarbot | plugins/anti_flood.lua | 281 | 2422 | local NUM_MSG_MAX = 5 -- Max number of messages per TIME_CHECK seconds
local TIME_CHECK = 5
local function kick_user(user_id, chat_id)
local chat = 'chat#id'..chat_id
local user = 'user#id'..user_id
chat_del_user(chat, user, function (data, success, result)
if success ~= 1 then
local text = 'I can\'t k... | gpl-2.0 |
AlexandreCA/update | scripts/zones/Temenos/bcnms/Central_Temenos_3rd_Floor.lua | 19 | 1076 | -----------------------------------
-- Area: Temenos
-- Name:
-----------------------------------
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[C_Temenos_3rd]UniqueID",GenerateLimbusKey());
HideArmouryCrates(GetInstanceRegion(1305),TEMENOS); ... | gpl-3.0 |
yasharsa/yashartg | bot/utils.lua | 4 | 14121 | 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")()
http.TIMEOUT = 10
funct... | gpl-2.0 |
AlexandreCA/darkstar | scripts/zones/Abyssea-Altepa/npcs/Cavernous_Maw.lua | 29 | 1099 | -----------------------------------
-- Area: Abyssea Altepa
-- NPC: Cavernous Maw
-- @pos 444.000 -0.500 320.000 218
-- Notes Teleports Players to South Gustaberg
-----------------------------------
package.loaded["scripts/zones/Abyssea-Altepa/TextIDs"] = nil;
-----------------------------------
---------------------... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/mobskills/Spirits_Within.lua | 17 | 1747 | ---------------------------------------------
-- Spirits Within
--
-- Description: Delivers an unavoidable attack. Damage varies with HP and TP.
-- Type: Magical/Breath
-- Ignores shadows and most damage reduction.
-- Range: Melee
---------------------------------------------
require("scripts/globals/settings");
... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/weaponskills/asuran_fists.lua | 11 | 1670 | -----------------------------------
-- Asuran Fists
-- Hand-to-Hand weapon skill
-- Skill Level: 250
-- Delivers an eightfold attack. params.accuracy varies with TP.
-- In order to obtain Asuran Fists, the quest The Walls of Your Mind must be completed.
-- Due to the 95% params.accuracy cap there is only a 66% chance o... | gpl-3.0 |
AlexandreCA/update | scripts/globals/spells/poisonga_iii.lua | 18 | 1103 | -----------------------------------------
-- Spell: Poisonga III
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,targe... | gpl-3.0 |
AlexandreCA/update | scripts/zones/La_Theine_Plateau/npcs/Augevinne.lua | 17 | 1569 | -----------------------------------
-- Area: La Theine Plateau
-- NPC: Augevinne
-- Involved in Mission: The Rescue Drill
-- @pos -361 39 266 102
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/m... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Foret_de_Hennetiel/Zone.lua | 34 | 1255 | -----------------------------------
--
-- Zone: Foret de Hennetiel
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Foret_de_Hennetiel/TextIDs"] = nil;
require("scripts/zones/Foret_de_Hennetiel/TextIDs");
-----------------------------------
-- onI... | gpl-3.0 |
boundary/luvit | tests/test-http-response-error-propagation.lua | 5 | 1113 | --[[
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 |
ld-test/lrexlib-gnu | test/oniguruma_sets.lua | 8 | 5410 | -- See Copyright Notice in the file LICENSE
local luatest = require "luatest"
local N = luatest.NT
local unpack = unpack or table.unpack
local function norm(a) return a==nil and N or a end
local function fill (n, m)
local t = {}
for i = n, m, -1 do table.insert (t, i) end
return t
end
local function set_named... | mit |
AlexandreCA/darkstar | scripts/zones/Northern_San_dOria/npcs/Explorer_Moogle.lua | 13 | 2267 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Explorer Moogle
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/teleports");
require("scr... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Windurst_Waters/npcs/Dabido-Sorobido.lua | 13 | 1061 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Dabido-Sorobido
-- Type: Standard NPC
-- @zone: 238
-- @pos -93.586 -4.499 19.321
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
---... | gpl-3.0 |
AlexandreCA/update | scripts/zones/The_Garden_of_RuHmet/npcs/HomePoint#1.lua | 17 | 1203 | -----------------------------------
-- Area: The_Garden_of_RuHmet
-- NPC: HomePoint#1
-- @pos
-----------------------------------
package.loaded["scripts/zones/The_Garden_of_RuHmet/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/The_Garden_of_RuHmet/TextIDs");
require("scripts/globals... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/RuLude_Gardens/npcs/Perisa-Neburusa.lua | 13 | 1063 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Perisa-Neburusa
-- Type: Residence Renter
-- @zone: 243
-- @pos 54.651 8.999 -74.372
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/RaKaznar_Inner_Court/Zone.lua | 33 | 1290 | -----------------------------------
--
-- Zone: Ra’Kanzar Inner Court (276)
--
-----------------------------------
package.loaded["scripts/zones/RaKaznar_Inner_Court/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/RaKaznar_Inner_Court/TextIDs");
-------... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Zeruhn_Mines/npcs/Grounds_Tome.lua | 30 | 1079 | -----------------------------------
-- Area: Zeruhn Mines
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,tra... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/spells/bluemagic/hecatomb_wave.lua | 25 | 1913 | -----------------------------------------
-- Spell: Hecatomb Wave
-- Deals wind damage to enemies within a fan-shaped area originating from the caster. Additional effect: Blindness
-- Spell cost: 116 MP
-- Monster Type: Demons
-- Spell Type: Magical (Wind)
-- Blue Magic Points: 3
-- Stat Bonus: AGI+1
-- Level: 54
-- Ca... | gpl-3.0 |
AlexandreCA/update | scripts/globals/items/mushroom_salad.lua | 39 | 1426 | -----------------------------------------
-- ID: 5678
-- Item: Mushroom Salad
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- MP 14% Cap 85
-- Agility 6
-- Mind 6
-- Strength -5
-- Vitality -5
-----------------------------------------
require("scripts/globals/status");
------------------... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Riverne-Site_A01/npcs/_0u3.lua | 13 | 1348 | -----------------------------------
-- Area: Riverne Site #A01
-- NPC: Unstable Displacement
-----------------------------------
package.loaded["scripts/zones/Riverne-Site_A01/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Riverne-Site_A01/TextIDs");
... | gpl-3.0 |
nwf/openwrt-luci | applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/network.lua | 20 | 2738 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
m = Map("luci_statistics",
translate("Network Plugin Configuration"),
translate(
"The network plugin provides network based communication between " ..
"different collectd instances. Coll... | apache-2.0 |
AlexandreCA/update | scripts/zones/Abyssea-Uleguerand/npcs/Cavernous_Maw.lua | 17 | 1247 | -----------------------------------
-- Area: Abyssea - Uleguerand
-- NPC: Cavernous Maw
-- @pos -246.000, -40.600, -520.000 253
-- Notes: Teleports Players to Xarcabard
-----------------------------------
package.loaded["scripts/zones/Abyssea-Uleguerand/TextIDs"] = nil;
-----------------------------------
re... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Southern_San_dOria_[S]/npcs/Raustigne.lua | 16 | 1506 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Raustigne
-- @zone 80
-- @pos 4 -2 44
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
require("scripts/globals/quests");
... | gpl-3.0 |
AlexandreCA/update | scripts/globals/pets.lua | 37 | 36137 | -----------------------------------
--
-- PETS ID
--
-----------------------------------
-----------------------------------
-- PETTYPE
-----------------------------------
PETTYPE_AVATAR = 0;
PETTYPE_WYVERN = 1;
PETTYPE_JUGPET = 2;
PETTYPE_CHARMED_MOB = 3;
PETTYPE... | gpl-3.0 |
annulen/premake-annulen | tests/test_gmake_cpp.lua | 1 | 3993 | --
-- tests/test_gmake_cpp.lua
-- Automated test suite for GNU Make C/C++ project generation.
-- Copyright (c) 2009 Jason Perkins and the Premake project
--
T.gmake_cpp = { }
--
-- Configure a solution for testing
--
local sln, prj
function T.gmake_cpp.setup()
_ACTION = "gmake"
_OPTIONS.os = "linux"
sln = ... | bsd-3-clause |
AlexandreCA/darkstar | scripts/zones/Lufaise_Meadows/mobs/Leshy.lua | 8 | 1821 | -----------------------------------
-- Area: Lufaise Meadows
-- MOB: Leshy
-----------------------------------
function onMobRoam(mob)
local Colorful_Leshy = 16875762;
local Colorful_Leshy_PH = 0;
local Colorful_Leshy_PH_Table =
{
16875754,
16875755,
16875756,
16875757... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Windurst_Woods/npcs/Gioh_Ajihri.lua | 28 | 2994 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Gioh Ajihri
-- Starts & Finishes Repeatable Quest: Twinstone Bonding
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scr... | gpl-3.0 |
AlexandreCA/update | scripts/zones/RuAun_Gardens/npcs/HomePoint#4.lua | 17 | 1249 | -----------------------------------
-- Area: RuAun_Gardens
-- NPC: HomePoint#4
-- @pos 500 -42 158 130
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/RuAun_Gardens/TextIDs");
require("scripts/globa... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Aht_Urhgan_Whitegate/npcs/Milazahn.lua | 34 | 1033 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Milazahn
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
---------... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Port_San_dOria/npcs/Regine.lua | 17 | 5797 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Regine
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/quests");
requi... | gpl-3.0 |
Dugy/wesnoth-names | data/ai/micro_ais/cas/ca_zone_guardian.lua | 4 | 5322 | local H = wesnoth.require "lua/helper.lua"
local AH = wesnoth.require "ai/lua/ai_helper.lua"
local LS = wesnoth.require "lua/location_set.lua"
local function get_guardian(cfg)
local filter = H.get_child(cfg, "filter") or { id = cfg.id }
local guardian = AH.get_units_with_moves {
side = wesnoth.current.... | gpl-2.0 |
AlexandreCA/update | scripts/zones/The_Garden_of_RuHmet/mobs/Jailer_of_Faith.lua | 24 | 1296 | -----------------------------------
-- Area: The Garden of Ru'Hmet
-- NPC: Jailer_of_Faith
-----------------------------------
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
-- Give it two hour
mob:setMod(MOBMOD_MAIN_2HOUR, 1);
-- Change anima... | gpl-3.0 |
shahabsaf1/otouto | plugins/gSearch.lua | 6 | 1944 | local command = 'google <query>'
local doc = [[```
/google <query>
Returns four (if group) or eight (if private message) results from Google. Safe search is enabled by default, use "/gnsfw" to disable it.
Alias: /g
```]]
local triggers = {
'^/g[@'..bot.username..']*$',
'^/g[@'..bot.username..']* ',
'^/google[@'..bo... | gpl-2.0 |
AlexandreCA/darkstar | scripts/globals/effects/aftermath_lv2.lua | 30 | 1456 | -----------------------------------
--
-- EFFECT_AFTERMATH_LV2
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
local power = effect:getPower();
if (effe... | gpl-3.0 |
AlexandreCA/update | scripts/globals/abilities/drain_samba_iii.lua | 18 | 1476 | -----------------------------------
-- Ability: Drain Samba III
-- Inflicts the next target you strike with Drain daze, allowing party members engaged in battle with it to drain its HP.
-- Obtained: Dancer Level 65
-- TP Required: 40%
-- Recast Time: 1:00
-- Duration: 1:30
-----------------------------------
... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Port_San_dOria/npcs/Ambleon.lua | 13 | 1061 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Ambleon
-- Type: NPC World Pass Dealer
-- @zone: 232
-- @pos 71.622 -17 -137.134
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
---... | gpl-3.0 |
merlight/eso-libAddonKeybinds | libAddonKeybinds.lua | 1 | 7359 | --[========================================================================[
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any pur... | unlicense |
AlexandreCA/update | scripts/globals/spells/raiton_ichi.lua | 17 | 1257 | -----------------------------------------
-- Spell: Raiton: Ichi
-- Deals lightning damage to an enemy and lowers its resistance against earth.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCa... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Port_Jeuno/npcs/Red_Ghost.lua | 13 | 2080 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Red Ghost
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Port_Jeuno/TextIDs");
require("scripts/globals/quests");
require("scrip... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Palborough_Mines/Zone.lua | 17 | 1607 | -----------------------------------
--
-- Zone: Palborough_Mines (143)
--
-----------------------------------
package.loaded["scripts/zones/Palborough_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Palborough_Mines/TextIDs");
--------------------... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/items/meat_chiefkabob.lua | 18 | 1449 | -----------------------------------------
-- ID: 4574
-- Item: meat_chiefkabob
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Strength 5
-- Agility 1
-- Intelligence -2
-- Attack % 22
-- Attack Cap 65
-----------------------------------------
require("scripts/globals/status");
---------... | gpl-3.0 |
csulbacm/LavaWhales | external/Quickie/checkbox.lua | 15 | 2611 | --[[
Copyright (c) 2012 Matthias Richter
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribu... | mit |
AlexandreCA/darkstar | scripts/globals/abilities/wild_flourish.lua | 27 | 2207 | -----------------------------------
-- Ability: Wild Flourish
-- Readies target for a skillchain. Requires at least two Finishing Moves.
-- Obtained: Dancer Level 60
-- Finishing Moves Used: 2
-- Recast Time: 0:30
-- Duration: 0:05
-----------------------------------
require("scripts/globals/settings");
require("scrip... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Misareaux_Coast/npcs/Logging_Point.lua | 29 | 1107 | -----------------------------------
-- Area: Misareaux Coast
-- NPC: Logging Point
-----------------------------------
package.loaded["scripts/zones/Misareaux_Coast/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/logging");
require("scripts/zones/Misareaux_Coast/TextIDs");
... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Lufaise_Meadows/TextIDs.lua | 15 | 1194 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6384; -- Obtained: <item>.
GIL_OBTAINED = 6385; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Garlaige_Citadel/npcs/qm10.lua | 13 | 1364 | -----------------------------------
-- Area: Garlaige Citadel
-- NPC: qm10 (???)
-- Involved in Quest: Hitting the Marquisate (THF AF3)
-- @pos -139.895 -5.500 154.513 200
-----------------------------------
package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil;
-----------------------------------
require("s... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Kuftal_Tunnel/Zone.lua | 17 | 2256 | -----------------------------------
--
-- Zone: Kuftal_Tunnel (174)
--
-----------------------------------
package.loaded["scripts/zones/Kuftal_Tunnel/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/Kuftal_Tunne... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Port_Bastok/npcs/Bagnobrok.lua | 36 | 1585 | -----------------------------------
-- Area: Port Bastok
-- NPC: Bagnobrok
-- Only sells when Bastok controls Movalpolos
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones/Port_Bastok/Tex... | gpl-3.0 |
annulen/premake-annulen | src/actions/vstudio/vs2002_csproj.lua | 2 | 4726 | --
-- vs2002_csproj.lua
-- Generate a Visual Studio 2002/2003 C# project.
-- Copyright (c) 2009-2011 Jason Perkins and the Premake project
--
premake.vstudio.cs2002 = { }
local vstudio = premake.vstudio
local cs2002 = premake.vstudio.cs2002
--
-- Figure out what elements a particular file need in its item block,... | bsd-3-clause |
KingRaptor/Zero-K-Infrastructure | Benchmarker/Benchmarks/games/path_test.sdd/Luaui/pathTests/Config/Crossing_4_final.lua | 12 | 1412 | local test = {
{
delayToNextTest = 300,
unitList = {},
},
{
delayToNextTest = 300,
unitList = {},
},
{
delayToNextTest = 300,
unitList = {},
},
{
delayToNextTest = 300,
unitList = {},
},
}
local MAX_DELAY_FACTOR = 1.75
local stepSize = 128
local units = {
"corak",
"corraid",
"corsh",
"corr... | gpl-3.0 |
LuaDist2/tiny-ecs | spec/tiny_spec.lua | 2 | 9627 | local GLOBALS = {}
for k, v in pairs(_G) do
GLOBALS[k] = v
end
local tiny = require "tiny"
local function deep_copy(x)
if type(x) == 'table' then
local nx = {}
for k, v in next, x, nil do
nx[deep_copy(k)] = deep_copy(v)
end
return nx
else
return x
en... | mit |
paly2/minetest-minetestforfun-server | mods/homedecor_modpack/homedecor/init.lua | 1 | 5322 | -- Home Decor mod by VanessaE
--
-- Mostly my own code, with bits and pieces lifted from Minetest's default
-- lua files and from ironzorg's flowers mod. Many thanks to GloopMaster
-- for helping me figure out the inventories used in the nightstands/dressers.
--
-- The code for ovens, nightstands, refrigerators are ba... | unlicense |
Phrozyn/MozDef | examples/heka-lua-bro/bro_ssl.lua | 2 | 4045 | -- This Source Code Form is subject to the terms of the Mozilla Public
-- License, v. 2.0. If a copy of the MPL was not distributed with this
-- file, You can obtain one at http://mozilla.org/MPL/2.0/.
-- Copyright (c) 2014 Mozilla Corporation
local l=require "lpeg"
local string=require "string"
l.locale(l) --add loca... | mpl-2.0 |
AlexandreCA/update | scripts/zones/Gustav_Tunnel/mobs/Macroplasm.lua | 18 | 1100 | ----------------------------------
-- Area: Gustav Tunnel
-- MOB: macroplasm
-----------------------------------
package.loaded["scripts/zones/Gustav_Tunnel/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/zones/Gustav_Tunnel/TextIDs");
---------------------... | gpl-3.0 |
nwf/openwrt-luci | applications/luci-app-qos/luasrc/model/cbi/qos/qos.lua | 17 | 2481 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
local wa = require "luci.tools.webadmin"
local fs = require "nixio.fs"
m = Map("qos", translate("Quality of Service"),
translate("With <abbr title=\"Quality of Service\">QoS</abbr> you " ..
"can prioritize n... | apache-2.0 |
AlexandreCA/darkstar | scripts/globals/abilities/drain_samba_ii.lua | 25 | 1434 | -----------------------------------
-- Ability: Drain Samba II
-- Inflicts the next target you strike with Drain Daze, allowing all those engaged in battle with it to drain its HP.
-- Obtained: Dancer Level 35
-- TP Required: 25%
-- Recast Time: 1:00
-- Duration: 1:30
-----------------------------------
require("scri... | gpl-3.0 |
nwf/openwrt-luci | applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_mini.lua | 141 | 1031 | --[[
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... | apache-2.0 |
AlexandreCA/update | scripts/zones/North_Gustaberg/npcs/Kuleo.lua | 17 | 1867 | -----------------------------------
-- Area: North Gustaberg
-- NPC: Kuleo
-- Type: Outpost Vendor
-- @pos -586 39 61 106
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/g... | gpl-3.0 |
jstewart-amd/premake-core | modules/d/tests/test_visualstudio.lua | 7 | 1563 | ---
-- d/tests/test_visualstudio.lua
-- Automated test suite for VisualD project generation.
-- Copyright (c) 2011-2015 Manu Evans and the Premake project
---
local suite = test.declare("visual_d")
local m = premake.modules.d
---------------------------------------------------------------------------
-- Setup/Tear... | bsd-3-clause |
AlexandreCA/update | scripts/zones/Bastok_Markets/npcs/Charging_Chocobo.lua | 36 | 1678 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Charging Chocobo
-- 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;
... | gpl-3.0 |
aschmois/WebTimer | nodeMCU/factoryReset.lua | 1 | 1109 | local seconds = 0
local function flashQuickly()
local function checkFactoryResetOff()
if(gpio.read(3) == 1) then
node.restart()
end
end
tmr.stop(4)
tmr.stop(5)
tmr.stop(6)
gpio.mode(gpio1, gpio.OUTPUT)
gpio.write(gpio1, gpio.LOW)
tmr.alarm(4, 200, 1, toggleGPIO1LED)
tmr.alarm(3, 1000, 1, checkFactoryRes... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.