repo_name stringlengths 6 69 | path stringlengths 6 178 | copies stringclasses 278
values | size stringlengths 4 7 | content stringlengths 671 917k | license stringclasses 15
values |
|---|---|---|---|---|---|
AlexandreCA/update | scripts/zones/Cloister_of_Gales/bcnms/sugar-coated_directive.lua | 19 | 1709 | ----------------------------------------
-- Area: Cloister of Gales
-- BCNM: Sugar Coated Directive (ASA-4)
----------------------------------------
package.loaded["scripts/zones/Cloister_of_Gales/TextIDs"] = nil;
----------------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/qu... | gpl-3.0 |
incinirate/Riko4 | scripts/home/demos/circ.lua | 1 | 1892 | --[[
Random fun little thing
... I don't even know
Inspired by @egordorichev
]]
local running = true
gpu.clear()
local w, h = gpu.width, gpu.height
local gpp = dofile("/lib/gpp.lua")
local sin = math.sin
local timer = 0
local vel = 0
local off = 0
local loff = 0
local function update(dt)
timer = timer +... | mit |
heptal/hammerspoon | extensions/osascript/init.lua | 9 | 2774 | --- === hs.osascript ===
---
--- Execute Open Scripting Architecture (OSA) code - AppleScript and JavaScript
---
local module = require("hs.osascript.internal")
-- private variables and methods -----------------------------------------
local processResults = function(ok, object, rawDescriptor)
local descriptor
... | mit |
AlexandreCA/darkstar | scripts/globals/spells/dragonfoe_mambo.lua | 27 | 1611 | -----------------------------------------
-- Spell: Dragonfoe Mambo
-- Grants evasion bonus to all members.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(cast... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Castle_Zvahl_Keep_[S]/Zone.lua | 28 | 1341 | -----------------------------------
--
-- Zone: Castle_Zvahl_Keep_[S] (155)
--
-----------------------------------
package.loaded["scripts/zones/Castle_Zvahl_Keep_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Castle_Zvahl_Keep_[S]/TextIDs"... | gpl-3.0 |
AlexandreCA/update | scripts/globals/weaponskills/blade_chi.lua | 30 | 1380 | -----------------------------------
-- Blade Chi
-- Katana weapon skill
-- Skill Level: 150
-- Delivers a two-hit earth elemental attack. Damage varies with TP.
-- Aligned with the Thunder Gorget & Light Gorget.
-- Aligned with the Thunder Belt & Light Belt.
-- Element: Earth
-- Modifiers: STR:30% ; INT:30%
--... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Jugner_Forest_[S]/Zone.lua | 12 | 1790 | -----------------------------------
--
-- Zone: Jugner_Forest_[S] (82)
--
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Jugner_Forest_[S]/TextIDs");
------------------... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Bastok_Mines/npcs/HomePoint#2.lua | 27 | 1311 | -----------------------------------
-- Area: Bastok Mines
-- NPC: HomePoint#2
-- @pos 118 1 -58 234
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
package.loaded["scripts/globals/homepoint"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Bastok_Mi... | gpl-3.0 |
tartina/ardour | share/scripts/_channelstrip.lua | 4 | 3883 | ardour {
["type"] = "EditorAction",
name = "Channel Strip Setup",
license = "MIT",
author = "Ardour Team",
description = [[Add Compressor and EQ plugin to every selected track and if a bus name 'Reverb' exists post-fader reverb send]]
}
function factory (params)
return function ()
-- helper ... | gpl-2.0 |
AlexandreCA/darkstar | scripts/zones/Northern_San_dOria/npcs/Charmealaut.lua | 13 | 1060 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Charmealaut
-- Type: Merchant
-- @zone: 231
-- @pos 0.000 -0.501 29.303
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
----... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Southern_San_dOria_[S]/Zone.lua | 12 | 2469 | -----------------------------------
--
-- Zone: Southern_San_dOria_[S] (80)
--
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Southern_San_dOria_[S]/TextID... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Selbina/npcs/Wenzel.lua | 13 | 1052 | ----------------------------------
-- Area: Selbina
-- NPC: Wenzel
-- Type: Item Deliverer
-- @pos 31.961 -14.661 57.997 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
--------------------... | gpl-3.0 |
niedzielski/premake-4.4-beta4 | src/base/tree.lua | 22 | 5157 | --
-- tree.lua
-- Functions for working with the source code tree.
-- Copyright (c) 2009 Jason Perkins and the Premake project
--
premake.tree = { }
local tree = premake.tree
--
-- Create a new tree.
--
-- @param n
-- The name of the tree, applied to the root node (optional).
--
function premake.tree.new(n)
... | bsd-3-clause |
AlexandreCA/darkstar | scripts/zones/Abyssea-Tahrongi/npcs/Cavernous_Maw.lua | 29 | 1190 | -----------------------------------
-- Area: Abyssea - Tahrongi
-- NPC: Cavernous Maw
-- @pos -31.000, 47.000, -681.000 45
-- Teleports Players to Tahrongi Canyon
-----------------------------------
package.loaded["scripts/zones/Abyssea-Tahrongi/TextIDs"] = nil;
-----------------------------------
require("scripts/gl... | gpl-3.0 |
nwf/openwrt-luci | modules/luci-base/luasrc/sys.lua | 40 | 15171 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
local io = require "io"
local os = require "os"
local table = require "table"
local nixio = require "nixio"
local fs = require "nixio.fs"
local uci = require "luci.model.uci"
local luci = {}
l... | apache-2.0 |
AlexandreCA/darkstar | scripts/globals/items/dish_of_spaghetti_pescatora_+1.lua | 18 | 1656 | -----------------------------------------
-- ID: 5200
-- Item: dish_of_spaghetti_pescatora_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health % 15
-- Health Cap 160
-- Vitality 3
-- Mind -1
-- Defense % 22
-- Defense Cap 70
-- Store TP 6
-----------------------------------------
re... | gpl-3.0 |
AlexandreCA/update | scripts/zones/The_Celestial_Nexus/mobs/Orbital.lua | 18 | 2131 | -----------------------------------
-- Area: The Celestial Nexus
-- NPC: Orbital
-- Zilart Mission 16 BCNM Fight
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
require("scripts/globals/magic");
function onMobInitialize(mob)
mob:addMod(MOD_REGAIN, 50);
end... | gpl-3.0 |
AlexandreCA/update | scripts/globals/abilities/elemental_siphon.lua | 11 | 2885 | -----------------------------------
-- 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/... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Caedarva_Mire/npcs/Nahshib.lua | 15 | 2108 | -----------------------------------
-- Area: Caedarva Mire
-- NPC: Nahshib
-- Type: Assault
-- @pos -274.334 -9.287 -64.255 79
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Caedarva_Mire/TextIDs");
require("sc... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Sea_Serpent_Grotto/npcs/relic.lua | 13 | 1861 | -----------------------------------
-- Area: Sea Serpent Grotto
-- NPC: <this space intentionally left blank>
-- @pos -356 14 -102 176
-----------------------------------
package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Sea_Serpent_Grotto/Text... | gpl-3.0 |
samboy/Oblige | games/doom/fabs/exit/closet1.lua | 1 | 1124 | --
-- Exit closet
--
PREFABS.Exit_closet1 =
{
file = "exit/closet1.wad"
prob = 100
theme = "!tech"
where = "seeds"
seed_w = 1
seed_h = 1
deep = 16
over = -16
x_fit = "frame"
y_fit = "top"
}
PREFABS.Exit_closet1_tech =
{
template = "Exit_closet1"
theme = "tech"
tex_STEP3 =... | gpl-2.0 |
AlexandreCA/update | scripts/zones/Lower_Jeuno/npcs/Kurou-Morou.lua | 17 | 5313 | -----------------------------------
-- Area: Lower Jeuno
-- Starts and Finishes Quest: Your Crystal Ball & Never to return
-- @pos -4 -6 -28 245
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
package.loaded["scripts/globals/settings"] = nil;
-----------------------... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Temenos/mobs/Temenos_Weapon.lua | 16 | 1289 | -----------------------------------
-- Area: Temenos Central 1floor
-- NPC: Temenos_Weapon
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
------------... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Hall_of_Transference/npcs/_0e0.lua | 32 | 1340 | -----------------------------------
-- 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 |
AlexandreCA/update | scripts/globals/items/plate_of_shrimp_sushi.lua | 35 | 1552 | -----------------------------------------
-- ID: 5691
-- Item: plate_of_shrimp_sushi
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Vitality 1
-- Defense 5
-- Accuracy % 11
-- Store TP 2
-- Triple Attack 1
-----------------------------------------
require("scripts/globals/sta... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/AlTaieu/mobs/Absolute_Virtue.lua | 6 | 2306 | -----------------------------------
-- Area: Al'Taieu
-- HNM: Absolute Virtue
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
funct... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Gusgen_Mines/npcs/_5ga.lua | 13 | 1357 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: _5ga (Lever C)
-- @pos 44 -40.561 -54.199 196
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Gusgen_Mines/TextIDs");
--------------------------... | gpl-3.0 |
lucgagnon/ntopng | scripts/lua/host_top_peers_protocols.lua | 10 | 2411 | --
-- (C) 2014-15-15 - ntop.org
--
dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
require "lua_utils"
sendHTTPHeader('application/json')
interface.select(ifname)
host_info = url2hostinfo(_GET)
flows = interface.getFlowPeers(host_info["host"],host_info["vlan... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Boneyard_Gully/bcnms/like_the_wind.lua | 17 | 1655 | -----------------------------------
-- Area: Boneyard_Gully
-- Name: like_the_wind
-- BCNM: 673
-- Mask: 1
-----------------------------------
package.loaded["scripts/zones/Boneyard_Gully/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/globals/keyite... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/abilities/water_shot.lua | 16 | 3124 | -----------------------------------
-- 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 |
AlexandreCA/update | scripts/globals/items/alchemists_belt.lua | 30 | 1200 | -----------------------------------------
-- ID: 15450
-- Item: Alchemist's belt
-- Enchantment: Synthesis image support
-- 2Min, All Races
-----------------------------------------
-- Enchantment: Synthesis image support
-- Duration: 2Min
-- Alchemy Skill +3
-----------------------------------------
requir... | gpl-3.0 |
martolini/Vana | scripts/npcs/world_trip.lua | 1 | 3815 | --[[
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/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 |
AlexandreCA/update | scripts/globals/items/loaf_of_pumpernickel.lua | 35 | 1202 | -----------------------------------------
-- ID: 4591
-- Item: loaf_of_pumpernickel
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health 10
-- Vitality 2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Al_Zahbi/npcs/Gajaad.lua | 18 | 2556 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Gajaad
-- Type: Donation Taker
-- @pos 40.781 -1.398 116.261 48
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
---------------------------------... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Southern_San_dOria_[S]/npcs/Illeuse.lua | 17 | 1617 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Illeuse
-- @zone 80
-- @pos -44.203 2 -36.216
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
require("scripts/globals/que... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Quicksand_Caves/npcs/qm5.lua | 12 | 2198 | -----------------------------------
-- Area: Quicksand Caves
-- NPC: ??? (qm5)
-- Involved in Quest: The Missing Piece
-- @pos
--1:770 0 -419
--2:657 0 -537
--3:749 0 -573
--4:451 -16 -739
--5:787 -16 -819
--spawn in npc_list is 770 0 -419
-----------------------------------
package.loaded["scripts/zones/Quicksand_Cav... | gpl-3.0 |
jstewart-amd/premake-core | src/actions/vstudio/vs2010_rules_xml.lua | 5 | 8487 | ---
-- vs2010_rules_xml.lua
-- Generate a Visual Studio 201x custom rules XML file.
-- Copyright (c) 2014 Jason Perkins and the Premake project
--
premake.vstudio.vs2010.rules.xml = {}
local m = premake.vstudio.vs2010.rules.xml
m.elements = {}
local p = premake
---
-- Entry point; generate the root <ProjectSch... | bsd-3-clause |
dromozoa/dromozoa-chunk | test_ieee754.lua | 3 | 1433 | -- Copyright (C) 2015 Tomoyuki Fujimori <moyu@dromozoa.com>
--
-- This file is part of dromozoa-chunk.
--
-- dromozoa-chunk is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or... | gpl-3.0 |
exercism/xlua | exercises/practice/food-chain/food-chain_spec.lua | 1 | 4090 | local song = require('food-chain')
describe('food-chain', function ()
it('fly', function ()
local expected = "I know an old lady who swallowed a fly.\nI don't know why she swallowed the fly. Perhaps she'll die.\n"
assert.are.equal(expected, song.verse(1))
end)
it('spider', function ()
local expecte... | mit |
makehackvoid/MHV-Space-Probe | controller/probe.lua | 1 | 2502 | -- Module for interacting with the probe itself
require "config"
require "posix"
local http = require("socket.http")
probe = {}
-- some common utility functions
probe.leds_off = function() probe.set_leds(0,0,0) end
probe.green_glow = function() probe.set_leds(0,30,0) end
probe.fast_green_blink = function() probe.set... | mit |
lancehilliard/TGNS | mods/tgns/output/lua/shine/extensions/push.lua | 1 | 10426 | local md = TGNSMessageDisplayer.Create("PUSH")
local pushTempfilePath = "config://tgns/temp/push.json"
local Plugin = {}
local PUSHBULLET_CHANNEL_IDS = {'tgns-bots', 'tgns-infested', 'tgns-priming', 'tgns-seeded', 'tgns-primed', 'tgns-captains', 'tgns-test', 'tgns-guarded', 'tgns-admin', 'tgns-arclight'}
function Plug... | mit |
AlexandreCA/darkstar | scripts/zones/Sacrarium/npcs/Stale_Draft.lua | 13 | 3995 | -----------------------------------
-- NPC: Stale Draft
-- Area: Sacrarium
-- Notes: Used to spawn Swift Belt NM's
-----------------------------------
package.loaded["scripts/zones/Sacrarium/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Sacrarium/TextIDs");
-------------------... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Northern_San_dOria/npcs/Morunaude.lua | 13 | 1412 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Morunaude
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
requ... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/items/pot-au-feu.lua | 32 | 1707 | -----------------------------------------
-- ID: 5752
-- Item: Pot-au-feu
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Strength 3
-- Agility 3
-- Intelligence -3
-- Ranged Attk % 15 Cap 60
-- Ranged ACC % 10 Cap 50
-- Enmity -3
-----------------------------------------
require("scripts... | gpl-3.0 |
AlexandreCA/update | scripts/zones/RuAun_Gardens/mobs/Groundskeeper.lua | 25 | 1323 | -----------------------------------
-- Area: RuAun Gardens
-- MOB: Groundskeeper
-- Note: Place holder Despot
-----------------------------------
require("scripts/zones/RuAun_Gardens/MobIDs");
require("scripts/globals/fieldsofvalor");
-----------------------------------
-- onMobDeath
--------------------------------... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Port_San_dOria/npcs/Callort.lua | 13 | 1355 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Callort
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Port_San_dOria/TextIDs");
--... | gpl-3.0 |
annulen/premake-annulen | tests/actions/test_clean.lua | 2 | 4345 | --
-- tests/actions/test_clean.lua
-- Automated test suite for the "clean" action.
-- Copyright (c) 2009 Jason Perkins and the Premake project
--
T.clean = { }
--
-- Replacement functions for remove() and rmdir() for testing
--
local os_remove, os_rmdir, cwd
local removed
local function test_remove(fn)
if n... | bsd-3-clause |
AlexandreCA/darkstar | scripts/globals/spells/foe_requiem_vi.lua | 26 | 1736 | -----------------------------------------
-- Spell: Foe Requiem VI
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/items/slice_of_giant_sheep_meat.lua | 18 | 1350 | -----------------------------------------
-- ID: 4372
-- Item: slice_of_giant_sheep_meat
-- Food Effect: 5Min, Galka only
-----------------------------------------
-- Strength 2
-- Intelligence -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
--... | gpl-3.0 |
paly2/minetest-minetestforfun-server | minetestforfun_game/mods/farming/beanpole.lua | 1 | 5473 | --[[
All textures by
(C) Auke Kok <sofar@foo-projects.org>
CC-BY-SA-3.0
--]]
minetest.register_craftitem("farming:beans", {
description = "Green Beans",
inventory_image = "farming_beans.png",
on_use = minetest.item_eat(1),
on_place = function(itemstack, placer, pointed_thing)
local nod = minetest.get_node_or_... | unlicense |
AlexandreCA/update | scripts/globals/items/holy_maul_+1.lua | 41 | 1077 | -----------------------------------------
-- ID: 17114
-- Item: Holy Maul +1
-- Additional Effect: Light Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
------------------------------... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/items/holy_maul_+1.lua | 41 | 1077 | -----------------------------------------
-- ID: 17114
-- Item: Holy Maul +1
-- Additional Effect: Light Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
------------------------------... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Abyssea-Attohwa/npcs/qm16.lua | 17 | 1763 | -----------------------------------
-- Zone: Abyssea-Attohwa
-- NPC: ???
-- Spawns: Itzpapalotl
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/keyitems");
-----------------------------------
-- onTrigger Action
-----------------------------------
function onTrigger(p... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Meriphataud_Mountains/npcs/Muzeze.lua | 38 | 1035 | -----------------------------------
-- 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 |
AlexandreCA/darkstar | scripts/zones/Quicksand_Caves/npcs/_5s9.lua | 13 | 1253 | -----------------------------------
-- Area: Quicksand Caves
-- NPC: Ornate Door
-- Door blocked by Weight system
-- @pos -345 0 820 208
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Quicksand_Caves/TextIDs... | gpl-3.0 |
Wiladams/LJIT2XCB | testy/test_hello_xcb.lua | 1 | 1714 | --test_hello_xcb.lua
--[[
Reference: http://www.x.org/releases/X11R7.6/doc/libxcb/tutorial/index.html#helloworld
Press Ctl-C to terminate
Simply closing the window will not terminate the app
--]]
package.path = package.path..";../?.lua"
local ffi = require("ffi")
local xcb = require("xcb")
local utils = req... | mit |
AlexandreCA/darkstar | scripts/zones/Lower_Jeuno/npcs/Derrick.lua | 25 | 4615 | -----------------------------------
-- 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;
-----------------------------------
require("scripts/globals/set... | gpl-3.0 |
jstewart-amd/premake-core | tests/actions/vstudio/vc2010/test_rule_xml.lua | 5 | 1168 | --
-- tests/actions/vstudio/vc2010/test_rule_xml.lua
-- Validate generation of custom rules
-- Author Jason Perkins
-- Copyright (c) 2016 Jason Perkins and the Premake project
--
local suite = test.declare("vstudio_vs2010_rule_xml")
local vc2010 = premake.vstudio.vc2010
local m = premake.vstudio.vs2010.r... | bsd-3-clause |
dani-sj/evillbot | plugins/add_bot.lua | 189 | 1492 | --[[
Bot can join into a group by replying a message contain an invite link or by
typing !add [invite link].
URL.parse cannot parsing complicated message. So, this plugin only works for
single [invite link] in a post.
[invite link] may be preceeded but must not followed by another characters.
--]]
do
local function... | gpl-2.0 |
niedzielski/premake-4.4-beta4 | src/actions/vstudio/vs2005_csproj.lua | 1 | 7794 | --
-- vs2005_csproj.lua
-- Generate a Visual Studio 2005/2008 C# project.
-- Copyright (c) 2009-2011 Jason Perkins and the Premake project
--
--
-- Set up namespaces
--
premake.vstudio.cs2005 = { }
local vstudio = premake.vstudio
local cs2005 = premake.vstudio.cs2005
--
-- Figure out what elemen... | bsd-3-clause |
AlexandreCA/update | scripts/zones/Port_Jeuno/npcs/qm1.lua | 17 | 2397 | -----------------------------------
-- Area: Port Jeuno
-- NPC: ???
-- Finish Quest: Borghertz's Hands (AF Hands, Many job)
-- @zone 246
-- @pos -51 8 -4
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
package.loaded["scripts/globals/settings"] = nil;
-------------... | gpl-3.0 |
martolini/Vana | scripts/npcs/contimoveOrbEre.lua | 1 | 1820 | --[[
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/weaponskills/shadow_of_death.lua | 9 | 1254 | -----------------------------------
-- Shadow Of Death
-- Scythe weapon skill
-- Skill Level: 70
-- Delivers a dark elemental attack. Damage varies with TP.
-- Aligned with the Snow Gorget & Aqua Gorget.
-- Aligned with the Snow Belt & Aqua Belt.
-- Element: Dark
-- Modifiers: STR:40% ; INT:40%
-- 100%TP 200%TP 3... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Pradiulot.lua | 13 | 2380 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Pradiulot
-- Involved in Quest: Unforgiven
-- @zone 26
-- @pos -20.814 -22 8.399
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Tavnaz... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Uleguerand_Range/npcs/Fissure.lua | 19 | 1692 | -----------------------------------
-- Area: Uleguerand Range
-- NPC: Fissure
-- Teleports players from underground to surface
-- @pos 380.267 34.859 -179.655 5
-- @pos 460.339 -29.137 220.311 5
-- @pos 180.207 -77.147 500.276 5
-----------------------------------
package.loaded["scripts/zones/Uleguerand_Range/T... | gpl-3.0 |
AlexandreCA/update | scripts/zones/West_Ronfaure/npcs/Harvetour.lua | 17 | 1867 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Harvetour
-- Type: Outpost Vendor
-- @pos -448 -19 -214 100
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("script... | gpl-3.0 |
moteus/lzmq-auth | test/test_auth.lua | 3 | 5904 | local HAS_RUNNER = not not lunit
local lunit = require "lunit"
local TEST_CASE = assert(lunit.TEST_CASE)
local skip = lunit.skip or function() end
local zmq = require "lzmq"
local zauth = require "lzmq.auth"
local zcert = require "lzmq.cert"
local path = require "path"
local ZSOCKET... | mit |
AlexandreCA/update | scripts/zones/Windurst_Waters_[S]/npcs/Porter_Moogle.lua | 41 | 1550 | -----------------------------------
-- Area: Windurst Waters [S]
-- NPC: Porter Moogle
-- Type: Storage Moogle
-- @zone 94
-- @pos TODO
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Windurst_... | gpl-3.0 |
yasharsa/yashartg | plugins/get.lua | 613 | 1067 | local function get_variables_hash(msg)
if msg.to.type == 'chat' then
return 'chat:'..msg.to.id..':variables'
end
if msg.to.type == 'user' then
return 'user:'..msg.from.id..':variables'
end
end
local function list_variables(msg)
local hash = get_variables_hash(msg)
if hash then
local names =... | gpl-2.0 |
lancehilliard/TGNS | mods/tgns/output/lua/shine/extensions/stagedteamjoins.lua | 1 | 2429 | //local FIRSTCLIENT_TIME_BEFORE_ALLJOIN = 45
local GAMEEND_TIME_BEFORE_ALLJOIN = TGNS.ENDGAME_TIME_TO_READYROOM + 5
local allMayJoinAt = 0 // Shared.GetSystemTime() + FIRSTCLIENT_TIME_BEFORE_ALLJOIN
//local firstClientProcessed = false
local md = TGNSMessageDisplayer.Create()
local Plugin = {}
//function Plugin:Clien... | mit |
AlexandreCA/darkstar | scripts/zones/Apollyon/Zone.lua | 31 | 11702 | -----------------------------------
--
-- Zone: Apollyon
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
require("scripts/zones/Apollyon/TextIDs");
require("scripts/globals/limbus");
-----------------------------------
-- onInitiali... | gpl-3.0 |
bruceburge/Non-Random-Spawn-Oxide-Plugin | Meph.NonRandomSpawn.lua | 1 | 3771 | PLUGIN.Title = "Non Random Spawn"
PLUGIN.Description = "Sets first time spawn to a fixed location"
PLUGIN.Version = "0.2.0"
PLUGIN.Author = "Meph"
-- Called when oxide loads or user types oxide.reload example at F1 console
function PLUGIN:Init()
self:AddChatCommand("nrsSetLocation", self.cmdSetLocation)
--attempt... | unlicense |
AlexandreCA/darkstar | scripts/globals/abilities/reverse_flourish.lua | 12 | 2324 | -----------------------------------
-- Ability: Reverse Flourish
-- Converts remaining finishing moves into TP. Requires at least one Finishing Move.
-- Obtained: Dancer Level 40
-- Finishing Moves Used: 1-5
-- Recast Time: 00:30
-----------------------------------
require("scripts/globals/settings");
require("scripts... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Castle_Oztroja/npcs/relic.lua | 13 | 1848 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: <this space intentionally left blank>
-- @pos -104 -73 85 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Castle_Oztroja/TextIDs");
-----... | gpl-3.0 |
elfinlazz/melia | system/scripts/npc/field/f_rokas_26.lua | 1 | 9775 | addnpc(20142, "QUEST_LV_0100_20150317_001278", "f_rokas_26", 42, 1739, -1171, -45, "npc_dummy")
addnpc(20016, "QUEST_LV_0100_20150317_001281", "f_rokas_26", -406, 1837, -312, 45, "npc_dummy")
addnpc(20016, "QUEST_LV_0100_20150317_000372", "f_rokas_26", 923, 1670, -749, 45, "npc_dummy")
addnpc(20118, "QUEST_LV_0100_2015... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Southern_San_dOria/Zone.lua | 28 | 2885 | -----------------------------------
--
-- Zone: Southern_San_dOria (230)
--
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/events/harvest_festivals");
require("scripts/globals/zone");
require("... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/mobskills/Bilgestorm.lua | 30 | 1415 | ---------------------------------------------
-- Bilgestorm
--
-- Description: Deals damage in an area of effect. Additional effect: Lowers attack, accuracy, and defense
-- Type: Physical
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: Unknown
-- Notes: Only used at low health.*Experienced the use at 75%*
-----... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/abilities/hasso.lua | 27 | 1129 | -----------------------------------
-- Ability: Hasso
-- Grants a bonus to attack speed, accuracy, and Strength when using two-handed weapons, but increases recast and casting times.
-- Obtained: Samurai Level 25
-- Recast Time: 1:00
-- Duration: 5:00
-----------------------------------
require("scripts/globals/settin... | gpl-3.0 |
AlexandreCA/update | scripts/globals/spells/bluemagic/feather_barrier.lua | 18 | 1353 | -----------------------------------------
-- Spell: Feather Barrier
-- Enhances evasion
-- Spell cost: 29 MP
-- Monster Type: Birds
-- Spell Type: Magical (Wind)
-- Blue Magic Points: 2
-- Stat Bonus: None
-- Level: 56
-- Casting Time: 2 seconds
-- Recast Time: 120 seconds
-- Duration: 30 Seconds
--
-- Co... | gpl-3.0 |
AlexandreCA/update | scripts/zones/The_Eldieme_Necropolis/npcs/_5fd.lua | 34 | 1106 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Shiva's Gate
-- @pos 110 -34 -60 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextIDs")... | gpl-3.0 |
Fornost461/yet-another-tetris-like-game | src/code/Square.lua | 1 | 1317 | require("code.Vector")
Square = {}
Square.__index = Square
Square.halfGap = 1
Square.visibleLength = 16
Square.length = Square.visibleLength + Square.halfGap
function Square.new(position)
return setmetatable(
{
position = position or Vector() -- row and column in a grid
},
S... | cc0-1.0 |
AlexandreCA/darkstar | scripts/zones/Port_Bastok/npcs/Rafaela.lua | 13 | 1083 | -----------------------------------
-- Area: Port Bastok
-- NPC: Rafaela
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
require("scripts/zones/Port_Bastok/TextIDs");
-----------------------------------
-- onTrade Action
-----------------------------... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Dynamis-Qufim/mobs/Goblin_Replica.lua | 4 | 1185 | -----------------------------------
-- Area: Dynamis qufim
-- NPC: Goblin Replica
-----------------------------------
package.loaded["scripts/zones/Dynamis-Qufim/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Qufim/TextIDs");
------... | gpl-3.0 |
AlexandreCA/update | scripts/globals/items/kusamochi+1.lua | 35 | 2086 | -----------------------------------------
-- ID: 6263
-- Item: kusamochi+1
-- Food Effect: 60 Min, All Races
-----------------------------------------
-- HP + 30 (Pet & Master)
-- Vitality + 4 (Pet & Master)
-- Attack + 21% Cap: 77 (Pet & Master) Pet Cap: 120
-- Ranged Attack + 21% Cap: 77 (Pet & Master) Pet Cap: 120
-... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Castle_Oztroja/npcs/Antiqix.lua | 32 | 7283 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: Antiqix
-- Type: Dynamis Vendor
-- @pos -207.835 -0.751 -25.498 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Castle_Oztroja/TextID... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Mhaura/npcs/Willah_Maratahya.lua | 13 | 3834 | -----------------------------------
-- Area: Mhaura
-- NPC: Willah Maratahya
-- Title Change NPC
-- @pos 23 -8 63 249
-----------------------------------
require("scripts/globals/titles");
local title2 = { PURVEYOR_IN_TRAINING , ONESTAR_PURVEYOR , TWOSTAR_PURVEYOR , THREESTAR_PURVEYOR , 0 , 0 , 0 , 0 , 0 , ... | gpl-3.0 |
AlexandreCA/update | scripts/globals/spells/cura_iii.lua | 36 | 4123 | -----------------------------------------
-- Spell: Cura III
-- Restores hp in area of effect. Self target only
-- From what I understand, Cura III's base potency is the same as Cure III's.
-- With Afflatus Misery Bonus, it can be as potent as a Curaga IV
-- Modeled after our cure_iii.lua, which was modeled after the b... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Sauromugue_Champaign/npcs/qm4.lua | 19 | 2298 | -----------------------------------
-- Area: Sauromugue Champaign
-- NPC: qm4 (???) (Tower 4)
-- Involved in Quest: THF AF "As Thick As Thieves"
-- @pos 129.587 -0.600 -235.525 120
-----------------------------------
package.loaded["scripts/zones/Sauromugue_Champaign/TextIDs"] = nil;
------------------------------... | gpl-3.0 |
paly2/minetest-minetestforfun-server | mods/homedecor_modpack/lrfurn/sofas.lua | 1 | 2383 | local sofas_list = {
{ "Red Sofa", "red"},
{ "Orange Sofa", "orange"},
{ "Yellow Sofa", "yellow"},
{ "Green Sofa", "green"},
{ "Blue Sofa", "blue"},
{ "Violet Sofa", "violet"},
{ "Black Sofa", "black"},
{ "Grey Sofa", "grey"},
{ "White Sofa", "white"},
}
local sofa_sbox = {
type = "fixed",
fixed = {-0.5, -0... | unlicense |
Dugy/wesnoth-names | host.lua | 26 | 2733 | -- host.lua --
-- Try to host a game called "Test"
local function plugin()
local function log(text)
std_print("host: " .. text)
end
local counter = 0
local events, context, info
local helper = wesnoth.require("lua/helper.lua")
local function idle_text(text)
counter = counter + 1
if counter... | gpl-2.0 |
techtonik/wesnoth | data/lua/wml/objectives.lua | 4 | 6695 | local helper = wesnoth.require "lua/helper.lua"
local wml_actions = wesnoth.wml_actions
local game_events = wesnoth.game_events
local function color_prefix(r, g, b)
return string.format('<span foreground="#%02x%02x%02x">', r, g, b)
end
local function insert_before_nl(s, t)
return string.gsub(tostring(s), "[^\n]*", ... | gpl-2.0 |
TheRealGold/minetest-mod-carbonite | init.lua | 1 | 3835 | minetest.register_node("carbonite:carbonitewallsplit", {
description = "Carbonite Wall Split",
tiles = {
"carbonite_wall_half_top.png",
"carbonite_wall_half_bottom.png",
"carbonite_wall_half_invert.png",
"carbonite_wall_half.png",
"carbonite_wall.png",
"carbonite_... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/mobskills/Fulmination.lua | 27 | 1503 | ---------------------------------------------
-- Fulmination
--
-- Description: Deals heavy magical damage in an area of effect. Additional effect: Paralysis + Stun
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes Shadows
-- Range: 30 yalms
---------------------------------------------
require("scripts/globals/set... | gpl-3.0 |
Dugy/wesnoth-names | data/ai/micro_ais/cas/ca_messenger_attack.lua | 4 | 4866 | local H = wesnoth.require "lua/helper.lua"
local AH = wesnoth.require "ai/lua/ai_helper.lua"
local messenger_next_waypoint = wesnoth.require "ai/micro_ais/cas/ca_messenger_f_next_waypoint.lua"
local best_attack
local function messenger_find_enemies_in_way(messenger, goal_x, goal_y)
-- Returns the first unit on or... | gpl-2.0 |
AlexandreCA/darkstar | scripts/zones/Bastok_Mines/npcs/Deidogg.lua | 12 | 5208 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Deidogg
-- Starts and Finishes Quest: The Talekeeper's Truth, The Talekeeper's Gift (start)
-- @pos -13 7 29 234
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require(... | gpl-3.0 |
paly2/minetest-minetestforfun-server | mods/hudbars/init.lua | 1 | 11571 | hb = {}
hb.hudtables = {}
-- number of registered HUD bars
hb.hudbars_count = 0
hb.settings = {}
hb.settings.custom = {} --MFF (crabman|19/06/15) add custom pos
-- default settings
hb.settings.max_bar_length = 160
-- statbar positions
hb.settings.pos_left = { x=0.5, y=1 }
hb.settings.pos_right= { x = 0.5, y = 1 }
h... | unlicense |
AlexandreCA/darkstar | scripts/zones/Newton_Movalpolos/npcs/Treasure_Coffer.lua | 13 | 3837 | -----------------------------------
-- Area: Newton Movalpolos
-- NPC: Treasure Coffer
-- @zone 12
-----------------------------------
package.loaded["scripts/zones/Newton_Movalpolos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require(... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Maze_of_Shakhrami/npcs/qm2.lua | 12 | 1872 | -----------------------------------
-- Area: Maze of Shakhrami
-- NPC: qm2
-- Type: Quest NPC
-- @pos 143 9 -219 198
-----------------------------------
package.loaded["scripts/zones/Maze_of_Shakhrami/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Maze_of_Shakhrami/TextIDs");
require(... | gpl-3.0 |
chourobin/kong | kong/plugins/basicauth/api.lua | 13 | 1537 | local crud = require "kong.api.crud_helpers"
return {
["/consumers/:username_or_id/basicauth/"] = {
before = function(self, dao_factory, helpers)
crud.find_consumer_by_username_or_id(self, dao_factory, helpers)
self.params.consumer_id = self.consumer.id
end,
GET = function(self, dao_factory,... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.