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 |
|---|---|---|---|---|---|
ricker75/Global-Server | data/actions/scripts/gnomebase/crystalWarzone1.lua | 2 | 2068 | --- [[ Warzone 1 feito por Yuri Lagrotta ]] ---
local posdotp = {x= 33104, y=31908, z=10} -- Posicao que o tp vai ser criado (Eh o tp que leva pra sala do Deathstriker)
local salaDeathstriker = {x=33101, y=31956, z=10} -- Posicao da sala do Deathstriker (Pos pra onde o player vai qd entrar no tp)
local posDeathstriker... | gpl-2.0 |
ibm2431/darkstar | scripts/globals/items/aspir_knife.lua | 12 | 1125 | -----------------------------------------
-- ID: 16509
-- Item: Aspir Knife
-- Additional effect: MP Drain
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/magic")
require("scripts/globals/msg")
-----------------------------------
function onAdditionalEffect(player,t... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Riverne-Site_B01/bcnms/storms_of_fate.lua | 9 | 2004 | -----------------------------------
-- Area: Riverne Site #B01
-- Name: Storms of Fate
-- !pos 299 -123 345 146
-----------------------------------
local ID = require("scripts/zones/Riverne-Site_B01/IDs")
require("scripts/globals/battlefield")
require("scripts/globals/keyitems")
require("scripts/globals/settings")
requ... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Giddeus/npcs/HomePoint#1.lua | 27 | 1248 | -----------------------------------
-- Area: Giddeus
-- NPC: HomePoint#1
-- @pos -132 -3 -303 145
-----------------------------------
package.loaded["scripts/zones/Giddeus/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Giddeus/TextIDs");
require("scripts/globals/homepoint");
----------... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Castle_Zvahl_Keep/npcs/_4i5.lua | 23 | 1492 | -----------------------------------
-- Area: Castle Zvahl Keep
-- NPC: Ore door
-- Involved In Quest: Recollections
-- @pos -14 0 69 162
-----------------------------------
package.loaded["scripts/zones/Castle_Zvahl_Keep/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require... | gpl-3.0 |
aginor/wesnoth | data/ai/micro_ais/cas/ca_goto.lua | 26 | 9404 | local H = wesnoth.require "lua/helper.lua"
local AH = wesnoth.require "ai/lua/ai_helper.lua"
local BC = wesnoth.require "ai/lua/battle_calcs.lua"
local LS = wesnoth.require "lua/location_set.lua"
local MAIUV = wesnoth.require "ai/micro_ais/micro_ai_unit_variables.lua"
local MAISD = wesnoth.require "ai/micro_ais/micro_a... | gpl-2.0 |
evrooije/beerarchy | mods/00_bt_hud/hudbars/init.lua | 2 | 18899 | local S
if (minetest.get_modpath("intllib")) then
S = intllib.Getter()
else
S = function ( s ) return s end
end
hb = {}
hb.hudtables = {}
-- number of registered HUD bars
hb.hudbars_count = 0
-- table which records which HUD bar slots have been “registered” so far; used for automatic positioning
hb.registered_slo... | lgpl-2.1 |
ibm2431/darkstar | scripts/zones/Uleguerand_Range/npcs/qm3.lua | 9 | 3229 | -----------------------------------
-- Area: Uleguerand_Range
-- NPC: ??? (Trade Moblin Hotrok for Map of Uleguerand Range)
-- !pos -299 -62 -18
-- Involved in Quests: Over The Hills And Far Away
-----------------------------------
local ID = require("scripts/zones/Uleguerand_Range/IDs")
require("scripts/globals/npc... | gpl-3.0 |
nicholas-leonard/rnn | SeqReverseSequence.lua | 6 | 3161 | ------------------------------------------------------------------------
--[[ SeqReverseSequence ]] --
-- Reverses a sequence on a given dimension.
-- Example: Given a tensor of torch.Tensor({{1,2,3,4,5}, {6,7,8,9,10}})
-- nn.SeqReverseSequence(1):forward(tensor) would give: torch.Tensor({{6,7,8,9,10},{1,2,3,4,5}})
---... | bsd-3-clause |
greasydeal/darkstar | scripts/zones/Yhoator_Jungle/npcs/Etaj-Pohtaj_WW.lua | 30 | 3054 | -----------------------------------
-- Area: Yhoator Jungle
-- NPC: Etaj-Pohtaj, W.W.
-- Outpost Conquest Guards
-- @pos 200.254 -1 -80.324 124
-----------------------------------
package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
req... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Lower_Jeuno/npcs/HomePoint#2.lua | 12 | 1239 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: HomePoint#2
-- @pos 18 -1 54 245
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Lower_Jeuno/TextIDs");
require("scripts/globals/homepo... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Cloister_of_Storms/bcnms/trial_by_lightning.lua | 30 | 2230 | -----------------------------------
-- Area: Cloister of Storms
-- BCNM: Trial by Lightning
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Storms/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions");
require("script... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Port_Windurst/npcs/Kususu.lua | 17 | 1729 | -----------------------------------
-- Area: Port Windurst
-- NPC: Kususu
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
require("scripts/zones/Port_Windurst/TextIDs");
---... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Meriphataud_Mountains/npcs/Muzeze.lua | 14 | 1049 | -----------------------------------
-- Area: Meriphataud Mountains
-- NPC: Muzeze
-- Type: Armor Storer
-- @pos -6.782 -18.428 208.185 119
-----------------------------------
package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Meriphataud_... | gpl-3.0 |
herrbrave/RTS_Engine | RTS/RTS/Games/Delza/Delza.lua | 1 | 1675 | registrar = {
ASSET = 0,
DRAWABLE = 0,
ENTITY = 0,
FACTORY = 0,
PHYSICS = 0,
ANIMATION = 0,
INPUT = 1,
SCRIPT = 0,
ASSET = 0,
CAMERA = 1,
MOUSE_MOVE = 0,
UI = 0,
WORLD = 0,
}
function setup()
print("setup Delza Game", tostring(entityId))
sceneX = 0
sceneY = 0
end
-- Standard Mouse/Key events
functi... | mit |
LegionXI/darkstar | scripts/globals/spells/bluemagic/grand_slam.lua | 33 | 1713 | -----------------------------------------
-- Spell: Grand Slam
-- Delivers an area attack. Damage varies with TP
-- Spell cost: 24 MP
-- Monster Type: Beastmen
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 2
-- Stat Bonus: INT+1
-- Level: 30
-- Casting Time: 1 seconds
-- Recast Time: 14.25 seconds
-- Skillchain... | gpl-3.0 |
lbthomsen/openwrt-luci | applications/luci-app-radicale2/luasrc/model/cbi/radicale2/logging.lua | 10 | 1503 | -- Licensed to the public under the Apache License 2.0.
local m = Map("radicale2", translate("Radicale 2.x"),
translate("A lightweight CalDAV/CardDAV server"))
local s = m:section(NamedSection, "logging", "section", translate("Logging"))
s.addremove = true
s.anonymous = false
local logging_file = nil
logging... | apache-2.0 |
gOOvER/Factionizer | Libs/LibStub/tests/test2.lua | 100 | 1112 | debugstack = debug.traceback
strmatch = string.match
loadfile("../LibStub.lua")()
for major, library in LibStub:IterateLibraries() do
-- check that MyLib doesn't exist yet, by iterating through all the libraries
assert(major ~= "MyLib")
end
assert(not LibStub:GetLibrary("MyLib", true)) -- check that MyLib doesn't ... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/effects/fan_dance.lua | 17 | 1199 | -----------------------------------
--
-- EFFECT_FAN_DANCE
--
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
... | gpl-3.0 |
naclander/tome | game/modules/tome/data/zones/town-iron-council/traps.lua | 3 | 2573 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/spells/sword_madrigal.lua | 13 | 1535 | -----------------------------------------
-- Spell: Sword Madrigal
-- Gives party members accuracy
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/items/forest_carp.lua | 12 | 1340 | -----------------------------------------
-- ID: 4289
-- Item: forest_carp
-- Food Effect: 30Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
------... | gpl-3.0 |
naclander/tome | game/thirdparty/jit/bcsave.lua | 20 | 18123 | ----------------------------------------------------------------------------
-- LuaJIT module to save/list bytecode.
--
-- Copyright (C) 2005-2013 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
-------------------------------------------------------------------------... | gpl-3.0 |
evrooije/beerarchy | mods/00_bt_nodes/basic_machines/electronics_constructor.lua | 1 | 8598 | -- rnd 2016:
-- CONSTRUCTOR machine: used to make all other basic_machines
basic_machines.electronics_craft_recipes = {
["control_logic_unit"] = {
item = "basic_machines:control_logic_unit",
description = "Chip to control digtrons",
craft = { "default:diamond", "default:mese_crystal", "default:gold_ingot", "defau... | lgpl-2.1 |
greasydeal/darkstar | scripts/globals/spells/jubaku_san.lua | 11 | 1693 | -----------------------------------------
-- Spell: Jubaku: San
-- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and INT.
-- taken from paralyze
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
--------------------------... | gpl-3.0 |
naclander/tome | src/luabitop/bittest.lua | 17 | 2353 | -- Test cases for bit operations library. Public domain.
local bit = require"bit"
local vb = {
0, 1, -1, 2, -2, 0x12345678, 0x87654321,
0x33333333, 0x77777777, 0x55aa55aa, 0xaa55aa55,
0x7fffffff, 0x80000000, 0xffffffff
}
local function cksum(name, s, r)
local z = 0
for i=1,#s do z = (z + string.byte(s, i)*... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/items/saltena.lua | 12 | 1354 | -----------------------------------------
-- ID: 5885
-- Item: saltena
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP +6% (cap 100)
-- Increases rate of combat skill gains by 20%
-----------------------------------------
require("scripts/globals/status");
----------------------------... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/mobskills/PW_Groundburst.lua | 25 | 1068 | ---------------------------------------------
-- Groundburst
--
-- Description: Expels a fireball on targets in an area of effect.
-- Type: Physical
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: Unknown radial
-- Notes: Only used by notorious monsters, and from any Mamool Ja in besieged.
-------------------... | gpl-3.0 |
greasydeal/darkstar | scripts/commands/checkvar.lua | 38 | 1130 | ---------------------------------------------------------------------------------------------------
-- func: @checkvar <varType> <varName>
-- desc: checks player or server variable and returns result value.
---------------------------------------------------------------------------------------------------
cmdprops =
{... | gpl-3.0 |
naclander/tome | game/engines/default/engine/interface/PlayerRun.lua | 3 | 16700 | -- TE4 - T-Engine 4
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Hall_of_Transference/npcs/_0e0.lua | 14 | 1356 | -----------------------------------
-- Area: Hall of Transference
-- NPC: Cermet Gate - Holla
-- @pos -219 -6 280 14
-----------------------------------
package.loaded["scripts/zones/Hall_of_Transference/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/H... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/weaponskills/vorpal_thrust.lua | 10 | 1436 | -----------------------------------
-- Vorpal Thrust
-- Polearm weapon skill
-- Skill Level: 175
-- Delivers a single-hit attack. Chance of params.critical varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Aqua Gorget & Light Gorget.
-- Aligned with the Aqua Belt & Light Belt.
-- Element: None
-- Mod... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/spells/bind.lua | 12 | 1261 | -----------------------------------------
-- Spell: Bind
-----------------------------------------
require("scripts/globals/magic")
require("scripts/globals/msg")
require("scripts/globals/status")
-----------------------------------------
function onMagicCastingCheck(caster, target, spell)
return 0
end
function o... | gpl-3.0 |
atheurer/MoonGen | rfc2544/benchmarks/backtoback.lua | 9 | 13123 | package.path = package.path .. "rfc2544/?.lua"
local standalone = false
if master == nil then
standalone = true
master = "dummy"
end
local dpdk = require "dpdk"
local memory = require "memory"
local device = require "device"
local ts = require "timestamping"
local filter ... | mit |
lache/RacingKingLee | crazyclient/frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/TransitionSlideInR.lua | 11 | 1045 |
--------------------------------
-- @module TransitionSlideInR
-- @extend TransitionSlideInL
-- @parent_module cc
--------------------------------
-- Creates a transition with duration and incoming scene.<br>
-- param t Duration time, in seconds.<br>
-- param scene A given scene.<br>
-- return A autoreleased Transit... | mit |
lache/RacingKingLee | crazyclient/frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/Event.lua | 3 | 1317 |
--------------------------------
-- @module Event
-- @extend Ref
-- @parent_module cc
--------------------------------
-- Checks whether the event has been stopped.<br>
-- return True if the event has been stopped.
-- @function [parent=#Event] isStopped
-- @param self
-- @return bool#bool ret (return value: bool)
... | mit |
ibm2431/darkstar | scripts/zones/Crawlers_Nest_[S]/IDs.lua | 9 | 1081 | -----------------------------------
-- Area: Crawlers_Nest_[S]
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.CRAWLERS_NEST_S] =
{
text =
{
ITEM_CANNOT_BE_OBTAINED = 6904, -- You cannot obtain the <item>. Come ... | gpl-3.0 |
LuaDist2/lzmq-timer | src/lua/lzmq/ffi/error.lua | 15 | 2429 | --
-- Author: Alexey Melnichuk <mimir@newmail.ru>
--
-- Copyright (C) 2013-2014 Alexey Melnichuk <mimir@newmail.ru>
--
-- Licensed according to the included 'LICENCE' document
--
-- This file is part of lua-lzqm library.
--
local ok, zmq = pcall(require, "lzmq")
if not ok then zmq = nil end
local errors
if zmq t... | mit |
naclander/tome | game/modules/tome/data/gfx/particles/teleport_water.lua | 3 | 1221 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
icyxp/kong | spec/03-plugins/20-hmac-auth/04-invalidations_spec.lua | 2 | 7695 | local helpers = require "spec.helpers"
local cjson = require "cjson"
local crypto = require "crypto"
describe("Plugin: hmac-auth (invalidations)", function()
local client_proxy, client_admin, consumer, credential
setup(function()
helpers.run_migrations()
local api = assert(helpers.dao.apis:insert {
... | apache-2.0 |
LuaDist2/lzmq-timer | examples/perf/thread_thr.lua | 16 | 3469 | -- Copyright (c) 2011 Robert G. Jakabosky <bobby@sharedrealm.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,... | mit |
ibm2431/darkstar | scripts/globals/items/dish_of_spaghetti_carbonara.lua | 11 | 1545 | -----------------------------------------
-- ID: 5190
-- Item: dish_of_spaghetti_carbonara
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health % 14
-- Health Cap 175
-- Magic 10
-- Strength 4
-- Vitality 2
-- Intelligence -3
-- Attack % 17
-- Attack Cap 65
-- Store TP 6
----------------... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Sealions_Den/npcs/Airship_Door.lua | 8 | 1246 | -----------------------------------
-- Area: Sealion's Den
-- NPC: Airship_Door
-----------------------------------
local ID = require("scripts/zones/Sealions_Den/IDs")
-----------------------------------
function onTrade(player, npc, trade)
end
function onTrigger(player, npc)
local offset = npc:getID() - ID.npc... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Windurst_Woods/npcs/Kuzah_Hpirohpon.lua | 27 | 1199 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Kuzah Hpirohpon
-- Guild Merchant NPC: Clothcrafting Guild
-- @pos -80.068 -3.25 -127.686 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globa... | gpl-3.0 |
softer/prosody-modules | mod_openid/mod_openid.lua | 32 | 15176 | local usermanager = require "core.usermanager"
local httpserver = require "net.httpserver"
local jidutil = require "util.jid"
local hmac = require "hmac"
local base64 = require "util.encodings".base64
local humane = require "util.serialization".serialize
-- Configuration
local base = "openid"
local openidns = "http:... | mit |
LegionXI/darkstar | scripts/globals/items/shrimp_cracker.lua | 12 | 1491 | -----------------------------------------
-- ID: 5635
-- Item: shrimp_cracker
-- Food Effect: 3Min, All Races
-----------------------------------------
-- Vitality 1
-- DEF +10
-- Amorph Killer 10
-- Resist Virus +10
-- HP Recovered While Healing 8
-----------------------------------------
require("scripts/globals/sta... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/items/army_biscuit.lua | 35 | 1254 | -----------------------------------------
-- ID: 5657
-- Item: army_biscuit
-- Food Effect: 5Min?, All Races
-----------------------------------------
-- HP Recovered While Healing 3
-- MP Recovered While Healing 3
-----------------------------------------
require("scripts/globals/status");
---------------... | gpl-3.0 |
bacsmar/Urho3D | bin/Data/LuaScripts/53_LANDiscovery.lua | 6 | 4321 | -- Chat example
-- This sample demonstrates:
-- - Starting up a network server or connecting to it
-- - Implementing simple chat functionality with network messages
require "LuaScripts/Utilities/Sample"
local startServer = nil;
local stopServer = nil;
local refreshServerList = nil;
local serverList = nil;
--... | mit |
ibm2431/darkstar | scripts/globals/items/serving_of_cilbir.lua | 11 | 1294 | -----------------------------------------
-- ID: 5642
-- Item: serving_of_cilbir
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- HP % 5 (cap 150)
-- MP % 5 (cap 100)
-- HP recovered while healing 3
-- MP recovered while healing 3
-----------------------------------------
require("scripts/gl... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Balgas_Dais/mobs/Maat.lua | 14 | 1549 | -----------------------------------
-- Area: Balga Dais
-- MOB: Maat
-- Genkai 5 Fight
-----------------------------------
package.loaded["scripts/zones/Balgas_Dais/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Balgas_Dais/TextIDs");
-----------------------------------
-- onMobSpawn Act... | gpl-3.0 |
xistoso/CppSharp | examples/SDL/premake4.lua | 8 | 1388 | project "SDL"
SetupExampleProject()
if config.ExampleTests then
project "SDL.Tests"
kind "ConsoleApp"
language "C#"
location "."
dependson "SDL"
files
{
libdir .. "/SDL/SDL.cs",
libdir .. "/SDL/SDL_assert.cs",
libdir .. "/SDL/SDL_audio.cs",
libdir .. "/SDL/SDL_blendmode.... | mit |
LegionXI/darkstar | scripts/zones/Port_Jeuno/npcs/Najib.lua | 30 | 1385 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Najib
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
require("scripts/zones/Port_Jeuno/TextIDs");
-----------------------------------
-- onTrade Action
---------------------------------... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Temenos/mobs/Proto-Ultima.lua | 9 | 1458 | -----------------------------------
-- Area: Temenos
-- Mob: Proto-Ultima
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/limbus");
-----------------------------------
function onMobSpawn(mob)
mob:SetMagicCastingEnabled(false);
end;
function onMobFight(mob,target)
... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Port_San_dOria/TextIDs.lua | 4 | 4857 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED_1 = 6414; -- You cannot obtain the <<<Possible Special Code: 01>>><<<Possible Special Code: 05>>>#<<<BAD CHAR: 8280>>><<<BAD CHAR: 80>>><<<BAD CHAR: 80>>>.<<<Prompt>>>
ITEM_CANNOT_BE_OBTAINED_2 = 6415; -- You cannot obtain the <<<Possib... | gpl-3.0 |
icyxp/kong | kong/plugins/response-transformer/header_transformer.lua | 5 | 2673 | local insert = table.insert
local type = type
local find = string.find
local lower = string.lower
local match = string.match
local _M = {}
local function iter(config_array)
return function(config_array, i, previous_header_name, previous_header_value)
i = i + 1
local header_to_test = config_array[i]
if h... | apache-2.0 |
LegionXI/darkstar | scripts/zones/Bastok_Mines/npcs/Trail_Markings.lua | 7 | 2897 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Trail Markings
-- Dynamis-Bastok Enter
-- @pos 99 1 -67 234
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/global... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Lower_Jeuno/npcs/Naruru.lua | 24 | 3874 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Naruru
-- Starts and Finishes Quests: Cook's Pride
-- @pos -56 0.1 -138 245
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("s... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Kristen.lua | 14 | 1054 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Kristen
-- Type: Standard NPC
-- @zone 94
-- @pos 2.195 -2 60.296
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
----------... | gpl-3.0 |
icyxp/kong | kong/dao/errors.lua | 6 | 1712 | local printable_mt = require "kong.tools.printable"
local setmetatable = setmetatable
local getmetatable = getmetatable
local tostring = tostring
local type = type
local fmt = string.format
local error_mt = {}
function error_mt.__tostring(t)
if t.db_name then
return fmt("[%s error] %s", t.db_name, tostring(t.me... | apache-2.0 |
ibm2431/darkstar | scripts/globals/items/pukatrice_egg_+1.lua | 11 | 1544 | -----------------------------------------
-- ID: 6275
-- Item: pukatrice_egg_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- HP +20
-- MP +20
-- STR +3
-- Fire resistance +21
-- Attack +21% (cap 90)
-- Ranged Attack +21% (cap 90)
-- Subtle Blow +9
---------------------------------------... | gpl-3.0 |
TheCodingMonster/PeripheralsPlusPlus | lua/xp/enchanting.lua | 4 | 2209 | --[[
Created by Fxz_y
]]
p = peripheral.find("xp")
state = "on"
function printOut()
term.clear()
term.setCursorPos(1,1)
print("Levels: "..levels..".")
print("XP: "..xp..".")
if state == "on" then
print("Collecting XP: On.")
print("Press X to turn off XP collecting.")
elseif state == "off" then
p... | gpl-2.0 |
LegionXI/darkstar | scripts/zones/Apollyon/mobs/Earth_Elemental.lua | 119 | 2740 | -----------------------------------
-- Area: Apollyon SW
-- NPC: elemental
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
-----------------------------------
... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Southern_San_dOria/npcs/Endracion.lua | 9 | 6588 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Endracion
-- !pos -110 1 -34 230
-----------------------------------
local ID = require("scripts/zones/Southern_San_dOria/IDs");
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/missions");
------... | gpl-3.0 |
Igalia/snabbswitch | src/core/config.lua | 14 | 2514 | -- Use of this source code is governed by the Apache 2.0 license; see COPYING.
-- 'config' is a data structure that describes an app network.
module(..., package.seeall)
local lib = require("core.lib")
-- API: Create a new configuration.
-- Initially there are no apps or links.
function new ()
return {
app... | apache-2.0 |
Geigerkind/DPSMateTBC | DPSMate_Absorbs/DPSMate_Details_AbsorbsTotal.lua | 1 | 18571 | DPSMate.Modules.DetailsAbsorbsTotal = {}
local g, g2 = nil,nil
local curKey = 1
local db, cbt = {}, 0
local buttons = {}
local ColorTable={}
local _G = getglobal
local tinsert = table.insert
local tremove = table.remove
local strformat = string.format
local toggle = false
local totSumTable = {}
local totMax = 0
local ... | gpl-3.0 |
mahdikord/mahdibk9 | plugins/twitter_send.lua | 627 | 1555 | do
local OAuth = require "OAuth"
local consumer_key = ""
local consumer_secret = ""
local access_token = ""
local access_token_secret = ""
local client = OAuth.new(consumer_key, consumer_secret, {
RequestToken = "https://api.twitter.com/oauth/request_token",
AuthorizeUser = {"https://api.twitter.com/oauth/autho... | gpl-2.0 |
rigeirani/btg | plugins/twitter_send.lua | 627 | 1555 | do
local OAuth = require "OAuth"
local consumer_key = ""
local consumer_secret = ""
local access_token = ""
local access_token_secret = ""
local client = OAuth.new(consumer_key, consumer_secret, {
RequestToken = "https://api.twitter.com/oauth/request_token",
AuthorizeUser = {"https://api.twitter.com/oauth/autho... | gpl-2.0 |
ibm2431/darkstar | scripts/globals/abilities/pets/armor_shatterer.lua | 14 | 1298 | ---------------------------------------------------
-- Armor Shatterer
---------------------------------------------------
require("scripts/globals/status")
require("scripts/globals/settings")
require("scripts/globals/automatonweaponskills")
---------------------------------------------------
function onMobSkillCheck... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Apollyon/npcs/Armoury_Crate.lua | 10 | 22694 | -----------------------------------
-- Area: Apollyon
-- NPC: Armoury Crate
-----------------------------------
require("scripts/globals/titles")
require("scripts/globals/quests")
require("scripts/globals/limbus")
-----------------------------------
local loot =
{
-- SE_Apollyon floor 1
[110] =
{
... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/spells/knights_minne_iii.lua | 10 | 1505 | -----------------------------------------
-- Spell: Knight's Minne III
-- Grants Defense bonus to all allies.
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)
return... | gpl-3.0 |
softer/prosody-modules | mod_mam/mamprefsxml.lib.lua | 36 | 1467 | -- XEP-0313: Message Archive Management for Prosody
-- Copyright (C) 2011-2013 Kim Alvefur
--
-- This file is MIT/X11 licensed.
local st = require"util.stanza";
local xmlns_mam = "urn:xmpp:mam:0";
local global_default_policy = module:get_option("default_archive_policy", false);
local default_attrs = {
always = true... | mit |
greasydeal/darkstar | scripts/zones/Port_San_dOria/npcs/Brifalien.lua | 19 | 1772 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Brifalien
-- Involved in Quests: Riding on the Clouds
-- @zone 232
-- @pos -20 -4 -74
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/gl... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/spells/paralyze.lua | 11 | 1994 | -----------------------------------------
-- Spell: Paralyze
-- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and MND.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-... | gpl-3.0 |
naclander/tome | game/modules/tome/data/general/objects/cloak.lua | 3 | 1917 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Upper_Jeuno/npcs/_6s2.lua | 9 | 3719 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Galmut's door
-- Starts and Finishes Quest: A Clock Most Delicate, Save the Clock Tower, The Clockmaster
-- !pos -80 0 104 244
-----------------------------------
local ID = require("scripts/zones/Upper_Jeuno/IDs");
require("scripts/globals/settings");
r... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/chocobo.lua | 11 | 8350 | -----------------------------------
-- Chocobo functions
-- Info from:
-- http://wiki.ffxiclopedia.org/wiki/Chocobo_Renter
-- http://ffxi.allakhazam.com/wiki/Traveling_in_Vana'diel
-----------------------------------
require("scripts/globals/keyitems")
require("scripts/globals/missions")
require("scripts/global... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/spells/curaga_iv.lua | 12 | 1397 | -----------------------------------------
-- 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")
require("scripts/globals/msg")
-----------------------... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Temenos/bcnms/temenos_eastern_tower.lua | 9 | 1847 | -----------------------------------
-- Area: Temenos
-- Name: Temenos Eastern Tower
-----------------------------------
require("scripts/globals/limbus");
require("scripts/globals/battlefield")
require("scripts/globals/keyitems");
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBattlefieldTick(battle... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Western_Adoulin/Zone.lua | 9 | 1605 | -----------------------------------
--
-- Zone: Western Adoulin
-- !zone 256
--
-----------------------------------
local ID = require("scripts/zones/Western_Adoulin/IDs")
require("scripts/globals/quests")
-----------------------------------
function onInitialize(zone)
end
function onZoneIn(player,prevZone)
local... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/items/pumpkin_pie_+1.lua | 35 | 1372 | -----------------------------------------
-- ID: 4447
-- Item: pumpkin_pie_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Magic 45
-- Intelligence 4
-- Charisma -1
-- MP Recovered While Healing 1
-----------------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/ability.lua | 17 | 15202 | -----------------------------------
--
-- ABILITIES
--
-----------------------------------
ABILITY_MIGHTY_STRIKES = 0;
ABILITY_HUNDRED_FISTS = 1;
ABILITY_BENEDICTION = 2;
ABILITY_MANAFONT = 3;
ABILITY_CHAINSPELL = 4;
ABILITY_PERFECT_DODGE = 5;
ABILITY_... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Ghelsba_Outpost/bcnms/save_the_children.lua | 9 | 1619 | -----------------------------------
-- Save the Children
-- Ghelsba Outpost mission battlefield
-- !pos -162 -11 78 140
-----------------------------------
require("scripts/globals/battlefield")
require("scripts/globals/keyitems")
require("scripts/globals/missions")
require("scripts/globals/npc_util")
require("scripts/... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/spells/tornado_ii.lua | 6 | 1270 | -----------------------------------------
-- Spell: Tornado II
-- Deals wind damage to an enemy and lowers its resistance against ice.
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/magic")
-----------------------------------------
function onMagicCastingCheck(cast... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Port_Bastok/npcs/Oggbi.lua | 26 | 3415 | -----------------------------------
-- Area: Port Bastok
-- NPC: Oggbi
-- Starts and Finishes: Ghosts of the Past, The First Meeting
-- @zone 236
-- @pos -159 -7 5
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Inner_Horutoto_Ruins/Zone.lua | 12 | 4654 | -----------------------------------
--
-- Zone: Inner_Horutoto_Ruins (192)
--
-----------------------------------
package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Inner_Horutoto_Ruins/TextIDs");
require("scripts/globals/status");
require("scr... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Inner_Horutoto_Ruins/npcs/_5cb.lua | 6 | 1300 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: _5cb (Gate of Darkness)
-- @pos -228 0 99 192
-----------------------------------
package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Inner_Horutoto_Ruins/TextI... | gpl-3.0 |
naclander/tome | game/engines/default/engine/dialogs/Chat.lua | 3 | 4648 | -- TE4 - T-Engine 4
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Waughroon_Shrine/bcnms/hills_are_alive.lua | 9 | 1072 | -----------------------------------
-- The Hills are Alive
-- Waughroon Shrine KSNM99, Themis Orb
-- !additem 1553
-----------------------------------
require("scripts/globals/battlefield")
-----------------------------------
function onBattlefieldInitialise(battlefield)
battlefield:setLocalVar("loot", 1)
end
fun... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Mine_Shaft_2716/npcs/_0d0.lua | 9 | 1256 | -----------------------------------
-- Area: Mine_Shaft_2716
-- NPC: Shaft entrance
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/missions");
function onTrade(player,npc,trade)
if (player:getCurrentMission(COP) == dsp.mission.id.cop.THREE_PATHS and ( player:getChar... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Rabao/npcs/Guinavie.lua | 28 | 1788 | -----------------------------------
-- Area: Rabao
-- NPC: Guinavie
-- Chocobo Vendor
-----------------------------------
require("scripts/globals/chocobo");
require("scripts/globals/keyitems");
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
-- ... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/West_Ronfaure/npcs/Aaveleon.lua | 14 | 1533 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Aaveleon
-- Involved in Quest: A Sentry's Peril
-- @pos -431 -45 343 100
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require(... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/items/purple_polypore.lua | 36 | 1156 | -----------------------------------------
-- ID: 5682
-- Item: Purple Polypore
-- Food Effect: 5 Min, All Races
-----------------------------------------
-- Strength -6
-- Mind +4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Tavnazian_Safehold/npcs/_0qa.lua | 17 | 2001 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: walnut door
-- Involved in mission 2-4
-- @pos 111 -41 41 26
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Kuftal_Tunnel/mobs/Phantom_Worm.lua | 23 | 1639 | -----------------------------------
-- Area: Kuftal Tunnel (173)
-- Mob: Phantom Worm
-----------------------------------
-----------------------------------
-- onMobDeath
-----------------------------------
function onMobDeath(mob, player, isKiller)
end;
-----------------------------------
-- onMobDespawn
----... | gpl-3.0 |
Igalia/snabbswitch | lib/ljndpi/ndpi/wrap.lua | 10 | 3898 | #! /usr/bin/env luajit
--
-- wrap.lua
-- Copyright (C) 2016-2017 Adrian Perez <aperez@igalia.com>
--
-- Distributed under terms of the Apache License 2.0.
--
local ndpi_c = require("ndpi.c")
local lib_version, lib = ndpi_c.version, ndpi_c.lib
local ffi = require("ffi")
local C = ffi.C
-------------------------------... | apache-2.0 |
LegionXI/darkstar | scripts/zones/Batallia_Downs/Zone.lua | 11 | 3985 | -----------------------------------
--
-- Zone: Batallia_Downs (105)
--
-----------------------------------
package.loaded[ "scripts/zones/Batallia_Downs/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require( "scripts/zones/Batallia_Downs/TextIDs");
requi... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Lower_Jeuno/npcs/Derrick.lua | 12 | 4331 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Derrick
-- Involved in Quests and finish : Save the Clock Tower
-- @zone 245
-- @pos -32 -1 -7
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
package.loaded["scripts/globals/settings"] = nil;
-----... | gpl-3.0 |
GENRALVS/GENRAL-VS | plugins/msg_checks.lua | 1 | 11546 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY xx_hetler_xx ▀▄ ▄▀
▀▄ ▄▀ BY hetler (hetler_ip) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY hetler ▀▄ ▄▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄▀▀... | gpl-2.0 |
greasydeal/darkstar | scripts/zones/Ghoyus_Reverie/Zone.lua | 36 | 1119 | -----------------------------------
--
-- Zone: Ghoyus_Reverie
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Ghoyus_Reverie/TextIDs"] = nil;
require("scripts/zones/Ghoyus_Reverie/TextIDs");
-----------------------------------
-- onInitialize
-... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Horlais_Peak/npcs/Hot_springs.lua | 9 | 1978 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Hot Springs
-- @zone 139
-- @pos 444 -37 -18
-----------------------------------
package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems"... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.