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/globals/spells/absorb-tp.lua | 18 | 1440 | --------------------------------------
-- Spell: Absorb-TP
-- Steals an enemy's TP.
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
------------------------------... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Chocobo_Circuit/Zone.lua | 36 | 1122 | -----------------------------------
--
-- Zone: Chocobo_Circuit
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Chocobo_Circuit/TextIDs"] = nil;
require("scripts/zones/Chocobo_Circuit/TextIDs");
-----------------------------------
-- onInitialize... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Southern_San_dOria/npcs/Aravoge_TK.lua | 28 | 4900 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Aravoge, T.K.
-- X Grant Signet
-- X Recharge Emperor Band, Empress Band, or Chariot Band
-- X Accepts traded Crystals to fill up the Rank bar to open new Missions.
-- X Sells items in exchange for Conquest Points
-- X Start Supply Run M... | gpl-3.0 |
elfinlazz/melia | system/scripts/npc/field/f_katyn_10.lua | 1 | 6592 | addnpc(45132, "QUEST_LV_0200_20150317_000504", "f_katyn_10", 1084.538, 200.9586, -189.959, 45, "npc_dummy")
addnpc(151077, "ETC_20151016_015906", "f_katyn_10", 3710.092, 73.8079, -1275.394, 45, "npc_dummy")
addnpc(20135, "ETC_20151016_015907", "f_katyn_10", 1942.889, 200.9586, -530.4468, 46, "npc_dummy")
addnpc(12081, ... | gpl-3.0 |
mcclure/old-Polycode | Bindings/Contents/LUA/API/Polycode/GLSLShaderModule.lua | 1 | 2044 | class "GLSLShaderModule"
function GLSLShaderModule:GLSLShaderModule(...)
for k,v in pairs(arg) do
if type(v) == "table" then
if v.__ptr ~= nil then
arg[k] = v.__ptr
end
end
end
if self.__ptr == nil and arg[1] ~= "__skip_ptr__" then
self.__ptr = Polycore.GLSLShaderModule(unpack(arg))
Polycore... | mit |
AlexandreCA/update | scripts/zones/Qufim_Island/npcs/qm3.lua | 17 | 4407 | -----------------------------------
-- Area: Qufim Island
-- NPC: ??? (qm3)
-- Mission: ACP - The Echo Awakens
-- @zone 126
-- @pos -120.342 -19.471 306.661
-----------------------------------
package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil;
-------------------------------------
require("scripts/z... | gpl-3.0 |
paly2/minetest-minetestforfun-server | mods/mesecons/mesecons_lightstone/init.lua | 13 | 2264 | local lightstone_rules = {
{x=0, y=0, z=-1},
{x=1, y=0, z=0},
{x=-1, y=0, z=0},
{x=0, y=0, z=1},
{x=1, y=1, z=0},
{x=1, y=-1, z=0},
{x=-1, y=1, z=0},
{x=-1, y=-1, z=0},
{x=0, y=1, z=1},
{x=0, y=-1, z=1},
{x=0, y=1, z=-1},
{x=0, y=-1, z=-1},
{x=0, y=-1, z=0},
}
function mesecon.lightstone... | unlicense |
lzubiaur/woot | lua/engine/fileutil.lua | 1 | 1104 | -- ---------------------------------------------------------
-- fileutil.lua
-- Copyright (C) 2015 Laurent Zubiaur, voodoocactus.com
-- All Rights Reserved.
-- ---------------------------------------------------------
local jit = require 'jit'
local ffi = require 'ffi'
local fileutil = {}
function fileutil.getRealPa... | mit |
AlexandreCA/darkstar | scripts/zones/Temple_of_Uggalepih/npcs/Stone_Picture_Frame.lua | 27 | 3762 | -----------------------------------
-- Area: Temple of Uggalepih
-- NPC: Stone Picture Frame
-- Notes: Opens door to Den of Rancor using Painbrush of Souls
-- @pos -52.239 -2.089 10.000 159
-----------------------------------
package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil;
------------------------... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/Wooden_Ladder.lua | 13 | 3273 | -----------------------------------
-- Area: Phomiuna Aqueducts
-- NPC: Wooden Ladder
-- @pos 101.9 -1.5 -101.9
-- @pos 101.948 -1.5 -18.016
-- @pos -61.888 -1.5 -18.079
-- @pos -218.109 -1.499 18.081
-- @pos -61.903 -1.5 138.099
-- @pos 21.901 -1.5 138.096
-- @pos 101.902 -1.5 181.902
-- @pos -159.32 -2.5 60
-- @pos... | gpl-3.0 |
AlexandreCA/darkstar | scripts/commands/cnation.lua | 12 | 1206 | ---------------------------------------------------------------------------------------------------
-- func: @cnation <target> <campaign allegiance>
-- desc: check or alter target characters campaign allegiance
---------------------------------------------------------------------------------------------------
cmdprops... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Northern_San_dOria/npcs/Lotine.lua | 13 | 1027 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Lotine
-- Type: Standard Info NPC
-- @zone: 231
-- @pos -137.504 11.999 171.090
--
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,tra... | gpl-3.0 |
paly2/minetest-minetestforfun-server | mods/mesecons/mesecons_noteblock/init.lua | 4 | 2708 | minetest.register_node("mesecons_noteblock:noteblock", {
description = "Noteblock",
tiles = {"mesecons_noteblock.png"},
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2},
visual_scale = 1.3,
paramtype="light",
after_place_node = function(pos)
minetest.add_node(pos, {name="mesecons_noteblock:noteblock", par... | unlicense |
AlexandreCA/update | scripts/zones/Port_Jeuno/npcs/Omiro-Zamiro.lua | 17 | 1365 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Omiro-Zamiro
-- @zone 246
-- @pos 3 7 -54
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems")... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/items/reishi_mushroom.lua | 18 | 1174 | -----------------------------------------
-- ID: 4449
-- Item: reishi_mushroom
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Strength -6
-- Mind 4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
------... | gpl-3.0 |
mobinantispam/test-bot | 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/darkstar | scripts/globals/spells/absorb-tp.lua | 25 | 1446 | --------------------------------------
-- Spell: Absorb-TP
-- Steals an enemy's TP.
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
------------------------------... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/items/bowl_of_pomodoro_sauce.lua | 18 | 1182 | -----------------------------------------
-- ID: 5194
-- Item: Bowl of Pomodoro Sauce
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Intelligence 2
-- Mind 2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCh... | gpl-3.0 |
KAISER1350/KAISER | bot/seedbot.lua | 1 | 10248 | 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 = '2'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
return... | gpl-2.0 |
JiessieDawn/skynet | service/service_provider.lua | 10 | 2242 | local skynet = require "skynet"
local provider = {}
local function new_service(svr, name)
local s = {}
svr[name] = s
s.queue = {}
return s
end
local svr = setmetatable({}, { __index = new_service })
function provider.query(name)
local s = svr[name]
if s.queue then
table.insert(s.queue, skynet.response())
... | mit |
AlexandreCA/darkstar | scripts/zones/Rolanberry_Fields/Zone.lua | 10 | 4860 | -----------------------------------
--
-- Zone: Rolanberry_Fields (110)
--
-----------------------------------
package.loaded["scripts/zones/Rolanberry_Fields/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Rolanberry_Fields/TextIDs");
require("scripts/globals/icanheararainbow");
require("s... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/items/bowl_of_ulbuconut_milk_+1.lua | 18 | 1195 | -----------------------------------------
-- ID: 5977
-- Item: Bowl of Ulbuconut Milk +1
-- Food Effect: 3Min, All Races
-----------------------------------------
-- Charisma +4
-- Vitality -1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnI... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Port_Bastok/npcs/Styi_Palneh.lua | 17 | 4043 | -----------------------------------
-- Area: Port Bastok
-- NPC: Styi Palneh
-- Title Change NPC
-- @pos 28 4 -15 236
-----------------------------------
require("scripts/globals/titles");
local title2 = { NEW_ADVENTURER , BASTOK_WELCOMING_COMMITTEE , BUCKET_FISHER , PURSUER_OF_THE_PAST , MOMMYS_HELPER , HOT... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Phomiuna_Aqueducts/npcs/_0rq.lua | 17 | 1459 | -----------------------------------
-- Area: Phomiuna_Aqueducts
-- NPC: Oil lamp
-- @pos -60 -23 60 27
-----------------------------------
package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Phomiuna... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Windurst_Walls/npcs/Moan-Maon.lua | 38 | 1408 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Moan-Maon
-- Type: Standard NPC
-- @pos 88.244 -6.32 148.912 239
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scr... | gpl-3.0 |
AlexandreCA/update | scripts/globals/weaponskills/dark_harvest.lua | 29 | 1229 | -----------------------------------
-- Dark Harvest
-- Scythe weapon skill
-- Skill Level: 30
-- Delivers a dark elemental attack. Damage varies with TP.
-- Aligned with the Aqua Gorget.
-- Aligned with the Aqua Belt.
-- Element: Dark
-- Modifiers: STR:20% ; INT:20%
-- 100%TP 200%TP 300%TP
-- 1.00 ... | gpl-3.0 |
AlexandreCA/update | scripts/globals/mobskills/Unblest_Jambiya.lua | 3 | 1091 | ---------------------------------------------------
-- Unblest Jambiya
-- Family: Qutrub
-- Description: Steals HP from targets in an area of effect.
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: AoE 15'
-- Notes: Used only by certain NM's when their primary sword isn't broken.
-----... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Bhaflau_Remnants/Zone.lua | 19 | 1071 | -----------------------------------
--
-- Zone: Bhaflau_Remnants
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Bhaflau_Remnants/TextIDs"] = nil;
require("scripts/zones/Bhaflau_Remnants/TextIDs");
-----------------------------------
-- onInitialize
-------... | gpl-3.0 |
annulen/premake-annulen | src/tools/dotnet.lua | 40 | 1857 | --
-- dotnet.lua
-- Interface for the C# compilers, all of which are flag compatible.
-- Copyright (c) 2002-2009 Jason Perkins and the Premake project
--
premake.dotnet = { }
premake.dotnet.namestyle = "windows"
--
-- Translation of Premake flags into CSC flags
--
local flags =
{
FatalWarning = "/warnase... | bsd-3-clause |
AlexandreCA/update | scripts/globals/items/porcupine_pie.lua | 35 | 1945 | -----------------------------------------
-- ID: 5156
-- Item: porcupine_pie
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP 55
-- Strength 6
-- Vitality 2
-- Intelligence -3
-- Mind 3
-- MP recovered while healing 2
-- Accuracy 5
-- Attack % 18 (cap 95)
-- Ranged Attack % ... | gpl-3.0 |
bmharper/tundra | scripts/tundra/syntax/rust-cargo.lua | 3 | 7655 | -- rust-cargo.lua - Support for Rust and Cargo
module(..., package.seeall)
local nodegen = require "tundra.nodegen"
local files = require "tundra.syntax.files"
local path = require "tundra.path"
local util = require "tundra.util"
local depgraph = require "tundra.depgraph"
local native = require "tundra.... | mit |
findstr/ldb | ldb.lua | 1 | 3814 | local sfind = string.find
local smatch = string.match
local sformat = string.format
local dgetinfo = debug.getinfo
local dsethook = debug.sethook
local dgetlocal = debug.getlocal
local dgetupvalue = debug.getupvalue
local iowrite = io.write
local in_iter = io.lines
local ldb = {}
local line = {}
local mode = "run"
lo... | mit |
AlexandreCA/darkstar | scripts/zones/Apollyon/mobs/Dee_Wapa_the_Desolator.lua | 7 | 2591 | -----------------------------------
-- Area: Apollyon CS
-- MOB: Dee_Wapa_the_Desolator
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
-----------------------... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Apollyon/mobs/Mountain_Buffalo.lua | 7 | 1401 | -----------------------------------
-- Area: Apollyon NW
-- NPC: Kaiser Behemoth
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Apollyon/TextIDs");
-----------------------------------
-- onMobSpawn Action
-------... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Nashmau/npcs/Fhe_Maksojha.lua | 13 | 2277 | -----------------------------------
-- Area: Nashmau
-- NPC: Fhe Maksojha
-- Type: Standard NPC
-- @pos 19.084 -7 71.287 53
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/set... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/abilities/curing_waltz.lua | 19 | 2259 | -----------------------------------
-- Ability: Curing Waltz
-- Heals HP to target player.
-- Obtained: Dancer Level 15
-- TP Required: 20%
-- Recast Time: 00:06
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
-- onAbilit... | gpl-3.0 |
boknilev/nn | SpatialFullConvolution.lua | 42 | 1589 | local SpatialFullConvolution, parent = torch.class('nn.SpatialFullConvolution','nn.Module')
function SpatialFullConvolution:__init(nInputPlane, nOutputPlane, kW, kH, dW, dH)
parent.__init(self)
dW = dW or 1
dH = dH or 1
self.nInputPlane = nInputPlane
self.nOutputPlane = nOutputPlane
self.kW = kW
... | bsd-3-clause |
AlexandreCA/darkstar | scripts/zones/Al_Zahbi/npcs/Eumoa-Tajimoa.lua | 13 | 1041 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Eumoa-Tajimoa
-- Type: Standard NPC
-- @zone: 48
-- @pos 19.275 -1 55.182
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------... | gpl-3.0 |
treytomes/mgreboot | mods/give_initial_stuff/init.lua | 1 | 2454 | ----
-- give_initial_stuff
--
-- Purpose: When a new player enters the world, give him some starter things.
----
----
-- Helper Functions
----
-- Trim the whitespace from the beginning and end of a string.
local function trim_string(text)
return text:gsub("^%s+", ""):gsub("%s+$", "")
end
-- Is the string nil, empty... | mit |
AlexandreCA/darkstar | scripts/globals/weaponskills/dancing_edge.lua | 11 | 1408 | -----------------------------------
-- Dancing Edge
-- Dagger weapon skill
-- Skill level: 200
-- Delivers a fivefold attack. params.accuracy varies with TP.
-- Will stack with Sneak Attack.
-- Will stack with Trick Attack.
-- Aligned with the Breeze Gorget & Soil Gorget.
-- Aligned with the Breeze Belt & Soil Belt.
--... | gpl-3.0 |
chourobin/kong | kong/plugins/log_serializers/alf.lua | 5 | 6615 | -- ALF serializer module.
-- ALF is the format supported by Mashape Analytics (http://apianalytics.com)
--
-- This module represents _one_ ALF entry, which can have multiple requests entries.
-- # Usage:
--
-- ## Create the ALF like so:
-- local alf = ALFSerializer:new_alf()
--
-- ## Add entries:
-- local n... | mit |
AlexandreCA/update | scripts/zones/Windurst_Waters/npcs/Shohrun-Tuhrun.lua | 36 | 1960 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Shohrun-Tuhrun
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
require("scripts/zones/Windurst... | gpl-3.0 |
treytomes/mgreboot | mods/unified_inventory/internal.lua | 8 | 12455 | local S = unified_inventory.gettext
local F = unified_inventory.fgettext
-- This pair of encoding functions is used where variable text must go in
-- button names, where the text might contain formspec metacharacters.
-- We can escape button names for the formspec, to avoid screwing up
-- form structure overall, but t... | mit |
AlexandreCA/update | scripts/commands/zone.lua | 24 | 13672 | ---------------------------------------------------------------------------------------------------
-- func: zone
-- desc: Teleports a player to the given zone.
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission = 1,
parameters = ... | gpl-3.0 |
LuaDist2/gumbo | gumbo/dom/Element.lua | 2 | 9662 | local util = require "gumbo.dom.util"
local Node = require "gumbo.dom.Node"
local ChildNode = require "gumbo.dom.ChildNode"
local ParentNode = require "gumbo.dom.ParentNode"
local AttributeList = require "gumbo.dom.AttributeList"
local Attribute = require "gumbo.dom.Attribute"
local ElementList = require "gumbo.dom.Ele... | isc |
AlexandreCA/darkstar | scripts/zones/Nashmau/Zone.lua | 10 | 1803 | -----------------------------------
--
-- Zone: Nashmau (53)
--
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs");
require("scripts/globals/settings");
-----------------------------------
-- onInitiali... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Open_sea_route_to_Al_Zahbi/Zone.lua | 13 | 1615 | -----------------------------------
--
-- Zone: Open_sea_route_to_Al_Zahbi (46)
--
-----------------------------------
package.loaded["scripts/zones/Open_sea_route_to_Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Open_sea_route_to_Al_Zahbi/TextIDs");
--------------------------... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Grand_Palace_of_HuXzoi/npcs/_iyb.lua | 13 | 1259 | -----------------------------------
-- Area: Grand Palace of Hu'Xzoi
-- NPC: Particle Gate
-- @pos 1 0.1 -320 34
-----------------------------------
package.loaded["scripts/zones/Grand_Palace_of_HuXzoi/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Grand_Palace_of_HuXzoi/TextIDs");
--... | gpl-3.0 |
paly2/minetest-minetestforfun-server | mods/more_chests/shared.lua | 1 | 4022 | local function has_locked_chest_privilege(meta, player)
local name = player:get_player_name()
local shared = " "..meta:get_string("shared").." "
if name == meta:get_string("owner") then
return true
elseif shared:find(" "..name.." ") then
return true
else
return false
end
end
local function get_formspec(st... | unlicense |
AlexandreCA/update | scripts/zones/Windurst_Waters_[S]/npcs/Ezura-Romazura.lua | 34 | 1541 | -----------------------------------
-- Area: Windurst Waters [S]
-- NPC: Ezura-Romazura
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/zones/Wi... | gpl-3.0 |
samboy/Oblige | attic/prefabs_V4/stairs.lua | 1 | 28337 | ----------------------------------------------------------------
-- STAIR and LIFT PREFABS
----------------------------------------------------------------
--
-- Oblige Level Maker
--
-- Copyright (C) 2010-2012 Andrew Apted
--
-- This program is free software; you can redistribute it and/or
-- modify it under the ... | gpl-2.0 |
AlexandreCA/update | scripts/zones/Valkurm_Dunes/npcs/Hieroglyphics.lua | 17 | 2399 | -----------------------------------
-- Area: Valkurm_Dunes
-- NPC: Hieroglyphics
-- Dynamis Valkurm_Dunes Enter
-- @pos 117 -10 133 172 103
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");... | gpl-3.0 |
chourobin/kong | kong/plugins/ratelimiting/access.lua | 12 | 2222 | local constants = require "kong.constants"
local timestamp = require "kong.tools.timestamp"
local responses = require "kong.tools.responses"
local _M = {}
function _M.execute(conf)
local current_timestamp = timestamp.get_utc()
-- Consumer is identified by ip address or authenticated_entity id
local identifier
... | mit |
AlexandreCA/darkstar | scripts/zones/Bastok_Mines/npcs/Gorvik.lua | 13 | 1060 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Gorvik
-- Type: Past Event Watcher
-- @zone: 234
-- @pos 21.033 -1 -98.486
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
require("script... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Qufim_Island/npcs/Tsonga-Hoponga_WW.lua | 13 | 3333 | -----------------------------------
-- Area: Qufim Island
-- NPC: Tsonga-Hoponga, W.W.
-- Type: Outpost Conquest Guards
-- @pos -245.366 -20.344 299.502 126
-----------------------------------
package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conq... | gpl-3.0 |
AlexandreCA/update | scripts/globals/mobskills/Nullifying_Dropkick.lua | 58 | 1046 | ---------------------------------------------
-- Nullifying Dropkick
--
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/zones/Empyreal_Paradox/TextIDs");
-----------------------------------... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/mobskills/Crystal_Weapon.lua | 37 | 1031 | ---------------------------------------------
-- Crystal Weapon
--
-- Description: Invokes the power of a crystal to deal magical damage of a random element to a single target.
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Unknown
-- Notes: Can be Fire, Earth, Wind, or Water element. Funct... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Sea_Serpent_Grotto/npcs/Grounds_Tome.lua | 34 | 1151 | -----------------------------------
-- Area: Sea Serpent Grotto
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTr... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Pashhow_Marshlands/npcs/Mesachedeau_RK.lua | 30 | 3070 | -----------------------------------
-- Area: Pashhow Marshlands
-- NPC: Mesachedeau, R.K.
-- Type: Outpost Conquest Guards
-- @pos 470.843 23.465 415.520 109
-----------------------------------
package.loaded["scripts/zones/Pashhow_Marshlands/TextIDs"] = nil;
-----------------------------------
require("scripts/globa... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Apollyon/npcs/Radiant_Aureole.lua | 12 | 6386 | -----------------------------------
-- Area: Appolyon
-- NPC: Radiant_Aureole
-- @pos
-----------------------------------
require("scripts/globals/limbus");
require("scripts/globals/keyitems");
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Apollyon... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Korroloka_Tunnel/MobIDs.lua | 65 | 1094 | -----------------------------------
-- Area: Korroloka Tunnel (173)
-- Comments: -- posX, posY, posZ
-- (Taken from 'mob_spawn_points' table)
-----------------------------------
-- Cargo_Crab_Colin
Cargo_Crab_Colin=17485980;
Cargo_Crab_Colin_PH={
[17486002] = '1', -- -30.384, 1.000, -33.277
[17486095] = '1' ... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Castle_Oztroja/npcs/_47m.lua | 17 | 1571 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47m (Torch Stand)
-- Notes: Opens door _471 near password #3
-- @pos -45.230 -17.832 17.668 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require(... | gpl-3.0 |
exercism/xlua | exercises/practice/rational-numbers/.meta/example.lua | 1 | 1118 | local function gcd(a, b)
if b == 0 then
return math.abs(a)
else
return gcd(b, a % b)
end
end
local function normalize_sign(a)
if a[2] < 0 then
return { -a[1], -a[2] }
else
return a
end
end
local function reduce(a)
a = normalize_sign(a)
if a[1] == 0 then
return { 0, 1 }
end
lo... | mit |
AlexandreCA/update | scripts/zones/Hall_of_Transference/Zone.lua | 26 | 6365 | -----------------------------------
--
-- Zone: Hall_of_Transference
--
-----------------------------------
package.loaded["scripts/zones/Hall_of_Transference/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/teleports");
require("scripts/globals/keyitem... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Bastok_Mines/npcs/Babenn.lua | 12 | 2348 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Babenn
-- Finishes Quest: The Eleventh's Hour
-- Involved in Quests: Riding on the Clouds
-- @zone 234
-- @pos 73 -1 34
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
r... | gpl-3.0 |
martolini/Vana | scripts/portals/s4nest.lua | 1 | 1361 | --[[
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 |
tartina/ardour | share/scripts/s_region_gain.lua | 2 | 2465 | ardour { ["type"] = "Snippet", name = "Set Region Gain" }
function factory () return function ()
-- get Editor GUI Selection
-- http://manual.ardour.org/lua-scripting/class_reference/#ArdourUI:Selection
local sel = Editor:get_selection ()
-- allocate a buffer (float* in C)
-- http://manual.ardour.org/lua-scripti... | gpl-2.0 |
heptal/hammerspoon | extensions/http/init.lua | 8 | 23616 | -- Simple loader for the Objective C code
local http = require("hs.http.internal")
local utf8 = require("hs.utf8")
local fnutils = require("hs.fnutils")
--- === hs.http ===
---
--- Perform HTTP requests
--- hs.http.get(url, headers) -> int, string, table
--- Function
--- Sends an HTTP GET request to a URL
---
---... | mit |
paly2/minetest-minetestforfun-server | mods/plantlife_modpack/dryplants/init.lua | 1 | 7711 | -----------------------------------------------------------------------------------------------
local title = "Grasses" -- former "Dry plants"
local version = "0.1.5"
local mname = "dryplants"
-----------------------------------------------------------------------------------------------
-- by Mossmanikin
-- t... | unlicense |
AlexandreCA/darkstar | scripts/globals/items/bastore_bream.lua | 18 | 1332 | -----------------------------------------
-- ID: 4461
-- Item: Bastore Bream
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 4
-- Mind -6
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Valkurm_Dunes/npcs/qm1.lua | 17 | 1248 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: qm1 (???)
-- Involved In Quest: An Empty Vessel
-- @pos 238.524 2.661 -148.784 103
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Val... | gpl-3.0 |
ld-test/lua-aplicado | test/cases/web/cookie_jar/0080-security.lua | 2 | 2672 | --------------------------------------------------------------------------------
-- 008-security.lua: cookies jar honors httponly and secure
-- This file is a part of lua-aplicado library
-- Copyright (c) lua-nucleo authors (see file `COPYRIGHT` for the license)
---------------------------------------------------------... | mit |
AlexandreCA/darkstar | scripts/globals/mobskills/Dark_Wave.lua | 33 | 1185 | ---------------------------------------------
-- Dark Wave
--
-- Description: A wave of dark energy washes over targets in an area of effect. Additional effect: Bio
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: 10' radial
-- Notes: Severity of Bio effect varies by time of day, from 8/tic at... | gpl-3.0 |
kynesim/wireshark | test/lua/gregex.lua | 29 | 8743 |
-- Tests for GLib Regex functions
-- written by Hadriel Kaplan, based on Lrexlib's test suite
-- This is a test script for tshark/wireshark.
-- This script runs inside tshark/wireshark, so to run it do:
-- tshark -r empty.cap -X lua_script:<path_to_testdir>/lua/gregex.lua -X lua_script1:glib
--
-- if you have to give ... | gpl-2.0 |
AlexandreCA/update | scripts/zones/Temenos/Zone.lua | 28 | 5036 | -----------------------------------
--
-- Zone: Temenos (37)
--
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Temenos/TextIDs");
require("scripts/globals/limbus");
-... | gpl-3.0 |
nwf/openwrt-luci | modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi_add.lua | 50 | 4887 | -- Copyright 2009 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local fs = require "nixio.fs"
local nw = require "luci.model.network"
local fw = require "luci.model.firewall"
local uci = require "luci.model.uci".cursor()
local http = require "luci.http"
local iw = lu... | apache-2.0 |
AlexandreCA/darkstar | scripts/zones/Bastok_Markets/npcs/HomePoint#1.lua | 27 | 1277 | -----------------------------------
-- Area: Bastok Markets
-- NPC: HomePoint#1
-- @pos -293.048 -10 -102.558 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Bastok_Markets/TextIDs");
require("scripts/gl... | gpl-3.0 |
AlexandreCA/update | scripts/globals/spells/huton_san.lua | 17 | 1612 | -----------------------------------------
-- Spell: Huton: San
-- Deals wind damage to an enemy and lowers its resistance against ice.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----... | gpl-3.0 |
zhoukk/skynet | test/testpipeline.lua | 27 | 1255 | local skynet = require "skynet"
local redis = require "redis"
local conf = {
host = "127.0.0.1",
port = 6379,
db = 0
}
local function read_table(t)
local result = { }
for i = 1, #t, 2 do result[t[i]] = t[i + 1] end
return result
end
skynet.start(function()
local db = redis.connect(conf)
db.pipelini... | mit |
AlexandreCA/darkstar | scripts/zones/Temenos/mobs/Light_Elemental.lua | 7 | 1709 | -----------------------------------
-- Area: Temenos E T
-- NPC: Light_Elemental
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-----------------------------... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/South_Gustaberg/TextIDs.lua | 13 | 1264 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6401; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6406; -- Obtained: <item>.
GIL_OBTAINED = 6407; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6409; -- Obtained... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/spells/blind.lua | 20 | 1377 | -----------------------------------------
-- Spell: Blind
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/spells/ionohelix.lua | 26 | 1693 | --------------------------------------
-- Spell: Ionohelix
-- Deals lightning 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/global... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/RuLude_Gardens/npcs/Adolie.lua | 13 | 1477 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Adolie
-- @zone 243
-- @pos -35 2 59
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/RuLude_Gardens/TextI... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Chateau_dOraguille/npcs/_6h0.lua | 12 | 4789 | -----------------------------------
-- Area: Chateau d'Oraguille
-- Door: Prince Royal's
-- Finishes Quest: A Boy's Dream, Under Oath
-- Involved in Missions: 3-1, 5-2, 8-2
-- @pos -38 -3 73 233
-----------------------------------
package.loaded["scripts/zones/Chateau_dOraguille/TextIDs"] = nil;
-----------------------... | gpl-3.0 |
STRatANG/MMDAgentExperimentEnvironment | Library_Bullet_Physics/src/Demos/OpenCLClothDemo/AMD/premake4.lua | 4 | 1137 |
hasCL = findOpenCL_AMD()
if (hasCL) then
project "AppOpenCLClothDemo_AMD"
defines { "USE_AMD_OPENCL","CL_PLATFORM_AMD"}
initOpenCL_AMD()
language "C++"
kind "ConsoleApp"
targetdir "../../.."
libdirs {"../../../Glut"}
links {
"LinearMath",
"BulletCollision",
... | bsd-3-clause |
martolini/Vana | scripts/npcs/inside_rogue.lua | 1 | 2029 | --[[
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/globals/items/pickled_herring.lua | 18 | 1345 | -----------------------------------------
-- ID: 4490
-- Item: Pickled Herring
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Dexterity 3
-- Mind -3
-- Attack % 12
-- Ranged ATT % 12
-----------------------------------------
require("scripts/globals/status");
---------------------------... | gpl-3.0 |
CatLabInteractive/debian-lsyncd | default-direct.lua | 8 | 4330 | --~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- default-direct.lua
--
-- Keeps two directories with /bin/cp, /bin/rm and /bin/mv in sync.
-- Startup still uses rsync tough.
--
-- A (Layer 1) configuration.
--
-- Note:
-- this is infact just a configura... | gpl-2.0 |
STRatANG/MMDAgentExperimentEnvironment | Library_Bullet_Physics/src/msvc/premake4.lua | 4 | 3829 | --add the 0 so the solution comes first in the directory (when sorted on name)
--print "uncomment this hello premake4 world for debugging the script"
solution "0BulletSolution"
newoption {
trigger = "with-nacl",
description = "Enable Native Client build"
}
newoption {
trigger ... | bsd-3-clause |
AlexandreCA/update | scripts/zones/Abyssea-Misareaux/Zone.lua | 32 | 1543 | -----------------------------------
--
-- Zone: Abyssea - Misareaux
--
-----------------------------------
package.loaded["scripts/zones/Abyssea-Misareaux/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
require("scripts/zones/Abysse... | gpl-3.0 |
samboy/Oblige | attic/v4_floors.lua | 1 | 39376 | ----------------------------------------------------------------
-- V4 Layouting Logic
----------------------------------------------------------------
--
-- Oblige Level Maker
--
-- Copyright (C) 2006-2010 Andrew Apted
--
-- This program is free software; you can redistribute it and/or
-- modify it under the term... | gpl-2.0 |
AlexandreCA/update | scripts/zones/Horlais_Peak/TextIDs.lua | 9 | 1199 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory.
FULL_INVENTORY_AFTER_TRADE = 6383; -- You cannot obtain the #. Try trading again after sorting your inventory.
ITEM_OBTAINED = 6384; -- Ob... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Port_Windurst/npcs/Shanruru.lua | 13 | 2884 | -----------------------------------
-- Area: Port Windurst
-- NPC: Shanruru
-- Involved in Quest: Riding on the Clouds
-- @zone 240
-- @pos -1 -6 187
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings")... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Al_Zahbi/npcs/Zafif.lua | 36 | 1695 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Zafif
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
require("scripts/zones/Al_Zahbi/TextIDs");
-----------------------------------
-- onTrade... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Southern_San_dOria/npcs/Trail_Markings.lua | 12 | 2920 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Trail Markings
-- Dynamis-San d'Oria Enter
-- @pos 139 -2 122 230
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
requ... | gpl-3.0 |
AlexandreCA/update | scripts/globals/abilities/ice_shot.lua | 6 | 2965 | -----------------------------------
-- Ability: Ice Shot
-- Consumes a Ice Card to enhance ice-based debuffs. Deals ice-based magic damage
-- Frost Effect: Enhanced DoT and AGI-
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/East_Ronfaure/npcs/Croteillard.lua | 13 | 1044 | -----------------------------------
-- Area: East Ronfaure
-- NPC: Croteillard
-- Type: Gate Guard
-- @pos 87.426 -62.999 266.709 101
-----------------------------------
package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/East_Ronfaure/TextIDs");... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Port_San_dOria/npcs/Apstaule.lua | 36 | 1764 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Apstaule
-- Not used cutscenes: 541
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/quests");
r... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/abilities/elemental_siphon.lua | 26 | 2807 | -----------------------------------
-- Ability: Elemental Siphon
-- Drains MP from your summoned spirit.
-- Obtained: Summoner level 50
-- Recast Time: 5:00
-- Duration: Instant
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/pets");
r... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.