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 |
|---|---|---|---|---|---|
AlexandreCA/update | scripts/zones/RuLude_Gardens/npcs/HomePoint#3.lua | 17 | 1250 | -----------------------------------
-- Area: RuLude_Gardens
-- NPC: HomePoint#3
-- @pos -67 6 -25 243
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/RuLude_Gardens/TextIDs");
require("scripts/glob... | gpl-3.0 |
rigeirani/smp | libs/redis.lua | 566 | 1214 | local Redis = require 'redis'
local FakeRedis = require 'fakeredis'
local params = {
host = os.getenv('REDIS_HOST') or '127.0.0.1',
port = tonumber(os.getenv('REDIS_PORT') or 6379)
}
local database = os.getenv('REDIS_DB')
local password = os.getenv('REDIS_PASSWORD')
-- Overwrite HGETALL
Redis.commands.hgetall = ... | gpl-2.0 |
AlexandreCA/darkstar | scripts/zones/Kazham/npcs/Tsahbi_Ifalombo.lua | 13 | 1055 | -----------------------------------
-- Area: Kazham
-- NPC: Tsahbi Ifalombo
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
-----------------------------------
... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Port_Bastok/npcs/Rajesh.lua | 13 | 1393 | -----------------------------------
-- Area: Port Bastok
-- NPC: Rajesh
-- @zone 236
-- @pos -62 1 -8
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scr... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Metalworks/npcs/Mythily.lua | 17 | 2013 | -----------------------------------
-- Area: Metalworks
-- NPC: Mythily
-- Type: Immigration NPC
-- @pos 94 -20 -8 237
-----------------------------------
require("scripts/globals/conquest");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(play... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Lower_Jeuno/npcs/Stinknix.lua | 36 | 1295 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Stinknix
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
require("scripts/zones/Lower_Jeuno/TextIDs");
-----------------------------------... | gpl-3.0 |
sudkannan/likwid | src/applications/likwid-agent.lua | 2 | 18177 | #!<PREFIX>/bin/likwid-lua
package.path = package.path .. ';<PREFIX>/share/lua/?.lua'
local likwid = require("likwid")
dconfig = {}
dconfig["groupStrings"] ={}
dconfig["groupData"] ={}
dconfig["accessmode"] = 1
dconfig["duration"] = 1
dconfig["groupPath"] = "<PREFIX>/share/likwid/mongroups"
dconfig["logPath"] = nil
dc... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Southern_San_dOria/npcs/Authere.lua | 13 | 2026 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Authere
-- Involved in Quest: Lure of the Wildcat (San d'Oria)
-- @pos 33 1 -31 230
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/glob... | gpl-3.0 |
Maxsteam/mer | plugins/google.lua | 336 | 1323 | do
local function googlethat(query)
local url = 'http://ajax.googleapis.com/ajax/services/search/web?v=1.0&safe=active&&rsz=5&'
local parameters = 'q='..(URL.escape(query) or '')
-- Do the request
local res, code = https.request(url..parameters)
if code ~=200 then return nil end
loca... | gpl-2.0 |
Kaixhin/Atari | modules/rmspropm.lua | 4 | 1183 | -- RMSProp with momentum as found in "Generating Sequences With Recurrent Neural Networks"
function optim.rmspropm(opfunc, x, config, state)
-- Get state
local config = config or {}
local state = state or config
local lr = config.learningRate or 1e-2
local momentum = config.momentum or 0.95
local epsilon = ... | mit |
samboy/Oblige | modules/miscellaneous.lua | 1 | 3615 | ------------------------------------------------------------------------
-- MODULE: Miscellaneous Stuff
------------------------------------------------------------------------
--
-- Copyright (C) 2009 Enhas
-- Copyright (C) 2009-2017 Andrew Apted
--
-- This program is free software; you can redistribute it an... | gpl-2.0 |
AlexandreCA/darkstar | scripts/globals/spells/enchanting_etude.lua | 27 | 1848 | -----------------------------------------
-- Spell: Enchanting Etude
-- Static CHR Boost, BRD 22
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function o... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Foret_de_Hennetiel/npcs/HomePoint#1.lua | 27 | 1282 | -----------------------------------
-- Area: Foret de Hennetiel
-- NPC: HomePoint#1
-- @pos -193 -0.5 -252 262
-----------------------------------
package.loaded["scripts/zones/Foret_de_Hennetiel/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Foret_de_Hennetiel/TextIDs");
require("scrip... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Southern_San_dOria/npcs/Maugie.lua | 11 | 2558 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Maugie
-- General Info NPC
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
req... | gpl-3.0 |
jasonrudolph/ControlEscape.spoon | init.lua | 2 | 3040 | --- === ControlEscape ===
---
--- Make the `control` key more useful: If the `control` key is tapped, treat it
--- as the `escape` key. If the `control` key is held down and used in
--- combination with another key, then provide the normal `control` key
--- behavior.
local obj={}
obj.__index = obj
-- Metadata
obj.nam... | mit |
AlexandreCA/darkstar | scripts/zones/Gusgen_Mines/npcs/qm3.lua | 13 | 1625 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: qm3 (???)
-- Involved In Quest: Healing the Land
-- @pos -168 1 311 196
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("sc... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Valley_of_Sorrows/npcs/relic.lua | 13 | 1856 | -----------------------------------
-- Area: Valley of Sorrows
-- NPC: <this space intentionally left blank>
-- @pos -14 -3 56 128
-----------------------------------
package.loaded["scripts/zones/Valley_of_Sorrows/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Valley_of_Sorrows/TextIDs")... | gpl-3.0 |
martolini/Vana | scripts/npcs/NLC_Move.lua | 1 | 3038 | --[[
Copyright (C) 2008-2015 Vana Development Team
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; version 2
of the License.
This program is distributed in the hope that it will be useful,
but WITHO... | gpl-2.0 |
AlexandreCA/darkstar | scripts/zones/Walk_of_Echoes/Zone.lua | 17 | 1065 | -----------------------------------
--
-- Zone: Walk_of_Echoes
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Walk_of_Echoes/TextIDs"] = nil;
require("scripts/zones/Walk_of_Echoes/TextIDs");
-----------------------------------
-- onInitialize
-------------... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Kazham/npcs/Majjih_Bakrhamab.lua | 30 | 1383 | -----------------------------------
-- Area: Kazham
-- NPC: Majjih Bakrhamab
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
----------------------------------... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Mount_Zhayolm/npcs/qm1.lua | 30 | 1334 | -----------------------------------
-- Area: Mount Zhayolm
-- NPC: ??? (Spawn Brass Borer(ZNM T1))
-- @pos 399 -27 120 61
-----------------------------------
package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mount_Zhayolm/TextIDs");
require("scripts... | gpl-3.0 |
Firew0lf/Luwse | main.lua | 1 | 14353 | LUWSE_VERSION = "Ducks"
local socket = require("socket")
if not socket then
return nil, "Required library 'socket' not found."
end
----------------
-- Misc Stuff --
----------------
local statusCodes = {
--Info
[100] = "Continue",
[101] = "Switching Protocols",
[102] = "Processing",
--Success
[200] = "... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/spells/valor_minuet_iii.lua | 27 | 1568 | -----------------------------------------
-- Spell: Valor Minuet III
-- Grants Attack bonus to all allies.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caste... | gpl-3.0 |
dobriy-eeh/omim | 3party/osrm/osrm-backend/profiles/examples/postgis.lua | 70 | 3445 |
-- This example shows how to query external data stored in PostGIS when processing ways.
-- This profile assumes that OSM data has been imported to PostGIS using imposm to a db
-- with the name 'imposm', the default user and no password. It assumes areas with
-- landusage=* was imported to the table osm_landusages, ... | apache-2.0 |
wanghuan1115/sdkbox-facebook-sample | js/frameworks/cocos2d-x/plugin/luabindings/auto/api/AgentManager.lua | 146 | 1798 |
--------------------------------
-- @module AgentManager
-- @parent_module plugin
--------------------------------
--
-- @function [parent=#AgentManager] getSocialPlugin
-- @param self
-- @return plugin::ProtocolSocial#plugin::ProtocolSocial ret (return value: cc.plugin::ProtocolSocial)
-------------------... | mit |
AlexandreCA/update | scripts/zones/Quicksand_Caves/npcs/HomePoint#1.lua | 17 | 1256 | -----------------------------------
-- Area: Quicksand_Caves
-- NPC: HomePoint#1
-- @pos -984 17 -289 208
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Quicksand_Caves/TextIDs");
require("script... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Windurst_Woods/npcs/Forine.lua | 42 | 1106 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Forine
-- Involved In Mission: Journey Abroad
-- @zone 241
-- @pos -52.677 -0.501 -26.299
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/k... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Jugner_Forest/npcs/Geruru_WW.lua | 30 | 3050 | -----------------------------------
-- Area: Jugner Forest
-- NPC: Geruru, W.W.
-- Type: Border Conquest Guards
-- @pos 570.732 -2.637 553.508 104
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
r... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Waughroon_Shrine/bcnms/up_in_arms.lua | 30 | 1813 | -----------------------------------
-- Area: Waughroon_Shrine
-- Name: up in arms
-- BCNM60
-----------------------------------
package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/quests");
require("scripts/zone... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/items/bowl_of_sutlac.lua | 18 | 1354 | -----------------------------------------
-- ID: 5577
-- Item: Bowl of Sutlac
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP +8
-- MP +10
-- INT +1
-- MP Recovered while healing +2
-----------------------------------------
require("scripts/globals/status");
----... | gpl-3.0 |
martolini/Vana | conf/connection_properties.lua | 1 | 1710 | -- Inter-server password, change this or others will be able to hack your server
inter_password = "changeme";
-- Inter-server salt, an arbitrary string used to hash the password more securely
inter_salt = "changeme";
-- Use encryption to communicate with clients?
use_client_encryption = true;
-- Ping inter-... | gpl-2.0 |
AlexandreCA/update | scripts/zones/Dynamis-Valkurm/mobs/Cirrate_Christelle.lua | 16 | 4114 | -----------------------------------
-- Area: Dynamis Valkurm
-- NPC: Cirrate_Christelle
-----------------------------------
package.loaded["scripts/zones/Dynamis-Valkurm/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Valkurm/TextIDs");
... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/mobskills/Numbshroom.lua | 50 | 1146 | ---------------------------------------------------
-- Queasyshroom
-- Additional effect: Fires a mushroom cap, dealing damage to a single target. Additional effect: paralysis.
-- Range is 14.7 yalms.
-- Piercing damage Ranged Attack.
-- Secondary modifiers: INT: 20%.
---------------------------------------------------... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Selbina/Zone.lua | 17 | 2518 | -----------------------------------
--
-- Zone: Selbina (248)
--
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/zone");
require("scripts/globals/shop");
require("scri... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Sacrificial_Chamber/bcnms/temple_of_uggalepih.lua | 28 | 2323 | -----------------------------------
-- Area: Sacrificial Chamber
-- Name: Zilart Mission 4
-----------------------------------
package.loaded["scripts/zones/Sacrificial_Chamber/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems");
require("script... | gpl-3.0 |
omid1212/BEL | bot/bot.lua | 2 | 6902 | package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua'
..';.luarocks/share/lua/5.2/?/init.lua'
package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so'
require("./bot/utils")
VERSION = '0.14.6'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
r... | gpl-2.0 |
KingRaptor/Zero-K-Infrastructure | PlanetWars.old/Mods/BA66PW.sdd/LuaRules/Gadgets/planetwars.lua | 9 | 11388 | -- $Id: planetwars.lua 3432 2008-12-13 22:46:27Z quantum $
function gadget:GetInfo()
return {
name = "Planet Wars Support",
desc = "Integrates Planet Wars into Spring",
author = "lurker",
date = "2008-10-05",
license = "Public Domain",
layer = -5,
enabled = true
}
end
if (gadgetHandler:IsS... | gpl-3.0 |
samboy/Oblige | attic/oblige_V2/writer.lua | 1 | 24912 | ----------------------------------------------------------------
-- LEVEL WRITER (Doom, Heretic and Hexen)
----------------------------------------------------------------
--
-- Oblige Level Maker (C) 2006,2007 Andrew Apted
--
-- This program is free software; you can redistribute it and/or
-- modify it under the te... | gpl-2.0 |
AlexandreCA/update | scripts/zones/Aht_Urhgan_Whitegate/npcs/Kuhmden.lua | 34 | 1032 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Kuhmden
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
----------... | gpl-3.0 |
focusworld/ffocus | plugins/inrealm.lua | 114 | 25001 | -- data saved to moderation.json
-- check moderation plugin
do
local function create_group(msg)
-- superuser and admins only (because sudo are always has privilege)
if is_sudo(msg) or is_realm(msg) and is_admin(msg) then
local group_creator = msg.from.print_name
create_g... | gpl-2.0 |
AlexandreCA/update | scripts/globals/items/yellow_curry_bun_+1.lua | 35 | 2002 | -----------------------------------------
-- ID: 5763
-- Item: yellow_curry_bun_+1
-- Food Effect: 30minutes, All Races
-----------------------------------------
-- Health Points 30
-- Strength 5
-- Agility 2
-- Vitality 2
-- Intelligence -2
-- Attack 23% (caps @ 80)
-- Ranged Attack 23% (caps @ 80)
-- Resi... | gpl-3.0 |
tartina/ardour | share/scripts/send_to_bus.lua | 4 | 1434 | ardour { ["type"] = "EditorAction", name = "Send Tracks to Bus",
license = "MIT",
author = "Ardour Team",
description = [[Create a Bus and add aux-sends from all selected tracks]]
}
function factory () return function ()
-- find number of channels to use for the new bus, follow master-bus' inputs
local c... | gpl-2.0 |
AlexandreCA/update | scripts/globals/keyitems.lua | 32 | 120326 | ---------------------------------------------
--
-- KEYITEMS IDS
--
---------------------------------------------
ZERUHN_REPORT = 1;
PALBOROUGH_MINES_LOGS = 2;
BLUE_ACIDITY_TESTER = 3;
RED_ACIDITY_TESTER = 4;
LETTER_TO_... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Port_Bastok/npcs/Ehrhard.lua | 34 | 1432 | -----------------------------------
-- Area: Port Bastok
-- NPC: Ehrhard
-- Involved in Quest: Stamp Hunt
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Port_Bastok/Tex... | gpl-3.0 |
jstewart-amd/premake-core | src/base/field.lua | 19 | 9485 | ---
-- base/field.lua
--
-- Fields hold a particular bit of information about a configuration, such
-- as the language of a project or the list of files it uses. Each field has
-- a particular data "kind", which describes the structure of the information
-- it holds, such a simple string, or a list of paths.
--
-- The ... | bsd-3-clause |
AlexandreCA/darkstar | scripts/zones/Gusgen_Mines/Zone.lua | 13 | 1881 | -----------------------------------
--
-- Zone: Gusgen_Mines (196)
--
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/Gusgen_Mines/TextIDs");
... | gpl-3.0 |
AlexandreCA/update | scripts/globals/mobskills/Stun_Cannon.lua | 17 | 1144 | ---------------------------------------------------
-- Stun_Cannon.lua
--
-- Description: 20'(?) AoE ~300 magic damage and Paralysis, ignores Utsusemi
-- Type: Magical
--
-- Range: 20 yalms
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");... | gpl-3.0 |
Dugy/wesnoth-names | data/ai/micro_ais/cas/ca_fast_attack_utils.lua | 4 | 28354 | 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 T = H.set_wml_tag_metatable{}
-- Functions to perform fast evaluation of attacks and attack combinations.
-- The emphasis with all of this is on speed, not elegance.
-- T... | gpl-2.0 |
testprmagma/ultra-bot | plugins/lyrics.lua | 695 | 2113 | do
local BASE_LNM_URL = 'http://api.lyricsnmusic.com/songs'
local LNM_APIKEY = '1f5ea5cf652d9b2ba5a5118a11dba5'
local BASE_LYRICS_URL = 'http://api.chartlyrics.com/apiv1.asmx/SearchLyricDirect'
local function getInfo(query)
print('Getting info of ' .. query)
local url = BASE_LNM_URL..'?api_key='..LNM_APIKEY
... | gpl-2.0 |
AlexandreCA/update | scripts/zones/Apollyon/mobs/Carnagechief_Jackbodokk.lua | 16 | 2435 | -----------------------------------
-- Area: Apollyon CS
-- NPC: Carnagechief_Jackbodokk
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
------------... | gpl-3.0 |
martolini/Vana | scripts/instances/papulatus.lua | 1 | 1391 | --[[
Copyright (C) 2008-2015 Vana Development Team
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; version 2
of the License.
This program is distributed in the hope that it will be useful,
but WITHO... | gpl-2.0 |
amirmrbad/paydarbot | plugins/leders.lua | 51 | 12502 |
local function lock_group_namemod(msg, data, target)
local group_name_set = data[tostring(target)]['settings']['set_name']
local group_name_lock = data[tostring(target)]['settings']['lock_name']
if group_name_lock == 'yes' then
return 'Group name is already locked'
else
data[tostring(target)]['setting... | gpl-2.0 |
paly2/minetest-minetestforfun-server | mods/worldedge/init.lua | 1 | 3590 | --------------
-- TODO: Check for terrain height
-- Defines the edge of a world
local edge = 30000
-- Radius which should be checked for a good teleportation place
local radius = 2
--------------
local count = 0
local waiting_list = {}
--[[ Explanation of waiting_list table
Index = Player name
Value = {
player = ... | unlicense |
AlexandreCA/darkstar | scripts/zones/Selbina/npcs/Lucia.lua | 13 | 1174 | -----------------------------------
-- Area: Selbina
-- NPC: Lucia
-- @zone
-- @pos
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
-----------------------------------
-- onTrade Action
-----------... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Dynamis-San_dOria/mobs/Reapertongue_Gadgquok.lua | 7 | 1082 | -----------------------------------
-- Area: Dynamis San d'Oria
-- NPC: Reapertongue Gadgquok
-- Boss Trigger for Overlord's Tombstone
-----------------------------------
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
end;
----------------------... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Lower_Jeuno/npcs/_l00.lua | 36 | 1563 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Streetlamp
-- Involved in Quests: Community Service
-- @zone 245
-- @pos -109.065 0 -158.032
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/gl... | gpl-3.0 |
teunvink/hammerspoon | basexx.lua | 3 | 8375 | -- Author by aiq
-- https://github.com/aiq/basexx
--------------------------------------------------------------------------------
-- util functions
--------------------------------------------------------------------------------
local function divide_string( str, max, fillChar )
fillChar = fillChar or ""
local... | gpl-2.0 |
AlexandreCA/update | scripts/globals/items/weavers_belt.lua | 30 | 1206 | -----------------------------------------
-- ID: 15447
-- Item: Weaver's Belt
-- Enchantment: Synthesis image support
-- 2Min, All Races
-----------------------------------------
-- Enchantment: Synthesis image support
-- Duration: 2Min
-- Clothcraft Skill +3
-----------------------------------------
requir... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Windurst_Waters_[S]/npcs/HomePoint#1.lua | 17 | 1265 | -----------------------------------
-- Area: Windurst_Waters_[S]
-- NPC: HomePoint#1
-- @pos -32 -5 131 94
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Windurst_Waters_[S]/TextIDs");
requir... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Aht_Urhgan_Whitegate/npcs/Zaranf.lua | 34 | 1031 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Zaranf
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
-----------... | gpl-3.0 |
samboy/Oblige | engines/boom.lua | 1 | 4129 | ----------------------------------------------------------------
-- Engine: BOOM Compatible
----------------------------------------------------------------
--
-- Oblige Level Maker
--
-- Copyright (C) 2008-2016 Andrew Apted
--
-- This program is free software; you can redistribute it and/or
-- modify it under th... | gpl-2.0 |
AlexandreCA/darkstar | scripts/zones/Temenos/npcs/Scanning_Device.lua | 13 | 1807 | -----------------------------------
-- Area: Temenos
-- NPC: Scanning_Device
-- @pos
-----------------------------------
require("scripts/globals/limbus");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
--------------------------... | gpl-3.0 |
niedzielski/premake-4.4-beta4 | src/base/cmdline.lua | 1 | 2023 | --
-- cmdline.lua
-- Functions to define and handle command line actions and options.
-- Copyright (c) 2002-2011 Jason Perkins and the Premake project
--
--
-- Built-in command line options
--
newoption
{
trigger = "cc",
value = "VALUE",
description = "Choose a C/C++ compiler set",
allowed = {
... | bsd-3-clause |
RebootRevival/FFXI_Test | scripts/zones/The_Celestial_Nexus/Zone.lua | 30 | 1741 | -----------------------------------
--
-- Zone: The_Celestial_Nexus (181)
--
-----------------------------------
package.loaded["scripts/zones/The_Celestial_Nexus/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/The_Celestial_Nexus/TextIDs");
-----------... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/zones/Cloister_of_Flames/bcnms/trial-size_trial_by_fire.lua | 3 | 2144 | -----------------------------------
-- Area: Cloister of Flames
-- BCNM: Trial-size Trial by Fire
-- !pos -721 0 -598 207
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Flames/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/keyitems");
require("scripts/glo... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/globals/logging.lua | 9 | 6436 | -------------------------------------------------
-- Logging functions
-- Info from:
-- http://wiki.ffxiclopedia.org/wiki/Logging
-------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-------------------------------------------------
-- npcid ... | gpl-3.0 |
djianq/Game | lualib/skynet/manager.lua | 1 | 1924 | local skynet = require "skynet"
local c = require "skynet.core"
function skynet.launch(...)
local addr = c.command("LAUNCH", table.concat({...}, " "))
if addr then
return tonumber("0x" .. string.sub(addr , 2))
end
end
function skynet.kill(name)
if type(name) == "number" then
skynet.send(".launcher","lua","REM... | mit |
khoshhal/Fighterbot | plugins/antisticker.lua | 18 | 19258 | -- data saved to data/moderation.json
do
local administrators_only = 'For administrator only!'
local moderators_only = 'For moderators only!'
local function create_group(msg)
if not is_admin(msg) then return administrators_only end
local group_creator = msg.from.print_name
create_group_chat (group_creator, grou... | gpl-2.0 |
RebootRevival/FFXI_Test | scripts/zones/Gustav_Tunnel/npcs/qm2.lua | 3 | 2303 | -----------------------------------
-- Area: Gustav tunnel
-- NPC: qm2 (???)
-- Missions: Bastok 9-1
-- !pos -130 1.256 252.696 212
-----------------------------------
package.loaded["scripts/zones/Gustav_Tunnel/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Gustav_Tunnel/TextIDs");
requir... | gpl-3.0 |
petoju/awesome | lib/naughty/container/background.lua | 3 | 3941 | ----------------------------------------------------------------------------
--- A notification background.
--
-- This widget holds the boilerplate code associated with the notification
-- background. This includes the color and potentially some other styling
-- elements such as the shape and border.
--
-- * Honor the ... | gpl-2.0 |
RebootRevival/FFXI_Test | scripts/zones/Abyssea-Vunkerl/npcs/qm13.lua | 3 | 1753 | -----------------------------------
-- Zone: Abyssea-Vunkerl
-- NPC: qm13 (???)
-- Spawns Bukhis
-- !pos ? ? ? 217
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/status");
-----------------------------------
-- onTrigger Action
-----------------------------------
fu... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/globals/items/acorn_cookie.lua | 12 | 1347 | -----------------------------------------
-- ID: 4510
-- Item: Acorn Cookie
-- Food Effect: 3Min, All Races
-----------------------------------------
-- Aquan killer +10
-- Silence resistance +10
-- MP recovered while healing +3
-----------------------------------------
require("scripts/globals/status");
------------... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/zones/Windurst_Waters/npcs/Prestapiq.lua | 17 | 1573 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Prestapiq
-- Only sells when Windurst controls Movalpolos
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones/Windurst_Waters/Te... | gpl-3.0 |
tommo/mock | mock/tools/init.lua | 1 | 1801 | --------------------------------------------------------------------
--JoysticConfig
require 'mock.tools.SDLJoystickMapping'
--------------------------------------------------------------------
require 'mock.tools.TMXTool'
require 'mock.tools.InputRecorder'
require 'mock.tools.UserAction' --non coroutine action
-----... | mit |
ashang/koreader | frontend/apps/reader/modules/readersearch.lua | 5 | 3215 | local InputContainer = require("ui/widget/container/inputcontainer")
local ButtonDialog = require("ui/widget/buttondialog")
local UIManager = require("ui/uimanager")
local Geom = require("ui/geometry")
local Screen = require("ui/screen")
local DEBUG = require("dbg")
local _ = require("gettext")
local ReaderSearch = In... | agpl-3.0 |
rafradek/wire | lua/entities/gmod_wire_dual_input.lua | 10 | 2505 | AddCSLuaFile()
DEFINE_BASECLASS( "base_wire_entity" )
ENT.PrintName = "Wire Dual Input"
ENT.WireDebugName = "Dual Input"
if CLIENT then return end -- No more client
function ENT:Initialize()
self:PhysicsInit( SOLID_VPHYSICS )
self:SetMoveType( MOVETYPE_VPHYSICS )
self:SetSolid( SOLID_VPHYSICS )
self.Output... | apache-2.0 |
RebootRevival/FFXI_Test | scripts/zones/Northern_San_dOria/npcs/_6fc.lua | 3 | 1961 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Papal Chambers
-- Finish Mission: The Davoi Report
-- !pos 131 -11 122 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
package.loaded["scripts/globals/missions"] = nil;
----------------... | gpl-3.0 |
Fulmene/dotfiles | neovim/.config/nvim/lua/settings/keymap.lua | 1 | 1900 | vim.g.mapleader = ' '
-- Navigation
vim.api.nvim_set_keymap('n', 'j', 'gj', {noremap = true})
vim.api.nvim_set_keymap('n', 'k', 'gk', {noremap = true})
-- Windows
-- Move
vim.api.nvim_set_keymap('n', 'H', '<C-w>h', {noremap = true})
vim.api.nvim_set_keymap('n', 'J', '<C-w>j', {noremap = true})
vim.api.nvim_set_keyma... | mit |
RebootRevival/FFXI_Test | scripts/zones/Inner_Horutoto_Ruins/npcs/_5ce.lua | 3 | 1053 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: _5ce (Gate of Earth)
-- !pos -228 0 140 192
-----------------------------------
package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Inner_Horutoto_Ruins/TextIDs");
----... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/globals/items/serving_of_zaru_soba_+1.lua | 12 | 1399 | -----------------------------------------
-- ID: 5728
-- Item: serving_of_zaru_soba_+1
-- Food Effect: 60min, All Races
-----------------------------------------
-- Agility 4
-- HP % 12 (cap 185)
-- Resist Sleep +10
-----------------------------------------
require("scripts/globals/status");
-------------------------... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/zones/Upper_Jeuno/npcs/Rhea_Myuliah.lua | 3 | 2494 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Rhea Myuliah
-- Type: Standard NPC
-- @zone 244
-- !pos -56.220 -1 101.805
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
------------------... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/zones/Metalworks/npcs/Taulluque.lua | 3 | 1061 | -----------------------------------
-- Area: Metalworks
-- NPC: Taulluque
-- Type: Past Event Watcher
-- @zone 237
-- !pos 39.907 -14.999 -21.083
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
require("scr... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/globals/abilities/water_shot.lua | 1 | 3341 | -----------------------------------
-- Ability: Water Shot
-- Consumes a Water Card to enhance water-based debuffs. Deals water-based magic damage
-- Drown Effect: Enhanced DoT and STR-
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/zones/The_Eldieme_Necropolis/npcs/_5f5.lua | 3 | 1246 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Shiva's Gate
-- !pos 270 -34 100 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextIDs");
requir... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/globals/spells/curaga_iv.lua | 28 | 1277 | -----------------------------------------
-- Spell: Curaga IV
-- Restores HP of all party members within area of effect.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSp... | gpl-3.0 |
fmacias64/Dato-Core | src/unity/python/graphlab/lua/pl/input.lua | 28 | 5192 | --- Iterators for extracting words or numbers from an input source.
--
-- require 'pl'
-- local total,n = seq.sum(input.numbers())
-- print('average',total/n)
--
-- _source_ is defined as a string or a file-like object (i.e. has a read() method which returns the next line)
--
-- See @{06-data.md.Reading_Unstru... | agpl-3.0 |
RebootRevival/FFXI_Test | scripts/zones/Garlaige_Citadel/npcs/qm10.lua | 3 | 1371 | -----------------------------------
-- 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 |
RebootRevival/FFXI_Test | scripts/zones/Maquette_Abdhaljs-Legion/Zone.lua | 30 | 1150 | -----------------------------------
--
-- Zone: Maquette Abdhaljs-Legion
--
-----------------------------------
package.loaded["scripts/zones/Maquette_Abdhaljs-Legion/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Maquette_Abdhaljs-Legion/TextIDs");
--... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/zones/Windurst_Waters/npcs/Dagoza-Beruza.lua | 3 | 1053 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Dagoza-Beruza
-- Type: Mission NPC
-- @zone 238
-- !pos -54.523 -6 229.271
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/globals/spells/horde_lullaby_ii.lua | 1 | 1242 | -----------------------------------------
-- Spell: Horde Lullaby II
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,targ... | gpl-3.0 |
Munchotaur/wordgrinder | src/lua/menu.lua | 1 | 18215 | -- © 2008 David Given.
-- WordGrinder is licensed under the MIT open source license. See the COPYING
-- file in this distribution for the full text.
local int = math.floor
local Write = wg.write
local ClearToEOL = wg.cleartoeol
local GetChar = wg.getchar
local GotoXY = wg.gotoxy
local SetBold = wg.setbold
local SetBri... | mit |
zhaojun2066/lightning | lightning-gateway/lualib/resty/sha512.lua | 13 | 1369 | -- Copyright (C) by Yichun Zhang (agentzh)
local sha = require "resty.sha"
local ffi = require "ffi"
local ffi_new = ffi.new
local ffi_str = ffi.string
local C = ffi.C
local setmetatable = setmetatable
local error = error
local _M = { _VERSION = '0.09' }
local mt = { __index = _M }
ffi.cdef[[
enum {
SHA512_... | apache-2.0 |
petoju/awesome | lib/wibox/layout/fixed.lua | 2 | 11917 | ---------------------------------------------------------------------------
--
--@DOC_wibox_layout_defaults_fixed_EXAMPLE@
-- @author Uli Schlachter
-- @copyright 2010 Uli Schlachter
-- @layoutmod wibox.layout.fixed
---------------------------------------------------------------------------
local unpack = unpack or ta... | gpl-2.0 |
openwrt-es/openwrt-luci | applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/disk.lua | 5 | 1244 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.statistics.rrdtool.definitions.disk", package.seeall)
function item()
return luci.i18n.translate("Disk Usage")
end
function rrdargs( graph, plugin, plugin_instance, dtype )
r... | apache-2.0 |
RebootRevival/FFXI_Test | scripts/zones/Riverne-Site_A01/npcs/Spatial_Displacement.lua | 17 | 3365 | -----------------------------------
-- Area: Riverne Site #A01
-- NPC: Spacial Displacement
-----------------------------------
-----------------------------------
-- onTrade
-----------------------------------
function onTrade(player,npc,trade)
end;
-----------------------------------
-- onTrigger
--------------... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/globals/abilities/dark_maneuver.lua | 4 | 1589 | -----------------------------------
-- Ability: Dark Maneuver
-- Enhances the effect of dark attachments. Must have animator equipped.
-- Obtained: Puppetmaster level 1
-- Recast Time: 10 seconds (shared with all maneuvers)
-- Duration: 1 minute
-----------------------------------
require("scripts/globals/status");
re... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/zones/The_Shrine_of_RuAvitau/mobs/Mother_Globe.lua | 22 | 2655 | -----------------------------------
-- Area: The Shrine of Ru'Avitau
-- NM: Mother Globe
-- TODO: Looked like pets had an additional effect: stun with an unknown proc rate
-- TODO: "Links with Slave Globes, and Slave Globes link with Defenders. Defenders do not link with Slave Globes or Mother Globe."
---------------... | gpl-3.0 |
jthomasbarry/aafmt | archive/book_chapters_LaTeX_original/pgf_3.0.1.tds/tex/generic/pgf/graphdrawing/lua/pgf/gd/doc/ogdf/misclayout/CircularLayout.lua | 3 | 2681 | -- Copyright 2013 by Till Tantau
--
-- This file may be distributed an/or modified
--
-- 1. under the LaTeX Project Public License and/or
-- 2. under the GNU Public License
--
-- See the file doc/generic/pgf/licenses/LICENSE for more information
-- @release $Header: /cvsroot/pgf/pgf/generic/pgf/graphdrawing/lua/pgf/gd... | gpl-2.0 |
Metazion/CondFlow | CondFlow.lua | 1 | 11889 | --- Ìõ¼þÁ÷³Ìϵͳ
-- ʹÓÃÔ¼¶¨
-- 1. Ìí¼ÓµÄÌõ¼þË÷ÒýÐè´Ó0¿ªÊ¼£¬+1µÝÔö
-- 2. ³É¹¦ÂÊÓÅÏȵÄÌõ¼þÏÈÐÐÌí¼Ó
-- Ìõ¼þ±ØÒªÐÔ
local NEED_REQUIRED = 1 -- ±ØÒªÌõ¼þ
local NEED_OPTIONAL = 2 -- ¿ÉÑ¡Ìõ¼þ
-- Ìõ¼þÖÈÐò
local ORDER_ORDINAL = 3 -- ×ÓÌõ¼þ˳ÐòÖ´ÐÐ
local ORDER_RANDOM = 4 -- ×ÓÌõ¼þÈÎÒâÖ´ÐÐ
-- Ìõ¼þÅжÏ
local JUDGE_ALL = 5 -- È«... | mit |
openwrt-es/openwrt-luci | applications/luci-app-ddns/luasrc/model/cbi/ddns/detail.lua | 4 | 54494 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
-- Copyright 2013 Manuel Munz <freifunk at somakoma dot de>
-- Copyright 2014-2016 Christian Schoenebeck <christian dot schoenebeck at gmail dot com>
-- Licensed to the public under the Apache License 2.0.
local NX ... | apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.